Chapter 8 Logic Instructions
8-337
Read and Write Offset Bit Value
FB/FC
FC
SetBitOffsetValue is used to set the value of the specific bit of the
specified address to TRUE or FALSE.
SetBitOffsetValue
StartRegister
Offset
Value
EN ENO
Parameters
Parameter name Meaning
Description Valid range
StartRegister Starting address Input Specify the starting address
Offset
How many bits
are offset
Input
Specify the offset value by
regarding the bit0 of the
variable that StartRegister
points to as the reference.
0~1023
Value Input value Input Input a specified bit value TRUE / FALSE
Boolean
Bit string Integer
Real
number
Time, date
Pointer
BOOL
BYTE
UINT
SINT
INT
DINT
REAL
Pointer To XX
●
Offset
●
●
Value
●
Note:
1. The symbol ● indicates that the parameter is allowed to connect to the variable or constant of the
data type.
2. xx of the ‘Pointer To xx’ data type includes Bit string and Integer data types.