Mitsubishi Electronics FXCPU Video Game Controller User Manual


 
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 .
FX3U(C) FX3G(C) FX3S FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(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
XYMTCS
D.b
KnX KnY KnM KnS T C D R
U\G
VZModifierKH E
""
P
S1 S1
zz
zz
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