Yamaha DRCX User Manual page 177

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

Advertisement

8-5 Sample Programs
8
48
8-
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
[NO1]
001: WAIT
4,
1
002: MSEL
0
003: CSEL
0
004: MOVM
C,
100
005: CALL
6,
1
006: JMPC
1,
9
007: C+
008: JMP
2,
1
009: L
1
010: CALL
7,
1
011: C
1
012: L
2
[NO2]
001: WAIT
5,
1
002: MSEL
1
003: CSEL
1
004: MOVM
C,
100
005: CALL
6,
1
006: JMPC
1,
12
007: C+
008: JMP
2,
2
009: L
1
010: CALL
8,
1
011: C
1
012: L
2
[NO3]
001: WAIT
6,
1
002: MSEL
2
003: CSEL
2
004: MOVM
C,
100
005: CALL
6,
1
006: JMPC
1,
16
007: C+
008: JMP
2,
3
009: L
1
010: CALL
9,
1
011: C
1
012: L
2
<<Transfer routine for workpiece A>>
; Waits until workpiece A pallet is set
; Selects matrix 0
; Selects counter array variable C[0]
; Moves to workpiece A pallet
; PLACE routine call
; Jumps to L1 if C[0] is 9
; Counter array variable C[0] increment
; Jumps to L2
; Label definition
; Eject routine call for workpiece A pallet
; Initializes counter array variable C[0] to 1
; Label definition
<<Transfer routine for workpiece B>>
; Waits until workpiece B pallet is set
; Selects matrix 1
; Selects counter array variable C[1]
; Moves to workpiece B pallet
; PLACE routine call
; Jumps to L1 if C[1] is 12
; Counter array variable C[1] increment
; Jumps to L2
; Label definition
; Eject routine call for workpiece B pallet
; Initializes counter array variable C[1] to 1
; Label definition
<<Transfer routine for workpiece C>>
; Waits until workpiece C pallet is set
; Selects matrix 2
; Selects counter array variable C[2]
; Moves to workpiece C pallet
; PLACE routine call
; Jumps to L1 if C[2] is 16
; Counter array variable C[2] increment
; Jumps to L2
; Label definition
; Eject routine call for workpiece C pallet
; Initializes counter array variable C[2] to 1
; Label definition

Advertisement

Table of Contents
loading

This manual is also suitable for:

Drcx2005

Table of Contents