first tries with uniax stick

This commit is contained in:
2021-04-30 17:28:05 +02:00
parent ca6aebd290
commit 114af36ac6
5 changed files with 311 additions and 71 deletions

15
cfg/dpm.cfg Normal file
View File

@ -0,0 +1,15 @@
[NODE]
description = DPM driver for pressure cell
id = dpm.psi.ch
[INTERFACE]
uri = tcp://5000
[force]
description = DPM driver to read out the transducer value, write and read the offset and scale factor
class = secop_psi.dpm.DPM3
# uri = ldmse-d910-ts.psi.ch:3001
uri = serial:///dev/ttyUSB1
digits = 2
scale_factor = 0.0156

View File

@ -8,7 +8,8 @@ uri = tcp://5000
[drv_iodev]
description =
class = secop.bytesio.BytesIO
uri = serial:///dev/ttyUSB0?baudrate=57600
# uri = serial:///dev/ttyUSB0?baudrate=57600
uri = serial:///dev/ttyUSB0?baudrate=9600
[drv]
description = trinamic motor test

32
cfg/uniax.cfg Normal file
View File

@ -0,0 +1,32 @@
[NODE]
id = uniax.psi.ch
description = uniax pressure stick with motor and transducer
[INTERFACE]
uri = tcp://5000
[drv_iodev]
description =
class = secop.bytesio.BytesIO
uri = serial:///dev/ttyUSB0?baudrate=57600
# uri = serial:///dev/ttyUSB0?baudrate=9600
[drv]
description = trinamic motor test
class = secop_psi.trinamic.Motor
iodev = drv_iodev
standby_current=0.1
maxcurrent=1.4
acceleration=50
maxspeed=200
zero=-36
enc_tolerance=3.6
free_wheeling=0.001
pull_up=1
[force]
description = DPM driver to read out the transducer value, write and read the offset and scale factor
class = secop_psi.dpm.DPM3
uri = serial:///dev/ttyUSB1?baudrate=9600
digits = 2
scale_factor = 0.0156