Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
While IEC 61390 provides the system-level description of the CAMAC serial highway, IEC TR 61431-1995 delves into the specific technical requirements for the Serial Highway Controller (SHC) and the associated serial drivers and receivers. The SHC is the master element that controls all communication on the serial highway, converting commands from a host computer into serial messages that are transmitted to remote Serial Crate Controllers (SCCs).
The standard defines two types of SHC: Type L (Local) which is a CAMAC module installed in a crate adjacent to the host computer, and Type R (Remote) which is a standalone unit that can be located at a distance from the host. Both types must comply with the same electrical and protocol specifications to ensure interoperability on the same highway.
The standard defines the electrical characteristics of the serial highway drivers and receivers for both coaxial cable and twisted-pair transmission media. For coaxial cable operation, the driver must provide a balanced output with a differential voltage swing of ±2.0 V into a 75 Ω load. The receiver must have a minimum sensitivity of 100 mV and a common-mode rejection ratio of at least 60 dB to reject noise picked up on long cable runs.
| Parameter | Coaxial (75 Ω) | Twisted-Pair |
|---|---|---|
| Driver Output Voltage | ±2.0 V ±0.2 V into 75 Ω | ±1.5 V ±0.2 V into 120 Ω |
| Receiver Sensitivity | ≤ 100 mV | ≤ 100 mV |
| Common-Mode Rejection | ≥ 60 dB (DC to 10 MHz) | ≥ 60 dB (DC to 10 MHz) |
| Maximum Cable Length | 5 km (with low-loss cable) | 1.5 km (with typical twisted-pair) |
| Bit Rate (Bit-Serial Mode) | 40 Mbit/s maximum | 10 Mbit/s maximum |
| Byte Rate (Byte-Serial Mode) | 5 MHz maximum | 2 MHz maximum |
| Connector Type | BNC or N-type | 9-pin D-sub or screw terminal |
| Termination | 75 Ω ±1% at both ends | 120 Ω ±1% at both ends |
The serial highway protocol uses a defined message frame structure for all communication between the SHC and SCCs. Each message frame begins with a synchronization (SYNC) pattern that allows the SCC to lock onto the incoming bit stream. The SYNC pattern is followed by the crate address byte, command byte, optional data bytes (0-3 bytes depending on the operation), and an end-of-message (EOM) delimiter with longitudinal parity.
The standard defines detailed timing specifications for the message frame. The minimum time between consecutive messages (inter-message gap) must be at least 10 bit periods to allow SCCs to process the previous message and prepare for the next. The SHC must implement a timeout mechanism that aborts a transaction if no response is received from the addressed SCC within a specified period (typically 1-10 ms, depending on the highway length).
| Frame Element | Length | Description |
|---|---|---|
| SYNC Pattern | 2 bytes (16 bits) | Unique bit pattern for receiver synchronization (typically alternating 1-0 sequence) |
| Address Byte | 1 byte (8 bits) | 6-bit crate address (bits 0-5) + 2 control bits |
| Command Byte | 1 byte (8 bits) | Subaddress (4 bits) + Function code (4 bits) |
| Data Bytes | 0-3 bytes (0-24 bits) | Data for write operations; empty for read operations |
| EOM + Parity | 2 bytes (16 bits) | End-of-message marker + longitudinal parity byte |
| Response Window | Variable | Time allocated for SCC response (controlled by SHC timeout) |
| Response Data | 0-3 bytes | Data from read operations + status byte from SCC |
IEC TR 61431 defines a comprehensive error detection and recovery framework for the serial highway. In addition to the byte parity and longitudinal parity checks described in the message format, the standard specifies the behaviour of the SHC and SCC when errors are detected. The SHC maintains an error counter for each SCC on the highway. If the error rate for a particular SCC exceeds a programmable threshold, the SHC can flag that SCC as faulty and exclude it from further polling cycles.
The standard also defines a “highway test” mode where the SHC sends a loopback message that returns through the entire highway and back, allowing verification of highway integrity without involving individual SCCs. This test mode is essential for commissioning and troubleshooting long serial highway installations.
Implementing a serial highway system per IEC TR 61431 requires careful planning of several configuration parameters. The crate address on each SCC must be set using hardware switches or jumpers, and the address must be unique across the entire highway. The standard recommends a systematic addressing scheme where addresses are assigned in order along the physical highway route, simplifying troubleshooting.
The SHC must be configured with the correct operating parameters for the specific installation. These include the bit rate (which must match the maximum distance and cable type), the timeout period (longer for longer highways to account for propagation delay), the retry count (typically 3-5 retries before declaring an SCC faulty), and the polling sequence (sequential or priority-based). The standard provides guidance on selecting these parameters based on the highway length and the number of connected crates.
The addressing limit specified in the standard is 62 SCCs (6-bit address, with addresses 0-61 available, 62-63 reserved for broadcast and diagnostic functions). However, practical limitations due to cable length, signal attenuation, and polling latency may reduce the usable number. For long highways (over 2 km) with high polling rates, the practical limit is typically 30-40 SCCs.
Mixing cable types on the same highway is not recommended due to impedance discontinuities at the transition points, which cause signal reflections. If mixed media is unavoidable, use impedance-matching baluns at each transition and verify signal integrity with an eye pattern measurement at the receiver.
The serial highway uses balanced differential signalling for twisted-pair operation and double-shielded coaxial cable for high-speed operation, both of which provide good EMI rejection. However, in nuclear facilities with high electromagnetic fields (near accelerators, plasma confinement systems, or large motors), additional precautions such as ferrite chokes on cables and separate cable trays for signal and power cables are recommended.
IEC TR 61431-1995 is the international adoption of the earlier US standard IEEE 595-1982, with minor editorial modifications for alignment with IEC formatting conventions. The technical content is essentially identical. Users familiar with IEEE 595 will find IEC TR 61431 directly applicable, and vice versa.