Name :The bits are integrated into WORD

Symbol :BIT_AS_WORD

Illustrate:

        Consolidate Boolean data into cWORD

Image:

Parameter:

Parameter | Statement | Type | Description
--- | --- | --- | ---
IN | B01,B02,B03,...,B15 | BOOL |
    Enter a value
OUT | W | WORD |
    Output value

Example:

LD:

ST:

BIT_AS_WORD(B00 := , B01 := , B02 := , B03 := , B04 := , B05 := , B06 := , B07 := , B08 := , B09 := , B10 := , B11 := , B12 := , B13 := , B14 := , B15 := , W => );

Interpretation:

parameter | operand | value
--- | --- | ---
IN | B00,B01,B02,...,B15 | Enter a value：BOOL
OUT | W | Output value：WORD

        Enter BOOL (TRUE, FALSE) data in IN and OUT output WORD data.