
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
181/
316
TITLE
DRAW.NO.
4.5.7 Bit Test
4.5.7.1 BIT_TEST_BYTE(in, bit, length)
accumulator bit state
Returns the state of a specific bit within a string of words (consecutive registers) to the boolean accumulator.
in: BYTE variable; the first item in the data to be operated on.
bit: INT variable or constant; the bit number of in that will be set. 1 bit (16*length).
length: Constant; the number of words comprising the data string to operate on (1 to 255).
4.5.7.2 BIT_TEST_WORD(in, bit, length)
accumulator bit state
Returns the state of a specific bit within a string of words (consecutive registers) to the boolean accumulator.
in: WORD variable; the first item in the data to be operated on.
bit: INT variable or constant; the bit number of in that will be set. 1 bit (16*length).
length: Constant; the number of words comprising the data string to operate on (1 to 255).
4.5.7.3 BIT_TEST_DWORD(in, bit, length)
accumulator bit state
Returns the state of a specific bit within a string of words (consecutive registers) to the boolean accumulator.
in: DWORD variable; the first item in the data to be operated on.
bit: INT variable or constant; the bit number of in that will be set. 1 bit (16*length).
length: Constant; the number of words comprising the data string to operate on (1 to 255).
For more details, see LD Functions.
Note: IL and LD functions are generally the same, with some differences in data types for operands.