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
Содержание SRCP30
Страница 1: ...User s Manual ENGLISH E E104 Ver 1 02 SRCP30 YAMAHA SINGLE AXIS ROBOT CONTROLLER MF100 ...
Страница 2: ......
Страница 8: ...vi MEMO ...
Страница 26: ...2 10 MEMO ...
Страница 130: ...8 34 MEMO ...
Страница 144: ...9 14 MEMO ...
Страница 174: ...10 30 MEMO ...
Страница 216: ...12 10 MEMO ...
Страница 232: ...14 4 MEMO ...
Страница 233: ...15 1 15 SPECIFICATIONS Chapter 15 SPECIFICATIONS ...
Страница 238: ...MEMO 15 6 ...
Страница 239: ...16 1 16 APPENDIX Chapter 16 APPENDIX ...