Mitsubishi Electronics FX3S Garage Door Opener User Manual


 
365
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
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
11
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High-Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
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
+ [ × 4 - 3], + [ × 4 - 4] + [ × 4 - 2] +[ × 4 - 1] 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
S1 S2 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
2
S
1
S
2
S
1
S
2
S
1
S
2
S
2
S
1
S
2
S
1
S
2
S
1
S
2