13 Applied Instructions (Handy Instruction)
13.4 INCD / Incremental Drum Sequencer
332
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Function and operation explanation
1. 16-bit operation(INCD)
Data table (n lines × 1 point occupied) of n lines from the device designated in is compared with the
present value of the counter of the device designated in , and by resetting when coinciding, outputs are
sequentially controlled to be ON/OFF.
Operation
1) Timing chart
Write the following data beforehand by using transfer command.
Store device Output
Data value (example) Example
D300=20 M0
+1
D301=30
+1
M1
+2
D302=10
+2
M2
+3
D303=40
+3
M3
…
…
…
…
+n-1
-
+n-1
-
Command input
Count signal
INCD
EN
s1
s2
ENO
d
n
OUT_C
EN
CCoil
CValue
ENO
K9999
CC
Beginning word
device for storing
the set value
Beginning device of
counter for present
value monitor
Number of bit devices
to be output
Beginning bit device to be output
X000
INCD
EN
s1
s2
ENO
d
n
M8013
1-second
clock
D300
C0
M0
K4
OUT_C
EN
CCoil
CValue
ENO
K9999
CC000
X000
C 1
Present
value
M 0
M 1
M 2
M 3
M8029 Complete flag
20
30
10
40
20
0
20
C 0
Present
value
1
2
3
0
1
0
1