CNT_BO: Counter of 8 Boolean values

The CNT_BO (FC408) block has a number of inputs with value 1 (Yes). If the parameterized minimum number is reached or exceeded, a flag is set.

Functionality

The block calculates the number of inputs [In1]...[In8] having value 1 (Yes) and issues it at output [Out].

If the output [Out] reaches or exceeds the parameterized limit [CntValLm], output "Limit reached" [LmRd] is set to 1 (Yes).

Inputs

Pin

E

Description

In1..In8

pa

Input 1..8.

CntValLm

pa

Counter value limit.

Limit value for the number of inputs having value 1 (Yes).

Outputs

Pin

E

Description

Out

a

Output

Number of inputs having value 1 (Yes).

LmRd

a

Limit reached.

Input values

Pin

Description

Data Type

Default value

E.g. Engineering unit or Text group

Min.

Max.

In1..In8

Input 1..8

Boolean

0 (No)

No, Yes

 

 

CntValLm

Counter value limit

Integer

0

 

 

 

Output values

Pin

Description

Data Type

Default value

E.g. Engineering unit or Text group

Min.

Max.

Out

Output

Integer

0

 

 

 

LmRd

Limit reached

Boolean

0 (No)

No, Yes

 

 

Application

Control programs use this block e.g. to determine if a sufficient number of aggregates is operating.

Process response

Standard (see General rules and information).

Troubleshooting

Standard (see General rules and information).