Uploaded September 2026 | Updated November 2026, 4 days ago
Learn how FOR/NEXT loops can make BRX PLC programs smaller, cleaner, and easier to scale. Using temperature monitoring as a practical example, this tutorial demonstrates how to combine loops, User Data Types (UDTs), input mapping, alarms, warnings, and high/low tracking—without repetitive copy-and-paste code.
You’ll also learn important considerations for loop execution time, PLC scan performance, and watchdog faults.
***This video is for educational purposes only. Always follow your company's safety procedures and all applicable local codes and regulations. AutomationDirect is not liable for any misuse of this information.
To learn more: automationdirect.com/do-more?utm_source=Y0F51J0zKSs&utm_medium=VideoTeamDescription - VID-DD-0091
00:00 Scalable PLC Programming Overview
00:16 Configuring the BRX Thermocouple Inputs
01:01 Creating a User Data Type (UDT)
01:44 Mapping Inputs to the UDT Structures
02:25 Setting Up the Temperature Check Task
02:40 Building the FOR/NEXT Loop
03:12 Alarm, Warning, and High/Low Logic
04:19 Testing the Program on an HMI
04:43 Scaling the Program for More Thermocouples
04:59 Scan Time and Watchdog Considerations
05:26 Final Tips and Key Takeaways
See a playlist of related videos for more information on these topics:
youtube.com/playlist?list=PLedt5Ozm95LA
Topics covered:
Tasks
User Data Types
Pointers
Input Mapping
For/Next Loops
Further questions? Need clarification or more info? Reach out to AutomationDirect tech support at 800-633-0405, drop a question in the comments section, or:
Online Support Page: community.automationdirect.com/s/contactsupport?utm_source=Y0F51J0zKSs&utm_medium=VideoTeamDescription
#PLCProgramming #FORLoop #BRXPLC #LadderLogic #AutomationDirect #IndustrialAutomation #PLCTutorial #DoMoreDesigner
**Please check our website for our most up-to-date product pricing and availability.
Related AutomationDirect.com part numbers: BX-DM1E-M-D, BX-DM1E-M, BX-DM1E-10AR3-D, BX-DM1E-10ER3-D, BX-DM1E-10ED13-D, BX-DM1E-10ED23-D, BX-DM1E-18ER3-D, BX-DM1E-18ED23-D, BX-DM1E-18ED13-D, BX-DM1E-18AR3, BX-DM1E-18ER3, BX-DM1E-18ED23, BX-DM1E-18ED13, BX-DM1E-36ER3-D, BX-DM1E-36ED23-D, BX-DM1E-36ED13-D, BX-DM1E-36ER3, BX-DM1E-36AR3, BX-DM1E-36ED23, BX-DM1E-36ED13, DM-PGMSW, BX-P-ECOMEX
Learn how FOR/NEXT loops can make BRX PLC programs smaller, cleaner, and easier to scale. Using temperature monitoring as a practical example, this tutorial demonstrates how to combine loops, User Data Types (UDTs), input mapping, alarms, warnings, and high/low tracking—without repetitive copy-and-paste code.
You’ll also learn important considerations for loop execution time, PLC scan performance, and watchdog faults.
***This video is for educational purposes only. Always follow your company's safety procedures and all applicable local codes and regulations. AutomationDirect is not liable for any misuse of this information.
To learn more: automationdirect.com/do-more?utm_source=Y0F51J0zKSs&utm_medium=VideoTeamDescription - VID-DD-0091
00:00 Scalable PLC Programming Overview
00:16 Configuring the BRX Thermocouple Inputs
01:01 Creating a User Data Type (UDT)
01:44 Mapping Inputs to the UDT Structures
02:25 Setting Up the Temperature Check Task
02:40 Building the FOR/NEXT Loop
03:12 Alarm, Warning, and High/Low Logic
04:19 Testing the Program on an HMI
04:43 Scaling the Program for More Thermocouples
04:59 Scan Time and Watchdog Considerations
05:26 Final Tips and Key Takeaways
See a playlist of related videos for more information on these topics:
youtube.com/playlist?list=PLedt5Ozm95LA
Topics covered:
Tasks
User Data Types
Pointers
Input Mapping
For/Next Loops
Further questions? Need clarification or more info? Reach out to AutomationDirect tech support at 800-633-0405, drop a question in the comments section, or:
Online Support Page: community.automationdirect.com/s/contactsupport?utm_source=Y0F51J0zKSs&utm_medium=VideoTeamDescription
#PLCProgramming #FORLoop #BRXPLC #LadderLogic #AutomationDirect #IndustrialAutomation #PLCTutorial #DoMoreDesigner
**Please check our website for our most up-to-date product pricing and availability.
Related AutomationDirect.com part numbers: BX-DM1E-M-D, BX-DM1E-M, BX-DM1E-10AR3-D, BX-DM1E-10ER3-D, BX-DM1E-10ED13-D, BX-DM1E-10ED23-D, BX-DM1E-18ER3-D, BX-DM1E-18ED23-D, BX-DM1E-18ED13-D, BX-DM1E-18AR3, BX-DM1E-18ER3, BX-DM1E-18ED23, BX-DM1E-18ED13, BX-DM1E-36ER3-D, BX-DM1E-36ED23-D, BX-DM1E-36ED13-D, BX-DM1E-36ER3, BX-DM1E-36AR3, BX-DM1E-36ED23, BX-DM1E-36ED13, DM-PGMSW, BX-P-ECOMEX










