4. Motion Control Instructions Parameter explanation: N_: The row number of G code in NC program X_: Specify the terminal position of axis X, Unit: unit, data type: REAL. Y_: Specify the terminal position of axis Y, Unit: unit, data type: REAL. Z_: Specify the terminal position of axis Z, Unit: unit, data type: REAL. A_: Specify the terminal position of axis A, Unit: unit, data type: REAL. B_: Specify the terminal position of axis B, Unit: unit, data type: REAL. C_: Specify the terminal position of axis C, Unit: unit, data type: REAL. P_: Specify the terminal position of axis P, Unit: unit, data type: REAL. Q_: Specify the terminal position of axis Q, Unit: unit, data type: REAL. E_:
Specify the acceleration and deceleration of the cutter. The positive number refers to the acceleration; the negative number refers to the deceleration, unit: unit/second 2 , data type: REAL. If only the acceleration is specified, the deceleration is decided by the “maximum deceleration” in axis X parameter; If only the deceleration is specified, the acceleration is decided by the “maximum acceleration” in axis X parameter. F: Specify the feed speed of the cutter, unit: unit/second, data type: REAL. When the cutter moves at a constant speed, the combined speed of all axes in G code is equal to F value. The method of calculation is shown below. When two axes exist, 2 2 1 2 F V V = + .
When three axes exist, 2 2 2 1 2 3 F V V V = + + . For more axes, F value could be calculated in the same way as above. Instruction explanation: G1 can control one or more axes and other axis can be omitted. Both of E and F can be omitted. If there is only one row of code in the CNC programming area and E, F are omitted, the velocity, acceleration, deceleration are decided by the parameters of X axis, i.e. “maximum velocity”, “maximum acceleration”, “maximum deceleration” in the parameters of X axis.
If there are multiple rows of codes and E and F in G1 code are omitted, the velocity, acceleration, deceleration of the cutter are based on E and F in the previous rows of codes before the row where G2 is. If the previous rows of G codes have not specified E and F, “maximum velocity”, “maximum acceleration”, “maximum deceleration” in the parameters of X axis will be taken as reference. Absolute mode decided by G90: The terminal position of G1 is based on 0 unit. Relative mode decided by G91: The terminal position of G1 is an incremental value beginning from the current position. Absolute mode example:
The initial positions of axis X, Y, Z are all 20000 units and their axis parameters are all default value. The G codes to be executed are: N0 G90 N1 G1 X50000 Y60000 Z70000 After G codes are executed, the Y/X curve for the whole movement process is shown below: DVP-MC operating manual 4-191