MQTT Vs OPC

AustralIan

Member
Join Date
Jan 2013
Location
Leipzig, Germany
Posts
1,367
Anyone used MQTT for anything?
How does it compare to OPC?
How easy is it to setup?
How easy is it to maintain?
Do you pronounce it EMM QUE TEE TEE or em cute ee TEE?

Discuss.
 
Here's something that may help!

http://blog.opto22.com/optoblog/opc-and-mqtt-in-the-iiot

If I was connecting to various brands, hardware types, across different networks, MQTT would be what I would use. Very easy to setup, not expensive, easy to maintain!

But if I'm just connecting a single piece of hardware to another and I don't need to expand OPC (Might be the best choice!)

You might also want to look at Cirrus Link's web site, Mr Arlen Nippers is the co-inventor of MQTT.
 
I've never heard anyone say mqtt out loud, but in my head I pronounce each letter.

To me, MQTT and OPC solve different problems. OPCb defines a cross platform way of reading/writing data, whereas MQTT defines a way of transporting data. The next revision of the OPC UA spec actually incident MQTT as a transport option (current options are binary or http requests).

Both can be pretty light weight. Multiple PLC brands can have OPC UA built into the PLC. I'm seeing mqtt discussed in many RTU applications, places where communication is spotty.

I've never actually seen MQTT in industry yet, but many of us have used it in things like FaceBook messenger.

As far as maintenance/usability, that depends entirely on the vendor's implementation.
 
The next revision of the OPC UA spec actually incident MQTT as a transport option (current options are binary or http requests)

Too late edit: actually includes, not incident
 
I use MQTT around my house for some remote sensors and sprinkler.

Works well, but would not imagine using it for "work". I would consider it if I had long distance RIO, it is very easy to connect to the cloud. Not to sure about security tho.

OPC is a proven concept, never had issues.
 
Thanks guys! MQTT seems to tick a lot of boxes, but like any protocol it is only as good as the things that use it! I still think it is a bit early for me to adopt at this stage, unless I have a lot more resources to throw at researching and developing a solution with it.

Maybe the answer is to start it as a hobby on a sprinkler system so I can get a feel for it.
 
Hello,

I just wanted to share that we just installed for a customer a MQTT connection. 5 machines - each producing like 30 live values during the process - are sending the process data as well as SET values to a mosquitto broker. The clients MES system is reading them from there and joining them to other contract data.

From my experiance I have to say that I never saw any protocoll that is that easy to handle and understand and flexible.

As we kept data local, security was no issue, but as already mentioned there are ways (TLS, ..) also, when using VPN it should be safe also I think.

The best thing in here was that we used a straight ASCII format for all values , so just like "12.3 V" for a voltage actual value. So, without any problem we could use e.g. MQTT-Spy (freeware) to check the data on the broker, compare it with the data on the MES and helping us to find really fast some small bugs on the other side.

Also that broker thing in the middle is genious. A client is producing data and writing it to the broker, 0 - n clients may or may not read it. It is a perfect Interface between two parties (e.g. customer and machine manufactorer).

BR
BB
 

Similar Topics

I get ask this all the time. Hers is my simple answer! All my data (read/write) has to communicate across a cellular connection, and we pay for...
Replies
11
Views
2,929
Hi Guys, I am facing problem in connecting “Siemens PLC” with MQTT-broker. 1. In node-red, MQTT-node status remains connecting. 2. In...
Replies
2
Views
117
My task is to connect a MQTT broker on IP range 192.168 towards my OT network with the L33ER PLC on 10.10. IP range. Need communication both...
Replies
0
Views
425
Hello, Have anyone here use Ignition to connect to a Remote IO using MQTT, then use ControlLogix or CompactLogix to connect to Ignition using...
Replies
1
Views
412
Working on a project using MQTT and an Automation Direct Click Plus. Have the bidirectional communication pretty much figured out. One of the...
Replies
1
Views
1,429
Back
Top Bottom