Allen-Bradley ControlLogix 1756-STRT3 Quick Start Manual
Allen-Bradley ControlLogix 1756-STRT3 Quick Start Manual

Allen-Bradley ControlLogix 1756-STRT3 Quick Start Manual

Starter kit
Table of Contents

Advertisement

ControlLogix
Starter Kit
1756-STRT3
Quick Start Manual
Allen-Bradley Parts

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ControlLogix 1756-STRT3 and is the answer not in the manual?

Questions and answers

Summary of Contents for Allen-Bradley ControlLogix 1756-STRT3

  • Page 1 ControlLogix Starter Kit 1756-STRT3 Quick Start Manual Allen-Bradley Parts...
  • Page 2 In no event will Allen-Bradley be responsible or liable for indirect or consequential damage resulting from the use or application of these products.
  • Page 3: Table Of Contents

    DDING THE RIVER _______________________________________32 ERIFYING OMMUNICATIONS TO THE ONTROLLER RS-232 DF1 D ______________________________35 OWNLOADING THE ROGRAM SING THE RIVER _____________________________________________________36 REATING A ERIODIC _________________________________________________________37 REATING A ROGRAM __________________________________________________________37 REATING A OUTINE ___________________________________________________39 REATING AN RRAY OF OUNTERS Allen-Bradley Parts Page 3...
  • Page 4 3: E _______________________ 41 XERCISE DITING AND ESTING OUTINES ROGRAMS ASKS __________________________________________________41 DITING AND ESTING OUTINE CTU A __________________________________44 REATING A REND TO ONITOR THE CCUM ALUE – P _____________________________________________47 ESTING ROGRAM ERIODIC 4: D ______________________________________________ 49 XERCISE EMONSTRATING EUSABLE 5000 _____________________________________________49 PENING ESSIONS OF...
  • Page 5 XAMINING THE OOKIE ECIPE _______________________80 XAMINING THE OOKIE RRAY AND DDING OOKIE ECIPE ____________________________________________________81 EVIEWING THE ADDER ROGRAM 9: U _________________________________ 83 XERCISE SING THE NLINE ANUALS AND EATURES ____________________________________________________83 CCESSING THE NLINE ANUALS _______________________________________________________________84 SING NLINE Allen-Bradley Parts Page 5...
  • Page 6 Notes:__________________________________________________________________________ Page 6...
  • Page 7: Welcome To Controllogix Controller Quick Start: About The Exercises

    § require a plant-wide control solution, from incoming materials to outbound shipping § expand an existing investment in a PLC-5 or SLC 500 controller-based system Allen-Bradley Parts Page 7...
  • Page 8: About The Flexlogix Platform

    About the FlexLogix Platform The FlexLogix platform combines the high performance Logix control engine with the popular distributed FLEX I/O to provide a cost-effective distributed controller. The FlexLogix system is built on these components: § a FlexLogix controller which supports Logix instructions §...
  • Page 9: Before You Begin

    Place a checkmark in this box as you complete each step. Note, also, that if the mouse button is not specified in the text, you should click on the left mouse button. Allen-Bradley Parts Page 9...
  • Page 10: Installing The Hardware

    Installing the Hardware For information on installing the ControlLogix controller, see the ControlLogix Controller Installation Instructions, publication 1756-IN101. This publication is part of the documentation set, 1756-DPALEN, that is included with the ControlLogix Starter Kit. For information on installing the remaining hardware, see: Hardware Documentation 1756-PA72...
  • Page 11: Exercise 1: Creating A New Controller File And Configuring Your I/O

    Launching RSLogix 5000 Programming Software Launch the RSLogix 5000 software, which allows you to program the controller. 1. Double click on the RSLogix 5000 icon on the Desktop to launch RSLogix 5000 software. The RSLogix 5000 screen appears. Allen-Bradley Parts Page 11...
  • Page 12: Creating A New Controller File

    Creating a New Controller File Create a controller file. 1. From the File menu, choose New. The New Controller dialog Box appears. 2. From the Type pull-down menu, choose a 1756-L55 ControlLogix 5555 Controller. 3. In the Revision field, select the highest revision number available (revision 11 in the example screen shown below).
  • Page 13 Data Types - shows predefined and user-defined data types. User-defined data is created in this folder. § I/O Configuration - contains the information about the hardware configuration of this controller file. It holds a hierarchy of modules with which the controller is configured to communicate. Allen-Bradley Parts Page 13...
  • Page 14: Editing The Main Routine

    FYI (continued) In front of each folder, there is a square containing a + sign or a - sign. The + sign indicates that the folder is closed. Click on it to expand the tree display and display the files in the folder. The - sign indicates that the folder is already open and its contents are visible.
  • Page 15 An empty rung appears in the Ladder Editor. 4. From the Ladder Instructions toolbar (as shown below), click on the Bit tab. The Ladder Instruction toolbar refreshes to show you all of the available Bit instructions. Allen-Bradley Parts Page 15...
  • Page 16 5. Click on the XIC (Examine On) icon to enter the instruction on the rung. The XIC instruction appears on the rung in the Ladder Editor, as shown below. 6. Right click on the Question Mark (?) in the blue highlighted area above the XIC instruction, and choose New Tag.
  • Page 17 13. Right click on the Question Mark (?) in the blue area above the OTE instruction, and choose New Tag. The New Tag dialog appears. 14. Enter the parameters as shown below and click on OK. Allen-Bradley Parts Page 17...
  • Page 18 Your rung should now look like this: 15. Right click on the rung number (0), and choose Verify Rung. A message appears at the bottom of the RSLogix 5000 window indicating the results of the Verify Rung command. Note: The message will appear either in the status bar at the bottom of the screen, or in the Results window if it is selected under the View menu.
  • Page 19: Verifying The Properties For The Main Task And The Main Program

    If it does not, click on the Add button to schedule the MainProgram. If a program folder is not scheduled under a task, it will not be executed and it will appear in the Unscheduled Programs folder in the Controller Organizer. Allen-Bradley Parts Page 19...
  • Page 20 3. Click on the Configuration tab and verify that the Watchdog is set for 500 ms. The Watchdog is a task scan time watchdog which, if exceeded, faults the processor. 4. Click on OK to close the Task Properties dialog. 5.
  • Page 21 JSR instruction from another routine in the same folder. 7. Click on OK to close the Program Properties dialog. 8. From the File menu, choose Save to save your program. Allen-Bradley Parts Page 21...
  • Page 22: Configuring Your I/O

    Configuring Your I/O Configure your I/O modules and use the aliasing capabilities of the RSLogix 5000 software to alias the tags you have already created in your ladder logic to module tags. Configuring the Discrete Output Module Add the discrete output module in slot 0 of the I/O Configuration list. 1.
  • Page 23 Catalog Number, and Major Revision must match and the Minor Revision of the physical module must be equal to or greater than the one specified in the software 3) Disable Keying – No keying used at all. Allen-Bradley Parts Page 23...
  • Page 24: Viewing Tags

    Viewing Tags View the tags that were created for the 1756-OB16E module in slot 0 when you created the module. 1. From the Controller Organizer, double click on the Controller Tags icon The Data Monitor appears, with 3 entries in the Tag Name column: §...
  • Page 25 The Data Monitor refreshes to show you all of the tags underneath the Local:0:C tag. If you cannot see the entire tag name and value, drag the edges of the respective columns to increase their width. Allen-Bradley Parts Page 25...
  • Page 26: Configuring The Discrete Input Module

    Click on the arrow pointing to the right at the bottom of the screen to view the other columns of the tag database. The 2's in the Value column indicate that the style (or radix) of the values is binary. The # sign serves as a delimiter between the style and the rest of the value.
  • Page 27: Verifying Tag Creation

    Again, a down arrow appears on the right hand side of the box. 6. Click on the arrow. A grid of numbers appears, representing the bits in the tag. 7. Click on 0 to select bit 0. Allen-Bradley Parts Page 27...
  • Page 28 8. Repeat steps 3 through 7 for the tag called Switch. Choose the Local:2.I to access the inputs of the module, and use Local:2:I.Data.0 as the alias tag. 9. Verify your tag database appears as follows, then choose Save to save your program. Page 28...
  • Page 29: Creating A New Task , Program , And Routine , And Creating An Array Of Counters

    Launching RSLinx Software Launch RSLinx software so you can configure the communications driver to communicate with the controller. 1. Launch RSLinx software. 2. Click the RSWho icon The Rockwell Software RSLinx Gateway - [RSWho - 1] screen appears. Allen-Bradley Parts Page 29...
  • Page 30: Adding The Rs232-Df1 Driver

    The RSWho screen is actually RSLinx's network browser interface, which allows you to view all of your active network connections. The left pane of this display is the Tree Control, which shows networks and devices in a hierarchical view. When a network or device is collapsed, as indicated by the + sign, you can click on the + sign or double click on the network or device icon to expand the view and begin browsing.
  • Page 31 4. Click on the Auto-Configure button. If the serial cable is attached correctly, RSLinx automatically sets the proper DF1 parameters for you when you click this button. The Configure Allen-Bradley DF1 Communications Device dialog refreshes, and the parameters appear as follows: Note that the controller serial port is identified.
  • Page 32: Verifying Communications To The Controller

    Verifying Communications to the Controller Use RSWho to verify that you can communicate with the controller via the RS-232 DF1 driver you just configured. 1. From the RSWho window in RSLinx, double click on the AB_DF1-1 driver icon: Page 32...
  • Page 33 2. Double click on the controller icon. The controller expands to display the backplane. Allen-Bradley Parts Page 33...
  • Page 34 3. Double click on the Backplane icon. You can see the ControlLogix Controller. Browse through the tree until you see all the devices connected to the backplane as shown below: 4. Verify that the small square LED to the right of the serial cable on the controller in slot 1 is flashing green.
  • Page 35: Downloading The Program Using The Rs-232 Df1 Driver

    Accept the prompt to update the controller firmware. 4. Click on the Download button. Allen-Bradley Parts You will see a series of progress dialogs as your program is downloaded to the controller. Page 35...
  • Page 36: Creating A New Periodic Task

    Creating a New Periodic Task Create a new periodic task that we will then use to schedule the execution of a new program. At this point, you should be online with your controller. Make sure the controller is in Program mode. 1.
  • Page 37: Creating A New Program

    1. From the Controller Organizer, click on the + sign in front of Task2 to expand it, right click on Program2 and choose New Routine. The New Routine dialog appears. Allen-Bradley Parts 2. In the Name field, type 'Routine2'. 3. In the Description field, type 'This routine will increment a counter each time the routine is executed.'...
  • Page 38 4. In the Type field, be sure that Ladder Diagram is selected. 5. In the In Program field, be sure that Program2 is selected and click on OK. The next thing you want to do is assign a routine to be the MainRoutine for Program2. 6.
  • Page 39: Creating An Array Of Counters

    9. Click on the + sign in front of the C5[0] tag name to display all of the members in the counter structure (tag) associated with the C5[0] counter. 9. From the File Menu, click on Save to save your project. Allen-Bradley Parts Page 39...
  • Page 40 Notes:__________________________________________________________________________ Page 40...
  • Page 41: Editing And Testing Your

    The Choose Ladder Element dialog appears. If the folders do not appear in this dialog, click on the Show Language Elements by Groups checkbox. 3. Type 'CTU' and press Enter. The instruction is inserted on rung 0 as shown: Allen-Bradley Parts Page 41...
  • Page 42 4. Double click on the blue field next to the word Counter in the CTU instruction block. 5. Click on the down arrow to display the drop-down list. 6. Click on the + sign in front of the C5 tag, double click on C5[0], and press Enter to select the tag. If you do not see the tags, make sure you have clicked on the "Controller Scoped Tags"...
  • Page 43 A dialog appears, prompting you to confirm whether you would like to upload the tag values. 17. Click on No. 18. Click on the X in the upper right corner of the Ladder Editor to close the editor. Allen-Bradley Parts Page 43...
  • Page 44: Creating A Trend Tom

    Creating a Trend to Monitor the CTU Accum Value Use the trending feature of RSLogix 5000 software. 1. From the Controller Organizer, right click on the Trends folder and choose New Trend. The New Trend dialog appears. 2. In the Name field, type 'Trend1' and click on OK. The Trend1 icon appears in the Controller Organizer under the Trends folder.
  • Page 45 4. Right click on the Trend Chart window and choose Chart Properties. The RSTrendX Properties dialog appears. Allen-Bradley Parts Page 45...
  • Page 46 5. Click on the Pens tab, then click on Add/Configure Tags. The Configure Tags dialog appears. Page 46...
  • Page 47: Testing Your Program - P

    Run the current trend. When a trend is started, all existing trend data is permanently deleted. Notice the pen legend in the upper right corner. You can see the value of bit 0 of the accumulator changing once every second. Allen-Bradley Parts Page 47...
  • Page 48 Basic Trending in RSLogix 5000 allows you to view data sampled over a time period in a graphical display for a set of up to eight data elements. Data is sampled at a periodic rate that is configurable from 10 milliseconds to 30 minutes. RSLogix 5000 will allow you to create a trend, configure the data elements and display attributes, and save it as part of your project file.
  • Page 49: Opening Two Sessions Of

    1. In the Controller1.ACD controller file right click on the MainProgram icon and choose Copy. 2. In the ReusableCode.ACD controller file right click on the Main Task icon and choose Paste. 3. Verify in the ReusableCode.ACD controller file that MainProgram was pasted under the task, MainTask, as MainProgram1. Allen-Bradley Parts Page 49...
  • Page 50: Program You Pasted

    Changing the Name of the Program You Pasted Change the name of MainProgram1 in the ReusableCode.ACD controller file. 1. In the ReusableCode.ACD controller file, right click on MainProgram1 and choose Properties. The Program Properties dialog box appears. 2. In the Name field, type 'ReusedProgram'. 3.
  • Page 51: Mapping The Tags

    3. Press the Enter key to accept the Alias For tag once you have changed it. You have now completed mapping the tags to different I/O points in a remote rack on ControlNet. We will now review the steps for reusing existing code. Allen-Bradley Parts Page 51...
  • Page 52: Reviewing The Steps Forr

    Reviewing the Steps for Reusing Existing Code With a few simple steps, the MainProgram from Controller1.ACD has been copied into the ReusableCode.ACD file and is ready for execution. Let's review the steps for reusing code. 1. The first step required us to cut and paste the Program from one Project to another Project. You can also accomplish this by dragging and dropping the program across projects.
  • Page 53: Examining The Controller

    (1) Continuous Task (MainTask) § (1) Periodic Task (PeriodicTask) § (4) Scheduled Programs (MainProgram, Program1, Program2, and Program3) § (2) Unscheduled Programs (Program4, Program5) § (2) I/O modules § (1) CNB ControlNet bridge § (1) Logix5550 controller Allen-Bradley Parts Page 53...
  • Page 54: Exporting The Controller File

    Exporting the controller file 1. From the File menu, choose Save As. 2. Click on the down arrow next to the Save As Type field and click on RSLogix 5000 Import/Export File (*.L5K) to change the file format to an Export format. 3.
  • Page 55: Verifying Your Changes In The

    4. From the Tools menu in RSLogix 5000, choose Import Tags. The Import Tags dialog appears. 5. Click on the ControlLogixSampleTags.CSV file in the window to highlight it. It should now appear in the File name field. Allen-Bradley Parts Page 55...
  • Page 56 6. In the On Collisions box, choose Overwrite existing tag with imported tag. These options determine what happens when the name of an imported tag matches the name of a tag in the project database. 7. If it is not checked already, check the "Create tag if it doesn't exist" checkbox. By default, if a tag with a matching name for an imported tag is not found in the project database, a tag is created by that name.
  • Page 57: Opening The Controller File And

    Click on the Help button for more information about the parameters on this dialog. If you are opening Help for the first time, there will be a slight delay before it opens. Close the Help window when you are done. 2. Click on the Connection tab. Allen-Bradley Parts Page 57...
  • Page 58 The data on this tab comes directly from the controller. This tab displays information about the condition of the connection between the module and the controller. Requested Packet Interval - The requested rate of packet arrival (connection update rate). The connection will be scheduled to move data to or from the module at least this often.
  • Page 59: Configuring Module Output

    Output Point 2 - Hold § Output Point 3 - Hold Choosing Hold for outputs 2 and 3 causes them to hold the state they were in before the processor was changed from Run mode to Program mode. Allen-Bradley Parts Page 59...
  • Page 60 6. Click on Apply to save the new module configuration. The following prompt appears. 7. Click on OK to apply the changes to the module configuration. 8. Click on the Diagnostics tab. The Diagnostics screen that appears is used only in the Online mode to reset the fuses. 9.
  • Page 61: Viewing The Tagsc

    In this case, the tag scope is Controller1 (controller), which indicates that the tags are valid for all routines in all program folders in this controller file. If the scope field contained a program name, then the tags would be valid only for the routines in the program folder specified. Allen-Bradley Parts Page 61...
  • Page 62 2. Click on the + sign in front of the Local:0:C tag to display the configuration tags for this module. The Data Monitor refreshes to show you all of the tags underneath the Local:0:C tag. If you cannot see the entire tag name and value, drag the edges of the respective columns to increase their width. Click on the arrow pointing to the right at the bottom of the screen to view the other columns of the tag database.
  • Page 63: Looking At The Properties Of The

    The Backplane screen is used only in an online mode to check ControlBusStatus, Error Counters, and to set ControlBus Parameters. 5. Click Apply to save your changes. 6. Click OK on the Online Module Configuration Change dialog. 7. Click on OK to close the module properties. Allen-Bradley Parts Page 63...
  • Page 64 Notes:__________________________________________________________________________ Page 64...
  • Page 65: Opening The Controller File And

    1. From the Controller Organizer, right click on the I/O Configuration folder and choose New Module. 2. Double click on the 1756-OF4 module. 3. Enter selections for this module as shown below and click on Next. Allen-Bradley Parts Page 65...
  • Page 66 4. When the next Module Properties screen appears, verify the parameters below and click on Next. The next Module Properties screen that appears, as shown below, is used only in the Online mode. 5. Click on Next. Page 66...
  • Page 67 Hold for Initialization - Check the Hold for Initialization box if you want the module to hold the output signal unchanged until the output value (received from the controller) is within 0.1% of full scale of the value held. 7. Click on Next. Allen-Bradley Parts Page 67...
  • Page 68 8. When the next Module Properties screen appears, modify the parameters for Channel 0 as shown below. The Channel Configuration Screen shown above allows you to configure the output state on a per channel basis. To configure a channel, click on the channel button for the channel you want to configure.
  • Page 69 Notice the LL and HL pointers give you a quick visual for your Clamp Limits. 11. Click on Next. The next Module Properties screen that appears (as shown below) is only used when calibrating the module or checking the last calibration date. Allen-Bradley Parts Page 69...
  • Page 70: Verifying Tags

    12. Click on Next. The next Module Properties screen that appears (as shown below) is used in an Online mode to check ControlBus Status and Error Counters, and to set ControlBus parameters. 13. Click on Finish. Verifying Tags Verify that the tags were created for the 1756-OF4 module in slot 3. 1.
  • Page 71: Configuring The Analogi

    1. Add a 1756-IF8 Analog Input Module to the controller’s I/O Configuration. 2. Enter the parameters as shown below and click on Next. 3. When the next Module Properties screen appears, verify the parameters are as shown below and click on Next. Allen-Bradley Parts Page 71...
  • Page 72 The next Module Properties screen that appears (as shown below) is active only in an Online mode. 4. Click on Next. 5. When the next Module Properties screen appears, change the Channel 0 parameters to match those shown below and click on Next. Page 72...
  • Page 73 6. When the next Module Properties screen appears, enter the Process Alarms for channel 0 as shown below, and click on Next. The next Module Properties screen that appears (as shown below) is used to calibrate the module and view the last Calibration date. Allen-Bradley Parts Page 73...
  • Page 74: Verifying Tags

    7. Click on Next. The next Module Properties screen that appears (as shown below) is used in an Online mode to check ControlBus Status and Error Counters, and to set ControlBus parameters. 8. Click on Finish. Verifying Tags Verify that the tags were created for the 1756-IF8 module in slot 4. 1.
  • Page 75: Adding Ladder Logic

    4. Type 'mov' as shown below and click on OK. 5. Verify that rung 1 appears as shown below. 6. Right click on the question mark (?) in the blue area next to Source in the MOV instruction and choose New Tag. Allen-Bradley Parts Page 75...
  • Page 76 7. Enter the parameters as shown below. Important: Choose Controller1(controller) in the Scope field before you select the Alias For tag. 8. Click on OK to create this new alias tag. Rung 1 should now appear as shown below. 9. Right click on the single Question Mark (?) next to Dest and choose New Tag. Page 76...
  • Page 77 Results window if it is selected under the View menu. If there are errors, you must correct them before the rung will verify. You can also verify the entire routine by choosing Verify > Routine from the Logic menu. 12. Save your program. Allen-Bradley Parts Page 77...
  • Page 78 Notes:__________________________________________________________________________ Page 78...
  • Page 79 5. Click on the + to the left of the CookingInstructions folder to expand it. As you can see, CookingInstructions contains two fields: a time and a temperature. 6. Click on Cancel to close this window. Allen-Bradley Parts Page 79...
  • Page 80 Examining the Cookie Array and Adding Your Own Cookie Recipe 1. From the Controller Organizer, under Program3, right click on Program Tags and choose Edit Tags. 2. Click on the + sign to the left of the element name for the Cookies tag. 3.
  • Page 81 The second rung of the program checks to see that you have selected a type of cookie to make, set the temperature high enough, and turned the timer on. Allen-Bradley Parts Page 81...
  • Page 82 The third rung runs the subroutine BakeCookies, which makes the cookies and bakes them. Page 82...
  • Page 83 Explore this manual and the other online manuals to familiarize yourself with the online documentation that is available to you. 5. Once you have taken some time to look through the online manuals, you can close the Adobe Acrobat Reader. Allen-Bradley Parts Page 83...
  • Page 84 Using Online Help Use the Online Help system that is included with your RSLogix 5000 software. 1. From the Help menu, choose Contents. The RSLogix 5000 Help window appears. From this window, you can quickly find information contained within a number of "books," including: §...
  • Page 85 A list of topics containing the word Alarms appears at the bottom of the Find tab. Look through the list to see the types of information available. 5. Click on Cancel to close the RSLogix 5000 Help window. Allen-Bradley Parts Page 85...
  • Page 86 Notes:__________________________________________________________________________ Page 86...
  • Page 87 Notes:__________________________________________________________________________ Allen-Bradley Parts Page 87...
  • Page 88 Notes:__________________________________________________________________________ Page 88...
  • Page 89 ___Yes, please email me at __________________________ ___Yes, please contact me via ________________________ Allen-Bradley Parts Return this form to: Allen-Bradley Marketing Communications, 1 Allen-Bradley Dr., Mayfield Hts., OH 44124-9705 Phone: 440-646-3176 Fax: 440-646-3525 Email: RADocumentComments@ra.rockwell.com Publication ICCG-5.21- January 2001 PN 955107-82...
  • Page 90 PLEASE FASTEN HERE (DO NOT STAPLE) Other Comments PLEASE FOLD HERE NO POSTAGE NECESSARY IF MAILED IN THE UNITED STATES BUSINESS REPLY MAIL FIRST-CLASS MAIL PERMIT NO. 18235 CLEVELAND OH POSTAGE WILL BE PAID BY THE ADDRESSEE 1 ALLEN-BRADLEY DR MAYFIELD HEIGHTS OH 44124-9705...
  • Page 91 Allen-Bradley Parts...
  • Page 92 Publication 1756-QS104A-EN-P - October 2002 PN 957707-80 Copyright © 2002 Rockwell Automation. All rights reserved. Printed in the U.S.A.

Table of Contents