Nothing Special   »   [go: up one dir, main page]

Leoni CAT-1 Guardlogix 1 LabMan

Download as pdf or txt
Download as pdf or txt
You are on page 1of 106

Controls Applied Troubleshooting 1

Student Coursebook
GuardLogix Level 1 Labs
Table of Contents

Table of Contents

Pre-Test ......................................................................................................................... Pre 1

Lab 1 System Overview ....................................................................................................... 1

Lab 2 Hardware Overview ................................................................................................... 7

Lab 3 Software Overview .................................................................................................. 13

Lab 4 Project Organization ............................................................................................... 19

Lab 5 Naming Conventions .............................................................................................. 33

Lab 6 Configuring RSLinx Communication ..................................................................... 37

Lab 7 Configuring Local I/O .............................................................................................. 39

Lab 8 Downloading, Uploading and Going Online .......................................................... 41

Lab 9 Bit Level Instructions .............................................................................................. 43

Lab 10 Editing Ladder Logic ............................................................................................. 51

Lab 11 Timer and Counter Instructions ........................................................................... 53

Lab 12 Move Instructions .................................................................................................. 61

Lab 13 Compare Instructions ........................................................................................... 67

Lab 14 Program Control Instructions .............................................................................. 71

Lab 15 Navigating the Project .......................................................................................... 75

Lab 16 Creating a Trend .................................................................................................... 81

Lab 17 File Level Instructions .......................................................................................... 83

Lab 18 DeviceNet Hardware & Software ............................................................................ 87

Post-Test ..................................................................................................................... Post 1

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
TOC 1
©2011 LEONI Engineering Products & Services, Inc. r. 2.02
TOC 2 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Pre-Test

1. What is the network a robot communicates back to the controller?

A. Ethernet
B. ControlNet
C. Ethernet & DeviceNet
D. DeviceNet.

2. What software can only show you the firmware revision of a module?

A. RSLogix5000
B. DeviceNet
C. RSLinx
D. ControlFlash

3. What is the instruction that moves the real world addresses in and out of the controller?

A. COP
B. MOV
C. JSR
D. LIM

4. Which options do tags have for scope?

A. Controller and Program


B. Main and Local
C. Controller and Local
D. Controller and Project

5. Which window shows the project structure in RSLogix 5000?

A. The DOG
B. The COW
C. The CAT
D. The Project tree

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Pre 1
6. What is the maximum number of standard nodes on a DeviceNet network for GM?

A. 20
B. 64
C. 63
D. None of these.

7. What is the Node number and baud rate for a DeviceNet module with a GuardLogix controller for GM?

A. 125kbps node # 1
B. 250kbps node # 1
C. 250kbps node # 0
D. 500kbps node # 0

8. If the Safety Task indicator on the Safety Partner is flashing green

A. The primary controller is faulted.


B. Safety I/O is forced.
C. The CST is not synchronized on the primary controller or the safety partner.
D. Primary controller is missing.

9. Safety I/O modules must communicate to the safety controller by what communication method(s)?

A. DeviceNet
B. EtherNet
C. Local I/O
D. A and B

10. What is the maximum number of safety nodes on a DeviceNet network for GM?
A. 5
B. 10
C. 15
D. 20

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Pre 2 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
11. The OK indicator on the controller is flashing red. What does it mean?

A. A power up sequence in progress


B. A recoverable minor fault
C. A recoverable major fault
D. A non-recoverable major fault

12. The I/O indicator the controller is flashing green. What does it mean?

A. The I/O is inhibited.


B. There is a flash update in progress
C. The controller is in program mode.
D. One or more devices in the I/O configuration are not responding.

13. What is the resistance of a DeviceNet network between the White and Blue wire?

A. 40.
B. 120.
C. 60.
D. None of these

14. When searching a controller-scoped tag that may not be in your current program folder you should select
which of the following “Find Where” options?

A. All project folders


B. All tags
C. All routines
D. All routines in the current folder

15. What do the lower case letters (e, i, r, and d) in the Edit Zone area to the left of the power rail indicate?

A. The programmers preference for lower case


B. Changes only exist in the computer
C. Lower case and upper case mean the same
D. Changes only exist in the controller

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Pre 3
16. What does RPI stand for Ethernet/IP communications?

A. Real-time Program Interrupt


B. Remove Power before Insertion
C. Radicands Per Instruction
D. Requested Packet Interval

17. What is the tag name for a standard DeviceNet block?

A. BK01
B. PM01
C. SBK01
D. Block

18. What is an alias tag?

A. An exact copy of a tag in memory with its own value


B. A pointer to a base tag
C. A reference to a controller object class
D. A remote tag with a user-defined array

19. When are standard inputs scanned?

A. At the start of each task


B. At the start of each routine
C. Anytime (Asynchronously)
D. Before the program scan

20. What software is used to configure communications from a computer terminal to a controller?

A. RSLinx
B. RSNetWorx for ControlNet
C. RSNetWorx for DeviceNet
D. RSLogix 5000

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Pre 4 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Lab 1 – System Overview

Description:

This lab will review the basic concepts of programmable controllers as applied to a GuardLogix system.

Corresponding Objectives:

 List the four programming options available for a GuardLogix controller.


 Identify the major components of a GuardLogix system.
 List the four functions of a GuardLogix controller.
 List Software’s and there functions.
 Identify the basic data types.
 List the four categories of tags.
 Identify the three structures for the GuardLogix memory.
 Explain the difference between continuous and periodic tasks.
 Explain asynchronous I/O scan.
 List different communications options available for the GuardLogix system.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 1
1. List four ways to program a GuardLogix controller and which one GM uses?

_________________________

_________________________

_________________________

_________________________

2. What are the two networks that GM uses on a GuardLogix controller?

________________________________

________________________________

3. What network has safety devices?

________________________________

4. The program structure of the ControlLogix divides the logic into what three parts?

________________________________

________________________________

________________________________

Which structure part contains the actual logic? _________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 2 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
5. The Main Task can be continuous or periodic?
True False
What is the difference between continuous &periodic?

_______________________________________________________________________

_______________________________________________________________________

6. The standard I/O scan is Asynchronous or Synchronous? (Please circle one)

Explain the difference. ____________________________________________________


7. Of the many communications network options available for the GuardLogix which is used for
Interlocks?

_______________________________________________________________________

8. The Safety Task must be a periodic task.


True False

9. GuardLogix I/O modules can communicate on what networks?

____________________________________________________________________________

____________________________________________________________________________

____________________________________________________________________________

____________________________________________________________________________

____________________________________________________________________________

©2011 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 3
11. Interlocking between GuardLogix controllers uses what type of network communication?

__________________________________________________________________________________

12. Addresses in GuardLogix are referred to as a ____________________________________.

13. List what type of devices that are connected to the Ethernet network.

_________________________________________________

_________________________________________________

_________________________________________________

_________________________________________________

_________________________________________________

14. What communication network replaced Remote I/O?

___________________________________________

15. List devices on the DeviceNet network.

______________ ________________ ________________

______________ ________________ ________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 4 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
16. List what software is used for each module below.

Slot 0 ___________________________________

Slot 1 ___________________________________

Slot 2 ___________________________________

Slot 3 ___________________________________

Slot 4 ___________________________________

Slot # 0 1 2 3 4 5 6 7 8 9

©2011 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 5
©2012 LEONI Engineering Products & Services, Inc. r. 2.02
Page 6 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Lab 2 – Hardware Overview

Description:

This lab will examine the components of a GuardLogix system.

Corresponding Objectives:

 Identify modules used in a GuardLogix system


 Identify key indicators on a controller module.

Equipment Required:

 GuardLogix trainer.
 Project: T_Lab07 downloaded by instructor.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 7
1. The basic GuardLogix hardware configuration consists of:

______________________________________________________________

______________________________________________________________

______________________________________________________________

______________________________________________________________

______________________________________________________________

______________________________________________________________

______________________________________________________________

______________________________________________________________

______________________________________________________________

2. Modules can be placed in any slot in the chassis. True False

3. The standard is for the controller to be placed in slot 0 (GM). True False

4. Power must be turned off when removing a module from the chassis. True False

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 8 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
5. Match the items below with the illustration:

A 1. ____ RS232 Indicator

B I
2. ____ Keyswitch Run Position.
C J

D K
3. ____ RS232 connector
E L

4. ____ Keyswitch

F
5. ____ Controller designation

6. ____ Battery

G
7. ____ Keyswitch Program Position

8. ____ Run Indicator

9. ____ OK Indicator

H
10. ____ Battery Indicator

11. ____ I/O Indicator

12. ____ Force Indicator

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 9
6. The GuardLogix primary controller functions are to:

____________________________________________________________________

____________________________________________________________________

____________________________________________________________________

____________________________________________________________________

7. The GuardLogix Safety Partner’s functions are to:

____________________________________________________________________

____________________________________________________________________

____________________________________________________________________

____________________________________________________________________

8. The locking tab on the I/O module locks the module in the chassis. True False

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 10 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Using the workstations:
1. Locate and identify your GuardLogix chassis.
2. Locate the power switch on the front of the power supply.
3. Turn the power supply switch on.
4. Observe the controller module and record its slot location. ____________________________
Is this your plant’s standard for controller placement? ____________________________
If not, swap necessary modules.
5. Verify that the mode select switch is in the RUN position.

What is the status of the I/O LED? __________________________________________

What does this mean? ____________________________________________________

Pull the Input module. What is the state of the I/O LED? _______________________

What does this mean? ____________________________________________________

6. Reinsert input module & observe the input module.


What is the state of the OK LED? ________________________________________________

Why? __________________________________________________________________

7. Observe the output module in your chassis.

8. What is the state of the OK LED? ________________________________________________

Why? __________________________________________________________________

9. What network are the red safety modules used on?

_____________________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 11
10. Using RSLinx software list the module catalog number and revision number for each module in your
chassis.

Catalog Number F/W Revision Number

Slot 0 ______________________________ ________________________________

Slot 1 ______________________________ ________________________________

Slot 2 ______________________________ ________________________________

Slot 3 ______________________________ ________________________________

Slot 4 ______________________________ ________________________________

Slot 5 ______________________________ ________________________________

Slot 6 ______________________________ ________________________________

Slot 7 ______________________________ ________________________________

Slot 8 ______________________________ ________________________________

Slot 9 ______________________________ ________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 12 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Lab 3 – Software Overview

Description:

In this exercise, you will identify and configure various features of RSLogix 5000 software on your assigned
workstation.

Corresponding Objectives:

 Demonstrate features of RSLogix 5000

Equipment Required:

 Industrial terminal or computer with RSLogix 5000.


 RSLogix file AA005B1.ACD

©2012 LEONI Engineering Products & Services, Inc. r.2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 13
Becoming Familiar

1. Use the steps below to identify and configure RSLogix 5000 features.
2. Locate the RSLogix 5000 icon on the workstation desktop and open RSLogix 5000.
3. Maximize the RSLogix 5000 window using the window control buttons.
4. Go to the File menu, select Open, and select the RSLogix 5000 file “AA005B1.ACD” in the Projects
directory.
5. Collapse all the program folders in the COW.
6. Expand the program folder, “AM100CnvUdB1”.
7. Open the routine, “S037_CloseClamps_Sigma”, in the AM100CnvUdB1program folder.
8. Identify the following RSLogix 5000 screen components:
____ Application Window Title Bar
____ Menu Bar
____ Standard Toolbar
____ Online Toolbar
____ Language Element Toolbar
____ Controller Organizer Window (COW)
____ Ladder Logic Window

9. Use the Ctrl + End keys to move to the End of the routine.
10. Use the Ctrl + Home keys to move to the Start of the routine.
11. Open the Controller Tags Window.
12. Use the Window menu to select Tile Horizontal.
13. Use the tabs at the bottom of the Tags window to toggle between Edit Tags and Monitor Tags
windows.
14. Hide the Control Organizer Window (COW).
15. Use the Window menu to select Tile Horizontal again.
16. Close the Tags window.
17. Maximize the Ladder window.
18. Use the Ladder window slider control to display Rung 7.
19. Show the Control Organizer Window (View>Controller Organizer).

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 14 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Using the Language Elements Toolbar

1. Use the Instruction toolbar scroll arrows to display the Program Control tab.

2. Click the tab to display the Program Control instruction set.

3. Go to any mnemonic and use ToolTips to identify any instruction.

4. Remember any of the mnemonics in the Program Control instructions and scroll the toolbar back to the
Favorites tab.

5. Right click anywhere in the Favorites list and select Customize.

6. Navigate in the Available Buttons list to Program Control folder.

7. Expand the folder and add your choice of Program Control instruction.

8. Move the instruction to the top of the list.

9. Move the OTE instruction to the bottom of the list.

10. Click OK button and examine the Favorites in the toolbar.

11. Go to the View menu and show the search results window.

12. Hide the results window.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 15
Configuring Display Options

1. Go to the Tools/Options and Change the Ladder Editor Display and Color configuration to the following:
 Show Rung Numbers: On
 Show Rung Comments: On
 Rung Wrapping: On
 Description: Foreground; Blue, Background; White
 Operands: Foreground; Red, Background; White

Using the split window display


2. Open the “B001_MapInputs” routine in the “AA005B1” program.

3. Use the tabs at the bottom of the ladder window to toggle between “S037_CloseClamps_Sigma” and
“B001_MapInputs”.

4. Display “S037_CloseClamps_Sigma”.

5. Go to the top of the ladder window and click and drag the split the window and show two different
rungs.

6. Close the split window by click and dragging back to the top of the ladder window.

Manipulating the toolbars


7. Click and drag the instruction toolbar to the bottom of the ladder window.

8. Drag the Online toolbar down next to the instruction toolbar.

9. Go to the View/Toolbars and experiment with show/hide options of various toolbars such as Language
Editor Editing toolbar.

10. Restore the Toolbars to your preferred placement and size (If you have difficulty moving the toolbars,
us the “Restore Factory Toolbar Layout” Option of the View>Toolbars menu selection.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 16 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
©2012 LEONI Engineering Products & Services, Inc. r. 2.02
All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 17
©2012 LEONI Engineering Products & Services, Inc. r. 2.02
Page 18 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Lab 4 – Project Organization

Description:

This lab explores the memory organization of a GuardLogix system. There are many possible ways to
configure a system, so different samples are explored to give the participant an idea of what they can
expect to encounter.

Corresponding Objectives:

 Compare Tasks, Programs and Routines


 Define and identify base and alias tags
 Create Base tags
 Create User-Defined-Data-Type
 Create base tags using a UDT
 Identify Produced and Consumed tags.
 Identify and define data array tags.

Equipment Required:

 GuardLogix trainer
 Computer terminal with RSLogix 5000 and RSLinx.
 RSLogix file AA005B1.ACD
 RSLogix file AA014B1.ACD

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 19
Review Tasks, Programs, and Routines

1. Open the sample file AA005B1.ACD. What version of RSLogix 5000 opened?
Hint: Check Help, About RSLogix 5000.
2. If it is not already showing, display the COW.
3. The graphic below shows 3 ways to do this.

4. Expand the task folder. How many tasks are there? _________________________________

5. What is the name of the continuous task? _________________________________________


6. Expand the continuous task folder.
How many Program folders are in the continuous task? ______________________________

7. Are the folders shown listed in alphabetical order? __________________________________


8. Expand the program folder named “AA010LoadB1”.
9. How many routines are listed in this folder? ____________________
Note: The icon for the routine “A000_Main” is shown to the right.

10. What does the “1” in the icon represent? _________________________________________


11. Double click the icon for the routine “S021_Open_GP_Clamp”. What type of logic does it contain?

_______________________________________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 20 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
12. What is the label for the tab at the bottom of the Ladder Logic Window?

_______________________________________________________________________
13. Double click on other routines. What happens?

_______________________________________________________________________
14. What happens when you click on different tabs at the bottom of the Ladder Logic Window?

_______________________________________________________________________
15. Keep the file open for the next part of the lab.

Exploring Tags

1. Double click on the Controller tags icon in the COW.


Refer to the graphic for help.

2. Make sure the “Edit Tags” tab is selected at the bottom of the tag windows.
3. List the labels for the columns below. (Later revision may not have the same columns)

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

_______________________________________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 21
4. Does the “Monitor Tags” tab provide similar options? ________________________________
5. Move the mouse to the line between column labels (The mouse cursor should change). In this position
you can drag the column width to different sizes. Adjust the column width so you can read all tags in
the column.
6. Right click on the column label and highlight “Toggle Column.”
What happens when you uncheck a column?

_______________________________________________________________________
Close all window on right for next.
7. Using find window, type in “BK01.I.D00” click on Find all ICON.

Set the find window as shown below. Then click on find all.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 22 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
8. When search is done record how many occurrences found for this search? ____________

9. Close the search window, using the F4 key step to each of the location where that tag is used.

10. Does this function work? _____________

11. Repeat above process for “PM1.O.V1S14” using find window.

12. How many occurrences found for this search? __________________

13. When search is done close search window, using the F4 key step to each of the location where that tag
is used.

14. Keep this file open. We’ll be back!

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 23
Opening Another File

1. Minimize the current project,(Do not close)


2. Open another instance of RSLogix5000.
3. Double click on the file named AA014B1.ACD. What happens? ________________________

_______________________________________________________________________

4. Why did we open the file that way?

_______________________________________________________________________

5. Open the controller Tag window; Select Program scope tags for “AA014B1Cell” are there any “Program
Scoped” tags?
_______________________________________________________________________
6. Right click on the tag “SBK01” and select Go to Cross Reference.

7. What “Program” uses an OTE for this tag? ________________________________________

8. Is this consistent with your understanding of “Program Scoped” tags? __________________


If not ask the instructor for a quick review.
9. Keep this file open for the next section.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 24 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Exploring Alias Tags

1. Open window for “Programs Tags” for program AA014B1Cell as shown below.

2. Scroll down until you find the tag “IP67”.


Notice the tags “IP67” is an alias for a totally different tag.

What is the tag name that it is alias to? ____________________________

What is the scope of the tag it is alias to? ________________________

3. What data type is the base tag?

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 25
4. Right click on the tag “IP67” and select cross-reference.
5. Double click on the XIO on rung 11. It should take you to rung 11 of routine B008_IP67PowerStatus.
If it does not, ask for help. The contact we are looking for should look like the figure below.

Alias and Base point to the same memory location.

Alias tag

Base Tag

GM standard is that program tags are alias to controller scope tags.


RSLogix 5000 provides the option to display base tags for alias tags.
If yours does not, it may be turned off.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 26 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Turning On the Base Tag Display

1. In the Tools menu select options.

2. The option window should look like the figure below.

3. In the option screen, the check box for “Show Tag Alias Information” controls the display of the base
tag in the ladder.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 27
Introduction to Produced and Consumed Tags
1. Switch back to the AA005B1.ACD file.
2. Again open the controller tags window. (Double click on the controller tags icon in the COW).
3. Click in the “Show” drop-down menu and select “Produced” as shown below.
4. Produced tags are about the controller to share with other controllers for interlocks.

5. Using the “Show” drop-down menu like we did in step 3, select Consumed tags.
It should look like the window below.

Consumed tags are about information in other controllers for interlocks.


AA005B1 is interlocked with how many other controllers? ________
Tip
Remember: Produced and Consumed tags must be Controller-Scoped.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 28 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Interlocks Consumer Paths

Go to the COW I/O configuration folder as shown below.

List all the controller names that tags are being consumed from.

________________________________________________________________________

_______________________________________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 29
Introduction to Data Arrays
Earlier in the lab, the produced and consumed tags used arrays. We know from the reference manual that arrays
can be one-, two- or three-dimensional. Most applications probably won’t use 2 and 3 dimensional arrays. One-
dimensional arrays, however, are very practical.

1. Open the controller tags if they are not open.

1. Make sure that the top of tag window displays Show All Tags

2. Find kAlarm tag in the controller tags and Click on the + sign on kAlarm.

3. How many Dint’s are in kAlarm? ________________________________________________

4. Go to kAlarm[35] how many bits are in this element? ________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 30 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Introduction to User-Defined-Data Types (UDTs)
The power of using UDTs is the way it can ensure consistency. For example, when using several robots, wouldn’t
it help if the I/O structure was the same for each robot?
1. Close all Ladder Logic Windows.

2. Scroll down the COW until you find the “Data Types” folder.

3. Double click the folder to open it.

4. Expand the User-Defined folder.

5. Scroll down and find the data type zd_Turck_FDNLS1600W.

6. Double click the data type. The screen below will be displayed.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 31
7. Now let’s look at a tag made using this UDT.
8. Open the screen for program tags for AM100CnvUdB1.
9. Find the tag BK01.

10. Notice how the tag structure follows the UDT.


11. Look at other block tags (BK02, BK03, BK04 and BK05).
Do they also follow the UDT structure? ________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 32 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Lab 5 – Naming Conventions

Description:

 Application of naming conventions

Corresponding Objectives:

 Interpret names applied to various project components


Equipment Required:

 RSLogix5000 Computer

1. What ACTION/RESULT names are used for the clamps?


a. Close/Open
b. Advance/Return
c. Engage/Disengage
d. Raise/Lower
2. Which of the following is an IEC 61131 naming standard restriction?
a. Case sensitive
b. Maximum length of 40 characters
c. Must start with an alphabetic or underscore
d. Both b and c
3. What is the name of the continuous task?
a. Looping Task
b. SafetyTask
c. Sequence Task
d. MainTask
e. Continuous Task
4. Which items require the controls engineer to define names?
a. Routines
b. Tags
c. Programs
d. All of the above

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No Part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 33
5. Why are prefixes added to the routine names?
a. To show what the routine does
b. To designate what the station routine is for
c. To allow user controlled sorting sequence of routines
d. To show sequence of operations

6. What does the UDT prefix “s_ud_” represent?


a. CCRW created and maintained device tag
b. Safety HMI junction box tag
c. Safety user-defined device tag
d. Safety user-defined machine e-stop danger tag
7. What does the “s_” tag prefix mean?
a. Aliased program-scoped safety tag
b. Controller-scoped safety tag
c. Program-scoped safety tag
d. None of the above
8. Do not create a program tag with the same name as a controller tag
a. True
b. False
9. What do the final two digits represent in a chassis module’s name?
a. Station number the module is used for
b. Slot number
c. Step of process flow of operation
d. Cell number
e. None of the above

10. What is the name of the routine that contains the automatic logic?

__________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 34 All rights reserved. No Part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
11. What is the name of the routine that contains the sequence logic for the
machine?

___________________________________________

12. If the controller project name is AA005B01 what is the name of the following
files?

HMI1 ______________________________

HMI2 ______________________________

DeviceNet slot 4 ______________________________

DeviceNet slot 5 ______________________________

DeviceNet slot 6 ______________________________

Open project file TC010B1.acd

Find all stations in auto logic and record below location of logic.

What is the Program name? ________________________

What is the Routine name? ________________________

What is the Rung number? ___________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No Part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 35
Find inputs in project TC010B1.acd, Program TC010T01, Routine S070_CloseClamps and record the
location for block inputs below. (Hint BK01 tag name.)

Rung numbers ___________ ____________ _____________

List all three Tag Names for inputs for clamp closed.

___________ ____________ _____________

What is the node numbers of each of the above inputs? (Hint Cross Reference Tag)

___________ ____________ _____________

What is the DeviceNet module slot number for each node?

__________ ____________ _____________

What is the tag name to the valve that closes the clamps? (Hint Tag name PM)

___________________________

What is the node numbers for the above Valve? ________________(Hint Cross Reference Tag)

What is the DeviceNet module slot number for this node? ________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 36 All rights reserved. No Part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Lab 6 – Configuring RSLinx Communications

Description:

In this exercise, you will configure RSLinx to support communication between the computer workstation and the
ControlLogix.

Corresponding Objectives:

 Demonstrate the ability to configure an RSLinx communication driver

Equipment Required:

 Industrial terminal or computer with RSLogix 5000 and RSLinx.


 GuardLogix Trainer

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 37
Configuring Ethernet Communications

1. Ethernet communication requires various settings. Determine the following information for your
computer workstation and ControlLogix training unit.
Computer Workstation Ethernet Port

IP Address: . .

Subnet Mask: . .

ControlLogix Trainer 1756-ENBT Card

IP Address: . .

Network Mask: . . .

2. Configure an Ethernet driver in RSLinx. Use the reference manual for assistance if needed.
3. Browse the Ethernet driver using the RSWho window in RSLinx to verify proper communication.
If there are problems, ask the instructor for assistance.

©2011 LEONI Engineering Products & Services, Inc. r. 2.02


Page 38 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
ControlLogix Level 1 Labs
Lab 7 – Configuring Local I/O

Description:

In this exercise, you will configure local 1756-I/O modules for your RSLogix 5000 project.

Corresponding Objectives:

 Demonstrate the use of RSLogix software to find tags I/O modules.


 Demonstrate I/O module fault.

Equipment Required:

 Industrial terminal or computer with RSLogix 5000 software loaded


 ControlLogix Trainer
 Project: T_LAB07

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 39
OPEN RSLogix 5000 Project
1. Open Project T_LAB07 using RSLogix 5000, establish communication path, download project and go
online.
2. Locate Tags for inputs module in slot 2.
3. Record tag name. _______________
4. Locate Tags for Outputs module in slot 3.
5. Record tag name. _______________
6. Locate Tags for input & Outputs for the DeviceNet module in slot 4.
7. Record tag names. ______________________ ________________________

8. Pull the input module and go to the I/O configuration folder.


What do you see as a warning? ______________

9. What is the I/O LED on the front of the controller doing? _____________

10. Plug module back in. What happened to the warning indicator in the I/O Configuration folder?
____________

11. What is the I/O LED on the front of the controller doing now? _____________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 40 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Lab 8 – Downloading, Uploading & Going Online

Description:

In this exercise, you will download your RSLogix 5000 project to the GuardLogix and go online to the controller.

Corresponding Objectives:

 Demonstrate the ability to download a project to a GuardLogix controller


 Demonstrate the ability to go online to a GuardLogix controller

Equipment Required:

 Industrial terminal or computer with RSLogix 5000 and RSLinx


 A project from a previous lab to download
 GuardLogix Trainer
 Project: T_LAB07

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 41
Downloading to the Controller and Going Online
Now that we have a working RSLinx driver and a properly configured RSLogix 5000 project, we can download the
project to the controller.
1. Open the RSLogix 5000 project T_LAB07.

2. Click on the “Who Active” icon indicated by the arrow on the figure above.
3. Find and click the controller in the Who Active tree. (It is best to select the driver created in an earlier
lab. The box in the graphic shows that the Path Toolbar remembers a history of online paths. Since
this is a new project, path will be labeled “None”)

Tip
It is important to remember that “Download” will overwrite the controller, which is rarely desired on the
plant floor (unless making major edits). Both “Upload” and “Online” will read from the controller to the
computer. This is usually the best way to get the “latest and greatest” working logic from the machine.

4. For the classroom exercise, we do not care what logic is currently in the controller, so click “Download”.
5. Confirm by clicking “Download”.
6. You may be prompted to go online (depending on
the software version). If so, click to go online. If not,
you will be automatically online. This is easily
verified by looking for illuminated indicators in the
Online Toolbar as shown to the right

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 42 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Lab 9 – Bit Level Instructions

Description:

This lab will familiarize the student with basic bit level instructions used by the Allen Bradley ControlLogix family.

Corresponding Objectives:

Demonstrate the use of the following basic bit level instructions:


 Examine On XIC
 Examine Off XIO
 Output Energize OTE
 Output Latch OTL
 Output Unlatch OTU
 One Shot ONS
 Demonstrate the use of the Watch window

Equipment Required:

 Industrial terminal or computer with RSLogix 5000 software loaded


 ControlLogix Trainer
 Project:T_Lab09

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 43
Basic Bit Level Instructions

1. Open the project T_Lab09 and download controller.


2. Go online and turn on SS1 and turn off SS2 and SS3.
3. Go to Program: MainProgram Routine:Basic_Bit to find logic below

4. From the View menu, select the Watch window.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 44 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Refer to the rungs entered above for the following questions.
5. Fill in the table for the first rung.

PB1 Input PB1 Watch XIC LT1 OTE Light on


Card Window the
Switch (N.O. Contact) Watch (Coil)
Indicator Value Trainer
State Intensified or Window Intensified
On or On or Off
1 or 0 Not-Intensified Value or Not-
Off
Intensified
1 or 0

On

Off

6. Does the XIC intensify when the there is a “1” in the watch window? ___________________________

7. Does a “1” in the watch window correspond to power at the input terminal? ______________________

8. When the OTE intensifies is there a “1” in the watch window? ________________________________

9. When does the OTE intensify (When the switch is on or off)? _________________________________

10. When there is a “1” in the watch window for LT1, does the light turn on? ________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 45
11. Fill in the table for the second rung.

PB2 Input PB2 XIO LT2 OTE Light on


Card the
Switch Watch (N.C. Contact) Watch (Coil)
Indicator Trainer
State Window Intensified or Window Intensified
On or On or Off
Value Not-Intensified Value or Not-
Off
Intensified
1 or 0 1 or 0

On

Off

12. Does the XIO intensify when the there is a “1” in the watch window? ___________________________

13. Does a “1” in the watch window correspond to power at the input terminal? ______________________

14. When the OTE intensifies is there a “1” in the watch window? ________________________________

15. When does the OTE intensify (When the switch is on or off)? _________________________________

16. When there is a “1” in the watch window for LT2, does the light turn on? ________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 46 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Sealing Circuits vs Latch/Unlatch Circuits

1. Go to Program: MainProgram Routine: SEAL_CRTto find logic below.


2. Turn off SS1 and SS3, turn on SS2.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 47
3. Fill in the tables below.

PB3 Input Card Indicator PB3 XIC


On or Off
Switch State Watch Window Value (N.C. Contact)
Intensified or Not-
1 or 0
Intensified
On
Off

PB1 Input Card Indicator PB1 Watch Window XIC


On or Off Value
Switch State (N.O. Contact)
1 or 0 Intensified or Not-
Intensified
On
Off

OTE State LT1 Watch Window XIC for LT1


Value
for (N.O. Contact)
1 or 0 Intensified or Not-
LT1
Intensified
Intensified or
Not-Intensified
On
Off

4. Does this circuit behave the way you would expect a Start/Stop circuit to behave? ________________

5. Why is it a required for the Stop PB to be wired normally closed? _____________________________

__________________________________________________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 48 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
6. Fill in the tables for the latch and unlatch rungs.

PB4 Input Card Indicator PB4 XIC


On or Off
Switch State Watch Window Value (N.O. Contact)
Intensified or Not-
1 or 0
Intensified
On
Off

OTL State LT2 Watch Window OTU State


Value
for for LT2
1 or 0
LT2 Intensified or Not-
Intensified
Intensified or
Not-Intensified
On
Off

7. What happens if both PB4 and PB5 are on? ______________________________________________

8. Once LT2 is on, does it matter what state PB4 is in? _______________________________________

9. Does this circuit work similar the start stop circuit? _________________________________________
10. Operate the circuits until both LT1 and LT2 are on.
11. Turn off PB1, PB4, and PB5 and cycle the controller to the program mode and back to the run mode.
(The results will be the same as if power was cycled to the controller.)

12. Which output stayed on? _____________________________________________________________

13. What is the difference between these two circuits? _________________________________________

__________________________________________________________________________________

14. What are applications for each? ________________________________________________________

__________________________________________________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 49
Project A Analysis Logic
1. Go to program: MainProgram routine: PUSH_BUTT_CRT
2. Turn off SS2 and SS1, turn on SS3.
PB1 = Power on for all three conveyors.
Conv1 = LT1
Conv2 = LT2
Conv3 = LT3
Program Criteria

1. Pushing the power on button will start conveyor 1 only.


2. Once Conv1 is on, pushing the same button will start conveyor 2 only if conveyor 1 is currently running.
3. Energizing the button one more time will result in conveyor 3 starting up only if Conv1 and Conv2 are
already running.
4. PB3 is the E-stop to disable all three conveyors.

Why does the logic not work as described above? ____________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 50 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
ControlLogix Level 1 Labs
Lab 10 – Editing Ladder Logic

Description:

This lab will familiarize the participants with editing ladder logic in an RSLogix 5000 system.

Corresponding Objectives:

 Demonstrate the ability to create new tags.


 Edit ladder logic Offline.
 Edit ladder logic online in Remote-Program mode.
 Edit ladder logic online in Remote-Run mode.

Equipment Required:

 Industrial terminal or computer with RSLogix 5000 software loaded


 GuardLogix Trainer
 Project: T_Lab10

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 51
Editing Practice

1. Open project T_Lab10.


2. Download project into controller and go online with controller.
3. Go to program MainProgram routine Lab10_Logic.
4. Put the controller into run.

5. Place the controller in the REMOTE PROGRAM mode and change the output on the first rung to LT6.
6. Place the controller in the REMOTE PROGRAM mode and change the output in the second rung to
LT7.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 52 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Lab 11 – Timer & Counter Instructions

Description:

This lab will familiarize the student with basic timer and counter instructions used by the Allen Bradley GuardLogix
family.

Corresponding Objectives:

 Demonstrate the use of the programming terminal with Allen Bradley RSLogix 5000 programming
software to the following tasks:
 Create and edit ladder logic using timers and or counters.
 Analyze circuits using timers and counters.
 Use the Watch window to monitor values in memory.

Equipment Required:

 Industrial terminal or computer with RSLogix 5000 software loaded


 GaurdLogix Trainer
 Project: T_Lab11

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 53
Timers
TON Instruction

1. Open Project T_Lab11 and download to your trainer controller.


2. Go Online.
3. Go to MainProgram routine: Timer.
4. Find Logic shown below.

5. What is the time base of the timer? _____________________________________________________

6. How long after the switch is turned on does light LT1 come on? _______________________________

7. What other time base options are offered? _______________________________________________

8. What is a typical application for the rungs shown? _________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 54 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
TOF Instruction

1. Find logic to match the rungs shown below.

2. When does LT2 come on? ____________________________________________________________

3. When does LT2 turn off? _____________________________________________________________

4. When does the timer reset? ___________________________________________________________

5. What is a typical application for the TOF? ________________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 55
Flashing Light

1. Go to MainProgram routine: Flasher to see the logic shown below.

2. How long is the light on? ______________________________________________________________

3. How long is it off? ___________________________________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 56 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Counters

CTU Instruction

1. Go to MainProgram routine: Counter to see the logic shown below.

2. How long will the counter count? _______________________________________________________

3. When will the counter reset? __________________________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 57
Up Down Counter

1. Go to MainProgram routine: Counter to see the logic shown below.

2. How long will the counter count? _______________________________________________________

3. When will the counter reset? __________________________________________________________

4. What is the maximum count? __________________________________________________________

5. Why? _____________________________________________________________________________

6. What happens when the counter gets to 10? ______________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 58 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Three Lane Diverter
1. Go to MainProgram routine: Counter to see the logic shown below.

2. How do the accumulated bits in the last three rungs represent the count value?

3. What other ways could this be accomplished? ____________________________________________

4. Why is the preset set to 4? ____________________________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 59
©2012 LEONI Engineering Products & Services, Inc. r. 2.02
Page 60 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Lab 12 – Move Instructions

Description:

This lab will familiarize the student with move instructions used by the Allen Bradley GuardLogix family.

Corresponding Objectives:

 Demonstrate the use of the programming terminal with Allen Bradley RSLogix 5000 programming
software to the following tasks:
 Create and edit ladder logic using timers and or counters.
 Create and edit ladder logic using MOV, MVM, BTD and SWPB instructions
 Analyze circuits using MOV, MVM, BTD and SWPB instructions.

Equipment Required:

 Industrial terminal or computer with RSLogix 5000 software loaded


 GuardLogix Trainer
 Project T_Lab12

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 61
Move Instructions

MOV Instruction

1. Open Project T_Lab12 and download to your trainer controller.


2. Go Online.
3. Go to MainProgram routine: Move.
4. Find Logic shown below.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 62 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
5. How fast does the light flash? __________________________________________________________

6. Toggle PB1.

7. How fast does the light flash now? ______________________________________________________

8. Toggle PB2.

9. Did the Preset values for the timers change? _____________________________________________

10. Did the light flash faster or slower? _____________________________________________________

11. Is there a way, using a MOV instruction, to move part of a word? ______________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 63
MVM Instruction

1. Go to MainProgram routine: Move_Mask.


2. Find Logic shown below.

3. What are all the ones and zeros showing in the instruction? __________________________________

4. What does the 2# in the data field mean? ________________________________________________

5. Toggle SS2 what happens to the bit pattern? _____________________________________________

6. Does a “1” or “0” pass values in a MVM? _________________________________________________


7. Change the Mask data and verify it.

8. How is the MVM different from the MOV? ________________________________________________

9. Can you use the MVM to move bits 0-3 over to bits 8-11? ___________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 64 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
BTD Instruction

1. Go to MainProgram routine: Move.


2. Find Logic shown below.

3. Toggle SS2, what bits are moved and where? _____________________________________________

4. Explain why. _______________________________________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 65
©2012 LEONI Engineering Products & Services, Inc. r. 2.02
Page 66 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
ControlLogix Level 1 Labs
Lab 13 – Compare Instructions

Description:

This lab will familiarize the student with basic timer and counter instructions used by the Allen Bradley
ControlLogix family.

Corresponding Objectives:

 Demonstrate the use of the programming terminal with Allen Bradley RSLogix 5000 programming
software to the following tasks:
 Create and edit tags.
 Create and edit ladder logic using comparison instructions
 Analyze circuits using comparison instructions.

Equipment Required:

 Industrial terminal or computer with RSLogix 5000 software loaded


 ControlLogix Trainer
 Project: T_Lab13

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 67
Compare Instructions

GEQ Instruction

1. Open Project T_Lab13 and download to your trainer controller.


2. Go Online.
3. Go to MainProgram routine: GEQ.
4. Find Logic shown below turn on SS1 and turn off SS2 & SS3.

5. Does the counter count up? ___________________________________________________________

6. What happens when the counter reaches 11? _____________________________________________

7. What counter values cause the light to turn on? ___________________________________________

8. Cross reference the address used in the GEQ; is it listed as destructive? _______________________

9. Why or why not? ____________________________________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 68 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
CMP Instruction

1. Find Logic in routine CMP shown below turn on SS2 and turn off SS1 & SS3

2. Does the counter count up? ___________________________________________________________

3. What happens when the counter reaches 11? _____________________________________________

4. What counter values cause the light to turn on? ___________________________________________

5. Cross reference the address used in the CMP; is it listed as destructive? _______________________

6. Why or why not? ____________________________________________________________________

7. Did this circuit work the same as when we used a GEQ? ____________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 69
LIM Instruction
1. Find Logic in routine LIM shown below turn on SS3 and turn off SS1 & SS2.

2. Does the counter instruction count up? __________________________________________________


3. What happens when the counter reaches 11? _____________________________________________

4. What counter values cause LT1 to turn on? _______________________________________________

5. What counter values cause LT2 to turn on? _______________________________________________

6. Cross reference the address used in the LIM; is it listed as destructive? ________________________

7. Why or why not? ____________________________________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 70 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Lab 14 – Program Control Instructions

Description

This lab will familiarize the student with Program Control instructions used by the Allen Bradley GuardLogix
family.

Corresponding Objectives:

 Demonstrate the use of the programming terminal with Allen Bradley RSLogix 5000 programming
software to the following tasks:
 Create and edit ladder logic using Program Control instructions.
 Create and edit tags.
 Analyze circuits using Program Control instructions.

Equipment Required:

 Industrial terminal or computer with RSLogix 5000 software loaded


 GuardLogix Trainer
 Project: T_Lab14

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 71
Program Control Instructions

JSR Instruction
1. Open Project T_Lab14 and download to your trainer controller.
2. Go Online.
3. Go to MainProgram routine: JSR.
4. Find Logic shown below.
.

Temp_1
77

Temp_2
212

5. Find the following logic to the d_TEMP routine.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 72 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
6. The move instructions are provided in the logic for two reasons.
 To pass information to the subroutine.
 To make it easy for you to see the values passed.

7. What does the subroutine calculate? ____________________________________________________

8. What output parameter data is produced for the first input parameter? __________________________

9. What output parameter data is produced for the second parameter? ___________________________

10. In the subroutine, what is the name of the input data? _______________________________________

11. In the subroutine, what is the name of the output data? _____________________________________

12. What would happen in the main routine if switches were used to turn off the JSRs?
__________________________________________________________________________________

13. What are plant applications for JSR instructions? __________________________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 73
©2012 LEONI Engineering Products & Services, Inc. r. 2.02
Page 74 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Lab 15 – Navigating the Project

Description:

This lab provides practice to develop skills using the tools available for troubleshooting an RSLogix 5000 project.

Corresponding Objectives:

 Demonstrate the ability to use the Search function.


 Demonstrate the ability to use the Cross Reference tool.
 Demonstrate the ability to use the Bookmark feature.

Equipment Required:

 Industrial terminal or computer with RSLogix 5000 software loaded


 Sample project file TC010B1.acd
 GuardLogix Trainer

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 75
Troubleshooting Overview
The basic troubleshooting process can be described in the following manner.
1. Check the “Bay number”.
Some large plants may have 2 or more very similar machines in 2 different locations in the plant.
Troubleshooting the wrong one can be embarrassing and a waste of time.
2. Talk to the operator.
The operator usually spends so much time with a machine that he can point you in a direction that can
save you time. If it turns out to be miss-information, let the operator know the results so he/she can
help you remember for the next time.
3. Verify the operator’s description of the problem.
4. Check panel indicators.
PanelView screens, Marques, Bingo boards, FIS systems all can provide valuable troubleshooting
information.
5. Check controller lights.
Indicators lights on modules and other components can provide additional specific information vital to
troubleshooting.
6. Where did the machine stop in the sequence?
Try to determine if the problem is from a missing input or an output that didn’t fire.

Sometimes the messages you get in item 4 can be misleading. The tools discussed in this lab focus on step 4 and
step 6. If a message is misleading, you can find the originating logic to figure out what it means. For step 6, you
must determine if the root problem is an input or an output. This is accomplished through the use of the
troubleshooting tools.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 76 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Searching or Using the Find Tool
In this exercise you will use the “Find” tool to locate specific components in a ControlLogix 5000 project. The
“Find” tool lets you search for Instruction Main Operand Comments, Instruction Operands, Instructions, Rung
Comments or Rung Types.

1. Open the project file TC010B1.acd.


2. From the Search menu, select Find.
3. Configure the Find window as follows:
 Find What: BK01
 Text Only
 Find Where: All Routines
 Wrap is checked on
 Match Whole Word is on
 Direction is Down
 Find Within: Ladder Diagrams
 Options: all boxes checked on.

4. Click the Find Next button until tag is found. Record Program name and routine.
_____________________________________________
5. Which rung does it go to?

6. What is the actual name of the tag? ____________________

7. Bookmark this rung.

8. Click the Find All button to show every instance of that


reference. How many occurrences were found in the results window? _______

9. Enter tag name “PM1” this time set the “Find Where” to “Current Routine” in program TC010T01 click
on the routine S070_CloseClamps.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 77
10. Click on “Find All”. Scroll up the results window until you find the OTE reference for the tag
“PM1.O.V1S14”.

11. Double-click on that OTE to have the logic take you to the appropriate rung.

12. Close the Find dialog box.

13. Bookmark this rung.

14. Right-click on the XIC “ClampsClose.Out” tag (NOT THE INSTRUCTION!) and select “Go to Cross-
Reference for “ClampsClose.Out”

15. On the Cross-Reference window, how many references were found? __________________________

16. Double-Click the OTE on the Cross Reference list.


The logic will take you to the rung that contains that OTE.

17. Click on that rung and bookmark it.

18. Looking at the XIC’s listed on that rung, let’s assume “ClampsClose.Out” is not high and that the XIC
“ClampsClose.Cmd” is the reason.

19. Right Click on the “ClampsClose.Cmd” tag and Cross-Reference it.

20. double click on the OTE .

21. Bookmark this rung.

22. Using the previous or next flag tool move to the flag rungs.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 78 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
23. Click on the previous bookmark tool. Where did it take you? __________________________________

24. Click on the previous bookmark tool again. Where did it take you? _____________________________

25. Was it in reverse sequence? __________________________________________________________


26. Click on the View All Bookmarks tool.
27. Select the one choice labeled program TC010T01 routine S070_CloseClamps rung 10.
28. Where did it take you? _______________________________________________________________
29. Close the project.
30. Re-open the project
31. Are there any existing bookmarks on the project?

32. Close the project.

Open the project Tracenew.acd and follow the instructor’s directions.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 79
©2012 LEONI Engineering Products & Services, Inc. r. 2.02
Page 80 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Lab 16 – Creating a Trend

Description:

This lab provides practice to develop skills using the tools available for troubleshooting an RSLogix 5000 project.

Corresponding Objectives:

 Demonstrate the ability to create a Trend..

Equipment Required:

 Industrial terminal or computer with RSLogix 5000 software loaded


 GuardLogix Trainer
 Project T_Lab16

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 81
Create a Trend

1. Open project T_Lab16 and download project and go online.


2. Go to program MainProgram routine Trend
3. Find logic below.

4. Place the controller in the Run mode.

5. Create a Trend for PB1 and timer[1] .dn. Adjust the Y axis so that it will be easy to read the values being
displayed.
6. Set the Y axis to display on a single graph and then change to isolated graphing so that the two values
will be on separate graphs.
7. Right click on LT1 and create a Trend for the output.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 82 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Lab 17 – File Level Instructions

Description:

This lab will familiarize the student with basic file instructions used by the Allen Bradley ControlLogix family.

Corresponding Objectives:

Demonstrate the use of the programming terminal with Allen Bradley RSLogix 5000 programming software to the
following tasks:
 Create and edit ladder logic using miscellaneous file instructions.
 Fill File FLL
 File Copy COP
 Analyze circuits using file instructions.

Equipment Required:

 Industrial terminal or computer with RSLogix 5000 software loaded


 ControlLogix Trainer
 Project: T_Lab17
 Trainer DeviceNet file must be loaded in DeviceNet Bridge.” Trainer_Net04.dnt”

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 83
Lab Picture Overview

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 84 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Copy (COP) and File Fill (FLL) Instructions
1. Open project T_Lab17 and download project and go online.
2. Go to program MCP routine B001_MapInputs
3. Find logic below.

4. What is the real world address of tag BK01? ________________________________

5. What slot is the DeviceNet module in the chassis? ___________________________

6. What is the node number of BK01? ____________________

7. What is the UDT assigned to BK01? ___________________

8. What happens when the DNET04_Node3_OK bit is toggled to enable the Fill instruction?

_________________________

9. Why is the Local:4:I.Data[6] tag at element [6]? _____________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 85
10. Go to program MCP routine S000_Sequence and find logic shown below.

11. Press PB_9 on trainer.


12. Find the LED on the block on back of trainer and record the bit number of the LED. _______
13. Record the node number of the Block. __________
14. Press PB_9 on the trainer, does the XIC BK01.I.D00 Highlight ladder window? _____________
15. If not go to program MCP routine B001_MapInputs.Right click on tag DNET04_Node3_OK and toggle the
bit to enable the Copy instruction for BK01 tag.
16. Press PB_9 on trainer does the OTE in logic tag name BK01.O.D00 highlight. _________
17. Press PB_9 on the trainer and record the bit number of the output LED on the block installed on the back
of trainer. _____________
18. Go to program MCP routine B002_MapOutputs as shown below.

19. What is the Copy instruction doing with the internal tag BK01.O? __________________________
20. Why is the Local:4:O.Data[6] tag at element [6]? _____________________________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 86 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Lab 18 – DeviceNet Hardware and Software

Description:

 Identifying and troubleshooting DeviceNet networks

Corresponding Objectives:

 Describe the architecture of the DeviceNet network


 Browse a DeviceNet network
 Replace modules / nodes on a DeviceNet network
 Upload and download configuration parameters

Equipment Required:

 GM ’08 Architecture GuardLogix Simulator


 RSLogix5000 Computer
 RSNetWorx for DeviceNet Software
 DeviceNet file Trainer_DNET04
 Digital multimeter

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No Part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 87
Exercise A – DeviceNet Cable Connections

1. What is the bare wire in the DeviceNet cable called?


A. Hot 24vdc
B. Neutral
C. Drain/Shield
D. Power 5vdc

2. How many conductors are in an auxiliary power cable?


A. 7
B. 3
C. 5
D. 4

3. How do you reset a faulted node on DeviceNet?


A. Cycle power on the DeviceNet node
B. Device clears itself when problem goes away.
C. Press reset button on DeviceNet Module
D. Replace node with new one.

4. Where should the DeviceNet network be grounded?


A. Anywhere is fine
B. One place for the whole network at the power supply V-
C. Every power supply has its own Ground.
D. It does not require a ground. It uses a floating ground.

5. Then using a refresh tap the V+ line between two power supplies is open.
A. True
B. False

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 88 All rights reserved. No Part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Exercise B – RSNetworx Software

1. What happens if two nodes on the same network have the same node number?
A. Both nodes will work
B. Both Fault
C. One get the node number the other Faults
D. All node on DeviceNet network fault.

2. Which software is used to configure the DeviceNet bridge’s memory mapping for devices on its network?
A. RSLogix 5000
B. RSNetworx for DeviceNet
C. RSLinx
D. RSNetworx for ControlNet

3. Before a DeviceNet bridge module can communicate to a device. The device must be ____________.
A. Connected to the network
B. In the bridge’s scanlist
C. Mapped in the bridges input and/or output memory
D. All of the above

4. All devices on a DeviceNet network must communicate at the same baud rate.
A. True
B. False

5. How many nodes does Rockwell allow on a DeviceNet network?


A. 64
B. 32
C. 20
D. 100

6. How many nodes does GM allow on a DeviceNet network?


A. 64
B. 32
C. 20
D. 100

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No Part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 89
Use RSNetworx for DeviceNet to Configure a Safety I/O Module and Monitor the Module

7. Open DeviceNet File: Trainer_DNET04.


8. Select Network from the pull-down menu and click on Online.

9. The Browse for Network window will open.


a. Click on the plus sign to the left of the desired driver.
b. Click on the plus sign to the left of the desired communication card.
c. Click on the plus sign to the left of the backplane.
d. Click on the plus sign to the left of the desired DeviceNet module.
e. Click on DeviceNet under the DeviceNet module.
f. Click on OK.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 90 All rights reserved. No Part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
10. Select OK on the Information screen.

11. A graphic similar to the one below should appear showing the nodes on the network.

12. Double-click on the FDNP-S0808G-TT Node 3 and module to bring up its properties.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No Part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 91
13. The General tab will have general information about the module. This will include the node number and
the module’s name. The name and description can be edited from this screen

14. Click on the Parameters tab and the following window should appear. When prompted, choose upload.
The following window should appear.

15. This will allow the viewing the inputs when the monitor is turned on.

16. In monitor mode press PB_9 and watch for a change form off to on.

17. Go to node 4 and repeat the above process using PB_15. Did PB_15 change state on the screen? ___
(If not ask instructor.)

18. Close the above box when done.

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Page 92 All rights reserved. No Part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
19. Double click on the 1756-DNB module Node 0 and module to bring up its properties. If prompted, choose
upload. The following window should appear.

20. How many nodes are in the scanlist? ____________

21. Unplug node 3 from the DeviceNet trunk. What message is on the front of the DeviceNet Module?

_________________________ Look up message in your reference book.

22. Plug node 3 back into the truck. What happened to the message? __________________

23. With a meter measure and record voltage the between the Red & Black wire on DeviceNet. _________

What is the Minimum voltage GM wants at any point on the network? _______________

24. Turn off power on trainer. With an ohmmeter measure the resistance between the Blue and White wire.
What is the resistance reading? __________________ohms

25. Is this the correct reading for a DeviceNet network? __________________

26. Remove one of the terminating resistors and record the ohms between the Blue & White wire. ________

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No Part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Page 93
©2012 LEONI Engineering Products & Services, Inc. r. 2.02
Page 94 All rights reserved. No Part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
GuardLogix Level 1 Labs
Pre-Test

1. What is the network a robot communicates back to the controller?

A. Ethernet
B. ControlNet
C. Ethernet & DeviceNet
D. DeviceNet.

2. What software can only show you the firmware revision of a module?

A. RSLogix5000
B. DeviceNet
C. RSLinx
D. ControlFlash

3. What is the instruction that moves the real world addresses in and out of the controller?

A. COP
B. MOV
C. JSR
D. LIM

4. Which options do tags have for scope?

A. Controller and Program


B. Main and Local
C. Controller and Local
D. Controller and Project

5. Which window shows the project structure in RSLogix 5000?

A. The DOG
B. The COW
C. The CAT
D. The Project tree

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Pre 1
6. What is the maximum number of standard nodes on a DeviceNet network for GM?

A. 20
B. 64
C. 63
D. None of these.

7. What is the Node number and baud rate for a DeviceNet module with a GuardLogix controller for GM?

A. 125kbps node # 1
B. 250kbps node # 1
C. 250kbps node # 0
D. 500kbps node # 0

8. If the Safety Task indicator on the Safety Partner is flashing green

A. The primary controller is faulted.


B. Safety I/O is forced.
C. The CST is not synchronized on the primary controller or the safety partner.
D. Primary controller is missing.

9. Safety I/O modules must communicate to the safety controller by what communication method(s)?

A. DeviceNet
B. EtherNet
C. Local I/O
D. A and B

10. What is the maximum number of safety nodes on a DeviceNet network for GM?
A. 5
B. 10
C. 15
D. 20

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Pre 2 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
11. The OK indicator on the controller is flashing red. What does it mean?

A. A power up sequence in progress


B. A recoverable minor fault
C. A recoverable major fault
D. A non-recoverable major fault

12. The I/O indicator the controller is flashing green. What does it mean?

A. The I/O is inhibited.


B. There is a flash update in progress
C. The controller is in program mode.
D. One or more devices in the I/O configuration are not responding.

13. What is the resistance of a DeviceNet network between the White and Blue wire?

A. 40.
B. 120.
C. 60.
D. None of these

14. When searching a controller-scoped tag that may not be in your current program folder you should select
which of the following “Find Where” options?

A. All project folders


B. All tags
C. All routines
D. All routines in the current folder

15. What do the lower case letters (e, i, r, and d) in the Edit Zone area to the left of the power rail indicate?

A. The programmers preference for lower case


B. Changes only exist in the computer
C. Lower case and upper case mean the same
D. Changes only exist in the controller

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
Pre 3
16. What does RPI stand for Ethernet/IP communications?

A. Real-time Program Interrupt


B. Remove Power before Insertion
C. Radicands Per Instruction
D. Requested Packet Interval

17. What is the tag name for a standard DeviceNet block?

A. BK01
B. PM01
C. SBK01
D. Block

18. What is an alias tag?

A. An exact copy of a tag in memory with its own value


B. A pointer to a base tag
C. A reference to a controller object class
D. A remote tag with a user-defined array

19. When are standard inputs scanned?

A. At the start of each task


B. At the start of each routine
C. Anytime (Asynchronously)
D. Before the program scan

20. What software is used to configure communications from a computer terminal to a controller?

A. RSLinx
B. RSNetWorx for ControlNet
C. RSNetWorx for DeviceNet
D. RSLogix 5000

©2012 LEONI Engineering Products & Services, Inc. r. 2.02


Pre 4 All rights reserved. No part of this work covered by the copyright hereon may be reproduced or used in any form or by any means—graphic,
electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems without express written
permission of LEONI Engineering Products & Services Inc.
LEONI Engineering 100 Kay Industrial Drive Phone: +1 (248) 484-5500
Products and Services, Inc. Lake Orion, MI 48359 Fax: +1 (248) 484-5501
U.S.A. www.leoni-industrial-solutions.com

You might also like