libnodave

Libnodave: connectPLC returns -1

蹲街弑〆低调 提交于 2020-01-05 07:44:07
问题 I'm trying to connect to a Siemens CPU315-2 DP via Ethernet by a CP 343-1 Lean using Libnodave dll. I've tried the example program "simpleISO_TCP.cs" contained in the download file. The function openSocket works just fine but the function connectPLC always returns -1 wich means that the connection to the PLC fails. Anyone knows what could cause this problem? PS: I'm using Visual Studio 2012 in Windows 7 64 bit. 回答1: A few things for you to check: Is the correct hardware configuration

How to import and use .so file in NDK project ( Android Studio )

不打扰是莪最后的温柔 提交于 2019-12-11 05:48:15
问题 I am trying to import and use .so file in android studio NDK project. I have read the documentation of android studio, different blog, and answers on StackOverflow but none is working for me because most of them are outdated ( written or asked 3-4 year ago ). Also unable to follow the documentation. Please Help! 回答1: (I'm assuming that the .so file is built for Android using the Android NDK. If not, this isn't going to work and you'll need the source to rebuild the .so file using the Android

libnodave error while reading from Siemens s7-1200 (0x8104)

£可爱£侵袭症+ 提交于 2019-12-01 22:55:27
问题 While checking s7nodave's EPICS device support for S7-1200 I've encountered a problem that refers to libnodave. When I'm try to read any memory address in PLC, IOC console reports an error: epics> 2014/05/19 14:20:41.964 Siemens-PLC error while reading 1 bytes from PLC address FB35. Status = context not supported. Step7 says:Function not implemented or error in telgram. That is libnodave status code 0x8104. When I've tried to search the web for this error code, all results were referencing to