
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
183/
316
TITLE
DRAW.NO.
4.5.9 Bit Position
4.5.9.1 BIT_POS_BYTE(in, length)
accumulator bit number
Returns to the integer accumulator the bit number of the first bit found within a string of words (consecutive registers)
set to 1.
in: BYTE variable; the first data item in the string to be operated on.
length: Constant; the number (1 of 255) of words comprising the data string to operate on.
4.5.9.2 BIT_POS_WORD(in, length)
accumulator bit number
Returns to the integer accumulator the bit number of the first bit found within a string of words (consecutive registers)
set to 1.
in: WORD variable; the first data item in the string to be operated on.
length: Constant; the number (1 of 255) of words comprising the data string to operate on.
4.5.9.3 BIT_POS_DWORD(in, length)
accumulator bit number
Returns to the integer accumulator the bit number of the first bit found within a string of words (consecutive registers)
set to 1.
in: DWORD variable; the first data item in the string to be operated on.
length: Constant; the number (1 of 255) of words comprising the data string to operate on
For more details, see LD Functions.
Note: IL and LD functions are generally the same, with some differences in data types for operands.