
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
178/
316
TITLE
DRAW.NO.
Shift the bits in a word, or string of words, right by a specified number of positions.
in: WORD variable; the first word in a string of words.
n: INT variable or constant; the number of positions to rotate.
length: Constant; the number of words in the string (1 to 256).
b1: BOOL variable; the bits to shift into the string.
q: WORD variable; the first word of the shifted string.
4.5.5.6 SHIFTR_DWORD(in, n, length, b1, q)
Shift the bits in a word, or string of words, right by a specified number of positions.
in: DWORD variable; the first word in a string of words.
n: INT variable or constant; the number of positions to rotate.
length: Constant; the number of words in the string (1 to 256).
b1: BOOL variable; the bits to shift into the string.
q: DWORD variable; the first word of the shifted string.
For more details, see LD Functions.
Note: IL and LD functions are generally the same, with some differences in data types for operands.