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: Horner PLC %T readout
From: Mark Rivers <[email protected]>
To: "'Eric Norum'" <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Thu, 13 Jun 2013 21:38:13 +0000

Yeah, you’re right because I just noticed that they have a 09000 address in there, so it’s definitely not octal.

 

Mark

 

 

From: Eric Norum [mailto:[email protected]]
Sent: Thursday, June 13, 2013 4:33 PM
To: Mark Rivers
Cc: EPICS Tech-Talk
Subject: Re: Horner PLC %T readout

 

No, I don't think that's the problem.

 

For the %R values the spreadsheet has values from R1100 through R1137.  I can successfully read these using the command:

# Read 38 starting at Modbus 4099: Horner %R1100 through %R1137 inclusive

drvModbusAsynConfigure("etmHPA_r0i", "etmHPAPLC_2", 0, 3, 4099, 38, 0, 1000, "Horner")

 

So the values in the table shown in the right column of the table appear to be decimal.

 

 

On Jun 13, 2013, at 2:21 PM, Mark Rivers <[email protected]> wrote:



In their table they list the Modbus offset for the %T1 register as 06000.  I interpret that as octal 6000, because Modbus traditionally use octal, and they put a leading 0. 

 

But in your drvModbusAsynConfigure command you did not put a leading 0, so it is interpreting it as decimal 6000.

 

Now you also need to figure out if T513 is 513 decimal from the beginning, or 513 octal!

 

Mark

 

 

-- 
Eric Norum
[email protected]

 


References:
Horner PLC %T readout Eric Norum
RE: Horner PLC %T readout Mark Rivers
Re: Horner PLC %T readout Eric Norum

Navigate by Date:
Prev: Re: Horner PLC %T readout Eric Norum
Next: Re: Adding error msgs to dbAccess.c Bruce Hill
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: Re: Horner PLC %T readout Eric Norum
Next: Looking for an network scope (with epics driver!) Emmanuel Mayssat
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 ·