diff --git a/cfg/vf_cfg.py b/cfg/vf_cfg.py new file mode 100644 index 0000000..ad7e44b --- /dev/null +++ b/cfg/vf_cfg.py @@ -0,0 +1,103 @@ +Node('vf.psi.ch', + 'small vacuum furnace', + 'tcp://5000', +) + +Mod('htr_io', + 'frappy_psi.bkpower.IO', + 'powersupply communicator', + uri = 'serial:///dev/ttyUSBupper', + ) + +Mod('htr', + 'frappy_psi.bkpower.Power', + 'heater power', + io= 'htr_io', + ) + +Mod('out', + 'frappy_psi.bkpower.Output', + 'heater output', + io = 'htr_io', + maxvolt = 50, + maxcurrent = 2, + ) + + +Mod('relais', + 'frappy_psi.ionopimax.DigitalOutput', + 'relais for power output', + addr = 'o2', + ) + +Mod('T_main', + 'frappy_psi.ionopimax.CurrentInput', + 'sample temperature', + addr = 'ai4', + valuerange = (0, 1372), + value = Param(unit='degC'), + + ) + + +Mod('T_extra', + 'frappy_psi.ionopimax.CurrentInput', + 'extra temperature', + addr = 'ai3', + valuerange = (0, 1372), + value = Param(unit='degC'), + + ) + +Mod('T_htr', + 'frappy_psi.ionopimax.CurrentInput', + 'heater temperature', + addr = 'ai2', + valuerange = (0, 1372), + value = Param(unit='degC'), + ) + +Mod('T_wall', + 'frappy_psi.ionopimax.VoltageInput', + 'furnace wall temperature', + addr = 'av2', + rawrange = (0, 1.5), + valuerange = (0, 150), + value = Param(unit='degC'), + ) + +Mod('T', + 'frappy_psi.picontrol.PI', + 'controlled Temperature', + input = 'T_htr', + output = 'out', + relais = 'relais', + p = 2, + i = 0.01, + ) + +Mod('interlocks', + 'frappy_psi.furnace.Interlocks', + 'interlock parameters', + input = 'T_htr', + wall_T = 'T_wall', + vacuum = 'p', + relais = 'relais', + control = 'T', + wall_limit = 50, + vacuum_limit = 0.1, + ) + +Mod('p_io', + 'frappy_psi.pfeiffer.IO', + 'pressure io', + uri='serial:///dev/ttyUSBlower', + ) + +Mod('p', + 'frappy_psi.pfeiffer.Pressure', + 'pressure reading', + io = 'p_io', + ) + +