Hi Vesna,
We are using the Pfeiffer Maxi Gauge with RS485 interface (via USB). See the
attached files. You need StreamDevice and Aysn.
Here is a startup script snippet:
drvAsynSerialPortConfigure MaxiGauge1 /dev/ttyUSB0
asynSetOption MaxiGauge1, 0, "baud", "19200")
asynSetOption MaxiGauge1, 0, "bits", "8")
asynSetOption MaxiGauge1, 0, "parity", "none")
asynSetOption MaxiGauge1, 0, "stop", "1")
asynSetOption MaxiGauge1, 0, "clocal", "Y")
asynSetOption MaxiGauge1, 0, "crtscts", "N")
Dirk
Vesna Samardzic-Boban wrote:
Hi All,
Has anyone interfaced to EPICS via serial interface Pfeiffer Turbo-Molecular Pump station?
Our set is comprised of:
Turbomolecular pump TMH 071 P integrated with TC 100 electronic drive,
Display Control Unit DCU 100 and
Connection box TC 010.
Or any other controller from Pfeiffer to EPICS.
Thanks and regards
Vesna
Vesna Samardzic-Boban | Controls Engineer | Australian Synchrotron
[email protected] | www.synchrotron.org.au
800 Blackburn Road, Clayton, Victoria 3168
<br>This message and any attachments may contain proprietary or confidential information. If you are not the intended recipient or you received the message in error, you must not use, copy or distribute the message. Please notify the sender immediately and destroy the original message. Thank you.
--
Dr. Dirk Zimoch
Paul Scherrer Institut, WBGB/006
5232 Villigen PSI, Switzerland
Phone +41 56 310 5182
InTerminator = CR LF;
replytimeout = 10000;
readtimeout = 1000;
#address = ""; # for RS232
address = ESC "0\$1"; # for RS485
@mismatch { out ETX; }
debug {
out $address "%s" CR;
in ACK;
out ENQ;
in "%39c";
}
pressure {
out $address "PR\$2" CR;
in ACK;
out ENQ;
in "%(\$3:STATUS.VAL)d,%f";
}
record (stringout, "$(DEVICE):DEBUG")
{
field (DTYP, "stream")
field (OUT, "@MaxiGauge.proto debug($(ADDR)) $(BUS)")
}
record (ai, "$(NAME):READ")
{
field (DTYP, "stream")
field (INP, "@MaxiGauge.proto pressure($(ADDR),$(SENSOR),$(NAME)) $(BUS)")
field (EGU, "mbar")
field (PREC, "-3")
field (SCAN, "1 second")
field (FLNK, "$(NAME):PRESSURE")
}
record (mbbi, "$(NAME):STATUS")
{
field (ZRST, "OK")
field (ONST, "UNDERRANGE")
field (TWST, "OVERRANGE")
field (THST, "SENSOR ERROR")
field (FRST, "SENSOR OFF")
field (FVST, "NO SENSOR")
field (SXST, "ID ERROR")
field (SVST, "NO DEVICE")
field (ONSV, "MINOR")
field (TWSV, "MAJOR")
field (THSV, "INVALID")
field (FRSV, "INVALID")
field (FVSV, "INVALID")
field (SXSV, "INVALID")
field (SVSV, "INVALID")
}
record (calcout, "$(NAME):DISCONNECTED")
{
field (INPA, "$(NAME):READ.STAT CP")
field (CALC, "A=10")
field (OOPT, "Transition To Non-zero")
field (DOPT, "Use OCAL")
field (OCAL, "7")
field (OUT, "$(NAME):STATUS PP")
}
record (calc, "$(NAME):PRESSURE")
{
field (INPA, "$(NAME):READ MS")
field (INPB, "$(NAME):STATUS MS")
field (CALC, "A")
field (EGU, "mbar")
field (PREC, "-3")
}
file MaxiGauge.template
{ pattern
{ DEVICE BUS ADDR }
{ DZ-MAXI1 MaxiGauge1 0 }
# { DZ-MAXI2 MaxiGauge1 1 }
}
file MaxiGaugeSensor.template
{ pattern
{ NAME BUS ADDR SENSOR }
{ DZ-VAC1 MaxiGauge1 0 1 }
{ DZ-VAC2 MaxiGauge1 0 2 }
{ DZ-VAC3 MaxiGauge1 0 3 }
{ DZ-VAC4 MaxiGauge1 0 4 }
{ DZ-VAC5 MaxiGauge1 0 5 }
{ DZ-VAC6 MaxiGauge1 0 6 }
# { DZ-VAC7 MaxiGauge1 1 1 }
# { DZ-VAC8 MaxiGauge1 1 2 }
# { DZ-VAC9 MaxiGauge1 1 3 }
# { DZ-VAC10 MaxiGauge1 1 4 }
# { DZ-VAC11 MaxiGauge1 1 5 }
# { DZ-VAC12 MaxiGauge1 1 6 }
}
- References:
- Pfeiffer Turbo Pump /controller Vesna Samardzic-Boban
- Navigate by Date:
- Prev:
Re: "A32 RegisterAddress error" about Hytec8401 Dirk Zimoch
- Next:
A problem about edm 闫芬
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
Re: Pfeiffer Turbo Pump /controller J. Lewis Muir
- Next:
A problem about edm 闫芬
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
<2009>
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|