Fnc189 - Hcmov / High-Speed Counter Move - 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
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
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
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*
Device number handled as transfer destination
Specification to clear the current value of high-speed counter or ring counter*1 (transfer
source) after transfer
[clear (K1), no clear (K0)]
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 source
Word Devices
Special
System User
Unit
T
C D R U \G
V
Z Modify K
n
S
D
D
[
+1,
] 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
H
E
" "
*1
can be specified.
is transferred to [
+1,
D
→ [
S
D
D
+1,
]
D
D
+1,
]
21
22
23
24
25
Pointer
P
26
27
].
D
28
29
30
597

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents