Yamaha DRCX User Manual page 175

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

Advertisement

8-5 Sample Programs
8
46
8-
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Program
[NO0]
001: MAT
1,
3,
002: MAT
5,
4,
003: C
1
004: D
1
005: L
0
006: CALL
1,
1
007: CALL
2,
1
008: JMP
0,
0
[NO1]
001: WAIT
0,
1
002: MSEL
0
003: MOVM
C,
100
004: CALL
3,
1
005: JMPC
1,
3
006: C+
007: JMP
2,
1
008: L
1
009: CALL
5,
1
010: C
1
011: L
2
[NO2]
001: WAIT
1,
1
002: MSEL
1
003: MOVM
D,
100
004: CALL
4,
1
005: JMPD
1,
20
006: D+
007: JMP
2,
2
008: L
1
009: CALL
6,
1
010: D
1
011: L
2
Comment
<<Main routine>>
; Defines 1×3 matrix (for supply pallet)
0
; Defines 5×4 matrix (for transfer pallet)
1
; Sets counter variable C to 1
; Sets counter variable D to 1
; Label definition
; Calls subroutine NO1
; Calls subroutine NO2
; Jumps to L0
<<Supply pallet routine>>
; Waits until supply pallet is set
; Selects matrix for feed pallet
; Moves to supply pallet
; PICK routine call
; Jumps to L1 if counter variable C is 3
; Counter variable C increment
; Jumps to L2
; Label definition
; Supply pallet eject routine call
; Initializes counter variable C to 1
; Label definition
<<Transfer pallet routine>>
; Waits until transfer pallet is set
; Selects transport pallet matrix
; Moves to transport pallet
; PLACE routine call
; Jumps to L1 if counter variable D is 20
; Counter variable D increment
; Jumps to L2
; Label definition
; Transfer pallet eject routine call
; Initializes counter variable D to 1
; Label definition

Advertisement

Table of Contents
loading

This manual is also suitable for:

Drcx2005

Table of Contents