AUTO_SA_Config.cs
43.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
using OnlineStore.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace OnlineStore.LoadCSVLibrary
{
public class AUTO_SA_Config : StoreConfig
{
public AUTO_SA_Config()
: base()
{
}
public AUTO_SA_Config(int id, string cid, string type, string filepath)
: base(id, cid, type, filepath)
{
}
/// <summary>
/// PRO,(轴五) 上料轴出库上升最大高度, BatchAxis_OutMaxValue,1600000,,,,,,,
/// </summary>
[ConfigProAttribute("BatchAxis_OutMaxValue")]
public int BatchAxis_OutMaxValue { get; set; }
/// <summary>
/// PRO,(轴二) 升降轴单盘入库抬升料盘的高度, UpdownAxis_UpPosition,3000
/// </summary>
[ConfigProAttribute("UpdownAxis_UpPosition")]
public int UpdownAxis_UpPosition { get; set; }
/// <summary>
/// 预警温度
/// </summary>
[ConfigProAttribute("WarnTemperate")]
public int WarnTemperate { get; set; }
/// <summary>
/// 预警湿度
/// </summary>
[ConfigProAttribute("WarnHumidity")]
public int WarnHumidity { get; set; }
/// <summary>
/// 气压检测IO关闭需要持续的时间(=3表示需要关闭三秒以上才算关闭)
/// </summary>
[ConfigProAttribute("AirCheckSeconds")]
public int AirCheckSeconds { get; set; }
/// <summary>
/// IsHasCompress_Axis是否使用压紧轴
/// </summary>
[ConfigProAttribute("IsHasCompress_Axis")]
public int IsHasCompress_Axis { get; set; }
/// <summary>
/// PRO 是否使用定位气缸 IsHasLocationCylinder 0
/// </summary>
[ConfigProAttribute("IsHasLocationCylinder")]
public int IsHasLocationCylinder { get; set; }
/// <summary>
/// PRO 是否有左右侧门 IsHasDoorLimit 0
/// </summary>
[ConfigProAttribute("IsHasDoorLimit")]
public int IsHasDoorLimit { get; set; }
/// <summary>
/// PRO (轴一)旋转轴原点目标速度 MiddleAxis_TargetSpeed 30000
/// </summary>
[ConfigProAttribute("MiddleAxis_TargetSpeed")]
public int MiddleAxis_TargetSpeed { get; set; }
/// <summary>
/// PRO (轴一)旋转轴加速度 MiddleAxis_AddSpeed 500
/// </summary>
[ConfigProAttribute("MiddleAxis_AddSpeed")]
public int MiddleAxis_AddSpeed { get; set; }
/// <summary>
/// PRO (轴一)旋转轴减速度 MiddleAxis_DelSpeed 500
/// </summary>
[ConfigProAttribute("MiddleAxis_DelSpeed")]
public int MiddleAxis_DelSpeed { get; set; }
/// <summary>
/// PRO (轴二)升降轴轴原点目标速度 UpdownAxis_TargetSpeed 120000
/// </summary>
[ConfigProAttribute("UpdownAxis_TargetSpeed")]
public int UpdownAxis_TargetSpeed { get; set; }
/// <summary>
/// PRO (轴二)升降轴轴加速度 UpdownAxis_AddSpeed 200
/// </summary>
[ConfigProAttribute("UpdownAxis_AddSpeed")]
public int UpdownAxis_AddSpeed { get; set; }
/// <summary>
/// PRO (轴二)升降轴轴减速度 UpdownAxis_DelSpeed 200
/// </summary>
[ConfigProAttribute("UpdownAxis_DelSpeed")]
public int UpdownAxis_DelSpeed { get; set; }
/// <summary>
/// PRO (轴三)进出轴原点目标速度 InoutAxis_TargetSpeed 12000
/// </summary>
[ConfigProAttribute("InoutAxis_TargetSpeed")]
public int InoutAxis_TargetSpeed { get; set; }
/// <summary>
/// PRO (轴三)进出轴加速度 InoutAxis_AddSpeed 200
/// </summary>
[ConfigProAttribute("InoutAxis_AddSpeed")]
public int InoutAxis_AddSpeed { get; set; }
/// <summary>
/// PRO (轴三)进出轴减速度 InoutAxis_DelSpeed 200
/// </summary>
[ConfigProAttribute("InoutAxis_DelSpeed")]
public int InoutAxis_DelSpeed { get; set; }
/// <summary>
/// PRO (轴一)旋转轴原点低速度 MiddleAxis_HomeLowSpeed 50
/// </summary>
[ConfigProAttribute("MiddleAxis_HomeLowSpeed")]
public int MiddleAxis_HomeLowSpeed { get; set; }
/// <summary>
/// PRO (轴一)旋转轴原点高速 MiddleAxis_HomeHighSpeed 100
/// </summary>
[ConfigProAttribute("MiddleAxis_HomeHighSpeed")]
public int MiddleAxis_HomeHighSpeed { get; set; }
/// <summary>
/// PRO (轴一)旋转轴原点加速度 MiddleAxis_HomeAddSpeed 30
/// </summary>
[ConfigProAttribute("MiddleAxis_HomeAddSpeed")]
public int MiddleAxis_HomeAddSpeed { get; set; }
/// <summary>
/// PRO (轴二)升降轴轴原点低速度 UpdownAxis_HomeLowSpeed 50
/// </summary>
[ConfigProAttribute("UpdownAxis_HomeLowSpeed")]
public int UpdownAxis_HomeLowSpeed { get; set; }
/// <summary>
/// PRO (轴二)升降轴轴原点高速 UpdownAxis_HomeHighSpeed 100
/// </summary>
[ConfigProAttribute("UpdownAxis_HomeHighSpeed")]
public int UpdownAxis_HomeHighSpeed { get; set; }
/// <summary>
/// PRO (轴二)升降轴轴原点加速度 UpdownAxis_HomeAddSpeed 30
/// </summary>
[ConfigProAttribute("UpdownAxis_HomeAddSpeed")]
public int UpdownAxis_HomeAddSpeed { get; set; }
/// <summary>
/// PRO (轴三)进出轴原点低速 InoutAxis_HomeLowSpeed 50
/// </summary>
[ConfigProAttribute("InoutAxis_HomeLowSpeed")]
public int InoutAxis_HomeLowSpeed { get; set; }
/// <summary>
/// PRO (轴三)进出轴原点高速 InoutAxis_HomeHighSpeed 100
/// </summary>
[ConfigProAttribute("InoutAxis_HomeHighSpeed")]
public int InoutAxis_HomeHighSpeed { get; set; }
/// <summary>
/// PRO (轴三)进出轴原点加速度 InoutAxis_HomeAddSpeed 30
/// </summary>
[ConfigProAttribute("InoutAxis_HomeAddSpeed")]
public int InoutAxis_HomeAddSpeed { get; set; }
/// <summary>
/// PRO 升降轴(轴2)P1速度 UpDownAxis_P1_Speed
/// </summary>
[ConfigProAttribute("UpDownAxis_P1_Speed")]
public int UpDownAxis_P1_Speed { get; set; }
/// <summary>
/// PRO 升降轴(轴2)P2速度 UpDownAxis_P2_Speed
/// </summary>
[ConfigProAttribute("UpDownAxis_P2_Speed")]
public int UpDownAxis_P2_Speed { get; set; }
/// <summary>
/// PRO 升降轴(轴2)P3速度 UpDownAxis_P3_Speed
/// </summary>
[ConfigProAttribute("UpDownAxis_P3_Speed")]
public int UpDownAxis_P3_Speed { get; set; }
/// <summary>
/// PRO 升降轴(轴2)P4速度 UpDownAxis_P4_Speed
/// </summary>
[ConfigProAttribute("UpDownAxis_P4_Speed")]
public int UpDownAxis_P4_Speed { get; set; }
/// <summary>
/// PRO 升降轴(轴2)P5速度 UpDownAxis_P5_Speed
/// </summary>
[ConfigProAttribute("UpDownAxis_P5_Speed")]
public int UpDownAxis_P5_Speed { get; set; }
/// <summary>
/// PRO 升降轴(轴2)P6速度 UpDownAxis_P6_Speed
/// </summary>
[ConfigProAttribute("UpDownAxis_P6_Speed")]
public int UpDownAxis_P6_Speed { get; set; }
/// <summary>
/// PRO 升降轴(轴二)到仓门P7速度 UpDownAxis_P7_Speed
/// </summary>
[ConfigProAttribute("UpDownAxis_P7_Speed")]
public int UpDownAxis_P7_Speed { get; set; }
/// <summary>
/// PRO 升降轴(轴2)P8速度 UpDownAxis_P8_Speed
/// </summary>
[ConfigProAttribute("UpDownAxis_P8_Speed")]
public int UpDownAxis_P8_Speed { get; set; }
/// <summary>
/// PRO 旋转轴(轴1)P1速度 MiddleAxis_P1_Speed
/// </summary>
[ConfigProAttribute("MiddleAxis_P1_Speed")]
public int MiddleAxis_P1_Speed { get; set; }
/// <summary>
/// PRO 旋转轴(轴1)P2速度 MiddleAxis_P2_Speed
/// </summary>
[ConfigProAttribute("MiddleAxis_P2_Speed")]
public int MiddleAxis_P2_Speed { get; set; }
/// <summary>
/// PRO 进出轴(轴3)P1速度 InOutAxis_P1_Speed
/// </summary>
[ConfigProAttribute("InOutAxis_P1_Speed")]
public int InOutAxis_P1_Speed { get; set; }
/// <summary>
/// PRO 进出轴(轴3)P2速度 InOutAxis_P2_Speed
/// </summary>
[ConfigProAttribute("InOutAxis_P2_Speed")]
public int InOutAxis_P2_Speed { get; set; }
/// <summary>
/// PRO 进出轴(轴3)P3速度 InOutAxis_P3_Speed
/// </summary>
[ConfigProAttribute("InOutAxis_P3_Speed")]
public int InOutAxis_P3_Speed { get; set; }
/// <summary>
/// PRO (轴一)旋转轴停止时可误差的脉冲数的最小值 MiddleAxis_ErrorCountMin 200
/// </summary>
[ConfigProAttribute("MiddleAxis_ErrorCountMin")]
public int MiddleAxis_ErrorCountMin { get; set; }
/// <summary>
/// PRO (轴二)升降轴轴停止时可误差的脉冲数的最小值 UpdownAxis_ErrorCountMin 200
/// </summary>
[ConfigProAttribute("UpdownAxis_ErrorCountMin")]
public int UpdownAxis_ErrorCountMin { get; set; }
/// <summary>
/// PRO (轴三)进出轴停止时可误差的脉冲数的最小值 InoutAxis_ErrorCountMin 200
/// </summary>
[ConfigProAttribute("InoutAxis_ErrorCountMin")]
public int InoutAxis_ErrorCountMin { get; set; }
/// <summary>
/// PRO (轴一)旋转轴停止时可误差的脉冲数的最大值 MiddleAxis_ErrorCountMax 500
/// </summary>
[ConfigProAttribute("MiddleAxis_ErrorCountMax")]
public int MiddleAxis_ErrorCountMax { get; set; }
/// <summary>
/// PRO (轴二)升降轴轴停止时可误差的脉冲数的最大值 UpdownAxis_ErrorCountMax 500
/// </summary>
[ConfigProAttribute("UpdownAxis_ErrorCountMax")]
public int UpdownAxis_ErrorCountMax { get; set; }
/// <summary>
/// PRO (轴三)进出轴停止时可误差的脉冲数的最大值 InoutAxis_ErrorCountMax 500
/// </summary>
[ConfigProAttribute("InoutAxis_ErrorCountMax")]
public int InoutAxis_ErrorCountMax { get; set; }
/// <summary>
/// PRO,BOX出入库次数多少次时,会自动重置旋转轴,Box_ResetMCount,10,,,,,
/// </summary>
[ConfigProAttribute("Box_ResetMCount")]
public int Box_ResetMCount { get; set; }
/// <summary>
/// PRO,BOX出入库次数多少次时,会自动重置操作(会重置所有轴),Box_ResetACount,100,,,,,
/// </summary>
[ConfigProAttribute("Box_ResetACount")]
public int Box_ResetACount { get; set; }
/// <summary>
/// PRO IO信号超时时间(毫秒) IOSingle_TimerOut 5000
/// </summary>
[ConfigProAttribute("IOSingle_TimerOut", false)]
public int IOSingle_TimerOut { get; set; }
/// <summary>
/// PRO 升降轴 入库P1点集合 UpDownAxis_P1_List 8#20000;12#22000
/// </summary>
[ConfigProAttribute("UpDownAxis_P1_List")]
public string UpDownAxis_P1_List { get; set; }
/// <summary>
/// PRO 升降轴 出库高点 P2 UpDownAxis_OutHigh_P2
/// </summary>
[ConfigProAttribute("UpDownAxis_OutHigh_P2")]
public int UpDownAxis_OutHigh_P2 { get; set; }
/// <summary>
///PRO 升降轴 出库低点 P8 UpDownAxis_OutLow_P8
/// </summary>
[ConfigProAttribute("UpDownAxis_OutLow_P8")]
public int UpDownAxis_OutLow_P8 { get; set; }
/// <summary>
/// PRO,升降轴 进料口位置, UpDownAxis_Door_P7,403000,,,,,,,
/// </summary>
[ConfigProAttribute("UpDownAxis_Door_P7")]
public int UpDownAxis_Door_P7 { get; set; }
///// <summary>
///// 升降轴(轴二)到仓门速度 UpDownAxis_Door_Speed 2500
///// </summary>
//[ConfigProAttribute("UpDownAxis_Door_Speed")]
//public int UpDownAxis_Door_Speed { get; set; }
///// <summary>
///// 升降轴 进料口取料点 P1
///// </summary>
//[ConfigProAttribute("UpDownAxis_DoorOPosition_P1")]
//public int UpDownAxis_DoorOPosition_P1 { get; set; }
///// <summary>
///// 升降轴 进料口出料前点 P2
///// </summary>
//[ConfigProAttribute("UpDownAxis_DoorIPosition_P2")]
//public int UpDownAxis_DoorIPosition_P2 { get; set; }
///// <summary>
///// 升降轴 进料口取料缓冲点 P7
///// </summary>
//[ConfigProAttribute("UpDownAxis_DoorOBPosition_P7")]
//public int UpDownAxis_DoorOBPosition_P7 { get; set; }
///// <summary>
///// 升降轴 进料口出料缓冲点 P8
///// </summary>
//[ConfigProAttribute("UpDownAxis_DoorIBPosition_P8")]
//public int UpDownAxis_DoorIBPosition_P8 { get; set; }
///// <summary>
///// 进出轴进料口取料点 P2
///// </summary>
//[ConfigProAttribute("InOutAxis_DoorPosition_P2")]
//public int InOutAxis_DoorPosition_P2 { get; set; }
/// <summary>
/// PRO 旋转轴(轴1)P1 待机原位点 MiddleAxis_P1_Position
/// </summary>
[ConfigProAttribute("MiddleAxis_P1_Position")]
public int MiddleAxis_P1_Position { get; set; }
/// <summary>
/// PRO 进出轴(轴3)P1待机原位点 InOutAxis_P1_Position
/// </summary>
[ConfigProAttribute("InOutAxis_P1_Position")]
public int InOutAxis_P1_Position { get; set; }
/// <summary>
/// PRO 押金轴(轴4)P1待机原位点 CompressAxis_P1_Position
/// </summary>
[ConfigProAttribute("CompressAxis_P1_Position")]
public int CompressAxis_P1_Position { get; set; }
/// <summary>
/// PRO,压紧轴(轴4)P2压紧点集合,CompressAxis_P2_List,52#-10000;48#-10000,,,,,,,,,
/// </summary>
[ConfigProAttribute("CompressAxis_P2_List")]
public string CompressAxis_P2_List { get; set; }
/// <summary>
/// PRO 是否使用料盘检测信号 IsUse_Tray_Check
/// </summary>
[ConfigProAttribute("IsUse_Tray_Check")]
public int IsUse_Tray_Check { get; set; }
/// <summary>
/// 设备是否处于调试状态(1=调试,0=正常)
/// </summary>
[ConfigProAttribute("IsInDebug")]
public int IsInDebug { get; set; }
/// <summary>
///轴2升降轴 运动上下轴
/// </summary>
[ConfigProAttribute("UpDown_Axis")]
public ConfigMoveAxis UpDown_Axis { get; set; }
/// <summary>
/// 轴1旋转轴 运动中轴
/// </summary>
[ConfigProAttribute("Middle_Axis")]
public ConfigMoveAxis Middle_Axis { get; set; }
/// <summary>
/// 轴3进出轴
/// </summary>
[ConfigProAttribute("InOut_Axis")]
public ConfigMoveAxis InOut_Axis { get; set; }
/// <summary>
///AXIS (轴五)批量出入料 Batch_Axis
/// </summary>
[ConfigProAttribute("Batch_Axis")]
public ConfigMoveAxis Batch_Axis { get; set; }
///// <summary>
///// PRO 硕科步进电机(压紧轴)控制端口号 CompressAxis_PortName COM4
///// </summary>
//[ConfigProAttribute("CompressAxis_PortName")]
//public string CompressAxis_PortName { get; set; }
///// <summary>
///// PRO 硕科步进电机(压紧轴)控制波特率 CompressAxis_PortBaudrate 9600
///// </summary>
//[ConfigProAttribute("CompressAxis_PortBaudrate")]
//public int CompressAxis_PortBaudrate { get; set; }
///// <summary>
///// PRO 硕科步进电机(压紧轴)控制奇偶校验 CompressAxis_PortParity 2
///// </summary>
//[ConfigProAttribute("CompressAxis_PortParity")]
//public int CompressAxis_PortParity { get; set; }
///// <summary>
///// PRO 硕科步进电机(压紧轴)控制停止位 CompressAxis_StopBits 1
///// </summary>
//[ConfigProAttribute("CompressAxis_StopBits")]
//public int CompressAxis_StopBits { get; set; }
///// <summary>
///// PRO 硕科步进电机(压紧轴)控制初速度 CompressAxis_StartSpeed 100
///// </summary>
//[ConfigProAttribute("CompressAxis_StartSpeed")]
//public int CompressAxis_StartSpeed { get; set; }
///// <summary>
///// PRO 硕科步进电机(压紧轴)控制最大速度 CompressAxis_MaxSpeed 10000
///// </summary>
//[ConfigProAttribute("CompressAxis_MaxSpeed")]
//public int CompressAxis_MaxSpeed { get; set; }
///// <summary>
///// PRO 硕科步进电机(压紧轴)控制末速度 CompressAxis_EndSpeed 10000
///// </summary>
//[ConfigProAttribute("CompressAxis_EndSpeed")]
//public int CompressAxis_EndSpeed { get; set; }
///// <summary>
///// PRO 硕科步进电机(压紧轴)控制加速度 CompressAxis_AddSpeed 5000
///// </summary>
//[ConfigProAttribute("CompressAxis_AddSpeed")]
//public int CompressAxis_AddSpeed { get; set; }
///// <summary>
///// PRO 硕科步进电机(压紧轴)控制减速度 CompressAxis_DelSpeed 1000
///// </summary>
//[ConfigProAttribute("CompressAxis_DelSpeed")]
//public int CompressAxis_DelSpeed { get; set; }
///// <summary>
///// PRO 硕科步进电机(压紧轴)控制归零速度(原点返回速度) CompressAxis_HomeSpeed 10000
///// </summary>
//[ConfigProAttribute("CompressAxis_HomeSpeed")]
//public int CompressAxis_HomeSpeed { get; set; }
///// <summary>
///// PRO,硕科步进电机轴地址(压紧轴),CompressAxis_Slv,1,,,,,,
///// </summary>
//[ConfigProAttribute("CompressAxis_Slv")]
//public int CompressAxis_Slv { get; set; }
/// <summary>
/// PRO (轴一)旋转轴最小限位 MiddleAxis_PositionMin
/// </summary>
[ConfigProAttribute("MiddleAxis_PositionMin", false)]
public int MiddleAxis_PositionMin { get; set; }
/// <summary>
/// PRO (轴二)升降轴最小限位 UpdownAxis_PositionMin
/// </summary>
[ConfigProAttribute("UpdownAxis_PositionMin", false)]
public int UpdownAxis_PositionMin { get; set; }
/// <summary>
/// PRO (轴三)进出轴最小限位 InoutAxis_PositionMin
/// </summary>
[ConfigProAttribute("InoutAxis_PositionMin", false)]
public int InoutAxis_PositionMin { get; set; }
/// <summary>
/// PRO (轴一)旋转轴最大限位 MiddleAxis_PositionMax
/// </summary>
[ConfigProAttribute("MiddleAxis_PositionMax", false)]
public int MiddleAxis_PositionMax { get; set; }
/// <summary>
/// PRO (轴二)升降轴最大限位 UpdownAxis_PositionMax
/// </summary>
[ConfigProAttribute("UpdownAxis_PositionMax", false)]
public int UpdownAxis_PositionMax { get; set; }
/// <summary>
/// PRO (轴三)进出轴最大限位 InoutAxis_PositionMax
/// </summary>
[ConfigProAttribute("InoutAxis_PositionMax", false)]
/// <summary>
/// PRO 需要吹气的温度(温度标准) Max_Temperature 10
/// </summary>
[ConfigProAttribute("Max_Temperature", false)]
public int Max_Temperature { get; set; }
/// <summary>
/// PRO 需要吹气的湿度(湿度标准) Max_Humidity 10
/// </summary>
[ConfigProAttribute("Max_Humidity", false)]
public int Max_Humidity { get; set; }
/// <summary>
/// PRO 每次吹气的时间(分钟) BlowAir_Time 10
/// </summary>
[ConfigProAttribute("BlowAir_Time", false)]
public int BlowAir_Time { get; set; }
/// <summary>
/// PRO 两次吹气间隔(分钟) BlowAir_Interval 10
/// </summary>
[ConfigProAttribute("BlowAir_Interval", false)]
public int BlowAir_Interval { get; set; }
public int InoutAxis_PositionMax { get; set; }
/// <summary>
/// PRO,温湿度端口号,Humiture_Port,COM1,,,,,,,
/// </summary>
[ConfigProAttribute("Humiture_Port", true )]
public string Humiture_Port { get; set; }
/// <summary>
/// PRO (轴五)自动轴目标速度 BatchAxis_TargetSpeed 1000
/// </summary>
[ConfigProAttribute("BatchAxis_TargetSpeed", true)]
public int BatchAxis_TargetSpeed { get; set; }
/// <summary>
/// PRO (轴五)自动轴加速度 BatchAxis_AddSpeed 300
/// </summary>
[ConfigProAttribute("BatchAxis_AddSpeed", true)]
public int BatchAxis_AddSpeed { get; set; }
/// <summary>
/// PRO (轴五)自动轴减速度 BatchAxis_DelSpeed 300
/// </summary>
[ConfigProAttribute("BatchAxis_DelSpeed", true)]
public int BatchAxis_DelSpeed { get; set; }
/// <summary>
/// PRO (轴五)自动轴原点低速 BatchAxis_HomeLowSpeed 20
/// </summary>
[ConfigProAttribute("BatchAxis_HomeLowSpeed", true)]
public int BatchAxis_HomeLowSpeed { get; set; }
/// <summary>
/// PRO (轴五)自动轴原点高速 BatchAxis_HomeHighSpeed 60
/// </summary>
[ConfigProAttribute("BatchAxis_HomeHighSpeed", true)]
public int BatchAxis_HomeHighSpeed { get; set; }
/// <summary>
///PRO (轴五)自动轴P1点 BatchAxis_P1 200
/// </summary>
[ConfigProAttribute("BatchAxis_P1", true)]
public int BatchAxis_P1 { get; set; }
/// <summary>
/// PRO (轴五)自动轴原点加速度 BatchAxis_HomeAddSpeed 200
/// </summary>
[ConfigProAttribute("BatchAxis_HomeAddSpeed", true)]
public int BatchAxis_HomeAddSpeed { get; set; }
/// <summary>
/// PRO (轴五)自动轴最小限位 BatchAxis_PositionMin 0
/// </summary>
[ConfigProAttribute("BatchAxis_PositionMin", true)]
public int BatchAxis_PositionMin { get; set; }
/// <summary>
/// PRO (轴五)自动轴最大限位 BatchAxis_PositionMax 0
/// </summary>
[ConfigProAttribute("BatchAxis_PositionMax", true)]
public int BatchAxis_PositionMax { get; set; }
/// <summary>
/// PRO (轴五)自动轴停止时可误差的脉冲数的最小值 BatchAxis_ErrorCountMin
/// </summary>
[ConfigProAttribute("BatchAxis_ErrorCountMin", true)]
public int BatchAxis_ErrorCountMin { get; set; }
/// <summary>
/// PRO (轴五)自动轴停止时可误差的脉冲数的最大值 BatchAxis_ErrorCountMax
/// </summary>
[ConfigProAttribute("BatchAxis_ErrorCountMax", true)]
public int BatchAxis_ErrorCountMax { get; set; }
/// <summary>
/// PRO (轴五)上料轴P1速度 BatchAxis_P1_Speed 50
/// </summary>
[ConfigProAttribute("BatchAxis_P1_Speed", true)]
public int BatchAxis_P1_Speed { get; set; }
/// <summary>
/// PRO (轴五)上料轴慢速匀速上升速度 BatchAxis_SlowSpeed 150
/// </summary>
[ConfigProAttribute("BatchAxis_SlowSpeed", true)]
public int BatchAxis_SlowSpeed { get; set; }
/// <summary>
/// PRO(轴五)上料轴出料时距离检测信号需要下降的高度 BatchAxis_OutDownPosition
///</summary>
[ConfigProAttribute("BatchAxis_OutDownPosition", true)]
public int BatchAxis_OutDownPosition { get; set; }
/// <summary>
/// PRO(轴五)上料轴最最大料盘高度mm,到达后无法批量出库 BatchAxis_MaxHeight
///</summary>
[ConfigProAttribute("BatchAxis_MaxHeight", true)]
public int BatchAxis_MaxHeight { get; set; }
/// <summary>
/// PRO,默认的料盘宽度(不可更改),Default_TrayWidth,7
/// </summary>
[ConfigProAttribute("Default_TrayWidth")]
public int Default_TrayWidth { get; set; }
/// <summary>
/// PRO IO模块对应的DI数量 IO_DILength 192.168.200.10#16;192.168.200.11#4
/// </summary>
[ConfigProAttribute("IO_DILength")]
public string IO_DILength { get; set; }
/// <summary>
/// PRO 模块对应的DO数量 IO_DOLength 192.168.200.10#16;192.168.200.11#4
/// </summary>
[ConfigProAttribute("IO_DOLength")]
public string IO_DOLength { get; set; }
/// <summary>
/// PRO,最后一盘料需要补充的高度,LastTrayAddHeight,10,,,,,,,,,
/// </summary>
[ConfigProAttribute("LastTrayAddHeight")]
public int LastTrayAddHeight { get; set; }
/// <summary>
/// PRO,(轴五) 上料轴P2点(待机点),BatchAxis_P2,20000
/// </summary>
[ConfigProAttribute("BatchAxis_P2")]
public int BatchAxis_P2 { get; set; }
/// <summary>
/// PRO,(轴五) 上料轴P2速度, BatchAxis_P2_Speed,300
/// </summary>
[ConfigProAttribute("BatchAxis_P2_Speed")]
public int BatchAxis_P2_Speed { get; set; }
/// <summary>
/// PRO,升降轴从吸盘下方接料后下降的高度,UpDownAxis_DownValue,10000,,,,,,,
/// </summary>
[ConfigProAttribute("UpDownAxis_DownValue")]
public int UpDownAxis_DownValue { get; set; }
/// <summary>
/// 轴3压紧轴
/// </summary>
[ConfigProAttribute("Comp_Axis")]
public ConfigMoveAxis Comp_Axis { get; set; }
/// <summary>
/// PRO (轴四)压紧轴目标速度 CompAxis_TargetSpeed 100
/// </summary>
[ConfigProAttribute("CompAxis_TargetSpeed")]
public int CompAxis_TargetSpeed { get; set; }
/// <summary>
/// PRO (轴四)压紧轴加速度 CompAxis_AddSpeed 300
/// </summary>
[ConfigProAttribute("CompAxis_AddSpeed")]
public short CompAxis_AddSpeed { get; set; }
/// <summary>
/// PRO (轴四)压紧轴减速度 CompAxis_DelSpeed 300
/// </summary>
[ConfigProAttribute("CompAxis_DelSpeed")]
public short CompAxis_DelSpeed { get; set; }
/// <summary>
/// PRO (轴四)压紧轴原点低速 CompAxis_HomeLowSpeed 20
/// </summary>
[ConfigProAttribute("CompAxis_HomeLowSpeed")]
public int CompAxis_HomeLowSpeed { get; set; }
/// <summary>
/// PRO (轴四)压紧轴原点高速 CompAxis_HomeHighSpeed 60
/// </summary>
[ConfigProAttribute("CompAxis_HomeHighSpeed")]
public int CompAxis_HomeHighSpeed { get; set; }
/// <summary>
/// PRO (轴四)压紧轴原点加速度 CompAxis_HomeAddSpeed 200
/// </summary>
[ConfigProAttribute("CompAxis_HomeAddSpeed")]
public int CompAxis_HomeAddSpeed { get; set; }
/// <summary>
/// PRO 压紧轴(轴4)P1速度 CompAxis_P1_Speed 100
/// </summary>
[ConfigProAttribute("CompAxis_P1_Speed")]
public int CompAxis_P1_Speed { get; set; }
/// <summary>
/// PRO 压紧轴(轴4)P2速度 CompAxis_P2_Speed 100
/// </summary>
[ConfigProAttribute("CompAxis_P2_Speed")]
public int CompAxis_P2_Speed { get; set; }
/// <summary>
///PRO 压紧轴(轴4)P3速度 CompAxis_P3_Speed 100
/// </summary>
[ConfigProAttribute("CompAxis_P3_Speed")]
public int CompAxis_P3_Speed { get; set; }
/// <summary>
/// PRO,特殊二维码尺寸配置,CodeSizeConfig,XA=13x48#XB=13x32#FA=7x32,,,,,,,
/// </summary>
[ConfigProAttribute("CodeSizeConfig", false)]
public string CodeSizeConfig { get; set; }
/// <summary>
/// PRO,(轴五) 上料轴出料时检测到料盘需要下降的高度, BatchAxis_DownPosition2,200000,,,,,,,
/// </summary>
[ConfigProAttribute("BatchAxis_DownPosition2", false)]
public int BatchAxis_DownPosition2 { get; set; }
/// <summary>
/// PRO,(轴五) 上料轴P3点(上料目标位置),BatchAxis_P3,1700000,,,,,,,
/// </summary>
[ConfigProAttribute("BatchAxis_P3", false)]
public int BatchAxis_P3 { get; set; }
private Dictionary<string, string> CodeSizeMap = null;
private static char codeSpilt = '#';
public string GetCodeSize(ref string code)
{
try
{
if (CodeSizeMap == null)
{
CodeSizeMap = new Dictionary<string, string>();
string[] array = CodeSizeConfig.Split(codeSpilt);
if (array.Length > 0)
{
foreach (string str in array)
{
string[] codeStr = str.Split('=');
if (codeStr.Length == 2)
{
string key = codeStr[0].Trim();
string value = codeStr[1].Trim();
CodeSizeMap.Add(key, value);
}
}
}
}
foreach (string key in CodeSizeMap.Keys)
{
string[] array = key.Split(';');
if (array.Length == 1 && code.Trim().StartsWith(key))
{
return CodeSizeMap[key];
}
else if (array.Length >= 2)
{
if (code.Trim().StartsWith(array[0]))
{
int leng = array[0].Length;
//code = code.Trim() + key.Substring(leng, key.Length - leng);
code = code.Trim() + ";" + code.Trim()+";" + array[2];
return CodeSizeMap[key];
}
}
}
}
catch (Exception ex)
{
LOGGER.Error("获取二维码【" + code + "】的固定尺寸出错:" + ex.ToString());
}
return "";
}
private Dictionary<string, ushort> DILengthMap = null;
private Dictionary<string, ushort> DOLengthMap = null;
private Dictionary<int, int> ComP2Map = null;
public int GetComP2(int trayHeight)
{
try
{
if (ComP2Map == null)
{
ComP2Map = new Dictionary<int, int>();
string[] arrayList = CompressAxis_P2_List.Split(';');
foreach (string str in arrayList)
{
string[] arrStr = str.Split('#');
if (arrStr.Length == 2)
{
int ioip = Convert.ToInt32(arrStr[0]);
int length = Convert.ToInt32(arrStr[1]);
ComP2Map.Add(ioip, length);
}
}
}
}
catch (Exception ex)
{
}
if (ComP2Map.ContainsKey(trayHeight))
{
return ComP2Map[trayHeight];
}
else
{
LogUtil.error("未找到料盘高度为【" + trayHeight + "】的压紧轴P2");
return -1;
}
}
public void UpdateComP2(int height, int value)
{
int oldP1 = GetComP2(height);
if (!oldP1.Equals(value))
{
if (ComP2Map.ContainsKey(height))
{
ComP2Map[height] = value;
}
else
{
ComP2Map.Add(height, value);
}
}
string msg = "";
foreach (int key in ComP2Map.Keys)
{
msg += key + "#" + ComP2Map[key] + ";";
}
this.CompressAxis_P2_List = msg;
}
private Dictionary<int, int> UpDownAxisP1Map = null;
public int GetUpDownP1(int trayHeight)
{
try
{
if (UpDownAxisP1Map == null)
{
UpDownAxisP1Map = new Dictionary<int, int>();
string[] arrayList = UpDownAxis_P1_List.Split(';');
foreach (string str in arrayList)
{
string[] arrStr = str.Split('#');
if (arrStr.Length == 2)
{
int ioip = Convert.ToInt32(arrStr[0]);
int length = Convert.ToInt32(arrStr[1]);
UpDownAxisP1Map.Add(ioip, length);
}
}
}
}
catch (Exception ex)
{
}
if (UpDownAxisP1Map.ContainsKey(trayHeight))
{
return UpDownAxisP1Map[trayHeight];
}
else
{
LogUtil.error("未找到料盘高度为【"+trayHeight+"】的升降轴P1,查找最大高度的P1");
if (UpDownAxisP1Map.Count > 0)
{
List<int> list = new List<int>(UpDownAxisP1Map.Keys);
list = (from m in list orderby m descending select m).ToList<int>();
return UpDownAxisP1Map[list[0]];
}
}
return 0;
}
public void UpdateUpDownP1(int height, int value)
{
int oldP1 = GetUpDownP1(height);
if (!oldP1.Equals(value))
{
if (UpDownAxisP1Map.ContainsKey(height))
{
UpDownAxisP1Map[height] = value;
}
else
{
UpDownAxisP1Map.Add(height, value);
}
}
string msg = "";
foreach (int key in UpDownAxisP1Map.Keys)
{
msg += key + "#" + UpDownAxisP1Map[key] + ";";
}
this.UpDownAxis_P1_List = msg;
}
public int GetDefaultUpDownP1()
{
return GetUpDownP1(GetDefaultHeight());
}
public int GetDefaultHeight()
{
int defaultH = 8;
if (Default_TrayWidth.Equals(13))
{
defaultH = 40;
}else if (Default_TrayWidth.Equals(0))
{
return 12;
}
return defaultH;
}
public ushort GetDILength(string ip)
{
try
{
if (DILengthMap == null)
{
DILengthMap = new Dictionary<string, ushort>();
string[] arrayList = IO_DILength.Split(';');
foreach (string str in arrayList)
{
string[] arrStr = str.Split('#');
if (arrStr.Length == 2)
{
string ioip = arrStr[0];
ushort length = Convert.ToUInt16(arrStr[1]);
DILengthMap.Add(ioip, length);
}
}
}
}
catch (Exception ex)
{
}
if (DILengthMap.ContainsKey(ip))
{
return DILengthMap[ip];
}
return 16;
}
public ushort GetDOLength(string ip)
{
try
{
if (DOLengthMap == null)
{
DOLengthMap = new Dictionary<string, ushort>();
string[] arrayList = IO_DOLength.Split(';');
foreach (string str in arrayList)
{
string[] arrStr = str.Split('#');
if (arrStr.Length == 2)
{
string ioip = arrStr[0];
ushort length = Convert.ToUInt16(arrStr[1]);
DOLengthMap.Add(ioip, length);
}
}
}
}
catch (Exception ex)
{
}
if (DOLengthMap.ContainsKey(ip))
{
return DOLengthMap[ip];
}
return 16;
}
protected override void initMustHavePro()
{
MustHaveDIList = new List<string>();
MustHaveDOList = new List<string>();
MustHaveDIList.Add(IO_Type.SuddenStop_BTN);
MustHaveDIList.Add(IO_Type.Reset_BTN);
MustHaveDIList.Add(IO_Type.AutoRun_Single);
MustHaveDIList.Add(IO_Type.SafetyLightCurtains);
MustHaveDIList.Add(IO_Type.Door_Up);
MustHaveDIList.Add(IO_Type.Door_Down);
MustHaveDIList.Add(IO_Type.ClampingDisc_Up);
MustHaveDIList.Add(IO_Type.ClampingDisc_Down);
MustHaveDIList.Add(IO_Type.WidthCheck1);
MustHaveDIList.Add(IO_Type.WidthCheck2);
MustHaveDIList.Add(IO_Type.TrayCheck_LoadMaterial);
MustHaveDIList.Add(IO_Type.OutCheck);
MustHaveDIList.Add(IO_Type.BatchDoor_Open);
MustHaveDIList.Add(IO_Type.BatchDoor_Close);
MustHaveDIList.Add(IO_Type.TrayCheck_Fixture);
MustHaveDIList.Add(IO_Type.CompressAxis_Check);
MustHaveDIList.Add(IO_Type.DoorClose_LoadMaterial);
MustHaveDIList.Add(IO_Type.Airpressure_Check);
// MustHaveDIList.Add(IO_Type.SuckingDisc_Air);
MustHaveDIList.Add(IO_Type.BatchDoor_Close2);
MustHaveDIList.Add(IO_Type.BatchDoor_Open2);
MustHaveDIList.Add(IO_Type.LeftDoorColse_Single);
MustHaveDIList.Add(IO_Type.RightDoorColse_Single);
MustHaveDIList.Add(IO_Type.Clamping_Work);
MustHaveDIList.Add(IO_Type.Clamping_Relax);
//MustHaveDIList.Add(IO_Type.DoorColse_Single);
MustHaveDOList.Add(IO_Type.AutoRun_HddLed);
MustHaveDOList.Add(IO_Type.Alarm_HddLed);
MustHaveDOList.Add(IO_Type.RunSign_HddLed);
MustHaveDOList.Add(IO_Type.StartOrStopBlow);
MustHaveDOList.Add(IO_Type.Run_Sign);
MustHaveDOList.Add(IO_Type.Axis_Brake);
MustHaveDOList.Add(IO_Type.CameraLight_Power);
// MustHaveDOList.Add(IO_Type.SuckingDisc_Work);
MustHaveDOList.Add(IO_Type.Door_Up);
MustHaveDOList.Add(IO_Type.Door_Down);
MustHaveDOList.Add(IO_Type.ClampingDisc_Up);
MustHaveDOList.Add(IO_Type.ClampingDisc_Down);
MustHaveDOList.Add(IO_Type.BatchDoor_Open);
MustHaveDOList.Add(IO_Type.BatchDoor_Close);
MustHaveDOList.Add(IO_Type.Buzzer_Sign);
MustHaveDOList.Add(IO_Type.Clamping_Work);
MustHaveDOList.Add(IO_Type.Clamping_Relax);
}
public static void ConfigAxis(AUTO_SA_Config Config)
{
Config.Middle_Axis.TargetSpeed = Config.MiddleAxis_TargetSpeed;
Config.Middle_Axis.AddSpeed = Config.MiddleAxis_AddSpeed;
Config.Middle_Axis.DelSpeed = Config.MiddleAxis_DelSpeed;
Config.Middle_Axis.HomeAddSpeed = Config.MiddleAxis_HomeAddSpeed;
Config.Middle_Axis.HomeHighSpeed = Config.MiddleAxis_HomeHighSpeed;
Config.Middle_Axis.HomeLowSpeed = Config.MiddleAxis_HomeLowSpeed;
Config.InOut_Axis.TargetSpeed = Config.InoutAxis_TargetSpeed;
Config.InOut_Axis.DelSpeed = Config.InoutAxis_AddSpeed;
Config.InOut_Axis.AddSpeed = Config.InoutAxis_DelSpeed;
Config.InOut_Axis.HomeAddSpeed = Config.InoutAxis_HomeAddSpeed;
Config.InOut_Axis.HomeHighSpeed = Config.InoutAxis_HomeHighSpeed;
Config.InOut_Axis.HomeLowSpeed = Config.InoutAxis_HomeLowSpeed;
Config.UpDown_Axis.TargetSpeed = Config.UpdownAxis_TargetSpeed;
Config.UpDown_Axis.AddSpeed = Config.UpdownAxis_AddSpeed;
Config.UpDown_Axis.DelSpeed = Config.UpdownAxis_DelSpeed;
Config.UpDown_Axis.HomeAddSpeed = Config.UpdownAxis_HomeAddSpeed;
Config.UpDown_Axis.HomeHighSpeed = Config.UpdownAxis_HomeHighSpeed;
Config.UpDown_Axis.HomeLowSpeed = Config.UpdownAxis_HomeLowSpeed;
Config.Comp_Axis.TargetSpeed = Config.CompAxis_TargetSpeed;
Config.Comp_Axis.AddSpeed = Config.CompAxis_AddSpeed;
Config.Comp_Axis.DelSpeed = Config.CompAxis_DelSpeed;
Config.Comp_Axis.HomeAddSpeed = Config.CompAxis_HomeAddSpeed;
Config.Comp_Axis.HomeHighSpeed = Config.CompAxis_HomeHighSpeed;
Config.Comp_Axis.HomeLowSpeed = Config.CompAxis_HomeLowSpeed;
Config.Middle_Axis.CanErrorCountMin = Config.MiddleAxis_ErrorCountMin;
Config.InOut_Axis.CanErrorCountMin = Config.InoutAxis_ErrorCountMin;
Config.UpDown_Axis.CanErrorCountMin = Config.UpdownAxis_ErrorCountMin;
Config.Middle_Axis.CanErrorCountMax = Config.MiddleAxis_ErrorCountMax;
Config.InOut_Axis.CanErrorCountMax = Config.InoutAxis_ErrorCountMax;
Config.UpDown_Axis.CanErrorCountMax = Config.UpdownAxis_ErrorCountMax;
Config.Middle_Axis.PositionMin = Config.MiddleAxis_PositionMin;
Config.Middle_Axis.PositionMax = Config.MiddleAxis_PositionMax;
Config.InOut_Axis.PositionMin = Config.InoutAxis_PositionMin;
Config.InOut_Axis.PositionMax = Config.InoutAxis_PositionMax;
Config.UpDown_Axis.PositionMin = Config.UpdownAxis_PositionMin;
Config.UpDown_Axis.PositionMax = Config.UpdownAxis_PositionMax;
Config.Batch_Axis.TargetSpeed = Config.BatchAxis_TargetSpeed;
Config.Batch_Axis.AddSpeed = Config.BatchAxis_AddSpeed;
Config.Batch_Axis.DelSpeed = Config.BatchAxis_DelSpeed;
Config.Batch_Axis.HomeAddSpeed = Config.BatchAxis_HomeAddSpeed;
Config.Batch_Axis.HomeHighSpeed = Config.BatchAxis_HomeHighSpeed;
Config.Batch_Axis.HomeLowSpeed = Config.BatchAxis_HomeLowSpeed;
Config.Batch_Axis.CanErrorCountMin = Config.BatchAxis_ErrorCountMin;
Config.Batch_Axis.CanErrorCountMax = Config.BatchAxis_ErrorCountMax;
Config.Batch_Axis.PositionMin = Config.BatchAxis_PositionMin;
Config.Batch_Axis.PositionMax = Config.BatchAxis_PositionMax;
Config.Batch_Axis.DefaultPosition = Config.BatchAxis_P1;
Config.Middle_Axis.DefaultPosition = Config.MiddleAxis_P1_Position;
Config.InOut_Axis.DefaultPosition = Config.InOutAxis_P1_Position;
Config.UpDown_Axis.DefaultPosition = Config.UpDownAxis_Door_P7;
Config.Comp_Axis.DefaultPosition = Config.CompressAxis_P1_Position;
Config.Comp_Axis.CanErrorCountMax = 1000;
Config.Comp_Axis.CanErrorCountMin = 10;
Config.Comp_Axis.PositionMin = 0;
Config.Comp_Axis.PositionMax = 0;
}
}
}