EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Modbus TCP and Omega
From: Eric Norum <[email protected]>
To: [email protected]
Cc: EPICS Tech Talk <[email protected]>
Date: Mon, 13 May 2013 14:38:47 -0700
Do you mean it sends back the five ASCII characters '0', '0', ' ', 'e', '6' or do you mean it sends back two bytes, one of which has hex value 00, the other E6?
In the latter case the StreamDevice "%2r"  (or "%02r" if the values are unsigned) should work.  In the former I think that you'll have to stash the two bytes separately into two records and use a calc record to merge them.

On May 13, 2013, at 2:23 PM, "S. Banerian" <[email protected]> wrote:

> 
> I have an Omega CNi853-EIT device, with thermocouple attached, which can
> be accessed via Modbus TCP.
> 
> I've been able to get an IOC to query the Omega, and it does reply, but
> it sends back its data as hex, so, e.g. 00 e6 is its representation for
> 230 (23.0 C).
> 
> In my databases, I've tried mbbi bi and ai  types, but probe tells me
> the PV is always in an "invalid" state.
> 
> What would folks suggest I use to read this hex value?
> 
> 
> -- 
> Stefani Banerian
> UW Clinical Cyclotron
> UW School of Medicine
> 206-598-0302
> gpg key 6642E7EE
> fingerprint = BD13 875D 2D03 5E1D 1E3B  8BF7 F4B8 63AD 6642 E7EE
> 

-- 
Eric Norum
[email protected]






References:
Modbus TCP and Omega S. Banerian

Navigate by Date:
Prev: Modbus TCP and Omega S. Banerian
Next: RE: Modbus TCP and Omega Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Modbus TCP and Omega S. Banerian
Next: RE: Modbus TCP and Omega Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  <20132014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 20 Apr 2015 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·