HOW TO PROGRAM PLC ALLEN BRADLEY 5000 RSLOGIX
RSLogix 5000 software is designed to schedule Logix family controllers 5000 and for the Rockwell Automation Logix platform. Uses various types of programming language such as Escalera (Ladder), function blocks (blocks Functions), structured text (structured text) and sequential function diagrams (Sequential Function Chart).
When you open any project is necessary to recognize all the features shown in the window of RSLogix 5000.
Create a project with RSLogix 5000.
- The toolbar Creating Components - This toolbar is used to create new components of the project (eg, labels, routines, programs, etc.)
- The bar line - This toolbar displays the program status and driver. It also indicates the operating mode and if there are pending changes
- The toolbar for common logic - This toolbar contains all the elements that are not ladder logic instructions (eg, rungs, branches) and the instructions used.
- The Standard toolbar - This toolbar contains the functions (eg, Cut Copy, paste) to be used several times as you develop and test your program.
- Ladder Edit toolbar - This toolbar contains all the online edition of the functions as well as some common editing functions
- The tabbed toolbar Instruction. This toolbar shows the categories of instruction
into tabs. Clicking on a tab, the toolbar shows the instructions in this category
if you click on any instructions appear in the ladder program
- The status bar - status bar for information on current status of the program.
The Controller Organizer - The organizer of the controller is a graphical representation of the contents of your project.
- The panel views - The main window of RSLogix 5000 software provides a framework in which you can see several publishers (eg, editor of ladder, function block editor, etc.)
- The output window - the window results in the bottom of the main window shows RSLogix 5000 after completing an operation results or errors. This window provides status information and errors of the operation is running
- Error tab - If you perform an operation that results in an error, the error is highlighted in the results window.
Over a Logix5000 project, you define names for the various project elements, such as the controller, data addresses (tags), routines, modules I / O, and so on. When you enter the names, follow these rules:
ADD MODULES AND OUT
- Only letters, numbers and underscores (_)
- They must begin with a letter or an underscore
- ≤ 40 characters
- Do not use multiple underscores in a row
- Characters are not case sensitive
To communicate with the modules of E / S in the system, you must add the modules to the I / O configuration of the controller. The properties you select for each module define how the module behaves.
When creating the project, setting up the controller and adding the input and output modules that we use, the organizer of the controller would look something like this:
INTRODUCTION LADDER LOGIC IN RSLOGIX 5000
For a Logix5000 controller, you can enter in the form of logic routines.
When you create a project, the software automatically creates a main routine that uses the programming language Ladder diagram.
Each routine in the project uses a specific programming language. To program in a different language, as a function block diagram to create a routine follow these steps.
Once you create the routine ladder programming language, for example, introduces the logic:
To assign tags to the logic should be taken into account:
Although you can use the input and output tags of a module directly into the logic, it is much easier to use alias tags. Here's how:
Once you allocate the logic tags, call the routine created from the main routine, since this is the one that runs around for the moment. So, in the main routine you must take the following steps: