FB_KL85xx16BitToWord
Application
This function block converts 16 bits to 1 word.
VAR_INPUT
b01 : BOOL;
b02 : BOOL;
b03 : BOOL;
b04 : BOOL;
b05 : BOOL;
b06 : BOOL;
b07 : BOOL;
b08 : BOOL;
b09 : BOOL;
b10 : BOOL;
b11 : BOOL;
b12 : BOOL;
b13 : BOOL;
b14 : BOOL;
b15 : BOOL;
b16 : BOOL;
b01: Bit 0
b02: Bit 1
b03: Bit 2
b04: Bit 3
b05: Bit 4
b06: Bit 5
b07: Bit 6
b08: Bit 7
b09: Bit 8
b10: Bit 9
b11: Bit 10
b12: Bit 11
b13: Bit 12
b14: Bit 13
b15: Bit 14
b16: Bit 15
VAR_OUTPUT
wOut : WORD;
wOut: Word composed of the 16 bits.