![]() With that in mind, we consider different control modes by which it can be controlled. When using a cylinder in a PLC project, it is safe to assume that it is not the only device being controlled. This is why we define something standard like Extend and Retract, then we can assign our action to these. We usually call this “Extend” and “Retract”, but an action to extend a cylinder could be to move up, down, open, close, or anything else. When programming a cylinder we need to determine what action occurs when it is energized or de-energized. The two outputs are the commands to the cylinder. The two inputs in this case are the limit switches of our cylinder. To demonstrate the design of an Add On Instruction, we’re going to create one - a simple 2 Input 2 Output Cylinder! New AOI Configuration Creating the PLC code for the AOI Although the code within an AOI can be complex and have many rungs, it will be displayed as a function block showing only the critical parts, such as the inputs and outputs. Understanding Add On Instructions (AOIs)Īn Add On Instruction or AOI allows you to generate a piece of code that can be reused throughout an entire project or multiple projects. In this tutorial, we’re going to design and execute an Add On Instruction in RSLogix 5000 and link it to a Faceplate in FactoryTalk View Studio. Mastering the use of Global Objects can greatly reduce your development time, and chance of errors. ![]() ![]() Instead of having to update all 5 motors separately, the AOI or Global Object Faceplate can be modified and the changes will be propagated to all the motors. Imagine you had 5 motors configured on a system and the function block or faceplate needed to be changed. When it comes to HMI design in FactoryTalk View Studio, Global Objects let you efficiently implement, reuse, and update common and repeatable elements in your projects. In Allen Bradley PLC programming, this can be done through the use of Add On Instructions or AOIs. That means that one piece of code can be applied to any number of identical functions. PLC code is often written so that it is reusable. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |