System information

SECTION SEVEN - SAMPLE PROGRAMS
Sample 7
This sample program uses the rotary axis.
The "A" axis is programmed in decimal degrees in XXX.XXX format and performs linear
interpolation with the X, Y, and Z axes.
The feedrate for the rotary axis is specified in degrees per minute divided by 10.
Example: G1 A90 F18.0
In the above example, A will feed to 90° at a rate of 180 DPM (degrees per minute).
Example of Rotary Axis Programming Sample 7
03119 A axis moves - Cut 4 helical slots
G20 G90
N1 G0 Z.1 Position Z above the work piece
N2 X0 Y0 A0 Position X, Y, and A to the start point
N3 G1 F20 Z-.1 Feed Z to depth
N4 F15 X-5 A90 XA interpolation move
N5 G0 Z.1 Position Z above the work piece
N6 X0 Position X back to the start point
N7 G1 F20 Z-.1 Second slot
N9 G0 Z.1
N15 G1 F20 Z-.1 Fourth slot
N8 F15 X-5 A180
N10 X0
N11 G1 F20 Z-.1 Third slot
N12 F15 X-5 A270
N13 G0 Z.1
N14 X0
N16 F15 X-5 A360
N17 G0 Z.1
N18 X0
(End of 03119)
404