Справочник Пользователя для Mitsubishi Electronics FXCPU

Скачать
Страница из 838
24 Applied Instructions (Others)
24.5 DHCMOV / High Speed Counter Move
596
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
24.5
DHCMOV / High Speed Counter Move
Outline
This instruction transfers the current value of a specified high speed counter or ring counter.
The function of this instruction varies depending on the PLC version.
1. Format and operation, execution form 
2. Set data
3. Applicable devices
S: Refer to "Cautions"
Function and operation explanation
1. 32-bit operation (DHCMOV)
1) The current value of a high speed counter or ring counter specified by 
 is transferred to the device
specified by 
.
FX
3U(C)
FX
3G(C)
FX
3S
FX
2N(C)
FX
1N(C)
FX
1S
FX
U
/FX
2C
FX
0N
FX
0(S)
Instruction 
name
Operation
Execution 
form
Expression in each language
Structured ladder/FBD
ST
DHCMOV
32 bits
Continuous
DHCMOV(EN,s,n,d);
Variable
Description
Data type
Input
variable
EN
Execution condition
Bit
Device of high speed counter or ring counter handled as transfer source
ANY32
Specification to clear the current value of high speed counter or ring counter
(transfer source) after transfer [clear (k1), no processing (K0)]
ANY32
Output
variable
ENO
Execution state
Bit
Device handled as transfer destination
ANY32
Operand 
type
Bit Devices
Word Devices
Others
System user
Digit specification
System user
Special 
unit
Index
Cons
tant
Real 
Number
Character 
String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS T C
D
R U
\G
V Z Modifier K H
E
"
"
P
S1 S1
z z
z z
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,
]
DHCMOV
EN
ENO
d
s
n
DHCMOV
EN
ENO
d
s
n
Specification to clear the current
value of high speed counter or ring
counter (transfer source) after transfer
Command
input
Device of high speed counter or ring 
counter handled as transfer source
Device handled as transfer destination