DVP15MC11T Operation Manual
8.4.3 TransBit
FB/FC
Explanation
FC
TransBit is used for sending one or more bits in a bit string. DVP15MC11T
Parameters
name
Meaning
Output
Description Valid range
In
Input
Input Move source
Depends on the data type of the variable
that the input parameter is connected to.
InPos
signal
Input Move source bit
Depends on the data type of the variable
that the input parameter is connected to.
InOutPos
Move destination bit
Depends on the data type of the variable
that the input parameter is connected to.
Size
Number of bits to move
Depends on the data type of the variable
that the input parameter is connected to.
InOut
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
TransBit moves data of Size bits from the bit InPos in move source In to the bit InOutPos in move
destination InOut.
Precautions for Correct Use
The instruction has no output but input.
The movement can not be performed if the value of Size is 0.
TransBit
EN ENO
In
InPos
InOutPos
Size
InOut
8-20