Machine Codes

Machine Attributes - Advanced Driver Settings - Machine Codes

Machine Codes

Rapid Move

This is the G-code used to output 'fast' tool up moves.

Linear Move

This is the G-code used to output straight tool down moves.

CW Arc

This is the G-code used to output clockwise arcs.

CCW Arc

This is the G-code used to output counter-clockwise arcs.

Number of Digits

Enter the number of digits required to output a G-code. If a 1 is entered in the Linear Move option and the number of digits is set to 1, a G1 code is output.  If the number of digits is set to 2, a G01 is output.

Replace Rapid Move with Linear Move

For controllers where it is not recommended to perform a G0 rapid-move operation, it can be replaced with a standard move at a given feedrate. The feedrate should be entered in the Feedrate String box.

Feedrate String

Enter the feedrate used to control the speed of a rapid move when replaced with a linear move code.

Replace Complete String

Normally, the feedrate string is added after a G1 command. If this option is selected then the G1 command is not output.

Interpolation Commands

Linear

The linear interpolation command will be output before the geometry for a line. This option is only applicable when the Custom Driver is selected on the General page of the Plotter Machine.

Circular

The circular interpolation command will be output before the geometry for an arc. This option is only applicable when the Custom Driver is selected on the General page of the Plotter Machine.

Modal Options

Modal XY Values

Some controllers allow you to suppress the X or Y part of a set of coordinates if it has the same value as in the previous set of coordinates. As an example for absolute coordinates, the normal output for a rectangle would be of the form:

G0X0Y0
G1X50Y0
G1X50Y100
G1X0Y100
G1X0Y0

 and with the modal option selected, the output would be of the form:

G0X0Y0
G1X50
G1Y100
G1X0
G1Y0

Modal Linear, CW, CCW Moves

This option suppresses a Linear Move, CW Arc or CCW Arc code being output at the beginning of every line. The following example shows how the rectangle would be output with this option selected:

G0X0Y0
G1X50
Y100
X0
Y0

Modal feedrate value

The feedrate command will only be output if the value is different to last time if this option is selected.

Modal interpolation commands

The interpolation commands described above will only be output when changing from a line to an arc and vice versa. This option is only applicable when the Custom Driver is selected on the General page of the Plotter Machine.

Macro Substitutions

These are used when the supplied command (such as HM900 or HM901) represents a macro call on the local controller where that function is executed with the supplied value.

G0A Replacement

Switch this option on and enter a string to be used in place of the normal command for setting a tool angle. For example, if you enter the string HM900 then your output would be something like HM900 90.00 instead of G0 C90.0, where a tool angle needs to be set to 90 degrees.

G1Z Replacement

Switch this option on and enter a string to be used in place of the normal command for setting a tool/channel depth. For example, if you enter the string HM901 then your output would be something like HM901 0.903 instead of G1 Z0.903, where the tool/channel depth needs to be set to 0.903mm.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.

You may like to read -