Y_YA_PackByte
This function converts 8 BOOL inputs to a single BYTE output.
Parameters:
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_INPUT | ||||
| B | EN | BOOL | This function will execute as long as EN = TRUE |
|
| V | Bit0 | BOOL | Bit 0 of the BYTE to be output | FALSE |
| V | Bit1 | BOOL | Bit 1 of the BYTE to be output | FALSE |
| V | Bit2 | BOOL | Bit 2 of the BYTE to be output | FALSE |
| V | Bit3 | BOOL | Bit 3 of the BYTE to be output | FALSE |
| V | Bit4 | BOOL | Bit 4 of the BYTE to be output | FALSE |
| V | Bit5 | BOOL | Bit 5 of the BYTE to be output | FALSE |
| V | Bit6 | BOOL | Bit 6 of the BYTE to be output | FALSE |
| V | Bit7 | BOOL | Bit 7 of the BYTE to be output | FALSE |
| VAR_OUTPUT | ||||
| B | ENO | BOOL | ENO = TRUE as long as EN = TRUE and the function is operating normally |
|