Attention
IronPLC supports IEC 61131-3 Structured Text excluding I/O mapping.
EQ¶
Returns TRUE if two inputs are equal.
IEC 61131-3 |
Section 2.5.1.5.4 |
Support |
Supported |
Signatures¶
# |
Input (IN1) |
Input (IN2) |
Return Type |
Support |
|---|---|---|---|---|
1 |
|
|
|
Supported |
2 |
|
|
|
Supported |
3 |
|
|
|
Supported |
4 |
|
|
|
Supported |
5 |
|
|
|
Supported |
6 |
|
|
|
Supported |
7 |
|
|
|
Supported |
8 |
|
|
|
Supported |
9 |
|
|
|
Supported |
10 |
|
|
|
Supported |
Description¶
Returns TRUE if IN1 is equal to IN2, FALSE otherwise.
EQ(a, b) is the functional form of the = operator: a = b.
Both forms are equivalent.
For REAL and LREAL types, equality comparison is subject to
floating-point precision limitations.