8-
31
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 SRCP
Page 1: ...User s Manual ENGLISH E YAMAHA SINGLE AXIS ROBOT CONTROLLER E84 Ver 2 04 SRCP ...
Page 2: ......
Page 8: ...vi MEMO ...
Page 18: ...1 10 MEMO ...
Page 28: ...2 10 MEMO ...
Page 132: ...8 34 MEMO ...
Page 146: ...9 14 MEMO ...
Page 176: ...10 30 MEMO ...
Page 218: ...12 10 MEMO ...
Page 235: ...15 1 15 SPECIFICATIONS Chapter 15 SPECIFICATIONS ...
Page 240: ...MEMO 15 6 ...
Page 241: ...16 1 16 APPENDIX Chapter 16 APPENDIX ...
Page 245: ...MEMO ...