How to use libnodave?

mecca

Member
Join Date
May 2007
Location
china
Posts
2
i have download libnodave-0.8.4 for the communication between PLCs and Linux. Under the linux,i run the program testMPI ,and got the following result:
# ./testMPI --list -2 --mpi=3 /dev/ttyS0
setting MPI address of PLC to:3
daveListReachablePartners List length: 126
Device at address:0
Device at address:3
ConnectPLC
PLC FD0: 16815238
PLC FD4: 151060480
PLC FD8: 49665
PLC FD12: 0.000000
5 blocks of type OB
OB1 34 1
OB82 34 1
OB86 34 1
OB100 34 1
OB121 34 1
error 53774 = no block present.
4 blocks of type FC
FC1 34 1
FC2 34 1
FC3 34 1
FC4 34 1
1 blocks of type DB
DB1 34 5
9 blocks of type SDB
SDB0 34 7
SDB1 34 7
SDB2 34 17
SDB3 34 7
SDB4 34 7
SDB22 34 7
SDB122 34 7
SDB200 34 16
SDB2000 34 7
Now disconnecting

i couldn't got the meaning of this paragraph,and the PLC has 16 Inputs and 16 Outputs ,like I124.0-I125.7 .How can i do with these I/Os ,could i read or write these I/Os,just like change I124.0 from 0 to 1,and how?
And thanks!
 
Hi mecca.

Go to www.sps-forum.de and ask your questions there.
The original creator of Libnodave hangs around there, and there are several other Libnodave users who would love to help you.
The forum is in german, but just post in english, and they will help you.

edit: Post in the "Hochsprachen & OPC" section.
 
I have some questions about libnodave myself, but in the German forum I can't find an English section... can you help me find it?
 
Thank you for the links BryanG. I am more interested in C++ language, but I will look anyway, for this can help me understand other ways to use libnodave.
 
Last edited:
vanvanero, the German forum doesn't have an English section as such, but many of the contributors speak good English. Just post your question in the "Simatic" section of the site.
 

Similar Topics

Hi I am trying to connect to a s7-300 with libnodave. I successfully connected to 1200 and a 1500. 1500 had to make some change in the hardware...
Replies
1
Views
1,403
Greetings everyone, I encounter a lot of problems to connect to the PLC. For a couple of days, I had to find by myself the port number ... For...
Replies
9
Views
6,844
Hi,I'm a beginner.I want to connect 1200 by libnodave .who can upload a simple example . About how to build communication and Write DB Values .Any...
Replies
4
Views
1,987
Hi All I want communicate PLC S7 300 by VB.net and use Libnodave pass usb mpi 6ES7972-0CB20-0XA0. Can do it? If can please guide me. Thank you.
Replies
0
Views
3,298
I coded this app using LIBNODAVE maybe some of you guys can test.. i used PLC siemens s7-1200 1212C images...
Replies
1
Views
3,290
Back
Top Bottom