Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
362
FX3G/FX3U/FX3UC 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 section 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 .
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.
Operand Type Description Data Type
Head word device number storing the data table (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".
Contents of setting
Set (ON) K1/H1
Reset (OFF) K0/H0
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