DVP15MC11T Operation Manual
8.4.4 MoveDigit
FB/FC
Explanation
FC
MoveDigit is used for moving digits. DVP15MC11T
Parameters
name
Meaning
Output
Description Valid range
In
Input
Move source
Depends on the data type of the variable
that the input parameter is connected to.
InPos
Input
In
Depends on the data type of the variable
that the input parameter is connected to.
InOutPos
Input
Input
Position of digit in Out to
Depends on the data type of the variable
that the input parameter is connected to.
Size
Input
Number of digits to move
Depends on the data type of the variable
that the input parameter is connected to.
InOut
Input
Move destination
Depends on the data type of the variable
that the input parameter is connected to.
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
● ● ● ● ● ● ● ●
InPos
●
InOutPos
●
Size
●
InOut
● ● ● ● ● ● ● ●
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
MoveDigit moves Size digits from InPos of move source In to InOutPos of move destination InOut.
Precautions for Correct Use
The instruction has no output but input parameter.
The move can not be performed if the value of Size is 0.
If the value of InPos exceeds the range of the data type of In, the move will not be performed.
MoveDigit
EN ENO
In
InPos
InOutPos
Size
InOut
8-22