8-
32
8
ROBOT LANGUAGE
8-5 Sample Programs
8-5-8 Turning ON general-purpose outputs during robot
movement after a certain time has elapsed
Point
P0 Start
position
P1 Target
position
3 sec.
3 sec.
3 sec.
P0
P1
DO0=1 DO1=1 DO2=1
Program
Comment
[NO0]
001: L
0
; Label definition
002: MOVA
0,
100
; Moves to P0 at speed 100
003: DO
0,
0
; Turns DO0 off
004: DO
1,
0
; Turns DO1 off
005: DO
2,
0
; Turns DO2 off
006: TON
1,
1,
0
; Starts program NO1 as task 1
007: MOVA
1,
10
; Moves to P1 at speed 10
008: JMP
0,
0
; Returns to L0
Program
Comment
[NO1]
001: TIMR
300
; Delays for 3 seconds
002: DO
0,
1
; Turns DO0 on
003: TIMR
300
; Delays for 3 seconds
004: DO
1,
1
; Turns DO1 on
005: TIMR
300
; Delays for 3 seconds
006: DO
2,
1
; Turns DO2 on
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 ...