6 Motion Instructions & G-Code Instructions
DVP-PM Application Manual
6-26
MON
Mnemonic Operands Function
08
SETR N/A Set up Electrical Zero Point
Controllers
20PM -
Explanations:
1. You can place an M-Code instruction after SETR
2. When SETR is executed, you can set the current position of X/Y/Z axis as the electrical zero point, i.e. move the
content in the current position (CP) register into the register for electrical zero point.
Program Example:
SETR
.
.
.
.
.
.
Subroutine OX0
Remarks:
Relevant special registers
D1848 Current position of X axis: CP (low word)
D1849 Current position of X axis: CP (high word)
D1866 Electrical zero point address on X axis (low word)
D1867 Electrical zero point address on X axis (high word)
D1928 Current position of Y axis: CP (low word)
D1929 Current position of Y axis: CP (high word)
D1946 Electrical zero point address on Y axis (low word)
D1947 Electrical zero point address on Y axis (high word)
D2008 Current position of Z axis: CP (low word)
D2009 Current position of Z axis: CP (high word)
D2026 Electrical zero point address on Z axis (low word)
D2027 Electrical zero point address on Z axis (high word)