
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
67/
316
TITLE
DRAW.NO.
3.5.2 XOR_(type)
Function
When EN is set to ON and is receiving the power flow, XOR performs
an exclusive logical OR operation on each corresponding bit of the bit
strings in input parameters IN1 and IN2. The result is output to the
corresponding bit of output parameter Q.
IN1, IN2 and Q must all be of the same data type.
XOR_(type) instructions
Name Explanation
XOR_BYTE Exclusive logical OR of BYTE data
XOR_WORD Exclusive logical OR of WORD data
XOR_DWORD Exclusive logical OR of DWORD data
Format
XOR
(type)
IN1 Q
IN2
???????
???????
???????
(EN) (ENO)
Parameters
Parameter Data type Meaning
EN BOOL Execution of logical operation
IN1 BYTE, WORD, DWORD Input data 1
IN2 BYTE, WORD, DWORD Input data 2
ENO BOOL Returns the value of EN
Q BYTE, WORD, DWORD Result of operation