Since it is cumbersome to send non-printable characters, some command tokens were modified.
Modified command token | Default command token | Command |
---|---|---|
Q | 0x18 | reset |
° | 0x90 | feed override reset: 100% |
: | 0x91 | feed override increase: +10% |
; | 0x92 | feed override decrease: -10% |
- Supported tokens: A B C D E H O Q U V W ; : / ( ´ § ° µ €
- Unsupported tokens: , . _ { } \ < > | ) = [ ] ` ^ " % & * # @
- Used tokens: F G I J K L M N P R S T X Y Z $
The servo signal resolution is reduced to 15 steps which are about 66 spindle-steps.
Examples:
CMD | Servo Output | Notes |
---|---|---|
S0 | signal disabled | servo remains inactive at last position |
S1 | minimum angular position | 1st servo-steps bin |
S66 | minimum angular position | 1st servo-steps bin |
S67 | 2nd angular step | 2nd servo-steps bin |
S133 | 2nd angular step | 2nd servo-steps bin |
S134 | 3rd angular step | 3rd servo-steps bin |
S934 | maximum angular position | last servo-steps bin |
S1000 | maximum angular position | last servo-steps bin |
S1001 | maximum angular position | last servo-steps bin |
Code | Description | Modal group |
---|---|---|
G10 | set tool table / set coordiante system | AXIS_COMMAND_NON_MODAL |
G28 | go to position | AXIS_COMMAND_NON_MODAL |
G28.1 | set position | AXIS_COMMAND_NON_MODAL |
G30 | go to position | AXIS_COMMAND_NON_MODAL |
G30.1 | set position | AXIS_COMMAND_NON_MODAL |
G92 | set coordinate system offset | AXIS_COMMAND_NON_MODAL |
G92.1 | turn off offset | AXIS_COMMAND_NON_MODAL |
G4 | dwell | MODAL_GROUP_G0 |
G53 | move in machine coordinates | MODAL_GROUP_G0 |
G0 | rapid move | AXIS_COMMAND_MOTION_MODE |
G1 | linear move | AXIS_COMMAND_MOTION_MODE |
G2 | clockwise arc move | AXIS_COMMAND_MOTION_MODE |
G3 | counterclockwise arc move | AXIS_COMMAND_MOTION_MODE |
G38 | straight probe | AXIS_COMMAND_MOTION_MODE |
G38.2 | straight probe toward workpiece, stop on contact, signal error if failure | AXIS_COMMAND_MOTION_MODE |
G38.3 | straight probe toward workpiece, stop on contact | AXIS_COMMAND_MOTION_MODE |
G38.4 | straight probe away from workpiece, stop on loss of contact, signal error if failure | AXIS_COMMAND_MOTION_MODE |
G38.5 | straight probe away from workpiece, stop on loss of contact | AXIS_COMMAND_MOTION_MODE |
G80 | cancel canned cycle | MODAL_GROUP_G1 |
G17 | xy plane select (default) | MODAL_GROUP_G2 |
G18 | zx plane select | MODAL_GROUP_G2 |
G19 | yz plane select | MODAL_GROUP_G2 |
G90 | G90 absolute distance mode | MODAL_GROUP_G3 |
G91 | incremental distance mode | MODAL_GROUP_G3 |
G93 | inverse time feed rate mode | MODAL_GROUP_G5 |
G94 | units per minue feed rate mode | MODAL_GROUP_G5 |
G20 | unit: inch | MODAL_GROUP_G6 |
G21 | unit: Millimeter | MODAL_GROUP_G6 |
G40 | turh cuttercompensation off | MODAL_GROUP_G7 |
G43 | tool length offset | MODAL_GROUP_G8 |
G49 | cancel tool length compensation | MODAL_GROUP_G8 |
G54 | select coordinate system 1 | MODAL_GROUP_G12 |
G55 | select coordinate system 2 | MODAL_GROUP_G12 |
G56 | select coordinate system 3 | MODAL_GROUP_G12 |
G57 | select coordinate system 4 | MODAL_GROUP_G12 |
G58 | select coordinate system 5 | MODAL_GROUP_G12 |
G59 | select coordinate system 6 | MODAL_GROUP_G12 |
G61 | exact path mode | MODAL_GROUP_G13 |
See also:
Code | Description | Modal group |
---|---|---|
M0 | pause program | MODAL_GROUP_M4 |
M1 | pause program | MODAL_GROUP_M4 |
M2 | end program | MODAL_GROUP_M4 |
M30 | change pallet shuttles and end program | MODAL_GROUP_M4 |
M3 | start spindle clockwise | MODAL_GROUP_M7 |
M4 | start spindle counterclockwise | MODAL_GROUP_M7 |
M5 | stop spindle | MODAL_GROUP_M7 |
M7 | mist coolant on (requires ENABLE_M7) | MODAL_GROUP_M8 |
M8 | flood coolant on | MODAL_GROUP_M8 |
M9 | both coolants off | MODAL_GROUP_M8 |
M56 | parking control override (requires ENABLE_PARKING_OVERRIDE_CONTROL) | MODAL_GROUP_M9 |
See also:
Examples:
- set spindle 0 speed to 100:
S100 $0
- move X to position 100:
X100
Letter | Description | Notes |
---|---|---|
I | X-Axis | move X to new position |
J | Y-Axis | move Y to new position |
K | Z-Axis | move Z to new position |
X | X-Axis | move X to new position |
Y | Y-Axis | move Y to new position |
Z | Z-Axis | move Z to new position |
L | ||
N | ||
P | ||
R | ||
S | spindle speed | set new speed |
T | tool number | set current tool |