5 l_tbconvbytetobits, L_tbconvbytetobits, Function library lenzeplctoolbox.lib – Lenze DDS Function library PLCToolBox User Manual

Page 13: Functions/function blocks

Advertising
background image

Function library LenzePLCToolBox.lib

Functions/function blocks

2.5

L_TBConvByteToBits

2−5

L

LenzePLCToolBox.lib EN 1.5

2.5

L_TBConvByteToBits

This FB returns the 8 corresponding bit values for an input value of type "byte".

L_TBConvByteToBits

byInput

bBit0
bBit1
bBit2

bBit7

Byte (8 bits)

ð Inputs
Identifiers

Data type

Info/possible settings

byInput

Byte

Value to be converted

Outputs

ð

Identifiers

Data type

Value/meaning

bBit0

Bool

Output bit 0 of byInput (valency: 2

0

)

bBit1

Bool

Output bit 1 of byInput (valency: 2

1

)

bBit2

Bool

Output bit 2 of byInput (valency: 2

2

)

...

...

...

bBit7

Bool

Output bit 7 of byInput (valency: 2

7

)

Advertising