12 function library – Lenze 8400 motec User Manual

Page 471

Advertising
background image

Lenze · 8400 motec · Reference manual · DMS 4.1 EN · 08/2013 · TD05

471

12

Function library

12.9

L_DigitalLogic_1

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

Parameter

Function "4: bOut = f (Truth table)"
When the function "4: bOut = f (truth table)" is selected in

C00820

, the output value bOut depends

on the truth table parameterised in

C00821/1...4

.

The following table shows which setting may be required in

C00821/1...4

to realise the logic

operations NAND, NOR, XOR and XNOR:

Parameter

Possible settings

Info

C00820

Function selection

0 bOut = 0

Constant value "FALSE"

1 bOut = 1

Constant value "TRUE"

2 bOut = bIn1 AND bIn2

AND operation

3 bOut = bIn1 OR bIn2

OR operation

4 bOut = f (truth table)

The output value depends on the

truth table parameterised in

C00821/1...4

C00821/1...4

Truth table for function 4

• Each of the four possible input

combinations can be assigned to

the output value FALSE or TRUE.

• For an application example see

the following section.

0 FALSE
1 TRUE

Input signals

Output

Parameter setting for logic operation:

bIn2

C00701/29

bIn1

C00701/28

bOut

NOT (bIn1)

NAND

NOR

XOR

XNOR

0

0

C00821/1

=

1

1

1

0

1

0

1

C00821/2

=

0

1

0

1

0

1

0

C00821/3

=

1

1

0

1

0

1

1

C00821/4

=

0

0

0

0

1

Advertising