Name :Byte transposition

Symbol :BYTE_AS_BIT

Illustrate:

        Split the byte data into bits

Image:

Parameter:

Parameter | Statement | Type | Description
--- | --- | --- | ---
IN | B | BYTE |
    Enter a value
OUT | B0,B1,B2,...,B7 | BOOL |
    Output value

Example:

LD:

ST:

BYTE_AS_BIT(B := , B0 => , B1 => , B2 => , B3 => , B4 => , B5 => , B6 => , B7 => );

Interpretation:

parameter | operand | value
--- | --- | ---
IN | B | Enter a value：BYTE
OUT | B00,B01,B02,...,B07 | Output value：BOOL

        In data of type BYTE type is entered, and data of type BOOL type is output in OUT field.