7 l_tbconvdwordtobits, L_tbconvdwordtobits, Function library lenzeplctoolbox.lib – Lenze DDS Function library PLCToolBox User Manual
Page 15: Functions/function blocks
Advertising
Function library LenzePLCToolBox.lib
Functions/function blocks
2.7
L_TBConvDwordToBits
2−7
L
LenzePLCToolBox.lib EN 1.5
2.7
L_TBConvDwordToBits
This FB returns the 32 corresponding bit values for an input value of type "double word".
L_TBConvDwordToBits
dwInput
bBit0
bBit1
bBit2
bBit31
Double word (32 bits)
ð Inputs
Identifiers
Data type
Info/possible settings
dwInput
Double word
Value to be converted
Outputs
ð
Identifiers
Data type
Value/meaning
bBit0
Bool
Output bit 0 of dwInput (valency: 2
0
)
bBit1
Bool
Output bit 1 of dwInput (valency: 2
1
)
bBit2
Bool
Output bit 2 of dwInput (valency: 2
2
)
...
...
...
bBit31
Bool
Output bit 31 of dwInput (valency: 2
31
)
Advertising