32 Applied Instructions (High Speed Processing 2)
32.1 DHSCT / High Speed Counter Compare With Data Table
740
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
Operation example
*1. If this instruction is not executed, no processing is executed for outputs.
In the operation example shown above, the command contact is "OFF".
Comparison
point
number
Comparison data SET/RESET pattern
Table counter (D8138)
Device
Comparison
value
Device
Operation
output set value
0 D201, D200 K321 D202 H0001 0↓
1 D204, D203 K432 D205 H0007 1↓
2 D207, D206 K543 D208 H0002 2↓
3 D210, D209 K764 D211 H0000 3↓
4 D213, D212 K800 D214 H0003 4↓ (repeated from "0")
X010
M8000
DHSCT
EN ENO
s1
m
s2
n
d
DHSCR
EN
s1
s2
ENO
d
D200
K5
CN235
K3
Y010
K900
CN235
CC235
900
675
450
225
0
1
2
3
4
01
2
3
0
ON
OFF
ON
ON
ON
800
764
543
432
321
800
764
543
432
321
900
900
Time
Current value of C235
Because DHSCT
instruction is not
executed, the
operation outputs
are not changed
by this instruction.
X010
Y010
Y011
Y012
HSCT
Table
counter
D8138
OFF
*1
0
OFF
*1
OFF
*1
Command contact
HSCT
Instruction
execution
complete flag
M8138
ONOFF