18 the l_sdc_dataconversion.lib library, 1 l_sdc_2bytestoword - type converter, 2 l_sdc_2wordstodword - type converter – Lenze PLC Designer V2.x User Manual
Page 301: Plc designer v2.x| lenze application samples
1.3 EN - 07/2012
L
301
PLC Designer V2.x| Lenze Application Samples
The L_SDC_DataConversion.lib library
L_SDC_2BytesToWord - type converter
18
The L_SDC_DataConversion.lib library
18.1
L_SDC_2BytesToWord - type converter
This function converts two input values of the "BYTE" type to an output value of the
"WORD" type.
Inputs
Output signal
L_SDC_2BytesToWord - value of the "WORD" type according to the input values
transferred
18.2
L_SDC_2WordsToDWord - type converter
This function converts two input values of the "WORD" type to an output value of the
"DWORD" type.
Inputs
Output signal
L_SDC_2WordsToDWord - value of the "DOUBLE WORD" type according to the input values
transferred
Identifier/data type
Information/possible settings
byInput1
BYTE
Input value 1 ≡ bit 0 ... bit 7 of L_SDC_2BytesToWord
byInput2
BYTE
Input value 2 ≡ bit 8 ... bit 15 of L_SDC_2BytesToWord
Identifier/data type
Information/possible settings
wInput1
WORD
Input value 1 ≡ bit 0 ... bit 15 of L_SDC_2WordsToDWord
wInput2
WORD
Input value 2 ≡ bit 16 ... bit 31 of L_SDC_2WordsToDWord