# Pfeiffer Vacuum

Pfeiffer Vacuum gauge controllers and turbopumps: TPG 261/262, TPG 361/362/366, HiPace with TC 110

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

Read Pfeiffer gauge controllers, and read and control turbopumps driven by a TC 110. Add one input per controller or pump.

## What you get

**Gauge controllers** (TPG 261/262, TPG 361/362/366), per gauge:

- `g1/pressure`, in the unit the controller is set to (mbar, Torr, Pa, micron, hPa or V).
- `g1/status`: ok, underrange, overrange, sensor_error, sensor_off, no_sensor or identification_error.
- `g1/sensor`: the gauge type the controller reports, such as `TPR/PCR`.

The pressure is published only when the status is ok. Under and over range, the controller sends its range limit, not a measurement, so the pressure sample is empty and the status says why.

Commands: `g1/sensor_on` switches a gauge on or off, for gauges that can be switched. `error_reset` clears the controller's active error.

**Turbopumps with a TC 110** (HiPace 10 to 300):

- `speed` (Hz), `current` (A), `voltage` (V) and `power` (W).
- `at_speed`, `accelerating`, `pumping` and `standby`.
- `temp_pump`, `temp_motor` and `temp_electronics` (°C).
- `error`: the drive's error code.

Commands:

- `pumping_sp`: the pumping station on or off. Switching it on also acknowledges an error.
- `standby_sp`, and `standby_speed_sp` in %.
- `error_ack`.

**A safe state:** for a pump, `safe` switches the pumping station off, and the pump runs down. A gauge controller has no safe state.

Channels read `/pfeiffer/vacuum/<device>/…`, such as `/pfeiffer/vacuum/gauge1/g1/pressure`.

## Models

| Model | Gauges | Connection |
|---|---|---|
| TPG 261 | 1 | RS-232 |
| TPG 262 | 2 | RS-232 |
| TPG 361/362/366 | 1, 2 or 6, read from the controller | USB, RS-485 or Ethernet (port 8000) |
| HiPace with TC 110 | — | RS-485 |

None of these can be asked what it is, so choose the **Model**.

## Set up

1. Connect the controller or pump and note the port.
2. In **Inputs**, add **pfeiffer-vacuum** and fill in:
   - **Device name**, such as `gauge1`.
   - **Model**.
   - **Connection**: a serial or USB port such as `/dev/ttyUSB0` or `COM3`. For a TPG 36x on Ethernet, use `192.168.0.40:8000`.
   - **RS-485 address (turbopump)**: the drive's address (parameter 797, 1 by default).
   - **Line settings**: 9600 baud, unless the controller's own setting was changed. RS-485 is always 9600.
3. Press **Test connection**. It shows what the controller or drive says it is.
4. Start the input.

A gauge controller sends readings unasked from power-on until it is spoken to. The input stops that when it opens, and again whenever the line comes back.

## What has run on a real instrument

| Model | Run on a real instrument |
|---|---|
| TPG 261/262, TPG 361/362/366 | No. Tested against a simulator written from the communication protocol manuals. |
| HiPace with TC 110 | No. Tested against a simulator written from the TC 110 operating instructions. |

Not supported yet: HiPace pumps driven by a TC 400 or TC 1200.

## 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 controller's serial or USB port (/dev/ttyUSB0, COM3 or serial:<device>); a TPG 36x on Ethernet is host:8000. |
| Poll rate (Hz) | Number | No |  |
| RS-485 address (turbopump) | Number | No |  |
| Serial baud rate | Number | No |  |
| Serial parity | One of | No |  |
