Chapter 15 Boolean Functions; Not Operation - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Motion module instructions, standard functions/ function blocks
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

15
BOOLEAN FUNCTIONS
15.1

NOT Operation

NOT
This function outputs the logical NOT of input values.
Structured text
The function is described as an operator. ( MELSEC iQ-R Programming Manual (Program Design))
Setting data
■Description, type, data type
Argument
Description
s (IN)
Input
d
Output
Processing details
■Operation processing
• This function performs a NOT operation (bit-by-bit) on the BOOL, WORD, or DWORD data type value input to (s), and
output the operation result, in the same data type as (s), from (d).
Ex.
Data type: WORD
(s)
0
1
1
0
1
0
(d)
1
0
0
1
0
1
• Input a BOOL, WORD, or DWORD data type value to (s).
■Operation result
The operation processing is performed. The operation result is output from (d).
Operation error
There is no operation error.
1
1
0
0
0
0
1
NOT
0
0
1
1
1
1
0
Type
Input variable
Output variable
1
1
1
0
0
0
Data type
ANY_BIT
ANY_BIT
15 BOOLEAN FUNCTIONS
15.1 NOT Operation
15
187

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents