11 l_sdc_dwordto4bytes - type converter, 12 l_sdc_getbitofdword - conversion block, Plc designer v2.x| lenze application samples – Lenze PLC Designer V2.x User Manual
Page 308
PLC Designer V2.x| Lenze Application Samples
The L_SDC_DataConversion.lib library
L_SDC_DWordTo4Bytes - type converter
308
L
1.3 EN - 07/2012
Inputs
Outputs
18.11
L_SDC_DWordTo4Bytes - type converter
This FB converts an input value of the "DWORD" type to four output values of the "BYTE"
type.
Inputs
Outputs
18.12
L_SDC_GetBitOfDWord - conversion block
This function returns the status of an individual bit value within a "DWORD" value.
Identifier/data type
Information/possible settings
dwInput
DWORD
Input value
Identifier/data type
Information/possible settings
wOutput1
WORD
Output value 1 ≡ bit 0 ... bit 15 of dwInput
wOutput2
WORD
Output value 2 ≡ bit 16 ... bit 31 of dwInput
Identifier/data type
Information/possible settings
dwInput
DWORD
Input value
Identifier/data type
Information/possible settings
byOutput0
BYTE
Output value 1 ≡ bit 0 ... bit 7 of dwInput
byOutput1
BYTE
Output value 2 ≡ bit 8 ... bit 15 of dwInput
byOutput2
BYTE
Output value 3 ≡ bit 16 ... bit 23 of dwInput
byOutput3
BYTE
Output value 4 ≡ bit 24 ... bit 31 of dwInput