This commit is contained in:
2026-04-23 15:38:52 +02:00
parent bc3d255f36
commit 9b5ba98c25
+43 -20
View File
@@ -1,42 +1,65 @@
Node('jtccr.config.sea.psi.ch',
Node('jtccr.psi.ch',
'CCR with JT-stage',
secondary = ['ws://8051'],
)
Mod('jtcontrol',
'frappy_psi.jtccr.JTCCR,
'frappy_psi.jtccr.JTCCR',
'jt ccr control',
compressor = 'jtcompressor',
ccrcompressor = 'ccrcompressor',
)
io_p1 = IO('jtccr-ts:3001')
io_p2 = IO('jtccr-ts:3002')
io_p3 = IO('jtccr-ts:3003')
io_p4 = IO('jtccr-ts:3004')
io_preg = IO('jtccr-ts:3005')
io_ccu = IO('jtccr-ts:3006')
io_pwsw = IO('jtccr-ts:3007')
IO('io_p1', 'jtccr-ts:3001', visibility='expert')
IO('io_p2', 'jtccr-ts:3002', visibility='expert')
IO('io_p3', 'jtccr-ts:3003', visibility='expert')
IO('io_p4', 'jtccr-ts:3004', visibility='expert')
IO('io_preg', 'jtccr-ts:3005', visibility='expert')
IO('io_ccu', 'jtccr-ts:3006', visibility='expert')
IO('io_pwsw', 'jtccr-ts:3007', visibility='expert')
IO('io_lsc', 'jtccr-ls:7777', visibility='expert')
Mod('ls', 'frappy_psi.lakeshore336.Device',
'lakeshore in cc rack', curve_handling=True, io='io_lsc', visibility='expert')
Mod('T_main', 'frappy_psi.lakeshore336.Sensor', 'T sensor Ts',
channel='A', calcurve='x63710', device='ls', io='io_lsc',
meaning = ['temperature', 20],)
Mod('T_ccr', 'frappy_psi.lakeshore336.Loop', 'T loop T',
channel='B', calcurve='x67737', output_module='htr', device='ls', io='io_lsc')
Mod('htr', 'frappy_psi.lakeshore336.MainOutput', 'heater output',
io='io_lsc', visibility='expert')
for i in range(1,11):
Mod(f'v{i}', 'frappy_psi.ccu4.Valve', f'valve V{i}', io='io_ccu', channel=i)
Mod(f'v{i}', 'frappy_psi.ccu4.Valve', f'valve V{i}', io='io_ccu',
channel=i, visibility='expert')
Mod('vm',
'frappy_psi.ccu4.MotorValve', 'motor valve VM',
io='io_ccu',
)
#Mod('vm',
# 'frappy_psi.ccu4.MotorValve', 'motor valve VM',
# io='io_ccu',
#)
Mod('pressreg',
'frappy_psi.bronkhorst.Controller', 'pressure regulator',
io='io_preg',
value = Param(unit='mbar'),
scale = 18,
)
for i in range(1,5):
Mod(f'p{i}', 'frappy_psi.dpmpressure.Pressure', '', io=f'io_p{i}')
Mod(f'p{i}', 'frappy_psi.dtmpressure.Pressure', '', io=f'io_p{i}')
Mod('jtcompressor', 'frappy_psi.epc8210.Switch', 'jt compressor switch', io='io_pwsw', addr=1)
Mod('jtpump', 'frappy_psi.epc8210.Switch', 'jt pump switch', io='io_pwsw', addr=2)
Mod('ccrcompressor', 'frappy_psi.epc8210.Switch', 'ccr compressor switch', io='io_pwsw', addr=3)
Mod('roughing', 'frappy_psi.epc8210.Switch', 'roughing pump switch', io='io_pwsw', addr=4)
Mod('turbo', 'frappy_psi.epc8210.Switch', 'turbo pump switch', io='io_pwsw', addr=5)
Mod('jtcompressor', 'frappy_psi.epc8210.Switch', 'jt compressor switch', io='io_pwsw',
addr=1, visibility='expert')
Mod('jtpump', 'frappy_psi.epc8210.Switch', 'jt pump switch', io='io_pwsw',
addr=2, visibility='expert')
Mod('ccrcompressor', 'frappy_psi.epc8210.Switch', 'ccr compressor switch', io='io_pwsw',
addr=3, visibility='expert')
Mod('roughing', 'frappy_psi.epc8210.Switch', 'roughing pump switch', io='io_pwsw',
addr=4, visibility='expert')
Mod('turbo', 'frappy_psi.epc8210.Switch', 'turbo pump switch', io='io_pwsw',
addr=5, visibility='expert')