Not Equal To - Mitsubishi Electric Melsec Q Series Programming Manual

Motion controller (sv13/sv22)
Hide thumbs Also See for Melsec Q Series:
Table of Contents

Advertisement

5 OPERATION CONTROL PROGRAMS

5.11.2 Not equal to : !=

Format
[Usable data]
Setting
16-bit
data
Bit device
integer
type
(S1)
(S2)
[Setting data]
Setting data
[Functions]
[Errors]
[Program examples]
(S1)!=(S2)
Word device
64-bit
32-bit
floating
integer
point
type (L)
type (F)
(S1)
(S2)
(1) The data specified with (S1) and the data specified with (S2) are compared, and
the result is true if they are not equal.
(2) When (S1) and (S2) differ in data type, the data of the smaller data type is
converted into that of the greater type before comparison is performed.
(1) An operation error will occur if:
• (S1) or (S2) is an indirectly specified device and its device No. is outside the
range.
(1) Program which compares whether #0 and D0 are unequal or not
#0 != D0
(True)
Usable Data
Constant
16-bit
32-bit
Coasting
integer
integer type
timer
type (K/H)
(K/H, L)
Description
Data which will be compared
#0
100
!=
D0
20
5 - 67
F/FS
Number of basic steps
Bit
64-bit
Calculation
conditional
floating
expression
expression
point
type (K)
Data type of result
Logical type (true/false)
G
4
Comparison
conditional
expression
: Usable

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents