Mitsubishi Electric MELSEC FX3U Programming Manual page 377

Melsec fx series programmable logic controllers
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
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 one of the outputs Y000, Y001 or 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
+1,
]
S
S
2
2
Contents (32 bits)
+1,
S
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
C251
Y000
K1000 > C251
K1000 ≤ C251 ≤ K2000
Change of output contact (Y)
Y000
Y001
ON
OFF
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
OFF
Instruction name
ON
→ Y000
→ Y001
C251 > K2000
→ Y002
Y002
OFF
OFF
OFF
OFF
OFF
ON
OFF
OFF → ON
ON → OFF
OFF → ON
ON → OFF
ON
11
12
13
14
15
16
17
18
19
20
375

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents