EasyManuals Logo

Mitsubishi MELSEC iQ-F FX5 series User Manual

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #646 background imageLoading...
Page #646 background image
644
9 HIGH-SPEED COUNTER INSTRUCTION
9.2 High-speed Current Value Transfer Instruction
9.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.
Setting data
Descriptions, ranges, and data types
Applicable devices
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 special devices 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.
Effect of HCMOV instruction
By using both input interrupt and HCMOV instruction, the current value of a high-speed counter can be received at the
rising edge or falling edge of an external input.
When HCMOV instruction is used just before a comparison instruction (CMP, ZCP or comparison contact instruction), the
latest value of the high-speed counter is used in comparison.
Ladder diagram Structured text
ENO:=HCMOV(EN,s,n,d);
ENO:=HCMOVP(EN,s,n,d);
Operand Description Range Data type Data type (label)
(s) Transfer source device number Bit/16-bit signed binary ANY_ELEMENTARY
(d) Transfer destination device number Bit/16-bit signed binary ANY_ELEMENTARY
(n) Specification to clear the device value of the transfer source after the transfer K0, K1 16-bit unsigned binary ANY16_U
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s) 
(d) 
(n) 
(s) (d) (n)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC iQ-F FX5 series and is the answer not in the manual?

Mitsubishi MELSEC iQ-F FX5 series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC iQ-F FX5 series
CategoryController
LanguageEnglish

Related product manuals