Click Plus PLC MQTT Communication

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ส.ค. 2024

ความคิดเห็น • 25

  • @qzorn4440
    @qzorn4440 6 หลายเดือนก่อน +1

    A most interesting video. I like the step-by-step walk through. MQTT is new for me. 😎 Thank you.

    • @ACCautomation
      @ACCautomation  6 หลายเดือนก่อน +2

      Thank you for the comment. I'm sure that you will see how easy MQTT is to learn.
      Garry

  • @TheUnofficialMaker
    @TheUnofficialMaker ปีที่แล้ว +1

    cool, going to add this to my home automation. just ordered my Click! I really have been learning alot from your videos so thanks!

    • @ACCautomation
      @ACCautomation  ปีที่แล้ว +1

      Thank you, V J, for the comment.
      I appreciate it.
      Garry

  • @griff406
    @griff406 3 ปีที่แล้ว +1

    I subscribed because you helped James out! thank you Gary.

    • @ACCautomation
      @ACCautomation  3 ปีที่แล้ว +1

      Hi Mikey G,
      Thanks for subscribing.
      I do my best to answer all questions.
      Garry

  • @chenniahnanjundiah1457
    @chenniahnanjundiah1457 2 ปีที่แล้ว +1

    Good information. Thanks.

    • @ACCautomation
      @ACCautomation  2 ปีที่แล้ว

      Hi Chenniah,
      Thank you for the comment. I am glad it was helpful.
      Garry

  • @robdriver5131
    @robdriver5131 9 หลายเดือนก่อน +1

    Nice to play with but not enough subscribes and publishers to get serious with.

    • @ACCautomation
      @ACCautomation  9 หลายเดือนก่อน +1

      I am not sure what you mean by getting serious.
      HiveMQ has a whitepaper that shows a benchmark of 200 million clients. They showed 40 million publishers and 160 million consumers, IIRC. This is done with their broker clustering tech, a feature of their premium product.
      www.hivemq.com/blog/hyperscale-iot-iiot-applications-up-to-200-mil-connections-with-hivemq/
      You can have broker-to-broker communications expanding your network:
      www.steves-internet-guide.com/mosquitto-bridge-configuration/
      Since this is a report by exception protocol, the traffic on the network is lower, so it is faster to respond to more devices. Not to mention the universal namespace that can be easily implemented.
      What network protocol do you use instead of MQTT for IIoT?
      Thanks,
      Garry

  • @daltonschrader8328
    @daltonschrader8328 2 ปีที่แล้ว +2

    I plan on using this with an air compressor to publish the compressors tank pressure to my mqtt broker so I know if the tank is full or not from anywhere.

    • @ACCautomation
      @ACCautomation  2 ปีที่แล้ว +2

      Hi Dalton,
      Thanks for the comment. MQTT would be great in your application. Let me know how you make out.
      Regards,
      Garry

    • @TheUnofficialMaker
      @TheUnofficialMaker ปีที่แล้ว

      did you do it? I plan on doing this too. Just ordered a Click.

  • @jamesalexander9856
    @jamesalexander9856 3 ปีที่แล้ว +1

    You should defiantly do a video on how to set up the Mqtt broker to node red along with the whole system

    • @ACCautomation
      @ACCautomation  3 ปีที่แล้ว +1

      Hi James,
      I have done several videos of MQTT brokers.
      Stride MQTT Gateway - Adafruit Broker
      accautomation.ca/stride-mqtt-gateway-to-adafruit-io/
      Stride MQTT Gateway - HiveHQ broker
      accautomation.ca/stride-mqtt-gateway-click-plc-modbus-rtu-tcp/
      Stride MQTT Gateway - Mosquitto Broker
      accautomation.ca/stride-mqtt-gateway-modbus-rtu-tcp/
      Do-More BRX PLC - Mosquitto Broker
      accautomation.ca/brx-do-more-plc-mqtt-communications/
      Do-More BRX Simulator - HiveHQ Broker
      accautomation.ca/brx-do-more-simulator-mqtt-publish-subscribe/
      These should give you a good idea of setup and communication with the different MQTT brokers.
      Regards,
      Garry

    • @TheUnofficialMaker
      @TheUnofficialMaker ปีที่แล้ว

      my broker and node red run on a small raspberry pi. Simple to set up.

  • @Traveltech135
    @Traveltech135 ปีที่แล้ว +1

    When I installed, it installed to the C drive. I've been attempting to follow along with your video but can't get past the command prompt instructions at about 3 minutes in. What could I be doing wrong? I'm running windows 11.

    • @ACCautomation
      @ACCautomation  ปีที่แล้ว +1

      Hi Yellies Smith,
      The following post is for this video.
      accautomation.ca/click-plus-plc-mqtt-communication/
      It will take you through the installation of the MQTT broker. The video and post use Windows 10, but this should work with Windows 11 as well.
      What error messages are you seeing?
      Regards,
      Garry

  • @eternalphoenix64
    @eternalphoenix64 6 หลายเดือนก่อน +1

    Any chance that you or someone else has done any work with utilizing the enable/success/etc bits? I have an application I'm working on, not quite to testing phase yet, but I only need to publish the data, and even then I only need to publish once every 24 hours (at the same time each day), and I need to reset the data to zero after it's transmitted. I was thinking to use RTC to set the enable bit, and use the success bit to copy 0.0 into all my DFs, as well as reset the enable bit. I'm not sure if this would work how I think it does because I've never used MQTT before, and this is even my first Click after coming from an OEM using exclusively AB.
    Would this be done with the QoS? I think I saw that in a video for the Productivity line.

    • @ACCautomation
      @ACCautomation  6 หลายเดือนก่อน +1

      Hi @eternalphoenix64,
      If you are going to publish at the same time each day, then I would use the Click Plus Network Time Service. Here is a post that will explain...
      accautomation.ca/click-plus-real-time-clock-setup-and-use/
      It sounds like a good plan for your program.
      Let me know if you have any issues.
      Regards,
      Garry

  • @alizadeh1234
    @alizadeh1234 ปีที่แล้ว +1

    Great video! This method only works as LAN or the mobile HMI app can communicate with the PLC from afar over cellular connection?

    • @ACCautomation
      @ACCautomation  ปีที่แล้ว +1

      Hi Anthony,
      This would depend on your MQTT Broker. If you set up a VPN to your network, you can communicate with the PLC from other locations.
      The other choice is to use a third-party MQTT broker like HiveHQ,
      www.hivemq.com/
      Here is a post using a BRX Do-More PLC to HiveHQ, but the Click PLC would be similar.
      accautomation.ca/brx-do-more-simulator-mqtt-publish-subscribe/
      I hope this helps you out.
      Regards,
      Garry

    • @alizadeh1234
      @alizadeh1234 ปีที่แล้ว +1

      @@ACCautomation Thank you, I watched the videos. Since having a computer acting as the broker would not be an option, I have to forgo the notion of connecting the HMI mobile app to the PLC via internet. Can I make a PLC with wifi directly communicate with a mobile HMI app by getting on the PLC wifi or I'll still need another intermediary device such as a computer?

    • @ACCautomation
      @ACCautomation  ปีที่แล้ว +2

      @@alizadeh1234
      The best way to do this is to use a headless C-More HMI. This would fit the panel, and free mobile apps are available for Android, IoS, and Windows.
      Here is a post showing you how this is accomplished.
      accautomation.ca/c-more-ea9-hmi-series-headless-rhmi-remote-control/
      The C-More EA9 series will show you how to use this HMI.
      accautomation.ca/series/c-more-hmi-series-panel/
      It can also log data, send emails, and act as an FTP server.
      I hope this helps you out.
      Regards,
      Garry

  • @Moy61724
    @Moy61724 3 ปีที่แล้ว

    First