FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
76/
316
TITLE
DRAW.NO.
3.5.6 BIT_TEST_(type)
Function
When EN is set to ON and is receiving the power flow and BIT_TEST
outputs to output parameter Q, the bit state (0 or 1) specified with input
parameter BIT in the bit string of input parameter IN.
When the value of BIT is 1 or more and not less than the number of bits
in the bit string of IN, EN0 is set to OFF.
BIT_TEST_(type) instructions
Name Explanation
BIT_TEST_BYTE Bit test of BYTE data
BIT_TEST_WORD Bit test of WORD data
BIT_TEST_DWORD Bit test of DWORD data
Format
BIT
TEST
(type)
IN
BIT
Q ???????
???????
???????
(EN) (ENO)
Parameters
Parameter Data type Meaning
EN BOOL Execution of operation
IN BYTE, WORD, DWORD Input data
BIT INT Test bit
ENO BOOL Normal end flag
Q BOOL Result of operation