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 #638 background imageLoading...
Page #638 background image
636
9 HIGH-SPEED COUNTER INSTRUCTION
9.1 High-speed Processing Instruction
Reset 32-bit data comparison
DHSCR
This instruction compares the value counted by a high-speed counter with a specified value, and immediately resets a bit
device if the two values are equivalent to each other, or resets the high speed counter.
Setting data
Descriptions, ranges, and data types
Applicable devices
Processing details
When the current value of a high-speed counter of the channel specified in (s2) becomes the comparison value (s1) (for
example, when the current value changes from "199" to "200" or from "201" to "200" if the comparison value is K200), the
bit device (d) is reset to OFF regardless of the scan time. For details, refer to User's manual [Application].
Use DHSCR if the output should be given when the counting result becomes equivalent to the comparison
value regardless of the scan time of the CPU module.
When the number of instructions that can be simultaneously used is exceeded, use a general-purpose
comparison instruction.
Ladder diagram Structured text
ENO:=DHSCR(EN,s1,s2,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 the data to be compared
-2147483648 to
+2147483647
32-bit signed binary ANY32
(s2) Channel number of a high-speed counter K1 to 8 32-bit signed binary ANY32
(d) Bit device number to be reset (set to OFF) when both values
become equivalent to each other, or channel number of self-reset
high speed counter
Bit/32-bit signed
binary
ANY_ELEMENTARY
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) 
(d)  
(s1) (s2) (d)
DHSCR
=
(s1) (s2) (d) (s1) (s2) (d)
Reset
Comparison
value
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