EasyManuals Logo

Mitsubishi MELSEC iQ-F FX5 series User Manual

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #640 background imageLoading...
Page #640 background image
638
9 HIGH-SPEED COUNTER INSTRUCTION
9.1 High-speed Processing Instruction
Comparison of 32-bit data band
DHSZ
This instruction compares the current value of a high-speed counter with two values (one zone), and outputs the comparison
result (refresh).
Setting data
Descriptions, ranges, and data types
Applicable devices
*1 T, ST, C cannot be used.
Processing details
The current value of a high-speed counter specified in (s3) is compared with two comparison points (comparison value 1
and comparison value 2). Based on the zone comparison result, "smaller than the lower comparison value", "inside the
comparison zone" or "larger than the upper comparison value", one among (d), (d)+1 and (d)+2 is set to ON regardless of
the scan time. For details, refer to User's manual [Application].
Make sure that the comparison value 1 and the comparison value 2 have the following relationship: [Comparison value 1]
[Comparison value 2]. When the setting differs from the above, an operation error occurs and the DHSZ instruction will not
perform any operation.
Ladder diagram Structured text
ENO:=DHSZ(EN,s1,s2,s3,d);
Operand Description Range Data type Data type (label)
(s1) 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)
-2147483648 to
+2147483647
32-bit signed binary ANY32
(s2) 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)
-2147483648 to
+2147483647
32-bit signed binary ANY32
(s3) Channel number of a high-speed counter or the device number of
the current value of a high-speed counter
K1 to 8 32-bit signed binary ANY32
(d) Head bit device number to which the comparison result is output
based on the comparison value 1 and the comparison value 2
Bit ANY_BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s1) 
(s2) 
(s3) 
(d) 
*1

(s1) (s2) (s3) (d)
DHSZ

+1
+2
(s1) (s2) (d)(s3)
(s1)
(s1)
(s3)
(s3)
(s3)
(s2)
(s2)
(d)
(d)
(d)
Comparison
value 1
Set
Comparison
value 2
Comparison
source
Output
destination
Command
input

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC iQ-F FX5 series and is the answer not in the manual?

Mitsubishi MELSEC iQ-F FX5 series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC iQ-F FX5 series
CategoryController
LanguageEnglish

Related product manuals