![]() |
FORCED VALUES NOT TAKEN INTO ACCOUNT
This procedure overwrites the values in State memory WITHOUT regard to possible forced values in the reference data editor. This can produce serious process conditions.
Failure to follow these instructions can result in death, serious injury, or equipment damage.
|
LD InputData SET_BIT BitNumber ST OutputRegister
OutputRegister := SET_BIT (InputData, BitNumber);
Parameter
|
Data type
|
Description
|
---|---|---|
OutputRegister
|
Output
|
Base
|
Lower limit
|
Upper limit
|
---|---|---|
Hexadecimal
|
16#0
|
16#FFFF
|
Octal
|
8#0
|
8#177777
|
Binary
|
2#0
|
2#1111111111111111
|
Data
|
Representation in one of the bases
|
---|---|
0000000011010011
|
16#D3
|
1010101010101010
|
8#125252
|
0000000011010011
|
2#11010011
|