
FANUC PMC-MODEL SD7
Programming Manual
01 01.11.26
Hanaoka
New
A-78550E
EDIT DATE DESIG.
DESCRIPTION
82/
316
TITLE
DRAW.NO.
3.5.9 BIT_SEQ
Function
The Bit Sequencer (BITSEQ) function performs a bit sequence shift
through a series of contiguous bits. The operation of BITSEQ depends
on the value of the reset input (R) and both the current value and
previous value of the enabling power flow input (EN):
The reset input (R) overrides the enabling power flow (EN) and always
resets the sequencer. When R is active, the current step number is set to
the value of the optional N operand. If the user did not specify N, the
step number is set to 1. All of the bits in the bit sequencer, ST, are set to
0, except for the bit pointed to by the current step, which is set to 1.
When EN is active and Reset is not active and the previous EN was
OFF, the bit pointed to by the current step number is cleared. The
current step number is incremented or decremented, based on the
direction (DIR) operand. Then the bit pointed to by the new step
number is set to 1.
When the step number is being incremented and it goes outside the
range of (1 <=step number<=LEN operand), it is set back to 1.
When the step number is being decremented and it goes outside the
range of (1<=step number<=LEN operand), it is set to LEN.
When BIT_POS finds a bit that has been set to 1, it sets Q to ON.
Format
BIT
SEQ
DIR
N
(EN) (ENO)
???????
???????
???????
R
ST???????
LEN
ADRS