![Beckhoff KL85 Series Documentation Download Page 52](http://html1.mh-extra.com/html/beckhoff/kl85-series/kl85-series_documentation_2719270052.webp)
Programming in TwinCAT
KL85xx und KL9309
52
Version: 2.1.0
VAR_IN_OUT
stInData : ST_KL8548InData;
stOutData : ST_KL8548OutData;
stInData:
Process image of the inputs (see ST_KL8548InData).
stOutData:
Process image of the outputs (see ST_KL8548OutData).
4.2.5
KL85xx - Helper
Function blocks
Description
Conversion from 16 bits to 1 Word
Conversion from 8 bits to 1 byte
Conversion from 1 byte to 8 bits.
Conversion from 1 word to 16 bits.
4.2.5.1
FB_KL85xx16BitToWord
Fig. 31: Function block 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
Summary of Contents for KL85 Series
Page 2: ......