Alicat Mass Flow & Pressure Controller
v0.1.2MCP server for Alicat mass flow and pressure meters/controllers.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_connection_info Get Connection Info
Report which instrument is connected (identity, address, simulated or real), whether the server is read-only, and the active safety limits. Call this first.
get_command_log Get Command Log
Return the most recent raw commands sent to / replies received from the instrument (newest last). Useful for debugging and for recording what was done.
| Parameter | Type | Description |
|---|---|---|
limit | integer |
reconnect Reconnect
Close and re-open the connection to the instrument (e.g. after it was power cycled or a cable was re-plugged).
read_flow Read Flow
Read the live data frame: mass flow, volumetric flow, pressure, temperature, setpoint (controllers), active gas and any status codes, each with the device's engineering units.
get_device_info Get Device Info
Report model, serial number, firmware, calibration date, whether the device is a controller, the units of every data-frame field, the setpoint full scale and setpoint source.
list_gases List Gases
List the gases installed on this mass flow device (number and short name), as used by `set_gas`. Liquid and pressure-only devices have no gas list.
log_flow_series Log Flow Series
Record a time series of data frames (e.g. to check flow stability, settling after a setpoint change, or pressure drift). Returns every point plus mean/stdev/min/max of the mass flow (or the main measured quantity for non-flow devices).
| Parameter | Type | Description |
|---|---|---|
count | integer | Number of readings |
interval_s | number | Seconds between readings |
save_path | Optional new .csv file for the full series (an existing file is not overwritten) |
set_flow_setpoint Set Flow Setpoint
Change the controller setpoint: starts, changes or stops gas flow (or sets the target pressure on a pressure controller). 0 stops flow and closes the valve on a flow controller. Negative values only work on bidirectional controllers. Refused on meters, above the `max_setpoint` limit, and above the device's full scale.
| Parameter | Type | Description |
|---|---|---|
setpoint * | number | New setpoint in the controller's setpoint units (see get_device_info) |
set_gas Set Gas
Select the gas calibration the mass flow device uses (Gas Select). This changes how flow is computed, so do it with the setpoint at 0. Only gases installed on the device work (see `list_gases`); corrosive gases need anti-corrosive (S-series) hardware.
| Parameter | Type | Description |
|---|---|---|
gas * | string | Gas short name or number, e.g. 'N2' (8), 'Air' (0), 'O2' (11), 'CO2' (4), 'Ar' (1), 'He' (7), 'H2' (6), 'CH4' (2); COMPOSER mixes are 236-255 |
save_as_power_up | boolean | Also make it the power-up gas (10v05+) |
tare_flow Tare Flow
Tare (zero) the flow reading. ONLY run with no flow through the device: upstream shut off or controller setpoint 0, with the line at its normal operating pressure. Refused if the setpoint is not 0 or a significant flow is still being measured.
tare_pressure Tare Pressure
Tare a pressure reading. Requires no flow and the device OPEN TO ATMOSPHERE (gauge), or no flow and an unpressurised process line (absolute, barometer-equipped devices only).
| Parameter | Type | Description |
|---|---|---|
kind | string | 'gauge' zeroes a gauge/differential sensor; 'absolute' aligns the absolute sensor to the built-in barometer (barometer option required) |
hold_valve Hold Valve
Freeze the controller's valve(s) at their current position (HLD): closed-loop control stops, so flow will drift if upstream pressure changes. Use `resume_control` to release, or `close_valve` to shut off completely.
resume_control Resume Control
Cancel any valve hold and resume closed-loop control to the current setpoint. Flow restarts immediately if the setpoint is not 0 (check it with `read_flow` first).
close_valve Close Valve
Stop the flow: set the flow setpoint to 0 and hold all valves closed (Alicat HC). Safe to call at any time. On pressure controllers the pressure setpoint is left unchanged and the valves are held closed, trapping the current pressure.