LOGI_I: Conversion logic signals to integer value

The LOGI_I (FC362) block converts the highest logical value of 16 Boolean inputs to an integer value of 1 to 16 and issues the result at the output.

Functionality

The block converts the highest logic input [In0...[In15] to an integer value of 1 to 16 and issues the result at output [Out]. If there is no input, 0 is issued at the output.

The block indicates the input presently having logical 1 of inputs [In0]...[In15] by means of the value at the output. Only the signal 1 of the highest input is evaluated.

Condition

Result

In0

In1

In2

..........

In14

In15

Out

0

0

0

 

0

0

0

1

0

0

 

0

0

1

0

1

0

 

0

0

2

1

1

0

 

0

0

2

0

0

1

 

0

0

3

1

0

1

 

0

0

3

0

1

1

 

0

0

3

.......

 

 

 

 

 

 

0

0

0

 

1

0

15

.......

 

 

 

 

 

 

0

0

0

 

0

1

16

Inputs

Pin

E

Description

In0..In15

pa

Inputs 0...15.

Outputs

Pin

E

Description

Out

a

Output

Input values

Pin

Description

Data Type

Default value

E.g. Engineering unit or Text group

Min.

Max.

In0..In15

Input 0..15

Boolean

0 (No)

No, Yes

 

 

Output values

Pin

Description

Data Type

Default value

E.g. Engineering unit or Text group

Min.

Max.

Out

Output

Integer

0

 

 

 

Application

Applied for control tasks used to determine the logic input having value 1. Example: Determine the faulty aggregate (aggregate number).

Process response

Standard (see General rules and information).

Troubleshooting

Standard (see General rules and information).