Coder Social home page Coder Social logo

Comments (3)

RoanBrand avatar RoanBrand commented on June 10, 2024

Hi, I unfortunately do not have much of an answer for you, sorry.
I started this ages ago before there was much regarding MQTT when it came to PLCs.
And I myself haven't worked with them in a while.

I saw a while ago there has been later development on MQTT client libraries for Siemens.
Maybe I can refer you to this after a quick search: https://cache.industry.siemens.com/dl/files/872/109748872/att_1006438/v4/109748872_MQTT_Client_DOKU_V2-1_en.pdf

That said, just after I started this @CarstenMaul did a lot of refactoring and changes.
Maybe he can help with this specific question/problem.

from mqtt-siemens-s7-300.

Jansen1443 avatar Jansen1443 commented on June 10, 2024

Hi GerritMeu,

Was curious if it had still worked out. We have several s7-300 and s7-400 and would like to connect them to MQTT as well. I just can't manage to get RoanBrand's example into step7 v5.6. Can you help me with this?

Greetings and thanks in advance.

from mqtt-siemens-s7-300.

GerritMeu avatar GerritMeu commented on June 10, 2024

Hi GerritMeu,

Was curious if it had still worked out. We have several s7-300 and s7-400 and would like to connect them to MQTT as well. I just can't manage to get RoanBrand's example into step7 v5.6. Can you help me with this?

Greetings and thanks in advance.

Hi Jansen1443,

It worked, but because I had a lack of trust that it complies with the MQTT v3.1.1 specification, I use Node-RED now. Also for the Sparkplug B implementation. I had help @ the Siemens forum to get it going: https://support.industry.siemens.com/forum/ww/en/posts/mqtt-protocol-with-cpu314c-2dp-and-cpu315-2dp/289286/?page=0&pageSize=10

I added my project wherein it worked, you can see the result also in the forum that I shared. In the project, I also added a VAT table wherein you can connect, disconnect etc.

Good luck!

Uns_mqtt_sparkplugb_17OCT22.zip

from mqtt-siemens-s7-300.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.