hit counter script

Mitsubishi Electric FX3G SERIES Programming Manual page 363

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Cautions
1. Selection of the count comparison method
1)
FX
/FX
PLC
3U
3UC
When the HSZ instruction is used in FX
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 the number in an instruction is more than 32
M8000
FNC225
LDD >
FNC229
LDD <= K10000
FNC226
LDD <
M8000
2)
FX
PLCs
3G
When the HSZ instruction is used in FX
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 an instruction is used 6 times or more
FNC225
LDD>
FNC229
LDD<=
FNC226
LDD<
M8000
/FX
3U
DHCMOV
K10000
D100
FNC238
D100
ANDD >= K20000
K20000
D100
PLCs, the total frequency of each counter is affected.
3G
K10000
C251
FNC238
K10000
C251
ANDD>=
K20000
C251
13 High-Speed Processing – FNC 50 to FNC 59
13.6 FNC 55 – HSZ / High-Speed Counter Zone Compare
PLCs, hardware counters (C235, C236, C237, C238, C239,
3UC
C251
D100
K0
Y010
D100
Y011
Y012
FNC 50
Y010
K8
REF
Y010
K20000
C251
Y011
Y012
FNC 50
Y010
K8
REF
11
12
13
14
15
16
17
18
19
20
361

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents