DVP15MC11T Operation Manual
8.4.2 MoveBit
FB/FC
Explanation
FC
MoveBit is used for sending one bit in a string. 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.
InPos
Input Move source bit
Depends on the data type of the variable
that the input parameter is connected to.
InOutPos
Input Move destination bit
Depends on the data type of the variable
that the input parameter is connected to.
InOut
Input
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
●
InOut
● ● ● ● ● ● ● ●
Note:
The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the data type.
Function Explanation
MoveBit moves one bit value from the bit position InPos in move source In to the bit position InOutPos in
move destination InOut.
Precautions for Correct Use
The instruction has no ouput but input.
If the value of InPos exceeds the range of the data type of In, the movement of one bit is not
performed.
If the value of InOutPos exceeds the range of the data type of InOut, the movement of one bit is not
performed.
MoveBit
EN ENO
In
InPos
InOutPos
InOut
8-18