Not Exclusive Or (3 Devices); 32-Bit Data Not Exclusive Or (2 Devices) - 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.17 NOT exclusive OR (3 devices)

The specified two BIN 16-bit data are NOT EXCLUSIVE ORed bit by bit.
Function definition

5.10.18 32-bit data NOT exclusive OR (2 devices)

The specified two BIN 32-bit data are NOT EXCLUSIVE ORed bit by bit.
Function definition
5 - 47
BOOL WXNR_3_M (BOOL EN, ANY16 S1, ANY16 S2, ANY16 D);
Argument Name
EN
S1
S2
D
Remarks: The same device can be specified in arguments "S1" and "D", and in "S2"
and "D".
Return Value
BOOL
Execution condition
Example of use
(* When execution condition X0 turns ON, the 16-bit data in X20 to X2F and
(* the 16-bit data in D0 are NOT EXCLUSIVE ORed, and the result is stored
(* into D100.
WXNR_3_M (X0, K4X20, D0, D100);
Corresponding MELSEC command
WXNR (16-bit data NOT exclusive OR)
BOOL DXNR_M (BOOL EN, ANY32 S1, ANY32 D);
Argument Name
EN
S1
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 Result are NOT EXCLUSIVE ORed, and the result is stored
(* into Result.
DXNR_M (X0, dwData1, Result);
Corresponding MELSEC command
DXNR (32-bit data NOT exclusive OR)
WXNR_3_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)
IN
Data to NOT EXCLUSIVE OR (BIN 16-bit data)
OUT
Operation result (BIN 16-bit data)
DXNR_M
IN/OUT
Execution condition (Function is executed only when
IN
the result is TRUE)
IN
Data to NOT EXCLUSIVE OR (BIN 32-bit data)
Data to be NOT EXCLUSIVE ORed, operation result
IN/OUT
(BIN 32-bit data)
For the usable data type, refer to "3.2.2
About ANY type".
Description
Description
Description
Description
*)
*)
*)
*)
*)
5 - 47

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents