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.
Our offices will be closed Monday, May 26th, for Memorial Day. Normal ADC shipping policies are in effect.
+
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 PLCs MQTT Part 3: MQTT Troubleshooting 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=LUaCZ0viDOk&utm_medium=VideoTeamDescription

(VID-BRX-0029)

This video is part 3 of a 3 part series that details the needed information to setup and use MQTT in the do-more BRX PLC. This video details troubleshooting issues that might arise with Implementing MQTT with the Do-more BRX PLC.

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

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


Hide Transcript
View Transcript

this video follows both the mqtt training video and the mqtt example video here we will discover what to do if your mqtt configuration is broken and how to use do-more logger to troubleshoot your mqtt application in a brx plc but now let's say i messed up in my configuration so let's go here and create one uh device configuration here let's say that i typed this guy in wrong maybe i put an extra cue in there so if i did that and i'm making these changes on the fly which normally i probably wouldn't do either so i'm writing that down to the plc but now watch what happens right here oh look see it failed and it's telling me era 63 has occurred and it's telling me that it happened with topic number one so i can go over here and i can see um what is zero 63 i'll show you in a second but here's the first topic that failed so it's the very first one what does 63 mean well i pull up system error message strings here i've got the system error and the system message strings you can see that the err says dns address not found and it tells me in mqtt there's a lot more here i can actually go see that here if i go to the warning you can see it's telling me dns server was unable to find address in mqtt pub and also knows my sub one is failing as well down here and you can see also it says 63 and the first one it saw was two in this case but here you can see that it's also failing with the same era they're both failing here and if i happen to click on go to it would actually go to that instruction so you can see as i click this it'll take you to the instruction that's failing that's what it would look like so let's go back and fix that i'll take my fat finger out and say okay and write that down the plc and there we go now all is well and again if i change the values here let's put in minus 1.7 or something it's being reflected down here so all is well and everything is working again okay but let's say that now there's some other failure or i can't get it to work for some other reason you know other than a configuration error there's a great tool that uh brxville sees having them we'll all do more plc's having them and it's called do-more logger it's a program that runs on the pc and you can make the do-more plc send messages to do to do more logger on the pc to help troubleshoot now to get it to do this it uses broadcast and to get it to do this we have to turn that ability on which is why i have this st36 up here this is a bit called enable message dump and that's what this is for for troubleshooting and also it's associated with this value dst 61 which is the system message level by default this is set to one and it means that when this is turned on then this one here means only send the system error messages to do more logger when i change this value to 2 then it means send the error message and the system message send both of these to the logger and when i have it set to zero then of course it won't it won't send anything so well the first thing i would do is i would turn that on and i would set this to 2 which is what i'm going to use now to start this off i'll go to the launch pad and i go here to the do-more logger program double-click start him up pull him over here and show you um by default it's set to all but you can see that some things are happening already it's getting messages you can see it there's a ping a ping request and a ping response and that's because none of these values are changing and so to make sure that keep keeps the connection alive keeps the mqtt connection alive then the bricks is before the 30 seconds is up that was set for my keep a live time he's sending pings to the broker to make sure he knows he's still there that's what we're seeing right here so we can also see if i'm going to let one more happen here and i'm going to clear it let's clear that out there we go clear that out and scoot him over here and then i want to go back to this and i'm going to turn this guy off turn this guy off all right and then i'm going to shrink this guy down a little bit so that i can bring two more logger over here clear all right so i'm going to initialize the values again just for fun and then i'm going to do the publish watch what happens here you can see these messages there that are being sent and being captured by do-more logger so here you can see that the first thing that happened was he looked up that dns or the url of my broker which is on the internet he looked that up and found it that's what that is so he queried the dns on our network and he found it then he connected to the broker the broker responded these are the connection and connection acknowledged and then there was uh the publishing of the two topics and since i've been sitting here talking he's had to ping him because of the keeper lifetime so also luke can clear this guy out and do the subscribe so you can see here he's sending a subscribe the subscribe was acknowledged he received publish for r100 and then he sent a subscribe for 101. he got the the recognition for that and also received that data and so also if i change this data up here and you can see when that happens that i got r 101 again and if i change this one you can see i got it i got r 100 so you can use do more logger in this fashion to help troubleshoot connections to your mqtt uh broker so i'll close him back down and always remember that once you use this method then you must also turn it back off because you don't want any unnecessary traffic and also set this back to the default and that's how easy it is to use mqtt on the brx plc and also how to troubleshoot you



No data returned!
An error has occurred! Please contact support
Videos Home > BRX Do-more PLCs MQTT Part 3: MQTT Troubleshooting 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