Sample Programs; Moving Between Two Points; Moving At An Equal Pitch - Yamaha SRCP30 User Manual

Single-axis robot controller for mf100
Table of Contents

Advertisement

8-5 Sample Programs

8
24
8-
8-5
Sample Programs

8-5-1 Moving between two points

P1
Program
[NO0]
001: L
0
002: MOVA
1,
003: MOVA
2,
004: TIMR
100
005: JMP
0,

8-5-2 Moving at an equal pitch

P0
50mm
Point
P0
Start position
P1
Movement distance: 50mm
Program
[NO0]
001: L
0
002: MOVA
0,
003: MOVI
1,
004: MOVI
1,
005: MOVI
1,
006: MOVI
1,
007: MOVI
1,
008: JMP
0,
Comment
; Label definition
; Moves to P1
100
; Moves to P2
100
; Delays for one second
: Returns to L0
0
50mm
50mm
50mm
Comment
; Label definition
; Moves to P0
100
; Moves five times at a 50mm pitch
100
; Moves five times at a 50mm pitch
100
; Moves five times at a 50mm pitch
100
; Moves five times at a 50mm pitch
100
; Moves five times at a 50mm pitch
100
; Returns to L0
0
P2
50mm

Advertisement

Table of Contents
loading

Table of Contents