[Program example]
No.22 Target position change program
X45
1150
X10
M30
1156
M31
1159
X4D
U0\
=
G4338
(3) The following sequence program is added to the control program, and written
to the PLC CPU.
TOP
K0
PLS
SET
DMOVP
K-120000
DMOVP
K30000000 D23
DMOVP
K0
MOVP
K1
H0
K4334
D23
RST
13 - 66
Chapter 13 Control Sub Functions
M30
<Pulsate target position change command>
<Hold target position change command>
M31
<Set target position change value
D23
-12000.0 m (address)>
<Set target position change value
300.00000deg (address)>
D25
<New speed value>
D27
<Set target position change request>
K5
<Write target position change>
M31
<Turn OFF target position change command
memory>