G-CODES FOR DELTA X S V5¶
G0, G1 - Linear Movement¶
Descriptions¶
The G0 and G1 commands add a linear MOVE to the queue to be performed after all previous moves are completed.
Set F (feed rate), A (acceleration), J (jerk), S (start velocity), and E (end velocity) once. Subsequent movement commands use these settings until changed; motion parameters omitted from a command keep their current settings.
Usage¶
G1 [X<pos>] [Y<pos>] [Z<pos>] [W<angle>] [U<angle>] [V<angle>]
[F<val>] [A<val>] [J<val>] [S<val>] [E<val>]
Parameters¶
| Parameter | Description |
|---|---|
X[pos] | (mm) A coordinate on the X-axis. |
Y[pos] | (mm) A coordinate on the Y-axis. |
Z[pos] | (mm) A coordinate on the Z-axis. |
W[angle] | (unit) Axis 4 position. |
U[angle] | (unit) Axis 5 position. |
V[angle] | (unit) Axis 6 position. |
F[val] | (mm/s) The maximum movement rate of the move between the start and endpoint. The feedrate set here applies to subsequent moves that omit this parameter. |
A[val] | (mm/s2) Acceleration of the motion. |
J[val] | (mm/s3) Jerk of the motion. |
S[val] | (mm/s) Begin velocity. |
E[val] | (mm/s) Finish velocity. |
For W/U/V, a unit is a degree for a rotary axis or a millimeter for a linear axis, according to its steps-per-unit configuration.
Example¶
G01 F1500 A15000 J550000 S100 E100 ; Set the feed rate to 1500 mm/s, acceleration to 15000 mm/s², jerk to 550000 mm/s³, start velocity to 100 mm/s, and end velocity to 100 mm/s.
G01 X0 Y0 Z-750 ; Move to the absolute position (X0, Y0, Z-750).
G01 X50 ; Move to X = 50 mm.
G01 W90 ; Rotate to 90° on the 4-axis
G2, G3 - Controlled Arc Movement¶
Descriptions¶
G2 adds a clockwise arc move to the planner; G3 adds a counter-clockwise arc. The arc runs in the XY plane from the current position to the specified X/Y endpoint, keeping Z unchanged. I and J locate the center relative to the arc’s starting point.
Usage¶
G02 I<offset> J<offset> [X<pos>] [Y<pos>] [W<angle>] [U<angle>] [V<angle>]
[F<val>] [A<val>] [S<val>] [E<val>]
Use G03 for a counter-clockwise arc. Always include both I and J, even when one offset is zero. In these commands, J is the Y center offset; the previously configured jerk remains in use.
Parameters¶
| Parameter | Description |
|---|---|
I[offset] | (mm) Required X offset from the starting point to the arc center. |
J[offset] | (mm) Required Y offset from the starting point to the arc center. |
X[pos] | (mm) A coordinate on the X-axis. |
Y[pos] | (mm) A coordinate on the Y-axis. |
W[angle] | , U[angle], V[angle]:(unit) Axis 4, 5, and 6 positions, using the configured units for each axis. |
F[val] | (mm/s) The maximum movement rate of the move between the start and endpoint. The feedrate set here applies to subsequent moves that omit this parameter. |
A[val] | (mm/s2) Acceleration of the motion. |
S[val] | (mm/s) Begin velocity. |
E[val] | (mm/s) Finish velocity. |
Example¶
G28 ; Home all axes.
G90 ; Use absolute positioning.
G01 X50 Y0 Z-750 F200 ; Move to the arc start at (X50, Y0, Z-750).
G02 X0 Y-50 I-50 J0 F200 ; Clockwise 90° arc around (X0, Y0), radius 50 mm.
G03 X50 Y0 I0 J50 F200 ; Counter-clockwise 90° arc back to (X50, Y0).
Both arcs keep Z at -750 mm. The X/Y endpoints are absolute positions; I/J are offsets from each arc’s starting point to the center at (X0, Y0).
G4 - Dwell/Delay¶
Descriptions¶
Pause the robot for a period of time.
Usage¶
G4 P<value>
Parameters¶
| Parameter | Description |
|---|---|
P[value] | delay in milliseconds. |
Example¶
G01 X0 Y0 Z-750 F1500 A15000 J550000 S100 E100
G4 P500 ;delay 500ms
G01 X50
G6 - Theta angle control¶
Descriptions¶
Specify the target Theta 1, 2, and 3 angles instead of Cartesian endpoint coordinates. Axis 6 is selected with R in this command.
Usage¶
G6 [X<angle>] [Y<angle>] [Z<angle>] [W<pos>] [U<pos>] [R<pos>]
[F<val>] [A<val>] [J<val>] [S<val>] [E<val>]
Parameters¶
| Parameter | Description |
|---|---|
X[angle] | (degree) The value of the Theta 1 angle. |
Y[angle] | (degree) The value of the Theta 2 angle. |
Z[angle] | (degree) The value of the Theta 3 angle. |
W[pos] | (unit) Axis 4 position. |
U[pos] | (unit) Axis 5 position. |
R[pos] | (unit) Axis 6 position. |
F[val] | (mm/s) Cartesian feed rate. |
A[val] | (mm/s²) Cartesian acceleration. |
J[val] | (mm/s³) Cartesian jerk. |
S[val] | (mm/s) Start velocity. |
E[val] | (mm/s) End velocity. |
W/U/R use the configured units for their axes: degrees for rotary axes or millimeters for linear axes. Omitted F/A/J/S/E values keep their current motion settings, which also apply to subsequent moves until changed.
Example¶
G90 ; Use absolute positioning.
G6 X20 Y0 Z0 F200 ; Move to Theta 1 = 20°, Theta 2 = 0°, Theta 3 = 0° at 200 mm/s.
G28 - Homing¶
Descriptions¶
Auto-home all axes, moving them towards their endstops until triggered.
Usage¶
G28
G90 - Absolute Movement Mode¶
Descriptions¶
In absolute mode, all coordinates given in G-code are interpreted as positions in the logical coordinate space.
Usage¶
G90
G91 - Relative Movement Mode¶
Descriptions¶
Set relative position mode. In this mode, all coordinates are interpreted as relative to the last position.
Usage¶
G91
G93 - Get Current Position¶
Descriptions¶
Read the current Cartesian position and the positions of enabled auxiliary axes.
Usage¶
G93
Feedback¶
The response begins with <xpos>,<ypos>,<zpos> in millimeters. Positions of enabled W, U, and V axes follow in that order, using each axis’s configured units. Disabled axes are omitted.
Values have two decimal places. Positive values have no leading + sign or zero padding.
Example¶
G93 ; Read the current position.
Example response with auxiliary axes disabled:
0.00,0.00,-750.00
Example response with only axis W enabled, at 90°:
0.00,0.00,-750.00,90.00
M03, M04 - Set Digital Output / PWM¶
Descriptions¶
Set digital output states or PWM values. M03 uses 8-bit PWM values; M04 uses 16-bit PWM values. Both commands can set digital outputs with D.
Usage¶
M03 D<pin> W<state>
M04 D<pin> W<state>
M03 P<pin> W<value>
M04 P<pin> W<value>
Parameters¶
| Parameter | Values and function |
|---|---|
D<pin> |
Digital output index: 0–7. Use W1 to turn it on or W0 to turn it off. |
P<pin> |
PWM output index: 0–7. |
W<value> with M03 P... |
8-bit PWM value: 0–255. |
W<value> with M04 P... |
16-bit PWM value: 0–65535. |
Always include W, including for digital outputs. Several outputs can be selected on one line, such as M03 D0 D1 W1. D and P select digital or PWM control of the output with that index.
Example¶
M03 D0 W1 ; Turn on digital output D0.
M03 D1 D2 W1 ; Turn on digital outputs D1 and D2.
M03 P3 W128 ; Set PWM output P3 to 128 on the 8-bit scale (0–255).
M04 P4 W32768 ; Set PWM output P4 to 32768 on the 16-bit scale (0–65535).
M03 D0 W0 ; Turn off digital output D0.
Each command returns Ok.
M05 - Turn Off Digital Output / PWM¶
Descriptions¶
Turn off selected digital outputs or set selected PWM outputs to zero.
Usage¶
M05 D<pin>
M05 P<pin>
Parameters¶
| Parameter | Values and function |
|---|---|
D<pin> |
Digital output index: 0–7. Set the selected output to OFF. |
P<pin> |
PWM output index: 0–7. Set the selected PWM value to zero. |
Several outputs can be selected on one line. Specify at least one D or P output; a bare M05 does not select all outputs.
Example¶
M03 D0 W1 ; Turn on digital output D0.
M05 D0 ; Turn off digital output D0.
M03 P1 W128 ; Set PWM output P1 to 128 on the 8-bit scale.
M05 P1 ; Set PWM output P1 to zero.
M05 D2 D3 P4 ; Turn off D2 and D3, and set PWM output P4 to zero.
Each command returns Ok.
M07 - Read Input Signals.¶
Descriptions¶
Read the current state of selected digital inputs or the raw ADC values of selected analog inputs. Several digital and analog channels can be requested on one line.
Usage¶
M07 I<pin>
M07 A<pin>
M07 I<digital_pin> A<analog_pin>
Parameters¶
| Parameter | Values and function |
|---|---|
I<pin> |
Digital input index: 0–5. |
A<pin> |
Analog input index: 0 or 1. |
Feedback¶
| Response | Meaning |
|---|---|
I<pin> V<value> |
Digital input state: 0 or 1. |
A<pin> V<value> |
Raw 12-bit ADC value: 0–4095. |
One response is returned per selected input when the I/O board replies. Specify at least one input from the ranges above.
Example¶
M07 I0 I3 A1 ; Read digital inputs I0 and I3, and analog input A1.
Example responses; values depend on the connected signals:
I0 V1
I3 V0
A1 V2478
M08 - Read Input Signals Automatically.¶
Descriptions¶
Configure automatic input reports. Digital inputs report state changes; analog inputs report sampled values at the requested interval.
Usage¶
M08 I<pin> [B<enable>] [P<port>]
M08 A<pin> [C<period_us>] [P<port>]
Parameters¶
| Parameter | Values and function |
|---|---|
I<pin> |
Digital input index: 0–5. Several inputs can be selected on one line. |
B<enable> |
Digital reports: 1 enables reporting; 0 disables it. Default: 1 when omitted. |
A<pin> |
Analog input index: 0 or 1. Both channels can be selected on one line. |
C<period_us> |
Requested analog report period in microseconds. Default: 500000 (500 ms) when omitted. The I/O-board firmware determines the supported minimum period and the value used to disable analog reports. |
P<port> |
Report destination: 0 = USB0, 1 = RS232, 2 = RS485, 3 = USB1. |
The startup report destination is USB0. Open the selected serial port before requesting reports on it. RS485 (P2) requires full-duplex mode; half-duplex mode returns Unknown: This function cannot be used on RS485!. Ethernet (P4) is not accepted by M08.
Digital inputs assigned to an enabled emergency stop are used for E-stop monitoring instead of ordinary automatic digital reports.
Feedback¶
Each configuration command returns Ok. Reports then arrive as:
| Response | Meaning |
|---|---|
I<pin> V<value> |
Digital input state: 0 or 1. |
A<pin> V<value> |
Raw 12-bit ADC value: 0–4095. |
Example¶
M08 I3 B1 P0 ; Report changes on digital input I3 through USB0.
M08 A1 C500000 P0 ; Request analog input A1 reports every 500 ms through USB0.
Example automatic reports; values depend on the connected signals:
I3 V0
A1 V2478
To stop automatic reports for digital input I3:
M08 I3 B0 ; Disable automatic reports for digital input I3.
M40 - Open RS232 port.¶
Descriptions¶
Enable/Disable RS232 port and set baudrate.
Usage¶
M40 A<x> [B<y>]
Parameters¶
M40 A[x] B[y]A[x]: Open/Close RS232 portx = 1: Open Portx = 0: Close port
B[y]: baud rate.
Example¶
M40 A1 B115200 ;Open RS232 port and set baudrate at 115200
M41 - Open RS485 port¶
Descriptions¶
Enable/Disable RS485 port and set baudrate.
Usage¶
M41 A<x> [B<y>]
Parameters¶
M41 A[x] B[y]A[x]: Open/Close RS485 portx = 1: Open Portx = 0: Close Port
B[y]: baud rate.
Note:
When control Delta X S via RS485, after each time sending a G-code command to the robot, you must wait for a response from the robot before sending the next G-code command. Otherwise, the communication will not be successful.
Example¶
M41 A1 B115200 ;Open RS485 port and set baudrate at 115200
M42 - Open USB1 port.¶
Descriptions¶
Enable/Disable USB1 port and set baudrate.
Usage¶
M42 A<x> [B<y>]
Parameters¶
M42 A[x] B[y]A[x]: Open/Close USB1 portx = 1: Open Portx = 0: Close Port
B[y]: baud rate.
Example¶
M42 A1 B115200 ; Enable USB1 and set the baud rate to 115200.
M49 - Get Ports Config¶
Descriptions¶
Read the enabled state and configured baud rate of USB0, RS232, RS485, and USB1. The response labels USB0 as USB.
Usage¶
M49
Example¶
M49
Example response; enabled states and baud rates depend on the current configuration:
USB:1 BAUD:115200
RS232:0 BAUD:115200
RS485:1 BAUD:115200
USB1:1 BAUD:115200
M50 - Enable RJ45¶
Descriptions¶
This command can be used to enable or disable RJ45 port.
Usage¶
M50 A<x>
Parameter¶
A[x]x = 1: enable RJ45x = 0: disable RJ45
Example¶
M50 A1 ; enable RJ45
M51 - Set Ethernet Port¶
Descriptions¶
Set ethernet port number
Usage¶
M51 B<x>
Parameter¶
| Parameter | Description |
|---|---|
B[x] | port number |
Example¶
M51 B8080 ; set ethernet port
M52 - Set MAC Device¶
Descriptions¶
Set the robot’s MAC address and save it to EEPROM.
Usage¶
Provide all six bytes in A:B:C:D:E:F order, using decimal integers from 0 to 255.
M52 A<x> B<y> C<z> D<t> E<u> F<v>
Parameter¶
| Parameter | Description |
|---|---|
A[x] | number |
B[y] | number |
C[z] | number |
D[t] | number |
E[u] | number |
F[v] | number |
Example¶
M52 A2 B23 C34 D45 E56 F67 ; Set MAC address 02:17:22:2D:38:43 (hex).
Response:
Ok
M53 - Set Ethernet IP¶
Descriptions¶
Set the robot’s Ethernet IP address and save it to EEPROM. A/B/C/D are the four address octets, each a decimal integer from 0 to 255; all four are required.
Usage¶
M53 A<x> B<y> C<z> D<t>
Parameter¶
| Parameter | Description |
|---|---|
A[x] | number |
B[y] | number |
C[z] | number |
D[t] | number |
Example¶
M53 A192 B168 C1 D98 ; Set the robot IP address to 192.168.1.98.
Response:
Ok
M54 - Set Ethernet DNS¶
Descriptions¶
Set the Ethernet DNS server address and save it to EEPROM. A/B/C/D are the four address octets, each a decimal integer from 0 to 255; all four are required.
Usage¶
M54 A<x> B<y> C<z> D<t>
Parameter¶
| Parameter | Description |
|---|---|
A[x] | number |
B[y] | number |
C[z] | number |
D[t] | number |
Example¶
M54 A192 B168 C1 D1 ; Set the DNS server to 192.168.1.1.
Response:
Ok
M55 - Set Ethernet Gateway¶
Descriptions¶
Set the Ethernet gateway address and save it to EEPROM. A/B/C/D are the four address octets, each a decimal integer from 0 to 255; all four are required.
Usage¶
M55 A<x> B<y> C<z> D<t>
Parameter¶
| Parameter | Description |
|---|---|
A[x] | number |
B[y] | number |
C[z] | number |
D[t] | number |
Example¶
M55 A192 B168 C1 D1 ; Set the gateway to 192.168.1.1.
M56 - Set Ethernet Subnet¶
Descriptions¶
Set the Ethernet subnet mask and save it to EEPROM. A/B/C/D are the four mask octets, each a decimal integer from 0 to 255; all four are required.
Usage¶
M56 A<x> B<y> C<z> D<t>
Parameter¶
| Parameter | Description |
|---|---|
A[x] | number |
B[y] | number |
C[z] | number |
D[t] | number |
Example¶
M56 A255 B255 C255 D0 ; Set the subnet mask to 255.255.255.0.
M57 - Get Robot IP¶
Descriptions¶
Read the robot’s configured Ethernet IP address.
Usage¶
M57
Example¶
M57
Example response after setting the IP address to 192.168.1.98:
IP:192.168.1.98
M60 - Set Axis 4 Parameters¶
Descriptions¶
Configure axis 4 and save its configuration to EEPROM. Units are degrees for a rotary axis or millimeters for a linear axis, according to the steps-per-unit setting.
Usage¶
M60 [D<val>] [E<val>] [I<val>] [S<val>] [R<val>] [U<val>]
[P<val>] [Q<val>] [H<val>] [A<val>] [J<val>] [F<val>]
Parameter¶
D[val]: enable axis 4val = 1: enable axis 4val = 0: disable axis 4
E[val]: enable endstopval = 1: enable axis 4 endstopval = 0: disable axis 4 endstop
I[val]: set invert endstop logic levelval = 1: axis 4 endstop invertval = 0: axis 4 endstop non-invert
S[val]: (unit/s) homing speedR[val]: (unit) distance to back away from the endstop during homingU[val]: (step/unit) set step/unit parameterP[val]: (unit) set max positionQ[val]: (unit) set min positionH[val]: (unit) set home positionA[val]: (unit/s²) maximum accelerationJ[val]: (unit/s³) maximum jerkF[val]: (unit/s) maximum velocity
Example¶
M60 D1 E1 I0 S15 R5 U8.333 P178 Q0 H45 A4000 J900000 F2000
In this example, R5 sets a 5-unit homing back-off distance. Use configuration values appropriate for the connected axis.
M61 - Set Axis 5 Parameters¶
Descriptions¶
Configure axis 5 and save its configuration to EEPROM. Units are degrees for a rotary axis or millimeters for a linear axis, according to the steps-per-unit setting.
Usage¶
M61 [D<val>] [E<val>] [I<val>] [S<val>] [R<val>] [U<val>]
[P<val>] [Q<val>] [H<val>] [A<val>] [J<val>] [F<val>]
Parameter¶
D[val]: enable axis 5val = 1: enableval = 0: disable
E[val]: enable endstopval = 1: enable axis 5 endstopval = 0: disable axis 5 endstop
I[val]: set invert endstop logic levelval = 1: axis 5 endstop invertval = 0: axis 5 endstop non-invert
S[val]: (unit/s) homing speedR[val]: (unit) distance to back away from the endstop during homingU[val]: (step/unit) set step/unit parameterP[val]: (unit) set max positionQ[val]: (unit) set min positionH[val]: (unit) set home positionA[val]: (unit/s²) maximum accelerationJ[val]: (unit/s³) maximum jerkF[val]: (unit/s) maximum velocity
Example¶
M61 D1 E1 I0 S15 R5 U8.333 P178 Q0 H45 A4000 J900000 F2000
In this example, R5 sets a 5-unit homing back-off distance. Use configuration values appropriate for the connected axis.
M62 - Set Axis 6 Parameters¶
Descriptions¶
Configure axis 6 and save its configuration to EEPROM. Units are degrees for a rotary axis or millimeters for a linear axis, according to the steps-per-unit setting.
Usage¶
M62 [D<val>] [E<val>] [I<val>] [S<val>] [R<val>] [U<val>]
[P<val>] [Q<val>] [H<val>] [A<val>] [J<val>] [F<val>]
Parameter¶
D[val]: enable axis 6val = 1: enableval = 0: disable
E[val]: enable endstopval = 1: enable axis 6 endstopval = 0: disable axis 6 endstop
I[val]: set invert endstop logic levelval = 1: axis 6 endstop invertval = 0: axis 6 endstop non-invert
S[val]: (unit/s) homing speedR[val]: (unit) distance to back away from the endstop during homingU[val]: (step/unit) set step/unit parameterP[val]: (unit) set max positionQ[val]: (unit) set min positionH[val]: (unit) set home positionA[val]: (unit/s²) maximum accelerationJ[val]: (unit/s³) maximum jerkF[val]: (unit/s) maximum velocity
Example¶
M62 D1 E1 I0 S15 R5 U8.333 P178 Q0 H45 A4000 J900000 F2000
In this example, R5 sets a 5-unit homing back-off distance. Use configuration values appropriate for the connected axis.
M84 - Disable Steppers¶
Descriptions¶
This command can be used to disable steppers.
Usage¶
M84
M100 - Set Auto Feedback Position¶
Descriptions¶
Configure automatic position reports and their destination port.
Usage¶
M100 [A<mode>] [B<time>] [C<port>]
Parameter¶
A[mode]: reporting mode.0: disable reports.1: report during movement, plus the final position when movement completes.2: report periodically during movement and while idle.
B[time]: report interval in milliseconds. Use at least10; a value below10disables reporting.C[port]: destination port.0: USB0.1: RS232.3: USB1.4: Ethernet (RJ45).
RS485 (C2) is rejected with Unknown: This function cannot be used on RS485!. Open the selected port before requesting reports on it.
Each report starts with Position:, followed by X/Y/Z and the positions of enabled W/U/V axes in that order. Values have two decimal places.
Example¶
M100 A1 B200 C0 ; Report position on USB0 every 200 ms during movement, plus the final position.
Example report with auxiliary axes disabled:
Position:0.00,0.00,-750.00
To report every 200 ms even while idle:
M100 A2 B200 C0
To stop automatic position reports:
M100 A0 C0
M203 - Set Jerk¶
Descriptions¶
Set movement jerk of end effector.
Usage¶
M203 J<value>
Parameters¶
| Parameter | Description |
|---|---|
J[value] | (mm/s³) required jerk value. Omitting J returns Unknown:Gcode wrong!. |
Example¶
M203 J1200000 ;set jerk = 1.200.000 mm/s^3
M204 - Set Max Acceleration¶
Descriptions¶
Set movement acceleration.
Usage¶
M204 A<value>
Parameters¶
| Parameter | Description |
|---|---|
A[value] | (mm/s²) required end-effector acceleration. Omitting A returns Unknown:Gcode wrong!. |
Example¶
M204 A15000 ;set accel = 15000 mm/s^2
M205 - Set Begin/End Velocity¶
Descriptions¶
Set both the start and end velocity of a movement segment to the same value.
Usage¶
M205 S<value>
Parameters¶
| Parameter | Description |
|---|---|
S[value] | (mm/s) required start and end velocity. Omitting S returns Unknown:Gcode wrong!. |
Example¶
M205 S40 ; Set both start and end velocity to 40 mm/s.
M206 - Set Axis Offset¶
Descriptions¶
Set the origin offset used by absolute movement commands. The specified origin must be within the robot’s configured workspace and axis limits.
Usage¶
M206 [X<value>] [Y<value>] [Z<value>] [W<value>] [U<value>] [V<value>]
Parameters¶
| Parameter | Description |
|---|---|
X[value] | (mm) X offset value. |
Y[value] | (mm) Y offset value. |
Z[value] | (mm) Z offset value. |
W[value] | (unit) W offset value, in the configured axis units. |
U[value] | (unit) U offset value, in the configured axis units. |
V[value] | (unit) V offset value, in the configured axis units. |
Example¶
M206 X20 Y-10 Z-750 W0 U0 V0 ; Set the XYZ origin to (20, -10, -750), with zero auxiliary-axis offsets.
M207 - Set Z Safe¶
Descriptions¶
Set the lowest permitted Z coordinate and save it to EEPROM. A value below the workspace limit is rejected. A value above the home Z coordinate disables the additional Z limit.
Usage¶
M207 Z<value>
Parameters¶
| Parameter | Description |
|---|---|
Z[value] | (mm) lowest permitted Z coordinate. Always specify Z; sending M207 without it disables the limit. |
Example¶
M207 Z-870 ; Set the lowest permitted Z coordinate to -870 mm.
The example requires -870 mm to be within the configured workspace and at or below the home Z coordinate.
M210 - Set Theta Movement Parameter¶
Descriptions¶
Config theta movement para like speed, accel, jerk, start velocity and end velocity.
Usage¶
M210 [F<value>] [A<value>] [J<value>] [S<value>] [E<value>]
Parameters¶
| Parameter | Description |
|---|---|
F[value] | (unit/s) speed. |
A[value] | (unit/s^2) accel. |
J[value] | (unit/s^3) jerk. |
S[value] | (unit/s) start velocity. |
E[value] | (unit/s) end velocity. |
Example¶
M210 F2000 A4000 J800000 S30 E30 ;set all theta movement para
M211 - Set Axis 4 Movement Parameter¶
Descriptions¶
Config axis 4 movement para like speed, accel, jerk, start velocity and end velocity.
Usage¶
M211 [F<value>] [A<value>] [J<value>] [S<value>] [E<value>]
Parameters¶
| Parameter | Description |
|---|---|
F[value] | (unit/s) axis 4 speed. |
A[value] | (unit/s^2) axis 4 accel. |
J[value] | (unit/s^3) axis 4 jerk. |
S[value] | (unit/s) start velocity. |
E[value] | (unit/s) end velocity. |
Example¶
M211 F2000 A4000 J800000 S30 E30 ;config axis 4 move para
M212 - Set Axis 5 Movement Parameter¶
Descriptions¶
Config axis 5 movement para like speed, accel, jerk, start velocity and end velocity.
Usage¶
M212 [F<value>] [A<value>] [J<value>] [S<value>] [E<value>]
Parameters¶
| Parameter | Description |
|---|---|
F[value] | (unit/s) axis 5 speed. |
A[value] | (unit/s^2) axis 5 accel. |
J[value] | (unit/s^3) axis 5 jerk. |
S[value] | (unit/s) start velocity. |
E[value] | (unit/s) end velocity. |
Example¶
M212 F2000 A4000 J800000 S30 E30 ;config axis 5 move para
M213 - Set Axis 6 Movement Parameter¶
Descriptions¶
Config axis 6 movement para like speed, accel, jerk, start velocity and end velocity.
Usage¶
M213 [F<value>] [A<value>] [J<value>] [S<value>] [E<value>]
Parameters¶
| Parameter | Description |
|---|---|
F[value] | (unit/s) axis 6 speed. |
A[value] | (unit/s^2) axis 6 accel. |
J[value] | (unit/s^3) axis 6 jerk. |
S[value] | (unit/s) start velocity. |
E[value] | (unit/s) end velocity. |
Example¶
M213 F2000 A4000 J800000 S30 E30 ;config axis 6 move para
M220 - Get Current Axis Parameter¶
Descriptions¶
Read the current movement parameters of one axis group. Omitting I selects the Theta group (I0).
Usage¶
M220 [I<val>]
Parameter¶
I[val]: axis indexval = 0: get theta parameterval = 1: get axis 4 parameterval = 2: get axis 5 parameterval = 3: get axis 6 parameter
The Theta group uses response labels F, A, J, S, and E. Axis 4 uses WF, WA, WJ, WS, and WE; axes 5 and 6 use the corresponding U and V prefixes. The selected auxiliary axis must be enabled.
Example¶
M220 I1 ; Read axis 4 movement parameters.
Example response for an enabled W axis configured with these values:
WF:2000.00 WA:4000.00 WJ:800000.00 WS:30.00 WE:30.00
M500 - Save Settings¶
Descriptions¶
Save the current motion parameters and supported configuration settings to EEPROM.
Usage¶
M500
Example¶
M500 ;Save settings
M501 - Reset Settings¶
Descriptions¶
Reset settings to the firmware defaults and immediately save them to EEPROM. This overwrites the previously saved settings; an additional M500 is unnecessary.
Usage¶
M501
Example¶
M501 ; Reset settings to firmware defaults and save them to EEPROM.
M502 - Load Settings¶
Descriptions¶
Reload the saved motion parameters and supported configuration settings from EEPROM.
Usage¶
M502
Example¶
M502 ; Reload the settings saved in EEPROM.
M600 - Enable Emergency Stop Button¶
Descriptions¶
Enable emergency-stop monitoring on two digital inputs and save the selection to EEPROM.
Usage¶
M600 [A<pin>] [B<pin>]
A<pin>: first digital input index,0–5(I0–I5).B<pin>: second digital input index,0–5(I0–I5).
Use the input numbers for the connected emergency-stop circuit.
Example¶
M600 A4 B5 ; Enable emergency-stop monitoring on inputs I4 and I5.
M601 - Disable Emergency Stop Button¶
Descriptions¶
Disable E_STOP button.
Usage¶
M601 ;disable E_STOP button
Contact Us¶
- Store: https://deltaxstore.com
- Website: https://www.deltaxrobot.com
- Email: deltaxrobot@gmail.com
- Phone: +84 38 875 2005
