Fnc189 - Hcmov / High Speed Counter Move - 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
24.5
FNC189 – HCMOV / High Speed Counter Move
Outline
This instruction updates the current value of a specified high speed counter or ring counter.
The function of this instruction varies depending on the PLC version.
1. Instruction format
FNC 189
HCMOV
D
2. Set data
Operand Type
S
D
n
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
D
n
: Only high speed counters (C235 to C255) and ring counters (D8099 and D8398)
Explanation of function and operation
1. 32-bit operation (DHCMOV)
Command
input
FNC189
DHCMOV
• The current value of a high speed counter or ring counter specified in
].
D
Device
High speed counter
*1
Ring counter
• After transfer, the current value of the high speed counter or ring counter is processed as shown in the
table below depending on the set value of "n":
"n" set value
K0 (H0)
K1 (H1)
*1.
Ring counters (D8099 and D8398) cannot be specified in FX
Mnemonic
16-bit Instruction
Device number of high speed counter or ring counter*
source
Device number handled as transfer destination
Specification to clear the current value of high speed counter or ring counter*1
(transfer source) after transfer
Digit Specification
S
D
S
C235 to C255
Current value of high speed counter
D8099 →
D8099
"0" is stored in
D8398
Current value of [D8399, D8398] → [
Does not clear the current value (no processing).
Clears the current value to "0".
24.5 FNC189 – HCMOV / High Speed Counter Move
Operation Condition
32-bit Instruction
13 steps DHCMOV
Description
1
handled as transfer
[clear (K1), no clear (K0)]
Word Devices
Special
System User
Unit
V Z Modify K H
n
[
D
+1,
D
] after instruction is executed
D
D
+1.
Operation
PLCs before Ver.2.20.
3UC
24 Others – FNC181 to FNC189
Mnemonic
Operation Condition
Continuous
Operation
Data Type
32-bit binary
16-bit binary
Others
Con-
Real
Charac-
Index
stant
Number
ter String
E
" "
*1
can be specified.
is transferred to [
S
D
→ [
S
D
+1,
D
]
D
+1,
D
]
21
22
23
24
25
Pointer
P
26
27
28
+1,
29
30
625

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents