Mitsubishi Electronics FX3UC Garage Door Opener User Manual


 
361
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
Cautions
1. Selection of the count comparison method
1) FX3U/FX3UC PLCs
When the HSZ instruction is used in FX
3U/FX3UC PLCs, hardware counters (C235, C236, C237, C238, C239,
C240, C244 (OP), C245 (OP), C246, C248 (OP), C251 and C253) are automatically switched to software
counters, and the maximum frequency and total frequency of each counter are affected.
Refer to the counting operation described below, and select according to the contents of control whether to use
the DHSZ instruction or general-purpose comparison instruction.
a) Case to select the DHSZ instruction
- When the output should be given when the counting result becomes equivalent to the comparison value
regardless of the scan time of the PLC
b) Cases to select a general-purpose comparison instruction
- When the frequency is beyond the counting performance of software counters (and below the counting
performance of hardware counters)
- When counting is important, but the effect of the scan time can be ignored in operations depending on the
counting result
- When one instruction is executed in 33 or more positions at the same time
2) FX
3S/FX3G/FX3GC PLCs
When the HSZ instruction is used in FX
3S/FX3G/FX3GC PLCs, the total frequency of each counter is affected.
Refer to the counting operation described below, and select according to the contents of control whether to use
the HSZ instruction or a general-purpose comparison instruction.
a) Case to select the HSZ instruction
- When the output should be given if the counting result becomes equivalent to the comparison value
regardless of the scan time of the PLC
b) Cases to select a general-purpose comparison instruction
- When counting is regarded as important, but the effect of the scan time can be ignored in operations
according to the counting result
- When one instruction is executed in 7 or more positions at the same time
M8000
FNC189
DHCMOV
C251 D100
Y010
K0
Y011
Y012
FNC225
LDD >
K10000 D100
FNC229
LDD <=
K10000 D100
FNC238
ANDD >=
K20000 D100
FNC226
LDD <
K20000 D100
M8000
FNC 50
REF
Y010 K8
M8000
Y010 K8
FNC 50
REF
FNC229
LDD<=
FNC225
LDD>
FNC226
LDD<
FNC238
ANDD>=
K10000
K10000
K20000
K20000
C251
C251
C251
C251
Y012
Y011
Y010