[CK_COV] Change of value (COV) check for two multistate and two real value

Function block CK_COV checks 2 multistate values and 2 real values for a change of value.

CK_COV checks 2 multistate values and 2 real values for a change of value. The results are pending on the output.

Functioning

CK_COV compares all input values with their value for the last cycle. For a change of value, [PlsCovInd] is set to = 1 (one cycle in length).
The input values are switched directly to the outputs.

Pins

Input

Description

Data type

Default value
Value range

InMs1

Multistate input 1

Integer

1

0...32767

InMs2

Multistate input 2

Integer

1

0...32767

InR1

Real input 1

Real

0.0 [%]

0…100 [%]

InR2

Real input 2

Real

0.0 [%]

0…100 [%]

 

Output

Description

Data type

Default value
Value range

OutMs1

Multistate output 1

Integer

1

1...32767

OutMs2

Multistate output 2

Integer

1

1...32767

OutR1

Real output 1

Real

0.0 [%]

0…100 [%]

OutR2

Real output 2

Real

0.0 [%]

0…100 [%]

PlsCovInd

Pulse for change of value indication

Boolean

0

0 - No
1 - Yes

Application

Displays in chart for a change to blinds positioning value.

Troubleshooting

Standard troubleshooting:

Numerical errors are handled in dependence of the respective context:

Tool

Offline

Error message.

Shows a non-conformant value.

Online

Error message.

The non-conformant value is displayed in red in the Parameter Editor.

Function block code

No troubleshooting.