16 POSITIONING INSTRUCTION
16.1 Dedicated Instruction (Positioning Function)
859
16
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.
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
*1 T, ST, C cannot be used.
Processing details
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
MELSEC iQ-F FX5 User's Manual (Positioning Control - CPU module
built-in, High-speed pulse input/output module).
Ladder diagram
Structured text
ENO:=DABS(EN,s,d1,d2);
FBD/LD
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
ANYBIT_ARRAY
(Number of elements: 3)
(d1)
Head device number that outputs the absolute position (ABS) data
control signal to the servo amplifier
Bit
ANYBIT_ARRAY
(Number of elements: 3)
(d2)
Absolute position (ABS) data (32-bit value)
32-bit signed binary
ANY32
EN
Execution condition
Bit
BOOL
ENO
Execution result
Bit
BOOL
Operand
Bit
Word
Double word Indirect
specification
Constant
Others
X, Y, M, L, SM,
F, B, SB, S
T, ST, C, D, W,
SD, SW, R
U
\G
Z
LC
LZ
K, H
E
$
(s)
(d1)
(d2)
(s)
(d1) (d2)
EN
ENO
d1
s
d2
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......