[SMB-66E]
- 59 -
0
゚
②
0
゚
②
0
゚
270336 pulses
(180
゚
)
②
3.4 Sample Programs
Sample programs and resultant actions are described.
1) Absolute dimension (G90), angle designation (G105) and time designation (G11)
Create an indexing program, using angle and time units at the absolute
user coordinate position defined with a home position offset amount
(parameter 3).
Program
Explanation
N1G90G105G11; ①Absolute, angle, time
N2A180F1.5; ②Travel to the 180° position in 1.5 sec.
M3M30; ③End of program
2) Full revolution absolute dimension (G90.1)
Do not rotate beyond 180° (shortest route travel).
Program
Explanation
N1G90.1G105G11; ①Full revolution absolute, angle, time
N2A90F1. 5; ②Travel to the 90° absolute coordinate
position in 1.5 sec. on the shortest route.
N3M30; ③End of program
3) Full revolution incremental dimension (G91.1)
Travel from the current position by an angle.
Program
Explanation
N1G91.1G105G11; ①Full revolution incremental, angle, time
N2A90F1; ②Travel from the current position clockwise
to the 90° position in 1 sec.
N3M30; ③End of program
4) Pulse designation (G104)
Designate the traveling amount in pulses.
Program Explanation
N1G90.1G104G11; ①Full revolution absolute, pulse
designation, time
N2A270336F2; ②Travel to the 270336-pulse (180°)
position in 2 sec.
N3M30; ③End of program
※
※※
※ The 180° travel with G90.1 (shortest route) causes counterclockwise rotation.
0
゚
②
゚
゚