Download Print this page

Performing An Xnor Operation On 16-Bit Block Data - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Performing an XNOR operation on 16-bit block data

BKXNR(P)
These instructions exclusive NOR contents of (n) point(s) from the device specified by (s1) and (n) point(s) from the device
specified by (s2), and store the results in the devices specified by (d) onwards.
Ladder diagram
(s1)
(s2)
(d)
FBD/LD
EN
ENO
s1
d
s2
n
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Head device where the logical operation data is stored
(s2)
Logical operation data or the head device where the
logical operation data is stored
(d)
Head device for storing the operation result
(n)
Number of data
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
*1
(s1)
*1
(s2)
*1
(d)
(n)
*1 The same device number can be specified for (s1) and (d) or (s2) and (d).
(n)
Word
T, ST, C, D, W,
U\G
SD, SW, R
Structured text
ENO:=BKXNR(EN,s1,s2,n,d);
ENO:=BKXNRP(EN,s1,s2,n,d);
Range
Data type
-32768 to +32767
16-bit signed binary
-32768 to +32767
16-bit signed binary
16-bit signed binary
0 to 65535
16-bit unsigned binary
Bit
Bit
Double word Indirect
specification
Z
LC
LZ
Data type (label)
ANY16
ANY16
ANY16
ANY16
BOOL
BOOL
Constant
K, H
E
$
7 BASIC INSTRUCTIONS
7.3 Logical Operation Instructions
7
Others
271

Hide quick links:

Advertisement

loading