8-
34
8
ROBOT LANGUAGE
8-5 Sample Programs
8-5-7 Axis movement and I/O multi-task
The robot moves between two points and performs multi-task I/O operation in asynchronous mode.
General-purpose input/output
DI0 Job status detection
DO0 Job owner's output
P0
P1
Program
Comment
[NO0]
001: TON
1,
1,
0
; Starts program NO1 as task 1
002: L
0
; Label definition
003: MOVA
0,
100
; Moves to P0 at speed 100
004: TIMR
100
; Delays for one second
005: MOVA
1,
100
; Moves to P1 at speed 100
006: TIMR
100
; Delays for one second
007: JMP
0,
0
; Returns to L0
Program
Comment
[NO1]
001: L
0
; Label definition
002: WAIT
0,
0
; Waits until the job is finished
003: DO
0,
1
; Issues the job start instruction
004: WAIT
0,
1
; Confirms that the job has started
005: DO
0,
0
; Turns off the job start signal
006: JMP
0,
1
; Returns to L0
Summary of Contents for ERCX Series
Page 2: ......
Page 8: ...vi MEMO ...
Page 60: ...3 36 MEMO ...
Page 90: ...5 20 MEMO ...
Page 168: ...9 16 MEMO ...
Page 232: ...12 10 MEMO ...
Page 248: ...14 4 MEMO ...
Page 249: ...15 1 15 SPECIFICATIONS Chapter 15 SPECIFICATIONS ...
Page 253: ...16 1 16 APPENDIX Chapter 16 APPENDIX ...
Page 259: ...MEMO ...