Mitsubishi FX3G Series Programming Manual page 347

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

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
2)
FX
/FX
PLCs
3G
3GC
When the HSCS instruction is used in FX
Refer to the counting operation described below, and select according to the contents of control whether to use
the HSCS instruction or a general-purpose comparison instruction.
a) Case to select the HSCS 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
FNC229
LDD<=
2. Device specification range
Only high-speed counters (C235 to C255) can be specified as
3. Only 32-bit operation instructions are available.
Because instructions for high-speed counters are dedicated to 32 bits, make sure to input "DHSCS (FNC 53)".
4. Priority order in operation among HSCS (FNC 53), HSCR (FNC 54), and HSZ (FNC 55)
instructions for the same high-speed counter
→ For details, refer to "6. Priority order in operations among HSCS (FNC 53), HSCR (FNC 54), and HSZ (FNC
5. Reset operation by an external terminal
6. For other cautions on using HSCS instruction, refer to the description later.
Program example
With regard to the current value of a counter, different outputs (Y) are arbitrary set to ON by two values.
M8000
C255
RUN monitor
... 99
C255
0
Y010
Y011
Series
3G
K100
C251
FNC 50
REF
55) instructions for the same high-speed counter" in Subsection 13.4.1.
→ For details, refer to "5. Reset operation by an external terminal" in Subsection 13.4.1.
Set the maximum counting value of
high-speed counter.
K2,147,483,647
S
S
1
2
FNC 53
K100
C255
DHSCS
S
S
1
2
FNC 53
K150
C255
DHSCS
Comparison
Comparison
value
source
151
150
... 149
101
100
13 High-Speed Processing – FNC 50 to FNC 59
13.4 FNC 53 – HSCS / High-Speed Counter Set
/FX
PLCs, the total frequency of each counter is affected.
3GC
SET
Y010
Y010
K8
S
.
D
C255 = K100 → Y010 = ON
Y010
D
Y011
C255 = K150 → Y011 = ON
Output
destination
→ For details, refer to the next page.
11
12
13
14
15
16
17
18
19
20
345

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents