Positioning 2 Points And Sending Job Commands To A Plc At Each Position - Yamaha SRCP User Manual

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

Advertisement

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
; Cancels job 1 command
0
; Cancels job 2 command
0
; Label definition
; Moves to P1
100
; Outputs job 1 command
1
; Waits until job 1 is complete
1
; Cancels job 1 command
0
; Moves to P2
100
; Outputs job 2 command
1
; Waits until job 2 is complete
1
; Cancels job 2 command
0
; Returns to L1
0
8-5 Sample Programs
P2
Job 2
25
8-
8

Advertisement

Table of Contents
loading

Table of Contents