The G0 command can be configured to show as interpolated, dog-leg or Z
first / last.
G1 - Linear interpolation
The G1 command supports auto radius and auto chamfer. Including an R value
in a G01 block will create a radius that is tangent to the lines created by the
current block and the following block. Including a C value in a G01 block will
create a chamfer between the current block and the following block.
G2, G3 - Circular interpolation
The G2 and G3 arc commands support G17, G18 and G19 modes, I/J/K and R
specified center points, and helical interpolation. G2 Clockwise arc G3
Counterclockwise arc
G12 I - Clockwise circle mill
G13 I - Counterclockwise circle mill
G15 - Polar Coordinate system off
G16 - Polar Coordinate system command
G17 - XY plane selection
G18 - ZX plane selection
G19 - YZ plane selection
G28 - Return to machine zero
G34 X Y I J K - Mitsubishi Bolt circle cycle
G35 X Y I J K - Mitsubishi Holes on line at angle cycle
G36 X Y I J P K - Mitsubishi Holes on arc cycle
G37.1 X Y I P J K - Mitsubishi Grid pattern cycle
G50 - Coordinate Scaling off
G51 - Coordinate Scaling
G50.1 - Mirror Image off
G51.1 - Mirror Image on
G52 X Y Z - Local work shift
G53 - Position relative to machine coordinates
G54.1 P1 through P300 - Extended work offsets
G54 P1 through P300 Extended work offsets
G54 - Work offset 1
G55 - Work offset 2
G56 - Work offset 3
G57 - Work offset 4
G58 - Work offset 5
G59 - Work offset 6
G65 P - Custom macro call
G68 - Coordinate system rotation
G69 - Coordinate system rotation off
G70 X Y I J L - HAAS Bolt circle cycle
G71 X Y I J K L HAAS - Bolt Hole Arc cycle
G72 X Y I J L - HAAS Holes on line at angle cycle
G70 - G89 - Canned cycles
G80 - Canned cycle cancel
G90 - Absolute coordinate system
G91 - Incremental coordinate system
G92 - Coordinate system set
G98 - Canned cycle initial point return
G99 - Canned cycle R point return
M2, M30 - End of program
M87 - X axis Mirror ON - This M-Code is definable
M88 - Y axis Mirror ON - This M Code is definable
M89 - X&Y Mirror OFF - This M-Code is definable
M97 P - HAAS style subprogram call (P=Sequence number)
Multiple M98 subprogram call formats are supported:
M98 P L - P=Program number, L=Repeat count
M98 P K - P=Program number, K=Repeat count
M98 Pxxxxyyyy - xxxx=Repeat count, yyyy=Program number
M98 P H L - P=Program number, H=Block number, L=Repeat count
M98 O - O=block number
M99 P - Return from sub program
When specified in a subprogram, the M99 P value specifies the block number
to return to. When specified in the main program, this value causes execution
to jump to the specified block number.
Support for variable macros NCPlot will execute and backplot variable
macros in Fanuc Macro B format. This includes support for local variables 6
levels deep, common variables from #100 to #999, and a limited set of system
variables. This includes support for macro statements:
IF[exp]GOTO
IF[exp]THEN
NCPlot supports the use of nested IF statements:
IF[exp1]THEN
IF[exp2]THEN GOTO
WHILE[exp]DO
DO
END
NCPlot includes a macro debugging feature that allows you to step through a
variable macro while displaying the contents of the variables.