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: Eric Norum <[email protected]>
To: Mark Rivers <[email protected]>
Cc: EPICS Tech-Talk <[email protected]>
Date: Thu, 13 Jun 2013 14:33:22 -0700
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]


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

Navigate by Date:
Prev: RE: Horner PLC %T readout Mark Rivers
Next: RE: Horner PLC %T readout 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: RE: Horner PLC %T readout Mark Rivers
Next: RE: Horner PLC %T readout 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 ·