AutomationDirect
Search
Login | Register
Accounts & Orders
Cart
0
$0.00

Recent Orders

View and Manage | Request Cancellation

Your Account

Account Home

Checkout   $0.00


  • My Orders
  • Product Returns (RMAs)
  • Pay Proforma Invoices
  • Pay Freights
  • Invoices / Invoice Reprint
  • Quotes / Favs / BOMs
  • Packing List Reprint
  • My Product Docs
  • Credit Application
  • Tax Exemption
| Direct Sales in US and Canada | 1-800-633-0405 | About Us | Contact Us | Line Card
Products | Support
| Compare
  
Ordering Tools  
warning Cookies are not enabled on your browser.
Cookies are required for our site. Please enable cookies in your browser preferences to continue.
+
Navigation
+
Shopping Categories
  • Barcode / RFID / Vision
  • Bulk Wire & Cable
  • Cables (Terminated)
  • Circuit Protection / Fuses / Disconnects
  • Communications
  • Drives & Soft Starters
  • Enclosure Thermal Management & Lights
  • Enclosures & Racks
  • Field I/O
  • HMI (Human Machine Interface)
  • Hydraulic Components
  • Motion Control
  • Motor Controls
  • Motors
  • Pneumatic Components
  • Power Products (Electrical)
  • Power Transmission (Mechanical)
  • Process Control & Measurement
  • Programmable Controllers
  • Pushbuttons / Switches / Indicators
  • Relays / Timers
  • Safety
  • Sensors / Encoders
  • Stacklights
  • Structural Frames / Rails
  • Tools & Test Equipment
  • Valves
  • Water (Potable) Components
  • Wiring Solutions
  • Retired Products
+
Learn More
  • Brand Line Card
  • What's New
  • E-newsletter
  • Online PDF Catalog
  • Video Tutorials
  • Company Reviews
  • Learning Library
  • Affordable Training
  • Free Online PLC training
  • Cybersecurity
+
In Depth Product Sites
  • Programmable Logic Controllers
  • Productivity1000 PLCs
  • Productivity2000 PLCs
  • Productivity3000 PLCs
  • ProductivityCODESYS
  • LS Electric XGB Series PLCs
  • ProductivityOpen
  • CLICK PLCs
  • Do-more H2 PLCs or
    Do-more T1H Series
  • Do-more BRX PLCs
  • C-more Touch Panels
  • AC & DC Drives
  • Motion Control Components
  • Servos
  • StrideLinx
  • Pneumatics
+
Product Selectors &
Configuration Utilities
  • PLC Family Selector
  • P1000 PLC Systems
  • P2000 PLC Systems
  • P3000 PLC Systems
  • ProductivityCODESYS
  • CLICK PLC Systems
  • Do-more® BRX PLC Systems
  • LS-Electric® XGB PLC Systems
  • Productivity®Open Systems
  • AC Motors
  • Datalogic® Safety Light Curtains
  • LS-Electric® Servo Systems
  • Nitra® Pneumatic Grippers
  • Object Detection (Sensors)
  • PAL Controller Configurator
  • Precision Gearbox Selector
  • Protos X® Field I/O
  • Quadritalia® Modular Enclosures
  • Stellar® Soft Starters
  • Stepper System Selector
  • SureFrame T-slot Extrusion
  • SureMotion® XYZ Gantry
  • SureServo2® System Selector
  • SureStep® Linear Actuators
  • Timing Belts & Pulleys
  • Werma® Stacklights
  • ZIPLinks

BRX Do-more PLC MQTT Setup from AutomationDirect


Related Products

BX-RTB08-2
BX-RTB08-2 Thumbnail
BX-RTB08-1
BX-RTB08-1 Thumbnail
BX-RTB08
BX-RTB08 Thumbnail
BX-RTB36-1
BX-RTB36-1 Thumbnail
BX-RTB36
BX-RTB36 Thumbnail
BX-RTB18-1
BX-RTB18-1 Thumbnail
BX-RTB18
BX-RTB18 Thumbnail
BX-RTB10-2
BX-RTB10-2 Thumbnail
BX-RTB10-1
BX-RTB10-1 Thumbnail
BX-RTB10
BX-RTB10 Thumbnail
BX-RTB03S
BX-RTB03S Thumbnail
BX-P-ECOMLT
BX-P-ECOMLT Thumbnail
BX-P-USB-B
BX-P-USB-B Thumbnail
BX-P-SER4-TERM
BX-P-SER4-TERM Thumbnail
BX-P-SER2-TERM
BX-P-SER2-TERM Thumbnail
BX-P-SER2-RJ12
BX-P-SER2-RJ12 Thumbnail
BX-HSIO2
BX-HSIO2 Thumbnail
BX-HSIO1
BX-HSIO1 Thumbnail
BX-SERIO
BX-SERIO Thumbnail
BX-08NTC
BX-08NTC Thumbnail
BX-4RTD4DA-1
BX-4RTD4DA-1 Thumbnail
BX-06RTD
BX-06RTD Thumbnail
BX-4THM4DA-1
BX-4THM4DA-1 Thumbnail
BX-08THM
BX-08THM Thumbnail
BX-04THM
BX-04THM Thumbnail
BX-08DA-2B
BX-08DA-2B Thumbnail
BX-2AD2DA-2B
BX-2AD2DA-2B Thumbnail
BX-4AD2DA-1
BX-4AD2DA-1 Thumbnail
BX-2AD2DA-1
BX-2AD2DA-1 Thumbnail
BX-04DA-2B
BX-04DA-2B Thumbnail
BX-08DA-1
BX-08DA-1 Thumbnail
BX-04DA-1
BX-04DA-1 Thumbnail
BX-08AD-2B
BX-08AD-2B Thumbnail
BX-04AD-2B
BX-04AD-2B Thumbnail
BX-16AD-1
BX-16AD-1 Thumbnail
BX-08AD-1
BX-08AD-1 Thumbnail
BX-04AD-1
BX-04AD-1 Thumbnail
BX-04ADM-1
BX-04ADM-1 Thumbnail
BX-05TRS
BX-05TRS Thumbnail
BX-16TR
BX-16TR Thumbnail
BX-12TR
BX-12TR Thumbnail
BX-08TR
BX-08TR Thumbnail
BX-12TA
BX-12TA Thumbnail
BX-08TA
BX-08TA Thumbnail
BX-16NA
BX-16NA Thumbnail
BX-12NA
BX-12NA Thumbnail
BX-08NA
BX-08NA Thumbnail
BX-16NB
BX-16NB Thumbnail
BX-08NB
BX-08NB Thumbnail
BX-08SIM
BX-08SIM Thumbnail
BX-16CD3D2
BX-16CD3D2 Thumbnail
BX-16CD3D1
BX-16CD3D1 Thumbnail
BX-12CD3D2
BX-12CD3D2 Thumbnail
BX-12CD3D1
BX-12CD3D1 Thumbnail
BX-08CD3R
BX-08CD3R Thumbnail
BX-32TD2
BX-32TD2 Thumbnail
BX-32TD1
BX-32TD1 Thumbnail
BX-16TD2
BX-16TD2 Thumbnail
BX-16TD1
BX-16TD1 Thumbnail
BX-12TD2
BX-12TD2 Thumbnail
BX-12TD1
BX-12TD1 Thumbnail
BX-08TD2
BX-08TD2 Thumbnail
BX-08TD1
BX-08TD1 Thumbnail
BX-08NF3
BX-08NF3 Thumbnail
BX-32ND3
BX-32ND3 Thumbnail
BX-16ND3
BX-16ND3 Thumbnail
BX-12ND3
BX-12ND3 Thumbnail
BX-08ND3
BX-08ND3 Thumbnail
BX-EBC100-M
BX-EBC100-M Thumbnail
BX-MBIO-M-D
BX-MBIO-M-D Thumbnail
BX-MBIO-M
BX-MBIO-M Thumbnail
BX-DM1E-M
BX-DM1E-M Thumbnail
BX-DM1E-M-D
BX-DM1E-M-D Thumbnail
BX-DM1-10ED1-D
BX-DM1-10ED1-D Thumbnail
BX-DM1-10ED2-D
BX-DM1-10ED2-D Thumbnail
BX-DM1-10ER-D
BX-DM1-10ER-D Thumbnail
BX-DM1-10AR-D
BX-DM1-10AR-D Thumbnail
BX-DM1E-10ED13-D
BX-DM1E-10ED13-D Thumbnail
BX-DM1E-10ED23-D
BX-DM1E-10ED23-D Thumbnail
BX-DM1E-10ER3-D
BX-DM1E-10ER3-D Thumbnail
BX-DM1E-10AR3-D
BX-DM1E-10AR3-D Thumbnail
BX-DM1-18ED1
BX-DM1-18ED1 Thumbnail
BX-DM1-18ED2
BX-DM1-18ED2 Thumbnail
BX-DM1-18ER
BX-DM1-18ER Thumbnail
BX-DM1-18AR
BX-DM1-18AR Thumbnail
BX-DM1-18ED1-D
BX-DM1-18ED1-D Thumbnail
BX-DM1-18ED2-D
BX-DM1-18ED2-D Thumbnail
BX-DM1-18ER-D
BX-DM1-18ER-D Thumbnail
BX-DM1E-18ED13
BX-DM1E-18ED13 Thumbnail
BX-DM1E-18ED23
BX-DM1E-18ED23 Thumbnail
BX-DM1E-18ER3
BX-DM1E-18ER3 Thumbnail
BX-DM1E-18AR3
BX-DM1E-18AR3 Thumbnail
BX-DM1E-18ED13-D
BX-DM1E-18ED13-D Thumbnail
BX-DM1E-18ED23-D
BX-DM1E-18ED23-D Thumbnail
BX-DM1E-18ER3-D
BX-DM1E-18ER3-D Thumbnail
BX-DM1-36ED1
BX-DM1-36ED1 Thumbnail
BX-DM1-36ED2
BX-DM1-36ED2 Thumbnail
BX-DM1-36ER
BX-DM1-36ER Thumbnail
BX-DM1-36AR
BX-DM1-36AR Thumbnail
BX-DM1-36ED1-D
BX-DM1-36ED1-D Thumbnail
BX-DM1-36ED2-D
BX-DM1-36ED2-D Thumbnail
BX-DM1-36ER-D
BX-DM1-36ER-D Thumbnail
BX-DM1E-36ED13
BX-DM1E-36ED13 Thumbnail
BX-DM1E-36ED23
BX-DM1E-36ED23 Thumbnail
BX-DM1E-36ER3
BX-DM1E-36ER3 Thumbnail
BX-DM1E-36AR3
BX-DM1E-36AR3 Thumbnail
BX-DM1E-36ED13-D
BX-DM1E-36ED13-D Thumbnail
BX-DM1E-36ED23-D
BX-DM1E-36ED23-D Thumbnail
BX-DM1E-36ER3-D
BX-DM1E-36ER3-D Thumbnail


To learn more: https://www.automationdirect.com/brx?utm_source=7_WTbL14Fq4&utm_medium=VideoTeamDescription

(VID-BRX-0024)

MQTT is a very simple and lightweight protocol that is very versatile in connecting multiple operating systems and independent devices. This video shows the process of setting up MQTT in Do-more Designer, and then subscribing and publishing to a Topic.
********** UPDATE ********
This video was created before MQTTS was added to the BRX PLC. The BRX Do-more does now offer MQTTS.

Online Support Page: https://community.automationdirect.com/s/?utm_source=7_WTbL14Fq4&utm_medium=VideoTeamDescription

**Please check our website for our most up-to-date product pricing and availability.


Hide Transcript
View Transcript

MQTT is an extremely simple and lightweight messaging protocol. This messaging protocol is useful integrating multiple data platforms, with very little development time and cost. Messaging in MQTT is based upon Topics that can either be Subscribed or Published to from a central repository. This central repository topics is called a Broker. The devices Subscribing or Publishing to this broker are called Clients. Each client can publish or subscribe to one or more of the topics on the Broker. First you must have a BRX CPU that has version 2.3 software and firmware. The BRX CPU can only work as a client. You must have already setup a MQTT Broker to handle the messaging. There are plenty of Brokers out there and there is too many to cover in this video. Please see MQTT.org for more information on this topic. Some of the limitations on Do-more BRX, when using MQTT, is that the BRX does not support SSL or any encryption method for MQTT. Also, the BRX CPU does not allow for wildcards when selecting topics. You must have the exact name of the topic you are trying to publish or subscribe to. Once you have your broker setup and know its name or IP address, I would advise first testing the connection. I am using a free MQTT client called MQTTfx. I select here and create a new connection. I will be using the direct IP address of the Broker, as I am on an isolated network. Then Select Connect. Once you are connected you will see a green light here. To verify your connection, go to the Broker status and select subscribe. Now we know we have a good connection let’s publish our first topic to the broker that then can be subscribed or read to, from the BRX CPU. I am selecting that this topic to be retained by the broker. If you do not select this option this Topic will go away from the topic list in the broker after a period of time defined by the broker. Now select Publish. Now that we have the initials setup, let’s dive into the BRX CPU setup. Once you have your project open, select the system configuration and open the Device configuration. Select new device. Then the MQTT Client option. Give this device a name. This is what you will use in all the Publish and subscribe instructions, set it up one time and then just reuse the client name. If your Broker is on a device that is using a naming convention, place that here, if you are using this option, make sure you setup the DNS server on your BRX CPU. Since I am just using a direct IP address, I will enter that here. The standard Server port for MQTT is 1883, consult your broker information, to ensure that this number is correct. I will use the default Timeout setting. If your Broker requires username and password place that here. This last will option here is used to notify that there has been a disconnect of this client. This is a topic that will be maintained at the Broker, and not published unless the Client has dropped connection. Now that this is setup go ahead and select Ok, and Ok once again to exit the system configuration. There is a very powerful tool in Do-more that I would like to highlight called Do-more logger. This logger if enabled and you have the logger open, the CPU will dump diagnostic data to this logger. This is extremely helpful in trouble shooting email or MQTT messaging. To enable messaging dumping to the logger a bit called ST36 must be turned on. I am going to trigger this bit, at the top of my ladder, by just putting an always on bit in front of it. Now I am going to Subscribe to the Topic we sent, earlier in this video. I will place a triggering contact for my ladder code and then I am going to add a MQTT subscribe instruction. We select the MQTT client. This option can be used to reduce some of the topic name length. Now, down here you can subscribe to up to 50 Topics per instruction. Now, I am going to setup our TEST topic. Since I am using text here, I have to place this inside of quotation marks, if you want to use a string tag here, just exclude the quotation marks, and enter in your string tag. I am placing the exact text from our earlier message, make sure to verify this, if this is not correct you will not get your message, and then I am going to select the Topic payload to be written to SS0. Accept the instruction and write this project to the CPU. Now, I am going to open up a Data Monitor and enable this instruction. As we can see now the payload from our topic, was downloaded to the string tag. Now let’s open up the logger from the debug menu and see what this type of communication looks like. That handles the subscribe from the BRX CPU. Now, let’s Publish a message to the broker. I am going to place a triggering contact, and then add in the MQTT Publish instruction. These are the options for enabling the Publish. I will stay with the default of publishing, this Topic, every 1 second. This instruction can publish up to 50 topics in 1 instruction. To start a topic, select here. Once again, I am using text here so it must be contained inside of quotation marks. If you want to use a tag exclude the quotation marks. The message I will be posting to this topic will be contained in the string tag SS1. Selecting retain will force the topic to be maintained by the broker. These options determine the publish interval. Now accept the instruction and write that to the CPU. I am going to add the enabling contact and the string tag to our Data view. I am going to write some text into the string tag, and now enable the instruction. Let’s go back into our PC based client. Enter in the exact text from the publish instruction and then select to subscribe. And that is it, we have a published and subscribed a topic, from a BRX CPU. Now, let’s go back to the designer software one more time, so you see what a successful communication looks like in the Do-more logger. If you have any question on this video please feel free to comment below or call into our tech support team. Please follow this link to see more videos on the Do-more platform and select here to subscribe to our YouTube channel for upcoming news and solutions.



No data returned!
An error has occurred! Please contact support
Videos Home > BRX Do-more PLC MQTT Setup from AutomationDirect
Contact, Connect & More
Sign Up
to receive:
FREE e-Newsletter
sign up today!
Connect With Us
Social Media Channels:
linkedin    facebook    x    instagram    youtube
Company Information
About Us
Brand Line Card
System Integrator Program
International Sales
Panel Builder Program
Site Help
Company Reviews
Download Price List
Contact Us
Contact Options
1-800-633-0405
Monday - Friday
9 a.m. - 6 p.m. ET
excluding holidays
Career Opportunities
Voted #1 mid-sized employer in Atlanta
We're a great place to work!
Check out our job openings

Need Training?
Affordable Training by Interconnecting Automation
Free Online PLC Training
FREE Video Tutorials
Information & News
What's New / In The News
FREE e-Newsletter
Automation Notebook
Product Literature
White Papers
News, Product and Training Bulletins
E-Books
Shop with confidence
Checked   Safe & Secure
payment methods


We accept VISA, MasterCard, Discover, American Express, PayPal or company purchase orders.
AutomationDirect

BBB Accredited

Voted #1 mid-sized employer in Atlanta
Check out our job openings

Copyright © 1999-2025 AutomationDirect.  ALL RIGHTS RESERVED.
Site Map     Send Us your Feedback     Unsubscribe     Email Preferences     Legal & Business Policies     YouTube Terms of Service
Clear login credentials



Back to Top


spinner Updating...
Info
„