cfg.emagnet: minor changes

This commit is contained in:
2026-05-13 17:12:09 +02:00
parent 32dee33fac
commit fdaacc0b5b
+30
View File
@@ -0,0 +1,30 @@
Node('electromagnet.psi.ch',
'electromagnet SPS',
'tcp://5001',
)
IO('io_mf', uri='192.168.2.2:2000')
IO('io_mot', uri='serial:///dev/ttyS2?baudrate=115200')
Mod('mf',
'frappy_psi.electromagnet.Magnet',
'magnetic field',
io='io_mf')
Mod('mot',
'frappy_psi.phytron.Motor',
'sample changer motor',
io='io_mot',
value=Param(unit='mm'),
check_limit_switches=True,
encoder_mode='CHECK',
target_min = 10,
target_max = 210,
)
Mod('sample',
'frappy_psi.electromagnet.SampleHolder',
'sample holder position',
motor='mot',
)