BITSR |
This function block allow you to specify a value (Set/Reset) for a particular bit into a 16-bits word. The bit specified by the input BITN (0..15), related to the word assigned to the REFERENCE field, is set to the value applied at the VAL pin when the EN (Enable) pin is active. The REFERENCE field in the property dialog must contain a valid word address specifier. The ENO output reflects the value applied on the EN pin.
Property settings
Parameter |
Description |
REFERENCE |
The REFERENCE field in the properties must refer to a word in the table. User can use a direct address identificator %Mx or specify a tag-name |
Net plugs
Plug |
Description |
EN |
Enable input |
|
|
ENO |
Enable output.The ENO output reflects the value applied on the EN pin |
|
|
BITN |
Bit to alter (0..15) |
|
|
VAL |
Value for the bit, 0 or 1 |