Chapter 8 Logic Instructions
8-21
FB/FC
FC
MoveBit is used for sending one bit in a string.
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
Input Move source bit
Depends on the data type of the variable
that the input parameter is connected to.
InOutPos
Input
Input Move destination bit
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
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.
1
MOVE
EN ENO
In Out
MOVE_EN
MOVE_In Out1
MoveBit
EN ENO
In
InPos
InOutPos
InOut