Fundamentals+of+Logix

December 20, 2017 | Author: ViorelDuca | Category: Icon (Computing), Input/Output, Tag (Metadata), Parameter (Computer Programming), Device Driver
Share Embed Donate


Short Description

Download Fundamentals+of+Logix...

Description

Hands-On Lab Workbook

Introduction to Logix

Introduction to Logix: Hands-On Lab T Trraaiin niin ng gL Laab bM Maan nu uaall

INTRODUCTION TO LOGIX HANDS-ON LAB ___________________________________________7 ABOUT THIS HANDS-ON LAB __________________________________________________7 BEFORE YOU BEGIN ________________________________________________________7 LAB MATERIALS ___________________________________________________________8 DOCUMENT CONVENTIONS ____________________________________________________9 LAB 1: CREATING A NEW PROJECT (40 MINUTES) ____________________________________11 ABOUT THIS LAB __________________________________________________________11 ABOUT CONTROLLOGIX, FLEXLOGIX, AND COMPACTLOGIX CONTROLLERS ______________11 LAUNCHING RSLOGIX 5000 PROGRAMMING SOFTWARE_____________________________13 CREATING A NEW CONTROLLER PROJECT _______________________________________14 ADDING LADDER LOGIC TO THE MAIN ROUTINE ___________________________________17 CREATING TAGS FOR THE LADDER CODE ________________________________________23 MONITORING/EDITING TAGS __________________________________________________30 CONFIGURING I/O _________________________________________________________32 VIEWING THE I/O TAGS JUST CREATED _________________________________________44 ASSIGNING ALIAS TAGS _____________________________________________________46 LAB 2: CONNECTING YOUR COMPUTER TO THE CONTROLLER (5 MINUTES) _________________52 ABOUT THIS LAB __________________________________________________________52 LAUNCHING RSLINX SOFTWARE ______________________________________________52 ADDING THE AB_ETHIP-1 (ETHERNET/IP) DRIVER ________________________________53 LAB 3: LOADING THE PROJECT FROM THE COMPUTER TO THE CONTROLLER (DOWNLOADING) (10 MINUTES) 55 ABOUT THIS LAB __________________________________________________________55 SECTION A: DOWNLOADING TO THE CONTROLLOGIX CONTROLLER ____________________57 Introduction to Logix Hands-On Lab 4/6/2004

Page 5 of 93

DOWNLOADING THE PROJECT TO THE CONTROLLER _______________________________ 57 SECTION B: DOWNLOADING TO THE FLEXLOGIX CONTROLLER _______________________ 60 OPENING AN EXISTING CONTROLLER FILE _______________ ERROR! BOOKMARK NOT DEFINED. DOWNLOADING THE PROJECT TO THE CONTROLLER _______ ERROR! BOOKMARK NOT DEFINED. SECTION C: DOWNLOADING TO THE COMPACTLOGIX CONTROLLER ____________________ 66 OPENING AN EXISTING CONTROLLER FILE _______________________________________ 66 DOWNLOADING THE PROJECT TO THE CONTROLLER _______________________________ 66 LAB 4: TESTING YOUR LOGIC PROGRAM (5 MINUTES) _________________________________ 72 ABOUT THIS LAB __________________________________________________________ 72 PUTTING THE CONTROLLER INTO RUN MODE AND TESTING THE PROGRAM. ______________ 72 LAB 5: ADDING LOGIC AND TAGS ONLINE (15 MINUTES) _______________________________ 76 ABOUT THIS LAB __________________________________________________________ 76 ADDING THE TIMER TO THE LOGIC _____________________________________________ 76 ABOUT THIS LAB __________________________________________________________ 85 CREATING AND RUNNING A TREND _____________________________________________ 85 ABOUT THIS LAB __________________________________________________________ 90 INSTRUCTION HELP ________________________________________________________ 90 I/O MODULE WIRING DIAGRAMS _______________________________________________ 91 ON-LINE REFERENCE MATERIALS ______________________________________________ 92 3RD PARTY VENDOR SAMPLE PROJECTS _________________________________________ 92 QUICK TOUR TUTORIAL _____________________________________________________ 93

Introduction to Logix Hands-On Lab 4/6/2004

Page 6 of 93

Welcome to the: Introduction to Logix Hands-On Lab About This Hands-On Lab This session provides you with an opportunity to explore the ControlLogix, FlexLogix, or CompactLogix platforms, depending on the station at which you find yourself seated. The following sections explain what you’ll be doing in this lab session, and what you will need to do to complete the hands-on exercises. What You Will Accomplish In This Lab As you complete the exercises in this hands-on session, you will: Learn the primary advantages of Logix based controllers. You will design, create and download programs to a Logix controller as well as examining a controller executing a program. Who Should Complete This Lab This hands-on lab is intended for: Controller users who want to become familiar and comfortable with the basics of RSLogix 5000 programming software.

Before You Begin Before you begin this Hands-On Lab, please be sure to close any applications that are currently running. For this lab you will need to complete all 7 sections in order, because each section builds upon the previous section.

Introduction to Logix Hands-On Lab 4/6/2004

Page 7 of 93

Lab Materials For this Hands-On lab, we have provided you with the following materials that will allow you to complete the labs in this workbook. Hardware Your lab station will consist of one of the following: The ControlLogix Coordinated Demo case Catalog No. 1796-CL11 contains the following hardware: ƒ

(1) 1756-A10/A chassis with a 1756-PA72 power supply

ƒ

(2) 1756-L63 processors in slots 1 and 3

ƒ

(2) 1756-OB16D 16 Point 19.2V - 30VDC diagnostic output modules in slots 0 and 4

ƒ

(1) 1756-IB16D 16 Point 10V - 30VDC diagnostic input module in slot 2

ƒ

(1) 1756-M08SE SERCOS Interface module in slot 5

ƒ (1) 1756-ENBT communication module in slot 6 ƒ (1) 1756-OF6VI Isolated Analog (10V) output module in slot 7 ƒ (1) 1756-IF6I Isolated Analog Voltage/Current input module in slot 8 ƒ (1) 1756-MO2AE Analog Encoder servo module in slot 9 ƒ (1) 1747-CP3 or 1756-CP3 serial cable (9-pin female to 9-pin female null modem cable) ƒ (1) Ethernet Cable The FlexLogix Coordinated Demo case Catalog No.1796-FLEXLOGIX1 contains the following hardware: ƒ (2) 1794A-TB3 terminal base ƒ (2) 1794-L34 processors in slot 0 ƒ (2) 1788-CNCR ControlNet communication card ƒ (1) 1788-DNBO DeviceNet communication card ƒ (1) 1788-ENBT Ethernet/IP communication card ƒ (2) 1794-IB10XOB6/A 10 Input 6 Output 24V DC Sink/Source in slot 1 ƒ (2) 1794-IE4XOE2 4 Input 2 Output 24V DC Non-Isolated Analog in slot 2 ƒ (1) 1747-CP3 or 1756-CP3 serial cable (9-pin female to 9-pin female null modem cable) ƒ (1) EtherNet cable

Introduction to Logix Hands-On Lab 4/6/2004

Page 8 of 93

The CompactLogix Coordinated Demo case contains the following hardware: ƒ (1) 1769-L35E processor in slot 0 ƒ (1) 1769-IQ6X0W4/A 24V DC Sink/Source Input, AC/DC Relay Output ƒ (1) 1769-IF4/A 4 Channel Current/Voltage Analog Input ƒ (1) 1769-OF2/A 2 Channel Current/Voltage Analog Output ƒ (1) 1769-PA2 power supply ƒ (1) 1747-CP3 or 1756-CP3 serial cable (9-pin female to 9-pin female null modem cable)

Software This hands-on lab uses the following software: ƒ RSLogix 5000 programming software V12.01 ƒ RSLinx V2.41.06 build 10 Files This hands-on lab uses the following files: These files are located in C:\RSLogix 5000\Project. This is the default directory for RSLogix 5000. ƒ

Controller1_CLX.ACD

ƒ

Controller1_FLX.ACD

ƒ

Controller1_CMP.ACD

Document Conventions Throughout this workbook, we have used the following conventions to help guide you through the lab materials. This style or symbol:

Indicates:

Words shown in bold italics (e.g., RSLogix 5000 or OK)

Any item or button that you must click on, or a menu name from which you must choose an option or command. This will be an actual name of an item that you see on your screen or in an example.

Words shown in Courier text, enclosed in single quotes (e.g., 'Controller1')

An item that you must type in the specified field. This is information that you must supply based on your application (e.g., a variable).

✒ FYI

The text that follows this symbol is supplemental information regarding the lab materials, it is not information that is required reading in order for you to complete the lab exercises. The text that follows this symbol may provide you with helpful hints that can make it easier for you to use this product.

Note: When you type the text in the field, remember that you do not need to type the quotes; simply type the words that are contained within them (e.g., Controller1).

Note: If the mouse button is not specified in the text, you should click on the left mouse button. Introduction to Logix Hands-On Lab 4/6/2004

Page 9 of 93

Lab 1: Creating a New Project (40 Minutes) About This Lab In this lab, we will introduce you to the Logix product family. In this lab you will: ƒ

Have an overview of ControlLogix, FlexLogix, and CompactLogix

ƒ

Create a new project

ƒ

Write ladder logic

ƒ

Use symbolic tag names

ƒ

Use the tag monitor/editor

ƒ

Configure I/O modules

ƒ

Alias the module tags to the tags you created in your ladder logic During Lab 1 we will not be concerned with what Logix controller equipment is in front of you. All the concepts in Lab 1 apply across all Logix platforms.

Follow the steps below to complete Lab 1.

About ControlLogix, FlexLogix, and CompactLogix Controllers ControlLogix The ControlLogix platform provides a modular control platform suited for sequential, process, drive, or motion control applications - in any combination. With this platform, you can mix multiple processors, networks, and I/O without restrictions. And as your system grows, you can use either a ControlNet or EtherNet I/P network to distribute control to additional chassis and/or other Logix platforms. A ControlLogix system can consist of anything from a stand-alone controller and I/O modules in a single chassis, to a highly distributed system consisting of multiple chassis and networks working together. ControlLogix controllers will fit your applications if they: ƒ

Require a high performance control solution

ƒ

Demand the integration of multiple control disciplines (e.g., high speed packaging machines integrating sequential and motion control, or web handling applications integrating sequential and drive control)

ƒ

Combine batch and process control, but seek a flexible choice of visualization software

ƒ

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

Introduction to Logix Hands-On Lab 4/6/2004

Page 11 of 93

FlexLogix 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: ƒ

FLEX I/O modules which provide a compact, DIN-rail mounted I/O system. Through two local Flex rails. This gives you up to 16 local I/O modules.

ƒ

Two 1788 communication daughter cards which provide communication over ControlNet, EtherNet I/P or DeviceNet networks.

A simple FlexLogix system can consist of a single, stand-alone assembly with one controller and as many as eight I/O modules per rail or you can use multiple controllers across networks and distribute multiple I/O platforms over multiple I/O links. FlexLogix controllers will fit your applications if: ƒ

You are already using FLEX I/O and are looking for a simple way to add control to your distributed architecture

ƒ

You are currently using a centralized control architecture to control multiple stations in a process

CompactLogix The combination of features, scalability, and the small size of the CompactLogix platform provide a powerful alternative for machine-level control, material handling, data acquisition, and distributed control. CompactLogix combines the high performance Logix control engine with the cost-effective rackless 1769 I/O platform and EtherNet and DeviceNet connectivity. CompactLogix will fit your applications if: ƒ

You are an existing Logix customer with lower-end, lower-cost control applications.

ƒ

You are a new customer who wishes to apply Logix technology, but at a lower initial investment.

ƒ

You are an existing PLC and/or SLC customer who wishes to convert to Logix technology.

ƒ

You perform SCADA/RTU applications within a range of industries (e.g., petrochemical, wastewater, etc.)

Introduction to Logix Hands-On Lab 4/6/2004

Page 12 of 93

Launching RSLogix 5000 Programming Software In this section of the lab, you will launch the RSLogix 5000 software, which will allow you to program a processor. 1. Double click on the RSLogix 5000 icon on the Desktop to launch RSLogix 5000 software. The RSLogix5000 screen appears.

Introduction to Logix Hands-On Lab 4/6/2004

Page 13 of 93

Creating a New Controller Project

✒The following is an off-line exercise. In this first exercise, regardless of what the hardware you have at your lab station be sure to select the 1756-L63 controller. In a later lab section we will be selecting the appropriate controller for the hardware found in front of you. In this section of the lab, you will create your first controller project. At this point you will not be concerned with the lab equipment in front of you. 1. From the File menu, choose New. 2. The New Controller dialog Box appears.

Introduction to Logix Hands-On Lab 4/6/2004

Page 14 of 93

2. Verify that your entries match those shown below and click on OK.

✒FYI New Controller From the New Controller window you are defining the project. Type: This is the type of Logix controller you will use. This could be a ControlLogix, FlexLogix, CompactLogix, DriveLogix, or SoftLogix controller. Only one programming software package is need for all Logix Controllers. Revision: Here you are selecting the firmware revision that the project will be created with. Currently the valid revisions are 10, 11, and 12. Name: The name of the controller and project. Chassis Type: Select the size of the chassis you will use. This is not applicable for all controller types, For example, FlexLogix has 2, 8 slot Flex rails. Slot: The slot number that you wish the controller to be installed in. This is not applicable for all controller types, For example, CompactLogix is fixed at slot zero.

Introduction to Logix Hands-On Lab 4/6/2004

Page 15 of 93

The Controller Organizer appears on the left side of the RSLogix5000 window, with a folder called Controller Controller1. You have now created your first controller project. At this time, there is no I/O, no tag database, and no logic associated with the controller.

✒FYI The Controller Organizer is a graphical representation of the contents of your controller file. This display consists of a tree of folders and files that contain all of the information about the programs and data in the current controller file. The default main folders in this tree are: ƒ

Controller File Name

ƒ

Tasks

ƒ

Motion Groups

ƒ

Trends

ƒ

Data Types

ƒ

I/O Configuration

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.

Introduction to Logix Hands-On Lab 4/6/2004

Page 16 of 93

Adding Ladder Logic to the Main Routine In this lab you will add code for a simple motor start/stop seal in circuit. This will show the ease of programming with RSLogix 5000 software. During the labs we will only utilize ladder logic programming, but Logix controllers also can be programmed using Function Block, Sequential Function Charts, and Structured Text, You can select which program language best fits your application. You will continue to use the project already opened. 1. In the Controller Organizer expand the MainProgram folder by clicking on the +.

2. Once expanded the MainProgram will appear as shown below.

3. Double Click on the MainRoutine icon. empty rung will be added for you.

This will open the routine editor. An

Introduction to Logix Hands-On Lab 4/6/2004

Page 17 of 93

4. From the instruction toolbar left click and hold on the Examine if Closed (XIC) instruction 5. Drag the XIC onto rung 0 until the green dot appears as shown below. Release the mouse button at the location you wish to place your instruction.

Introduction to Logix Hands-On Lab 4/6/2004

Page 18 of 93

6. The rung should look like the figure below.

7. From the instruction toolbar left click and hold on the Examine if Open (XIO) instruction

.

8. Drag the XIO onto rung 0 to the right of the XIC instruction. Again a green dot will appear to the right of the XIC instruction indicating where your new instruction will be inserted. Release the mouse button at the location you wish to place your instruction.

9. The rung should like the figure below.

✒FYI Dragging Instructions If you place an instruction in the wrong location on a rung simply click and hold on the instruction and drag it to the correct location.

Introduction to Logix Hands-On Lab 4/6/2004

Page 19 of 93

10. From the instruction toolbar left click and hold on the Output Energize (OTE)

instruction.

11. Drag the OTE onto rung 0 to the right of the XIO instruction. Again a green dot will appear to the right of the XIO instruction indicating where the OTE instruction will be inserted. Release the mouse button at the location you wish insert the instruction.

12. The rung should now appear as shown below.

13. We will now add a branch around the XIC instruction. Click on the XIC instruction to select it.

14. From the instruction toolbar click on the branch

.

Introduction to Logix Hands-On Lab 4/6/2004

Page 20 of 93

15. A branch will be inserted on the rung.

16. Left-Click and hold on the blue highlighted part of the branch and drag your selected leg of the branch to the left side of the XIO instruction. Place the branch over the green dot and release the mouse button.

17. From the instruction toolbar left click and hold on the XIC

instruction.

18. Drag the XIC onto your newly created branch until the green dot appears.

Introduction to Logix Hands-On Lab 4/6/2004

Page 21 of 93

The rung should now appear as shown below.

19. You have completed adding the rung. The entire rung should look like the figure below.

20. Save the program by clicking on the Save icon on the toolbar. This will save the program in the default program directory, which is C:\RSLogix 5000\Projects\.

As you can see the free form editing in RSLogix 5000 can help speed development. You no longer have to place an instruction and tie an address to the instruction before you add the next instruction.

Introduction to Logix Hands-On Lab 4/6/2004

Page 22 of 93

Creating Tags for the Ladder Code In this section of the lab you will create the tags needed for the program. In traditional PLCs, a physical memory address identifies each item of data, for example N7:0. In Logix controllers, there is no fixed numeric format. We use tags. You will continue to use the project already opened.

✒What is a tag and why are they better? A tag is a text-based name for an area of memory. By using a text-based system you can use the name of the tag to document your ladder code and organize your data to mirror your machinery. For example you could create a tag named North_Tank_Pressure. This helps to speed code generation and debugging. All tag names are stored in the controller. We will create 3 tags for the program: Motor_Start, Motor_Stop, and Motor_Run. 1. First you will create the tag Motor_Start. Right click on the ? of the XIC instruction and select New Tag.

Introduction to Logix Hands-On Lab 4/6/2004

Page 23 of 93

2. The New Tag window will appear.

✒Creating a tag When you create a tag there are several attributes for a tag. The main attributes we are interested in for this lab are as follows: Tag Type: Defines how the tag operates within the project. Base: Stores a value or values for use by logic within a project Alias: A tag that represents another tag Produced: Send data to another controller Consumed: Receive data from another controller Data Type: Defines the type of data that the tag stores. For example Boolean, Integer, Real, String, etc. Scope: Defines how the data is accessed in the project. Is it either controller scoped, global data accessible throughout the controller or program scoped, data accessible for a specific program.

Introduction to Logix Hands-On Lab 4/6/2004

Page 24 of 93

3. Enter the parameters as shown below.

4. Click on OK to accept and create the tag. 5. The rung will now look like the figure below.

6. Next you will create the tag Motor_Stop. Right click on the ? of the XIO instruction and select New Tag.

Introduction to Logix Hands-On Lab 4/6/2004

Page 25 of 93

7. Again, the New Tag window will appear.

8. Enter the parameters as shown below.

9. Click on OK to accept and create the tag.

Introduction to Logix Hands-On Lab 4/6/2004

Page 26 of 93

10. The rung will now look like the figure below.

11. You will now create the tag Motor_Run. Right click on the ? of the OTE instruction and select New Tag. 12. The New Tag window will appear. 13. Enter the parameters as shown below.

14. Click on OK to accept and create the tag.

Introduction to Logix Hands-On Lab 4/6/2004

Page 27 of 93

15. Your rung should now appear as shown below.

16. For the XIC instruction in the branch we do not have to create a tag. You will use the tag Motor_Run. 17. Left Click and hold over the tag Motor_Run on the OTE instruction. 18. Drag the tag Motor_Run tag over to the XIC instruction until a green dot appears next to the ?. Then release the mouse button.

Introduction to Logix Hands-On Lab 4/6/2004

Page 28 of 93

19. Your rung should now appear as shown below.

20. Notice the ‘e’s next to rung zero. These indicate that the rung is in edit mode. Click on the (End) rung. The ‘e’s are now gone. RSLogix 5000 software verifies each rung automatically when you click the mouse off of it. This makes programming easier. 21. Your rung should now appear as shown below.

22. Save the program by clicking on the Save icon

on the toolbar.

The tag database of Logix versus a traditional PLC’s fixed memory addresses help you create self-documenting code. This means you do not have to use address descriptions or symbols to make code easy to read.

Introduction to Logix Hands-On Lab 4/6/2004

Page 29 of 93

Monitoring/Editing Tags We will now look at the Tag Monitor/Editor in RSLogix 5000. We will also discuss the concept of Controller versus Program scoped tags. You will continue to use the project already opened. 1. From the Controller Organizer double click on Controller Tags.

2. The tag Monitor/Editor window appears. You notice in the lower left corner of the window two tabs labeled Monitor Tags and Edit Tags as shown below.

✒FYI Monitor Tags and Edit Tags Tabs When the ‘Monitor Tags’ tab is selected the actual value(s) for the tags will be shown. For example, if you were to view an input button the software would show the button tag actively energized or de-energized. When the ‘Edit Tags’ tab is selected, NEW tags may be created, and existing tag properties may be modified. If you are having difficulty creating or modifying tag parameters verify that the ‘Edit Tags’ tab is selected. 3. You notice first that there are no tags present, but you remember just creating 3 tags.

Introduction to Logix Hands-On Lab 4/6/2004

Page 30 of 93

4. You now notice a field in the upper left corner of the Tag Editor window labeled Scope. You remember from earlier in the lab that we talked briefly about Controller and Program scoped tags. Currently the selection is Controller1(controller).

5. When we created the tags earlier we created them in the Program Scope.

✒FYI Data Scoping When you create a tag, you define it either as a controller tag (global data) or a program tag for a specific program (local data).

Data at the program scope is isolated from other programs. Routines cannot access data that is at the program scope of another program. Thus you can re-use the tag name of a program-scoped tag in multiple programs.

Introduction to Logix Hands-On Lab 4/6/2004

Page 31 of 93

6. Click on the down arrow for the Scope selection box. 7. Select MainProgram.

8. The Tag Editor now has switched views to the program level and you see the tags you created earlier.

9. Save the program by clicking on the Save icon

on the toolbar.

Configuring I/O We will now look at configuring I/O for our project. To communicate with I/O modules you must add modules to the I/O Configuration folder. During this off-line lab we will only show adding 1756 I/O. Follow these steps no matter what controller is at your lab station. The procedure to add Flex I/O and Compact I/O is the same. The 1756 I/O platform is the premier I/O platform and we will show you some of its advanced features such as: ƒ

No load detection

ƒ

Open wire detection

ƒ

Output verification

ƒ

On board scaling for analog

ƒ

On board alarming for analog

You will continue to use the project already opened. For this lab we will add the following I/O modules: ƒ

1756-IB16D (Diagnostic Input card) in slot 2

ƒ

1756-OB16D (Diagnostic Output card) in slot 0

ƒ

1756-IF4XOF2F (Combination Fast Analog card) in slot 3

Introduction to Logix Hands-On Lab 4/6/2004

Page 32 of 93

1. From the Controller Organizer right click on I/O Configuration and select New Module.

2. The Select Module Type window appears.

Introduction to Logix Hands-On Lab 4/6/2004

Page 33 of 93

3. Scroll thru the list until you locate the 1756-IB16D. 4. Select the 1756-IB16D module. 5. Click OK.

6. The Module Properties Wizard will appear for the 1756-IB16D.

Introduction to Logix Hands-On Lab 4/6/2004

Page 34 of 93

✒Module Properties Wizard Whenever you add an I/O module, to the system you will go through the Module Configuration Wizard. The Wizard allows you to step through the entire configuration needed for a module. You can access this information later by double clicking on a module in the I/O Configuration folder or through the tag monitor/editor. In Logix there are no more dip switches or jumpers needed to configure I/O modules. I/O modules are software configured. This saves time when setting up a system. The configuration for all modules is part of the controller’s program and is downloaded to the module from the controller; this allows for ease of replacement if an I/O module fails. 7. Enter the Name & Slot parameters as shown below. Leave all other fields set to their default values.

✒FYI Comm Format: Determines the data structure for the tags that are associated with the module. Many I/O modules support different formats. Each format uses a different data structure. Electronic Keying: When you insert a module into a slot of a chassis, the controller compares the information read from the newly inserted module with what the user configured that particular slot to be in their project. The following data is read and compared: Vendor, Product Type, Catalog Number, Major Revision, Minor Revision.

Introduction to Logix Hands-On Lab 4/6/2004

Page 35 of 93

The user may select one of the following module keying options during the initial module configuration: Exact Match – all of the parameters described above must match or the inserted module will reject the connection. Compatible Module – The following criteria must be met, or else the inserted module will reject the connection: Module Types, 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 Disable Keying – No keying used at all. 8. Click Next.

✒Requested Packet Interval (RPI) This specifies the period at which data is updated to and from the module. RPIs as configured in milliseconds. The range is .2ms to 750ms.

Introduction to Logix Hands-On Lab 4/6/2004

Page 36 of 93

10. Click Next. 11. The first 2 screens that you viewed are common to all I/O modules. From this point on the remaining screens are dependent on the specific module you select. 12. Click Next - 2 times 13. You will find yourself on the following screen. This shows specific configuration parameters for the 1756-IB16D module.

14. Click on Finish to close the wizard. 15. In the Controller Organizer, the I/O Configuration folder should look as follows.

16. From the Controller Organizer right click on I/O Configuration and select New Module.

Introduction to Logix Hands-On Lab 4/6/2004

Page 37 of 93

17. The Select Module Type window appears.

18. Scroll through the list locate and select the 1756-OB16D. 19. Click OK

20. The Module Properties Wizard will appear for the 1756-OB16D.

Introduction to Logix Hands-On Lab 4/6/2004

Page 38 of 93

21. Enter Name & Slot the parameters shown below. Leave all other fields set to their default values.

Introduction to Logix Hands-On Lab 4/6/2004

Page 39 of 93

22. Click Next 3 times. You will see configuration data that is specific to the 1756-OB16D module.

23. Click on Finish to close the wizard. 24. In the Controller Organizer, the I/O Configuration folder should look as follows.

25. From the Controller Organizer right click on I/O Configuration and select New Module.

Introduction to Logix Hands-On Lab 4/6/2004

Page 40 of 93

26. The Select Module Type window appears.

27. Scroll through the list and locate and select the 1756-IF4FXOF2F. 28. Click on OK.

29. The Module Properties Wizard will appear for the 1756-IF4FXOF2F.

Introduction to Logix Hands-On Lab 4/6/2004

Page 41 of 93

30. Enter the parameters shown below.

31. Click on Next 3 times. You will see configuration data specific for the 1756-IF4FXOF2F.

You notice the scaling section. Yes, this module does scaling for inputs right on board the module. Instead of having the module return raw engineering units, you can now have the module return data in engineering units such as inches, PSI, speed, etc. This saves you programming your application. 32. Click on Next.

Introduction to Logix Hands-On Lab 4/6/2004

Page 42 of 93

You now notice that you can do all the alarming that you used to do for analog inputs on board the module. This will again save you application programming time since it is done for you on-board the module. 32. Keep Clicking on Next to view the options for the analog outputs. When done click Finish. 33. In the Controller Organizer, the I/O Configuration folder should look as follows.

34. Save the program by clicking on the Save icon

on the toolbar.

Introduction to Logix Hands-On Lab 4/6/2004

Page 43 of 93

Viewing the I/O Tags Just Created Now that we have configured I/O modules in the project, lets take a look how that information is presented in RSLogix 5000. You will continue to use the project already opened. 1. From the Controller Organizer double click on Controller Tags.

Drag to the right to increase the size of the Tag Name field

2. The tag editor window will appear.

✒FYI

I/O Address Format

Introduction to Logix Hands-On Lab 4/6/2004

Page 44 of 93

3. You notice by looking in the upper left corner of the tag editor that you are in the Controller Scope. All I/O module tags are created in the Controller Scope.

4. Switch to Monitor Tags by Clicking on the Monitor Tags Tab.

The above entries are tag structures for the modules you added. They contain more tags than are actually displayed. Note the + sign next to the tag name, this indicates that you can expand the tag structure to see more information. 5. Expand the tag for the I/O modules and explore them. What you will find under the Configuration tags, for each module, is all the data, you entered and selected from the Module Configuration Wizard. While exploring the tags for the I/O modules you notice that the 1756-OB16D, which is an output module, has input data associated with it. You may be asking, why does an output module have inputs? The OB16D is a diagnostics module. All the diagnostic data is return to the controller thru the inputs. 6. Save the program by clicking on the Save icon

on the toolbar.

Introduction to Logix Hands-On Lab 4/6/2004

Page 45 of 93

Assigning Alias Tags In this section of the lab you will learn about Alias Tags. You will continue to use the project already opened.

✒FYI Aliasing An Alias tag lets you create one tag that represents another tag. ƒ

Both tags share the same value

ƒ

When the value of one of the tags changes, the other tag reflects the change

Use Aliases in the following situations: ƒ

Program logic in advance of wiring diagrams

ƒ

Assign a descriptive name to an I/O device

ƒ

Provide a simpler name for a complex tag

ƒ

Use a descriptive name for an element of an array

1. From the Controller Organizer double click on MainRoutine.

2. The ladder editor appears.

Introduction to Logix Hands-On Lab 4/6/2004

Page 46 of 93

3. In the last part of the lab we added I/O modules to the project. Now lets Alias the tags in the program to the I/O Modules. Motor_Start will be Aliased to input point zero of the 1756-IB16D in Slot two. Motor_Stop will be Aliased to input point one of the 1756-IB16D in Slot two. Motor_Run will be Aliased to output point zero of the 1756-OB16D in Slot zero. 4. Right click on the tag Motor_Start and select Edit ‘Motor_Start’ Properties.

Introduction to Logix Hands-On Lab 4/6/2004

Page 47 of 93

5. The Tags Properties window for Motor_Start will appear.

Currently the tag is defined as a Base tag. 6. Click on the Alias radio button. The Tag Properties window will change.

Introduction to Logix Hands-On Lab 4/6/2004

Page 48 of 93

7. Click on the down arrow for Alias For. The tag browser appears.

8. You need to select your address from controller scoped tags. Click on the Controller Scoped Tags button. The view on the screen will change to view your Controller Scoped Tags.

9. Expand Local 2:I and select Local 2:I.Data 10. Click the down arrow for Local 2:I.Data next to its data type (DINT) 11. This will open the table of data points for the 1756-IB16D module. 12. Select 0 from the table

13. When you select 0 from the tag browser the window will close, and the Tag Properties will appear as follows.

Introduction to Logix Hands-On Lab 4/6/2004

Page 49 of 93

Motor_Start will now be aliased to Local:2:I.Data.0. This is the 1756-IB16D in Slot 2. 14. Click on OK to close and apply the changes to the tag Motor_Start. Look carefully at the tag for Motor_Start in the ladder code. Under the tag Motor_Start you see < Local:2:I.Data.0>. This means that Motor_Start has been Aliased to Local:2:I.Data.0. This means that the tags are equivalent to one another in code. Is it easier to read Motor_Start than Local:2:I.Data.0.

15. Using steps 4 – 14, alias the remaining two tags. Motor_Stop = Local:2:I.Data.1 Motor_Run = Local:0:O.Data.0

Introduction to Logix Hands-On Lab 4/6/2004

Page 50 of 93

16. When you are finished the ladder code should appear as follows.

17. Save the program by clicking on the Save icon

on the toolbar.

18. From the File menu, choose Close. 19. This will close the project Controller1 and your RSLogix 5000 screen should appear as shown below.

Congratulations You have Completed Lab 1

Introduction to Logix Hands-On Lab 4/6/2004

Page 51 of 93

Lab 2: Connecting Your Computer to the Controller (5 Minutes) About This Lab In this lab, we will introduce you to the online operations that you will complete with the RSLogix5000 software. In this lab, you will: ƒ

Launch RSLinx communications software and configure your communications driver

Follow the steps below to complete Lab 2.

Launching RSLinx Software In this section of the lab, you will launch the RSLinx software, which will enable you to configure the driver you will use to communicate with the Logix processor in the Demo Box.

1. Double click on the RSLinx icon 2. Click the RSWho icon

on the Desktop to launch RSLinx software.

.

The Rockwell Software RSLinx Gateway - [RSWho - 1] screen appears.

Introduction to Logix Hands-On Lab 4/6/2004

Page 52 of 93

✒FYI 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. When a network or device is expanded, as indicated by the - sign, you can click on the - sign or double click on the network or device icon to collapse the view. The right pane of the RSWho display is the List Control, which is a graphical representation of all of the devices present on the network.

Adding the AB_ETHIP-1 (Ethernet/IP) Driver In this section of the lab, you will add the Ethernet/IP driver that you will use to communicate with your Logix processor. 1. From the Communications menu, choose Configure Drivers. The Configure Drivers dialog appears.

Introduction to Logix Hands-On Lab 4/6/2004

Page 53 of 93

2. From the Available Driver Types pull-down menu, choose EtherNet/IP Driver then click on the Add New button. In RSLinx you will notice two different Ethernet drivers listed: EtherNet/IP Driver and Ethernet devices. In general, you should use the new EtherNet/IP driver... it will automatically scan for and find any EtherNet/IP compatible devices on the network. A few older Rockwell Ethernet products cannot be found using this driver. The older Ethernet devices driver works with all Rockwell Ethernet products, but it will only scan for IP address that you manually tell it to search for. You can have both types of drivers and/or multiple instances of each type active in RSLinx at the same time if needed. 3. Click on OK to accept the default name (AB_ETHIP-1).

4. Ensure that the Browse Local Subnet radio button is enabled, and then click OK.

5. Exit the Configure Driver Dialog by clicking on Close.

Congratulations You have Completed Lab2

Introduction to Logix Hands-On Lab 4/6/2004

Page 54 of 93

Lab 3: Loading the Project from the Computer to the Controller (Downloading) (10 minutes) About This Lab In this lab you will open a controller project based on the lab station that you are seated at. You will: ƒ

Determine the type of controller you are using

ƒ

Open the project that corresponds to the controller you are using

ƒ

Download the program to the controller

You will be using a program that is based from the steps you performed in Lab 1. We have modified the program for you to match the Logix controller and I/O configuration for your lab station. Follow the steps to complete Lab 3. If your lab station looks like the picture below you have a ControlLogix controller proceed to section A on page 57.

Introduction to Logix Hands-On Lab 4/6/2004

Page 55 of 93

If your lab station looks like the picture below you have a FlexLogix controller proceed to section B on page 60

If the lab station looks similar to the picture below you have a CompactLogix controller proceed to section B on page 66

Introduction to Logix Hands-On Lab 4/6/2004

Page 56 of 93

Section A: Downloading to the ControlLogix Controller In this section of the lab you will: ƒ

Download your project to the controller

Downloading the Project to the Controller In this section of the lab you will download the project. 1. From the Communications menu, choose Who Active.

2. The Who Active Screen appears.

Introduction to Logix Hands-On Lab 4/6/2004

Page 57 of 93

3. Expand the view by clicking on the ‘+’s until your screen appears as shown below.

4. Click on the 1756-L63 controller in slot 1 to select your controller.

5. Click Download.

Introduction to Logix Hands-On Lab 4/6/2004

Page 58 of 93

6. You will be asked to verify the download, Click Download once more.

7. The project will then begin to download to your controller. If your controller was in the RUN mode prior to the download, you may be prompted to return to the RUN mode. If asked select YES. 8. At this point you will be online with the controller and the status leds will mimic the leds on your controller. Shown below is an example for a controller that is in program mode.

9. Proceed to Lab 4 on page 72.

Introduction to Logix Hands-On Lab 4/6/2004

Page 59 of 93

Section B: Downloading to the FlexLogix Controller In this section of the lab you will: ƒ

Change your project from a ControlLogix to a FlexLogix controller.

ƒ

Select the appropriate Flex I/O modules.

ƒ

Alias your tags to the Flex I/O

ƒ

Download the project to the controller

Changing your controller and I/O In this section we are going to show you how to change the selected controller from one Logix controller to another. However we have already shown you the steps to add your I/O and alias your tags so we are not going to repeat these steps. Review the steps beginning on page 32 if you are not certain how to do this. If you are still having difficulties raise your hand and your instructor or lab assistant will help. The only change required when switching between Logix controllers is that you select the correct local I/O modules for the controller you are using. Obviously a Flex I/O module will not plug into a ControlLogix chassis. RSLogix 5000 knows this and requires you to select the correct I/O modules for the controller you are using. 1. From the controller face plate select the controllers properties button as shown below.

2. The controller’s properties screen will appear.

Introduction to Logix Hands-On Lab 4/6/2004

Page 60 of 93

3. From the Controller Properties screen click on Change Type to convert from the ControlLogix controller to the FlexLogix controller that will be used for your lab station.

1. From the Controller Type drop down list select the 1794-L34.

2. Click OK 3. The following warning message will appear indicating what will happen next and asking you to be sure if this is what you intended to do.

Introduction to Logix Hands-On Lab 4/6/2004

Page 61 of 93

4. Select YES and the conversion will be completed. Notice that after your conversion request has completed the controller type has now been changed.

You may notice that some errors in the RSLogix error window indicating some unverified tags. This is because you now must select the I/O modules you wish to use with your FlexLogix controller.

5. Add the following FLEX I/O module to the correct slot on FlexBus Local of your project’s I/O configuration. 1794-IB10XOB6/A

Slot 0

a. From the Controller Organizer, under I/O Configuration, right click on FlexBus Local and select New Module. b. Add the module referenced above, making sure to add a module name and choose the correct slot number. 6. Now return to the tag database and alias your Motor_Start (Input 0), Motor_Stop (Input 1), Motor_Run (Output 0) tags to the FLEX I/O module. That’s it that is all there is to it when switching between Logix Controllers.

Introduction to Logix Hands-On Lab 4/6/2004

Page 62 of 93

Downloading the Project to the Controller In the section of the lab you will download the project. 1. From the Communications menu, choose Who Active.

2. The Who Active Screen appears.

Introduction to Logix Hands-On Lab 4/6/2004

Page 63 of 93

3. Expand the view by clicking on the +s until your screen appears as shown below.

4. Click on the 1794-L34 controller in slot 0 to select your controller.

5. Click Download.

Introduction to Logix Hands-On Lab 4/6/2004

Page 64 of 93

6. You will be asked to verify the download, Click Download once more.

7. The project will begin to download. If your controller was in the RUN mode prior to the download, you may be prompted to return to the RUN mode. If asked select YES. 10. At this point you will be online with the controller and the status leds will mimic the leds on your controller. Shown below is an example for a controller that is in program mode.

8. Now proceed to Lab 4 on page 72.

Introduction to Logix Hands-On Lab 4/6/2004

Page 65 of 93

Section C: Downloading to the CompactLogix Controller In this section of the lab you will: ƒ

Change your project from a ControlLogix to a CompactLogix controller.

ƒ

Select the appropriate Compact I/O modules.

ƒ

Alias your tags to the Compact I/O modules.

ƒ

Download the project to the controller

Changing your controller and I/O In this section we are going to show you how to change the selected controller from one Logix controller to another. However we have already shown you the steps to add your I/O and alias your tags so we are not going to repeat these steps. Review the steps beginning on page 32 if you are not certain how to do this. If you are still having difficulties raise your hand and your instructor or lab assistant will help. The only change required when switching between Logix controllers is that you select the correct local I/O modules for the controller you are using. Obviously a Compact I/O module will not plug into a ControlLogix chassis. RSLogix 5000 knows this and requires you to select the correct I/O modules for the controller you are using. 4. From the controller face plate select the controllers properties button as shown below.

5. The controller’s properties screen will appear.

Introduction to Logix Hands-On Lab 4/6/2004

Page 66 of 93

6. From the Controller Properties screen click on Change Type to convert from the ControlLogix controller to the CompactLogix controller that will be used for your lab station.

1. From the Controller Type drop down list select the 1769-L35E.

2. Click OK 3. The following warning message will appear indicating what will happen next and asking you to be sure if this is what you intended to do.

Introduction to Logix Hands-On Lab 4/6/2004

Page 67 of 93

7. Select YES and the conversion will be completed. Notice that after your conversion request has completed the controller type has now been changed.

You may notice some errors in the RSLogix error window indicating some unverified tags. This is because you now must select the I/O modules you wish to use with your CompactLogix controller. 8. Add the following Compact I/O module to the correct slot on CompactBus Local of your project’s I/O configuration. 1769-IQ6XOW4/B

Slot 1

c. From the Controller Organizer, under I/O Configuration, right click on CompactBus Local and select New Module. d. Add the module referenced above, making sure to add a module name and choose the correct slot number. 9. Now return to the tag database and alias your Motor_Start (Input 0), Motor_Stop (Input 1), Motor_Run (Output 0) tags to the Compact I/O module. That’s it that is all there is to it when switching between Logix Controllers.

Introduction to Logix Hands-On Lab 4/6/2004

Page 68 of 93

Downloading the Project to the Controller In the section of the lab you will download the project. 1. From the Communications menu, choose Who Active.

2. The Who Active Screen appears.

Introduction to Logix Hands-On Lab 4/6/2004

Page 69 of 93

3. Expand the view by clicking on the +s until your screen appears as shown below.

4. Click on the 1769-L35E controller in slot 0 to select your controller.

5. Click Download.

Introduction to Logix Hands-On Lab 4/6/2004

Page 70 of 93

6. You will be asked to verify the download. Click Download once more.

7. The project will begin to download. If your controller was in the RUN mode prior to the download, you may be prompted to return to the RUN mode. If asked select YES. 11. At this point you will be online with the controller and the status leds will mimic the leds on your controller. Shown below is an example for a controller that is in program mode.

8. Now proceed to Lab 4 on page 72.

Introduction to Logix Hands-On Lab 4/6/2004

Page 71 of 93

Lab 4: Testing Your Logic Program (5 Minutes) About This Lab In this lab you will verify the operation of your program. Follow the steps below to complete Lab 4.

✒FYI I/O Mapping For the lab there are a group of push buttons on the Demo Box. The push buttons are mapped as follows: Motor_Start = DI0 Motor_Stop = DI1 Motor_Run = DO0

Putting the Controller into Run Mode and Testing the Program. 1. From RSLogix 5000 put the controller into run mode. From the Controller Faceplate select Run Mode.

Introduction to Logix Hands-On Lab 4/6/2004

Page 72 of 93

2. The controller will go into run mode. This can be verified by looking at the Run LED on the controller. It should now illuminate green. It can also be verified through RSLogix 5000 by viewing the controller faceplate.

You notice that this is a replica of your controller’s faceplate. 3. From the Controller Organizer expand the MainProgram by clicking on the +.

4. Double click on the MainRoutine to bring up the ladder editor.

5. The ladder editor will appear. In your specific program you will actually see your alias addresses which we have removed, for this lab.

Note the actual I/O alias’s on your program may differ depending on the hardware found at your lab station. You will now see the ladder logic. Notice the green power rails. This indicates you are online and the routine is executing.

Introduction to Logix Hands-On Lab 4/6/2004

Page 73 of 93

6. You notice that the XIO instruction Motor_Stop is green. This means that this instruction is in the ‘true’ or ‘on’ state. This is because the Motor_Stop Pushbutton is not pressed.

7. If you press button DI1 the XIO instruction for Motor_Stop will no longer be green. This is because the instruction is no longer true.

8. Press button DI0 (Motor_Start). The XIC instruction will become true and turn green. Motor_Run will energize (turn green). And the pilot light DO0 on your lab station will illuminate.

9. When you release push button DI0 (Motor_Start), output DO0 (Motor_Run) stays illuminated. The ladder logic you have just written is a simple 3-wire control or motor start/stop seal in circuit.

Introduction to Logix Hands-On Lab 4/6/2004

Page 74 of 93

10. Press pushbutton DI1 (Motor_Stop). Output DO0 (Motor_Run) will turn off.

Congratulations You have Completed Lab 4

Introduction to Logix Hands-On Lab 4/6/2004

Page 75 of 93

Lab 5: Adding Logic and Tags Online (15 Minutes) About This Lab In this lab you will perform online editing. You will: ƒ

Add a timer to the logic and its execution will be based on the motor running

ƒ

Added ladder logic to reset the timer when the motor is stopped.

You will continue to use the project already opened.

Adding the Timer to the Logic 1. Right click in the blue area to the left of rung zero and select Start Pending Rung Edits.

Introduction to Logix Hands-On Lab 4/6/2004

Page 76 of 93

Note the actual I/O alias’s on your program may differ depending on the hardware found at your lab station. 2. The ladder editor will now look as follows.

The rung with the ‘I’s on the power rails is the rung you will perform the edits on. 3. Click the OTE instruction so it becomes highlighted.

4. From the Instruction Toolbar click on the Timer/Counter tab.

5. Click on the TON icon

.

Introduction to Logix Hands-On Lab 4/6/2004

Page 77 of 93

6. A timer is inserted into the code to the right of the OTE instruction.

In Logix you can string output instructions together. You do not have to create branches. 7. On the timer instruction right click in the blue area next to the word Timer and select New Tag.

Introduction to Logix Hands-On Lab 4/6/2004

Page 78 of 93

8. The New Tag window appears. You notice that the Data Type is already set to TIMER. This is because you are creating a tag in a timer instruction. 9. In the Name field enter ‘Timer’ then click OK.

10. The tag has been created in the timer instruction.

11. Double-Click on the 0, in the timer instruction, next to the word Preset. 12. Enter a value of 32767 In Logix the Timer Preset is a 32-bit DINT which means the maximum value for your timers can be: 2,147,483,647 13. Press Enter.

Introduction to Logix Hands-On Lab 4/6/2004

Page 79 of 93

Your Preset value is now 32767 milliseconds. Leave the accumulated value set to zero. 14. You are now ready to verify the edits you made. 15. Click on the Accept Pending Program Edits icon

.

Pending Program Edits are changes to a routine that have been made in the RSLogix 5000 software, but have not yet been communicated to the controller. 16. When asked to accept pending edits click on YES. 17. Click on the Test Program Edits icon

.

Test Program Edits instructs RSLogix 5000 to test your program edits to ensure the program changes operate as you expect them to. 18. A window will appear. Click Yes. You are allowing the software and controller to test the edits. 19. Click on the Assemble Program Edits icon

.

Assembling Program Edits instructs RSLogix 5000 to convert the edit zones in all routines of a program into regular rungs. 20. A window will appear. Click Yes. You are allowing the software and controller to assembly the edits. 21. The ladder editor will now appear as follows.

Introduction to Logix Hands-On Lab 4/6/2004

Page 80 of 93

We now need to add a rung that will reset the timer when the Motor_Stop (DI1) is pushed. 22. Right click on the (End) rung and select Add Rung.

23. A new rung will appear in the ladder editor.

click on the RES icon

24. From the Instruction Toolbar, 25. This will place a Timer-Reset instruction on the rung.

Introduction to Logix Hands-On Lab 4/6/2004

Page 81 of 93

.

26. From the timer instruction on rung zero, click and hold on the word Timer. 27. Drag the tag name Timer to the RES instruction, a green dot will appear next to the instruction. Release the mouse button.

27. Right click on the XIO (Motor_Stop) instruction on rung zero and select Copy Instruction.

28. Right click to the left of rung 1 and select Paste.

28. Double click on the pasted XIO instruction.

Introduction to Logix Hands-On Lab 4/6/2004

Page 82 of 93

The instruction mnemonic can now be edited. 29. Type ‘XIC’ in place of ‘XIO’ 30. Press Enter when finished. 31. The rung should now appear as shown below.

You are now ready to verify the program edits you have made. 32. Click on the Accept Pending Program Edits icon

.

33. When asked to accept pending edits click on YES. 34. Click on the Test Program Edits icon

.

35. A window will appear. Click Yes. You are allowing the software and controller to test the edits. 36. Click on the Assemble Program Edits icon

.

37. A window will appear. Click Yes. This allows the software and controller to assemble your edits. The code should now appear as shown below.

Introduction to Logix Hands-On Lab 4/6/2004

Page 83 of 93

Now when you press the DI0 (Motor_Start) push button DO0 (Motor_Run) will illuminate and the Timer instruction will start incrementing. When you press push button DI1 (Motor_Stop), DO0 will turn off and the Timer will reset. Congratulations you have Completed Lab 5

Introduction to Logix Hands-On Lab 4/6/2004

Page 84 of 93

Lab 6: Creating and Running a Trend (5 Minutes) About This Lab In this lab you will see the built in trending capabilities of RSLogix 5000. In this Lab you will: ƒ

Create a trend to watch the Timer instruction’s accumulated value.

This will be done online with the program from the previous Lab.

✒FYI Trending Basic Trending in RSLogix 5000 allows you to view data sampled over a time period in a graphical display. 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 and save it as part of your project file. Basic Trending has these constraints: you can trend data elements of type BOOL, SINT, INT, DINT, and REAL, you are limited to sampling eight unique data elements, and you will be limited to one active trend at a time.

Creating and Running a Trend 1. From the Controller Organizer, right click on Trends and select New Trend.

2. The New Trend window appears.

Introduction to Logix Hands-On Lab 4/6/2004

Page 85 of 93

3. In the Name field enter ‘Timer_Trend’.

4. Click Next. The New Trend Add/Configure Tags window appears.

Introduction to Logix Hands-On Lab 4/6/2004

Page 86 of 93

5. We want to trend the timer accumulate value. When you added the timer the tag was created in the Program Scope. So we must select the MainProgram tags.

6. Now only the tags for the MainProgram are shown.

7. Expand the Timer tag by clicking on the +. 8. Select Timer.ACC.

Introduction to Logix Hands-On Lab 4/6/2004

Page 87 of 93

9. Click the Add button. This will add the tag Timer.ACC to the Tags To Trend list.

10. Click on Finish. 11. The Trend window will now appear.

12. Start the trend by clicking on Run. 13. Start the Timer in the program by pressing the DI0 pushbutton on your lab station. 14. You see the Trend begin capturing the data of the Timer.ACC.

Introduction to Logix Hands-On Lab 4/6/2004

Page 88 of 93

15. Try pressing the DI1 pushbutton and watch the trend. 16. When you are finished investigating the trend stop the trend by clicking on Stop.

Congratulations you have Completed Lab 6

Introduction to Logix Hands-On Lab 4/6/2004

Page 89 of 93

Lab 7: What is in RSLogix 5000 Help (15 minutes) About This Lab In this lab you will investigate the extensive online Help system in RSLogix 5000. In this lab you will be viewing: ƒ

Instruction help

ƒ

Module wiring diagrams

ƒ

On-line reference materials

ƒ

3rd party vendor sample projects

ƒ

The Quick Tour Tutorial

Instruction Help 1. From the Help pull down menu select Instruction Help.

The following window will appear.

Introduction to Logix Hands-On Lab 4/6/2004

Page 90 of 93

2. Click on an instruction to locate its description, details about its parameters, and related instructions along with examples on how to use the instruction.

I/O module wiring diagrams 1. From the Help pull down menu select Contents. 2. Select the Find tab if it is not already selected. 3. Complete field 1 as shown below. 4. In field 2 select IA16 as shown below. 5. In field 3 scroll down the list and locate Wiring Diagram (1756-IA16).

6. Click Display to view the wiring diagram for this module. Note you may need to maximize your screen.

7. When you are finished viewing the wiring diagram close the display window.

Introduction to Logix Hands-On Lab 4/6/2004

Page 91 of 93

On-line reference materials 1. From the Help pull down menu select Online Books.

When you install RSLogix 5000 software you have the option to also install the On-Line reference materials. If these are installed they can be viewed here via RSLogix 5000 help.

3rd Party Vendor Sample Projects 1. From the Help pull down menu select Vendor Sample Projects. The Adobe Acrobat viewer will open showing several 3rd party modules allowing you to view and reuse sample programs for RSLogix 5000.

Introduction to Logix Hands-On Lab 4/6/2004

Page 92 of 93

2. When finished close Adobe Acrobat.

Quick Tour Tutorial 1. From the Help pull down menu select Quick Tour Tutorial. If you ever require a refresher, the Quick Tour Tutorial is a great way to brush up on the basics of Configuring RSLinx, Creating an RSLogix 5000 project and downloading to a controller. Give it a try!! Click Take the Tour.

That’s it Congratulations!! You have now completed The Introduction to Logix Hands On Lab.

Introduction to Logix Hands-On Lab 4/6/2004

Page 93 of 93

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF