Beamline Instrument Software Support |
|
SPEC Macro documentation:
[ Macro Index |
BCU Home ]
|
VARIAN_TPS.MAC | ||||||
[ source code | installed at | configured at ] | ||||||
See other macros in category: All | ||||||
Description:
| ||||||
Documentation:
The vacuum pump controller is accessed through an RS232 serial line which have been previously declared in the SPEC session config. These macros have been tested with TPS model 969-8230/TV301 SETUP Use tps_setup to specify the serial line to use for communication. | ||||||
Macros:
Usage: tps_setup serial_line Select the serial line from config file entries tps_debug Usage: tps_debug ["ON"|"OFF"] Switch on or off the print of debug messages tps_status Usage: tps_status Print out all the information about the controller tps_stop Usage: tps_stop Stop the pump tps_start Usage: tps_start Start the pump | ||||||
Internal Macros: | ||||||
Usage: _tps_globals Define all globals used by these macros _tps_checksetup Usage: _tps_checksetup Define all globals used by these macros _tps_cmd Usage: _tps_cmd (window_val, read_write, data_type, data) window_val: VARIAN numerical code read_write: must be "rd","wr" data_type: must be "L","N","A" data: numerical data to write When writing, the macro returns a string "OK", "ERROR" When reading, the macro returns the controller answer as string otherwise "ERROR" in case of error tps_stat_rd Usage: tps_stat_rd () Return the pump status, "ON" or "OFF" tps_rpm_rd Usage: tps_rpm_rd () Return the rotation frequency (in rpm) as a number tps_press_rd Usage: tps_press_rd () Return the vacuum pressure (in mbar) as a float tps_temp_rd Usage: tps_temp_rd () Return the controller air temperature (in deg) as a number tps_curr_rd Usage: tps_curr_rd () Return the pump current (in mAmp) as a number tps_volt_rd Usage: tps_volt_rd () Return the pump voltage (in volt) as a number tps_watt_rd Usage: tps_watt_rd () Return the pump power (in watt) as a number tps_life_rd Usage: tps_life_rd () Return the tip-seal life (in ???) as a number | ||||||
|