Logical Negation - 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.10.2 Logical negation : !

Format
[Usable data]
Setting
16-bit
data
Bit device
integer
type
(S)
[Setting data]
Setting data
[Functions]
[Errors]
[Program examples]
! (S)
Word device
64-bit
32-bit
floating
integer
point
type (L)
type (F)
(S)
Data which will be logically negated
(1) The data specified with (S) is logically negated.
(1) An operation error will occur if:
• (S) is an indirectly specified device and its device No. is outside the range.
(1) Program which sets M100 when "either of M0 and X0 is not ON (1)" (when M0
and X0 are both OFF (0))
SET M100 = ! (M0 + X0)
(True) ! (False)
M100
1
Usable Data
Constant
16-bit
32-bit
Coasting
integer
integer type
timer
type (K/H)
(K/H, L)
Description
M0
+
X0
5 - 63
F/FS
Number of basic steps
64-bit
Calculation
floating
expression
point
type (K)
Data type of result
Logical type (true/false)
(False)
0
(False)
0
G
2
Bit
Comparison
conditional
conditional
expression
expression
: Usable

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents