Fnc 54 - Hscr / High Speed Counter Reset - Mitsubishi Electric MELSEC FX3U Programming Manual

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
13.5
FNC 54 – HSCR / High Speed Counter Reset
Outline
This instruction compares the value counted by a high speed counter with a specified value at each count,
and immediately resets an external output (Y) when both values become equivalent to each other.
1. Instruction format
FNC 54
D
HSCR
2. Set data
Operand Type
S
1
S
2
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
D
1: "D .b" is available only in FX
2: The same counter as
3: This function is supported only in FX
Explanation of function and operation
1. 32-bit operation (DHSCR)
When the current value of a high speed counter (C235 to C255) specified in
value [
+1,
S
1
"200" if the comparison value is K200), the bit device
cycle. In this instruction, the comparison processing is executed after the counting processing in the high
speed counter.
Command
input
Mnemonic
16-bit Instruction
Data to be compared with the current value of a high speed counter or word
device number storing the data to be compared
Device number of a high speed counter [C235 to C255]
Bit device number to be reset (set to OFF) when both values become equivalent
each other.
Digit Specification
1
and FX
3U
can be specified also. (Refer to the program example shown later.)
S
2
/FX
3U
] (for example, when the current value changes from "199" to "200" or from "201" to
S
1
K2,147,483,647
S
2
Comparison
Comparison
value
source
FNC 54
S
S
1
2
DHSCR
13 High Speed Processing – FNC 50 to FNC 59
13.5 FNC 54 – HSCR / High Speed Counter Reset
Operation Condition
32-bit Instruction
13 steps DHSCR
Description
Word Devices
System
Special
Index
User
Unit
V Z Modify
3
2
PLCs. However, index modifiers (V and Z) are not available.
3UC
PLCs.
3UC
is reset (set to OFF) regardless of the operation
D
Output
destination
D
S
=
S
1
2
Mnemonic
Operation Condition
Continuous
Operation
Data Type
32-bit binary
32-bit binary
Bit
Others
Real
Charac-
Constant
Number
ter String
K
H
E
" "
becomes the comparison
S
2
Reset.
D
11
12
13
14
15
Pointer
P
16
17
18
19
20
371

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents