Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
In the CAMAC modular instrumentation architecture, the crate controller is the nerve center of each crate. It acts as the sole master of the Dataway backplane bus, translating commands received from the external highway (parallel branch or serial) into precisely timed Dataway cycles. IEC 61639 standardizes the A-1 type crate controller, which is the most widely used controller variant, offering a balance of functionality, timing precision, and interface compatibility.
The A-1 controller occupies stations 24 and 25 of a standard CAMAC crate and provides the following key functions:
The heart of IEC 61639 is its precise definition of Dataway timing parameters. These timing specifications ensure that modules from different manufacturers operate reliably together in the same crate. The standard defines timing relative to the S1 and S2 strobe signals, which are the master timing references for all Dataway operations.
| Timing Parameter | Symbol | Min | Max | Unit |
|---|---|---|---|---|
| Address setup before S1 | t(AS) | 100 | — | ns |
| Data setup before S1 (write) | t(DS) | 100 | — | ns |
| S1 pulse width | t(S1) | 100 | 500 | ns |
| S1 to S2 separation | t(S12) | 300 | 700 | ns |
| S2 pulse width | t(S2) | 100 | 500 | ns |
| Data hold after S2 | t(DH) | 50 | — | ns |
| Address hold after S2 | t(AH) | 50 | — | ns |
| Q and X valid after S2 | t(QX) | 0 | 200 | ns |
| Minimum cycle time | t(CY) | 1000 | — | ns |
A complete Dataway cycle proceeds through the following timed phases:
Phase 1 — Address and Data Setup: The A-1 controller asserts the station number (N), sub-address (A), and function code (F) on the Dataway address lines. For write operations, data is also placed on the W lines. All signals must be stable for at least t(AS) = 100 ns before the S1 strobe to ensure that all modules have valid address information.
Phase 2 — First Strobe (S1): The S1 strobe signal is asserted for 100–500 ns. For write operations, S1 clocks the W-line data into the addressed module’s input register. For read operations, S1 signals the module to place its data on the R lines. The trailing edge of S1 marks the beginning of the module response period.
Phase 3 — Module Response Window: Between S1 and S2 (t(S12) = 300–700 ns), the selected module must:
(a) Place read data on R lines (for read operations)
(b) Assert Q if the response is valid
(c) Assert X to acknowledge command acceptance
Phase 4 — Second Strobe (S2): The S2 strobe latches read data into the crate controller. The module must maintain valid data on the R lines and valid status on Q and X lines until after the trailing edge of S2 (t(DH) ≥ 50 ns).
Phase 5 — Cycle Termination: After S2, all address and data signals are removed. The Dataway lines enter a high-impedance or precharged state in preparation for the next cycle. The minimum cycle time t(CY) of 1 microsecond limits the maximum Dataway throughput to approximately 1 million operations per second.
The A-1 controller supports three fundamental command types that map directly to Dataway operations:
| Command Type | Highway Operation | Dataway Cycle | Typical Use |
|---|---|---|---|
| N(0–23).A(0–15).F(0–7) | Read command | Read cycle | Digitized ADC value, status register |
| N(0–23).A(0–16).F(16–23) | Write command | Write cycle | Threshold setting, DAC update, control register |
| N(0–23).A(0–15).F(24–31) | Control command | Control cycle (no data) | Clear, reset, enable/disable, trigger |
Based on IEC 61639 specifications, several practical engineering considerations emerge when integrating A-1 crate controllers into data acquisition systems:
The A-1 is the standard, most widely compatible crate controller type. Other types include the A-2 (which adds auxiliary controller capability for multi-master Dataway access) and the A-3 (which provides enhanced diagnostic features). The A-1 offers the best balance of simplicity, cost, and compatibility and is recommended for most standard applications.
No. The crate controller is essential because it generates all Dataway timing signals (S1, S2) and manages the data flow between modules and the outside world. Without a controller, the Dataway is electrically inactive and no module can perform read, write, or control operations.
IEC 60516 is the base CAMAC standard that defines the overall system architecture, Dataway signal definitions, and module mechanical specifications. IEC 61639 is a companion standard that specifically details the A-1 crate controller implementation and its precise timing parameters. Together, they provide the complete specification for a functional CAMAC system.
If a module fails to assert its Q and X lines within 700 ns of S1, the crate controller interprets this as a “no response” condition. The X line will be low, indicating the command was not accepted. The highway controller receives this status and can flag an error. For troubleshooting, this typically indicates a module fault, addressing mismatch, or timing violation that requires module replacement or repair.