7 APPLICATION INSTRUCTION
7.15 Drum sequence
543
7
• Timing chart
• When the command contact turns on, the output M0 turns on.
• When the current value of C0 reaches the comparison value D300, the output M0 is reset, "1" is added to the count value of
the process counter C1, and the current value of the counter C0 is reset.
• The next output M1 turns ON.
• When the current value of C0 reaches the comparison value D301, the output M1 is reset, "1" is added to the count value of
the process counter C1, and the current value of the counter C0 is reset.
• The current value is compared for up to "n (K4)" outputs in the same way (1  (n)  64).
• When the final process specified by (n) is finished, the execution complete flag SM8029 turns on and remains on for one
operation cycle. SM8029 is used for many instructions as the instruction execution complete flag. Use SM8029 as a contact
just after a corresponding instruction.
• The program execution returns to the beginning, and outputs are repeated.
When specifying the nibble of a bit device to (s1), specify a multiple of 16 (0, 16, 32, 64 ...) as a device number.
Error code
(SD0/SD8067)
Description
2820 The number of device points specified by (s1), (s2), or (d) is insufficient.
3405 The value specified by (n) is outside the following range.
1 to 64
X0
C1
M0
M1
M2
M3
SM8029
20
30
10
40
20
0
20
C0
1
2
3
0
1
0
1
Complete flag
Current
Value
Current
Value