BCD_TO_WORD (FUN [...] binary code Use WORD_TO_BCD for the reverse
in BCD code Use BCD_TO_BYTE for the [...] BYTE_TO_BCD (FUN
DWORD in BCD code Use BCD_TO_DWORD for [...] code for the input X
INT_TO_BCD (FUN) ¶ FUNCTION INT_TO_BCD [...] 151 *) l := BCD_TO_INT
WORD_TO_BCD (FUN [...] into one WORD in BCD code Use BCD
Bit/Byte Functions ¶ BIT_AS_BYTE (FunctionBlock) BIT
BIT_AS_BYTE (FB) ¶ FUNCTION_BLOCK BIT [...] InOut: Scope Name
bit 0 B01 BOOL Input bit 1 B02 BOOL Input bit 2 B03 BOOL
bit 0 B01 BOOL Input bit 1 B02 BOOL Input bit 2 B03 BOOL
BYTE_AS_BIT (FB) ¶ FUNCTION_BLOCK BYTE_AS_BIT [...] data type BOOL InOut