Jump to content

Search the Community

Showing results for tags 'mqtt'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • Our Community
    • Come on in!
  • News and Announcements
    • UniLogic 2021-- UniCloud IIoT Cloud Platform, EtherCAT & more!
    • VisiLogic:9.8.64 - Link to mobile app, Ladder: 2x the Space!
    • New!!! ***** U90 Ladder*****
  • UniStream HMI + PLC Programmable Controllers & UniLogic Software
    • UniStream: Hardware
    • UniLogic Software
    • UniLogic UDFBs
    • Industry 4.0, IioT, MQTT, OPC UA
  • Vision, Samba, Jazz and M90 PLC + HMIs & Software
    • Vision & Samba PLC + HMI Controllers & VisiLogic Software
    • Jazz, M91 PLCs and U90Ladder
  • Motion! Servo Drives, Motors, Actuators, & VFDs by Unitronics
    • Motion: Unitronics Servo Drives, Motors, Actuators, VFDs--by Unitronics
  • UniCloud: the end-to-end IIoT Platform for Unitronics Controllers
    • Everything UniCloud!
  • Software Utilities
    • SD Card Suite
    • Remote Operator
    • Remote Access
    • DataXport and DataXls
    • UniDownloader
    • UniOPC
    • UniDDE
  • Utilities for .net and Visual Studio
    • Unitronics PCOM Protocol
    • COM Object ActiveX .dll
    • .NET driver
  • Project Design
    • ...I have a project...what hardware do I need?
  • User Application Stories
    • Just finished a great project?
  • Everything HMI!
    • UniLogic: HMI Design Inspiration
    • UniLogic: Graphics, from Community!
    • VisiLogic--HMI Design
  • Tips and Tricks
    • Best Programming Practices
    • Tips and Tricks
  • Job Board
    • Projects seeking Programmers
    • Programmers seeking Projects
  • General Discussion
    • We're Listening...
    • The Lounge
  • News and Announcements Copy


  • Unitronics' Blog: PLCs, HMIs and more
  • Saragani's Blog
  • Simon's Blog
  • Ash Neilson's Blog
  • Joe Tauser's Blog
  • Unitronics en Español
  • Powered by AMPS
  • Alldrives UK's Blog
  • Unitronics, Howman Style
  • PLCNewbie's Blog
  • Telestar Automation Blog
  • Webinars Collection
  • Tim's Corner
  • Blog
  • TELESTAR (Italian)
  • i4 Automation
  • i4 Automation (UK)
  • Unistream UDFB's


  • From Headquarters: Sample Applications
    • From Headquarters: VisiLogic
    • From Unitronics: U90 Ladder applications
  • User-submitted Applications
    • From Users: VisiLogic applications
    • From Users: U90 Applications


  • Articles
    • Forum Integration
    • Frontpage
  • Pages
  • Miscellaneous
    • Databases
    • Templates
    • Media

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start





Website URL







Found 17 results

  1. Hi, team! Just wondering what is the reasoning behind limiting the period to 100 units of 100ms here? What difference would it make if you allowed 10 or 100 times that or am I missing something here? Aleš
  2. I am trying to setup MQTT with Google Cloud IoT Core. I have got the connection working locally (following the google cloud guide). I have then copied the same certificate, client key file and Client ID on to the PLC but the broker won't connect with a return code of -1. Has anyone been able to successfully connect to Google Cloud ? My Setup Below.
  3. Hi there. Let's see if someone can help me. I have a unistream PLC connected to a mosquitto broker. The PLC is subscribed to various topics. Everything seems to be working fine, but sometimes when I restart the PLC, it doesn't subscribe to topics. However, the connection with the broker is correct. If I see the status of the configuration tags, the following appears: Broker1.Connected = 1 Subscription1.Subscribed = 0 Subscription1.Status = -11 (this means UniStream is not connected to the broker however it is connected.) To solve this problem I have to restart the PLC again.
  4. Hi there. Let's see if someone can help me. I have this scenario: - Raspberry pi with mosquitto broker. - Unistream connected to the broker and subscribed to a topic - Several temperature sensors as clients publishing a topic every 1 second. Everything works fine but, any idea how to know if a client has disconnected? In the client configuration I have the "keep alive" function set to 10 seconds, however the "Subscription.Subscribed" bit is always at "1".
  5. Hi to All, I've short question. Did anyone use the Unitronics Vision Controller for an IoT application with the MQTT protocol? I think the Unitronics OPLC will fit very well to the Internet of Things. Best Regards Thomas
  6. People, over here at headquarters, we are curious. As you know, we are now embedding our PLCs with technologies that enable them to support IIoT, technologies such as MQTT that are need for Industry 4.0 applications. We want to know: Do your current projects require IIoT support? Are your clients expecting your solutions to support Industry 4.0? What features would you like to see in Unitronics controllers to help you with these projects? Do you feel ready for this stage of technology--do you feel that you have the knowledge, the resources that you need? Remember--your feedback helps us to set direction for R&D. We would love to receive application stories involving MQTT
  7. My requirement is to connect & operate 6 HMI individually (Without mirroring) with PLC and the 6 HMI screens should view from computer remotely. I Hope to do it with Mqtt protocol or via Modbus. Please can someone help me to try this cos I have done only one project using Unistream PLC with Mqtt protocol previously. Please see the attached draft design of the project.
  8. Has anyone successfully connected to a MQTT broker on Amazon MQ ? I keep getting "1 - Connection refused, unacceptable protocol version" in the Broker Struct Return Code. Thanks, Jamie
  9. The project I've been working with has an unmanaged switch, and thus has not been connected to our network. While searching for a solution to another issue involving the USB Host ports, I believe I read that a typical wifi adapter can be connected to the PLC. Is there specific hardware that is suggested? I'm looking to use it for MQTT pub and sub, mostly, possibly VNC.
  10. Hi, I'm new to Unitronics PLCs. I bought up Unistream 5" pro HMI+PLC. My project is connecting 48 photo sensor inputs into the PLC & that should be monitor using Node-Red dashboard. I hope to use mosquitto as broker connection in separate PC. I bought TP Link router also to connect PLC. How can I setup my sensor inputs as subscribers to mosquitto broker in PLC ? Please help
  11. Hi, I tried MQTT example program with US5/7-B10-R38 model. But I couldn't establish a connection in between publisher & subscriber. Should I need to change any other configuration rather than PLC model in this example. Please help Unistream_070_MQTT.ulpr
  12. Hello! I am tracking some values in my application thru MQTT and would like to trigger a publish event if for example a value changes for a fixed amount or percentage. What I am using right now is periodic transfer but would like to save some bandwidth if data isn't changing much. Also, I need some kind of general solution to implement it on 50 values. Let me give you an example: we are monitoring an outside temperature. The sensor is quite unstable and changes in tenths every few seconds. It's value table at 10am might look like this: 10:00:01 102 = 10,2 degrees C 10:00:02 102 10:00:03 103 10:00:04 104 10:00:05 104 10:00:06 103 10:00:06 103 ... You get the idea. Now, I do not need to transfer these minor changes to my broker every second or on every change. I would like to detect a change of 5 tenths and only then send the data to my server. And periodically every hour for example to have records with timestamps. What are the possible solutions with UniLogic to achieve this kind of reaction with hysteresis? Regards, Ales
  13. Hi, I'm new to UniLogic however seems to be very good software. I'm in the middle of a project where we are using UniLogic & MQTT to manage a heating/cooling system. So far i have been able to send and receive messages perfectly however I'm having some difficulty in sending a negative number from MQTT broker to PLC ( MQTT client). When it receives the message it sets the value to 0. I'm able to set the number box to a negative though the "Pop up" number pad on the touch screen. Does any one have any ideas on where i may be going wrong.
  14. Rog

    MQTT Brokers

    I was wondering what most people use for MQTT brokers servers. Which is the best for data analytics and collection? Thanks, Rog
  15. Hello, Anyone have Executed MQTT Broker Connectivity??if yes, which one is best and Open source and easy to set up?? & How to set up the same?? I have tried with mosquitto Broker but unable to Execute. I think Some MQTT Broker set up issue should be there but unable to identify the same. I have used Address As a IP and also URL but not able to Execute. Anyone having Throughout the process please share. Thanks!!!
  16. I'm trying to configure a connection with Azure IoT Hub using the MQTT protocol with no luck. I need to configure the broker using the 8883 TCP/SSL with CA Certificate. I provide the correct certificate of the root CA but I always get the -1 status code (Cannot connect to broker. Check communication parameters) in the broker. I checked all the communication parameters and tested with a MQTT client (MQTT.fx) and I was able to connect correctly to the Azure IoT Hub. At this point my question is, is there any way of getting more information about which communication parameter is failing or getting more information for troubleshooting? Thanks in advance
  17. This major release introduces MQTT, another piece of the Industry 4.0 puzzle. MQTT is a machine-to-machine connectivity protocol that runs over TCP/IP. MQTT joins the UniStream range of communication channels and protocols that supply the connectivity required by Industry 4.0 including SQL, built-in webserver that enables the controller to be accessed via any browser, and more. This release also supports new UniStream 5” models US5-Bx-R38 + US5-Bx-T42, offering new, built-in I/O configurations. Other important features in this release: HID Device support for devices such as scanners PostgreSQL support, in addition to SQL Server and MySQL UniApps localization for Korean & Italian, plus a new Korean virtual keyboard Read the version changes for more features at: https://unitronicsplc.com/software-unilogic-for-programmable-controllers/
  • Create New...