Mitsubishi Electronics Mitsubishi Digital Electronics Video Gaming Accessories FX3G ユーザーズマニュアル
595
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
24 Others – FNC181 to FNC189
24.5 FNC189 – HCMOV / High Speed Counter Move
21
FN
C
160
-F
-F
N
C
16
9
R
eal
T
T
im
e C
lock
C
ont
ro
ro
l
22
FN
C
170-
FN
FN
C
179
E
xte
rnal D
evice
23
FN
C
C
180
A
lter
nate
In
st
ru
ct
ions
24
FN
C
181-
FN
FN
C
18
9
O
ther
s
s
25
FN
C
190-
FN
FN
C
199
B
lock D
ata
O
per
ation
ation
26
FN
C2
00
-F
NC
20
20
9
C
ha
racter
S
tring
Co
ntro
ntro
l
27
FN
C
210-
FN
FN
C
21
9
Da
ta
O
per
ati
ati
on 3
28
FN
C
220-
FN
FN
C
249
Da
ta
C
om
par
ison
29
FN
C
25
0-F
N
C
269
D
ata T
abl
e
abl
e
O
per
at
at
ion
30
FN
C
270-
FN
FN
C
274
Ex-
D
D
ev
ice
Inv
ert
ert
er
Com
m
s
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.
The function of this instruction varies depending on the PLC version.
1. Instruction format
2. Set data
3. Applicable devices
S: Only high speed counters (C235 to C255) and ring counters (D8099 and D8398)
*1
can be specified.
Explanation of function and operation
1. 32-bit operation (DHCMOV)
• The current value of a high speed counter or ring counter specified in
is transferred to [
+1,
].
• 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":
*1.
Ring counters (D8099 and D8398) cannot be specified in FX
3UC
PLCs before Ver.2.20.
Operand Type
Description
Data Type
Device number of high speed counter or ring counter*
1
handled as transfer source
32-bit binary
Device number handled as transfer destination
n
Specification to clear the current value of high speed counter or ring counter*1 (transfer
source) after transfer [clear (K1), no clear (K0)]
source) after transfer [clear (K1), no clear (K0)]
16-bit binary
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS T C D R U
\G
V
Z Modify K H
E
"
"
P
S S
3 3
n
3 3
Device
[
+1,
] after instruction is executed
High speed counter
C235 to C255
Current value of high speed counter
→ [
+1,
]
Ring counter
*1
D8099
D8099
→
"0" is stored in
+1.
D8398
Current value of [D8399, D8398]
→ [
+1,
]
"n" set value
Operation
K0 (H0)
Does not clear the current value (no processing).
K1 (H1)
Clears the current value to "0".
D
FNC 189
HCMOV
Mnemonic
Operation Condition
16-bit Instruction
13 steps DHCMOV
Mnemonic
Operation Condition
Continuous
Operation
32-bit Instruction
⎯
⎯
⎯
⎯
S
D
S
D
FNC189
DHCMOV
n
S
D
Command
input
S
D
D
S
D
D
S
D
D
D
D
D
D