Member Login
member
passwd
remember me on
this computer.

- join now -
- forgot username or password? -

Search

Jump to a Date

Sponsored Communities
Cool stuff
Select a topic of interest:
...and press:
Neat Stuff
Control.com Stuff

Visit our shop for nerds in control lifestyle products.

Fortune
Man usually avoids attributing cleverness to somebody else -- unless it
is an enemy.
-- Albert Einstein
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss/
To get a personalized feed, become a member at no cost.
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
advertisement
from the Libnodave department...
Compiling libnodave
PLCs and related questions. topic
Posted by NØ on 1 September, 2008 - 11:30 am
Dear Sir,
i have made a dll project with nodave.cpp,
openSocket.cpp and openS7online.cpp,
renamed from the .c files.

When I run a program extracted from the testISO_TCPload.c example and including libnodave.lib then I can get valid values from a S7/400 PLC with Ethernet adapter CP443-1.
When I use de .lib from my own created dll then
the call _daveNegPDUlengthRequest(dc, &p1) in function _daveConnectPLCTCP returns -1025.

Is my vc++ 2005 solution maybe not ok and if so have anyone a good working example ?

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2008 Reed Business Information. Subject to its Terms of Use.
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2008 Control Technology Corporation. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.

Internet Explorer 6.0 Fix

Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!