32-Bit Data Not Exclusive Or (3 Devices); Block Data Not Exclusive Or - Mitsubishi Electric MELSEC Q Series Programming Manual

Structured text
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

5 MELSEC FUNCTIONS
5.10.19 32-bit data NOT exclusive OR (3 devices) DXNR_3_M
The specified two BIN 32-bit data are NOT EXCLUSIVE ORed bit by bit.
Function definition

5.10.20 Block data NOT exclusive OR

n points of 16-bit data, starting at the specified two devices, are NOT EXCLUSIVE ORed bit by bit.
Function definition
5 - 48
BOOL DXNR_3_M (BOOL EN, ANY32 S1, ANY32 S2, ANY32 D);
Argument Name
EN
S1
S2
D
Remarks: For bit devices, the bits greater than in the digit specification are
processed as "0 (zero)".
Return Value
BOOL
Execution condition
Example of use
(* When execution condition X0 turns ON, the 32-bit data in dwData1 and the *)
(* 32-bit data in dwData2 are NOT EXCLUSIVE ORed, and the result is stored *)
(* into Result.
DXNR_3_M (X0, dwData1, dwData2, Result);
Corresponding MELSEC command
DXNR (32-bit data NOT exclusive OR)
BOOL BKXNR_M (BOOL EN, ANY16 S1, ANY16 S2, ANY16 n, ANY16 D);
Argument Name
EN
S1
S2
n
D
Return Value
BOOL
Execution condition
Example of use
(* When execution condition X0 turns ON, the data of the number of points
(* stored in D0, starting at D100, and the data of the number of points stored
(* in D0, starting at W100, are NOT EXCLUSIVE ORed, and the result is
(* stored into D200 and later.
BKXNR_M (X0, D100, W100, D0, D200);
Corresponding MELSEC command
BKXNR (Block NOT exclusive OR)
IN/OUT
Execution condition (Function is executed only when
IN
the result is TRUE)
Data to be NOT EXCLUSIVE ORed (BIN 32-bit data)
IN
IN
Data to NOT EXCLUSIVE OR (BIN 32-bit data)
OUT
Operation result (BIN 32-bit data)
BKXNR_M
IN/OUT
Execution condition (Function is executed only when
IN
the result is TRUE)
IN
Data to be NOT EXCLUSIVE ORed (BIN 16-bit data)
Data to NOT EXCLUSIVE OR (BIN 16-bit data)
IN
Number of data to be processed (BIN 16-bit data)
IN
Operation result (BIN 16-bit data)
OUT
For the usable data type, refer to "3.2.2
About ANY type".
Description
Description
Description
Description
*)
*)
*)
*)
*)
5 - 48

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents