6 Motion Instructions and G-Code Instructions
DVP-PM Application Manual
6-33
MON Mnemonic Operands Function
13
MOVC
X L
1
Y L
2
Set up Offset of Linear Movement
Controllers
20PM -
Bit Devices Double-Word Devices Notes
Type
K H D KK HH DD
L
1
* * * * * *
L
2
* * * * * *
 MOVC instruction supports V, Z index register
modification on the devices.
 See specifications of DVP-PM for the applicable
range of each device.
 You can place an M-Code instruction after MOVC.
Operands:
L
1
: Offset for target position of X axis L
2
: Offset for target position of Y axis
Explanations:
1. When MOVC instruction is executed, the offset value will automatically be written into special registers: D1708 ~
D1709 for X axis; D1724 ~ D1725 for Y axis. MOVC instruction will adjust the target position of linear movement
according to the offset values.
2. You can set up only the offset value of X axis, e.g. MOVC XDD0.
3. The offset of linear movement can be adopted for DRV, LIN and INTR instructions..
4. Range of parameters: (16-bit) K = -32,768 ~ 32,767; H = 0 ~ FFFF; D = 0 ~ 9,999; (32-bit) KK = -2,147,483,648
~ 2,147,483,647; HH = 0 ~ FFFFFFFF; DD = 0 ~ 9,998.
5. The 16-bit parameter devices and 32-bit parameter devices can be used together.
NO. Instruction Operand combination
1
X L
1
2
MOVC
X L
1
L
2
Remarks:
Relevant special registers
D1708 Offset value for target position of X-axis (low word)
D1709 Offset value for target position of X-axis (high word)
D1724 Offset value for target position of Y-axis (low word)
D1725 Offset value for target position of Y-axis (high word)