Yamaha DRCX User Manual page 179

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

Advertisement

8-5 Sample Programs
8
50
8-
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Program
[NO0]
001: MAT
6,
4,
002: MAT
3,
4,
003: MAT
3,
4,
004: C
1
005: D
1
006: L
0
007: MSEL
0
008: MOVM
C,
100
009: CALL
1,
1
010: MSEL
1
011: MOVM
D,
100
012: CALL
2,
1
013: JMPD
1,
12
014: C+
015: D+
016: JMP
0,
0
017: L
1
018: C+
019: D
1
020: L
2
021: MSEL
0
022: MOVM
C,
100
023: CALL
1,
1
024: MSEL
2
025: MOVM
D,
100
026: CALL
2,
1
027: JMPD
3,
12
028: C+
029: D+
030: JMP
2,
0
031: L
3
Comment
; Defines 6×4 matrix (for supply pallet)
0
; Defines 3×4 matrix (for small pallet 1)
1
; Defines 3×4 matrix (for small pallet 2)
2
; Sets counter variable C to 1
; Sets counter variable D to 1
; Label definition
; Selects matrix for feed pallet
; Moves to supply pallet
; PICK routine call
; Selects matrix for small pallet 1
; Moves to small pallet 1
; PLACE routine call
; Jumps to L1 if counter variable D is 12
; Counter variable C increment
; Counter variable D increment
; Jumps to L0
; Label definition
; Counter variable C increment
; Sets counter variable D to 1
; Label definition
; Selects matrix for supply pallet
; Moves to supply pallet
; PICK routine call
; Selects matrix for small pallet 2
; Moves to small pallet 2
; PLACE routine call
; Jumps to L3 if counter variable D is 12
; Counter variable C increment
; Counter variable D increment
; Jumps to L2
; Label definition

Advertisement

Table of Contents
loading

This manual is also suitable for:

Drcx2005

Table of Contents