662
11 POSITIONING INSTRUCTION
11.1 Positioning Instruction
32-bit data ABS current value read
DABS
This instruction reads the absolute position (ABS) data when a servo amplifier (equipped with the absolute position detection
function) is connected. The data is converted into pulse when read.
■Descriptions, ranges, and data types
■Applicable devices
*1 T, ST, C cannot be used.
This instruction reads the absolute position (ABS) data when a servo amplifier (equipped with the absolute position detection
function) is connected. The data is converted into pulse when being read.
• For (s), specify the head device number that inputs the output signal for absolute position (ABS) data from the servo
amplifier.
• For (d1), specify the head device number that outputs the absolute position (ABS) data control signal to the servo amplifier.
Be sure to use transistor outputs for the CPU module outputs.
• For (d2), specify the device that stores the absolute position (ABS) data read from the servo amplifier.
For details on the function and error code, refer to Built-in positioning manual.
Three devices are occupied from the device specified in (s) and (d1). Make sure that these devices are not used in other
controls.
For other precautions, refer to Built-in positioning manual.
Ladder diagram Structured text
ENO:=DABS(EN,s,d1,d2);
Operand Description Range Data type Data type (label)
(s) Head device number that inputs the output signal for absolute position
(ABS) data from the servo amplifier
Bit ANY_BOOL
(d1) Head device number that outputs the absolute position (ABS) data
control signal to the servo amplifier
Bit ANY_BOOL
(d2) Absolute position (ABS) data (32-bit value) 32-bit signed binary ANY32
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s)
*1
(d1)
*1
(d2)