The LeCroy Model 2738 is the system controller for MWPC encoding with the PCOS Ill System. One Model 2738 double width CAMAC module occupies station numbers 24 and 25 of a dedicated crate of LeCroy Model 2731 32-Channel Delay and Latch modules for a maximum of 736 wires per crate. The Model 2738 System Controller performs the readout, encoding, and control functions for the 2731 modules and serves as a interface to the LeCroy DATABUS. Communication is achieved via either a LeCroy Model 4299 DATABUS Interface and Memory Module which is resident in the CAMAC data acquisition system or a user-supplied fast ECL interface using the Model 2738 ECLport out connector.
The Model 2738 offers both ECLport readout encoding and data compacting at 10 megawords per second, ten times the maximum CAMAC data transfer rate. The Model 2738 determines the addresses of all wires which were hit and then stores these addresses in a 1 k by 16 buffer memory which is interfaced to the LeCroy DATABUS for lower rate transmission of the hit wire addresses via the Model 4299. Internal switches in the Model 2738 allow the implementation of a hardwired cluster centroid calculator. In this mode of operation, the address of the cluster centroid (14 bits) and the width of the cluster (4 bits) are transmitted as successive data words. The internal switches determine whether clusterized or unclusterized data is available at both the DATABUS port and the ECLport.
The ECLports of the Model 2738 PCOS Ill System Controller can be used for both cluster calcula- tions that transcend dedicated crate boundaries and track recognition logic. Master/Terminal switches set the status of each 2738 module in a multicrate system. Cluster calculations transcend- ing a crate boundary can then be achieved by connections between the ECLport OUT and ECLport IN of the crates in question. If all of the crates in a PCOS Ill System were connected together via the ECLports, the master crate (the crate closest to the Model 4299) becomes a master controller. Even with this arrangement it is still possible to communicate to the track recognition logic via the ECLport OUT of the master crate.
The Model 2738 accepts NIM control signals and distributes them to the 2731 modules via the CAMAC Dataway. The system accepts four control lines: El, E2, E3, E4 and a bridged high- impedance Clear Input. The receiver modules may be assigned to the control lines via internal jumpers.
The value of the chamber discriminator card thresholds (LeCroy Models 2735 or 7791), the value of the delay settings for the LeCroy Model 2731 Delay and Latch, the module addresses for the Model 2731 s, and the test patterns are transmitted as datawords from the data acquisition system via the LeCroy Model 4299 DATABUS Control Module to the PCOS Ill System Controller. This protocol allows the user to determine chamber plateaus, to optimize the required delay ("electronic cable cutting"), to assign any 9-bit address to any 2731 module for complete system control, and to OR a test pattern with the, model 2731 wire inputs for system tests.
|
CONTROL INPUTS AND OUTPUTS |
||
|
E1, E2, E3, E4: |
NIM level inputs 600 mV). Input impedance 50 ohm; selection of El, E2, E3, E4 via jumper option in receiver modules; trailing edge of El initiates encoding. See receiver module specifications for minimum widths and usage. |
|
|
Clear Encode: |
NIM level input (<=-600 mV) clears the encoder section of the Model 2738 and 2731 latches within 100 nsec. High impedance front panel bridged Lemo pair suitable for daisy chain operation may be applied at any time. Minimum width 100 nsec. |
|
|
INH Encode: |
NIM level input <= -600 mV) prevents encoding; may not be asserted after en- coding has begun. High impedance front panel bridged Lemo pair suitable for daisy chain operation. |
|
|
Busy Encode: |
NIM level output (>= 16 mA) indicates encoding in process. Lemo connector bridged suitable for daisy chain to indicate total system status. Busy is asserted <= 100 nsec after the trailing edge of gate 1 until the encode cycle is complete. |
|
|
Reset: |
NIM input (<= -600 mV) clears Model 2731 latches and 2738 memory within 100 nsec. High impedance front panel bridged Lemo pair suitable for daisy chain operation. If applied during DATABUS readout, the Model 4299 must be reset via its RT input. |
|
|
USER OPTION SWITCHES-SIDE PANEL ACCESSED |
||
|
Address: |
Four, 2-position switches, #1, 2, 3, 4. Defines the address of Model 2738 for com- munication via DATABUS. Address = 4321. "Open" = "i ". |
|
|
LAM Enable: |
Two position switch, #5. Generates LAM Request in 4299 at end of readout cycle. "Closed" to disable LAM Request. |
|
|
DATABUS Control: |
Two position switch, #6. Automatic readout of the data in the buffer memory to the Model 4299. The 2738 local memory can be at any time read by using the 2738 Reread Command. "Closed" for automatic readout. |
|
|
Terminal: |
Two Position Switch, #7. Turns on the front panel "Terminal" LED. This indicates that this controller is furthest from Master. It serves to terminate Data Encoding. If there is no ECLport daisy chain both Master and Terminal switches must be on. "Closed" turns on Terminal LED. |
|
|
Master: |
Two Position Switch, #8. Turns on the front panel "Master" LED. This indicates that this controller processes all data on the ECLport daisy chain and stores the data for readout. "Closed" turns on Master LED. |
|
|
ECLport Source: |
Two position switch, #9. Selects data before or after Data Pipeline. "Closed" to select data before Data Pipeline. |
|
|
Pipeline Mode: |
Two position switch #10. Enables the clusterizing mode of the Data Pipeline. In- ternal memory always reads the output of the Data Pipeline. "Closed" for non- clusterizing mode. |
|
|
ECLport: |
||
|
Data Ready: |
NIM level (>= 16 mA) indicates data at ECLport are valid. Data Ready is asserted 30 nsec after ECLport data are valid. |
|
|
Data ACK: |
NIM level (<= -600 mV) inhibits data transfer to ECLport. Left open, data appear at ECL port at 10 M words/sec. If Data ACK is driven to the 0 mA state for 20 to 80 nsec, one word is transmitted to ECLport output. If Data ACK is in the 0 mA state for > 80 nsec, > 1 word may be presented at ECLport. |
|
|
ECLport In: |
17-pair header; accepts 16-bit differential ECL signals from ECLport out of the previous Model 2738 in an ECLport chain. |
|
|
ECLport Out: |
17-pair header provides 16-bit differential ECL signals in same format as CAMAC data, see below (delimiter word not transmitted). Output configuration defined by the ECLine standard. See LeCroy ECLine application note. |
|
|
|
||
|
Commands via the Databus cable are based upon simple binary coding as follows: |
||
|
Symbol Definitions: |
||
|
A |
4-bit Controller Number: |
A1-A4 |
|
S |
9-bit Logical Address: |
S1-S9 |
|
N |
5-bit CAMAC Station: |
N1-N5 |
|
V |
8-bit Register Value: |
V1-V8 |
|
R |
3-bit Register |
R1-R3 |
|
X |
Don't Care |
|
|
Consult the DATABUS Interface manual for details of data transfer. |
||