Reference Manual

Turbo PMAC/PMAC2 Software Reference
Turbo PMAC Program Command Specification 435
Note:
In a feedrate-specified move, if the move time for any non-feedrate axis, computed
as axis distance divided by Isx86, is greater than the move time for the feedrate
axes, computed as the vector distance divided by the feedrate, Turbo PMAC will
use the move time for the non-feedrate axis instead.
The FRAX command without arguments causes all axes in the coordinate system to be feedrate axes in
subsequent move commands. The FRAX command with arguments causes the specified axes to be
feedrate axes, and all axes not specified to be non-feedrate axes, in subsequent move commands.
If no motion program buffer is open when this command is sent to Turbo PMAC, it will be executed as an
on-line coordinate system command.
Examples:
For a three-axis cartesian system scaled in millimeters:
FRAX(X,Y)
INC
X30 Y40 Z10 F100
Vector distance is SQRT(30
2
+ 40
2
) = 50 mm. At a speed of 100 mm/sec, move time (unblended) is 0.5
sec. X-axis speed is 30/0.5 = 60 mm/sec; Y-axis speed is 40/0.5 = 80 mm/sec; Z-axis speed is 10/0.5 =
20 mm/sec.
Z20
Vector distance is SQRT(0
2
+0
2
) = 0 mm. With Isx86 = 50 (mm/sec), Z-axis speed is 50 mm/sec, move
time (unblended) is 0.4 sec.
FRAX(X,Y,Z)
INC
X-30 Y-40 Z120 F65
Vector distance is SQRT(-30
2
+ -40
2
+120
2
) = 130 mm. Move time is 130/65 = 2.0 sec. X-axis speed is
30/2.0 = 15 mm/sec; Y-axis speed is 40/2.0 = 20 mm/sec; Z-axis speed is 120/2.0 = 60 mm/sec.
See Also:
I-variables Isx86 Isx87, Isx88, Isx89, Isx90
On-line command FRAX, NOFRAX
Program commands F, NOFRAX, LINEAR, CIRCLE, {axis}{data}.
G{data}
Function: Preparatory Code (G-Code)
Type: Motion program
Syntax: G{data}
where:
{data} is a floating-point constant or expression in the range 0.000 to 999.999, specifying the
program number and the line label to jump to
Turbo PMAC interprets this statement as a CALL 10n0.({data’}*1000) command, where n is the
hundreds’digit of {data}, and {data’} is the value of {data} without the hundred’s digit (modulo
100 in mathematical terms). That is, this statement causes a jump (with return) to motion program 10n0,
and the specified line label. (Usually, programs 10n0 are used to implement the preparatory codes as the
system designer sees fit.) The value of {data’} can be from 0.0 to 99.999, corresponding to line labels
N0 to N99999.
This structure permits the implementation of customizable G-Code routines for machine-tool style
applications by the writing of subroutines in motion programs 10n0. Arguments can be passed to these