Turning On A General-Purpose Output During Robot Movement When It Has Passed A Specified Position - Yamaha DRCX User Manual

2-axis robot controller
Hide thumbs Also See for DRCX:
Table of Contents

Advertisement

8-5 Sample Programs
8
58
8-
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
8-5-23 Turning ON a general-purpose output during robot
movement when it has passed a specified position
P0
Point
P0
P1
P10
P11
■ When P1 is nearer to the plus side than P0 on both axes:
Program
[NO0]
001: L
0
002: MOVA
0,
003: TON
1,
004: MOVA
1,
005: JMP
0,
Program
[NO1]
001: DO
0,
002: P
10
003: L
0
004: JMPP
0,
005: DO
0,
006: P
11
007: L
1
008: JMPP
1,
009: DO
0,
P10
DO0=1
Start position
Target position
Position at DO0=1
Position at DO0=0
Comment
; Label definition
; Moves to P0 at speed 100
100
0 ; Starts program NO1 as task 1
1,
; Moves to P1 at speed 10
10
; Returns to L0
0
Comment
; Turns DO0 off
0
; Sets the point variable to 10
; Label definition
; Jumps to L0 when the robot does not reach P10
11
; Turns DO0 on
1
; Sets the point variable to 11
; Label definition
; Jumps to L1 when the robot does not reach P11
11
; Turns DO0 off
0
P1
P11
DO0=0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Drcx2005

Table of Contents