Standard Operations

A set of functions is available to set the error and warning status of output modules. Each of these functions requires a minimum of 2 (or 3) parameters and allows a maximum of 32 parameters. In calculations all functions take the value of first argument A as the function result, so the use of these functions does not affect the calculated value.

Table 26 Check functions to set errors and warnings

Range Error

RNG(A, Min, Max)

When A<Min or A>Max:

 

 

Error <E4> “RANGE FUNCTION” is set to the executing card

Range Warning

rng(A, Min, Max)

When A<Min or A>Max:

Warning <W1> “RANGE FUNCTION” is set to the executing card

 

 

 

 

 

Conditional Error

CHK(A, X)

When X is true:

Error <E3> “LOGIC FUNCTION” is set to the executing card

 

 

 

 

 

Conditional Warning

chk(A, X)

When X is true:

Warning <W0> “LOGIC FUNCTION” is set to the executing card

 

 

 

 

 

76

Page 78
Image 78
Hach sc1000 user manual Check functions to set errors and warnings, Chka