Chapter 8 Logic Instructions
8.4 Data Movement Instructions
8.4.1 MOVE
FB/FC
Explanation
FC
Move is used for moving data. DVP15MC11T
Parameters
Meaning
Description Valid range
In
Input Move Source
Depends on the data type of the variable
that the input parameter is connected to.
Out
Output
signal
Output Move destination
Depends on the data type of the variable
that the output parameter is connected
Boolean
Bit string Integer
Real
number
Time, date
String
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
In
● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●
Out
● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ● ●
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
The Move instruction moves the value of move source In to move destination Out.
The instruction supports the transmission of the values of array elements.
Precautions for Correct Use
The data type of Out must be the same as that of In. Otherwise, an error will occur in the compiling of
the software.
Programming Example
The variable table and program
Variable name Data type Current value
1
MOVE
EN ENO
In Out
MOVE_EN
MOVE_In Out1
8-17