EQ block
Short summary
Name |
|
→POU type |
|
Category |
|
Conform to →IEC-standard |
currently restricted |
Graphical interface |
|
Available since |
version 1.0.0 (for Neuron Power Engineer) – initial variant version 1.11.0 (for Neuron Power Engineer) – enhancement: version 1.91.0 (for Neuron Power Engineer) – enhancement: version 3.8.0 (for library |
Functionality
The block is a comparator regarding equality ("EQuals to").
Enter the values at the inputs, those values are to be compared. The block returns value TRUE
(or an equivalent), if all values connected to the inputs are equal – hence, if: (IN1=IN2) & (IN2=IN3) & ... & (IN15=IN16)
Bitstring values (= ANY_BIT
values; see →generic data type} are treated like unsigned →integer values by the block. This behavior is a specification according to the →IEC-standard.
Inaccuracies for floating-point numbers Due to the internal representation of floating-point numbers (affects the data types |
Inputs, return value
Identifier |
Description |
||
---|---|---|---|
Inputs: |
|
|
1st value |
|
|
2nd value |
|
... (extensible until) |
|||
|
|
16th value |
|
Return value: |
– |
|
|
Input EN
and output ENO
are available when →calling the block. See "Execution control: EN, ENO" for information on input EN
and output ENO
.
See:
-
"Blocks for safe logic" whether this block is supported for developing safety-relevant applications.
-
"Highlighting safe logic in the FBD-editor" for the effects when using the block as a block for safe logic.
Example for usage within ST-editor
The calculated values are evaluated by using the Assert
block.
|
When creating your application within the ST-editor, enter a call of a block by typing the text as requested by the syntax or use Content Assist.