Fnc189 - Hcmov / High-Speed Counter Move - Mitsubishi FX3G Series Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
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
DHCMOV
• The current value of a high-speed counter or ring counter specified in
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
590
Series
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
FNC189
S
D
S
Device
C235 to C255
D8099
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
Description
1
handled as transfer source
Word Devices
Special
System User
Unit
T
C D
R U \G
n
D
D
[
+1,
Current value of high-speed counter
D8099 →
D
D
"0" is stored in
+1.
Current value of [D8399, D8398] → [
Operation
3UC
24 Others – FNC181 to FNC189
Mnemonic
Operation Condition
13 steps DHCMOV
Con-
Real
Index
stant
Number
V
Z
Modify K
H
E
*1
can be specified.
is transferred to [
S
] after instruction is executed
→ [
S
D
+1,
D
D
D
+1,
]
PLCs before Ver. 2.20.
Continuous
Operation
Data Type
32-bit binary
16-bit binary
Others
Charac-
Pointer
ter String
" "
P
+1,
].
D
D
]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents