Delta ISPSoft — 22.1.2 G-Code Command Structure

ISPSoft User Manual 22.1 G-Code Editor (Not Supported by the Current ISPSoft Version) 22.1.1 About G-Code During the control of motion, users can generate G-codes for the complex processing paths of two axes (or more than two axes) by means of computer-aided manufacturing software, and the G-codes can be input to a controller which can drive the axes. The time of developing a motion program can be saved. G-code is a CNC (computer numerical control) programming language widely used in automatic equipment. Delta motion controllers and ISPSoft support the majority of G-codes on the market. The minorities of G-codes which are not supported are skipped, and are not executed.

22.1.2 G-Code Command Structure A G-code is composed of an instruction name and operands, and an operand is composed of the indication of a function and the setting of a parameter. In the figure below, the instruction name represents the function which is executed, the indication of functions represents the targets of the operands, and the setting of the parameters represents the values of the operands. The instruction G00 indicates that the x-axis and the y-axis are moved at the maximum speed to the target position (100, 100). Indication of a function Operand Setting of a parameter Instruction name Here are some basic items of the supported formats and basic G-Code instructions.

 In the beginning of every G-Code, there is a parameter mark "N" to indicate a new line for example N1 or N2.  As long as the format of an instruction is not destroyed, leaving spaces is allowed. For example, G01X50 Y15F20 is legal, and is equivalent to G01 X50 Y15 F20. G01X50Y15F 20 is illegal because there are spaces between F and 20.  Users can put several instruction names in a line, e.g. G91G01X10Y30F50G04X4.5. (This function will be available in the next version.)  If instructions of the same type are in a line, the last instruction is given preference. For example, G02G00G01 X10 Y30 F50 is equivalent to G01 X10 Y30 F50 because G02, G00, and G01 are movement instructions.

(This function will be available in the next version.) 22-2