Hello everyone,
I have a Multitech Conduit gateway which has Node-RED integrated and I want to connect it to WinCC OA, the options that I have in Node-RED are mqtt, tcp and udp.
Due to for mqtt I need to run a broker I want to do this connection with TCP. My doubt is about if I can use the driver Modbus Server or it's necessary to create the TCP manager as I see in the help Add-ons->API->Tcp drivers .
My intention is to represent temperatures from a sensor and the payload that I'm receiving is a json with the sensor reference, temperature + value, humidity +value.
Thank you,
Roger.
Gateway-WinCC OA with TCP
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: Gateway-WinCC OA with TCP
Modbus does not work with strings, at most short character arrays. Because the Modbus message size is limited.
The easiest solution would be to use MQTT and run a broker, like mosquitto.
But if you want to implement and maintain your own protocol, it could also be done in control with tcpOpen/udpOpen and related functions if you do not need thousands/hundreds of values per second.
The easiest solution would be to use MQTT and run a broker, like mosquitto.
But if you want to implement and maintain your own protocol, it could also be done in control with tcpOpen/udpOpen and related functions if you do not need thousands/hundreds of values per second.
- Roger_WinCCOA
- Posts:4
- Joined: Wed Dec 09, 2020 11:08 am
Re: Gateway-WinCC OA with TCP
Thank you gschijndel , I'll keep it in mind.