5-40
Writing the User Program
CLM01.4-LAP-01VRS
DOK-CONTRL-CLM01.4LAP1-FK01-EN-P
Programming Example:
Task 1
0000
PSI
1 +000050.000 999
- Main Program
0001
JSR
0005
- Punching Unit 1
0002
PSI
1 +000025.000 999
0003
JSR
0009
- Punching Unit 2
0004
JMP
0000
- New Cycle
Punching
Unit 1
0005
AEA
Q1.00.0 1
- Punching Unit 1 ON
0006
WAI
00.200
- Wait
0007
AEA
Q1.00.0 0
- Punching Unit 1 OFF
0008
RTS
- back to Main Program
Punching
Unit 2
0009
AEA
Q1.00.1 1
- Punching Unit 2 ON
0010
WAI
00.200
- Wait
0011
AEA
Q1.00.1 0
- Punching Unit 2 OFF
0012
RTS
Task 2
0200
RMI
1 0 I1.01.7
- Wait for raster signal and movement of the
offset distance
0202
PSI
1 +000015.500 500
- Offset distance from the raster position
0202
JSR
0210
- Tool program
0203
RMI
1 1 I1.01.7
- Perform feed operation in the Main Program
0204
JMP
0200
- New Cycle
Tool Program
0210
AEA
Q1.00.2 1
- Cutting Mechanism ON
0211
WAI
00.250
- Wait
0212
AEA
Q1.00.2 0
- Cutting Mechanism OFF
0213
WAI
00.250
- Wait
0214
RTS
Fig. 5-18: RMI Command Programming Example
Содержание CLM1.4
Страница 117: ...7 20 Functions CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Страница 205: ...9 42 Interfaces CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Страница 213: ...10 8 Command Communications CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Страница 233: ...11 20 Diagnostic Messages CLM01 4 LAP 01VRS DOK CONTRL CLM01 4LAP1 FK01 EN P Notes...
Страница 272: ......
Страница 273: ...Printed in the U S A Barcode...