Delta — 4.8.2. Explanation of G Code Format

4. Motion Control Instructions 4.8.2. Explanation of G Code Format  G code Unit The position unit of axis X_, Y_, Z_, A_, B_, C_, P_, Q_ in G code is consistent with that of axis parameter. Please set the same physical unit for each axis. For example, the unit is set as mm. And thus G0 X100.5 Y300 Z30.6 indicates that axis X, Y, Z move to the place of 100.5mm, 300mm, and 30.6mm respectively.  G code parameter omitting  One or more items among X_, Y_, Z_, A_, B_, C_, P_, Q_ in G0 instruction can be omitted.  One or more items among X_, Y_, Z_, A_, B_, C_, P_, Q_, E_, E_, F_ in G1 instruction can be omitted.

 One or more items among X_, Y_, Z_, A_, B_, C_, P_, Q_, E_, E_, F_ in G2 and G3 instruction can be omitted except I_, J_, K_, R_.  The parameters to the right of G4, G36, G37 instruction can not be omitted.  The G code identifier such as G0, G1, G2, G3, G4, G36, G37, G17, G18, G19, G90, G91 can be omitted. The omitted instruction identifier in the first row is G0 by default in the CNC program. The G code identifier omitted in the middle row is the G code instruction in the last row by default. When the G code instructions in the two continuous rows are different, the G code identifiers can not be omitted. Take the following as example:

N00 G0 X100 Y200 N01 X200 Y200 The G code in the first row above is G0 instruction; there is no instruction identifier in the second row and so the default identifier is G0 for the second row. But N01 K04 can not be written in the second row. I.e. the parameter in G code in the second row should comply with G0 format.  Only one G code can be written in the same row in CNC programming area in the CANopen Builder software.  Special function of G code  D device can be used to represent the key value in G code. For example, X_, Y_, Z_, A_, B_, C_, P_, Q_, E_, F_, I_, J_, K_, R_,T_,E_, F_ all can use D device and “$” should be added to the right and left of D device.

T means UNIT and others are Real type. Example: N0 G0 X$D0$ Y$D2$ Z$D4$ (D0=100, D2=200, D4=300) Explanation: After the G codes are executed, axis X moves to 100 units; axis Y moves to 200 units and axis Z moves to 300 units  M_ in G36 M_ can not be replaced by D device. Example: N0 G36 M2 K1 Explanation: M2 can not be written into M$D0$ in the above example. DVP-MC operating manual 4-183