Bit Unpack
easy
Unpacks the low eight bits of a DINT word into eight BOOL outputs.
What it teaches
Read each DINT bit as a separate BOOL — the exact inverse of Bit Pack. This is the receive side of the story: a drive or another controller hands you one packed status word, and the bits have to fan out before your logic can act on ready, running, or faulted.
Parameters
| Tag | Direction | Type | Default | Description |
|---|---|---|---|---|
| In_Word | Input | DINT | 5 | Packed input word |
| Out_00 | Output | BOOL | 0 | — |
| Out_01 | Output | BOOL | 0 | — |
| Out_02 | Output | BOOL | 0 | — |
| Out_03 | Output | BOOL | 0 | — |
| Out_04 | Output | BOOL | 0 | — |
| Out_05 | Output | BOOL | 0 | — |
| Out_06 | Output | BOOL | 0 | — |
| Out_07 | Output | BOOL | 0 | — |
Required behavior
- Each output follows one bit of In_Word: Out_00 follows bit 0 through Out_07 following bit 7.
- Outputs update every scan as In_Word changes.
- Bits 8-31 of In_Word have no effect on the outputs.