Performing An Xnor Operation On 32-Bit Data - Mitsubishi MELSEC iQ-F FX5 series Programming Manual

Melsec iq-f fx5 series
Hide thumbs Also See for MELSEC iQ-F FX5 series:
Table of Contents

Advertisement

Performing an XNOR operation on 32-bit data

DXNR(P) [using two operands]
These instructions exclusive NOR each bit of 32-bit binary data from the device specified by (d) and each bit of 32-bit binary
data from device specified by (s), and store the results in the device specified by (d).
Ladder diagram
(s)
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s)
Data for exclusive NOR or head device where data is
stored
(d)
Head device for storing exclusive NOR results
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB
(s)
(d)
Processing details
• These instructions exclusive NOR each bit of 32-bit binary data from the device specified by (d) and each bit of 32-bit
binary data from device specified by (s), and store the results in the device specified by (d).
(d)+1
b31
(d)
1
1
0
0
(s)+1
b31
(s)
1
1
1
1
(d)+1
b31
(d)
1
1
0
0
• Bit devices subsequent to number of points by nibble specification are calculated as 0.
Operation error
There is no operation error.
6 BASIC INSTRUCTIONS
232
6.3 Logical Operation Instructions
(d)
Word
U\G T, ST,
T, ST, C, D,
C, LC
W, SD, SW, R
(d)
b16
b15
0
0
0
0
0
0
XNOR
(s)
b16
b15
0
0
0
0
1
1
(d)
b16
b15
1
1
1
1
0
0
Structured text
Not supported
Range
-2147483648 to +2147483647
-2147483648 to +2147483647
Double word Indirect
U\G
Z
LC
b0
0
0
1
1
b0
1
1
0
0
b0
0
0
0
0
Data type
32-bit signed binary
32-bit signed binary
Constant
specification
LZ
K, H
Data type (label)
ANY32
ANY32
Others
E
$

Advertisement

Table of Contents
loading

Table of Contents