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  2013  2014  2015  <20162017  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  <20162017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: modbus TCP command not found
From: Mark Rivers <[email protected]>
To: "Anne M." <[email protected]>, "[email protected]" <[email protected]>
Date: Fri, 8 Apr 2016 12:18:54 +0000
I just tried it and it worked OK for me.

I think you may just be running it incorrectly.  Here is how to do it:

cd to modbus/iocBoot/iocTest.

type this command:

../../bin/linux-x86/modbusApp sim3.cmd

That should work, the testModbusSyncIOConfigure should be recognized at that point.

You may get a number of error messages like this if you don't have a Modbus device or simulator that it can connect to.

2016/04/08 07:16:29.631 drvModbusAsyn::doModbusIO port A0_Out_Word error calling writeRead, error=asynManager::queueLockPort queueRequest failed: port sim1 not connected, nwrite=0/6, nread=0


Mark

________________________________
From: [email protected] [[email protected]] on behalf of Anne M. [[email protected]]
Sent: Friday, April 08, 2016 6:21 AM
To: [email protected]
Subject: modbus TCP command not found

Hello!

I am having some problems with my epics program...

I am currently working with modbus TCP (https://github.com/epics-modules/modbus/), so when trying to run the modbus example I get the following error:

"sim3.cmd line 40: Command testModbusSyncIOConfigure not found."

- To try yourself: What I am doing is that with the bin generated with the makefile avaliable at "/modbus/bin/linux-x86/modbusApp" I run sim3.cdm avaliable "/modbus/iocBoot/sim3.cmd", like:

$ ./modbusApp sim3.cmd

- What I think it is happening: at the source files "/modbus/modbusApp/src" there is a CC program that is the test I want to try. In testModbusSyncIO.cpp the function is defined so later sim3.cmd calls it with its arguments. This is what I want to do in my program, I just cant make the example to work.

Can someone help me? :)

--

[https://docs.google.com/uc?export=download&id=0B-JomN4-F_XybUpRdEU2cmFtMFk&revid=0B-JomN4-F_XybWFHMEcrd3llaHc5Zm0yN0dNZk1SdytxbktnPQ]<http://sevensols.com/>

Anne M. Munoz Perez
Software Development / Engineering
[email protected]<mailto:[email protected]>

[https://docs.google.com/uc?export=download&id=0B-JomN4-F_XyUFVsMEQ2UGlybjg&revid=0B-JomN4-F_XyVzE2ZXZPdi9NM1pnRDdEMHZSUXRqK2k0dU80PQ]<http://es.linkedin.com/in/anne-munoz-3118b79b> [https://docs.google.com/uc?export=download&id=0B-JomN4-F_XyZGc3STRVM2w2N28&revid=0B-JomN4-F_XydHMzQTkybWxOclZxVmF4ZWZNbmx0NEJXVWEwPQ] <http://twitter.com/petramika>


Replies:
RE: modbus TCP command not found Mark Rivers
References:
modbus TCP command not found Anne M.

Navigate by Date:
Prev: modbus TCP command not found Anne M.
Next: RE: modbus TCP command not found Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: modbus TCP command not found Anne M.
Next: RE: modbus TCP command not found Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  <20162017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 15 Jul 2016 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·