2 Standard Functions
2 - 66
NX-series Safety Control Unit Instructions Reference Manual (Z931)
EQ
This function determines if the values of two variables are equivalent.
If you omit an input or output parameter, a building error will occur.
An error will not occur if the output terminal is not used or if it is connected to an input terminal on the
next instruction.
This function determines if the values of two variables
In1
and
In2
are equivalent.
If they are equivalent, comparison result
Out
changes to TRUE. Otherwise, the value of
Out
is FALSE.
• You can compare
In1
and
In2
even if they have different data types, such as a safety data type and a
standard data type, as long as the notations and sizes of the data types are the same. You cannot
compare data with data types that have different notations or sizes, such as WORD and INT. You can
compare integer data, such as INT data with SAFEINT data and DINT data with SAFEDINT data.
• The input condition depends on whether the output is safety data or standard data. If the condition is
not met, a building error will occur.
• If you set a safety data type variable for the output terminal, set a safety data type variable for the two
input terminals as well.
• If you set a standard data type variable for the output terminal, you can set either a safety data type
variable or a standard data type variable for the input terminal.
Instruction
Name
FB/FUN
Graphic expression
EQ
Equal
FUN
Variables
Name
I/O
Description
Valid range
Default
In1 or In2
Comparison
data
Input
Values to com-
pare
Depends on data type.
---
Out
Comparison
result
Output
Comparison
result
Depends on data type.
---
Boolean
Bit strings
Integers
Durations
BOOL
SAFEBOOL
BYTE
SAFEBYTE
WO
RD
SAFEWORD
DWORD
SAFEDWORD
INT
SAFEINT
DINT
SAFEDINT
TI
ME
SAFETIME
In1 or In2
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
OK
Out
OK
OK
Function
Precautions for Correct Use
EQ
Содержание NX-SL series
Страница 8: ...CONTENTS 6 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Страница 14: ...Terms and Conditions Agreement 12 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Страница 28: ...Sections in this Manual 26 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Страница 98: ...2 Standard Functions 2 64 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Страница 104: ...2 Standard Functions 2 70 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Страница 110: ...2 Standard Functions 2 76 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Страница 130: ...3 Safety Standard Function Blocks 3 20 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Страница 265: ...I 1 I NX series Safety Control Unit Instructions Reference Manual Z931 Index ...
Страница 268: ...I 4 NX series Safety Control Unit Instructions Reference Manual Z931 Index ...
Страница 269: ......