340
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
13 High Speed Processing – FNC 50 to FNC 59
13.6 FNC 55 – HSZ / High Speed Counter Zone Compare
13.6.2
Table high speed comparison mode (M8130)
This paragraph explains the table high speed comparison mode (high speed pattern output) of the DHSZ
instruction.
When two or more outputs should be activated at one time, use the HSCT instruction which can change up to
16 outputs.
1. Set data
Explanation of function and operation
1. 32-bit operation (DHSZ)
When the special auxiliary relay M8130 for declaring the table high speed comparison mode is specified as
in the DHSZ instruction, the special function shown below is provided.
Comparison table
1) Specify the head device 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
.
A created table starts from the head register specified as
, and has the number of lines specified as
.
3) Comparison data
Make sure that the comparison data is 32 bits.
Operand Type
Description
Data Type
Head word device number storing the table data (only data register D)
32-bit binary
Number of lines in the table (only K or H)
…
K1 to K128 or H1 to H80
32-bit binary
Device number of a high speed counter [C235 to C255]
32-bit binary
M8130 (special auxiliary relay for declaring the table high speed comparison
mode)
Bit
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
↓
…
…
…
…
+ 5,
+ 4
+ 6
+ 7
−
1
↓
Repeated from "0".
S
1
S
2
S
D
D
K2,147,483,647
FNC 55
DHSZ
M8130
Table high speed comparison mode
Head
device
Number
of lines
Comparison
source
S
S
1
S
2
S
Command
input
S
1
S
1
S
1
S
1
S
1
S
1
S
1
S
1
S
1
S
1
S
1
S
1
S
1
S
1
S
1
S
1
S
2
S
1
S
2
S
1
S
2
S
1
S
2