Y_YA_UnpackByte
This function block converts a byte into discrete bits
Parameters:
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_INPUT | ||||
| B | Enable | BOOL | The function will continue to execute every scan while Enable is TRUE and there are no errors. | FALSE |
| B | InputByte | BYTE | The input data to be separated into bits. | BYTE#0 |
| VAR_OUTPUT | ||||
| B | Valid | BOOL | Indicates that the function is operating normally and the outputs of the function are valid. |
|
| V | Bit0 | BOOL | Bit 0 of the InputByte | |
| V | Bit1 | BOOL | Bit 1 of the InputByte | |
| V | Bit2 | BOOL | Bit 2 of the InputByte | |
| V | Bit3 | BOOL | Bit 3 of the InputByte | |
| V | Bit4 | BOOL | Bit 4 of the InputByte | |
| V | Bit5 | BOOL | Bit 5 of the InputByte | |
| V | Bit6 | BOOL | Bit 6 of the InputByte | |
| V | Bit7 | BOOL | Bit 7 of the InputByte | |
Notes:
Error Description:
No errors are expected from this function block.