Experimental Physics and Industrial Control System
|
Hello David,
I see two approaches for the string lookup:
One is to have 235 stringouts with the messages sitting there, with
their OUT links all pointing to the same stringin that holds the current
error message. A bunch of CALC records would do the divisions/modulo
operations to fire the matching stringout. For 235, this database gets a
bit ugly and large...
The other one is to use a genSub for the conversion - within your C code
you can do anything you want, including a lookup table.
For the email alert it sounds like the Alarm Handler would be the tool
of choice. It can be configured to run user written scripts on alarm
severity change - these scripts can do anything, including sending
emails or cell phone text messages. I don't know if your environment
allows you to run an ALH for this particular IOC, though. I'm not sure
if anyone ever had the IOC itself send out email.
Ralph
David Dudley wrote:
At a remote site, I have a backup generator that I am monitoring through
an EPICS IOC. When the generator faults offline, it sends a numeric
fault to the IOC of what the particular error is.
I want to display a text error message instead of the fault number on
my edm display. The generator generates 1 of 235 errors. How do I
convert the error number into a text message, and return it through a ca
link? The error number I can easily return, but is there a way to build
a 'lookup table' in EPICS?
Also, is there a way to have the IOC send out an email alert when the
system faults? The site is around 50 miles from my office, but only
around 5 miles from our nearest service person. I would rather have the
system email the service person with errors like "Unit Overheat", or
"Unit Maintenance Preset" or other errors, rather than me have to look
up the error code and then figure out who to notify.
David
- Replies:
- Re: EPICS: Selecting a Text Error Message Maren Purves
- Re: EPICS: Selecting a Text Error Message Emmanuel Mayssat
- References:
- EPICS: Selecting a Text Error Message David Dudley
- Navigate by Date:
- Prev:
RE: Severity of I/O interrupt records Mark Rivers
- Next:
Re: EPICS: Selecting a Text Error Message Maren Purves
- 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:
EPICS: Selecting a Text Error Message David Dudley
- Next:
Re: EPICS: Selecting a Text Error Message Maren Purves
- 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
|
ANJ, 02 Sep 2010 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|