EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Performing an XNOR Operation on 16-Bit Block Data

Mitsubishi Electric MELSEC iQ-R Series
2110 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
338
6 BASIC INSTRUCTIONS
6.3 Logical Operation Instructions
Performing an XNOR operation on 16-bit block data
BKXNR(P)
These instructions perform an XNOR operation on the two 16-bit binary data blocks specified.
Execution condition
Setting data
Description, range, data type
*1 When specifying setting data by using a label, define an array to secure enough operation area and specify an element of the array
label.
Applicable devices
*1 The same device number can be specified for (s1) and (d) or (s2) and (d).
Ladder ST
ENO:=BKXNR(EN,s1,s2,n,d);
ENO:=BKXNRP(EN,s1,s2,n,d);
FBD/LD
Instruction Execution condition
BKXNR
BKXNRP
Operand Description Range Data type Data type (label)
(s1) Start device where the logical operation data is stored 16-bit signed binary ANY16
*1
(s2) Logical operation data or the start device where the logical
operation data is stored
-32768 to 32767 16-bit signed binary ANY16
*1
(d) Start device for storing the operation result 16-bit signed binary ANY16
*1
(n) Number of data points 0 to 65535 16-bit unsigned binary ANY16
EN Execution condition Bit BOOL
ENO Execution result Bit BOOL
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(s1)
*1

(s2)
*1

(d)
*1

(n)  
RnCPU
RnENCPU
RnSFCPU RnSFCPURnPCPURnPCPU
(Standard) (Safety)
(Redundant)
(Process)
(s1) (s2) (d) (n)
EN ENO
ds1
s2
n

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals