Communication to Siemens PLC (ISO/TCP or MPI) (DavNoDave)

Hello Community!

Did anybody already tried to make connection to Siemens PLC with DavNoDave library?
Just adding the library into the project creates 2500 errors. :grimacing:
Working example would be appreciated. X20 PLC to S7-300.

Thank you!
DAVNoDaveV1.03.0.zip (57.1 KB)

I don’t have it, but I imported the library to AS4.12 and restored the sample task and configuration file from the documentation. Maybe this will help you.
ISOTCP_AS412.zip (190.6 KB)

Thank you @kovarj, but unfortunately, I could not get it started on my PLC. It goes into service mode.


Maybe you know why? I have attached a logger mentioning error.
Thank you!

Hello,

Aprol technician here. We had a project last year where we used DavNoDave.
In cooperation with our AS colleague, we created a small document.
I hope this will be helpful.
Siemens+and+B&R+PLC+Communication.doc.pdf (1002.3 KB)
Connectivity_APROL_Rev02.pdf (10.5 MB)

Hey @Kolma, You have to delete convert library from DAVNoDave library dependencies.

1 Like

Thank you @kovarj and @tomas.miculka for help. Now project is running also on the PLC, next step is to get these two PLCs start talking to eachother.

2 Likes

share with us result :slight_smile: and do not forget to close this topic once everything is solved :wink:

Hello! I am sharing a working apllication where X20 PLC data shared between S7-300 PLC. Thank you all for help!
X201584toS7300.zip (285.6 KB)

PS:The only thing missing is to make it work also to S7-1200, which is currently not working, although connection is established. So, if there is someone who would make an idea why not, I would appreciate the hints.

1 Like

You will need to disable “Optimized block access” in the DB you are reading / writing data on the Siemens side.
https://support.industry.siemens.com/cs/document/67655611/difference-between-standard-and-optimized-block-access?dti=0&lc=en-FI

1 Like

Thanks @tommi.piiparinen, happy to have Siemens expert at our Community :slight_smile:

Thank you @tommi.piiparinen, I knew that before that I need to disable it, but somehow it didn’t work. When I went again everything through step by step, it started to work. So, application is now working.
Just to mention, my main idea behind this excercises it to offer a B&R PLC next to an existing Siemens PLC and create mapp View visualization for the machine to be accessible from the WEB. Without touching installed and working Siemens (S7-300 and S7-1200).

3 Likes