|
Program Function
File Details & Identifiers |
Axes
The axis identifiers are consistent with those used in machining on a lathe.
| Axis | Comments | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Traditional Cartesian Coordinate Axes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| X |
Perpendicular to the axis of the spindle
Parallel to the plane of the lathe's bed |
The object held in the lathe is rotated 90°; thusly, the top and bottom of the piece are aligned with the spindle. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Y |
Perpendicular to the axis of the spindle
Perpendicular to the plane of the lathe's bed |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Z |
Parallel to the axis of the spindle
Parallel to the plane of the lathe's bed |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Additional Axes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| A |
Rotation about the X axis. |
This would be used if a rotary table is implemented on a dome chuck.
The M3 or M4 stepper motor could be used for driving this. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| B | Rotation about the Y axis. |
This gets used with a rotary slide.
The M3 or M4 stepper motor could be used for driving this. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| C | Rotation about the Z axis, or the Spindle. | This gets used when turning the rosette at a different speed than the spindle, among other things. This is also used as a short descriptor for the axis controlled by the M3 stepper motor. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Other Axes | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| D | Not truly an axis per se | In version 3.0, this is used as a short descriptor for the axis controlled by the M4 stepper motor. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
File Formatting
In all cases, the # symbol below is used as a multiplier or actual length.
General Purpose
| Axis | Identifier | Identifier Usage | Syntax Notes | Comments |
| n/a | ; | Comment |
|
There is no limit on the number of comment lines in a file. |
| n/a | E | End of the instructions |
|
All files must have this as the last line in the file. |
| n/a | P# | Pause in seconds. |
|
This is often used to allow time for manually moving the cutter in or out. |
Segment Counts
| Axis | Identifier | Identifier Usage | Syntax Notes | Comments |
| n/a | WA# | Set the axial size of the pattern. |
|
This identifier is required for all patterns. Prior to v21, this was A#. |
| Sp | WS# | Set the radial size of the pattern. |
|
This identifier is required for all patterns. Prior to v21, this was S#. |
| M3 | WB# | Sets how many M3 radial segments in the file. |
|
When M3 is driving a rotary table holding the workpiece and it is set to Radial on the motor page, WB should be used to set the segment length, similar to WS for the spindle. When M3 is driving a rotary table holding a sliderest (spherical apparatus), WB should not be used. WD should also not be used when M4 is set to Linear. |
| M4 | WD# | Sets how many M4 radial segments in the file. |
|
When M4 is driving a rotary table holding the workpiece and it is set to Radial on the motor page, WD should be used to set the segment length, similar to WS for the spindle. When M4 is driving a rotary table holding a sliderest (spherical apparatus), WD should not be used. WD should also not be used when M4 is set to Linear. |
Spindle Moves
| Axis | Identifier | Identifier Usage | Syntax Notes | Comments |
| Sp |
S#
S-# |
Rotate the spindle. |
Prior to v21, this was U# or D#.
|
|
| C |
C#
C-# |
Move about the C axis. |
|
The C axis is the same as the spindle; i.e., a rotation about the Z axis. |
Enable or Disable Stepper Motors
| Axis | Identifier | Identifier Usage | Syntax Notes | Comments |
| Sp | KS# | Enable / disable the spindle. |
|
Steppers are automatically enabled when executing a command, so it is not necessary to enable one after disabling it. |
| X | KX# | Enable / disable the X Axis. | ||
| Z | KZ# | Enable / disable the Z Axis. | ||
| M3 | KB# | Enable / disable the M3 Axis. | ||
| n/a | KA# | Enable / disable the current Program Page Axis. |
Axis Moves
Based on Sync Screen Selection
| Axis | Identifier | Identifier Usage | Syntax Notes | Comments | ||||||||
| n/a |
A#
A-# |
Move the cutter along the axis selected on the Grk screen. |
|
I and O are opposite moves from each other. Think of them as "In" or "Out". They are used to move the cutter into or away from the workpiece to allow for moving to a new position without cutting. Prior to v21, A# was R# or L#. |
||||||||
| n/a | I# |
Move the cutter into the workpiece.
This is movement along the opposite axis from what was selected on the Program screen. |
|
|||||||||
| n/a | O# |
Move the cutter out from (away from) the workpiece.
This is movement along the opposite axis from what was selected on the Program screen. |
|
Axis Moves
Hardcoded Axis Selection
| Axis | Identifier | Identifier Usage | Syntax Notes | Comments | |||||
| X |
X#
X-# |
Move the cutter along the X axis. |
|
These hardcoded axis selections are used to move the cutter along the identified axis, regardless of what is selected on the Grk screen
|
|||||
| Z |
Z#
Z-# |
Move the cutter along the Z axis. |
|
||||||
|
M3
or B |
B#
B-# |
Move the cutter along the M3 axis. |
|
||||||
| M4 |
D#
D-# |
Move the cutter along the M4 axis. |
|
Coordinated Axis & Spindle Moves
| Axis | Identifier | Identifier Usage | Syntax Notes | Comments | ||||||||||||
| n/a |
H#
H-# V# V-# |
Specifies a coordinated move with the spindle and the active axis. |
|
|
||||||||||||
| n/a | Ta1#a2# | Specifies a coordinated move between two axes. |
|
This allows Cartesian movements when the M3 or M4 are set to Linear, and Polar movements when they are set to Radial. This works similar to the HV command except you can specify which two axes(motors) you want to move. |
Page Call: Index Page
Settings on the page are used.
Page Call: Move Page
Settings on the page are used.
Axes should be set the same on the Program page as they are on the called page.
I and O will usually be used in conjunction with the page moves. They take the axis setting on the Program page and the page moves use the settings on that page.
Page Call: MultiSync Page
Settings on the page are used.
Axes should be set the same on the Program page as they are on the called page.
I and O will usually be used in conjunction with the page moves. They take the axis setting on the Program page and the page moves use the settings on that page.
Page Call: Recip Page
Settings on the page are used.
Axes should be set the same on the Program page as they are on the called page.
I and O will usually be used in conjunction with the page moves. They take the axis setting on the Program page and the page moves use the settings on that page.
Page Call: Rose Page
Settings on the page are used.
Axes should be set the same on the Program page as they are on the called page.
I and O will usually be used in conjunction with the page moves. They take the axis setting on the Program page and the page moves use the settings on that page.
Page Call: Sync Page
Settings on the page are used.
Axes should be set the same on the Program page as they are on the called page.
I and O will usually be used in conjunction with the page moves. They take the axis setting on the Program page and the page moves use the settings on that page.
Page Call: M3 & M4 Parms
The example file below ...
; Pattern 2a
... produces the movements seen below.
; Helical Path
Axis
Identifier
Identifier Usage
Syntax Notes
Comments
Sp
NN#
Index the spindle using settings on the Index page, using settings on that page.
#
Resulting Action
1
moves CW
-1
moves CCW
NT#
Indexing approach: divisions of a circle or degrees.
#
Resulting Action
1
Divisions
2
Degrees
NJ#
Index ID
Axis
Identifier
Identifier Usage
Syntax Notes
Comments
n/a
FF#
Moves an axis using settings on the Move page, using settings on that page.
#
Resulting Action
-1
Moves towards the headstock
1
Moves away from the headstock
n/a
FD#
Move Distance
Axis
Identifier
Identifier Usage
Syntax Notes
Comments
n/a
QQ
Execute the moves specified on the MultiSync page, using settings on that page.
X
QA
X target (floating point)
QB
X waves (floating point)
QC
X direction
#
Resulting Action
2
Right arrow
3
Left arrow
QD
X checked
#
Resulting Action
1
Selected
0
Unselected
Z
QE
Z target (floating point)
QF
Z waves (floating point)
QG
Z direction
#
Resulting Action
2
Right arrow
3
Left arrow
QH
Z checked
#
Resulting Action
1
Selected
0
Unselected
M3
QI
M3 target (floating point)
QJ
M3 waves (floating point)
QK
M3 direction
#
Resulting Action
2
Right arrow or CW
3
Left arrow or CCW
QL
M3 checked
#
Resulting Action
1
Selected
0
Unselected
M4
QM
M4 target (floating point)
QN
M4 waves (floating point)
QO
M4 direction
#
Resulting Action
2
Right arrow or CW
3
Left arrow or CCW
QP
M4 checked
#
Resulting Action
1
Selected
0
Unselected
Sp
QS
Spindle target (floating point)
QT
Spindle waves (floating point)
QU
Spindle direction
#
Resulting Action
2
CW
3
CCW
QV
Spindle checked
#
Resulting Action
1
Selected
0
Unselected
Axis
Identifier
Identifier Usage
Syntax Notes
Comments
n/a
VV#
Execute the moves specified on the Recip page, using settings on that page.
#
Resulting Action
1
moves away from the headstock
-1
moves towards from the headstock
n/a
VT#
Reciprocation type.
#
Resulting Action
0
Reciprocate radially
1
Reciprocate axially
n/a
VK#
Reciprocation style
n/a
VW#
Reciprocation Waves
n/a
VS#
Reciprocation Spindle
n/a
VA#
Reciprocation Axis
Axis
Identifier
Identifier Usage
Syntax Notes
Comments
n/a
RR#
Execute the moves specified on the Rose page, using settings on that page.
#
Resulting Action
1
moves away from the headstock
-1
moves towards from the headstock
n/a
RN
Set n (floating point)
n/a
RD
Set d (floating point)
n/a
RS
Set spindle revolutions (floating point)
n/a
RA
Set axis distance (floating point)
Axis
Identifier
Identifier Usage
Syntax Notes
Comments
n/a
GG#
Execute the moves specified on the Sync page, using settings on that page.
#
Resulting Action
1
moves away from the headstock
-1
moves towards from the headstock
n/a
GH#
Helix type
#
Resulting Action
0
Used for a left helix
1
Used for a right helix
n/a
GD#
Distance
n/a
GR#
Revolutions
Axis
Identifier
Identifier Usage
Syntax Notes
Comments
M3
JR#
Set the value for the M3 radius.
M4
LR#
Set the value for the M4 radius.
; Set vertical segments to 3
WS3
; Set axial segments to 2
WA2
; Move the pattern 2 segments away from the spindle
; (move right)
A2
; Move the pattern 2 segments down
S-2
; Move the pattern 1 segment towards the spindle
; (move left)
A-1
; Move the pattern 1 segment up
S1
; Move the pattern 1 segment towards the spindle
; (move left)
A-1
; Move the pattern 2 segments down
S-2
; End the pattern
E

; This pattern returns on same path to compensate for backlash.
; Creates helical path on Z axis or spiral on X axis.
; Cutter must be set to cut depth before starting.
WS1
WA1
;Do the path.
GG-1
GG1
;Move cutter away from workpiece.
O1
;Index to next start position.
NN1
;Move cutter into the workpiece
I1
E