EasyManua.ls Logo

Inovance H3U Series - Data Transfer; MOV Value Transfer

Inovance H3U Series
737 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
Loading...
169
4
4 Instructions 4.5.2 Data Transfer
4.5.2 Data Transfer
MOV: Value transfer
Overview
The MOV instruction copies the data at the source address S to the destination address D.
MOV S D
Value transfer Applicable model:
H3U
S Data source
Data to be transferred, or address of the word
element that stores the data
16-bit instruction
(5 steps)
MOV: Continuous
execution
MOVP: Pulse
execution
32-bit instruction (9
steps)
DMOV: Continuous
execution
DMOVP: Pulse
execution
D
Destination to
which data is
copied
Address of the word element that stores the data
copied to a destination
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
Function
The MOV instruction requires contact driving and has two operands. It copies the value in S to D.
When the 32-bit instruction (DMOV) is executed, S and D use adjacent variable units with high-numbered
addresses.
For example, the statement [DMOV D1 D5] gets the result D1 -> D5; D2 -> D6.
Example:
M0
ǒMOV K4 D2Ǔ
S D
M1
ǒMOV D0 D12Ǔ
M2
ǒMOV T0 D22Ǔ
M3
ǒMOV K4X0 D32Ǔ
M4
ǒDMOV C235 D42Ǔ
Ladder chart
Instruction list
LD M0
MOV K4 D2
LD M1
MOV D0 D12
LD M2
MOV T0 D22
LD M3
MOV K4X0 D32
LD M4
DMOV C235 D42
When M0 = ON, the content of K4 is copied to D2. When M0 switches from ON
to OFF, the content (K4) of D2 remains unchanged, unless the user program
modifies the value in D2 again. The value in D2 changes to 0 when the PLC
switches from STOP to RUN or is powered on again. The value remains
unchanged when the registers with support for retention upon power failure are
powered on or switch from STOP to RUN.

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals