6 logical or (l_or), Logical or (l_or), Function library lenzedrive.lib – Lenze DDS Function library Drive User Manual

Page 45: Digital signal processing

Advertising
background image

Function library LenzeDrive.lib

Digital signal processing

2.3.6

Logical OR (L_OR)

2−35

L

LenzeDrive.lib EN 1.7

2.3.6

Logical OR (L_OR)

This FB enables the logical OR combination of digital signals. You can use this combination for the
control of functions or the generation of status information.

L_OR

bIn1_b

bIn2_b

bIn3_b

bOut_b

>1

Fig. 2−43

Logical OR (L_OR

VariableName

DataType

SignalType

VariableType

Note

bIn1_b

Bool

binary

VAR_INPUT

bIn2_b

Bool

binary

VAR_INPUT

bIn3_b

Bool

binary

VAR_INPUT

bOut_b

Bool

binary

VAR_OUTPUT

Truth table

bIn1_b

bIn2_b

bIn3_b

bOut_b

0

0

0

0

1

0

0

1

0

1

0

1

1

1

0

1

0

0

1

1

1

0

1

1

0

1

1

1

1

1

1

1

0 = FALSE

1 = TRUE

The function corresponds to a parallel connection of normally−open contacts in a contactor control.

bIn2_b

bIn1_b

bIn3_b

bOut_b

Fig. 2−44

Function of L_OR as a parallel connection of normally−open contacts

Note!

If you only need 2 inputs, use the inputs bIn1_b and bIn2_b. Fix the input bIn3_b to FALSE.

Advertising