← All exercises

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.

Inputs and outputs

TagTypeDefaultDescription
In_WordDINT5Packed input word
Out_00BOOL
Out_01BOOL
Out_02BOOL
Out_03BOOL
Out_04BOOL
Out_05BOOL
Out_06BOOL
Out_07BOOL

Required behavior