Download Print this page

High-Speed Current Value Transfer Instruction - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

14.2

High-speed Current Value Transfer Instruction

High-speed current value transfer of 16-bit data
HCMOV(P)
These instructions read and write (updates) special register for high-speed counter, pulse width measurement, PWM, and
positioning.
Ladder diagram
(s)
FBD/LD
EN
ENO
s
d
n
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s)
Transfer source device number
(d)
Transfer destination device number
(n)
Specification to clear the device value of the transfer source after the transfer
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s)
(d)
(n)
Processing details
These instructions transfer the data in the device specified by (s) to the device specified by (d). At this time, if the value of (n)
is K0, the value of (s) is not cleared. If the value of (n) is K1, the value of (s) is cleared to "0" after the transfer. The value is
cleared only for the SD8099 special device supporting high-speed transfer.
When (s) is a device supporting high-speed transfer
• When the HCMOV instruction is executed, the latest value is acquired such as the current value of a high-
speed counter and transferred to (d).
When (d) is a device supporting high-speed transfer
• When the HCMOV instruction is executed, value such as the current value of a high-speed counter is
changed.
14 HIGH-SPEED COUNTER INSTRUCTION
816
14.2 High-speed Current Value Transfer Instruction
(d)
(n)
Word
T, ST, C, D, W,
U\G
SD, SW, R
Structured text
ENO:=HCMOV(EN,s,n,d);
ENO:=HCMOVP(EN,s,n,d);
Range
Data type
Bit/16-bit signed binary
Bit/16-bit signed binary
K0, K1
16-bit unsigned binary
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
Data type (label)
ANY_ELEMENTARY
ANY_ELEMENTARY
ANY16_U
BOOL
BOOL
Constant
Others
K, H
E
$

Hide quick links:

Advertisement

loading