Equal

Function

Compare the input "In" input with all other inputs. If at least one input is equal to the "Comp" input, the output is set to true (1)

The Equal statement is one of the dynamic control icons.

It has two inputs by default, but the user can add up to n (recommended limit 32) inputs in the slot sheet view, selecting the Add Slot function of the context menu.


Fig. 88.   Wire-sheet Icon

Fig. 89.   Property Sheet

Fig. 90.   Slot Sheet

Inputs and Outputs

Table 61.   Inputs

Inputs

Type

Functional description

In

numeric

Analog input value to be compared with the others

In A Compare

numeric

Analog input value.

In B Compare

numeric

Analog input value

In n Compare

user defined

Add up to n (recommended limit 32) inputs in the slot sheet

In Enabled

boolean

If the input “In Enabled” is set to false disabled in the slot sheet, the output “Out” will be disabled and is set to the value “0”.


Table 62.   Outputs

Outputs

Type

Functional description

Out

numeric

One output comparing inputs “In” and “In X Compare”.
(“In” = “In X Compare”) = true (1) if “In” is equal to one of the other inputs “In A Compare” to “In X Compare”.



Parameter List

No parameters.