
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
184/
316
TITLE
DRAW.NO.
4.5.10 Bit Sequencer
4.5.10.1 BIT_SEQ(address, r, dir, n, st, length)
acummulator latest sequence value
Sequences a string of bit values, starting at st.
address: WORD variable; the first of three control words for the BIT_SEQ function (word 1:current step number,
word 2: length of sequence in bits, word 3: control word).
r: BOOL variable; when r is true, the bit sequencer’s step number is set to the value in st (default = 1), and the bit
sequencer is filled with zeros, except for the current step number bit.
dir: BOOL variable; when dir is true, the bit sequencer’s step number is incremented prior to the shift. Otherwise, it is
decremented.
n: UINT, WORD variable or constant; when r is energized, the step number is set to this value (Optional).
st: BYTE; the first word of the bit sequencer (Optional).
length: Constant; the number of bits (starting at st) that this instruction will step through. Acceptable values range
from 1-256.
For more details, see LD Functions.
Note: IL and LD functions are generally the same, with some differences in data types for operands.