7 Using a DVP-20PM Series Motion Controller as a Slave
【Program in DVP-20PM slave】
Instruction mode: Operation:
O100
LD M1002
DMOV K0 D1848
DMOV K0 D1928
LD M1000
MOV D1501 D1868
MOV D1502 D1846
M102
Place the instructions for initializing
current position of X/Y axis in O100
main program. Enable O100 in Slave
then call the motion subroutine.
OX00
DRV X200000 FX100000 Y200000 FY100000
M2
Place motion instruction DRV in
OX00 subroutine.
OX01
LIN X100000 Y100000 F200000
M2
Place motion instruction LIN in OX01
subroutine.
OX02
CW X0 Y100000 I0 J50000 F200000
M2
Place motion instruction CW in OX02
subroutine.
OX03
CCW X0 Y100000 I0 J50000 F200000
M2
Place motion instruction CCW in
OX03 subroutine.
OX04
BRET
DMOV K200000 D1828
DMOV K100000 D1830
DMOV K200000 D1908
DMOV K100000 D1910
DRVZ
M2
Place motion instruction DRVZ in
OX04 subroutine, and set up
relevant parameters for DRVZ.
DVP-20PM Application Manual
7-5