发表于:2017/7/7 13:57:38
#0楼
ATTR
OWNER = MNEDITOR;
COMMENT = "GET LCD_B PORT1";
PROG_SIZE = 2021;
CREATE = DATE 11-12-09 TIME 17:38:32;
MODIFIED = DATE 16-03-22 TIME 11:28:04;
FILE_NAME = ;
VERSION = 0;
LINE_COUNT = 96;
MEMORY_SIZE = 2553;
PROTECT = READ_WRITE;
TCD: STACK_SIZE = 0,
TASK_PRIORITY = 50,
TIME_SLICE = 0,
BUSY_LAMP_OFF = 0,
ABORT_REQUEST = 0,
PAUSE_REQUEST = 0;
DEFAULT_GROUP = 1,*,*,*,*;
CONTROL_CODE = 00000000 00000000;
/MN
1: OVERRIDE=R[10:ROBOT OVD%] ;
2: UFRAME_NUM=1 ;
3: UTOOL_NUM=1 ;
4: ;
5: IF RI[1:VAC S OK]=ON OR RI[2:VAC B OK]=ON,JMP LBL[100] ;
6: ;
7: CALL TYP_SEL ;
8: ;
9:J PR[91:G_PANEL HOME1] 75% CNT100 ;
10: WAIT DI[11:LCD GET ORDER]=ON ;
11: DO[11:LCD GET IN]=OFF ;
12: ;
13: R[88:Action Save]=1 ;
14:L P[1:OUTSIDE POS] 1800mm/sec CNT80 ACC30 Offset,PR[1:GET LCD OFFSET] ;
15: R[88:Action Save]=2 ;
16: IF R[108:LCD PL NEW:1]<>1,JMP LBL[102] ;
17: ;
18: LBL[101] ;
19:L P[2:APP. POS] 1500mm/sec CNT30 ACC80 Offset,PR[1:GET LCD OFFSET] ;
20: ;
21: JMP LBL[103] ;
22: LBL[102] ;
23: PR[95:GET LCD APP.]=PR[100:GET LCD POS] ;
24: ;
25: PR[95,1:GET LCD APP.]=PR[100,1:GET LCD POS]-50 ;
26: ;
27:L PR[95:GET LCD APP.] 1500mm/sec CNT10 ACC100 ;
28: ;
29: LBL[103] ;
30: ;
31: SKIP CONDITION RI[5:LCD GET CHK]=OFF OR RI[6:LCD GET CHK ERR]=OFF ;
32: R[88:Action Save]=3 ;
33:L P[3:GET POS] 80mm/sec FINE ACC50 Offset,PR[1:GET LCD OFFSET] Skip,LBL[2],PR[100:GET LCD POS]=LPOS ;
34: ;
35: !-----SKIP OK----- ;
36: ;
37: LBL[2] ;
38: R[71:LCD GET 0:OK]=RI[5:LCD GET CHK] ;
39: IF RI[4:Color SPACE]=OFF OR RI[3:Color PL OVER ]=ON,JMP LBL[1] ;
40: CALL VAC_ON ;
41: ;
42: LBL[1:SKIP NG] ;
43: R[72:LCD 0:OVER PRESS]=RI[6:LCD GET CHK ERR] ;
44: R[199:LCD OVER]=RI[3:Color PL OVER ] ;
45: ;
46: PR[99:GET OUT USE]=LPOS ;
47: PR[99,1:GET OUT USE]=PR[99,1:GET OUT USE]-80 ;
48: PR[99,2:GET OUT USE]=PR[99,2:GET OUT USE]+2 ;
49: PR[99,6:GET OUT USE]=PR[99,6:GET OUT USE]+5 ;
50:L PR[99:GET OUT USE] 50mm/sec CNT50 ACC50 ;
51: ;
52: PR[99:GET OUT USE]=LPOS ;
53: PR[99,1:GET OUT USE]=PR[99,1:GET OUT USE]-150 ;
54: PR[99,2:GET OUT USE]=PR[99,2:GET OUT USE]+10 ;
55: PR[99,6:GET OUT USE]=PR[99,6:GET OUT USE]+3 ;
56: R[88:Action Save]=5 ;
57: ;
58:L PR[99:GET OUT USE] 700mm/sec CNT80 ACC100 ;
59: ;
60: PR[99:GET OUT USE]=LPOS ;
61: PR[99,1:GET OUT USE]=(-230) ;
62: R[88:Action Save]=5 ;
63: ;
64:L PR[99:GET OUT USE] 1500mm/sec CNT100 ACC80 ;
65: ;
66: R[88:Action Save]=6 ;
67: MONITOR END PL_OVER_ ;
68: ;
69:L PR[91:G_PANEL HOME1] 1800mm/sec CNT15 ;
70: IF R[199:LCD OVER]=1,JMP LBL[10] ;
71: IF RI[1:VAC S OK]=OFF AND RI[2:VAC B OK]=OFF,JMP LBL[20] ;
72: IF R[51:VAC NG]=1,JMP LBL[20] ;
73: ;
74: DO[11:LCD GET IN]=ON ;
75: DO[12:LCD G OK COM.]=ON ;
76: WAIT DI[12:LCD GET COM]=ON ;
77: DO[12:LCD G OK COM.]=OFF ;
78: ;
79: CALL MV_H1_H2 ;
80: END ;
哪位大神能解释下里面的寄存器。
OWNER = MNEDITOR;
COMMENT = "GET LCD_B PORT1";
PROG_SIZE = 2021;
CREATE = DATE 11-12-09 TIME 17:38:32;
MODIFIED = DATE 16-03-22 TIME 11:28:04;
FILE_NAME = ;
VERSION = 0;
LINE_COUNT = 96;
MEMORY_SIZE = 2553;
PROTECT = READ_WRITE;
TCD: STACK_SIZE = 0,
TASK_PRIORITY = 50,
TIME_SLICE = 0,
BUSY_LAMP_OFF = 0,
ABORT_REQUEST = 0,
PAUSE_REQUEST = 0;
DEFAULT_GROUP = 1,*,*,*,*;
CONTROL_CODE = 00000000 00000000;
/MN
1: OVERRIDE=R[10:ROBOT OVD%] ;
2: UFRAME_NUM=1 ;
3: UTOOL_NUM=1 ;
4: ;
5: IF RI[1:VAC S OK]=ON OR RI[2:VAC B OK]=ON,JMP LBL[100] ;
6: ;
7: CALL TYP_SEL ;
8: ;
9:J PR[91:G_PANEL HOME1] 75% CNT100 ;
10: WAIT DI[11:LCD GET ORDER]=ON ;
11: DO[11:LCD GET IN]=OFF ;
12: ;
13: R[88:Action Save]=1 ;
14:L P[1:OUTSIDE POS] 1800mm/sec CNT80 ACC30 Offset,PR[1:GET LCD OFFSET] ;
15: R[88:Action Save]=2 ;
16: IF R[108:LCD PL NEW:1]<>1,JMP LBL[102] ;
17: ;
18: LBL[101] ;
19:L P[2:APP. POS] 1500mm/sec CNT30 ACC80 Offset,PR[1:GET LCD OFFSET] ;
20: ;
21: JMP LBL[103] ;
22: LBL[102] ;
23: PR[95:GET LCD APP.]=PR[100:GET LCD POS] ;
24: ;
25: PR[95,1:GET LCD APP.]=PR[100,1:GET LCD POS]-50 ;
26: ;
27:L PR[95:GET LCD APP.] 1500mm/sec CNT10 ACC100 ;
28: ;
29: LBL[103] ;
30: ;
31: SKIP CONDITION RI[5:LCD GET CHK]=OFF OR RI[6:LCD GET CHK ERR]=OFF ;
32: R[88:Action Save]=3 ;
33:L P[3:GET POS] 80mm/sec FINE ACC50 Offset,PR[1:GET LCD OFFSET] Skip,LBL[2],PR[100:GET LCD POS]=LPOS ;
34: ;
35: !-----SKIP OK----- ;
36: ;
37: LBL[2] ;
38: R[71:LCD GET 0:OK]=RI[5:LCD GET CHK] ;
39: IF RI[4:Color SPACE]=OFF OR RI[3:Color PL OVER ]=ON,JMP LBL[1] ;
40: CALL VAC_ON ;
41: ;
42: LBL[1:SKIP NG] ;
43: R[72:LCD 0:OVER PRESS]=RI[6:LCD GET CHK ERR] ;
44: R[199:LCD OVER]=RI[3:Color PL OVER ] ;
45: ;
46: PR[99:GET OUT USE]=LPOS ;
47: PR[99,1:GET OUT USE]=PR[99,1:GET OUT USE]-80 ;
48: PR[99,2:GET OUT USE]=PR[99,2:GET OUT USE]+2 ;
49: PR[99,6:GET OUT USE]=PR[99,6:GET OUT USE]+5 ;
50:L PR[99:GET OUT USE] 50mm/sec CNT50 ACC50 ;
51: ;
52: PR[99:GET OUT USE]=LPOS ;
53: PR[99,1:GET OUT USE]=PR[99,1:GET OUT USE]-150 ;
54: PR[99,2:GET OUT USE]=PR[99,2:GET OUT USE]+10 ;
55: PR[99,6:GET OUT USE]=PR[99,6:GET OUT USE]+3 ;
56: R[88:Action Save]=5 ;
57: ;
58:L PR[99:GET OUT USE] 700mm/sec CNT80 ACC100 ;
59: ;
60: PR[99:GET OUT USE]=LPOS ;
61: PR[99,1:GET OUT USE]=(-230) ;
62: R[88:Action Save]=5 ;
63: ;
64:L PR[99:GET OUT USE] 1500mm/sec CNT100 ACC80 ;
65: ;
66: R[88:Action Save]=6 ;
67: MONITOR END PL_OVER_ ;
68: ;
69:L PR[91:G_PANEL HOME1] 1800mm/sec CNT15 ;
70: IF R[199:LCD OVER]=1,JMP LBL[10] ;
71: IF RI[1:VAC S OK]=OFF AND RI[2:VAC B OK]=OFF,JMP LBL[20] ;
72: IF R[51:VAC NG]=1,JMP LBL[20] ;
73: ;
74: DO[11:LCD GET IN]=ON ;
75: DO[12:LCD G OK COM.]=ON ;
76: WAIT DI[12:LCD GET COM]=ON ;
77: DO[12:LCD G OK COM.]=OFF ;
78: ;
79: CALL MV_H1_H2 ;
80: END ;
哪位大神能解释下里面的寄存器。
青竹