Chapter 16 PLC Function ApplicationsC2000 Plus
16-127
API
DPOS
S1
Drive point-to-point control
262
P
Bit device Word device
16-bit command
- - - -
32-bit command (5 STEP)
DPOS Continuous
execution type
DPOSP Pulse
execution type
Flag signal: M1064, M1070
X Y M K H KnX KnY KnM T C D
* * *
Notes on operand usage: none
S1
: Target (must have a number).
The DPOS command can control the drive's position commands, and employs
special register control actions, such as:
M1040: Control Servo On/Servo Off. M1055 search for origin. M1048 move to new
position. If the control mode is position mode (D1060 = 1), and the converter is in
the Servo ON state (M1040 = 1), if the DPOS command is executed, the drive will
move to a new position in conjunction with activation of M1048 once (OFF to ON).
M1040: Control Servo On/Servo Off. M1064: set position attained. D1060 is the
mode control. D1051(L) and D1052(H) are the actual position points.
When X0=On, M1040 will be On (Servo On).
When X1=On, sets DPOS position as +300000, and M1048 will change to On
(move to new position) after a delay of 1 sec. Check whether the value of D1051
has changed at this time; after the set position point has been reached, M1064 will
go On, and Y0 will output On.