CONTROLS
CAMAC 200
ED-35631
CAMAC 200 Module![]()
Abort Concentrator
Robert J. Ducar and Brian S. Hendricks
May 24, 1983
Revised February 26, 1998
![]()
Description
The CAMAC C200 module interfaces subsystem beam permit/ abort request conditions to the beam abort hardware loop and to the control system. The module was designed to meet the specific needs of the Tevatron accelerator, but has since been utilized in the Booster, Main Injector, Antiproton Source, and the Switchyard. Eight beam permit inputs are accommodated by a separate input panel. These inputs are opto-isolated, latched upon fall, and failsafe by design. Approximately, 20 ma @ 2V must be sourced externally to the module for a beam permit condition to exist. Eight current source, which are programmable from the module, are available at the input panel for connection to unused beam permit inputs. Two levels of input mask are provided at the module level. The first level is a full mask by which any or all inputs are disabled. This feature is available only if IC5 (74ALS574) is installed on the module. The second level of mask disables inputs during normal beam on time. This option for a so-called "type 1" input is set by an on-board DIP switch. The state of this switch can be read by the control system. The module receives Tevatron clock (TCLK) and the status of the upstream input. The module sources a local permit, high level permit, BP/AIP for connection to local TSCCs, and buffered TCLK. The occasion of any beam permit or the upstream permit going false is stored in an on-board FIFO register with an appropriate identifier and with a 16 bit timestamp having a resolution of 1 msec.
CAMAC Functions
All codes return Q and X immediately except F(4)A(0) for which
Q is conditional based on whether or not any values are in the
FIFO.
A) Read Functions
F0A0 - reads permitted state of each input and the
state of the type (0/1) DIP switch
15 8 7 0
-------------------------------------
| input type (0/1) | abort input |
| #8 -------> #1 | #8 -------> #1 |
-------------------------------------
^ ^
| |
1 if type 1 1 if input tripped
0 if type 0 0 if input OK
F1A0 - reads module status
15 14 13 12 11 10 9 8 0
--------------------------------------------
| LP | UP | TCA | BG | HLPO | FFE | FFIR | 0 |
--------------------------------------------
LP : 1 -> local permit present
UP : 1 -> upstream permit present
TCA : 1 -> Tevatron clock active
BG : 1 -> beam gate on
HLPO: 1 -> high level permit out active
FFE : 1 -> FIFO empty
FFIR: 1 -> FIFO input ready
F2A0 - reads input mask and current source registers
15 8 7 0
---------------------------------------
| input masked off | current source off |
| #8 -------> #1 | #8 ---------> #1 |
---------------------------------------
^ ^
| |
1 if input off 1 if source off
0 if input enabled 0 if source on
F4A0 - reads (destructively) the input number and
its associated timestamp (no Q if FFE = 1)
23 20 19 16 15 0
----------------------------------------
| 0 | input number | timestamp in msec |
----------------------------------------
^ ^
| |
range is 1-9 maximum is 65.535 sec
(9 -> upstm permit) (rollover is allowed)
F6A0 - return module ID number (200)
F9A0 - reset the module
(logical OR with Z.S2 and power up clear)
(clears input latches, FIFO, sequence circuits,
enables all inputs, all current sources on)
F9A15 - reset abort concentrator
(same as clock event $48)
(clears input latch and FIFO)
F18A0 - loads input mask and current source registers
B) Write Functions
F18A0 - loads input mask and current source registers
15 8 7 0
---------------------------------------
| input masked off | current source off |
| #8 -------> #1 | #8 ---------> #1 |
---------------------------------------
^ ^
| |
1 if input off 1 if source off
0 if input enabled 0 if source on
TCLK Events
Tevatron
--------
Clock Event MDAT Multiplier Code
----------- --------------------
40 | 41 | 49 resets timestamp scaler to 0
71 turns beam gate on
46 | 47 | 40 | 41 | 49 turns beam gate off
(Loss of upstream permit or
local permit also turns it off.)
48 resets abort concentrator
Main Injector
-------------
50 resets abort concentrator
Antiproton Source
-----------------
88 resets abort concentrator
References
Schematic Number xxxx - ED - 35631
Front Panel xxxx - MC - xxxxxx
I/O Connections
Viking Connector
1L - TCLK input
1R - common
2L - high level permit out
2R - common
3L - high level upstream permit in
3R - upstream permit in
4L - beam permit #8 source
4R - beam permit #8 return
5L - beam permit #7 source
5R - beam permit #7 return
6L - beam permit #6 source
6R - beam permit #6 return
7L - beam permit #5 source
7R - beam permit #5 return
8L - beam permit #4 source
8R - beam permit #4 return
9L - beam permit #3 source
9R - beam permit #3 return
10L - beam permit #2 source
10R - beam permit #2 return
11L - beam permit #1 source
11R - beam permit #1 return
12L - BP/AIP out
12R - local permit out
13L - current source 7
13R - current source 8
14L - current source 5
14R - current source 6
15L - current source 3
15R - current source 4
16L - current source 1
16R - current source 2
17L - common
17R - common
18L - common
18R - common
Front Panel Lemos
TCLK in and out
PALS DOCUMENTATION
module 20004a title ' CAMAC 200 R. DUCAR 9-8-88 ' 20004a device 'f173';
F16, F8, F4, F2, F1, A8 pin 1,2,3,4,5,6; A4, A2, N, A1, Z pin 7,8,9,10,11; S2, PCLR, DF18, DF9F, PUC, DF6 pin 13,14,15,16,17,18; DF2, DF90, DF1, DF0, DF4 pin 19,20,21,22,23;
H,L,X,Z = 1,0,.X.,.Z.; "Use standard PALASM operators @ALTERNATE equations ;
/DF0 = /N*A8*A4*A2*A1*F16*F8*F4*F2*F1 ;" F(0)A(0)
/DF1 = /N*A8*A4*A2*A1*F16*F8*F4*F2*/F1 ;" F(1)A(0)
/DF2 = /N*A8*A4*A2*A1*F16*F8*F4*/F2*F1 ;" F(2)A(0)
/DF4 = /N*A8*A4*A2*A1*F16*F8*/F4*F2*F1 ;" F(4)A(0)
/DF6 = /N*A8*A4*A2*A1*F16*F8*/F4*/F2*F1 ;" F(6)A(0)
/DF90 = /N*A8*A4*A2*A1*F16*/F8*F4*F2*/F1 ;" F(9)A(0)
/DF9F = /N*/A8*/A4*/A2*/A1*F16*/F8*F4*F2*/F1 ;" F(9)A(15)
/DF18 = /N*A8*A4*A2*A1*/F16*F8*F4*/F2*F1 ;" F(18)A(0)
/PCLR = /PUC + /Z*/S2
"DESCRIPTION: This PAL provides necessary NAF decoding
for the eight operational codes required
by the Camac 200 Abort Concentrator module.
A portion of the module clear signal is
also developed.
Format revised for PLS173 on 9-8-88. end 20004a
module 20018a title ' CAMAC 200 R. DUCAR 9-8-88 ' 20018a device 'f153';DF4, DF0126, DF90, FFOR, DE3 pin 1,2,3,4,5; DF9F, DF18, PCLR, S1 pin 6,7,8,9; CMIS, RHB, READ, RAC, FFOE pin 11,12,13,14,15; CLR, Q, X, FFS pin 16,17,18,19;H,L,X,Z = 1,0,.X.,.Z.; "Use standard PALASM operators @ALTERNATE equations/RHB = /DF4*FFOR;/X = /DF4 + /DF90 + /DF9F + /DF18 + DF0126/Q = /DF4*FFOR + /DF90 + /DF9F + /DF18 + DF0126/FFS = /DF4*FFOR*/S1 ;/CLR = /PCLR + /DF90*/S1/RAC = /PCLR + /DF90*/S1 + /DF9F*/S1 + /DE3FFOE = /DF4*FFOR;/CMIS = /DF18*/S1 + /PCLR + /DF90*/S1/READ = DF0126 + /DF4*FFOR"DESCRIPTION: This PAL processes decoded NAF codes to necessary strobes and enables. A brief description of some of the mnemonics follows:RHB- Read High Byte: The High Byte (R24-R17) of Read Data is only enabled for the F(4) code when the FIFO has data.FFS- FIFO Strobe: The allowed F(4) operation is recognized and causes the FIFO to shift out approximately 1 micro- second after S1.RAC- Reset Abort Concentrator: This signal clears only the input latches and FIFO memory.FFOE- FIFO Output Enable: Active only for the F(4) operation when there is data in the FIFO.CMIS- Clock Mask and Current Source Registers: This line is active during the F(18) operation and clear.Revised for PLS153 format on 9-8-88. end 20018amodule 20048a title ' CAMAC 200 R. DUCAR 9-8-88 ' 20048a device 'f153';IR34, OR34, IR35, OR35, IR36 pin 1,2,3,4,5; OR36, IR37, OR37, IR38 pin 6,7,8,9; OR38, FFIR, FFOR, FIFODAT, NC15 pin 11,12,13,14,15; NC16, NC17, NC18, NC19 pin 16,17,18,19;H,L,X,Z = 1,0,.X.,.Z.; "Use standard PALASM operators @ALTERNATE equations/FFIR = IR34*IR35*IR36*IR37*IR38;FFOR = OR34*OR35*OR36*OR37*OR38;/FIFODAT = OR34*OR35*OR36*OR37*OR38;"DESCRIPTION: This PAL Ands input ready and output ready signals from the LS224 FIFOs to single input and output ready signals.Revised for PLS153 format on 9-8-88. end 20048amodule 20066a title ' CAMAC 200 RF-104B MAIN RING R. DUCAR 9-8-88 ' 20066a device 'f153';B6, B5, B3, B2, B1 pin 1,2,3,4,5; B0, B7, ED, B4 pin 6,7,8,9; NC11, DE3, DE0, DE2, DE1 pin 11,12,13,14,15; NC16, NC17, NC18, NC19 pin 16,17,18,19;H,L,X,Z = 1,0,.X.,.Z.; "Use standard PALASM operators @ALTERNATE equations/DE0 = /ED*/B7*/B6*B5*/B4*/B3*/B2*/B1*/B0 + " 20 /ED*/B7*/B6*B5*/B4*/B3*/B2*/B1*B0 + " 21 /ED*/B7*/B6*B5*/B4*B3*/B2*/B1*B0 + " 29 /ED*/B7*/B6*B5*/B4*B3*/B2*B1*/B0 + " 2A /ED*/B7*/B6*B5*/B4*B3*/B2*B1*B0 + " 2B /ED*/B7*/B6*B5*/B4*B3*B2*/B1*B0 + " 2D /ED*/B7*/B6*B5*/B4*B3*B2*B1*/B0 ;" 2E/DE1 = /ED*/B7*/B6*B5*/B4*B3*/B2*/B1*/B0 ;" 28/DE2 = /ED*/B7*/B6*B5*/B4*/B3*B2*B1*/B0 + " 26 /ED*/B7*/B6*B5*/B4*/B3*B2*B1*B0 + " 27 /DE0 ;" All MR Resets/DE3 = /ED*/B7*/B6*B5*/B4*/B3*B2*/B1*/B0 ;" 24"DESCRIPTION: This PAL decodes TCLK events for the CAMAC 200. It provides four separate outputs of decoded events for RF-104B versions of the 200 module. RF-104A versions of the 200 module use a PROM in this location. Distinct versions of this PAL may exist for different permit/abort systems.DE0: Time Stamp Reset DE1: Beam Gate ON DE2: Beam Gate OFF DE4: Permit/Abort System Reset end 20066amodule 20066b title ' CAMAC 200 RF-104B TEVATRON R. DUCAR 10-12-89 ' 20066b device 'f153';B6, B5, B3, B2, B1 pin 1,2,3,4,5; B0, B7, ED, B4 pin 6,7,8,9; NC11, DE3, DE0, DE2, DE1 pin 11,12,13,14,15; NC16, NC17, NC18, NC19 pin 16,17,18,19;H,L,X,Z = 1,0,.X.,.Z.; "Use standard PALASM operators @ALTERNATE equations/DE0 = /ED*/B7*B6*/B5*/B4*/B3*/B2*/B1*/B0 + " 40 /ED*/B7*B6*/B5*/B4*/B3*/B2*/B1*B0 + " 41 /ED*/B7*B6*/B5*/B4*B3*/B2*/B1*B0 + " 49 /ED*/B7*B6*/B5*/B4*B3*B2*/B1*B0 ;" 4D/DE1 = /ED*/B7*B6*/B5*/B4*B3*/B2*B1*/B0 ;" 4A/DE2 = /ED*/B7*B6*/B5*/B4*/B3*B2*B1*/B0 + " 46 /ED*/B7*B6*/B5*/B4*/B3*B2*B1*B0 ;" 47/DE3 = /ED*/B7*B6*/B5*/B4*B3*/B2*/B1*/B0 ;" 48"DESCRIPTION: This PAL decodes TCLK events for the CAMAC 200. It provides four separate outputs of decoded events for RF-104B versions of the 200 module. RF-104A versions of the 200 module use a PROM in this location. Distinct versions of this PAL may exist for different permit/abort systems.DE0: Time Stamp Reset DE1: Beam Gate ON DE2: Beam Gate OFF DE4: Permit/Abort System Reset end 20066bSecurity, Privacy, Legal