
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
65/
316
TITLE
DRAW.NO.
3.5.1 AND_(type)/OR_(type)
Function
When EN is set to ON and is receiving the power flow, AND/OR
performs a logical AND/logical OR operation on each bit of the
corresponding 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.
AND_(type)/OR_(type) instructions
Name Explanation
AND_BYTE Logical AND of BYTE data
AND_WORD Logical AND of WORD data
AND_DWORD Logical AND of DWORD data
OR_BYTE Logical OR of BYTE data
OR_WORD Logical OR of WORD data
OR_DWORD Logical OR of DWORD data
Format
AND
(type)
IN1 Q
IN2
???????
???????
???????
(EN) (ENO)
OR
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