Mitsubishi FX3U Series Programming Manual page 338

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
Comparison points
Make sure that the comparison value 1 and the comparison value 2 have the following relationship:
[
+1,
S
S
1
1
Comparison point
Comparison value 1
Comparison value 2
Operation
When the current value of the high speed counter C251 changes (counts) as shown below, the comparison
result is output to either of the outputs Y000, Y001 and Y002.
M8000
RUN monitor
Comparison pattern
>
S
S
1
S
S
1
<
S
Related instructions
The following instructions can be combined with high speed counters:
Instruction
DHSCS
DHSCR
DHSZ
DHCMOV
DHSCT
Cautions
1. Selection of the count comparison method
When DHSZ instruction is used, 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 of each counter and the total frequency are affected.
Refer to the counting operation described below, and select according to the contents of control whether to
use DHSZ instruction or general-purpose comparison instruction.
1) Case to select DHSZ instruction
- When the output should be given when the counting result becomes equivalent to the comparison value
without regard to the scan time of the PLC
336
] ≤ [
+1,
]
S
S
2
2
Contents (32 bits)
S
+1,
S
1
1
S
+1,
S
2
2
K2,147,483,647
C251
Comparison
Comparison
value 1
value 2
FNC 55
K1000
K2000
DHSZ
Current value of C251
1000 >
S
999 → 1000
999 ← 1000
999 → 1000
999 ← 1000
1000 ≤
≤ 2000
S
S
2
2000 → 2001
2000 ← 2001
2000 → 2001
2000 ← 2001
S
2
> 2000
S
FNC No.
FNC 53
High speed counter set
FNC 54
High speed counter reset
FNC 55
High speed counter zone compare
FNC189
High speed counter move
FNC280
High speed counter compare with data table
13 High Speed Processing – FNC 50 to FNC 59
13.6 FNC 55 – HSZ / High Speed Counter Zone Compare
Comparison
Output
source
destination
K1000 > C251
C251
Y000
K1000 ≤ C251 ≤ K2000
Change of output contact (Y)
Y000
ON
ON → OFF
OFF → ON
OFF → ON
ON → OFF
ON → OFF
OFF → ON
OFF → ON
ON → OFF
OFF
ON → OFF
OFF
OFF → ON
OFF
ON → OFF
OFF
OFF → ON
OFF
OFF
Instruction name
ON
→ Y000
→ Y001
C251 > K2000
→ Y002
Y001
Y002
OFF
OFF
OFF
OFF
OFF
OFF
ON
OFF
OFF → ON
ON → OFF
OFF → ON
ON → OFF
OFF
ON

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents