![[SLAC Home Page]](/grp/cd/soft/images/logo_slac.gif)
Go to bottom of page
CHAPTER 44
SERIAL BRANCH DRIVER SPECIFICATION (SLAC 135-744) (SBD)
November 30, 1983
R. Gray/L. Paffrath/T. Dean
SERIAL BRANCH DRIVER SPECIFICATION
SLAC 135-744
The Serial Branch Driver (SBD) is designed to be as compatible as
possible to the SLAC Parallel Branch Driver (the differences are in
the Control Word (CTLW)). The SBD can operate in two ways (with one
slightly different FPLA).
In a system crate with a CCU2 crate controller and a VAX Channel
Controller (VCC) using the busy/ready protocol
In any crate where the crate controller responds to the Hold line.
The SBD is a double width CAMAC module. The front panel has two
connectors (wired in parallel) for connection to the serial branch.
The rear panel has two LEMO connectors, one for the LAM, the other to
reset the LAM if it is jumpered for internal latching. (The internal
jumpers allow the branch LAM to be made available either inverted or
non-inverted in either a latched or unlatched mode).
The following CAMAC Fcodes apply:
F(17)A(x) - write the CTLW
F(1)A(x) - read the CTLW
F(0)A(x) - read the module defined by the CTLW or execute the
command operation defined by the CTLW
F(16)A(x) - write data to the module defined by the CTLW or
execute the command operation defined by the CTLW
The following Control Word (CTLW) Format is implemented:
CTLW C C C C | N N N N N | A A A A | D | L L S S S | F F F F F
BITS 8 4 2 1 | 1 8 4 2 1 | 8 4 2 1 | | X Q C N A | 1 8 4 2 1
----------------------------------------------------------------
CAMAC 2 2 2 2 | 2 1 1 1 1 | 1 1 1 1 | 1 | 1 |
R + W 4 3 2 1 | 0 9 8 7 6 | 5 4 3 2 | 1 | 0 9 8 7 6 | 5 4 3 2 1
SERIAL BRANCH DRIVER SPECIFICATION (SLAC 135-744) (SBD) Page 44-2
LINES
Where C - the value of the Crate address on the branch
N - the value of the Module address, where N is the slot
number marked on the Crate
A - the value of the sub-Address
D - the Data mode, D = 0 corresponds to the 16-bit mode
D = 1 corresponds to the 24-bit mode
LX, LQ, SC, SM, SA
- scan mode control bits (See Table 1) where in general
SA implies scan A (LSB)
SN implies scan N
SC implies scan C
LQ implies LAM on no Q
LX implies LAM on no X (MSB)
(The decimal equivalent of the bit pattern is the
scan mode #.)
F - the function code to be executed in Crate C
Table 1
Description of Scan Modes
QS LX LQ SC SN SA FUNCTION
0 0 0 0 0 0 No incrementation. Same A, N + C are repeated. L
is not generated.
8 0 1 0 0 0 No incrementation. Same A, N + C are repeated. L
is generated after Q is received false.
1 0 0 0 0 1 Scan A up to 15 with the same N + C. L is
generated after A=15.
9 0 1 0 0 1 Repeat same A, N + C. Increment A if and only if Q
is false. L is generated after A=15 and Q is
false. N + C are never incremented.
2 0 0 0 1 0 Scan N up to 23 with same A + C. L is generated
after N=23.
10 0 1 0 1 0 Repeat same A, N + C. Increment N if and only if Q
SERIAL BRANCH DRIVER SPECIFICATION (SLAC 135-744) (SBD) Page 44-3
is received false. L is generated after N=23 and Q
is false. A + C are never incremented.
4 0 0 1 0 0 Scan C up to 15 with the same A + N. L is
generated after C=15. A + N are never incremented.
12 0 1 1 0 0 Repeat same A, N + C. Increment C if and only if Q
is false. A + N are never incremented. L is
generated after C=15 and Q is false.
3 0 0 0 1 1 Scan A up to 15 with the same N + C. Then scan
next N with A=0 to 15. Repeat with A=0 to 15 for
each N through N=23. L is generated after N=23 and
A=15. C is never incremented.
11 0 1 0 1 1 Repeat same A, N + C. Increment A if and only if Q
is false. When A=15 and Q is false, set A=0 and
increment N. When A=15 and N=23 and Q is false,
generate L. C is never incremented.
19 1 0 0 1 1 Scan A with the same N + C. Whenever A=15 continue
with same N + C and set A=0. Increment N if and
only if X is false. Set A=0 when N is incremented.
Generate L when N=23 and X is false. C is never
incremented.
27 1 1 0 1 1 Repeat same A, N + C. Increment A if and only if C
is false. After A=15 and Q is false, or after each
time X is false, increment N and set A to 0.
Generate L when N=23 and X is false or when N=23
and A=15 and Q is false. C is never incremented.
5 0 0 1 0 1 Scan A up to 15 with the same N + C. Then scan
next C with A=0 to 15. Repeat with A=0 to 15 for
each C through C=15. L is generated after C=15 and
A=15. N is never incremented.
13 0 1 1 0 1 Repeat same A, N + C. Increment A if and only if Q
is false. When A=15 and Q is false, set A=0 and
increment C. When A=15 and C=15 and Q is false,
generate L. N is never incremented.
21 1 0 1 0 1 Scan A with the same N + C. Whenever A=15 continue
with same N + C and set A=0. Increment C if and
only if X is false. Set A=0 when C is incremented.
Generate L when C=15 and X is false. N is never
incremented.
29 1 1 1 0 1 Repeat same A, N + C. Increment A if and only if Q
is false. After A=15 and Q is false, or after each
time X is false, increment C and set A to 0.
Generate L when C=15 and X is false or when C=15
and A=15 and Q is false. N is never incremented.
6 0 0 1 1 0 Scan N up to 23 with the same A + C. Then scan
next C with N=1 to 23. Repeat with N=1 to 23 for
SERIAL BRANCH DRIVER SPECIFICATION (SLAC 135-744) (SBD) Page 44-4
each C through C=15. L is generated after C=6 and
N=23. A is never incremented.
14 0 1 1 1 0 Repeat same A, N + C. Increment N if and only if Q
is false. When N=23 and Q is false, set N=1 and
increment C. When N=23 and C=15 and Q is false,
generate L. A is never incremented.
22 1 0 1 1 0 Scan N with the same A + C. Whenever N=23 continue
with same C + A and set N=1. Increment C if and
only if X is false. Set N=1 when C is incremented.
Generate L when C=15 and X is false. A is never
incremented.
30 1 1 1 1 0 Repeat same A, N + C. Increment N if and only if Q
is false. After N=23 and Q is false, or after each
time X is false, increment C and set N to 1.
Generate L when C=15 and X is false or when C=15
and N=23 and Q is false. A is never incremented.
7 0 0 1 1 1 Scan A up to 15 with the same N + C. Then scan
next N with A=0 to 15. Repeat with A=0 to 15 for
each N until N=23, then scan next C with N=1 to 23,
and A=0 to 15 for each N. L is generated after
A=15, N=23 and C=15.
15 0 1 1 1 1 Repeat same A, N + C. Increment A if and only if Q
is false. After A=15 and Q is false, set A=0 and
increment N. When A=15 and N=23 and Q is false,
set A=0, N=1 and increment C. Generate L when
A=15, N=23, C=15 and Q is false.
23 1 0 1 1 1 Scan A with the same N + C. Whenever A=15, set A=0
without changing N or C. Increment N if and only
if X is false. Set A=0 when N is incremented.
Increment C if and only if N=23 and X is false.
Set A to 0 and N to 1 when C is incremented.
Generate L when C=15 and N=23 and X is false.
31 1 1 1 1 1 Repeat the same A, N + C. Increment A if and only
if Q is false. After A=15 and Q is false, or X is
false, increment N. A is set to 0 when N is
incremented. C is incremented when N=23 and X is
false, or when A=15 and N=23 and Q is false. A is
set to 0 and N is set to 1 when C is incremented.
L is generated when A=15, N=23, C=15 and Q is
false, or when N=23, C=15 and X is false.
16 1 0 0 0 0 Not defined.
17 1 0 0 0 1 Not defined.
18 1 0 0 1 0 Not defined.
20 1 0 1 0 0 Not defined.
SERIAL BRANCH DRIVER SPECIFICATION (SLAC 135-744) (SBD) Page 44-5
24 1 1 0 0 0 Not defined.
25 1 1 0 0 1 Not defined.
26 1 1 0 1 0 Not defined.
28 1 1 1 0 0 Not defined.
Go to top of page
Contact (until Aug. 15, 1996):
Jeffrey Miller
Owner: Bob Sass
Converted from VAX Runoff output using doc2webset.pl