Fnc 55 - Hsz / High-Speed Counter Zone Compare - Mitsubishi Electric FX3G SERIES Programming Manual

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
13.6
FNC 55 – HSZ / High-Speed Counter Zone Compare
Outline
This instruction compares the current value of a high-speed counter with two values (one zone), and outputs the
comparison result to three bit devices (refresh).
1. Instruction format
FNC 55
D
HSZ
2. Set data
Operand Type
S
1
S
2
S
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X
Y
M T C S D .b KnX KnY KnM KnS T C D R U \G
S
1
S
2
S
D
1: "D .b" is available only in FX
2: This function is supported only in FX
Explanation of function and operation
1. 32-bit operation (DHSZ)
The current value of a high-speed counter (C235 to C255) specified in
(comparison value 1 and comparison value 2). Based on the comparison result, "smaller than the lower comparison
value", "inside the comparison zone" or "larger than the upper comparison value", one among
D
+2 is set to ON regardless of the operation cycle.
In this instruction, the comparison processing is executed after the count processing in the high-speed counter.
Command
input
→ For the table high-speed comparison mode, refer to Subsection 13.6.2.
Mnemonic
16-bit Instruction
Data to be compared with the current value of a high-speed counter or word device
number storing data to be compared (comparison value 1)
Data to be compared with the current value of a high-speed counter or word device
number storing data to be compared (comparison value 2)
Device number of a high-speed counter [C235 to C255]
Head bit device number to which the comparison result is output based on upper and
lower comparison values
Digit Specification
1
and FX
3U
3UC
/FX
3U
3UC
K2,147,483,647
S
Comparison
Comparison
value 1
value 2
FNC 55
S
S
1
2
DHSZ
13 High-Speed Processing – FNC 50 to FNC 59
13.6 FNC 55 – HSZ / High-Speed Counter Zone Compare
→ For the frequency control mode, refer to Subsection 13.6.3.
Operation Condition
32-bit Instruction
17 steps DHSZ
Description
Word Devices
Special
System User
Index
Unit
V Z Modify
2
2
PLCs. However, index modifiers (V and Z) are not available.
PLCs.
S
is compared with two comparison points
Comparison
Output
source
destination
S
1
S
D
S
1
Mnemonic
Operation Condition
Continuous
Operation
Data Type
32-bit binary
32-bit binary
32-bit binary
Bit
Others
Real
Charac-
Constant
Number
ter String
K
H
E
" "
D
,
D
Set to ON.
>
S
D
+1
S
S
D
2
>
+2
S
S
D
2
11
12
13
14
15
Pointer
P
16
17
18
+1 and
19
20
359

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents