Y_YA_PackWord
This function converts 16 Boolean inputs to a single WORD output.
Parameters:
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
|
VAR_INPUT
|
||||
| B | EN | BOOL | This function will be called when EN = TRUE |
|
| V | Bit0 | BOOL | Bit 0 of the WORD to be output |
|
| V | Bit1 | BOOL | Bit 1 of the WORD to be output |
|
| V | Bit2 | BOOL | Bit 2 of the WORD to be output |
|
| V | Bit3 | BOOL | Bit 3 of the WORD to be output |
|
| V | Bit4 | BOOL | Bit 4 of the WORD to be output |
|
| V | Bit5 | BOOL | Bit 5 of the WORD to be output |
|
| V | Bit6 | BOOL | Bit 6 of the WORD to be output |
|
| V | Bit7 | BOOL | Bit 7 of the WORD to be output |
|
| V | Bit8 | BOOL | Bit 8 of the WORD to be output |
|
| V | Bit9 | BOOL | Bit 9 of the WORD to be output |
|
| V | Bit10 | BOOL | Bit A of the WORD to be output |
|
| V | Bit11 | BOOL | Bit B of the WORD to be output |
|
| V | Bit12 | BOOL | Bit C of the WORD to be output |
|
| V | Bit13 | BOOL | Bit D of the WORD to be output |
|
| V | Bit14 | BOOL | Bit E of the WORD to be output |
|
| V | Bit15 | BOOL | Bit F of the WORD to be output |
|
| VAR_OUTPUT | ||||
| B | ENO | BOOL | ENO = TRUE when EN = TRUE and the function is operating normally |
|