Hi all, I am trying to get started using libnodave. I have been successful using an older version of Siemens prodave with visual studio (over the MPI port) but this does not support ethernet communications. I have a s7300 plc with a CP343-1 which is a ethernet communication processor. can anyone please help how I can communicate with the PLC using VB.net. I am only looking for a simple example.
thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Maybe for VB.NET you'd better look into the Dot.NET subdirectory. It has subdirectories CS(for C#) and VB. simpleMPI and simpleMPI2 are very simple examples. You need to adapt them a bit for TCP/IP. Just compare simpleMPI.cs and simpleTCP.cs to see what functions and constants to change.
Thomas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi all, I am trying to get started using libnodave. I have been successful using an older version of Siemens prodave with visual studio (over the MPI port) but this does not support ethernet communications. I have a s7300 plc with a CP343-1 which is a ethernet communication processor. can anyone please help how I can communicate with the PLC using VB.net. I am only looking for a simple example.
thanks
Take a look at the file "testISO_TCP.c" and see how it is done there.
Maybe for VB.NET you'd better look into the Dot.NET subdirectory. It has subdirectories CS(for C#) and VB. simpleMPI and simpleMPI2 are very simple examples. You need to adapt them a bit for TCP/IP. Just compare simpleMPI.cs and simpleTCP.cs to see what functions and constants to change.
Thomas