I_LOGI: Conversion integer value to logic signals

The I_LOGI (FC361) blocks sets the Boolean output to 1 (Yes) depending on the value of the integer input.

Functionality

The block sets the corresponding output [Out0] ... [Out15] to 1 (Yes) depending on the value of input [In] = 1...16. All other outputs are set to 0 (No).

In

Out0

Out1

Out2

........

Out14

Out15

<=0

0

0

0

 

0

0

1

1

0

0

 

0

0

2

0

1

0

 

0

0

3

0

0

1

 

0

0

.........

 

 

 

 

 

 

15

0

0

0

 

1

0

>=16

0

0

0

 

0

1

Inputs

Pin

E

Description

In

pa

Input

Outputs

Pin

E

Description

Out0..Out15

a

Output 0..15

Input values

Pin

Description

Data Type

Default value

E.g. Engineering unit or Text group

Min.

Max.

In

Input

Integer

0

 

 

 

Output values

Pin

Description

Data Type

Default value

E.g. Engineering unit or Text group

Min.

Max.

Out0..Out15

Output 0..15

Boolean

0 (No)

No, Yes

 

 

Application

Used for control tasks, e.g., to switch on the logic output for a component (e.g. enable aggregate no. 2 = 1 (Yes) in dependence of the continuous number of the component (e.g. request for aggregate no. 2).

Process response

Standard (see General rules and information).

Troubleshooting

If the value of input [In] is smaller than 0, all outputs are set to 0 (No). If the value of input [In] is greater than 15, all outputs [Out15] are set to 1 (Yes).