6/5/2018 7:05 PM | |
Posts: 47 Rating:
|
Dear Yu-wen Tang, I can connect to MQTT broker successfully thank to your awesome support. Now I have another problem that need your help. I try to connect PLC S7-1500 to secured mosquitto broker via TLS. The broker is created on my virtual ubuntu via port 8883. In window 10, I use MQTTfx and connect successfully to this broker by its mqtt_server.crt file. But when I use TIA Portal to connect, it fails and always show error code 8089. Consult the manual, I recheck my project and make sure that S7-1500 firmware is over 2.0 (v2.5), the broker is OK. But the manual says that I must change the PLC time of day according to broker time of day, I am not sure about that. I think the problem caused by certificates in TIA PORTAL. Would you mind taking a look on my attached file and helping me to solve this problem? ------------------------------------------------------------------------------------------ AttachmentMQTT_Secure_Problem.pdf (391 Downloads) |
Last edited by: Jen_Moderator at: 6/6/2018 11:27:17 AMNew subject after splitting |
|
6/11/2018 9:38 AM | |
Joined: 10/7/2009 Last visit: 3/6/2025 Posts: 266 Rating:
|
Dear minhkhanh, I also think that the cause might be the certificate. I attach here the project which has successfully connected to test.mosquitto.org via secure connection (port 8884). You can do a cross-check of the security setting with the yours. It just follows the steps described in the pages 14-20 of the document "MQTTPublisher for SIMATIC S7-1500" of Siemens Industry Online Support. The mosquitto certificate is attached also. The global security setting of the attached project: User name: admin Password: 12345678 Best regards, Yu-wen AttachmentMQTTclient_S7-1500.zip (378 Downloads) |
Last edited by: Yu-wen Tang at: 6/11/2018 11:51:27 PM |
|
11/13/2018 8:22 AM | |
Joined: 10/7/2009 Last visit: 3/6/2025 Posts: 266 Rating:
|
Dear Yadid2, It's a matter of secured connection of S7-1500. Please refer to the following documents:
Best regards, Yu-wen AttachmentPDF.zip (337 Downloads) |
Last edited by: Jen_Moderator at: 11/13/2018 1:09:07 PMAdded PDFs as an attachment. |
|
Follow us on