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 | 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 |
<== 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]]
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:
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 -- |