This is a typical format section in a postprocessor.
# --------------------------------------------------------------------------
#
Motion NC output
#
--------------------------------------------------------------------------
#The
variables for absolute output are xabs, yabs, zabs.
#The
variables for incremental output are xinc, yinc, zinc.
#They
are found from the variables xa, ya, za.
#To
prevent disturbing xa, ya, za they are used to calculate the output
#variables
with multipliers.
fmt
N 4 n
#Sequence number
fmt
X 1 xabs #X position
output
fmt
Y 1 yabs #Y position
output
fmt
Z 1 zabs #Z position
output
fmt
I 3 iout
#Arc center description in X
fmt
J 3 jout
#Arc center description in Y
fmt
K 3 kout #Arc
center description in Z
fmt
T 4 t
#Tool No
fmt
T 4 first_tool #First Tool Used
fmt
T 4 next_tool #Next Tool Used
fmt
D 4 tloffno #Diameter
Offset No
fmt
H 4 tlngno #Length
Offset No
fmt
G 4 g_wcs #WCS G
address (G54 - G59)
fmt
P 4 p_wcs #WCS P
address (G54.1 & up)
fmt
S 4 speed #Spindle
Speed
fmt
M 4 gear #Gear
range
fmt
R 1 arcrad #Arc Radius
fmt
Q 2 peck1 #First peck increment
(positive)
fmt
R 2 refht #Reference
height
Note: if more than one character
is required for the address,
they must be in quotes (
" " ) .
fmt
"TOOL - " 5 tnote
# Note format
fmt
" DIA. - " 1 tldia
# Note format
Press the "Back" button on
your browser to continue.