3. Instruction Set
API
Mnemonic Operands Function
332 D
DRVAC
S
1
S
2
S
3
Servo absolute position
control
Type
OP
Bit Devices Word devices Program Steps
X Y M S K H KnX
KnY
KnM
KnS
T C D E F
DDRVAC: 13 steps
Operands
S
1
:
Station address of servo
S
2
: Absolute target position
S
3
:
Target speed
Explanation
1. The INITC and ASDON (servo ON) instructions must be complete before this instruction is
executed.
2. It is not available for pulse type instructions. Do not use pulse type contact.
3. The range of S
1
is K1–K8 (for servo). There will be no execution when the input value is out of
the range.
4. The range of S
2
is -2147483648 to +2147483647. The +/- sign indicates the forward / reverse
direction. The target position is a relative position.
5. For firmware V3.48 or earlier versions, this function is only available for ASDA-A2. The unit of
the value of S
3
is 0.1 rpm. The range is 1–60000, which indicates 0.1–6000.0 rpm.
6. For firmware V3.60 or later, this function is only available for ASDA-A3. When using rotary
motor, the unit of the value of S
3
is 0.1 rpm. The range is 1–60000, which indicates 0.1–6000.0
rpm. When using linear motor, the unit of the value of S
3
is 10
-6
m/s. The range is 1-15999999,
which indicates 0.000001-15.999999 m/s.
7. You need to use CASD instruction for acceleration and deceleration.
8. Once the target position is reached, the corresponding completion flags of axes
M1624-M1631 will be set to ON.