
538
7 APPLICATION INSTRUCTION
7.15 Drum sequence
7.15
Drum sequence
16-bit binary data absolute method
ABSD
This instruction creates many output patterns corresponding to the current value (16-bit binary data) of a counter.
Setting data
■
Descriptions, ranges, and data types
■
Applicable devices
*1
Only C 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
2 devices), and consecutive "n" outputs starting from (d) are controlled to on or off during one rotation.
Ladder diagram
Structured text
ENO:=ABSD(EN,s1,s2,n,d);
Operand
Description
Range
Data type
Data type (label)
(s1)
Head device number storing the data table (with rising and falling
point data)
16-bit signed binary
ANY16
(s2)
Counter number for monitoring the current value compared with
the data table
16-bit signed binary
ANY16
(d)
Head bit device number to be output
Bit
Bit
(n)
Number of lines in the table and the number of output bit devices
1 to 64
16-bit unsigned binary
ANY16
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
$
(s1)
(s2)
(d)
(n)
(s1)
(s2)
(d)
(n)
ABSD
RST
X1
(s2)
K360
(s2)
(s1)
(s2)
(d)
(n)
(s2)
X1
Rotation angle signal of 1°/pulse
Command
input
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......