12 Applied Instructions (High Speed Processing)
288
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
12.6 DHSZ / High Speed Counter Zone Compare
Cautions
1. Limitation in the number of DHSZ instruction
This instruction can be programmed only once in a program.
With regard to the DHSCS, DHSCR, DHSZ and DHSCT instructions used for other purposes, a limited
number of instructions including the DHSZ instruction can be driven at one time.
2. When the command input is set to OFF in the middle of execution
Execution of the instruction is aborted, and the table counter D8130 is reset to K0.
However, outputs which have been set or reset remain in the current status.
3. Output start timing
After the DHSZ instruction is first executed, creation of the table is completed by END instruction. After that,
the DHSZ instruction becomes valid.
Accordingly, the output is activated from the second scan.
4. Current value of a high speed counter
Be sure to execute the DHSZ instruction from a point where the current value of the high speed counter
(regarded as the operation target) is smaller than the value in the first line in the comparison table.