
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
86/
316
TITLE
DRAW.NO.
1)Sets the corresponding mask bit in M to 1.
2)Sets the miscompare (MC) output to 1.
3)Updates the output bit string Q to match the new content of mask
string M
4)Sets the bit number output (BN) to the number of the miscompared
bit.
5)Stops the comparison.
MASK_COMP_(type) instructions
Name Explanation
MASK_COMP_BYTE Compare the bits in two BYTE data
MASK_COMP_WORD Compare the bits in two WORD data
MASK_COMP_DWORD Compare the bits in two DWORD data
Format
MASK
CMP
(type)
IN2
M
(EN)
???????
???????
???????
IN1
BIT???????
LEN
MC ???????
Q ???????
BN ???????
Parameters
Parameter Data type Meaning
EN BOOL Execution of operation.
LEN Constant
The number of data in either
compared string.
1<=LEN<=8192(BYTE)
1<=LEN<=4096(WORD)
1<=LEN<=2048(DWORD)
IN1 ANY Input data 1.
IN2 ANY Input data 2.
M ANY The bit string mask.
BIT UINT The bit number where the next
comparison should start.