hivemq / hivemq-edge

HiveMQ Edge is an MQTT gateway that enables interoperability between OT devices and IT systems. It translates diverse protocols into MQTT for streamlined communication and helps organize data into a unified namespace, making managing and streaming data across your infrastructure easier.
http://hivemq.com
Apache License 2.0
112 stars 26 forks source link

Read Symbolic Names from Siemens PLCs instead of the Addresses #280

Open Terr4 opened 9 months ago

Terr4 commented 9 months ago

Problem or use case

Read the "Symbolic Names" from the Siemens PLCs instead of defining the "Addresses" of the values in the PLCs. Reading addresses is considered a legacy method to read values but it seems HiveMQ Edge only supports this method, at least it asks me for an "Address" when configuring the Protocol Adapter.

Preferred solution or suggestions

Implement an option in the adapter to switch between "address" and "symbolic addressing" of values in the Siemens S7 PLCs.

Some Info: https://www.360digitalgyan.com/what-is-absolute-and-symbolic-addressing-in-s7-300-plc

DC2-DanielKrueger commented 2 months ago

Hallo @Terr4,

Thank you for opening this issue, I will bring this up in the team. We need to check whether our library supports it and how we can add the needed switch in the config. After that we need to prioritize it.

Best regards, Daniel