[CNT_BO] Counter of 8 boolean values

Function block CNT_BO counts the number of inputs with value 1 and determines the setting when the parameterized min. number is reached or exceeded.

CNT_BO counts the number of inuts with value 1. A setting is made when the parameterized min. number is reached or exceeded.

Functioning

CNT_BO calculates the number of inputs [In1]...[In8] having value 1 and issues it at output [Out].

If the output [Out] reaches or exceeds the parameterized upper counter limit [CntValLm], output Limit reached [LmRd] is set to 1.

Pins

Input

Description

Data type

Default value
Value range

In1In8

Input 1Input 8

Boolean

0

0 - Input disabled.
1 - Input enabled.

CntValLm

Counter value limit

Double integer

0

 

Output

Description

Data type

Default value
Value range

Out

Output

Double integer

0

LmRd

Limit reached

Efficiency [Efcy] has reached the efficiency limit [EfcyLm].

Boolean

0

0 - Limit not reached.
1 - Limit reached.

Application

CNT_BO is used for control programs e.g. to determine if a sufficient number of components is operating.