7 Applied Instructions
7.6 High Speed Processing
296
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
Comparison table
1) Specify the head number for the comparison table as
Because one line in the comparison table uses four devices, × 4 devices are occupied from .
2) Specify the number of lines in the comparison table as .
The created table starts from the head register , and has the number of lines specified in .
3) Comparison data
Make sure that the comparison data is 32 bits.
4) Output (Y) number
Specify each digit of the (Y) number in hexadecimal form.
Example: When specifying Y010, specify "H10".
When Specifying Y020, specify "H20".
5) Specification of set and reset
These set and reset are directly controlled as interrupt.
Comparison data
(32 bits)
Output (Y)
number
SET/RST Table counter (D8130)
+1, +2 +3
0
↓
+5, +4 +6 +7
1
↓
+9, +8 +10 +11
2
↓
to to to to
+5, +4 +6 +7
-1
↓
Repeated from "0"
Contents of
setting
Set (ON) K1/H1
Reset (OFF) K0/H0