Download Print this page

Bit Binary Data Absolute Method - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

32-bit binary data absolute method

DABSD
This instruction creates many output patterns corresponding to the current value (32-bit binary data) of a counter.
Ladder diagram
(s1)
(s2)
(d)
FBD/LD
EN
ENO
s1
d
s2
n
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Head device number storing the data table (with rising and falling
point data)
(s2)
Counter number for monitoring the current value compared with
the data table
(d)
Head bit device number to be output
(n)
Number of lines in the table and the number of output bit devices
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s1)
(s2)
(d)
(n)
*1 Only C (32 bits) can be used.
*2 T, ST, C cannot be used.
Processing details
• In this example, outputs are controlled to on or off by one table rotation (0 to 360 using the rotation angle signal of 1/
pulse).
• The current value (s2) of the counter is compared with the data table with "n" lines starting from (s1) (which occupies "n"
lines  4 devices), and consecutive "n" outputs starting from (d) are controlled to on or off during one rotation.
Command
input
DABSD
(s1)
(s2)
(s2)
X1
RST
(s2)
X1
Rotation angle signal of 1°/pulse
(n)
Word
T, ST, C, D, W,
U\G
SD, SW, R
*1
*2
(d)
(n)
K360
(s2)
Structured text
ENO:=DABSD(EN,s1,s2,n,d);
Range
Data type
32-bit signed binary
32-bit signed binary
Bit
1 to 64
16-bit unsigned binary
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
Data type (label)
ANY32
ANY32
ANY_BOOL
ANY16_U
BOOL
BOOL
Constant
Others
K, H
E
$
8 APPLICATION INSTRUCTION
8.20 Drum Sequence
8
639

Hide quick links:

Advertisement

loading