FUNCTION_BLOCK BIT_AS_BYTE
Converts 8 input values of data type BOOL into an output value of data type byte
InOut:
Scope |
Name |
Type |
Comment |
Input |
B0 |
BOOL |
Input bit 0 |
B1 |
BOOL |
Input bit 1 |
|
B2 |
BOOL |
Input bit 2 |
|
B3 |
BOOL |
Input bit 3 |
|
B4 |
BOOL |
Input bit 4 |
|
B5 |
BOOL |
Input bit 5 |
|
B6 |
BOOL |
Input bit 6 |
|
B7 |
BOOL |
Input bit 7 |
|
Output |
B |
BYTE |
Output value |