# Edwards Vacuum

Edwards nXDS dry scroll pumps (also nXRi and nXLi Enhanced)

- Category: Instruments
- Capabilities: trellis, Streams, Assets, Commands, Operations, Entities
- Runs on: Linux x64, Linux ARM64, macOS Apple silicon, macOS Intel, Windows x64

Read and control Edwards nXDS dry scroll pumps over their serial interface. The nXRi and nXLi Enhanced speak the same interface. Add one input per pump.

## What you get

- **Readings:**
  - `speed` (Hz);
  - state: `running`, `standby` and `decelerating`;
  - `control`: who controls the pump (none, serial, parallel or manual);
  - `warning` and `alarm`, and `faults` with every fault the pump reports by name;
  - temperatures: `temp_pump` and `temp_controller` (°C);
  - drive: `link_voltage` (V), `motor_current` (A) and `motor_power` (W);
  - service: `run_hours` (h) and `service_due`.
- **Commands:**
  - `pump_sp` starts or stops the pump;
  - `standby_sp` switches standby speed on or off;
  - `standby_speed_sp` sets the standby speed, 66–100 % of full speed.
- **A safe state:** `safe` stops the pump. A Trellis system's safe state can name it.
- Channels read `/edwards/vacuum/<device>/…`, such as `/edwards/vacuum/pump1/speed`.

## Before you start

- The pump's **serial enable** line (pin 5 of its logic interface) must be tied to 0 V, or the pump does not answer.
- If that line drops while the pump runs from a serial start, the pump stops with a fault. To clear it, re-enable the line and send a stop.
- A pump started over the serial line can only be stopped over it. A pump started another way refuses serial start and stop, and the command's error says so.
- RS-232 is the default. For more than 6 m, use RS-485.

## Set up

1. Connect the pump's serial interface and note the port.
2. In **Inputs**, add **edwards-vacuum** and fill in **Device name**, **Model** (nXDS) and **Connection** (`/dev/ttyUSB0`, `COM3`). The line is 9600 baud, 8 data bits, no parity.
3. Press **Test connection**. It shows the pump type and software version the pump reports.
4. Start the input.

## What has run on a real instrument

| Model | Run on a real instrument |
|---|---|
| nXDS, nXRi, nXLi | No. Tested against a simulator written from the serial comms manual. |

Not supported yet: several pumps on one RS-485 line (multi-drop addressing).

## Connection fields

| Field | Type | Required | Notes |
|---|---|---|---|
| Device name | Text | Yes |  |
| Model | One of | Yes | This instrument cannot be asked what it is, so choose its model. |
| Connection | Text | Yes | The pump's serial port (/dev/ttyUSB0, COM3 or serial:<device>), or host:port of a serial-to-network bridge. The pump's serial-enable line must be held for it to answer. |
| Poll rate (Hz) | Number | No |  |
| Serial baud rate | Number | No |  |
| Serial parity | One of | No |  |
