5.21. LtoN

../_images/image905.png

Purpose

Outputs a constant value or table value, depending on whether the input is TRUE or FALSE.

Mathematical description

None

Parameters

Parameter

input

unit

range

default

remarks

Output when TRUE

scalar/table

scalar

Output value TRUE

real

[-]

[-1e8,1e8]

if scalar

Action table (TRUE)

table

if table

Output when FALSE

scalar/table

scalar

Output value FALSE

real

[-]

[-1e8,1e8]

if scalar

Action table (FALSE)

table

if table

Remarks

The time in the action table is relative to the instant at which the input signal becomes True(1) or False(0)

In contrast with the TAB2 component there is no continuous transition from TRUE to FALSE and vice versa. A table will not have any relation with the other table or constant scalar.

Examples

../_images/image906.png

Fig. 5.21.1 Control scheme

Input of LtoN component:

Output when TRUE: Table

0

0

5.000

10.00

10.00

30.00

15.00

100.0

Output when FALSE: Scalar = 50

../_images/image907.png

Fig. 5.21.2 Time dependent logical input signal and numeric output signal

../_images/image908.png

Fig. 5.21.3 Time dependent logical input signal and numeric output signal