Yamaha ERCX Series User Manual page 142

Single-axis robot controller
Hide thumbs Also See for ERCX Series:
Table of Contents

Advertisement

8-5 Sample Programs
8
28
8-
8-5-3 Positioning 2 points and sending job commands to a PLC at
each position
P1
Job 1
Point
P1
Position at which job 1 is complete
P2
Position at which job 2 is complete
General-purpose input
DI1
Job 1 completion 1: Complete 0: Not complete
DI2
Job 2 completion 1: Complete 0: Not complete
General-purpose output
DO1
Job 1 command 1: Output
DO2
Job 2 command 1: Output
Program
[NO0]
001: DO
1,
002: DO
2,
003: L
1
004: MOVA
1,
005: DO
1,
006: WAIT
1,
007: DO
1,
008: MOVA
2,
009: DO
2,
010: WAIT
2,
011: DO
2,
012: JMP
1,
0: Canceled
0: Canceled
Comment
0
; Cancels job 1 command
0
; Cancels job 2 command
; Label definition
100
; Moves to P1
1
; Outputs job 1 command
1
; Waits until job 1 is complete
0
; Cancels job 1 command
100
; Moves to P2
1
; Outputs job 2 command
1
; Waits until job 2 is complete
0
; Cancels job 2 command
0
; Returns to L1
P2
Job 2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ercx-b1

Table of Contents