8-
33
8
ROBOT LANGUAGE
8-5 Sample Programs
8-5-9 Turning ON a general-purpose output during robot
movement when it has passed a specified position
Point
P0 Start
position
P1 Target
position
P10
Position at DO0=1
P11
Position at DO0=0
P0
P1
DO0=1
P10
P11
DO0=0
■
When P1 is nearer to the plus side than P0:
Program
Comment
[NO0]
001: L
0
; Label definition
002: MOVA
0,
100
; Moves to P0 at speed 100
003: TON
1,
1,
0
; Starts program NO1 as task 1
004: MOVA
1,
10
; Moves to P1 at speed 10
005: JMP
0,
0
; Returns to L0
Program
Comment
[NO1]
001: DO
0,
0
; Turns DO0 off
002: P
10
; Sets the point variable to 10
003: L
0
; Label definition
004: JMPP
0,
1
; Jumps to L0 when the robot does not reach P10
005: DO
0,
1
; Turns DO0 on
006: P
11
; Sets the point variable to 11
007: L
1
; Label definition
008: JMPP
1,
1
; Jumps to L1 when the robot does not reach P11
009: DO
0,
0
; Turns DO0 off
Содержание SRCP
Страница 1: ...User s Manual ENGLISH E YAMAHA SINGLE AXIS ROBOT CONTROLLER E84 Ver 2 04 SRCP ...
Страница 2: ......
Страница 8: ...vi MEMO ...
Страница 18: ...1 10 MEMO ...
Страница 28: ...2 10 MEMO ...
Страница 132: ...8 34 MEMO ...
Страница 146: ...9 14 MEMO ...
Страница 176: ...10 30 MEMO ...
Страница 218: ...12 10 MEMO ...
Страница 235: ...15 1 15 SPECIFICATIONS Chapter 15 SPECIFICATIONS ...
Страница 240: ...MEMO 15 6 ...
Страница 241: ...16 1 16 APPENDIX Chapter 16 APPENDIX ...
Страница 245: ...MEMO ...