SIS function blocks > SIS Math Blocks > Logic Solver Comparator function block

Logic Solver Comparator function block parameters

The following table lists the system parameters for the function block.

Table: LSCMP Function Block Parameters

Parameter

(Data Type)

Default Value

(Units)

Characteristics

Description

COMP_VAL1

(Floating point with status)

0

(Determined by source)

Access:

Configurable, Tuning

NVM:

Restored on Restart

The first comparative value. Compared with DISC_VAL to calculate EQ, GT, LT, and NEQ.

COMP_VAL2

(Floating point with status)

0

(Determined by source)

Access:

Configurable, Tuning

NVM:

Restored on Restart

The second comparative value. Used as part of the range that DISC_VAL compares against to calculate IN_RANGE.

DISC_VAL

(Floating point with status)

0

(Determined by source)

Access:

Tuning

NVM:

Restored on Restart

The input comparison value. Used with COMP_VAL1 to calculate EQ, GT, LT, and NEQ. Compared against the range of COMP_VAL1 - COMP_VAL2 to calculate IN_RANGE.

EQ

(Discrete with status)

0

NVM:

Preserved on Download

Equal to. Compares COMP_VAL1 with DISC_VAL. Discrete output (True=1/False=0).

GT

(Discrete with status)

0

NVM:

Preserved on Download

Greater Than. Compares COMP_VAL1 with DISC_VAL. Discrete output (True=1/False=0).

IN_RANGE

(Discrete with status)

0

NVM:

Preserved on Download

In range. Compares DISC_VAL against the range of COMP_VAL2 and COMP_VAL1.

LT

(Discrete with status)

0

NVM:

Preserved on Download

Less Than. Compares COMP_VAL1 with DISC_VAL. Discrete output (True=1/False=0).

NEQ

(Discrete with status)

0

NVM:

Preserved on Download

Not Equal To. Compares COMP_VAL1 with DISC_VAL. Discrete output (True=1/False=0).