You are on page 1of 158

Table of Contents

Course Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0-1


Course Objectives Course Description . . . . . Who Should Attend Prerequisites . . . . . . . . . Outline Meeting Course Objectives Student Materials . . . . . . Application Overview 0-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..

0- t 0-2 0-2 0-2 0-2 0-3 0-3

Lessons
Identifying SLC 500
TM

System Components

1-1

What You Will Learn . . . . . . . . . . . . . . . . . SLC 500 System Overview Before You Begin . . . . . . . . . . . . . . . . . . . Fixed Hardware System Modular System . . . . . . . . . . . . . . . . . . Processors Chassis Power Supplies 1/0 Modules . . . . . . . . . . . . . . . . . . . Remote 1/0 Example Signal Flow Through the SLC 500 System
Exercise

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 ,' 1-2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2 1-2 1-2

1-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3 1-4 1-4


1-5

How Did You Do?

1-5

Getting Started with RSLogix 500 Software


What You Will Learn Key Terms Before You Begin . . . .. . RSLogix 500 Display Project Tree. . . .. . Program Files Project DocumentatiJn RSLogix 500 Help System Revision Notes Compressed Backup md Auto-Backup Files Here's How Exercise How Did You Do?

2-1
2-1 2-1 2-1 2-1 2-1

2-2 2-3 2-3


2-4 2-4

2-5 2-5
2-6

ii

Table of Contents

Downloading, Going Online, and Saving Using RSLogix 500 Software


What You Will Learn Key Terms Before You Begin Communication Options DH+ n.< Connections Example: DH+ Network DH-485 Network Connections Example: DH-485 Network RS-232 (Serial) Connection Example: RS-232 Connection EEPROM Memory Module Memory Module Autoload Here's How Exercise How Did You Do?

31
3-1 3-1 3-1 3-2 3-2 3-2 3-3 3-3 3-3 3-4 3-4 3-4 3-5 3-5 3-6

Monitoring and Entering Data Using RSLogix 500 Software. . . . . . . . . . . . . . . . .. 41


What You Will Learn 4-1 Key Terms 4-1 Before You Begin 4-1 Data File Types 4-2 Address Format 4-2 Address Examples 4-3. Symbols 4-3 Example: Symbols 4-3 Address Formats in RSLogix 500 Software 4-4 I/O Configuration . 4-5 Data Files 4-6 Here's How . 4-6 Determining and Monitoring Discrete Input and Output Addresses 4- 7 Determining and Monitoring Analog Input and Output Addresses 4-8 Monitoring and Entering Integer and Status Data 4-9 Creating and Using a Custom Data Monitor 4-9 Exercise A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10 How Did You Do? 4-15 Exercise B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-16 I/O Configuration 4-16 How Did You Do? 4-19 Exercise A 4-20 Answers 4-20 Exercise B 4-20

Interpreting Bit Instructions Using RSLogix 500 Software .. . .. . . . . . . . . . . . . ..


What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . . Processor Operating Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Before You Begin Logical Continuity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

5.1
5-1 5-1 5-1 5-1

Table of Contents

iii

Conditional Instructions Output Instructions Processor Modes Here's How XIC, XIO, and OTE Instructions in Series and Branched Start/Stop (Seal-In) Circuit XIC, XIO, and OTE Instructions Using Binary, Timer, and Counter Bits OTL, OTU, and OSR Instructions Exercise How Did You Do? Exercise Answers

5-2 5-2 5-2

5-3 5-3 5-3 5-4 5-4 5-4


5-6 5- 7 5-7

Interpreting Timer and Counter Instructions Using RSLogix 500 Software. . . . . .. 61


What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1 Key Terms 6-1 Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1 Timer and Counter Instructions 6-1 Maximum Preset and Accumulated Values 6-2 Here's How Example: Timer On-Delay (TON) Example: Timer Off-Delay (TOF) Example: Retentive Timer (RTO) and Reset(RES) Example: Count Up (CTU) Example: Count Down (CTD) Exercise How Did You Do? Exercise Answers

6-3 6-3 6-3


6-4 6-4 6-5 6-5 6-7 6-8 6-8

Documenting an RSLogix 500 Project

71

What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7-1 Documentation Options 7-1 Before You Begin 7-1 Here's How 7-1 Exercise 7-2 How Did You Do? 7-3 Exercise 7-4 Answers 7-4

Interpreting Comparison Instructions Using RSLogix 500 Software. . . . . . . . . . ..

81

What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8-1 Comparison Instructions 8-1 Before You Begin 8-1 Limit Test (UM) Instruction 8-1 Here's How Example: EQU and NEQ Instructions 8-2 Example: LES and LEQ Instructions 8-2

8-2

iv

Table of Contents

Example: GEQ and GRT Instructions Example: LlM Instruction Exercise How Did You Do? Answers

8-3 8-3 8-3 8-5 8-6

Interpreting Data Handling Instructions Using RSLogix 500 Software

9-1

What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1 Data Handling Instructions 9-1 Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9-1 Key Terms 9-1 Instruction Operation 9-2 Here's How 9-2 Example: FRO and TOO Instructions 9-2 Example: MOV and MVM Instructions 9-3 Example: COP and FLL Instructions 9-3 Exercise 9-4 How Did You Do? 9-5 Exercise 9-6 Answers 9-6

Interpreting Program Control Instructions Using RSLogix 500 Software


What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Processor Operating Cycle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Key Terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Program Control Instructions Subroutines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. MCR Zones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Here's How ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. Example: Interpreting Subroutines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example: Interpreting JMP and LBL Instructions Example: Interpreting MCR Instructions Example: Interpreting TNO Instruction Example: Interpreting SUS Instruction Exercise

10-1
10-1 10-1 10-1 10-1 10-2 10-3 10-3 10-4 10-4 10-5 10-5 10-5 10-6 10-6

How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 10-8 Exercise 10-10 Answers 10-10

Searching Ladder Logic Using RSLogix 500 Software . . . . . . . . . . . . . . . . . . . ..


What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. Search Options Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. Here's How

11-1
11-1 11-1 11-1 11-1

Table of Contents

Exercise How Did You Do? Exercise Answers

11- 2 11-3 11-4 11-4

Forcing Inputs and Outputs Using RSLogix 500 Software


What You Will Learn . . . . . . When to use Forcing Before You Begin . . . . . . . . Factors to Consider Before Safety Precaution Rules for Forcing Here's How Exercise How Did You Do? . . . . . . . . Exercise Answers

121

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-1 12-1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12-1 Using Forcing 12-1 12-1 12-2 12-2 12-3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 12-3 12-4 12-4

Editing Ladder Logic Using RSLogix 500 Software

131

What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13-1 Offline vs. On line Editing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 13-1 Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 13-1 Edit Zone Markers 13-2 Safety Precaution 13-2 Here's How 13-2 Exercise 13-3 How Did You Do? Exercise Answers 13-5 13-6 13-6

Printing Using RSLogix 500 Software

14.1

What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 14-1 Print Options 14-1 Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 14-1 Here's How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 14-1 Exercise 14-1 How Did You Do? 14-2

Troubleshooting NoiseRelated Problems Using RSLogix 500 Software


What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 1747 SLC 500 Programmable Controllers Troubleshooting Guide Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . InitialT roubles hooting Actions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. Noise Diagnosis Correcting Noise-Related Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. Grounding " Wiring and Grounding Guidelines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. Incoming Power ~ . . . . . . . . . . . . . . . . . . . . . . . . . . . ..

15.1
15-1 15-1 15-1 15-1 15-2 15-3
15-3

15-4 15-4

vi

Table of Contents

Communication DH-485 Cable Connections

15- 5 15-5

DH+ Cable Connections 15-5 Inputs and Outputs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-6 Heat 15-6 Here's How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-6 Example One . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-6 Example Two 15-6 Exercise 15- 7 How Did You Do 15-7 Exercise 15-8 Answers 15-8 For Further Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15-8

Troubleshooting Processor and Power Supply Problems Using RSLogix 500 Software
What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1747 SLC 500 Programmable Controllers Troubleshooting Guide Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Initial Troubleshooting Actions Processor and Power Supply Diagnosis and Correction Modular Processor Front Panel Processor Battery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Power Supply Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Here's How Exercise How Did You Do? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise Answers

161
16-1 16-1 16-1 16-1 16-2 16-2 16-3 16-3 16-4 16-4 16-4 16-6 16-8 16-8

Troubleshooting Discrete 1/0 Problems Using RSLogix 500 Software


What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1747 SLC 500 Programmable Controllers Troubleshooting Guide . . Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Initial Troubleshooting Actions . . . . . . . . . . . . . . . . . . . . . . . Discrete 1/0 Diagnosis and Correction Status and Fuse Indicators Here's How . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Exercise How Did You Do? Exercise Answers . . . . . . . . . . . . .. .. .. .. . . . . .. .. .. .. . . . . . . . . . . . . . . . . . . . . . . . . ... ... ... ... . . . . . . . . . . . . .. .. .. .. . . . . .. .. .. ..

171

17-1 17-1 17-1 17-1 17-2 17-2 . . . . . . . . . . . . . . . . . . . . . . . . . 17-3 17-3 17-10 17-12 17-12

Troubleshooting Analog 1/0 Problems Using RSLogix 500 Software

181

What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-1 1747 SLC 500 Programmable Controllers Troubleshooting Guide 18-1 Before You Begin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-1

Table of Contents

vii

Initial Troubleshooting Actions

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-1

Analog 110 Diagnosis and Correction 18-2 Diagnostic Tests 18-2 Here's How .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 18-4 Exercise 18-4 How Did You Do? 18-7 Exercise 18-8 Answers 18-8

Troubleshooting and Maintaining Integrated Practice Using RSLogix 500 Software .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..

191

What You Will Learn . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 19-1 Exercise 19-1 How Did You Do? 19-4 Exercise 19-6 Answers 19-6

viii

Table of Contents

--.

Course Overview
Course Objectives
Upon completion of this course, you will be able to produce a SLC 500 system that is operational after a failure or malfunction by performing these tasks: Troubleshoot noise, 110, and processor problems Interpret ladder logic Edit and document ladder logic projects

Course Description

This course provides you with the necessary resources and hands-on practice to efficiently troubleshoot and maintain existing SLC 500 systems. You are presented with a systematic strategy, contained in an easy-to-follow job aid, in which you diagnose a variety of common system problems. Throughout the course, you gain experience in using RSLogix 500 software to perform tasks such as monitoring projects online, editing and documenting ladder logic, and down loading and backing up projects.
TM

To assist in effective troubleshooting, you willleam to interpret bit, timer, counter, comparison, data handling, and control instructions. Tasks and procedures are demonstrated by the instructor and hands-on practice is provided using a real-world application. The course culminates in a final exercise that integrates and reinforces the range of tasks covered during the course.

Rev. October 1999

1999 Allen-Bradley Company, Inc. r47itro

-2

Course Overview

Who Should Attend

Individuals who are responsible for troubleshooting and maintaining SLC 500 systems using RSLogix 500 software should attend this course.

Prerequisites

The following prerequisites are required: Experience maintaining electrically controlled systems Working knowledge of programmable controllers or completion of the Fundamentals of Programmable Controllers course Experience operating a personal computer within a Microsoft Windows 95 or Windows NT environment

Outline

This course consists of the following lessons: Identifying SLC 500 System Components Getting Started with RSLogix 500 Software Downloading, Going Online, and Saving Monitoring and Entering Data Interpreting Bit Instructions Interpreting Timer and Counter Instructions Documenting a Project Interpreting Comparison Instructions Interpreting Data Handling Instructions Interpreting Program Control Instructions Searching Ladder Logic Forcing Inputs and Outputs Editing Ladder Logic Printing Troubleshooting Noise-Related Problems Troubleshooting Processor and Power Supply Problems Troubleshooting Discrete 110 Problems Troubleshooting Analog I/O Problems Troubleshooting and Maintaining Integrated Practice

Meeting Course Objectives

The following lesson structure is generally used to facilitate your ability to meet the course objectives: One lesson is devoted to each task. Lessons follow a standard format: "What You Will Learn"-Iesson objectives "Before You Begin"--preparatory material "Here's How"--demonstration of procedure(s) "Exercise"--opportunity to perform new skills "How Did You Do?"--feedback on performance

;: 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47itro

Course Overview

-3

Integrated practice provides an opportunity to perform tasks using the skills obtained during the training.

Student Materials

Your primary document is this student manual, which contains the topic outlines and exercises. Use this manual to follow presentations, jot notes, and complete your exercises. The student package for this course also contains the materials listed on the cover sheet of the student manual.

Application Overview

During the course, hands-on practice is provided using a real world spot cooling application. The project controls a two-compressor cooling unit that cools a large work area. Outside air is pulled in through an outside air damper, cooled, and directed through zone dampers:

Compressors

<;=J
I Temperature
Sensor

o ut side Air
Dam per

D
I
Zone 1

Zone Dampers

I(l
Zone 2 Zone 3 Zone 4

The system operates as follows: Push buttons start and stop the cooling unit. When the unit starts, the outside air damper opens (turns on), a thermostat controls the compressors, and an adjustable timer starts timing: The timer limits the length of time that the system can run. The timer is simulated through ladder logic and a thumbwheel and LED on the workstation.

Rev. October 1999

'9 1999 Allen-Bradley Company, Inc. r47itro

-4

Course Overview

The area cooled by the unit is divided into four cooling zones, each with its own air damper: A push button in each zone opens (turns on) the damper of that zone. The timer resets each time a new zone damper opens. Due to system limitations, only two dampers can be open at a time.

As you progress through the course, you will use three different versions of the project: cool_I, cool_2, and cool_3: In the cool_l project, the damper for zone 1 automatically opens when the system turns on. In the cool_2 and cool_3 projects: The dampers for zones 1 and 2 automatically open when the unit turns on. A call for cooling in a third zone automatically closes the zone that was open the longest.

;-. 1999 Allen-Bradley Company, Inc.

Rev. October 1999

r47itro

Lesson Identifying SLC 500 System Components


What You Will Learn
Given a SLC 500 workstation, you will be able to identify the components of a modular SLC 500 system

Before You Begin

SLC 500 System Overview


The SLC 500 system includes a variety of processor and network options:

Workstation

o
PanelView Terminal

PLC-5 Processor

SLC 5/04 Processor

SLC 5/04 Processor

1746 Remote 1/0

SLC 5/03 Processor

SLC 5/02 Processor

Rev. October 1999

( 1999 Allen-Bradley Company, Inc. r47SSys

1-2

Identifying SLC 500

rn

System Components

Fixed Hardware System


SLC 500 fixed processors combine the power supply, processor, and I/O into one unit and are available with the following options: 20, 30, or 40 digital I/O points Two-slot expansion chassis

Modular System
The modular system includes the following components: Power Supply Processor
1/0 Modules

~\
@"""-"""'"

....
1:1 __ t-

fC\ ~ - ... - III


~

rr

__

1:1

m
_1:1 ~C
<X>OOOOCI

I-

-ld
Chassis

ld

Processors
Modular processors include the following: SLC 5/01 SLC 5/02 SLC 5/03 SLC 5/04 SLC 5/05
Th4

processor processor processor processor processor

Th4

Th4

Th4

Chassis
Chassis, which house the processor and I/O modules, are available in four sizes: 4-Slot 7-Slot 10-Slot 13-Slot

~' 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47ssys

Identifying SLC 500'" System Components

1-3

Additionally, chassis can be connected together to increase the I/O available to a processor:

fO\
a

t;;Il~"-~

~ ~

fII fII

rr

-a

-a

m .-...
-c

1746-C7 or -C9

Chassis

Interconnect Cable

-.
a~AU.lN-1IRAI:UY

Id fO\

Id

lii III rr

rs:
-a -a -a

-...
-c

Id
Power Supplies Three AC and one DC power supplies are available: AC: 2A at SVDC SA at SVDC lOA at SVDC

IQ!

DC 3.6A at SVDC I/O Modules The I/O modules used by a system will vary depending on the application, including: Discrete Analog High-Speed Counter Stepper Controller Servo Positioning Communication Remote I/O

Rev. October 1999

e 1999 Allen-Bradley Oompany. lnc.


r47SSys

1-4

Identifying

SLC 500"" System Components

Remote

r/(l

~xampl"

RI-G gOO PrgO"lgr

1747-SN

0 __

1771- Remote 1/0 Network

Signal Flow Through the SLC 500 System


The following diagram outlines the sequence of events from the activation of machine or process inputs to the energizing of machine or process output devices:
Input Devices Input Modules Processor Memory Output Modules Output Devices

0:4/0 1:3/0

~3ro
~

Program Files

1:3{7

:3{7

~48
0:4/1 (

Com~uter

'2 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47ssys

Identifying SLC 500'"

System Components

1-5

Exercise

In this exercise, you will identify the components of your SLC 500 workstation. Directions: Identify and check off the components that comprise your SLC 500 workstation: 1. Chassis:

o 4-slot

o 7-slot

o 10-slot o 13-slot o Interconnect


2. Power supply:

cable

o 1746-P1 o 1746-P2 o 1746-P3

o 1746-P4
05/01 05/02

3. Processor:

05/03 05/04 05/05 4. I/O modules:

o Discrete input modules o Discrete output modules o o Removable terminal blocks or wiring arms
Analog modules

How Did You Do?

If you have any questions, ask your instructor for assistance.

Rev. October 1999

1999 Allen-Bradley Company, Inc. r47ssys

1-6

Identifying SLC 500 ,. System Components

;; 1999 Allen-Bradley Company. Inc.

Rev. October 1999 r47ssys

Lesson Getting Started with RSLogix 500 Software


What You Will Learn
Given an RSLogix 500 project on disk, you will be able to perform these actions: Open a project Navigate through a project Configure the display Use the help system Save a project, including entering a revision note View a project revision history Create and restore auto and compressed backup files

Before You Begin

Key Terms
Save: Write a copy of a project to the non-volatile memory of a computer. Non-volatile memory retains projects when power is removed from the computer.

Important:

If the project already exists on the computer, saving will overwrite it.

Backup File: The ladder logic and database files for the project compressed into a single file with an .RSl extension. Restore: Decompress (open) a backup file. Auto-Backup File: Ladder logic file automatically created by
the RSLogix 500 software at regular intervals and each time a

project is saved.

RSLogix 500 Display


The RSLogix 500 display includes the following elements: Windows Toolbar Program/Processor Instruction Toolbar Project Window Ladder Window Results Window Project Tree The RSLogix 500 project tree contains the following folders: Status Toolbar

Rev. October 1999

;.Q'

1999 AllenBradley Company, Inc.


r47star

2-2

Getting Started with RSLogix 500 ,. Software

Program Files Program files contain the ladder logic that controls inputs and outputs:

Forcd~B~s

dJ"d .tustciM"l5ata
r!rJ:::J
~!!Iba$e

Morlitors

':Ji~~ii~:;w';::?

'; 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47star

Getting Started with RSLogix 500

ThO

Software

2-3

Project Documentation Projects can include the following documentation, which can be turned on or off:
.,-

it LAD 2 - MAIN eNTRl


Page Title Rung Comment

.---_ ...,,~,.=. """

~.~ ,.,<H-~-hWW

"

""

""",","

~...

RIiI Et

When the power

cycles or the mode changes from Program to Run, reseisall discrete outputs
FI ags fi rst se an of

proje~t after Symbol


power-up in RUN mode or entry into REM Oisere1e output reset for next demon strati on

Clear

Des1

0:4.0
0<

,. .\M~~!!_~~!!~
..
",."',,.,

....

RSLogix 500 Help System


The RSLogix 500 software provides the following help features: For menu selections, Status bar messages For button selection, tool tips Help library Instruction set reference To quickly access help about a specific instruction, select the instruction and press Fl.

Rev. October 1999

1999 Allen-Bradley Company, Inc.


r47star

2-4

Getting Started with RSLogix 500

Software

Revision Notes
Revision notes outline the changes made to a project:

Compressed Backup and Auto-Backup Files


The Open dialog box also displays compressed and auto-backup files: Auto-Backup Files Compressed Backup File

~ 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47star

Getting Started with RSLogix 500

Software

2-5

Here's How

To perform the following actions: Maximize, restore, and size windows Return windows to the default size and orientation Open multiple program files In the same ladder window In separate ladder windows

Split the Ladder window using the split bar Go to a specific rung using ~earch--+ Goto ... Configure the display: Address format Documentation Colors and fonts

Save a project, including entering a revision note View a project revision history Select the auto-backup option and restore an auto backup file Backup (compress) a project Restore a compressed backup file As your instructor demonstrates these procedures, follow along in the RSLogix 500 Procedures Guide.

Exercise

In this exercise, you familiarize yourself with the layout of the RSLogix 500 software, navigate through a project, and configure the display: 1. Start the RSLogix 500 software 2. Restore the projects specified by your instructor from the exercise disk to a folder designated by your instructor (e.g., cool projects, wash projects). 3. Open one of the projects that you restored in Step 2. (e.g., cool_1, wash_1). 4. Locate the elements of the RSLogix 500 main window called out in the appendix of the RSLogix 500 Procedures Guide 5. Maximize and restore the Project window and Ladder window. 6. Increase the size of the Ladder window so that it partially covers the Project window, and then return the windows to the default setting. 7. Open additional program files in the existing Ladder window. 8. Split the Ladder window into two panes. 9. Display several tool tips (e.g., Zoom In). 10. Select an instruction and display the help regarding that instruction. Repeat this step for a different instruction.

Rev. October 1999

1999 Allen-Bradley

Company, Inc. r47star

2-6

Getting Started with RSLogix 500 ~ Software

11. Display the View Properties dialog box and set the following options:

OK

kH:~!~::.

Help

12. Change the text and background colors for several ladder logic elements and then return the display to the default colors. 13. Using Search- Goto ... , go to different rungs in the project, including rungs from different program files (e.g., 3:1). 14. Verify that the auto-backup and prompt for revision note options are selected. 15. Save the project and enter a revision note. 16. View the project revision history. 17. Restore the most recent auto backup file of the project. 18. Backup (compress) the project and store it in the folder designated in Step 2. 19. Close the project.

How Did You Do?

If you have any questions, ask your instructor for assistance.

~.. 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47star

Lesson
Saving Using RSLogix 500 Software
What You Will Learn

Downloading, Going Online, and

Given a computer and RSLogix 500 projects on a network, you will be able to perform these actions: Select and connect cables Configure communication drivers Assign a project node address Download a project Go online to the intended project Save an online project

Before You Begin

Key Terms
Offline: Regarding RSLogix 500 projects, viewing a project residing on the hard disk of a computer. Online: Regarding RSLogix 500 projects, viewing a project residing in a SLC 500 processor.
Th4

Driver: A software subroutine that enables a software application to communicate with a hardware device.

Example: Driver
RSLogix 500 software requires a driver to communicate with the communications port of a computer.

Node: Address of a device, such as a processor or computer, on a network. Each device must have a unique node address. Baud: The speed at which data is transferred across a communication link, such as between a processor and computer. Download: Transfer a copy of a project from a computer to a processor.

Important:

Downloading overwrites the current project in the processor.

Save: Write a copy of a project to the non-volatile memory of a computer. Non-volatile memory retains projects when power is removed from the computer.

Important:

If the project already exists in the computer, saving will overwrite it.
~ 1999 Allen-Bradley Company, Inc. r475900

Rev. October 1999

3-2

Downloading,

Going On line, and Saving Using RSLogix 500'"

Software

Upload: Write a copy of a project to the volatile memory of computer. When power is removed from a computer, projects in volatile memory are erased EEPROM (Memory Module): A module that can be inserted into a SLC 500 processor to maintain a copy of the project in case the processor experiences either of these situations: Memory corruption Extended power loss

Communication Options
Depending on the processor, you can go online using several options:
Communication Option
Ethemet DH+'" DH-485 RS-232(Serial)

5/01

5/02

5/03

5/04

5/05

v v v v v v v

DH+ Connections DH+ connections enable you to go online to any processor on a DH+ network from one connection point: Uses channel 1 of an appropriate processor Requires 1784-PCMK, -KT, -KTX, or -KTXD communication card Uses bauds up to 230.4K bits/second Allows a maximum of 64 (0- 77 octal) nodes Example: DH+ Network
IBMCompatible with 1784KTX Address 77 Computer IBMCompatlble Computer with 1784-KTXD Address 76

Address 5

Address 23 Address 13
~. 1999 Allen-Bradley Company, Inc.

Address 15
Rev. October 1999 r475900

Downloading,

Going Online, and Saving Using RSLogix 500'"

Software

3-3

DH-485 Network Connections DH-485 connections enable you to go online to any processor on a DH-485 network from one connection point: Uses channel 1 of an appropriate processor Requires 1747-PIC module or 1784-PCMK, -KTX, or -KTXD communication card Uses bauds up to 19,200 bits/second Allows a maximum of 32 (0-31 decimal) nodes Example: DH-485 Network IBM-Compatible Computer IBM-Compatible ComputE with 1784-KTXD

Address 15

Address 16

1747-AICs

Address 2 RS-232 (Serial) Connection

Address 3

Address 4

The RS-232 port allows you to go online to a specific processor using the communications port of your computer: Uses channel 0 of a processor Uses bauds up to 19,200 bits/second Requires physical connection to the processor to which you want to go on line (cannot "see" other processors on the network)

Rev. October 1999

1999 Allen-Bradley Company, Inc. r47s900

3-4

Downloading, Going Online, and Saving Using RSLogix 500'" Software

Example: RS-232 Connection

Corn Port

/
11111111 11111111

RS-232 Serial Port

ID
i i i I rH) ~

en]]])

\a
\

f6\
11
~

fO\
a a

.:
1747-CP3 Cable

III 11 rr

a a

QP~--..

1\
.....

B
IoJ IoJ

EEPROM Memory Module


A memory module is inserted into a processor:
SLC 5/01 and SLC 5/02 Processors SLC 5/03 and SLC 5/04 Processors EEPROM Memory Module

.--

~r-I------,

D
o

DDD DDD
D

D D

D
Memory Module Autoload

go

A project can be configured to automatically load a file stored in a memory module:

~. 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r475900

Downloading, Going Online, and Saving Using RSLogix 500'" Software

3-5

Here's How

To establish a communication link with a specified processor by performing these actions: Select and connect cables (See "Going Online to a SLC 500 Project" in the procedures guide.) Configure communication drivers Assign a project node address Download a project Go on line to the intended project Save an online project As your instructor demonstrates these procedures, follow along in the RSLogix 500 Procedures Guide.

Exercise

In this exercise, you will configure communication drivers, download, go online, and save a SLC 500 project using two communication options. 1. Connect the 1784 communication card of your computer to the SLC 500 processor of your workstation. 2. In the Linx software, configure the appropriate communication driver using the parameters specified by your instructor. 3. Open version one of the appropriate exercise project (e.g., cool_I, wash_I) and assign the node address specified by your instructor. (If you did not restore the project from the exercise disk, do so at this time.) 4. Download the project to the SLC 500 processor of your workstation and go online. 5. From the On line toolbar, verify processor node number. 6. Save the project and enter a revision note.

Rev. October 1999

1999 Allen-Bradley Company, Inc.

r47sgoo

3-6

Downloading, Going Online, and Saving Using RSLogix 500

Software

7. If your workstation is networked, go online to a different SLC 500 processor. 8. Go on line to the processor of your workstation using an RS-232 connection. 9. When you have verified that your computer is online, go offline.

How Did You Do?

If you have any questions, ask your instructor for assistance.

; 1999 Allen-Bradley

Company. Inc.

Rev. October 1999 r47s900

Lesson
Monitoring and Entering Data Using RSLogix 500 Software
What You Will Learn

Given a computer configured for communications and RSLogix 500 projects on a network, you will be able to monitor and enter data by performing these actions: Determine the address of an I/O point Monitor a data file Toggle a bit Enter new data Create a custom data monitor Enter new data using a custom data monitor

Before You Begin

Key Terms
Radix (Base): The quantity of characters available for each digit of a number in a numbering system. For example, in the decimal (base 10) system, 10 characters, 0 to 9, are available for each digit. The following table compares different radixes:
Radix
Binary Octal Decimal Hexadecimal ASCII

Available Characters

Example
000000111101 1735 989 300 \03\00 1101

o or 1
Oto 7 Oto 9 Oto F 256 character set

Bit: A digit in the binary radix (0 or 1). A bit may represent the state, on or off, of a discrete I/O device. Word: In the SLC 500 system, 16 bits in sequence. For example, the 16 bits representing the 16 points of an I/O module comprise one word. Element: A word or group of words that work together as a unit. For example, a 32-point I/O module uses two words of memory. Those words work together as one element. File: A group of related elements. For example, all the elements representing inputs comprise the input file.

Rev. October 1999

'f 1999 Allen-Bradley Company, Inc.


r47smon

4-2

Monitoring

and Entering

Data

Using

RSLogix

500

Software

Data File Types


File Type
Output Input Status Binary Timer Counter Control Integer Floating Point' ASCII' String' None Alphanumeric characters

File Number (Reserved)


0

Data Stored
State of output terminals State of input terminals Controller operation information Internal relay logic Timer accumulator, preset, and status values Counter accumulator, preset, and status values Length, position, and status of application specific instructions Positive or negative whole numbers Positive or negative numbers that include the decimal point

1 2
3 4 5 6 7

*SLC 5/03 OS301, OS302 and SLC 5/04 processors only

Except for the output, input, and status files, additional files can be created as needed, up to a total of 255 files.

Address Format
Use the following format to address individual elements, words, and bits:
File Type File Number Element Number Word Number

~ \ / //Numbe,
XF:E.W/B

Elemenl Di., \ \
Word Delimiter\ Bit Delimiter

For output, input, and status file addresses, the file number can be omitted. If an element contains one word, the word number can be omitted.

~ 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47smon

Monitoring

and Entering Data Using RSLogix 500 '" Software

4-3

Address Examples Discrete I/O device wired to terminal 6 of an input module in slot 3:

1:3.0/6
Bit 15 of element 1 in the status file:

S2:1/15
Element 10 of integer file 7:

N 7: 10
Symbols
A symbol is an alphanumeric name that is assigned to an address to identify the function of the address. A symbol must meet these conditions: Unique to an address Up to 20 characters in length Example: Symbols Address

I
~

s~mbol

SWITCH_O 1:3.0/0

COIL_O 0: 4. OlO
)--

----j

f--_ -----------(_

You can use a symbol in place of an address to perform these tasks: Entering or editing ladder logic Monitoring and entering data Searching for an instruction

Rev. October t 999

1999 Allen-Bradley Company, lnc.

r47smon

4-4

Monitoring and Entering Data Using RSLogix 500'"

Software

AITENTION: Entering data online can injure


personnel or damage equipment. Before proceeding, verify that you are online to the correct processor, notify personnel of the proposed changes, and take adequate safety precautions.

Address Formats in RSLogix 500 Software


In the RSLogix 500 software, the View Properties dialog box is used to configure how addresses are displayed on the screen:
View Properhes

i
. " Add!=
. ; ; .

,'tobt j F~' !ttaddi!1 qUckKiiyM~I,nF


, RUOj)

O!tday,
~Nl.Imben

~>.:
,

lr >T~ , "'W~ F--.__~~..


; IV
Shool

P'

s~ s~

'p s~ilot~,:ri
(; ShoWllo4h .

ir

s~ RU'19tOl1rnel1t.

(' F!et>l<tceAlld"...

olsP141'..;~foilti.J'ilCv.a.fJ1S~lhO

A~i\;

r PrriA<JoSize IV RmgW,~
eerier (' Riglt.!

''is.Add;,, Formal

l!t

~9;;;iwy;.~~ifij1;)~~~;iiIdi;;;odei; ==:f2;t
(' J9~

r.

(: lIiIt

('

~~~We;;I500!
}''::: .. ->-

tlOeao;;;';hi;;;

~ 1999 Allen-Bradley Company, Inc.

Rev. October 1999

r47smon

Monitoring and Entering Data Using RSLogix 500 ~ Software

4-5

1/0 Configuration
The project tree can be used to display the I/O configuration:

Rev. October 1999

1999 Allen-Bradley Company, Inc. r47smon

4-6

Monitoring and Entering Data Using RSLogix 500'"

Software

Data Files
Data files can be opened using the project tree:

Here's How

To monitor and enter data by performing these actions: Determine the address of an I/O point Monitor a data file Toggle a bit Enter new data Create a custom data monitor Enter new data using a custom data monitor As your instructor demonstrates these procedures using the following examples, follow along in Appendix C and D of the 1747 SLC 500 Programmable Controllers Troubleshooting Guide and in the RSLogix 500 Procedures Guide.

~. 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47smon

Monitoring and Entering Data Using RSLogix 500'"

Software

4-7

Determining and Monitoring Discrete Input and Output

Addresses

00

Rev. October 1999

1999 Allen-Bradley Company, Inc. r47smon

4-8

Monitoring and Entering Data Using RSLogix 500'" Software

Determining and Monitoring Analog Input and Output Addresses

;; 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47smon

Monitoring

and Entering Data Using RSLogix 500

Software

4-9

Monitoring and Entering Integer and Status Data

Creating and Using a Custom Data Monitor

L [:DM
1:3/9 T4:1/TT 0:4/9
17.0

- EXAMPLE
I)

Rl!1f.3
o o
15909 (d)

Addren ....

N70 ~.~ 7:1 07D 04/15

485
500
15925(dJ
I)

Rev. October 1999

1999 Allen-Bradley Company, Inc. r47smon

4-10

Monitoring and Entering Data Using RSLogix 500'" Software

Exercise A

In this exercise, you will determine I/O addresses. Directions: Determine the addresses for the following examples:

1. Address =

-------------------

CJ

CJ

1999AllenBradleyCompany,Inc.

Rev.October 1999 r47smon

Monitoring and Entering Data Using RSLogix 500'"

Software

4-11

2. Address =

---------------------

[]]m []]rn rn DJ m rn rn
DJ
[3] [3]

Rev. October 1999

.g 1999 Allen-Bradley Company, Inc.


r47smon

4-12

Monitoring and Entering Data Using RSLogix 500 ~ Software

3. Address =

-------------------

~ 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47smon

Monitoring and Entering Data Using RSLogix 500"" Software

4-13

4. Address = -------------------

Rev. October t 999

~ 1999 Allen-Bradley Company, Inc.


r47smon

4-14

Monitoring

and Entering Data Using RSLogix 500'"

Software

5. Address

= -----------------------

INPUT

POWER

o:::J

'"::...J
{CliNG.

ANALOG

[0]-0 -----Sensor
'------L--=-.J

! 0
--

(I!lNO-

121""4.COJd

r0i------

~ ~ e-~ ~ ~ ~ ~ (2)

(31tH ,.

1'1 IN l-

(51ANLCOM

!61IH2.

!nIN2-

(SI ANt

eDM

{91IH3.

0
'--

(10!IN3-

(1IIANlCOM

6'

;;. 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47smon

Monitoring and Entering Data Using RSLogix 500'" Software

4-15

6. Address =

OUTPUT

POWER

CD

ANALOG

L.

--'

(0I2'VOC

(1) DC COM

.-(010010

~ r~ rr-

P)ANlCOI.4

(21 OUT

(31 ANL COld

0 0

(')OUT

(5lANlCOM

---~
--~

}--

!6\OUT3

~
[:J"'"

[7) ANl CQLt

How Did You Do?

Turn to the end of the lesson for the answers. If you have any

questions, ask your instructor for assistance.

Rev. October 1999

1999 Allen-Bradley Company,lnc.


r47smon

4-16

Monitoring

and Entering Data Using RSLogix 500

no

Software

Exercise B

In this exercise, you will determine I/O addresses and monitor and enter data for the cool_l project. The following diagram and table identify the I/O layout of the workstation, which simulates the I/O devices used by the project (actual arrangement of I/O devices may vary slightly):
.....

BCD Input 1

<,
R~'
Automabon

/
/
AlhJq,,-Bradley /

Analog Output

/
@~
0-10 VDC 0-10 VDC 0-10 VDC

181818181 181818181 ~
1 1
0-10 VDC

0~@
2
0-10 VDC 0-10 VDC

BCD Output 1

-, /
Analog Input
0 2 1

Discrete Output

<,
101010101010101010101010101010101 2 1
15 14 13 12 11 10

Discrete Input

101010101010101010101010101010101
15 14 13 12 11 10

-,

9 8

9 8

I/O Configuration
Data Type Input Intput Output Output Slot Number 1.0 1.1 2.0 2.1 Alternate Slot Number Bit Numbers 0-15 0-15 0-15 0-15 Description BCD Input 1 Discrete Inputs BCD Output 1 Discrete Outputs

Input/Output Input/Output

Analog Input 1 Analog Output 1

Directions: 1. Determine the addresses for the I/O used by the cool 1 project and record the addresses in the table on the next page.
Workstation BCD Input 1 Discrete Input 6 Discrete Input 7 Device Project Symbol SET_COOL _TIME START STOP Address

~ 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47smon

Monitoring and Entering Data Using RSLogix 500'" Software

4-17

Workstatlon Discrete Input 8 Discrete Input 9

Device

Prolect Symbol OFF _PS_ZONE_1 ON PS ZONE 1


-

Address

Discrete Input 10 Discrete Input 11 Discrete Input 12 Discrete Input 13 Discrete Input 14 Discrete Input 15 Analog Input 1 SCD Output 1 Discrete Output 0 Discrete Output 2 Discrete Output 3 Discrete Output 4 Discrete Output 5 Discrete Output 6 Discrete Output 9 Discrete Output 11 Discrete Output 13 Discrete Output 15 Analog Output 1

OFF_PS _ZONE _ 2 ON PS ZONE 2


-

OFF PS ZONE 3
-

ON PS ZONE 3

- -

OFF PS ZONE 4

- -

ON PS ZONE 4
-

SUP AIR THERMSTAT TIMER DISPLAY OUT DAMPER START COOL TIME COOL TIME DN COOL TIME RESET STAGE 1 COMP
-

STAGE 2 COMP
-

DAMPER ZONE 1 DAMPER ZONE 2 DAMPER ZONE 3 DAMPER ZONE 4 AIR TEMP GAGE

2. Go online to the cool_l project of your workstation. (If you did not restore and download the project from the exercise disk, do so at this time.) 3. Select the Remote Run mode 4. In the SET_COOL _TIME thumbwheel, enter 30 (minutes). 5. Monitor the input data file.

Rev. October 1999

~ 1999 Allen-Bradley Company, Inc.


r47smon

4-18

Monitoring and Entering Data Using RSLogix 500 ~ Software

6. In the table below, record the value of SET_COOL _TIME in each of the following radixes:
Radix Binary Octal Decimal HeX/BCD Value

7. Press START to turn the cooling system on. 8. What is the minimum and maximum decimal value of SUP _AIR_THERMSTAT (the value when its corresponding knob is turned all the way to the left and right, respectively)?
Minimum decimal value Maximum decimal value

9. Monitor data file N7. 10. The ladder logic converts SUP _AIR_THERMSTAT stores it in N7:21. Adjust determine the temperature
Minimum temperature (C) Maximum temperature (C)

the value from into a Celsius temperature and SUP _AIR _THERMS TAT and range.

11. Verify the following on your workstation: A. STAGE_I_COMP turns on when the temperature (N7:2I) equals the value in N7:8. B. STAGE_I_COMP turns off when the temperature equals the value in N7:9. C. STAGE_2_COMP turns on when the temperature (N7:2I) equals the value in N7:.10. D. STAGE _2_ COMP turns off when the temperature equals the value in N7:11. 12. Perform the following adjustments to the system: A. Change the temperature at which STAGE_I_COMP on to 30 C. B. Change the temperature at which STAGE_I_COMP off to 25 C. C. Test your changes. turns

turns

;. 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47smon

Monitoring and Entering Data Using RSLogix 500'" Software

4-19

13. Create a custom data monitor containing the following addresses: SUP AIR THERMSTAT N7:21 N7:8 N7:9 N7:1O N7:11 STAGE 1 COMP STAGE 2 COMP 14. Using the custom data monitor created in Step 13., complete the following: A. Set STAGE 1 COMP to turn on at 35 C. B. Set STAGE 1 COMP to turn off at 30 C. C. Set STAGE 2 COMP to turn on at 45 C. D. Set STAGE 2 COMP to turn off at 40 C. E. Verify that the compressors turn on and off at the correct temperatures.

How Did You Do?

Turn to the end of the lesson for the answers. If you have any questions, ask your instructor for assistance.

Rev. October 1999

1999 Allen-Bradley Company, Inc. r47smon

4-20

Monitoring and Entering Data Using RSLogix 500'" Software

Answers

Exercise A
1. 1:113 (or 1:1.0/3). The input is wired to terminal 3 of an input module in slot 1. (The SLC 500 processor is in slot 0.) 2. 0:3/5 (or 0:3.0/5).The output is wired to output terminal 5 of a combination input/output module in slot 3. 3. 1:3/0 (or 1:3.0/0). See Answer 2. 4. 0:8/12 (or 0:8.0/12). Because an interconnect cable connects the two chassis, the slot numbering sequence continues into the inter-connected chassis. 5. 1:10.1. Analog inputs and outputs send data via channels and each channel uses one word of memory. The sensor is wired to channel 1 of an input module in slot 10. 6. 0:6.3

Exercise B 1.
Workstation Device BCD Input 1 Discrete Input 6 Discrete Input 7 Discrete Input 8 Discrete Input 9 Discrete Input 10 Discrete Input 11 Discrete Input 12 Discrete Input 13 Discrete Input 14 Discrete Input 15 Analog Input 1 BCD Output 1 Discrete Output 0 Discrete Output 2 Discrete Output 3 Discrete Output 4 Discrete Output 5 Discrete Output 6 Discrete Output 9 Discrete Output 11 Discrete Output 13 Discrete Output 15 Analog Output 1 Project Symbol SET COOL TIME START STOP OFF PB ZONE 1 ON PB ZONE 1 OFF PB ZONE 2 ON PB ZONE 2 OFF PB ZONE 3 ON PB ZONE 3 OFF PB ZONE 4 ON PB ZONE 4 SUP AIR THERMSTAT TIMER DISPLAY OUT DAMPER START COOL TIME COOL TIME DN COOL TIME RESET STAGE 1 COMP STAGE 2 COMP DAMPER ZONE 1 DAMPER ZONE 2 DAMPER ZONE 3 DAMPER ZONE 4 AIR TEMP GAGE Address 1:1.0 1:1.1/6 1:1.1/7 1:1.1/8 1:1.1/9 1:1.1/10 1:1.1/11 1:1.1/12 1:1.1/13 1:1.1/14 1:1.1/15 1:5.0 0:2.0 0:2.1/0 0:2.1/2 0:2.1/3 0:2.1/4 0:2.1/5 0:2.1/6 0:2.1/9 0:2.1/11 0:2.1/13 0:2.1/15 0:6.0 Alternate Address

; 1999 Allen-Bradlsy

Company, Inc.

Rev. October 1999 r47smon

Monitoring

and Entering Data Using RSLogix 500'" Software

4-21

6.
Radix Binary Octal Decimal Hex/BCD

Value
000000000011 0000

60 48

30

8.
Minimum decimal value Maximum decimal value

o
32767 (Depending on your workstation, it may be slightly less.)

10.
Minimum temperature (C) Maximum temperature (C) 1000 (Depending on your workstation, ~ may be slightly less.)

The temperature is also displayed on AIR_TEMP _GAGE. Each VDC equals 100 C.

Rev. October 1999

1999 AllenBradley

Company, Inc.

r47smon

4-22

Monitoring and Entering Data Using RSLogix 500 ~ Software

~ 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47smon

LessonS
Interpreting Bit Instructions Using RSLogix 500 Software
What You Will Learn
Given an RSLogix 500 project, you will be able to perform these actions: Interpret bit instructions Determine logical continuity Change processor modes

Before You Begin

Processor Operating Cycle


The processor operating cycle, or scan, occurs as follows:
Program file 2 is executed. Input modules are read.

Output data is sent to output modules.

Processor housekeeping, such as status file update, is performed.

Communication takes place with other devices.

Logical Continuity
A ladder logic rung is divided into two parts: conditional instructions and output instructions:
Conditional Instructions Output Instruction(s)

Rule: If there is a path of true conditional lnstrueflons, the rung is true and the output occurs.

Rev. October 1999

1999 Allen-Bradley Cornpanylnc, r47sibi

5-2

Interpreting Bit Instructions Using RSLogix 500'" Software

Conditional Instructions
These instructions are used to examine specific conditions:
Name
Examine If Closed

Instruction Mnemonic
XIC

Symbol

Function
Examines a bit for an on (1) condlticn. If the blt is on, the instruction is true. Examines a bit for an off (0) condition. If the bit is off, the instruction is true. When the conditions preceding the instruction are true, makes the rung true for one program scan.

-J [-J/[-

Examine If Open

XIO

One-Shot Rising

OSR

-[OSR]-

Output Instructions
These instructions produce a specific output if the rung is true:
Instruction Name Mnemonic Symbol Function
If the rung is true, turns on a bit. When the rung goes faise or a power cycle occurs, the bit turns off. If the rung is true, turns on a bit. The bit remains on, even if the rung goes false or a power cycle occurs. If the rung is true, turns off a bit, The bit remains off, even if the rung goes false or a power cycle occurs.

Output Energize

OTE

-()-

Output Latch

OTL

-(L)-

Output Unlatch

OTU

-(U)-

Processor Modes
The following table outlines the operation of the processor in different modes:
Keyswitch Position Operation
Monitor inputs Execute ladder logic Control outputs Edit ladder logic Change mode using computer

RUN

PROG

REM
Run Prog Test

v v v v

v v v v v

v v v v v v

* SLC 5/01 and 5/02 processors do not have a keyswitch. All mode changes occur via communication channels (computer).

; 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47sibi

Interpreting

Bit Instructions

Using RSLogix 500 ~ Software

5-3

As the following table outlines, the processor can operate in three different test modes:
To scan a project without energizing outputs ... Continuously One rung at a time Once (execute a single scan) Then select this test mode ... Test Continuous Test Single Step Test Single Scan

Here's How

To perform these actions: Interpret bit instructions Determine logical continuity Change processor modes As your instructor demonstrates these procedures using the following examples, follow along in the RSLogix 500 Procedures Guide.

XIC, XIO, and OTE Instructions in Series and Branched

f-----l

....

1--------------------1

~--I_ 1-[ ----IJ

I-[----IJ~------<

Ff-_

----J]

t-[ ----IJft-: ---~

_~ r----IJ

~_~__I~Cr~H---4------------~

Start/Stop (Seal-In) Circuit


~rrCH_7
I--r------l

t---~----1

1---------1'..-

'-

COILj~

Rev. October 1999

fl 1999 AllenBradley

Company, Inc. r47sibi

5-4

Interpreting Bit Instructions Using RSLogix 500'"

Software

XIC, XIO, and OTE Instructions Counter Bits


swrr

Using Binary, Timer, and

13:1ll

~ -'
13:1
_

,"

'.

..

'

...JC
L

13:1/l

SWrrCH -3

T4:1 . TT

-j [ -----:tJ/l------------l~.
swrr
_l

"

-'
swrr
l

1-:

------tJ

CS:0.",N 1-[ --.--------((

~ ..I--------I

";_"

OTL, OTU, and OSR Instructions

~--~

r---------------------------------l" r---------------------------------l"

t....

~~--~

swrrCH_13 .tJ"...

,.. ~--~

swrrCH_14 13:1/1
t-----I

1-[-----,[ OSR. t----------------{

Exercise

In this exercise, you will interpret bit instructions and determine logical continuity for the cool_l project. Directions: 1. Go online to the cool_l project of your workstation. (If you did not restore and download the project from the exercise disk, do so at this time.) 2. Place the processor in Remote Program mode.

~. 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47sibi

Interpreting Bit Instructions Using RSLogix 500'" Software

5-5

3. What condition or conditions cause rung 2:3 to go true?

4. What happens when rung 2:3 goes true?

5. What will cause rung 2:3 to become false, and what will happen when it becomes false?

7. When will ON COMMAND -

ZONE 2 turn off? --

8. When will CU_ZONE_2 (Rung 2:12) be on?

Rev. October 1999

1999 Allen-Bradley Company, Inc. r47sibi

5-6

Interpreting

Bit Instructions

Using RSLogix 500

Software

9. When will NEW_ZONE (Rung 2:20) turn on?

10. Toggle the processor between Remote Program and Remote Run modes and observe the changes in these items: On the processor front panel, the Run LED In the RSLogix 500 software: Program/Processor Power rails thumbwheei, enter 30 (minutes). Status Toolbar

11. In the SET_COOL_TIME

12. Place the processor in the Remote Run mode and test your answers to questions 3.- 7. Split the Ladder window to display Rungs 2: 12 and 2:20 at the same time.

How Did You Do?

The answers are provided on the next page. If you have any questions, ask your instructor for assistance.

f 1999 Allen-Bradley Company, Inc.

Rev. October 1999


r47sibi

Interpreting Bit Instructions Using RSLogix 500'" Software

5-7

Answers

Exercise
3. Rung 2:3 becomes true when both START and STOP are on. Since STOP is normally closed (on), only START has to be turned on to make the rung true. 4. When rung 2:3 becomes true, ON_COMMAND turns on. Once ON_COMMAND is on, rung continuity will be maintained even if START turns off. 5. When STOP turns off, Rung 2:3 becomes false, turning ON COMMAND off. 6. ON - COMMAND -ZONE 2 turns on when all three of these conditions are met: A. ON -PB -ZONE -2 is on. B. C5:01DN is off. C5:01DN is a bit turned on and off by a counter in the ladder logic. C. OFF PB ZONE 2 is off. - 7. ON -COMMAND -ZONE 2 turns off when OFF - PB -ZONE -2 turns on. Once ON_COMMAND_ZONE_2 is on, ON_PB_ZONE_2 C5:0/DN no longer affect rung continuity. 8. CU_ZONE _2 will be for one program scan when ON -COMMAND -ZONE 2 turns on. 9. NEW_ZONE will be on when either CU_ZONE_l, CU_ZONE_2, CU_ZONE_3, or CU_ZONE_ 4 are on.

and

Rev. October 1999

1999 Allen-Bradley Company, Inc. r47sibi

5-8

Interpreting Bit Instructions Using RSLogix 500 ~ Software

I; 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47sibi

Lesson

Interpreting Timer and Counter Instructions Using RSLogix 500 Software


What You Will Learn
Given an RSLogix 500 project, you will be able to interpret timer and counter instructions.

Before You Begin

Key Terms
Accumulated Value (ACC): The number of elapsed time intervals or counted events. Preset Value (PRE): The number of time intervals or events to be counted. Timebase: The interval at which the timer instruction increments. For SLC 5/01"'" processors the timebase is 0.01 second. For SLC 5/02"'" , 5/03 .",. , 5/04 and 5/05"'" processors, the timebase can be set at either 0.01 or 1.0 second.
1M ,

Status Bits: Bits that are set or reset indicating the status of an instruction.

Timer and Counter Instructions


The following table outlines the function of timers and counters:
This instruction Name Timer On-Delay Timer Off-Delay Retentive Timer ... Mnemonic TON TOF When the rung ... Is true Changes from true to false Is true RTO Is false or a power cycle occurs Changes from false to true Count Up CTU Is false or a power cycle occurs Changes from false to true Is false or a power cycle occurs Performs this function Counts time base intervals Counts time base intervals Counts timebase intervals Retains the accumulated value Increments the accumulated value Retains the accumulated value Decrements the accumulated value Retains the accumulated value Resets the accumulated value and status bits of a timer or counter Note: Do not use with a TOF timer. .

Count Down

CTD

Reset

RES

Is true

Rev. October 1999

~ 1999 Allen-Bradley Company, Inc. r47sitc

6-2

Interpreting

Timer and Counter Instructions

Using RSLogix SOOt Software

Example: Timer Usage


Keep track of the elapsed running time of a system for preventive maintenance purposes Open a valve for 10 seconds Delay the turning off of a cooling pump for 15 seconds after the system shuts down

Example: Counter Usage


Count parts coming off a production line Monitor the number of units in inventory Initiate a packaging subroutine when a specific number of units have been produced

Maximum Preset and Accumulated Values The following table outlines the range for preset and accumulated values:
Instruction Timers Counters PRE and ACC Range

o to +32,767
-32,768 to +32,767

~ 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47sitc

Interpreting Timer and Counter Instructions Using RSLogix 500t Software

6-3

Here's How

Using the following examples, your instructor will demonstrate interpreting timer and counter instructions.

Example: Timer On-Delay (TON)


E;tea m d ia eh a r g e v a Iv e STEAM_DISCHARGE TON Timer On Dela~/ Timer Time Baae Preaet Ace:um

T4:.3 1.0 10< 0":

When the rung goes ... True False

And these are ... The TON ... A. Times IEN {TT

IDN
0

.ACC Increasing = Preset 0

B. Times out
Resets

1 1
0

1
0 0

1
0

Example: Timer Off-Delay (TOF)


M sin reactor cooling pump COOLING_PUr., P TO F --------, Ti m er Off D el a~1 Timer Time Base Preset Accum T4:4 '1.0 15< 15<

..... EN .'

When the rung goes ... True False

And these are ... TheTOF ... Resets A. Times IEN {TT 0

1
0 0

1 0

IDN 1 1 0

.ACC 0 Increasing = Preset

B. Times out

Rev.October 1999~

1999Allen-Bradley Company,Inc.
r47sitc

6-4

Interpreting Timer and Counter Instructions Using RSLogix 500t Software

Example: Retentive TImer (RTO) and Reset (RES)


Elapaed ay at.em running time ELAPS_RUN_ TlM E RTO Retentive Timer On Timer T4:5 Time Baae 1.0 Preaet 20< Accum 0<

:'EN ...
<,

'DN')-

Elapsed system running time ELAPS_RUN_ TIM E T4:5 r---------------l..=RES


J,.I

---""1

When the rung goes ... True False

And these are ... The RTO ... A. Times B. Times out Suspends

IEN 1 1
0

/TT

IDN
0

.ACC
Increasing

1
0 0

1
0

= Preset
Constant

Example: Count Up (CTU)


Product entering holding area HOLDING_COUNT CTU ----Count Up Counter C5:1 e;c: Preset ACG:um 0<

SWITCH_ 4

Each time the rung containing the CTU instruction changes from false to true, the accumulated value increments by one. The status bits are set or reset as follows:
This bit ... CU ON Is set when ... The rung is true. The accumulated value is greater than or equal to the preset value. The accumulated value wraps from +32,767 to -32,768 and increments from there. And is reset when ... The rung is false. The accumulated value is less than the preset value. The accumulated value decrements less than or equal to +32,767.

DV

~ 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47sitc

Interpreting Timer and Counter Instructions Using RSLogix 500t Software

6-5

Example: Count Down (CTD)


Product leaving holding area HOLD IN G_ 00 U N T

o ou nt

OTD -----, D CI'io'n


06:1

.,.0 D-:"

OClunter Pre:aet

e;c:
0<

.:'DN)-

Accum

Each time the rung containing the CTD instruction changes from false to true, the accumulated value decrements by one. The status bits are set or reset as follows:
This bit ... CD DN Is set when ... The rung is true. The accumulated value is greater than or equal to the preset value. The accumulated value wraps from -32,768 to +32,767 and decrements from there. And is reset when ... The rung is false, The accumulated value is less than the preset value. The accumulated value increments greater than or equal to +32,767.

UN

Exercise

In this exercise, you will interpret timer and counter instructions for the cool_l project. Directions: 1. Go online to the cool_l project of your workstation. (If you did not restore and download the project from the exercise disk, do so at this time.) 2. Place the processor in the Remote Program mode. 3. When is COOL_TIME_RESET (Rung 2:7) on?

Rev, October 1999

g 1999 Allen-Bradley

Company, tnc,

r47sitc

6-6

Interpreting

Timer and Counter Instructions

Using RSLogix 500t Software

4. When is START_COOL_TIME

(Rung 2:4) on?

5. When is OUT_DAMPER

(Rung 2:5) on?

6. What happens to T4:11.ACC (Rung 2:22) when COMPRESSORS ENABLE turns off?

7. When is T4:11.ACC reset to zero?

8. When does C5:1 (Rung 2:23) count up?

9. Since C5:0/DN must be off before a new zone can be opened (rungs 2:8, 11, 14, and 17), what C5:0.ACC values (rung 2:20) will allow a new zone to open.

; 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47sitc

Interpreting Timer and Counter Instructions Using RSLogix 500t Software

6-7

10. What causes ZONES_OPEN_CNT

to count down?

11. When and how long is T4:7m

on (rung 2:12)?

12. Place the processor in the Remote Run mode. 13. In the SET_COOL_TIME 14. Press START. 15. Test your answers. To expedite CU_HOURS (Question 7.) reaching its preset value, monitor its data file and enter an accumulated value that is relatively close to the preset. thumbwheel, enter 30 (minutes).

How Did You Do?

Turn the page for the answers. If you have any questions, ask your instructor for assistance.

Rev. October 1999

1999 Allen-Bradley Company, Inc.


r47sitc

6-8

Interpreting

Timer and Counter Instructions

Using RSLogix 500t Software

Answers

Exercise
3. COOL_TIME _RESET is on for two seconds (200 x 0.01) after either ON OFF CYCLE or NEW ZONE are turned on. -

4. START -COOL -TIME is turned on three seconds after ON_COMMAND is turned on, as long as COOL_TIME_DN is off. When either ON COMMAND turns off or COOL_TIME_DN turns on, START_COOL_TIME will turn off. 5. OUT_DAMPER, which opens and closes the outside air damper, is turned on as soon as ON_COMMAND is turned on, as long as COOL_TIME _DN is off. When either ON_COMMAND turns off or COOL_TIME_DN turns on, OUT_DAMPER will remain on for three seconds, then turn off. 6. T4:11.ACC will hold its value. 7. T4:11.ACC is reset to zero when Rung 2:23 goes true, enabling the RES instruction. In this case, T4: 11 is programmed to run as a free-running timer as long as COMPRSSRS ENABLE is on. 8. C5:1 counts up once everyone hour. T4:11IDN is turned on after CU_HOURS times for 3600 seconds (1 hour). When T4:11IDN turns on, C5:1 counts up, CU_HOURS is reset (Rung 2:23), and CU _HOURS starts timing again. 9. Zero or one. When C5:0.ACC is greater than one, C5:01DN turns on and any further zones cannot be opened. 10. ZONES_OPEN _ CNT counts down each time either T4:6, 7, 8, or 9 start timing. The timer must stop timing, making the rung false again, before ZONES_OPEN _CNT can count down again 11. T4:7m is on for 0.04 seconds (the timer is timing) after ON_COMMAND _ZONE _2 is turned off. It is used to send a pulse to Rung 2:21 and decrement ZONES_OPEN_CNT.

2 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47sitc

Lesson Documenting an RSLogix 500 Project


What You Will Learn
Given an RSLogix 500 project, you will produce project documentation by performing these actions: Enter a page title Enter a rung comment Enter an address description Enter an instruction comment Enter a symbol

Before You Begin

Documentation Options
The following table outlines the different types of documentation that can be added to an RSLogix 500 project:
If you want to ...
Label the function of a group of rungs Describe the function of a specific rung Describe the function of an address regardless of the instruction with which it is used Describe the function of a specific address and instruction combination Use a string of alphanumeric characters to label an address

Then enter a ...


Page title Rung comment Address description Instruction comment Symbol

Important:

The View Properties dialog box controls how documentation is displayed.

Here's How

To produce project documentation by performing these actions: Enter a page title Enter a rung comment Enter an address description Enter an instruction comment Enter a symbol As your instructor demonstrates these procedures, follow along in the RSLogix 500 Procedures Guide.

Rev. October 1999

'0 1999 Allen-Bradley Company, Inc.


r47sdoc

7-2

Documenting an RSLogix 500'"

Project

Exercise

In this exercise, you will enter additional documentation to the cool_2 project. Directions: To enable more efficient troubleshooting, such as during an off shift, the cool_2 project requires additional documentation, which either engineering has supplied or you have drafted based on your experience with the project. 1. Go online to the cool_2 project residing on your workstation. (If you did not restore and download the project from the exercise disk, do so at this time.) 2. Add the following page titles to the specified rungs:
File Number:Rung 2:3 2:20 3:3 Number Page Title Cooling Unit Star! and Reset Run Time Tracking Adjustable Timing Relay

3. Add the following rung comments:


File Number:Rung 2:3 2:4 2:13 Number Rung Comment When ALL_SHUT _OFF closes, turns off all non-retentive outputs When START is pressed, sets B3:0.1 for one scan Resets adjustable cooling system timer

4. Add the following address descriptions:


File Number:Rung Number 2:7 2:13 2:13 Address 0:2.1/0 T4:10 B3:0/2 Description Damper that supplies outside air for the cooling unij Cooling system timer reset hold Flag indicating a new zone has been open

5. Add the following instruction comments:


File Number:Rung Number 2:1 2:2 2:14 Address Instruction Comment No zones open flag Status of zone dampers Zone open the longest Add 1 to the zone open longest N7:16 exceeds possible zone numbers

N7:13 N7:13 N7:16 N7:16

EQU MVM MOV ADD

2:15 N7:16 GRT

:' 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47sdoc

Documenting

an RSLogix 500'"

Project

7-3

6. Add the following symbols:


File Number:Rung Number 2:4 2:13 2:13 Address 83:0/0 T4:10 83:0/1 Symbol ON OFF OSR RESET SYS HOLD ON OFF CYCLE

7. Save the project and enter a revision note.

How Did You Do?

Turn the page for the answers. If you have any questions, ask your instructor for assistance.

Rev. October 1999

1999 Allen-Bradley Company. Inc. r47sdoc

7-4

Documenting an RSLogix 500'"

Project

Answers

Exercise
2. Using advanced diagnostics, display the page titles for program files 2 and 3. The dialog boxes should look like the following ones:
Advanced Dlagnoolics

El

....

--

Advanced DIagnostics

El

3. The rung comments should be displayed above the respective rungs. 4. The address descriptions should be displayed above the respective addresses. 5. The instruction comments should be displayed above the respective address and instruction combinations. 6. The symbols should be displayed above the respective addresses.

:;: 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47sdoc

LessonS
Interpreting Comparison Instructions Using RSLogix 500 Software
What You Will Learn
Given an RSLogix 500 project, you will be able to interpret comparison instructions.

Before You Begin

Comparison Instructions
Comparison instructions are input instructions that test the relationship between two values, Source A and Source B: Source A is a word address. Source B is a word address or a constant. The following table outlines the function of comparison instructions:
This instruction Name Equal Not Equal Less Than Less Than or Equal Greater Than Greater Than or Equal ... Mnemonic EaU NEa LES LEa GAT GEQ Is true when Source A is ... Equal to Source B Not equal to Source B Less than Source B Less than or equal to Source B Greater than Source B Greater than or equal to Source B

Limit Test (lIM) Instruction


The Limit Test instruction is an input instruction that tests whether a value is within or outside of limits: If the test value is a constant, the limits are word addresses. If the test value is a word address, the limits are either word addresses or constants. The following table outlines the function of LIM instruction:
If the low limit is ... Less than the high limit Greater than the high limit The LlM instruction is true when the Test value is ... Between or equal to ether of the limits Equal to or outside the lim~s

Rev. October 1999

1999 AllenBradley Company, Inc. r47sica

8-2

Interpreting Comparison Instructions Using RSLogix 500

Software

Here's How

Using the following examples, your instructor will demonstrate interpreting comparison instructions. Example: EQU and NEQ Instructions

CO IL 0
r---EQU Equal Source A Source B

~
N7:0 B:2< N7::2
2:5<

CO
r---NEQ Not Equal Source A Source B
f"'

~.

<,

N7:0 B:2< N7::2 :25<

Example: LES and LEQ Instructions

CO
r---LES Less Than (Ac:B) Source A N7:0 B:2< Source B N7::2 :25<

co
r---LEQ Less Than or Eql (A<=B) Source A N7:0 B2< Source B N7:2 2~c:
,.

-c

; 1999 Allen-Bradley Company, tnc.

Rev. October 1999 r47sica

Interpreting Comparison Instructions Using RSLogix 500"' Software

8-3

Example: GEQ and GRT Instructions


COl r--GEQ Grtr Than or Eql (A"=B) Source A N7:0 Source B
-;

.,.

~2< N7:.3 50c:

CO ILJ r--GRT Greater Than (A::>B) Source A N7:0 6:2<:: Source B

~ .,.

N7:'::: 50c:

Example: LIM Instruction


CO r---Llr.,
'.,

Limit Teat Lo't,' Lirn Teat High Lirn

.~

N7:.3 50c: N7:0 ~2< N7:4 75<

COl --LlM Limit Teat Low Lirn Teat Hiqh Lirn .'
-;

N7:4 75c: N7:0 ~2< N7:.3 50<

Exercise

In this exercise, you will interpret comparison instructions for the cool_2 project. Directions: 1. Restore the cool_2 project from the exercise disk to the folder assigned by your instructor.

Rev, October 1999

1999 Allen-Bradley Company, lnc.

r47sica

8-4

Interpreting

Comparison

Instructions

Using RSLogix 500'"

Software

2. Assign the cool_2 project a node address specified by your instructor. 3. Download the cool_2 project to your workstation and go online. 4. When is DAMPER_ZONE_3 (Rung 2:18) on?

5. When is DAMPER -ZONE -3 off?

6. Besides COMPRSSRS _ENABLE being on, what additional conditions must be met before STAGE_l_COMP (Rung 2:11) turns on?

7. Once on, when will STAGE _1_ COMP turn off?

8. Place the processor in the Remote Run mode. 9. In the SET_COOL_TIME 10. Press START. thumbwheel, enter 30 (minutes).

~ 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47sica

Interpreting Comparison Instructions Using RSLogix 500'" Software

8-5

11. Test your answers:


A. To place a 3 in N7:15, momentarily turn ON_PB_ZONE_3 on. (Do not leave it on.) B. To remove the values from both N7:15 and N7:16, momentarily turn on (on then off) the on push buttons for two other zones. C. To change the value in N7:21, turn SUP _AIR_THERMSTAT (Analog input 1).

How Did You Do?

Turn the page for the answers. If you have any questions, ask your instructor for assistance.

Rev. October 1999

1999 Allen-Bradley Company, Inc.


r47sica

8-6

Interpreting

Comparison

Instructions

Using RSLogix 500 ~ Software

Answers
4. DAMPER ZONE 3 turns on when either N7:15 or N7:16 equals 3. When either of those conditions are met, OFF_DELAY _ZONE_ 3 is enabled, setting the DN bit immediately. The DN bit, in turn, turns on DAMPER - ZONE -3. 5. DAMPER_ZONE_3 turns off 0.80 seconds (0.01 x 80) after both N7:15 and N7:16 are no loner equal to 3. 6. As long as COMPRSSRS_ENABLE is on, STAGE_1_COMP turns on whenever N7:21 (supply air thermostat) is greater than or equal to N7:8 and greater than N7:9. 7. When either COMPRSSRS_ENABLE turns off, or N7:21 is less than or equal to N7:9, STAGE_l_COMP turns off. Once STAGE _1_ COMP is on, the GEQ instruction no longer affects rung continuity. Rung 2:11 sets up a deadband (N7:8 minus N7:9) for each compressor. The compressors cool down the air by the deadband amount before turning off and do not turn on until the air heats back up by deadband amount. This prevents the compressors from cycling on and off due to small temperature changes.

~. 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47sica

Lesson

Interpreting Data Handling Instructions Using RSLogix 500 Software


What You Will Learn
Given an RSLogix 500 project, you will be able to interpret data handling instructions.

Before You Begin

Data Handling Instructions


Data handling instructions enter (move) a source value(s) into a destination: Elements or groups of elements are moved. Data may be converted to a different radix. Source values remain unchanged.

Key Terms
Mask: A binary value used to exclude selected bits of a word from being operated on by an instruction. File: As used in instructions, a block of consecutive elements within a data file that are operated on by an instruction. A # in front of an address designates it as the start of a file.

Example: File Usage


The recipe for a specific product is stored in an integer file that starts at #N7:0 and includes 50 elements, N7:0 to N7:49.

Binary Coded Decimal (BCD): A numbering system (radix) in which groups of four bits represent a specific digit.

Example: Binary Coded Decimal


The bits TWl/O-3 represent the first digit of a thumbwheel input; the bits TWl/4- 7 represent the second digit of a thumbwheel input, and so on.

Rev. October 1999

1999 Allen-Bradley Company, Inc. r47siha

9-2

Interpreting Data Handling Instructions Using RSLogix 500

Software

Instruction Operation
The following table outlines the operation of specific data handling instructions:
This Instruction ... Name
Convert from BCD Convert to BCD Move Masked Move Copy File Fill File

Mnemonic
FRD

Performs this action when Its rung Is true ...


Converts the source value from BeD to decimal and enters the result in the destination Converts the source value from decimal to BCD and enters the result in the destination Enters the source value into the destination Enters the unmasked bits of a source value into the destination Enters data from the source file into the destination file Enters the source value into each element of the destination file

TOO MOV MVM COP FLL

Here's How

Using the following examples, your instructor will demonstrate interpreting data handling instructions. Example: FRD and TOn Instructions
....--FRD From BeD Source Dest
I---

1:1.0
OOOOh<

W:6 5<

SWITCH_O
_1 r _ L

....--TOD To BeD Source Dest

I---

W:6 5< 0:2.0


OOOOh<

.~ 1999 Allen-Bradlev

Company, Inc.

Rev. October 1999 r47siha

Interpreting Data Handling Instructions Using RSLogix 500 ~ Software

9-3

Example: MOV and MVM Instructions


SWITCH

-4

., r

.--MOV ,., Clve Sour ce Dest N7:~ ~3e: N7:7 ~3<::

...--MVM M asked Source M Clve 1:3.0 ~::2~40C: N7:8 FFOOhc: 0:4.0 -.3:27~ 8e:

r., ask
Dest

The following table outlines the function of the mask in the MVM instruction:
If a bit in the mask is ... Then the corresponding source bit is ..
Entered in the corresponding destination bit Not entered in the corresponding destination bit

Example: COP and FLL Instructions


8WITC H 5 .--FLL Fill File Source Dest Length N7:7 #N7:1 (I 10

,-

8WITC H -

e
..---COP File Sourl~e Dest Length
CO~f

r -

#N7:10 #N7::20 '10

Rev. October 1999

~ 1999 Allen-Bradley Company, Inc.


r47siha

9-4

Interpreting Data Handling Instructions Using RSLogix 500~ Software

Exercise

In this exercise, you will interpret data handling instructions for the cool_2 project. Directions: 1. Go online to the cool_2 project of your workstation. (If you did not restore and download the project from the exercise disk, do so at this time.) 2. Place the processor in Remote Program mode. 3. When a zone's on button is pushed, what events occur in Rung 2:14.

4. In Rung 2:2, which bits from 0:2.1 are moved through the mask into N7:13?

5. If all the zone dampers are closed (LIGHT, /11, /13, and /15 are off), what action(s) does Rung 2:1 perform? Do not try to close the dampers.

6. When Rung 2:0 is true, which addresses are moved by the COP instruction and to where are they moved?

~ 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47siha

Interpreting Data Handling Instructions Using RSLogix 500'" Software

9-5

7. What occurs when Rung 3:0 is true?

8. Explain the action performed by Rung 3:2.

9. Place the processor in the Remote Run mode. 10. In the SET_COOL_TIME 11. Press START. 12. Test your answers, keeping these points in mind: To observe the effects of the mask used in Rung 2:2, create a custom data monitor that displays LIGHT4, N7:12, and N7:13 in the binary radix. To observe the effects of Rung 2:0, enter new values into N7:0-13, and then change the processor mode to Program and then back to Run. thumbwheel, enter 30 (minutes).

How Did You Do?

Turn the page for the answers. If you have any questions, ask
your instructor for assistance.

Rev. October 1999

1999 Allen-Bradley Company, Inc. r47siha

9-6

Interpreting Data Handling Instructions Using RSLogix 500"" Software

Answers

Exercise
3. The integer in N7:15, representing the zone open the longest, is moved to N7:16, replacing the previous integer in N7:16. The integer representing the zone whose button was pushed is moved into N7:15, replacing the previous integer in N7:15. 4. The status of bits 9, 11, 13, and 15 from 0:2.1 are written to the corresponding bits in N7:13. 5. When all the zone dampers are closed (off), N7:13 equals zero, making Rung 2:1 true. When true, Rung 2:1 moves the integer 1 into N7:15 and the integer 2 into N7:16. This opens the dampers for zones 1 and 2, ensuring that at least two dampers are open at all times. 6. N10:0-13 are moved to N7:0-13. In this project, N10:0-13 stores default project parameters, and N7:0-13 contains the values actually used by the ladder logic. If the values in N7:0-13 are changed, cycling the processor from Program to Run mode resets the default values. 7. When true, Rung 3:0 converts SET_COaL_TIME to an integer value and places the result in C5:2.PRE, the counter's preset value. 8. Rung 3:2 takes the accumulated value of C5:2, converts it to BCD, and displays the result in TIMER_DISPLAY.

&: 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47siha

Lesson

10

Interpreting Program Control Instructions Using RSLogix 500 Software


What You Will Learn
Given an RSLogix 500 project, you will be able to interpret program control instructions.

Before You Begin

Processor Operating Cycle


The processor operating cycle, without program control instructions, occurs as follows: Program file 2 is executed. Input modules are read. Output data is sent to output modules.

Processor housekeeping, such as status file update, is performed.

Communication takes place with other devices.

Key Terms
Subroutine: A program file that performs a specific task. For SLC 500"'" processors, program files 3-255 are subroutines.

Example: Subroutine Usage


Loading a recipe Performing a calculation Cleaning a vat Purging a system Emptying a tank Packing and sealing a carton

Rev. October 1999

.~ 1999 AllenBradley Company, Inc. r47sicn

10-2

Interpreting Program Control Instructions Using RSLogix 500~ Software

Non-Retentive Output Instruction: A rung-output instruction that continually controls the state of the output. Whenever the rung changes state (to true or not true), the output turns on or off.

Example: Non-Retentive Output Instruction


OTE - When the rung is true, the output is energized. When the rung is false, the output is not energized.

Retentive Output Instruction: A rung-output instruction that sets the state of the output only when the rung is true. Whenever the rung is not true, it does not control the state of the output.

Example: Retentive Output Instruction


OTL - When the rung is true, the output is energized. When the rung changes to false, the output is not changed.

Program Control Instructions


The following table outlines how program control instructions affect the processor operating cycle:
Instruction Name
Jump to Subroutine

Mnemonic
JSR

Function
Causes program scan to jump to a different program file and resume scanning at that point Marks the beginning of a subroutine but has no effect on rung continuity or program execution Note: The SBR is an optional instruction. Used in a subroutine to return program scan to the program file from which the subroutine was initiated Note: The RET is an optional instruction. Causes program scan to jump to a rung marked by a LBL and resume scanning at that point Marks the point at which program scan resumes after a JMP has been executed Marks the beginning or end of an MCR zone, which can be used to turn off non-retentive outputs regardless of rung continuity Returns program scan to rung 2:0 without scanning the remaining rungs Halts program execution based on input conditions

Subroutine

SBR

Return from Subroutine

RET

Jump to Label

JMP

Label

LBL

Master Control Reset

MCR

Temporary End Suspend

TND SUS

:2' 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47sicn

Interpreting

Program

Control

Instructions

Using RSLogix

500'"

Software

10-3

Subroutines
A JSR instruction interrupts the execution of a program file to perform a specific task (subroutine). When the task has been performed, program scan resume at the rung after the JSR:
Program File 2

Subroutine

One subroutine can also direct program execution to another subroutine. This procedure is called nesting:
Program File 2

Subroutine 2

Subroutine 3

MeR Zones
MCR instructions arc used in pairs to mark the start and end of an MCR zone:
If the rung with the MCR instruction that starts the zone is ...
True False

Then all non-retentive outputs within the MCR zone are ...
Turned on or off according to rung continuity Turned off regardless of rung continuity

Rev. October 1999

' 1999 Allen-Bradley Company, Inc. r47sicn

10-4

Interpreting Program Control Instructions Using RSLogix 500~ Software

Keep tbese points in mind wben interpreting MeR instructions: The MeR instruction is not a substitute for a bard-wired master control relay. TOF timers will time within an MeR zone regardless of the state of tbe zone. If an unmatcbed MeR instruction exists in tbe project, the END instruction is used to mark tbe end of the MeR zone.

Here's How

Using the following examples, your instructor will demonstrate how to interpret program control instructions. Example: Interpreting Subroutines

'; 1999 Allen-Bradley

Company, Inc.

Rev. October 1999

r47sicn

Interpreting Program Control Instructions Using RSLogix 500

Software

10-5

Example: Interpreting JMP and LBL Instructions


Q7:905 'L'M p'"

f----------------------c

Q7:905 L8L~

83::2,'0

83::211
.,'

.----..

Example: Interpreting MeR Instructions


SWITCHJ

TON Timer On Dela~1 Timer T4:13 Time 8ase 0.01


Preset 100O""

EN

Accum

0<

TOF Timer Off Delay Timer T4:7 Time 8ase 0.0'1 Preset '1000< Accum 1000<

EN DN)-

r------------------------<,MCR,

Example: Interpreting TND Instruction

I
Rev. October 1999

.WI;Cr:_-1_r_.I

~;.TND~

1999 Allen,Bradley

Company, Inc. r47sicn

10-6

Interpreting Program Control Instructions Using RSLogix 500~ Software

Example:

Interpreting
SWITCH_15 .., r

SUS Instruction
,....--GEQ Grtr Than or Eql (A.~=B) r---Source A N7:0
132<

_ c

Source B

75 75<

r---SUS Su&pend Su&pend ID

t-2.3

Exercise
~

In this exercise, you will interpret program control instructions for the cool_l and cool_2 projects. Directions: 1. Download the cool_l project to your workstation and go online. 2. If T4:01DN is on, which rung will be executed after Rung 2:5?

3. If T4:01DN is off, which rung will be executed after Rung 2:5?

4. Verify your answers to Questions 2.-3. by performing these actions: A. Place the processor in Remote Run Mode. B. In the SET_COaL_TIME between 15 and 60. thumbwheel, enter a number

C. To turn on T4:0IDN, press START. D. Use the Test Single Step mode to observe the sequence in which rungs are scanned. E. Select the Remote Run mode. F. To turn off T4:0IDN, press STOP. G. Use the Test Single Step mode to observe the sequence in which rungs are scanned. 5. Download the cool_2 project to your workstation and go online.
' 1999 Allen-Bradley Company, Inc. Rev. October 1999

r47sicn

Interpreting

Program Control Instructions

Using RSLogix 500"" Software

10-7

6. If T4:01DN is on, which rung will be executed after Rung 2:8?

7. If T4:01DN is off, which rung will be executed after Rung 2:8?

8. Verify your answers to Questions 6.-7. by performing these actions: A. Place the processor in Remote Run Mode. B. In the SET_COOL _TIME thurnbwheel, enter a number between 15 and 60. C. To turn on T4:0IDN, press START. D. Use the Test Single Step mode to observe the sequence in which rungs are scanned. E. Select the Remote Run mode. F. To turn off T4:0IDN, press STOP. G. Use the Test Single Step mode to observe the sequence in which rungs are scanned. 9. If both compressors are running, what happens when ALL_SHUT_OFF (Rung 2:3) turns on?

10. When ALL_SHUT_OFF continue to time?

is on, will CU_HOURS (Rung 2:20)

11. What happens to any open dampers when ALL_SHUT_OFF turns on?

Rev. October 1999

1999 Allen-Bradley Company, Inc. r47sicn

10-8

Interpreting Program Control Instructions Using RSLogix 500~ Software

12. What happens to C5:1.ACC (Rung 2:21) when ALL - SHUT - OFF turns on?

13. Verify your answers to Questions 9.-12. by performing these actions: A. Place the processor in Remote Run mode. B. Press START. C. Turn up SUP _AIR _THERMSTAT until both compressors turn on. D. Turn on ALL -SHUT -OFF.

How Did You Do?

Turn to the end of the lesson for the answers. If you have any questions, ask your instructor for assistance.

; 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47sicn

Interpreting Program Control Instructions Using RSLogix 500"" Software

10-9

Rev. October 1999

~ 1999 Allen-Bradley

Company, Inc. r47sicn

10-10

Interpreting

Program Control Instructions

Using RSLogix 500'"

Software

Answers

Exercise
2. When Rung 2:5 is true (T4:0/DN in on), program execution continues with rungs 4:0-3, and then returns to Rung 2:6. 3. When Rung 2:5 is false (T4:0/DN is off) program execution continues with Rung 2:6, skipping program file 4. 6. If Rung 2:8 is false (T4:0/DN is on) program execution continues with Rung 2:9. 7. If Rung 2:8 is true (T4:0/DN is off), program execution jumps to Rung 2:12. 9. When Rung 2:0 is false (ALL_SHUT_OFF is on), all non-retentive outputs are turned off, which includes both compressors. 10. No. Since CU _HOURS is a non-retentive when Rung 2:0 is false. output, it will reset

11. When ALL_SOOT_OFF turns on, any open dampers will close (turn off). See answer 9. 12. In a false MCR zone (i.e., The MCR rung that starts the zone is false.), counters retain their values.

1999 Allen-Bradley Company. Inc.

Rev. October 1999 r47sicn

Lesson Searching Ladder Logic Using RSLogix 500 Software


What You Will Learn

11

Given an RSLogix 500 project, you will be able to search ladder logic by performing these actions: Find the next occurrence of an instruction, symbol, or address Find all occurrences of an instruction, symbol, or address Replace instructions and addresses Display a cross-reference report Search using advanced diagnostics

Before You Begin

Search Options
The following table outlines the search options available in the RSLogix 500 software:
Search Option
Find Next

Function
Locates and displays the next occurrence of a specified address, symbol, or instruction Locates all occurrences of a specified address, symbol, or instruction and lists them in the Results window Locates edit zones Locates a specified address, symbol, or instruction and replaces it with a different address or instruction Displays a list of the project's addresses or symbols and their respective instructions and rungs
Locates an output instruction using project

Find All Find Special Replace

Cross-Reference

Advanced Diagnostics Go To

documentation Locates a specified rung

Here's How

To search ladder logic by performing these actions: Find the next occurrence of an instruction, symbol, or address Find all occurrences of an instruction, symbol, or address Replace instructions and addresses Display a cross-reference report Search using advanced diagnostics As your instructor demonstrates these procedures, follow along in the RSLogix 500 Procedures Guide.

Rev. October 1999

1999 Allen-Bradley Company, Inc.

r47ssch

11-2

Searching

Ladder Logic Using RSLogix 500

Software

Exercise

In this exercise, you will search the cool_2 project. Directions: While troubleshooting I/O problems, the Troubleshooting Guide requires you to locate specific instructions. 1. Go offline to the cool_2 project. (If you did not restore the project from the exercise disk, do so now.) 2. Using the Find Next feature, locate and list the occurrences of the following addresses:
Mnemonic and/or Address
Example: 0:2.1/3 0:2.1/2

File Number:Rung Number


2:6 3:5

1:1.0

COOL TIME

83:0/5

MOV N7:15

3. Using the Find All feature, verify your answers to Question 2.


4. Search and replace the following addresses: Search Address
0:6.0 1:5.0

Replace Address
0:6.1 1:5.1

5. Display a cross-reference report and use it to identify the instructions and rungs that use the address T4:0 or its status bits:
Instruction Type File Number:Rung Number

1999 AllenBradley

Company, Inc.

Rev. October 1999 r47ssch

Searching

Ladder Logic Using RSLogix 500 'M Software

11-3

6. Using advanced diagnostics, identify the rungs and output instructions associated with the page title "Compressor On/Off," found in program file 2:
Rung Number Instruction and Address

How Did You Do?

Turn the page for the answers. If you have any questions, ask your instructor for assistance.

Rev. October 1999

1999 Allen-Bradley Company, Inc.

r47ssch

11-4

Searching

Ladder Logic Using RSLogix 500 ~ Software

Answers

Exercise 5.
Instruction Type
TOF XIC XIO

File Number:Rung Number 2:6 2:7 2:8

6. To answer this question, you should have displayed the following dialog box:
Adv.anced D,agnostic.

EJ

..... saeclI14,g,'::,::::':i; ... .,.....................................................................................

C~rrp't,.~'" 0"';;''011

om
JSR

" u:;;'
H:W Oll!tO

O:Z/Z2

toN

ors

R<W.l

~S';;~';im .
. ..__ ..~._"

I L_ ..... __

'' 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47ssch

Lesson Forcing Inputs and Outputs Using RSLogix 500 Software


What You Will Learn

12

Given an RSLogix 500 project, you will be able to force inputs and outputs on and off.

Before You Begin

When to use Forcing


Forcing can be used for any of the following situations: Checking the field wiring Checking functionality of field output devices Testing a portion of the program logic Simulating inputs that have not been wired

Factors to Consider Before Using Forcing


Consider these factors before forcing: Potential danger to personnel Machine response to forced I/O Possible effects on other portions of the machine/process Company policy concerning forcing I/O (Is authorization required?)

Safety Precaution
A'ITENTION: Use EXTREME CAUTION when using forcing. All

force functions can result in sudden machine movement, possibly injuring personnel or damaging equipment. If forces are established, enabling forces will enable all forces without prompting. If forces are enabled, any additional forces will take effect immediately. Before proceeding, verify the status of forces, verify that you are online to the correct processor, notify personnel of the proposed changes, and take adequate safety precautions.

Rev. October 1999

\S 1999 Allen-Bradley Company, Inc.


r47sfor

12-2

Forcing Inputs and Outputs Using RSLogix 500'"

Software

Rules for Forcing


These rules apply when forcing: Forces apply only to real inputs and outputs. If forces are established, enabling forces will enable all forces without prompting. If forces are enabled, any additional forces will take effect immediately. Forces are saved and downloaded with a project. The input force file modifies the data that is received from the input modules, and the output force file modifies the data that is being sent to the output modules:
Input Devices Input Modules Processor Memory Output Modules Output Devices

Data Files Input Output


1:3/0 0:4/0

Input Force File

Program Files
1'3/0 1-----( 3{7 0:4/0

-a
1:3{7

I.

Output Force File

0:4/1

Here's How

To force inputs and outputs on and off: As your instructor demonstrates these procedures, follow along in the RSLogix 500 Procedures Guide.

~ 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47sfor

Forcing Inputs and Outputs Using RSLogix 500"" Software

12-3

Exercise

This exercise provides you with different troubleshooting scenarios that require forcing. Determine whether to force the specified point on or off and the force point. Directions: 1. Go online to the cool_2 project residing on your workstation. (If you did not restore and/or download the project from the exercise disk, do so at this time.) 2. The push button STOP has failed. A. Force that device so the cooling unit runs while a replacement part is obtained. B. Using your workstation, verify that ON_COMMAND turns on regardless of the condition of STOP. 3. OUT_DAMPER is not operating and you want to verify that the problem is with the field wiring/device. Force OUT_DAMPER to check its operation. 4. A faulty input temperature probe is causing STAGE_2_COMP to remain on, possibly overheating the unit.

A. Force STAGE_2_COMP until the temperature probe can


be repaired. B. Turn up SUP _AIR _THERMSTAT all the way. Does the data file value of STAGE _2_COMP reflect program logic or the condition of the force. Check XIC STAGE_2_COMP on rung 2:11. 5. ON_PB_ZONE _3 has failed and the zone requires cooling. Decide whether to force ON PB ZONE 3 or - DAMPER_ZONE _ 3 and force the point.

How Did You Do?

Turn to the end of the lesson for the answers. If you have any questions, ask your instructor for assistance.

Rev. October 1999

1999 Allen-Bradley Company, Inc. r47sfor

12-4

Forcing Inputs and Outputs Using RSLogix 500~ Software

Answers

Exercise
2.
A. STOP should be forced on because it must be on before ON -COMMAND is turned on. ON -COMMAND must be on for the cooling unit to operate. B. ON_COMMAND remains on regardless of the actual position (state) of STOP. 3. OUT_DAMPER should be forced on. If the problem is with the wiring or device, the device will remain off.

4.
A. STAGE_2_ COMP should be forced off to prevent the unit from overheating. B. In the output data file, STAGE _2_COMP is on. (XIC STAGE_2_COMP is intensified.) Remember, forcing an output does not affect the output data file. S. DAMPER_ZONE_3 should be forced. Forcing the input would affect program logic and possibly prevent another zone from opening.

; 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47sfor

Lesson Editing Ladder Logic Using RSLogix 500 Software


TM

13

What You Will Learn

Given a hard copy of ladder logic marked up with changes, you will be able to produce a modified RSLogix 500 project by performing these actions: Enter a rung, instruction, and address or symbol Edit an instruction Enter a branch Verify ladder logic Edit ladder logic online in the Remote Program and Remote Run modes

Before You Begin

Offline vs. Online Editing


Although you can edit SLC 5/03 and 5/04 projects while online, offline editing is safer and easier than online editing. The following table compares the sequence of actions you must perform with the different editing options:
TM

After editing ...


Offline Online in the Remote Program Mode" On line in the Remote Run Mode"

You must perform the following actions ...


-Verify -Verify -Accspt -Verify -Accept -Test -Assernole

*You can only perform on line editing with SLC 5/03 or 5/04 processors.

Rev. October 1999

1999 Allen-Bradley

Company, Inc. r47sedd

13-2

Editing Ladder Logic Using RSLogix 500 ~ Software

Edit Zone Markers


The following table outlines the zone markers used by the RSLogix 500 software:
This marker ... Signifies a rung that you are ...
Entering or editing Inserting into the project Replacing by the rung immediately preceding it, which is marked with an i Deleting from the project

e
i or 1*

r or R* D*

* Upper-case markers only apply to online editing in the Remote Run mode. When edits are accepted, lower-case i and r markers change to upper-case markers. Safety Precaution
ATfEN'TION: Use extreme caution when editing ladder logic online. Any errors can injure personnel and damage equipment. Before editing ladder logic online perform the following actions: Check if editing ladder logic online is permitted by your company. Evaluate if changes must be made online. Assess how machinery will respond to changes. Check and recheck proposed changes for accuracy. Notify all personnel of changes.

Here's How

To modify an RSLogix 500 project by performing these actions: Enter a rung, instruction, and address or symbol Edit an instruction Enter a branch Verify ladder logic Edit ladder logic online: Remote Program mode Remote Run mode

As your instructor demonstrates these procedures, follow along in the RSLogix 500 Procedures Guide.

~ 1999 AJlen-Bradley Company, Inc.

Rev. October 1999

r47sedd

Editing Ladder Logic Using RSLogix 500'"

Software

13-3

Exercise

In this exercise, you will modify the cool_2 project, both offline and online, according to hard copies of ladder logic marked up with changes. Directions: 1. Go offline to the cool_2 project. (If you did not restore the project from the exercise disk, do so at this time.) 2. While offline, make the following edits to program file 2:

START

ON_OFF _OSR 63:0/0

0004

.: "--------, ST~ ~/6

~~.ol

OS~

1 -\
STqJio' ~/7 ~~.

I
~

ON_OFF _CYCLE 83:0/1

0005
ON_COMMAND B3:0/4

-I \

~~/'~JQ

'#..\"0

ON_COMMAND 63:0/4

0006

ON_COMMANO 83:0/4 ----:1' - --~

OPEN_OUT _DAMPER --TOF - -

~:~:~ I
\~cum_

Off Delay T4:0 1.0 3<

'~.. ( EN .. -~
I,

Time Base Preset

ON

'1.-

_~

----

START _SYS_DELAY TON--Timer On Delay tEN, Timer T4:1 Time Base 1.0 -ION Preset 3< Accum O<i

I---

T4:1fTT

COMPRSSRS ENABLE 83:0/5

j~-

\:)~\c.~
T4:01ON 0007
0008

-+
OUT_DAMPER Q2:0 JMP

- r

3. Verify the edits that you made in Step 2. 4. Save the changes you have just made and enter a revision note. 5. Download the project and go online.

Rev, October 1999

1999 Allen-Bradley

Company, Inc. r47sedd

13-4

EditingLadderLogic Using RSLogix500'" Software

6. Place the processor in the Remote Program mode and make the following changes to the project:
83:0/5 0011
>~

r-------

--I

--~ r

,-----GEQ Grtr Than or Eql (A>"B) Source A N7:21

--GRT Greater Than N7:21 (A>B) I Source A

60<
Source B N7:8 35<1 Source B

60<1

__

N7:9 I

--GJ
STAGE 1 COMP

.!.~.s

0:2.1/7

STAGE 1 COMP

----J -.--1

SUP_AIR.TEMP ------GEQ --

~--

Grtr Than or Eql (A>=BJ Source A N7:21

-l
I

SUP.AIR. TEMP GRT----Greater Than (A>BJ ~ Source A N7:21 1 -

60<
Source B
L-

N7:10

50

60<
Source B N7:11 45<

STAGE 2 COMP

'-----;
: 0012

E--..
SIM.AOJ. TlMING.RELAY r-,-JSR ----1 .,JumpTo Subroutine I SBR File Number

H
I

Q2:0 LBL'

0013

l__
J[
T4:10m ~~~.----

_~:~J

B3:0/1

r
1

TON

NEW.ZONE B3:0/2

hEN--

7. Verify and accept the edits that you made in Step 6. 8. Place the processor in the Remote Run mode and insert the following rungs between rungs 2:21 and 2:22:
8 REPEATC,(CLE 82:41'4 1-[--.-------lJ 1-[ -----.--------~( B3: 01'7 320_'"

C5:11DN

83:0/15
~-J----I

~--IJ I-[--------------~
83:0/14

C5:HDN

B3:017

I-[--.------~J
'----IJ 1-[-B3:01'7

I-[----------~--------------~( /
--1

83:0/13

ELAPSED_RUN_ TI", E C5:'1

I--------------------------(:~RES_.)-----l

;; 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47sedd

Editing Ladder Logic Using RSLogix 500"" Software

13-5

9. Make the following edits to the program file 3:


Simulated Adjustable 0003 1iming Relay

SlART eOet I ~e.4.0i2L~_

TI~E T9:01DN
~--.-!

E----

CU SECONDS ~TON-I
l imer On Delay Timer Time Base Preset Accum

-'~,EN

161:o/s-

T9:0 1.0 -/DN 60<' 0<

~
00'9(

T9:,OIDN ~~

i)e.I .. t-e.
--o;;;;;; ~ __

COOL TIME --CTU -Count Up Counter Preset Accum

~ (CU

C5:21 30<
6<
I

(ON

I--

COOL TIME ON

-:r-~...L.b----~=---~==

.:::::::.~_---~=-~-.

---~-:.~::r;-:--0-/3----

oo~
10. Verify, accept, test, and assemble your edits. 11. Save the project and go offline.

How Did You Do?

Turn the page for the answers. If you have any questions, ask your instructor for assistance.

Rev. October 1999

1999 Allen-Bradley Company, Inc.


r47sedd

13-6

Editing Ladder Logic Using RSLogix 500

Software

Answers

Exercise 2.
ON_OFF_CYCLE B~:OI1 ON_COM MAND 83:01'4

B3:014 ~)----

0005

I---r--- - - - "'''' ~-",-A-N-D---r--.-----O-N-_-o---i.F~~I-C-\-'C-L-E---r-------~( O N C O B'=:'n'4 B3:(h'1 ~._I


~---~J

I-_--------~

~.o-~---~

(looe;

ON COM",AND B~:014

C5:2t'DN

1--------1-' t-E ---------J]-o-l-----------,----i

OPEN OUT_DAM PER TOF Time-r Off Dels~1 Time-r T4:0 Time- Bsse1.0 Pre-se-t 3<
Accum

_='E N ~)-_-----,':'DN')-

0<

START_SYS_DELAY TON ------, Time-r On Dela~1 Time-r T4:'1 Time- Base1.0 .3< Pr e-ae-t .3< Accurn

CO", PRSSRS_ENABLE B3:015 "---------i-.--j-------------{ .... -':1-----------1 T4:HTT

;- 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47sedd

Editing Ladder Logic Using RSLogix 500"" Software

13-7

6.
COMPRS S RS_ENABLE 83: ~6 Oonpr 8;l30r On'Off SUP ..AIR3EMP SUP ..AIR3EMP -GEQ -GRT Grtr Than or Eql i,A>=8) Gr ester Than (A>8) N7:2-1 SourcaA N7:21 SourceA 63< 63< Source B N7:8 Source B N7:9

0011

--..,

0:2_

35<
STAG E_-l_COMP -, r

30-(

~
SUP ..AI R3EMP -GRT Gr sstar Than (A>B) SourceA N7:21 63< N7:1-1 Sourc s B 46< STAG EY-COMP

SUP ..AIR_TEMP -GEQ Grtr Than or Eql (A>=B) SourceA N7:21 63< Source B N7:10 60<

STAGEY-COMP
-, r

- 0012 Q2:0 LBL 1--------------------------------1

81 M..AOUI MIN GJlELAY JSR -------,


Jump To Subroutine SBR File Number U:3

B3:(\'-1 0013 I--r-----:I

1:----,------------------------.--1
NEW-.iONE B3:(\'2

1-----:1

TON-----, Timer On Dai9l Timer T4:10 Time Bsas 1_0 P r 93 et 1< Meum 0<

T4:-1(\'TT f-------Z-HES'

COOLTIME C6:2

8.

320_MS_REPEATCYCLE C5:1,ooN
0022
83: Cl!'7 8:2:414
83:0/15

Fr_----,---------~J Fr_----------.-----------------~~: _,~--~

~~J
C5:1,ooN
0023

r[--------------~
83:0/14

83:01'7

r[---,,---------lJ r[--------~--------------~
8.=::01'7

~--lJ ~[--------------~
83:0/13

0024

ELAPSED_RUN_ TIM E C5:1 c---------------------------------------{_~RESj-~--~

Rev_ October 1999

~-.1999 Allen-Bradley Company, lnc,


r47sedd

13-8

Editing Ladder Logic Using RSLogix 500'" Software

9.
COMPRSSRS_ENABLE
B3:015

0003

Simulst~d Adjuat.ableTiming R~lsy ClI_SECONDS T9:O,'DN TON : Timer On D~ls~1 Timer W:O Tirne Base 1.0
Pr ea et

~EN .' ':DN~

e;oc:
31<

Accum

COOL_ TIME CTU ~CU~. Counter Pr eo!'! eot Accurn


05::2

10": 1.:

~DN>-

0004

~----------------------------------------------------------~':END)--

; 1999 AllenBradley Company, Inc.

Rev. October 1999 r47sedd

Lesson Printing Using RSLogix 500 Software


What You Will Learn

14

Given a computer configured for printing, you will configure and preview project printouts.

Before You Begin

Print Options
Important: Printing can only be accomplished offline.

RSLogix 500 software provides two options for creating printouts:


If you want to . . . Print the ladder logic of a program file Print multiple program files or additional information such as the database or data files Print View Print Report Then select ...

Rung numbers, documentation, and address formats print according to how they are configured in the Ladder window.

Here's How

To preview project printouts by performing these actions: Preview ladder views Configure reports Preview reports As your instructor demonstrates these procedures, follow along in the RSLogix 500 Procedures Guide.

Exercise

In this exercise, you will preview project printouts. Directions: 1. Go offline to the cool_2 project. (If you did not restore the project from the exercise disk, do so at this time.) 2. Display the project documentation and preview the view of program file 2. 3. Turn off the display of documentation and preview the view of program file 2.

Rev. October 1999

;:. 1999 Allen-BradJey Company, Inc. r47sror

14-2

Printing Using RSLogix 500~ Software

4. Configure and preview a report that includes these items: Processor Information I/O Configuration Channel Configuration Program File 2 Ladder Database Addresses and Symbols

How Did You Do?

If you have any questions, ask your instructor for assistance.

~. 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47sror

Lesson

15

Troubleshooting Noise-Related Problems Using RSLogix 500 Software


What You Will Learn
Given a previously operational SLC 500 system, you will be able to describe the indications and corrective actions regarding noise-related problems.
TM

Before You Begin

1747 SLC 500 Programmable Controllers Troubleshooting Guide


Use the 1747 SLC 500 Programmable Controllers Troubleshooting Guide to diagnose and correct problems occurring with a previously operational SLC 500 modular system. The troubleshooting guide provides the following information: Safety precautions and warnings A flow chart outlining troubleshooting decisions and actions Reference information for completing steps Hardware and software procedures used in diagnosing problems Refer to your troubleshooting guide as your instructor reviews the following sections: Layout of Guide Safety Precautions Legend Initial Troubleshooting Actions The "Getting Started" section of the troubleshooting guide outlines the initial actions that you should perform whenever a malfunction or failure occurs: 1. Ask the operator what happened when the failure occurred. 2. If the problem has occurred before, try the same corrective action(s). 3. Rule out as the cause or repair all apparent machine or process problem(s).

Rev. October 1999

1999 Allen-Bradley Company, Inc.

r47snoi

15-2

Troubleshooting

Noise-Related

Problems Using RSLogix 500'" Software

Noise Diagnosis
Tabs 1 and 2 of the troubleshooting guide provide the initial diagnoses that a problem is related to noise: GeHing Started

Is the problem with your system erratic or intermiHent?

Yes --~:.

Does the problem seem to occur at the same time of the day?

No

~,
Does the problem seem to be linked to a specific process event? No

--

...

Does the problem occur in similar systems in yourf acility?

Noise: Unwanted electrical disturbances imposed upon a signal


tbat tend to obscure its data content.

Memory Corruption Fault: A fault in which noise produces errors in user or firm ware memory. When SLC 500 firm ware detects memory errors, these actions occur: All outputs turn off An empty, default project containing a four-digit fault code replaces the existing project

~ ..1999 Allen-Bradley Company. Inc.

Rev. October 1999 r47snoi

Troubleshooting

Noise-Related

Problems Using RSLogix 500'"

Software

15-3

Example: Memory Corruption Fault


A power source produces line transients that exceed specifications, corrupting the project. All outputs turn off and the processor displays as DEFAULT when viewed through Who Active.

Correcting Noise-Related Problems


The following factors most often produce memory corruption and other noise-related problems: Improper grounding Power transients and fluctuations Miswired communication networks Interference from I/O devices, especially inductive loads Excessive heat

Grounding
Determine if the system is properly grounded: Is paint stripped from all points of contact between the SLC 500 chassis and the mounting' plate? Are ground wires proper size and length? Are ground wires routed away from power wires and potential noise generating devices? .

Rev. October 1999

1999 Allen-Bradley Company. lnc, r47snoi

15-4

Troubleshooting

Noise-Related

Problems Using RSLogix 500

Software

Wiring and Grounding Guidelines


Enclosure Wall Enclosure Wall

Grounding Electrode System (single point only)

Size 12 Internal Star Washers

Scrape paint off panel to

Metal Panel (Connect to ground.)

Incoming Power
Determine if the system has an adequate supply of power: Are excessive power line fluctuations and transients feeding the chassis power supply? Are MOVs used to suppress power fluctuations and transients?

~ 1999 Allen-Bradley Company. Inc.

Rev. October 1999

r47snoi

Troubleshooting

Noise-Related

Problems Using RSLogix 500"" Software

15-5

Communication
Determine if communication networks are properly wired: Are cables correct for all connections? Do 1747-AJCs connect each device on a DH-485 network? Is termination jumper at each physical end of the DH-485 network? Is DH-485 network cable shield grounded at one end? Is termination resistor at each physical end of the DH+ network?
TM

Are communication cables not running in wireways with power wires? Do communication cables cross power wires at 90 degree angles? DH-485 Cable Connections
1747-AIC SLC 5/02
TM

and 5/03

TM

Processors

DH+ Cable Connections


SLC 5/04
TM

Processors

Termination Resistor

\ /
1999 Allen-Bradley Company, Inc. r47snoi

Rev. October 1999

15-6

Troubleshooting

Noise-Related

Problems Using RSLogix 500'"

Software

Inputs and Outputs


Determine if inputs and outputs may be producing electrical interference: Is the power source same for chassis power supply and I/O devices? Are inductive devices properly suppressed? Are modules properly seated and locked?

Heat
Determine if excessive heat may be causing memory corruption: Do chassis have required space for convection cooling? Is enclosure ventilated if ambient temperature is very hot? Is processor protected from hot spots?

Here's How

To troubleshoot noise-related problems: As your instructor demonstrates these procedures using the following examples, follow along in the 1747 SLC 500 Programmable Controllers Troubleshooting Guide. Example One Malfunction Report: The entire system periodically shuts off and must be restarted. The shut-down does not follow a pattern and a similar system at another location does not experience the problem. Example Two Operator reports the following: "The system works fine, except the speed of the output conveyor never changes in response to commands from a pressure sensor."

; 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47snoi

Troubleshooting

Noise-Related

Problems Using RSLogix 500'"

Software

15-7

Exercise

In this exercise, you will diagnose malfunctions of the cool_2 project and determine if they are noise-related. Directions: Determine which of following the malfunctions are noise-related. Discuss your results with the rest of the class: 1. Malfunction Report: The system timer always fails to reset when the damper for zone 3 opens. 2. Operator reports the following: "The system works fine except that every now and then the compressors shut off before the desired temperature is reached." The compressors turn on or off in response to an analog temperature sensor. Operators from other shifts report the same problem. The problem does not occur on a similar system in a different building. 3. Malfunction Report: The damper for zone 4, which uses I/O from a remote I/O chassis, sometimes fails to open in response to the on push button. One operator noticed that the problem is more pronounced when the overhead, electric crane is in operation. 4. Operator reports the following: "The damper for zone 3 occasionally fails to fully open, restricting the supply of cooling air." While investigating the problem, you observe that the damper consistently energizes when it should, but sometimes fails to fully open, causing the problem.

How Did You Do?

Turn the page for the answers. If you have any questions, ask your instructor for assistance.

Rev. October 1999

1999 AllenBradlev Company, Inc.


r47snoi

15-8

Troubleshooting

Noise-Related

Problems Using RSLogix 500

Software

Answers

Exercise
1. The problem is probably not noise-related because it always occurs. 2. The problem is probably noise-related because it is intermittent: the problem occurs "every now and then," the problem occurs on different shifts, and the problem does not occur on a similar system. 3. The problem is probably noise-related because it is intermittent. The remote I/O cable may be improperly wired or placed in a poor location, picking up noise from the electric crane. 4. The problem is probably not noise-related because the output is energizing when it should. The damper is probably sticking or jamming.

For Further Information

You can obtain further information about these factors from the document: Checklist for SLC 5103 and 5104 Memory Corruption and CPU Errors Generated by Noise, available free from Rockwell Automation. For a free copy, contact Rockwell Automation and request document # 9655 at: AutoFax Service at 440-646-6701 Internet website http://www.ab.comlmem/prodserv/ servicesltechnotesltechmain.html

~ 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47snoi

Lesson

16

Troubleshooting Processor and Power Supply Problems Using RSLogix 500 Software
What You Will Learn
Given a previously operational SLC 500 system, you will be able to troubleshoot processor and power supply problems.

Before You Begin

1747 SLC 500 Programmable Controllers Troubleshooting Guide


Use the 1747 SLC 500 Programmable Controllers Troubleshooting Guide to diagnose and correct problems occurring with a previously operational SLC 500 modular system. The troubleshooting guide provides the following information: Safety precautions and warnings A flow chart outlining troubleshooting decisions and actions Reference information for completing steps Hardware and software procedures used in diagnosing problems Refer to your troubleshooting guide as your instructor reviews the following sections: Layout of Guide Safety Precautions Legend
Initial Troubleshooting Actions

The "Getting Started" section of the troubleshooting guide outlines the initial actions that you should perform whenever a malfunction or failure occurs: 1. Ask the operator what happened when the failure occurred. 2. If the problem has occurred before, try the same corrective action(s). 3. Rule out as the cause or repair all apparent machine or process problem(s).

Rev. October 1999

1999 AllenBradley Company, Inc.


r47spop

16-2

Troubleshooting

Processor and Power Supply Problems Using RSLogix 500 ~ Software

Processor and Power Supply Diagnosis and Correction


If the problem is not erratic or intermittent (Tab 1), it is probably not noise-related. Tab lA of the troubleshooting guide provides the initial diagnoses that a problem is related to the processor or power supply: Is the entire system shut down? (Nothing appears to be running.) Yes

Troubleshooting Processor and Power Supply Problems

Modular Processor Front Panel


SLC 5/01
DpCRUN

cpu

SLC 5/02 CPU


gRUN DCOMM PCPUFAULT gFORCEDIlO BATTERY LOW

o CPU FAULT o FORCED 110 o BATTERY LOW

~ 1999 Allen-Bradley Company, Inc.

Rev. October 1999

r47spop

Troubleshooting

Processor and Power Supply Problems Using RSLogix 500

Software

16-3

Processor Battery
SLC 5/01'" and SLC 5/02'" Processors
SLC 5/02

SLC 5/03'" and SLC 5/04'" Processors

cpu

DRUN DCOMM DCPUFAULT

o FORCED 1/0 o BATTERY LOW


Battery Connectors

Battery

Power Supply o

Power LED

Fuse --t+-

Voltage Jumper

Connection Block --H---------

Rev. October 1999

1999 Allen-Bradley Company,lnc.

r47spop

16-4

Troubleshooting Processor and Power Supply Problems Using RSLogix 500 ~ Software

Safety Precautions
ATIENTION:
Remove power from the SLC 500 chassis before accessing the processor or other components. Failure to remove power could cause damage to hardware, or cause personal injury or equipment damage due to unexpected machine operation.

Here's How

To troubleshoot processor and power supply problems: As your instructor demonstrates these procedures, follow along in the 1747 SLC 500 Programmable Controllers Troubleshooting Guide.

Exercise

In this exercise, you will troubleshoot simulated processor and power supply problems. Directions: Initial troubleshooting diagnosis has taken you to Tab 8B of the troubleshooting guide. Complete the troubleshooting process based on the following steps. In Steps 6. and 7., you will establish and clear faults. 1. Assume the following hardware indications: Power supply LED is on. Processor FLT LED is flashing Processor BAIT LED is on. Diagnose and correct the situation: A. To which tab would you proceed?

B. Perform the actions specified by that tab. (Use the existing battery as the replacement battery.)

~ 1999 Allen-Bradley Company. Inc.

Rev. October 1999 r47spop

Troubleshooting

Processor and Power Supply Problems Using RSLogix 500 ~ Software

16-5

2. Starting again at Tab 8B, assume the following indications: Power supply LED is off. All processor LEDs are off. Diagnose and correct the situation: A. What hardware components are you instructed to check?

B. On your workstation, locate each of those items. 3. Starting again at Tab 8B, assume the following indications: Power supply LED is on. All processor LEDs are off. Keyswitch is in the RUN position. Project is not in the suspend mode. Diagnose and correct the situation: A. What actions would you perform?

B. If the RUN LED still remains off, what would you do next?

Rev. October 1999

1999 AllenBradley Company, Inc.


r47spop

16-6

Troubleshooting Processor and Power Supply Problems Using RSLogix 500'" Software

4. Go online to the cool_2 project of your workstation. (If you did not restore and download the project from the exercise disk, do so now.) 5. Start the project by performing these actions: A. Place the processor in Remote Run Mode. B. In the SET_COaL_TIME interval of 60 minutes. C. Press START. 6. To practice clearing a fault, perform these actions: A. To produce a fault, set the watchdog timer (Scan Times tab of the S2 Data File window) to zero. B. Clear the fault. 7. To practice clearing a fault, perform these actions: A. To produce a fault: Set S: 1/11 (Mem Module tab of the S2 Data File window). Turn off the power to the chassis. If a memory module is installed in the processor, remove the memory module from the processor and then replace the processor. Turn on the power to the chassis. thumbwheel, enter a time

B. Clear the fault.

How Did You Do?

Turn to the end of the lesson for the answers. If you have any questions, ask your instructor for assistance.

'; 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47spop

Troubleshooting Processor and Power Supply Problems Using RSLogix 500 'M Software

16-7

Rev. October 1999

~!

1999 Allen-Bradley

Company, Inc. r47spop

16-8

Troubleshooting

Processor and Power Supply Problems Using RSLogix 500'"

Software

Answers

Exercise
1. A. Tab 8J

2.
A. Power supply fuse Power supply wiring terminals Power supply jumper

3.
A. Disconnect power to the power supply. Reseat the power supply and processor. Connect power to the power supply Place the processor in the Run or Remote Run mode. B. Replace processor and verify operation. If problem persists, replace chassis.

-....

'; 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47spop

Lesson

17

Troubleshooting Discrete I/O Problems Using RSLogix 500 Software


What You Will Learn
Given a previously operational SLC 500 system, you will be able to troubleshoot discrete I/O problems.
TM

Before You Begin

1747 SLC 500 Programmable Controllers Troubleshooting Guide


Use the 1747 SLC 500 Programmable Controllers Troubleshooting Guide to diagnose and correct problems occurring with a previously operational SLC 500 modular system. The troubleshooting guide provides the following information: Safety precautions and warnings A flow chart outlining troubleshooting decisions and actions Reference information for completing steps Hardware and software procedures used in diagnosing problems Refer to your troubleshooting guide as your instructor reviews the following sections: Layout of Guide Safety Precautions Legend
Initial Troubleshooting Actions

The "Getting Started" section of the troubleshooting guide outlines the initial actions that you should perform whenever a malfunction or failure occurs: 1. Ask the operator what happened when the failure occurred. 2. If the problem has occurred before, try the same corrective action(s). 3. Rule out as the cause or repair all apparent machine or process problem(s).

Rev. October 1999

1999 AllenBradley Company, Inc. r47sdid

17-2

Troubleshooting

Discrete I/O Problems Using RSLogix 500 ~ Software

Discrete 1/0 Diagnosis and Correction


If the problem is not erratic or intermittent (Tab 1), it is probably not noise-related. Tabs lA and 3 of the troubleshooting guide provide the initial diagnoses that a problem is related to discrete I/O: Is the system running but 1 or 2 devices r-appear to have failed? Is the malfunctioning device ___ controlled by a Discrete Output Yes --~Module? See Appendix B, C, J

Yes

~ Troubleshooting Discrete 1/0

Status and Fuse Indicators Status and fuse indicators provide additional diagnostic information:

Fuse Indicator
OUTPUT OUTPUT

Status
Indicator

mm --+-+-- IT] IT] mm

o
[!][ID WJ

mm

wHill OIJ[ID

4 5 6 7

8 9 10 11

12 13 14 15

1 AMP DC SOURCE

'2 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47sdid

Troubleshooting

Discrete I/O Problems Using RSLogix 500

Software

17-3

Here's How

To troubleshoot discrete I/O problems: As your instructor demonstrates these procedures, follow along in the 1747 SLC 500 Programmable Controllers Troubleshooting Guide.

Exercise

In this exercise, you will troubleshoot discrete I/O problems. Directions: Diagnose the following malfunction scenarios for the cool_2 project and determine the corrective actions. For each scenario: Read through the scenario. Diagnose the cause of the malfunction. Check off the appropriate corrective actions. No JSRs, MCRs, JMPs, or Forces are contributing to any problems.

Rev. October 1999

~. 1999 Allen-Bradley

Company, Inc. r47sdid

17-4

Troubleshooting Discrete I/O Problems Using RSLogix 500'" Software

1. Operator reports the following: "The system is running hut only warm air is coming out. The temperature gauge indicates that the stage 1 compressor should be on, but it doesn't sound like it's running." Upon further investigation, the hardware reveals the following situation:

1746-0816

Corrective action(s): Check the power to block. -----

on the terminal

If this is an output module, check the field power to the module on the terminal block. to

o Check o Reseat

o o Verify field wiring


module

------

for proper operation. and verify operation. persists, replace module


----

o If the problem

';: 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47sdid

Troubleshooting

Discrete I/O Problems Using RSLogix 500"" Software

17-5

2. Malfunction Report: Stage 2 compressor is not turning on when supply air temperature reaches 50 C.
0

The supply air temperature is currently above 50 C, and upon further investigation, the hardware reveals the following situation:

STAGE 2 COMP
CO~~PRSSRS_EWIBLE B;:O~
'_M""~ "."'iii'!' _;;;-,

I
sUP AJR TEMP

SUPAJR TB,~P

~GEO
Grtr

-=-GRT------,

'-r--..--I

Than or &jl (A?- B:', 1---,---\ SOIH'Ce A t-J, 11 M<


SOIJI'DI2

STJ\J3E_'_COMP 0:40"; Greeter Than (A> B) 1--!!Ol!1MiIi!!( )')-----.--1 Source A N7.1 1 Mc


Source & ~J7 " 3(J-!:

N7::8 35<

ST,~(;E_'_ COMP

~~-"~' c~~~----~
SUP_AJR_TBV\P
-,-,..-GEQ-----, Grtr Than or &jl ,.<I:"
$QtJro~

O~:O'::

B) t--..--!

SUP_~JR_T8,~P ,..-GRT----, G",al.r Ihan (A> B)


SQIJfl;e

STAGE_2_COMP

t----'< >'

Q:4.0rr,

-'

.A.

N7.11

A El

Nl.'O

S(lIJ("(:2

Nl.21 54<: N1.11

1746-0816

45'

Sl'WE_"_CQMp 040""
,-oJ

"'F=="------'

Corrective action(s):

o on the terminal o If this is an output module, check the field power to the module on the terminal block. o Verify field wiring to -----o Check for proper operation. o Reseat module and verify operation. o If the problem persists, replace module ---Check the power to block. -----

Rev. October 1999

1999 Allen-Bradley Company, Inc. r47sdid

17-6

Troubleshooting

Discrete I/O Problems

Using RSLogix 500

Software

3. Operator in zone 3 reports the following: "I press the button to open the air damper and let cool air in, but it doesn't open." According to the wire label, zone 3 damper's symbol is DAMPER_ZONE_3. At the module, its status indicator is off. Online, the ladder logic displays as follows:
flILAO 2 MAUl CtlTIU..
OH]8_l0NE.1 13 0i9 0014 ON_P9_l0IlE.2 130/11 I<EW.ZO~IE.OSR 8J 016 OIR f----1

I!IlIIjII3

ON'p8_l0IlE.3 13

om

ON_P~_:::OflE.4 130/15

flLAO

2 . MAlt. CtlTRL
flEW_ZOtiE_DPEtl EOU----,

IlIilI3

00 I~

Sourct! [lest lO 11G_lOlJE_DPEN 3< HT ts 1<

sou
S(lurce Cl rl7 11:,

L!.LJ
3<

144JON

O",,",PER.ZONE_3 o 4.0/l?

Il<LJ

Corrective action(s): Check the power to block. -----

on the terminal

If this is an output module, check the field power to the module on the terminal block.

o Check for proper operation. o Reseat module and verify operation. o If the problem persists, replace module ----

o Verify field wiring to -------

~ 1999 AllenBradley Company. Inc.

Rev. October 1999 r47sdid

Troubleshooting Discrete I/O Problems Using RSLogix 500'" Software

17-7

4. Malfunction Report: Stage 2 compressor is not turning off when supply air temperature drops below 45 C. Upon further investigation, the hardware reveals to following situation:

1746-0816

Corrective action(s): Check the power to block. -----

on the terminal

If this is an output module, check the field power to the module on the terminal block.

o Check

o Verify field wiring to ------

o Reseat module o If the problem persists,

for proper operation. and verify operation. replace module


----

Rev. October 1999

1999 Allen-Bradley Company, Inc.


r47sdid

17-8

Troubleshooting

Discrete I/O Problems Using RSLogix 500

Software

5. Malfunction Report: Both compressors remain on after the


timer has stopped timing. At the module, you find that their status indictors are on. Online, the ladder logic displays as follows:

nm:~~tt
Preset
I:c.cum

Del.y

~N>-

l!1

'rimer 0 PEr< OUT_OAlAP ER L.-t" lilM 9a.~ 1.0 r",~r")!:jI


3<
(l(

.;....;!

_TOfl

-,

/------....,

limer OnDelay ~'EN>TimerSTART SYS DELAY lil,.,.9... 1.0


Pras et .sccurn 3< :)(

fo::oN'..,

COMPRSSRS

EN"FLE

.,

;;;~~O-OUIME

Jr-"
I'------.----.---1
,-GEQ------,

..1

G~r n.ar. or lOllCA," 9)


Source Source A SUP _.AlP._TBu1P ~. B STAGE_I_H 10H J~{

I-----,-----i

,--GRT------, C"'ator Thao (A>9)


soorcs A SUP _.AIR_ TBulP 5W Source B SlADE_I_LOIn!

I----!II(~--_,_____l

STADE~I,_COMP

3D'

,--GEQ-------,

,--ORT

--,

~.--

Grtr Iban or Eql CA)' Si ~O"'H A SUP -,"lA_TEMP


5ct( Source ~ STAGE_l_HIOH

1----,---/

Greater Than (A>8) ~ourc. A SIJP _.AJR_TBAP


64-< Source

STADE_Z_LOW

50'

40<

STAGE .i 2i;;1!t'l-,COMP ~

,_

illTh~~III.C"TRlj

.off""
Corrective action(s): Check the power to block. -----

.c

on the terminal

If this is an output module, check the field power to the module on the terminal block. Verify field wiring to

o o -----o Check for proper operation. o Reseat module and verify operation. o If the problem persists, replace module -----

~ 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47sdid

Troubleshooting Discrete I/O Problems Using RSLogix 500'"

Software

17-9

6. Operator in zone 3 reports the following: "I press the button to open the air damper and let cool air in, but it doesn't open." Upon further investigation, the hardware and software reveal the following situation:

17461816
INPl

17460816
OUTPUT

OiJrnrnB21

.rnlEli2l
(J] [j]

rn.Wl. "--_ ....


_LAD

(J][[J(]][j] [2J[]]Wi1GAJ
-./
2 - MAIN CtlTRL NEW_ZONE_OPEI-l
EQU----, OFF _DELAY _ZONE_3 TOF----,

.[]]WiGAJ

rnUlWl
.....

../

J!l!l1il1'3

i------,--y-...,

&.iual
Source A. Sourc-:! El N7 :15

Timer

4<

nme Base
fJre:set
.eccum 80<

80~

Sourco Po, Sourc-e El

~j7 : 1~

1(
3 ~<

OI'MPER_ZOfIE_3
T4:410N 0:4.0113

1---------------( OFF _OELAY_ZO!I~_4


EQU----, Source A. Source El N7: 1~: 4< 4 4< TOF----, Timer

Time Base
Preset: .eccurn 80< 0<

LOfIG

ZOtjE OPE!I
-EQU----

5lual Sourc~ A

~a :16
1<

Sou",~ ~

4
4<

DftMPER_ZOUE3
T4:5IDN

~, !JJ.I

0:4.0115

(Software Screen Continued On Next Page)

Rev. October 1999

1999 Allen-Bradley

Company, Inc. r47sdid

17-10

Troubleshooting

Discrete I/O Problems Using RSLogix 500 ~ Software

(Software Screen Continued From Previous Page)


rlLAD2 -MAItI CIHRl
ON_P9 _ZONE_l 1:3.1J~ NE\fII_ZmIE_oSR

.... .... " ..--........... ,.::,.;-"': ...,,


,

..... ..

~
93:012

nOOE3

NE\JI.(_ZONE

LOliG_ZONE_OPEN

OP.tP9_Z01H~_2
1:3.0111

93:018 OS R f------i

~O'v'
source Ni": 15
4<

ON_PB_ZO'~E_3 1:3.D/13

(Jest

N7:1l'
1<

ON_PB_ZONE_ 4
13.0115

tlE'lQI_ZONE_OP EN
,AOV

1< (Jest N7:15

41

Source Oes:!

Z 21 NT:lfo

SOlJrce
(Jest

3 3<
N7:15 4<

NE\IlI_ZONE_OPEN
OV
source [lest 4 4< N7:15 4<

ILtLJ
Corrective action( s): Check the power to block. -----

o o If this is an output module,


to

on the terminal check the field power to the

module on the terminal block.

o Verify field wiring o Check o Reseat module

------

for proper operation. and verify operation.


----

o If the problem
How Did You Do?

persists, replace module

Turn to the end of the lesson for the answers. If you have any questions, ask your instructor for assistance.

:; 1999 AllenBradley Company, Inc.

Rev. October 1999


r47sdid

Troubleshooting Discrete I/O Problems Using RSLogix 500"" Software

17-11

Rev. October 1999

1999 Allen-Bradley

Company, Inc. r47sdid

17-12

Troubleshooting

Discrete I/O Problems Using RSLogix 500"'

Software

Answers

Exercise
1. Since the compressor's output status indicator is on, the problem is most likely with the device; therefore, these steps would be appropriate: ~ Check the power to block. 0:2.1/5 on the terminal

~ If this is an output module, check the field power to the module on the terminal block. ~ Verify field wiring to ~ Check 0:2.1/5 0:2.1/5 for proper operation. and verify operation. replace module
----

o Reseat module o If the problem persists,

2. Because the ladder logic is energizing STAGE_2_COMP, but the output status indicator is off, the problem is most likely related to the output module; therefore, these steps would be appropriate: Check the power to block. -----

on the terminal

If this is an output module, check the field power to the module on the terminal block.

o Verify field wiring o Check


~ Reseat module 2

to

-----

for proper operation. and verify operation.


---

~ If the problem persists, replace module

3. Since the ladder logic is not energizing the zone 3 damper (0:4/13), the problem is probably input related; therefore, these steps would be appropriate: ~ Check the power to I: 1.1/3 block. -----on the terminal

If this is an output module, check the field power to the module on the terminal block. ~ Verify field wiring to I: 1.1/3 ~ Check 1:1.1/3 1 for proper operation. and verify operation.
---

~ Reseat module

~ If the problem persists, replace module

:; 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47sdid

Troubleshooting Discrete I/O Problems Using RSLogix 500'" Software

17-13

4. Since tbe output status indicator for STAGE_2_COMP is off, the problem is most likely related to the device; therefore, these steps would be appropriate: ~ Check the power to 0:2.1/6 -----block. on the terminal

~ If this is an output module, check the field power to the module on the terminal block. ~ Verify field wiring to ~ Check 0:2.1/6 0:2.1/6 for proper operation. and verify operation. replace module

o Reseat module o If the problem persists,

----

5. Both compressors remain on because input conditions are causing rung continuity; therefore, these steps would be appropriate: ~ Check the power to COOL_TIME_ON block. on the terminal

If this is an output module, check the field power to the module on the terminal block. ~ Verify field wiring to COOL_TIME_DN. ~ Check COOL_TIME_DN for proper operation.

o Reseat module

and verify operation. If the problem persists, replace module


----

6. The rung controlling the zone 3 damper is not going true because ON_PB_ZONE _4 remains on; therefore, these steps would be appropriate: ~ Check the power to 1:1.1/15 block. -----on the terminal

If this is an output module, check the field power to the module on the terminal block. ~ Verify field wiring to ~ Check 1:1.1/15 1:1.1/15. for proper operation. and verify operation. replace module
----

o Reseat module o If the problem persists,

Rev. October 1999

~ 1999 Allen-Bradley Company, Inc.


r47sdid

17-14

Troubleshooting Discrete I/O Problems Using RSLogix 500 ~ Software

;; 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47sdid

Lesson Troubleshooting Analog I/O Problems Using RSLogix 500 Software


What You Will Learn

18
TM

Given a previously operational SLC 500 system, you will be able to troubleshoot analog I/O problems.

Before You Begin

1747 SLC 500 Programmable Controllers Troubleshooting Guide


Use the 1747 SLC 500 Programmable Controllers Troubleshooting Guide to diagnose and correct problems occurring with a previously operational SLC 500 modular system. The troubleshooting guide provides the following information: Safety precautions and warnings A flow chart outlining troubleshooting decisions and actions Reference information for completing steps Hardware and software procedures used in diagnosing problems Refer to your troubleshooting guide as your instructor reviews the following sections: Layout of Guide Safety Precautions Legend
Initial Troubleshooting Actions

The "Getting Started" section of the troubleshooting guide outlines the initial actions that you should perform whenever a malfunction or failure occurs: 1. Ask the operator what happened when the failure occurred. 2. If the problem has occurred before, try the same corrective action(s). 3. Rule out as the cause or repair all apparent machine or process problem(s).

Rev. October 1999

1999 AllenBradley Company, Inc. r47slog

18-2

Troubleshooting Analog I/O Problems Using RSLogix 500~ Software

Analog 1/0 Diagnosis and Correction


If the problem is not erratic or intermittent (Tab 1), it is probably not noise-related. Tabs lA and 3 of the troubleshooting guide provide the initial diagnoses that a problem is related to analog I/O: Is the system running but 1 or 2 devices r-appear to have failed? Is the malfunctioning device controlled by a Discrete Yes ---II.~ Output Module? See Appendix B, C, J

Is the malfunctioning device controlled by an Analog Module? See Appendix M

Yes ----~

Troubleshooting L-.._A_n_al_o.=..g ..:..I/O_~

Diagnostic Tests
Test analog output modules with either an ammeter or a voltmeter: Voltage Module
Voltmeter

Current Module

u
POWER
ANALOG

ern

Disconnected

Disconnected

For 1746-N04I or -N04V modules, verify the position of the power switch: External 24 VDC Power Selector

[LjJ
Backplane

Sw1

.~ 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r475109

Troubleshooting

Analog I/O Problems Using RSLogix 500'"

Software

18-3

Test output devices with an output source:


[ Actuator

tCurrent Module

Test analog input devices with either an ammeter or a voltmeter: Voltage Module
Voltmeter
_LNP\
POWER

=
OIIN O. IIINO21 ANLCOM 311N 1+ ~INI51ANLCOM 611N 2. I7IIN2SIANLCOM 91 IN 3.

Ammeter

_1Nl'
POWER

=
101IN O. IIINO21ANLCOM 3 IN I. 411N 151ANLCOM 611N2t ImIN2SIANLCOM 911N3. 10l1N3IIIANLCO~

ANALOG

ANALOG

'0
~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~

Disconnected

+
/
Disconnected / /

~ ~ ~

r--~=-

//

~ ~ ""

101 IN 3I1lANL CQ1,

i
~ ~ '-=

'-.

Test analog input modules with an output source:


INPUT
POWER

=
t::...
(01 IN 0+ (11INO-

+1
~ Voltage OR Current Source

ANALOG

+ !

-I

r0l

Sensor

~'--------

o ---------

~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

121 ANLCOM
131IN 1+ 4) IN 1-

I (51ANLCOM I(6)IN 2+
LmIN21(8)ANLCOM LffiiIN 3+

I (10) IN 3-

I (I1)ANLCOM
R

Rev. October 1999

1999 Allen-Bradley Company, Inc. r475109

18-4

Troubleshooting Analog I/O Problems Using RSLogix 500 ~ Software

Here's How

To troubleshoot analog I/O problems: As your instructor demonstrates these procedures, follow along in the 1747 SLC 500 Programmable Controllers Troubleshooting Guide.

Exercise

In this exercise, you will work through several analog I/O problems for the cool_2 project that relate to the following report by an operator: "The temperature gauge does not agree with the actual air temperature and appears to be malfunctioning." The following information is provided for your reference as you complete the exercise:

Takes the value from the analog input that measures the temperature of the supplv air (1:7.0) and displays it on the supply air temperature gauge (0:7.0) as a temperture between 0 . 100 degrees C . .~Ialog supply air temperature gauge

---M 0V----------,

1--------------1

tl.~)ve Source Dest

SUP _.AJ R_ TH ERMST.AT

17584<
.AJ R_Ts..~P_GAG E

17594<

.; 1999 Allen-Bradley Company, In'

Rev. October 1999 r47sl09

Troubleshooting

Analog 1/0 Problems Using RSLogix 500'"

Software

18-5

Directions: 1. After determining that there are no obvious problems and reviewing Tabs 1 and lA, to which next two tabs would you refer?

2. At the SLC 500 chassis you find the module power LED is off and the power supply LED is on. What would you do to resolve the problem?

3. Alternately, at the SLC 500 chassis you find the module power LED is on and the data file shows the data changing. A. Which tab would you refer to next?

B. While completing the steps from that tab, you determine that the meter does not show a change that corresponds to a change in the output address. What would you do to resolve the problem?

C. If the meter referred to in Step B. does show a change that corresponds to a change in the output address, to which tab would you refer to next?

Rev. October 1999

( 1999 AllenBradley Company, Inc. r47sl09

18-6

Troubleshooting Analog I/O Problems Using RSLogix 500'" Software

4. At the SLC 500 chassis you find both the power supply LED and the module power LED are on (Tab 6), but the data file does not show the data changing. A. Which tab would you refer to next?

; 1999 Allen-Bradley Company, Inc.

Rev. October 1999


r475109

Troubleshooting

Analog I/O Problems Using RSLogix 500 'M Software

18-7

B. While completing the steps from that tab, you determine that the meter does not show a change that corresponds
to a change in the output address. What would you do to resolve the problem?

C. While completing the steps from that tab, you find the module light on but the meter does not show a change that corresponds to a change in the input device. What you would do to resolve the problem?

D. If the meter referred to in Step C. does show a change


that corresponds to a change in the input device, to which tab would you refer to next?

How Did You Do?

Turn to the end of the lesson for the answers. If you have any questions, ask your instructor for assistance.

Rev. October 1999

1999 Allen-Bradley Company.lnc.


r475109

18-8

Troubleshooting Analog I/O Problems Using RSLogix 500'" Software

Answers

Exercise
1. Tabs 3 and 6 2. Remove power from the power supplies and I/O devices for module 7. Reseat module 7. If problem persists, replace module 7.

3.
A. Tab 6A B. Shut down the system. Reseat module 7. If problem persists, replace module 7. C. Tab 6C

4.
A. Tab 7. The ladder logic takes the data from SUP _AIR_THERMSTAT, an analog temperature input, and moves it to AIR_TEMP _GAGE, the analog temperature gauge. C. Repair and or replace input device or wiring. Check cable routing. D. Tab 7A

.~. 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47slog

Lesson

19

Troubleshooting and Maintaining Integrated Practice Using RSLogix 500 Software


What You Will Learn
Given a malfunctioning SLC 500'" system, you will produce an operational system and perform routine project maintenance.

Exercise

After a routine maintenance shut-down, you are assigned to test and verify that the cool_3 project operates correctly. Additionally, engineering has provided a hard-copy markup of ladder logic changes that you must make on line once the system is up and running. As you proceed with the exercise, follow these guidelines: Correct any problems you identify. Clear any faults that may occur. To assist in determining the addresses of symbols, display the cross-reference report and sort it by symbols. Perform forcing procedures as needed. Make the recommended edits online. If required, use the backup copy of the cool_3 project, included on the exercise disk. Directions: 1. Go online to the cool_3 project of your workstation. 2. Test the operation of the cool_3 project by completing the
following checks:

A. Place the processor in Remote Run mode. B. Verify that DAMPER_ZONE_l are open (on). and DAMPER_ZONE_2

C. In thumbwheel SET_COOL_TIME, of 60 minutes.

enter a time interval

D. Press START and verify that OUT_DAMPER opens (turns on). E. Verify that TIMER_DISPLAY is incrementing. (It increments is one minute intervals.) AIR_TEMP _GAGE is calibrated so that each one VDC equals

lOe.
F. Verify that analog output AIR_TEMP _GAGE correctly registers the temperature supplied by analog input SUP AIR THERMSTAT:

Rev. October 1999

1999 Allen-Bradley Company, Inc. r47sfip

19-2

Troubleshooting and Maintaining Integrated Practice Using RSLogix SOON Software

When SUP _AIR_THERMSTAT is all the way to the left, AIR_TEMP _GAGE indicates zero (0 C). When SUP _AIR _THERMSTAT is all the way to the right, AIR_TEMP _GAGE indicates full scale (100 C). and

G. Verify that the first compressor, STAGE_l_COMP, FAN turn on at 35 C.

H. Verify that STAGE _1_ COMP and FAN turn off at 30 C. I. Verify that the second compressor, STAGE_2_COMP, turns on at 50 C.

J. Verify that STAGE_2_COMP turns off at 45 C.


K. Momentarily turn on (then off) ON_PB_ZONE_3

and

verify the following: DAMPER_ZONE_3 DAMPER_ZONE_2 verify the following: DAMPER_ZONE_ 4 opens (turns on) DAMPER_ZONE _1 closes (turns off) opens (turns on) closes (turns off)

L. Momentarily turn on (then off) ON_PB _ZONE _4 and

M. Momentarily turn on (on then off) ON _PB_ZONE _1 and verify the following: DAMPER_ZONE_l DAMPER_ZONE_3 opens (turns on) closes (turns off) and

N. Momentarily turn on (then off) ON_PB_ZONE_2 verify the following: DAMPER_ZONE_2 opens (turns on) DAMPER_ZONE_ 4 closes (turns off)

O. Verify that the following occurs when the timer times out:

To expedite the time-out, in SET_COOL _TIME, enter a value one minute greater than the current display on TIMER DISPLAY. STAGE_l_COMP off and STAGE_2_COMP, if on, turn

After the compressors turn off, outside air damper closes

3. Once the system checks out according to Step 2., create a custom display that monitors the following addresses: B3:0/5 I:1.0TWl (in hexadecimal radix) N7:22 N7:23 N7:24 C5:2.PRE 4. In N7:23, enter 15.
~ 1999 Allen-Bradley Company, Inc. Rev. October 1999 r47sfip

Troubleshooting and Maintaining Integrated Practice Using RSLogix 500'" Software

19-3

5. In N7:24, enter 60. 6. While online in the Remote Run mode, edit the project: A. Using the following markup, edit program file 3:
Firs: Pass
S2:11\5 0000

TIMF IN CHECK
- EQU Equal Source /\

~
N7:20 21< I: 1.0 ~I<

Fro~~~DSource
I)"S\ OOI5h<

TWl

!,

1_

Source 8

iI PR~ '" 1)<,

7" 22

TIME IN CHECK --: :VIO\'0001 Move

Source Dest

I: 1.0
21<

N7:20
21<

COMPRSSRS ENA8LE 83/5

CL SECONDS TO\! -Timer On Delay Timer Time Base Preset Accum

EN

-,i
I
I

T9,bl
10 60< 0<

DN -

0003

Rv,,:>
(ou"'-\-!.
(OO\\f\~

(0", fl'\c.J
"""i'lu~
IJ",I~

A~J,"ts.~ '\)tSCI"~t'\
\-~Q.+

-t~
r\,)f\t'\\,,~

l,,~~~ot
::oo\;,,~ "~I
~[\\ NI'\

+;rt'\t.
0\-

,,",o.s.

'oCLl'\

~ir'lc.
0. t)tl...)

it e.,t"c.r ~~r~Q
"Z.o~c.
O~tI\~

Ot"

B. Enter the following logic between rungs 3:1 and 3:2:

Rev. October 1999

~ 1999 Allen-Bradley Company, Inc.


r47sfip

19-4

Troubleshooting and Maintaining Integrated Practice Using RSLogix 500

Software

d'
~~ ~
CC'" '0(1\
f'\

When thumbwheel

Timer Input Check value is 15-60 minutes. enters value in system timer preset (C5:2.PRE)

'it?
"f\~

Test i~thu~l~wheel value IS with m

limits

(Of ~
.~~

--

COOL_TIME_INPUT L1M --_ Limit Test Low Lim N7:23

Length of time cooling unit will run -MOV- Move Source Dest

N7:2~ C5:2.PRE IS<

f--

~\.
Test High Lim

0<
N7:22

0<1

0<
N7:24 0<1

When thumbwheel value is less than IS minutes. enters 15 minutes in system timer preset (CS:2.PRE) Test ifthumbwheel value is less than Length of time limit cooling unit will COOL TIME INPUT run ---LES---. MOV Less Than (A<B) Move Source A N7:22 Source 0< Source B N7:23 Dest 0< 15<

When thumbwheel value is greater than 60 minutes. enters 60 minutes in system timer preset (C5:2.PRE) Test ifthumbwheel value is greater Length of time than limit cooling unit will COOL TIME INPUT run ---GRT--MOV / Greater Than (A>B) Move Source A N7:22 Source N7:24 0< 0< Source B N7:24 Dest C5:2.PRE / 0< 15< ,

C. Using the custom display created in Step 3., test the edits to ensure that they perform as described in the accompanying documentation. D. If the edits perform as required, assemble the rungs. E. Enter the accompanying documentation. 7. Save the project and enter a revision note. 8. Backup the project, storing the backup in the folder identified by your instructor.

How Did You Do?

Turn to the end of the lesson for the answers. If you have any questions, ask your instructor for assistance.

f: 1999 Allen-Bradley

Company, Inc.

Rev. October 1999 r47sfip

Troubleshooting and Maintaining Integrated Practice Using RSLogix 500'" Software

19-5

Rev. October 1999

1999 Allen-Bradley

Company, Inc. r47sfip

19-6

Troubleshooting

and Maintaining Integrated Practice Using RSLogix 500'" Software

Answers

Exercise
System Timer Adjustment and Display Verifies that thumbwheel input is the same for two program scans First Pass TIME IN CHECK COOL TIME INPUT ---FRDS2:1115 -- --EQU f-----, ,Equal - -From BCD Source A N7:20 Source TW1 21< 0015h< Source B 1:1.0 Des! N7:22 21< O<!

0000

I
I

---~---

0001

TIME IN CHECK ~MOV--

I Source
Dest

~~~~e

TW1

21<1 N7:20 i 21< -----,

Timer Input Check : When thumbwheel value is 15-60 minutes. enters value in system timer preset (C5:2.PRE) Test ifthumbwheel value is within limits COOL TIME INPUT -LIM~- -Limit Test Low Lim N7:23 , 0< Test N7:22 0< High Lim N7:24 0<1 Length of time cooling unit will run --MaY Move Source Dest

0002

N7:22 0<1 C5:2.PRE I 15<

0003

When thumbwheel value is less than 15 minutes. enters 15 minutes in system timer preset (C5:2.PRE) Test ifthumbwheel val ue is less than Length of time limit cooling unit will COOL TIME INPUT run ,-----=-LES --~ M~~OV ---I Less Than (A<B) fI Source A N7:22 I Source N7:23 0< 0< Source B N7:23 I Dest C5:2.PRE 0<1 15<

L~
!

When thumbwheel value is greater than 60 minutes. enters 60 minutes in system timer preset (C5:2.PRE) Test ifthumbwheel value is greater Length of time than limit cooling unit will COOL TIME INPUT run 0004
r- - - -

Gr~a?e~i~an Source A Source B

(A;s)i,

_~~OV

N7:22 0< N7:24 0<.

I,

::~~ce Dest

N7:24 0< C5:2.PRE 15<

; 1999 Allen-Bradley

Company, Inc.

Rev. October 1999

r47sfip

Troubleshooting and Maintaining Integrated Practice Using RSLogix 500 ~ Software

19-7

0005
I

Adjustable Timing Relay Counts minutes that the cooling unit has been running since it either started or a new zone opened Flag enabling thermostat to control compressors COMPRSSRS ENABLE B3/5 - ~ t ----_

I
i

One minute timer CU SECONDS RTO ----, Retentive Timer On Timer T9:0 Time Base 1.0 ~ Preset 60<' Accum 0<

l-

EN

DN

ONE MINUTE UP
--

T9:01DN ---j I

Lenght of time cooling unit will run COOL TIME ----CTU Count Up Counter Preset Accum

CU C5:2
15< DN

3< One minute timer CU SECONDS - T9:0

L
0006

RES
TOD ToBCD Source Dest

CS:2.ACC 3<
LED1

OOOlh<

0007

END

Rev. October 1999

1999 Allen-Bradley

Company, Inc.

r47sfip

19-8

Troubleshooting and Maintaining Integrated Practice Using RSLogix 500'" Software

; 1999 Allen-Bradley Company, Inc.

Rev. October 1999 r47sfip