add jt (frappy version for jtccr)

This commit is contained in:
2026-03-12 16:32:00 +01:00
parent 5f81e6cd9a
commit bc3d255f36
+42
View File
@@ -0,0 +1,42 @@
Node('jtccr.config.sea.psi.ch',
'CCR with JT-stage',
)
Mod('jtcontrol',
'frappy_psi.jtccr.JTCCR,
'jt ccr control',
compressor = 'jtcompressor',
)
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')
for i in range(1,11):
Mod(f'v{i}', 'frappy_psi.ccu4.Valve', f'valve V{i}', io='io_ccu', channel=i)
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'),
)
for i in range(1,5):
Mod(f'p{i}', 'frappy_psi.dpmpressure.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)