In this article we are going to look at one of the more “advanced” capabilities of the Studio 5000/Logix platform of programmable automation controllers (PAC’s). Specifically, how we can create and configure Studio 5000 Add-On Instructions.
I used the term “advanced” in quotes, because to create simple Studio 5000 Add-on Instructions is not a difficult task, more, it’s an understanding of what they are, when to use them, and how to use them that is the more difficult piece.
If you’ve ever wondered what this extremely important and powerful feature is, then I encourage you to keep reading. I assure you, once you complete this article you will be looking to leverage Studio 5000 Add-On Instructions in your next automation project.
In this article we will review how to implement a ControlLogix PID Controller using the Studio 5000 IDE. Full disclosure, we are going to be taking a practical application approach, therefore, you won’t be needing a PhD in Control Theory in order to follow along!
Before we can dive right into the implementation and configurations necessary to implement a ControlLogix PID controller, I think it will be prudent to review some key concepts regarding closed loop feedback, specifically what PID feedback control is, and what constraints or inherent issues that you are likely to encounter when implementing any real-world PID process.
So What Is PID?
PID control is by far the most common feedback control algorithm used in industry today. Different types of processes, having different dynamic (time-dependent) behaviors require different levels of proportional, integral and derivative controller action to achieve stability and robust response.
To explain PID in its entirety we are going to have to dive a little bit deeper into some of the mathematics involved. Just like any control algorithm with any complexity, the mathematical foundations will prove paramount to our overall understanding. So let’s get started!
Have you been wanting to learn PLC (Programmable Logic Controller) programming but are not sure where or how to get started? Well rest assured you’ve come to the right place! Here at PLCGurus.NET this is precisely what we’re all about! Whether you’re an experienced programmer or completely new to the fascinating world of PLC programming, we’ve got something for everybody.
To get you started, it is recommended that you read this introductory article on what exactly a PLC is and how it fits into modern industrial control systems today. Then move into some of our more advanced topics right here on PLCGurus.NET and on our Learn PLC’s channel!
In this article we will be implementing Layer 2 NAT with Layer 3 routing as shown in the the network topology depicted below. For this example we will be leveraging two Allen-Bradley Stratix 5700 Managed Industrial Ethernet switches (Full Software Version) and three Logix based controllers (machines). With Stratix 5700 NAT capability configured, we can setup a NAT instance per VLAN. When we create multiple VLANs on one Stratix 5700 switch we can connect multiple identical machines and leverage Layer 3 routing to route between the various VLANs.
Stratix 5700 Smartports are the recommended configurations for switch ports. These configurations, referred to as smartport roles, optimize the switch connections and provide security, transmission quality, and reliability for traffic to-from the switch ports. The smartport roles also help prevent port misconfigurations.
We are excited to announce a new video series we are working on right here at PLCGurus.NET on our Learn PLCs page and on our YouTube Channel. In this video series we are going to walk you through, in explicit detail, how to create your own Custom HMI-SCADA application using C#, Visual Studio and the .NET programming tools. Through the use of INGEAR NET.LOGIX API’s and drivers we can empower our C# applications to connect directly to any Allen-Bradley Logix based Controller.
Stratix 5700 Inter-VLAN Routing can be defined as a way to forward traffic between different VLANs by implementing a router in the network. VLANs logically segment the switch into different subnets, and the routing capabilities of the Stratix 5700 can be configured to route or forward the traffic between the various VLANs configured.
I thought I would do a piece on the System Overhead Time Slice setting you will find in pre- L8 (5580) Allen Bradely ControlLogix and CompactLogix platform of controllers. As the complexity and connectivity of modern automation systems get more complex requiring high-performance communications, I/O, and motion control , careful consideration must be taken to ensure that both user-defined and back-end system tasks are optimized to mitigate the likelihood of CPU starvation.
In this video I will show you step-by-step how configure the your new Stratix 5700 using the Stratix 5700 Express Setup Mode.
While the Express Setup itself is meant to be an easy method by which to configure the Stratix 5700 managed switch, it can be a little daunting initially. As a result, you can waste a considerable amount of time just trying to get passed the initial setup.
Hopefully, this video will alleviate that “pain” and get you up and running and into the switch as quickly as possible. I do recommend, if you haven’t done so already, you check out our introductory video on how to Configure PC to PLC Communication as part of our Networking Essentials video series. Alternatively, you can view it on our YouTube Channel!