Skip to main content



      Home
Home » Eclipse Projects » Mosquitto » WAGO PLC 750-8100 MQTT Connection(WAGO, PLC 750-8100)
WAGO PLC 750-8100 MQTT Connection [message #1841131] Tue, 04 May 2021 10:19 Go to next message
Eclipse UserFriend
Hallo everybody

I apologize for my bad english.

This is my first project with MQTT. But I have a problem.
My Wago PLC (Industrail Computer) does not want to communicate with the broker.

I installed the latest mosquitto broker on my laptop.

Computer IP: 192.168.10.123
Port 1883 is open
I created a password file.

Must i implement the CA Certificates file?
Do I have to pay attention to something else?

In the attachment is a screenshoot from the PLC.
Re: WAGO PLC 750-8100 MQTT Connection [message #1841143 is a reply to message #1841131] Tue, 04 May 2021 16:22 Go to previous message
Eclipse UserFriend
Hi Raphael,

I've not used a Wago PLC, but in principle those settings look correct. My suggestion would be to start simple and work up. First configure the broker to allow unauthenticated access like so:

```
listener 1883
allow_anonymous true
```

Then try to connect without a username/password.

If that works, then add a password file:

```
listener 1883
password_file <your file>
```

And then try connect again. If that doesn't work - you know either something is wrong with the password file, or with the PLC.

You don't have TLS encryption enabled on the Wago, so you won't need to worry about the CA certificate. If you do intend to have TLS encryption, you'll need to enable it on the Wago and on the broker - but I'd follow the steps above first.

Regards,

Roger

Previous Topic:Mosquitto bridge and retain behaviour
Next Topic:mosquitto-auth-plug - support and configuration document
Goto Forum:
  


Current Time: Thu Jul 03 08:11:53 EDT 2025

Powered by FUDForum. Page generated in 0.31306 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top