6
Motion Instructions & G-Code Instructions
DVP-PM Application Manual
6-4
Parameter columns marked with * indicate the applicable device type for the parameter.
Parameter columns marked with * and in grey refers to V, Z index modification is applicable.
Notes for the instruction
z
Points to note:
Some motion instructions are only composed of the instruction part (mnemonic), e.g. DRVZ, SETR, or
ABS. However, most motion instructions are composed of mnemonic with operands. In addition, no drive
contact is required to be placed before a motion instruction.
6.2.2 G-Code Instructions
A G-Code instruction also has two parts: the mnemonic and the operand
Mnemonic
Function of the instruction
Function index
Indexes X, Y, Z, I, J, K, R, F indicate axis,
frequency, radius, and coordinates.
Operand
Parameter value
Parameter value for each function index
z
“Function index” of the operand must not be ignore
d.
z
“Parameter value” of the operand can be specified by entering arabic numerals or decimals. All operands
will all be operated in 32-bit format..
For example: G00 X
100
Y
100
or G00 X
100.0
Y
100.0
z
For 20M model, 16-bit register (D) and 32-bit register (DD) are also applicable for operands, for example:
G0 XD11 YDD20 FDD25;
XDD30 YD40;
G1 X100.0 Y25.0 FD50;
G02 XD60 Y50.0 ID100 JDD80;
G03 YDD90 RD70 F300.0;
z
Operand with decimal is 1,000 times larger than it being without decimal point.
For example: G00
X
100.0
Y
100.0 =
G00
X
100000
Y
100000
Program steps occupied by G-Code instruction
z
Mnemonic in 20D model: 1 step;
Mnemonic in 20M model: G00, G01, G02 and G03 occupy 2 steps, others 1 step..
z
Operands with arabic numerasl: 3 steps per operand
Format of a G-Code instruction:
G-Code instruction No.
Function index of operands:
X, Y, Z, F, R, I, J, K. Indicate axis, frequency, radius, and coordinates.
Parameter value of operands
Function of the G-Code instruction
z
Points to note:
Summary of Contents for DVP-10PM
Page 1: ......
Page 45: ...2 Hardware Specifications and Wiring DVP PM Application Manual 2 30 MEMO...
Page 125: ...3 Functions of Devices in DVP PM DVP PM Application Manual 3 80 MEMO...
Page 341: ...8 Application Examples DVP PM Application Manual 8 2 Trajectory 3 Trajectory 4...
Page 427: ...9 Electrical CAM DVP PM Application Manual 9 74...
Page 437: ...10 Encrypting User Program DVP PM Application Manual 10 10 MEMO...
Page 458: ...11 G code Application DVP PM Application Manual 11 21 B O100 main program...
Page 561: ...14 Appendix DVP PM Application Manual 14 4 MEMO...