100% found this document useful (4 votes)
37 views78 pages

PLC Programming With RSLogix 5000pdf Download

The document is a guide for programming Allen-Bradley ControlLogix and CompactLogix PLCs using RSLogix 5000, covering setup, programming, and troubleshooting. It includes a sample project on chemical batching to illustrate practical application, along with detailed explanations of hardware, software, and ladder logic. The book aims to equip readers with the skills to create and modify PLC programs effectively.

Uploaded by

izepcolca
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (4 votes)
37 views78 pages

PLC Programming With RSLogix 5000pdf Download

The document is a guide for programming Allen-Bradley ControlLogix and CompactLogix PLCs using RSLogix 5000, covering setup, programming, and troubleshooting. It includes a sample project on chemical batching to illustrate practical application, along with detailed explanations of hardware, software, and ladder logic. The book aims to equip readers with the skills to create and modify PLC programs effectively.

Uploaded by

izepcolca
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 78

PLC Programming with RSLogix 5000 download

https://ebookball.com/product/plc-programming-with-
rslogix-5000-18450/

Instantly Access and Download Textbook at https://ebookball.com


Get Your Digital Files Instantly: PDF, ePub, MOBI and More
Quick Digital Downloads: PDF, ePub, MOBI and Other Formats

Object Oriented Programming with Java 1st edition By Hanumanth Ladwa


ISBN 8450193403 9788450193403

https://ebookball.com/product/object-oriented-programming-with-
java-1st-edition-by-hanumanth-ladwa-
isbn-8450193403-9788450193403-25034/

Fundamentals of Computer Programming With C 1st Edition by Svetlin


Nakov ISBN 9544007733 9789544007737

https://ebookball.com/product/fundamentals-of-computer-
programming-with-c-1st-edition-by-svetlin-nakov-
isbn-9544007733-9789544007737-15862/

Beginning Object Oriented Programming with C 1st Edition by Jack


Purdum 1118336925 978-1118336922

https://ebookball.com/product/beginning-object-oriented-
programming-with-c-1st-edition-by-jack-
purdum-1118336925-978-1118336922-15290/

Hands on system programming with C 1st Edition by Rian Quinn ISBN


9781789131772 1789131774

https://ebookball.com/product/hands-on-system-programming-
with-c-1st-edition-by-rian-quinn-
isbn-9781789131772-1789131774-20234/
Introduction to Game Programming with C 1st Edition by Alan Thorn ISBN
1598220322 9781598220322

https://ebookball.com/product/introduction-to-game-programming-
with-c-1st-edition-by-alan-thorn-
isbn-1598220322-9781598220322-25226/

An Introduction to Object Oriented Programming With Java 5th Edition


by Thomas Wu 0073523305 9780073523309

https://ebookball.com/product/an-introduction-to-object-oriented-
programming-with-java-5th-edition-by-thomas-
wu-0073523305-9780073523309-17244/

An Introduction to Object Oriented Programming With Java 5th Edition


by Thomas Wu 0073523305 9780073523309

https://ebookball.com/product/an-introduction-to-object-oriented-
programming-with-java-5th-edition-by-thomas-
wu-0073523305-9780073523309-15256/

Introduction to 3D Game Programming with DirectX 11 1st edition by


Frank Luna 1937585964 9781937585969

https://ebookball.com/product/introduction-to-3d-game-
programming-with-directx-11-1st-edition-by-frank-
luna-1937585964-9781937585969-25192/

An Introduction to Object Oriented Programming With Java 5th Edition


by Thomas Wu 0073523305 9780073523309

https://ebookball.com/product/an-introduction-to-object-oriented-
programming-with-java-5th-edition-by-thomas-
wu-0073523305-9780073523309-15330/
PLC Programming with
RSLogix 5000
How to Program Allen-Bradley
ControlLogix and CompactLogix PLCs with
Rockwell Automation’s RSLogix 5000

By Neal Babcock
engineer-and-technician.com
Copyright 2009 Modern Media
Contents
Introduction ..................................................................................................................... 4
PLCs ............................................................................................................................... 5
Hardware......................................................................................................................... 6
ControlLogix Processor................................................................................................ 6
I/O Modules.................................................................................................................. 6
Software .......................................................................................................................... 7
Getting The RSLogix 5000 Software............................................................................ 7
Ladder Logic ................................................................................................................... 7
The Dialect of PLCs ........................................................................................................ 8
Equivalent Logic ............................................................................................................ 12
Project Scope................................................................................................................ 14
Summarizing the Scope ................................................................................................ 20
Which PLC? .................................................................................................................. 21
Lay Out The I/O............................................................................................................. 21
Assigning I/O Addresses ............................................................................................... 23
Running RSLogix .......................................................................................................... 24
Tags ........................................................................................................................... 35
Adding Descriptors To Your I/O ................................................................................. 37
Writing the Program ...................................................................................................... 42
Ladder View ............................................................................................................... 42
Setting Up An Overall Control Rung .......................................................................... 42
Starting a Batch Cycle ............................................................................................... 57
Batching Steps........................................................................................................... 67
Step 1 – Adding City Water........................................................................................ 67
The Tag Database ..................................................................................................... 70
Analog Inputs ............................................................................................................. 78
Setting up the Analog Input Card to Calculate Tank Weight ...................................... 79
Setting up the Analog Input Card to Calculate Tank Level........................................ 81
Back to Batching – Step 1.......................................................................................... 83
Step 2 – Adding Chemical KM ................................................................................... 89
Step 3 – Adding Chemical KM ................................................................................... 92
Step 4 – Blending....................................................................................................... 93
Step 5 – Pump to Filling Lines ................................................................................... 99
Faults .......................................................................................................................... 101
Valve Position Faults ............................................................................................... 101
Console Status Indicators – Pilot Lights ...................................................................... 108
Adding Rung Comments ............................................................................................. 115
Connecting To The PLC And Going Online................................................................. 119
RSLogix Emulate 5000................................................................................................ 122
RSLinx ..................................................................................................................... 122
Emulator................................................................................................................... 124
Editing in Run Mode .................................................................................................... 148
2

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Run Mode on the Plant Floor ...................................................................................... 153
Add-On Instructions & Function Block Diagram Programming.................................... 154
Creating a Function Block Diagram ......................................................................... 156
A Final Note About Our Program ................................................................................ 161
How Do I . . . ? ............................................................................................................ 162
Tips, Shortcuts and Warnings ..................................................................................... 164
Conclusion .................................................................................................................. 167

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Introduction
The purpose of this book is to teach you how to set up, program and use an Allen-
Bradley ControlLogix or CompactLogix. It will also familiarize you with the parts required
for a common application.

It will tell you how to use RSLogix 5000 and how to write a ladder logic program.

Since I feel the best way to learn any programming language is by using a real-world
example, there is a sample project included in this book. This sample project, which
involves a chemical batching process, also contains a Project Scope. The Project
Scope, or Functional Specification, or whatever your company might call it, defines in
detail how the system is to operate when the project is finished.

You will learn, step by step, how to take a Project Scope and turn it into a working PLC
program.

The book will show you how to go online with your PLC to monitor your program to
verify your ladder logic and make sure it is functioning properly.

It will show you how to make changes to your program while you are online.

It will show you the keystrokes and mouse movements that you need to know to use
RSLogix 5000.

Finally, it provides a number of tips and a Frequently Ask Questions section that will
save you hours of frustration.

This book assumes you have a little background with PLCs – perhaps you have worked
with other PLCs from other manufacturers or you have helped to install and wire PLCs.
Perhaps you are a Mechanical, Chemical or Process Engineer and you need to learn
how to use RSLogix 5000.

If you need a more thorough understanding of basic PLC concepts, you might want to
try the Beginner’s Guide to PLC Programming How to Program a PLC (Programmable
Logic Controller). This ebook, along with the online tutorial, provides an example of how
to automate a drill press, while explaining all the basic concepts of PLC programming
that are necessary to write a solid PLC program.

The Beginner’s Guide to PLC Programming works well in conjunction with this book, in
that it concentrates on basic PLC programming methods that are common to all types of

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
PLCs. In addition, it provides an example of machine operation, whereas this book uses
the example of a chemical batching process.

The Beginner’s Guide to PLC Programming is available from Modern Media for $9.95.
Visit engineer-and-technician.com if you would like to learn more about this book.

PLCs
Nearly all the industrial equipment that you find in a modern manufacturing facility
shares one thing in common - computer control. The most commonly used controller is
the PLC, or the Programmable Logic Controller, using a programming language called
Ladder Logic. The language was developed to make programming easy for people who
already understood how switches, relay contacts and coils work. Its format is similar to
the electrical style of drawing known as the “ladder diagram”.

The most popular and most widely used manufacturer of PLCs is Rockwell Automation,
who produces the Allen-Bradley ControlLogix and CompactLogix series of PLCs. The
ControlLogix and CompactLogix families of processors and I/O modules are all
programmed using Rockwell’s proprietary software known as RSLogix 5000.

When you are finished with this book, you will be able to sit down in front of any
computer running RSLogix 5000 and create a new program. You will be able to edit
existing programs. You will be able to professionally document any changes you have
made.

Rockwell Automation Technical Support

Unfortunately, we can’t anticipate all the problems you might face as you are
troubleshooting a program on the factory floor. There are just too many variables. This
is why you must establish a relationship with your local Rockwell Automation technical
support team. Get to know them before you are in the final stages of a start-up and you
run into a problem. They are very helpful and they can save you hours of frustration.

The Rockwell reps are not just technical support personnel; they are skilled engineers
that are responsible for running their own projects and writing and troubleshooting their
own programs. If you run into a problem, more than likely they have already seen it and
have come up with a solution.

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Hardware
One of the nice things about Allen-Bradley’s smaller PLCs is the relative simplicity of
assembling the hardware to create a system.

First, let’s see what it takes to assemble a ControlLogix system. You only need to have
a few components: a processor, a power supply, a rack and some I/O modules.

ControlLogix Processor
At the time of this writing, there are 15 ControlLogix processors available. For our
application, the 1756-L55 processor will be fine.

For your future projects, you will have to consider a number of factors before you make
the choice of your processor. Utilize your Rockwell representative and Rockwell’s
website (www.ab.com) to help you in your choice.

All the processors use RSLogix 5000, so any program you write for one processor could
be adapted to run any other 1756 processor.

I/O Modules
For our system, we need discrete inputs, discrete outputs and analog inputs. These
modules will work fine for our application:

1756-IA16 Digital AC Input Module (16 discrete inputs)

1756-OA16 Digital AC Outputs (16 discrete outputs)

1756-IF8 Analog Modules (8 single-ended analog inputs)

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Software
All ControlLogix and CompactLogix processors use RSLogix 5000 software to program
the PLCs. Admittedly, the software is a bit pricey, but in my opinion, it is worth it.

Getting The RSLogix 5000 Software


If you don’t have access to a PLC, it would be well worth the effort to download the
demo version of RSLogix 5000. The demo runs for 90 days, and has some limitations,
but you will be gaining experience with the real thing. Currently, the software is here:

http://www.rockwellautomation.com/rockwellsoftware/design/rslogix5000/demo.html.

There are 7 sections to download, totaling slightly over 480MB. Yes, it’s a big job to
download and install it, but it is essential.

Ladder Logic
Before we open RSLogix 5000 and start programming, there are a few things you need
to know about PLCs in general. I have summarized the basic terms and techniques
required to work with ladder logic. It isn’t a comprehensive summary, but if you are just
starting out, the information presented here will be very helpful.

Every PLC programmer, no matter what skill level, must know the principles described
in this section and the Equivalent Logic section. There is simply no way around it.

To effectively write a program, or even edit one, the programmer must know how to
visualize the effects of the changes he will make.

In other words, you have to be able to look at the logic “on paper” and imagine how the
logic will work when it is entered into the PLC.

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
The Dialect of PLCs
Lets' define some terms and symbols:

INSTRUCTION – RSLogix’s Relay Ladder Logic command language is comprised of


“instructions”. An XIC (it looks like a normally open contact --] [-- ) is an instruction. A
timer is an instruction. A few of the most common instructions are described below.

BIT - an address within the PLC. It can be an input, output or internal coil, among
others.

RUNG - A section of the PLC ladder program that terminates in an output function of
some type. Just like in an electrical ladder diagram, a rung has some type of output that
is turned on or turned off by the preceding entities in the rung. The first rung in a ladder
program is always 0.

HARDWIRED INPUT - a physical connection to the PLC from an input device (switch or
sensor, etc.).

RSLogix 5000 defines the address of the input, based on the input cards that you
configure.

We’ll see how this works later on, but here is an example of a hardwired input:

Local:4:I.Data.3

Here is what each part of the address means:

Local:4:I.Data.3
“Local” means that the module is connected to a controller across a backplane or with a
parallel link, keeping the module within a few inches of the controller.

Local:4:I.Data.3
“4” means that the module is module 4 (located in the 5th slot in the rack).

Local:4:I.Data.3
“I” means the bit is an input

Local:4:I.Data.3
“Data” indicates the type of data (this is the default for I/O)
8

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Local:4:I.Data.3
“3” indicates that the bit is 4th input on the card (the bits start with 0).

By the way, don’t get the capital “I’s” confused with ones.

So, in evaluating our example, we would describe the bit as “Module 4, bit 3”.

Here is where some confusion comes in. Because the Rockwell numbering system
starts with 0, and the processor resides in Slot 0, our example bit is actually in slot 5.
Our bit 3 is actually the 4th bit. We could also describe the bit as “Slot 5, position 4”.

You will have to learn to transpose these ways of describing a bit back and forth in your
head. If you are troubleshooting a problem, and you want someone to look for a signal
on our example bit, you might have to tell him to look at the 4th position on the 5th slot.
That will lead him to the physical point on the PLC.

However, you need to keep in mind that the corresponding bit in your program will be
labeled Local:4:I.Data.3.

It can be confusing, but you will get used to it.

HARDWIRED OUTPUT - a physical connection from the PLC to an output device (relay
or pilot light, etc.)

Outputs are addressed the same way.

Local:5:O.Data.4
“Local” means that the module is connected to a controller across a backplane or with a
parallel link, keeping the module within a few inches of the controller.

Local:5:O.Data.4
“5” means that the module is module 5 (located in the 6th slot in the rack).

Local:5:O.Data.4
“O” means the bit is an output

Local:5:O.Data.4
“Data” indicates the type of data (this is the default for I/O)

Local:5:O.Data.4
“4” indicates that the bit is 5th output on the card (the bits start with 0).

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
INTERNAL COIL
This is a programmable bit used to simulate a relay within the PLC. The internal coil has
no connection to the outside world. It does not connect to an output card. Internal coils
are used to store information. The “contacts” of this “relay” can then be used multiple
times in other parts of the program.

RSLogix 5000 has greatly simplified the process of describing an internal coil. We can
simply give it a name, known as a tag.

For example, if you have an internal coil that is the result of, say, three hardwired safety
gate limit switches, we could label the coil “SafetyGatesClosed”.
Note the lack of spaces in the tag name. RSLogix 5000 does not allow spaces, or other
special characters, in the tag name.

Some people use underscores, so the tag might be “Safety_Gates_Closed”. Either way
is fine; it just depends on what your company or your client prefers.

TIMER
A timer is a programmable instruction that lets you turn on or turn off bits after a preset
time.

The two primary types of timers are TON for “timer on delay” and TOF for “timer off
delay”.

Timers in RSLogix 5000 use tag names for identification.

COUNTER
A counter is a programmable instruction that lets you turn on or turn off bits after a
preset count has been reached.

There are different types of counters available in the RSLogix, but the CTU (counter up)
instruction covers everything we will talk about here.

Counters in RSLogix 5000 use tag names for identification.

--] [-- Normally Open Contact


When used with a hardwired input, this instruction is off until there is a voltage applied
to the input. The bit address then goes high, or on, and the instruction becomes “true.” It

10

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
works the same way when it has the same address as an internal coil, except that the
coil must be turned on by logic in the program.

Allen-Bradley calls these normally open contacts “XIC”, or “eXamine If Closed”


instruction.

An XIC instruction can reference a hardwired input, a hardwired output, an internal coil
or a timer done bit, among others.

--]/[-- Normally Closed Contact


This is an inverted normally open contact.

When used with a hardwired input, this instruction is "true" until there is a voltage
applied to the input. It then goes low, or off, and becomes “false.”

It also can be used with an internal coil, becoming true when the coil is off and
becoming false when the coil is on.

Allen-Bradley calls these normally closed contacts “XIO”, or “eXamine If Open”


instructions.

-( )- Output Coil
When used with a hardwired output, this function is off until the logic in the program
allows it to turn on. It then becomes “true”, and will energize the device that is wired to
the respective output.

If it is used as an internal coil, it will toggle the instructions associated with it. That is, it
will close a normally open instruction and open a normally closed instruction.

Allen-Bradley calls these outputs “OTE”, or “OutpuT Energize”.

An OTE may be used with a hardwired output or an internal coil.

TRUE – A state that indicates an instruction is allowing logic to “flow” through it.

Also, if the logic in a rung turns on the output of the rung, then the rung is said to be
true.

FALSE - Without stating the obvious, this is the opposite of true.

OK, that was a lot to cover and for you to understand – don’t worry, this will start getting
easier.

11

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Equivalent Logic
Suppose we want to use a PLC to operate a pilot light. In its elementary form, PLC logic
is very similar to the hard-wired logic you would find in an electrical ladder diagram.

For example, if you wanted to turn on a light with a momentary pushbutton, you would
wire it like the circuit below. When you press PB1, the pilot light PL1 lights up.

H N
| PILOT |
| LIGHT |
| PB1 PL1 |
|---] [---------------------------------------(L)----|
| |
|

Now let's do the same thing in a PLC. To duplicate the hardwired circuit on a PLC, you
would wire the switch PB1 to an input (let’s use Local:4:I.Data.3) and wire the light PL1
to an output (Local:7:O.Data.0).

The I/O (hardwired inputs and outputs) is set up like this:

- There is a “PB1” pushbutton switch wired to Local:4:I.Data.3 of the PLC.


- There is a “PL1” pilot light wired to Local:7:O.Data.0 of the PLC.

In RSLogix 5000, the screen would look like this.

Now let’s examine the sequence of events. When you first turn on the PLC, the PB1
pushbutton is off, or false. Therefore, the PL1 output is off. Pressing PB1 will make
Local:4:I.Data.3 true, Local:7:O.Data.0 will come on and the light will be energized. It
will stay on only as long as you hold the button in.

12

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Just like electrical current has to flow through the switch to turn on the light in the
hardwired circuit, the logic has to "flow" through the normally open instruction (which is
“closed” when you press the switch) of Local:4:I.Data.3 to energize the output that turns
on PL1.

The green highlight indicates the instruction, is “on” or “true”.

One nice feature of Allen-Bradley PLCs is that you can document each bit in the
program. In the example above, “PB1” is somewhat meaningless on its own. After you
add the descriptive text “Start Motor PB1”, things make more sense.

13

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Project Scope
We will use a batching operation as an example. Batching, as you may know, is the
term that describes the mixing of assorted ingredients to make a finished product.

There are techniques that are common to batching, whether you are making soap or
cake mix. We are going to write a program that mixes a hypothetical window cleaner.

Someone has to define the batching procedure. Usually, this is done by a process
engineer or a chemical engineer. If the job of defining the project is done well, a
document called a Project Scope (or something similar) is generated.

It is extremely important that you clearly understand the entire process that is defined in
the scope. If you have any questions or concerns, you need to resolve those before you
begin programming. If you don’t, then the responsibility of errors and omissions, and
perhaps the blame, may be placed on you.

If you bring up questions that result in changes to the defined sequence of operations,
ask the originator to revise the Project Scope. In fact, it is not uncommon for a Project
Scope to undergo a number of revisions.

If there is a change that is not documented in the scope, you should document it by
getting an email from the originator that explains the change. If nothing else, you want
to make sure you understand what the change involves.

For our project, the project scope is as follows.

14

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Hyper-Glass Cleaner
Batching Project Scope

Goal
The goal of this project is to install a new automated batching system for mixing Hyper-
Glass Cleaner.

Overview

Three ingredients (city water, ingredient QR and ingredient KM) are added in specified
amounts by weight to the Mixing Tank. After all the ingredients have been added to the
Mixing Tank, the mixture is blended by running the agitator for a given time. When the
blending time is complete, the finished product is pumped to the Filling Lines for bottling
and final packaging.

15

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
System Components

Component Function
Valve AV-CW Supplies city water to the Mixing Tank
Limit Switch LS-CW1 Indicates when valve AV-CW is closed
Limit Switch LS-CW2 Indicates when valve AV-CW is open
Pump PUMP-QR Pumps ingredient QR to the Mixing Tank
Valve AV-QR Supplies QR to the Mixing Tank
Limit Switch LS-QR1 Indicates when valve AV-QR is closed
Limit Switch LS-QR2 Indicates when valve AV-QR is open
Pump PUMP-KM Pumps ingredient KM to the Mixing Tank
Valve AV-KM Supplies KM to the Mixing Tank
Limit Switch LS-KM1 Indicates when valve AV-KM is closed
Limit Switch LS-KM2 Indicates when valve AV-KM is open
Scales Provides the current weight of the
ingredients in the tank to the PLC
Agitator MTR-MTA Blends the ingredients in the Mixing Tank
Pump PUMP-MT Pumps ingredient MT from the Mixing
Tank
Valve AV-MT Supplies the finished product to the Filling
Lines
Limit Switch LS-MT1 Indicates when valve AV-MT is closed
Limit Switch LS-MT2 Indicates when valve AV-MT is open
Ultrasonic Level Sensor ULS-1 Indicates the level in the Mixing tank

16

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Operator Panel Layout

17

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Operator Panel Components
Component Function
SYSTEM READY pilot light PL1 Indicates the system is ready for batching
SYSTEM FAULT pilot light PL2 Indicates the system has a fault and is
stopped
START BATCH pushbutton switch PB1 Starts a new batch
STOP BATCH pushbutton switch PB2 Stops the batching process
ADDING WATER pilot light PL3 Indicates the system adding water to the
Mixing Tank
ADDING QR pilot light PL4 Indicates the system adding ingredient QR
to the Mixing Tank
ADDING KM pilot light PL5 Indicates the system adding ingredient KM
to the Mixing Tank
BLENDING pilot light PL6 Indicates the system is blending the
ingredients
PUMPING TO LINES pilot light PL7 Indicates the system is pumping the batch
to the Filling Lines
E-STOP PB3 Immediately stops the entire system

Electrical Specifications

The Ultrasonic Level Sensor ULS-1 provides a 0-10VDC signal to the PLC.

The Scales provide a 0-10VDC signal to the PLC.

All other input signals are 120VAC.

All output signals are 120VAC.

Detailed Sequence of Operations

There are 5 steps in the Batching process:

1. Add City Water


2. Add Ingredient QR
3. Add Ingredient KM
4. Mix the batch
5. Pump the batch to the filling lines

To begin a new batch, the operator will verify that the “SYSTEM READY” pilot light is on
and that the Mixing Tank is ready to receive ingredients.

18

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
The operator will then press the “START BATCH” pushbutton to begin the batching
process. The “SYSTEM READY” pilot light will turn off. No further operator input is
required.

Step 1 – City Water


Automatic valve AV-CW will open. The “ADDING WATER” pilot light will illuminate.

Valve AV-CW will remain open until 1275 lbs. of City Water is in the Mixing Tank. Valve
AV-CV will close.

The state of AV-CW will be verified by limit switch LS-CW2. If LS-CW2 is not made
within 2 seconds after the valve was told to open, a fault will be generated and the
system will shut down. The pilot light “SYSTEM FAULT” PL2 will illuminate indicating
that a fault has occurred.

LS-CW1 will verify that the valve is closed within 2 seconds after the valve was told to
close. If the valve closure is not verified within 2 seconds, a fault will be generated, the
system will shut down and PL2 will illuminate.

All valves and their respective limit switches will work in the manner described above.

After the City Water has been added, valve AV-CW will close and the “ADDING
WATER” pilot light will turn off.

Step 2 – Ingredient QR
Valve AV-QR will be opened. After the valve position has been verified by LS-QR2,
PUMP-QR will pump 390 lbs. of ingredient QR into the Mixing Tank. The “ADDING QR”
pilot light will be illuminated while the pump is running.

After the ingredient QR has been added to the Mixing Tank, PUMP-QR stops and the
“ADDING QR” pilot light will turn off. Valve AV-QR will close.

Step 3 – Ingredient KM
Valve AV-KM will be opened. After the valve position has been verified by LS-KM2,
PUMP-KM will pump 173 lbs. of ingredient KM into the mixing tank. The “ADDING KM”
pilot light will be illuminated while the pump is running.

After the ingredient KM has been added to the Mixing Tank, valve AV-KM will close.
PUMP-KM will stop. The “ADDING KM” pilot light will turn off.

After LS-KM1 indicates the valve has been closed, the agitator motor MTR-MTA will
start. The “BLENDING” pilot light will illuminate.

19

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Step 4 – Mixing
The agitator will run for 3 minutes. The “BLENDING” pilot light will illuminate.

After the agitator is finished, The “BLENDING” pilot light will turn off.

Step 5 – Pump to filling lines


Valve AV-MT will open. After LS-MT1 indicates the valve is open, the “PUMPING TO
LINES” pilot light will illuminate.

PUMP-MT will pump the entire batch to the filling lines. When the Ultrasonic Level
Sensor ULS-1 indicates that the tank is empty, PUMP-MT will turn off, valve AV-MT will
close and the batching cycle is complete. The “PUMPING TO LINES” pilot light will turn
off and the “SYSTEM READY” pilot light will illuminate.

During every phase of the batching process, the liquid level must be monitored by the
PLC. If the level rises to greater than 95% of that Mixing tank’s capacity, the system will
generate a fault and the batching process must be halted.

The operator may press the “E-STOP” pushbutton PB3 to stop the process at any time.

END OF HYPER-GLASS CLEANER BATCHING PROJECT SCOPE

Summarizing the Scope


So, what did we get from the scope? Let’s summarize:

First, 1275 lbs. of water will be added to the Mixing Tank. Then, 390 lbs. of QR will be
added. The last ingredient is KM, of which we will add 173 lbs.

After all the ingredients are in the Mixing Tank, we have to blend it for 3 minutes.

After the batch is blended, we will pump the finished product in the tank to the filling
lines.

We have to make sure all the valves open or close in less than 2 seconds. If they do
not, then we need to shut down the process.

20

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
We need to turn on the appropriate pilot lights to indicate what stage the batching
process is in.

We need to make sure the level in the Mixing Tank doesn’t get too high. If it does, we
must shut down everything.

We need to make sure that the respective valves for the pumps are open before we turn
on the pumps.

Which PLC?
There are certainly a number of factors that will determine which PLC you need. Without
getting into all of those, let’s just say that the 1756-L55 processor has plenty of
processing power for this project and the cost is reasonable, so we will use one.

Before you can determine what modules, rack or power supply you need to buy, you will
have to know what your I/O requirements are. This involves the very critical step of
laying out your I/O.

A bit of advice here: Don’t skimp on this step. Make sure the I/O is right before you
begin programming. A mistake or omission here will cost you ten-fold further down the
road.

Lay Out The I/O


Now we need to layout the I/O. This will tell us the addresses for the I/O points, what
PLC modules we need and how the PLC modules need to be wired.

There are three types of signals in the batching system: 120VAC digital inputs (limit
switches and pushbutton switches) 120VAC digital outputs1 (valves, motors and pilot
lights) and analog 0-10VDC inputs.

List all of the components in the system that are connected to the PLC. Categorize each
component according its type (digital input, digital output or analog 0-10VDC). It is best

1
Technically, the valves themselves are not 120VAC devices, but in this case, the solenoids that
subsequently drive the valves are. Likewise, the motors that run the pumps and the agitators may not be
120VAC, but the control circuitry that operates the motors is 120VAC.
21

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
to do this in an Excel spreadsheet. I have provided one for this project – it is called
IO_List.xls and is included in the files you downloaded.

Try to keep associated devices together. For example, the “ADDING WATER” pilot light
should be near Valve AV-CW. This will make the electrical prints easier to read and also
help to keep the PLC program organized.

Notice the “Descriptor” column. This is a statement providing a shorthand description of


the device when the associated input is on, or true. We will use these descriptors in the
actual PLC program.

I can’t stress how important it is to get the verbiage right in a descriptor. For example,
let’s look at LS-CW1. This particular limit switch is normally open, but held closed when
the valve is closed.

When the limit switch is closed, the input to the PLC will be on.

If we used the descriptor

Limit Switch
LS-CW1

that wouldn’t tell us too much without referring to the prints. Plus, it is a little redundant,
as we know it is a limit switch based on the “LS” prefix in the device name.

If, however, we use the descriptor

City Water
Valve AV-CW
Closed
LS-CW1

then that tells us immediately, without referring to the prints, that the City Water valve is
closed as indicated by the limit switch LS-CW1.

After you go online with a PLC, if an input is energized (when used with a normally open
instruction), the symbol for the bit is highlighted. You can quickly realize the descriptor
statement is currently true.

22

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Now we must determine what input and
output modules we need.

This is a good time to call The Project Scope said that the Scales and
your local Allen-Bradley the Ultrasonic Level Sensor provide 0-
representative and have him assist 10VDC signals. We can use an Allen-Bradley
you in selecting the parts you
1756-IF8 Analog Module.
need. He can work directly from
your I/O listing and probably save
you a bunch of time. For the inputs, we can use the 1756-IA16
Digital AC Input Module. Since 11 inputs are
needed for the system, this card will provide 5 spares.

For the outputs, we will use a 1756-OA16 Digital AC Outputs Module.

We still need a rack to hold our processor, the I/O cards and a power supply. We are
not going concern ourselves here with the rack or the power supply, as this doesn’t
have much effect on our programming. Suffice to say, try to select components that will
provide the space and flexibility for future expansion.

Assigning I/O Addresses


Here is the final layout for the cards in the rack:

Slot 0 – 1756-L55 processor


Slot 1 – 1756-IF8 Analog Modules (8 single-ended analog inputs)
Slot 2 – 1756-IA16 Digital AC Input Module (16 discrete inputs)

Slot 3 – 1756-OA16 Digital AC Outputs (16 discrete outputs)

Please refer to the I/O List spreadsheet and you will see how the I/O has been
assigned.

A final note about the I/O list – take the time to do it right and keep it updated as the
project progresses.

23

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Running RSLogix
To run RSLogix, click:

Start > All Programs > Rockwell Software > RSLogix 5000 Enterprise Series > RSLogix 5000

A quick side note about conventions used in this book:

We are going to use the format shown above to indicate what menu items you should
click on as you navigate the menus and sub-menus.

For example, the line above means:

Click on “Start”.

Click on “All Programs”.

Click on “Rockwell Software”.

Click on “RSLogix 5000 Enterprise Series”.

Click on “RSLogix 5000”.

Your path to start RSLogix, depending on the version you have installed, may be slightly
different.

24

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
You will see this on your monitor.

By default, RSLogix 5000 displays a “Start Page” every time the program is
started. Most people don’t use this and choose to turn it off.

Select Tools > Options and uncheck “Show Start Page on Start Up”.

25

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
To open a new programming, choose

File > New

In the Type: dropdown, select “1756-L55”.

In the Name field, type in “BATCHING”.

In the Chassis Type: dropdown, select the seven slot “1756-A7” chassis.

26

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Click “OK” and this screen will appear.

On the left, you see an explorer-type menu. This is called the Controller Organizer. All
of these folders and files allow you to configure or view properties of the PLC or data
files within the PLC.

Tip: You can toggle the


Controller Organizer by pressing
ALT-0

27

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
The first thing we need to do is configure the I/O. Scroll down in the Controller and right-
click on “I/O Configuration”. Choose “New Module”.

28

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Expand the “Analog” section.

Select “1756-IF8” and click “OK”.

29

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Click “OK” on the next dialog box and the “Module Properties” window appears.

This window allows you to configure many aspects of the analog card, including:

- scaling (per channel)


- input range (voltage or current, per channel)
- alarm configuration (per channel)
- calibration gain and offset (per channel)

We will adjust these later; for the time being click “OK” to accept the default values.

Let’s add the discrete input card. Right-click on “I/O Configuration” and select “New
Module”.

Make sure that the module is assigned to Slot 1.

30

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Expand the “Digital” section.

Choose “1756-IA16”.

31

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
A dialog box appears asking you to select the major revision. Select the default. Make
sure Slot 2 is selected and click “OK”.

32

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Now we can add the discrete output card to complete our I/O configuration.
Add a 1756-OA16.

33

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
The Controller Organizer should look like this.

I have intentionally glossed over many of the configuration options for these cards, as I
don’t want to get bogged down in these right now. In most cases, the default
configuration for the cards will work just fine.

Later in the book, however, we will come back to the analog card to perform the
necessary setup.

34

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Tags
Rockwell introduced the concept of tags with RSLogix 5000. All of the addresses in the
processor are tag based.

Scroll to the top of the Controller Organizer window and expand “Controller
BATCHING”. Click on “Controller Tags” and this screen appears.

Notice that all of the I/O cards we added are now listed in the Controller Tags section.

Local:1 is the analog input card.

Local:2 is the discrete input card.

Local:3 is the discrete output card.

35

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
There are different sections of tags for each card.

The “C” suffix (Local:1:C) stands for “configuration”.

The “I” (Local:1:I) stands for “input”.

The “O” (Local:3:O) stands for “output”.

Each card has its own configuration section. These sections cover the parameters that
we saw when we first added the cards.

As you might expect, the analog input card and the discrete input card have an “I”
section. The discrete output has an “O” section.

Why, though, does the discrete output have an “I” section?

Expanding Local:3:I show us that this card returns information regarding faults, data,
timestamps and fuse status.

This information can be used in the program to help troubleshoot a problem.

36

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Adding Descriptors To Your I/O
A descriptor is the text that is associated with a tag. We could add a descriptor to every
tag, but that may not be cost effective. We do, however, want to add descriptors to our
I/O points.

In the controller tag window, expand “Local:1:I. Scroll down to the tag named
Local:1:I.Ch0Data. This tag holds the actual value of the signal on the first channel
(channel 0) of the analog input card.

Keep this in mind as you troubleshoot a ControlLogix processor. This is one place you
can look to see if you are getting a signal at the input of the card.

Let’s hide the Controller Organizer (ALT-0) for a moment and maximize the Controller
Tags window. The screen looks like this.

37

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Open your I/O List spreadsheet and find the description for Local:0:I.Ch0Data. It is
“Liquid Weight in Mixing Tank Scales SC-1”. Copy the text (CTRL-C)

Click on the description column for Local:0:I.Ch0Data and paste the description into the
box.

Repeat the process for the remaining analog inputs.

38

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Let’s do the same with the descriptors for the first discrete input card. Expand “Local:2I”.
Expand Local:2:I.Data.

These are the tags that define the actual inputs on the card. Like with the analog card,
this is where you look to see if you have a signal on an input.

39

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Copy the descriptions from the spreadsheet for this card.

I have hidden the Force Mask column and stretched the Description column to see the
full description.

You can switch columns on or off in the Controller Tags window by


selecting View > Toggle Column

40

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Copy the descriptions from the spreadsheet for the output card.

This completes the descriptions for the I/O.


It is a good idea to save
your work frequently. This is done
in RSLogix like it is in any other
Windows program (CTRL-S, or File
> Save or ).

41

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Writing the Program
Ladder View
Open the Controller Organizer, expand the “Tasks” folder, and expand the “Main
Program” folder.

Click on “Main Routine” and you should see this.

Setting Up An Overall Control Rung


Typically, a program will start with some kind of overall or master control rung. This rung
will define a bit that must be on for the entire system to operate, and we include bits that
we know must be true for the whole system to run.

42

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
In this project, we certainly want the E-Stop to be part of this logic. Our E-Stop (or,
emergency stop) pushbutton switch is wired in such a way that the input must be on for
the system to operate.

You can add a rung by right-clicking on the rung number and


selecting “Add Rung” from the dropdown menu.

You can also press CTRL-R.

We want to use the E-Stop input in this rung. Find the XIC (examine if closed) tool
button in the User menu.

You can insert the instruction in a couple of ways. Simply clicking on the XIC icon will
add it to the rung.

You can also click, hold and drag the tool to the spot in the rung where you want it
inserted.

43

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Click and drag it toward the new rung you just created. You will see that as you get near
the rung, a green dot will appear. Green dots represent possible landing points for your
instruction.

44

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Release the mouse button and your screen should look like this.

45

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Press the enter key on your keyboard. A dropdown menu appears above the instruction.

46

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Open the dropdown and your screen now looks like this.

Notice that all the tag groups from our I/O are now showing.

47

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
From the I/O list, we see that the E-Stop switch is wired to the last position on the input
card, giving it an address of Local:2:I.Data.15. We want to find that tag in this window.

Expand the tag group Local:2:I, then expand the tag group Local:2:I.Data.

48

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Click on bit 15 in the box to assign that address to the instruction.

49

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Click and drag the OTE (output energize) tool button from the User menu down to
the new rung. Place it on the marker at the right.

50

PLC Programming with RSLogix 5000


Copyright  2009 Modern Media
engineer-and-technician.com
Other documents randomly have
different content
Pride no longer held the youth speechless, and sorrow made Elsie
see the tenderness and sympathy in her lovers eyes. Oh, how happy
she was as she poured out to him all her troubles and found comfort
and rest in his loving arms.
While the lovers stood together planning a life for the future—
things had been entirely taken out of their hands by the good little
Brownies.
They had known Elsie and worshipped her for her goodness, and
now the time had come when they might show their appreciation,
and while the lovers talked they had gathered silently around them.
Then the Queen of the Brownies spoke, “Good and lovely maiden,
and noble youth,” said she, “we know of your troubles and we want
to help you. Listen to what I tell you, and you shall have riches in
abundance. Go, when I have finished talking, enter the Briarly
woods. There in the hollow tree you will find a casket filled with
bright and shining gold, take it, spend it wisely and take with it the
blessings and good will of the Brownies.” It was a wonderful
wedding present, and filled the lovers hearts with gratitude.
THE BROWNIES AND THE FARMER.
The Brownies were sorrowful, more sorrowful than they had ever
been in their lives before, and that is saying a great deal, for
Brownies you know, live such a long, long while, and the saddest
part of all was that there seemed no way out of their trouble. The
Brownies who lived in the apple orchard saw it first and when they
told their friends, all with one voice, cried out, “The wrong must be
righted!”
Now this was the trouble. Farmer Grump had bought the Old
Clover Farm where the Brownies had lived happily for years, and
now each day was full of trials and discomforts, for this cruel farmer
seemed always to be finding a way to make the life of his stock
miserable. The cows had great boards tied over their eyes—so large
that they could not see and so heavy that when the poor creatures
went to crop the grass, Bang! Bang! went the board against their
noses.
The pigs suffered too. Into their noses had been driven rings that
almost made them bleed when rooting in the ground. And what
happiness do you suppose life holds for a pig if he cannot root?
The Brownies liked the donkey for he seemed such a patient, long
suffering animal but the farmer’s children made his life wretched—
they beat him, they stoned him, they even took their naughty little
feet and kicked him.
The sheep suffered, and the horses as they dragged the plough
through the hard earth or hauled heavy loads along the sandy roads
felt constantly the slash, slash of the farmer’s cow-hide whip.
Everything on the place suffered, so do you wonder the Brownies
looked sorrowful?
At last they could stand it no longer, and all met one night at the
“Seek us further” tree where the oldest Brownies lived. He had
gotten up in the limbs so that all might hear, or at any rate see him,
and announced that they had long witnessed these scenes of cruelty
in silence, but now something must be done, and they wanted all
the Brownies to help. He thought it would be a good plan if they
went when no one was around and whispered in the sufferers ear
that the time had come when they must rebel. They must stand up
for their rights.
“Hurrah!” and “Three Cheers,” cried the Brownies in chorus, as
they waved their funny little hats. The farmer heard the noise but he
thought it was only the wind blowing through the trees in the apple
orchard.

The meeting was dismissed, and quietly and carefully the


Brownies went about their work—and they did it well, too, for the
next morning when the farmer went to harness his horses, and as
usual brought the cruel whip down on their back—he found that two
could play at the same game for up went the horses heels and sorry
trouble Farmer Grump had to get them harnessed.
Then the
pigs took
their turn.
They showed
their long
white tusks
and acted so
savagely that
the farmer
left them in
fright. Even
Ned the
patient
donkey, kicked up his heels, galloped away and no one could come
near him. Everything seemed possessed with the same spirit and
Farmer Grump went to his breakfast the most puzzled man you
could possibly find. But the animals won the day, for that very
afternoon the farmer went to town and when he came back he was
carrying a large board painted in great big letters telling all the
neighbors that his stock was to be sold the very next day. This he
hung up by the road side, and as it was market day, the farmers
learned the news, as their tired horses jogged slowly along towards
home. They decided that they would attend the sale, and were on
hand bright and early the next day. The old farm place was crowded
with buyers, anxious to get horses and pigs and other animals for
little money.
How happy the Brownies were as
they crowded around, for the new
owners had thrown the cruel devices
of Farmer Grump away. They were
happy when they thought of the good
homes these poor animals had found
—but gladdest of all where they when
they thought of Ned, for Widow Love
had bought him to cart to market the
beautiful butter that she made every week. They knew that she
would be very kind and gentle to their old friend. That he would
have the softest of straw for his bed at night, and the finest of oats
for his dinner, while there would be no cruel children to beat and
kick him and make his life miserable. Ned lived a long while to enjoy
this beautiful home, and the Brownies always found him a faithful
servant.
THE BROWNIES RIDE.
“Are you in the humor for a lark, boys?” It was Dot,
the very smallest and as everybody knows, the most
mischievous of all the Brownies, who said it.
“We are that!” was the reply.
They were coming home from school, these
Brownie boys, and dinner pails and books were
thrown down at once while they crowded around Dot
to hear of the prospective fun.
“You know that clover field to the right of the big
stone house,” he began, “well some time ago Grimes
put up a sign which read ‘Horses taken to Pasture.’
You should see the luck he has had. I guess as many
as a dozen horses are running around in that pasture
field. It’s bad for them to do nothing but eat all day,
so I thought we would be doing a good thing for
them, and for ourselves too, if to-night, you know it is
moonlight, we borrow these horses and go for a ride.”
You should have heard the yells of delight with which this scheme
was greeted. No body but approved, except of course Croak, he
always objects to everything.
The plan was for them to meet at the school house at ten o’clock,
then go together to the pasture lot. A number of the Brownies were
to bring ropes which they would tie around the horses’ necks and
haul them into the road.
The hour came; the Brownies met, and the work began. They had
forgotten saddles, but some of them crawled through the windows in
the harness maker’s shop and came back loaded with both saddles
and bridles. Such a time as they had getting them on, and so many
Brownies had been invited that there were not enough horses to go
around so two and sometimes three saddles must be put on one
horse.

All was ready at last and off they started. It was so funny to see
them. Some of them actually hung on to the stirrup straps. Things
went pretty smoothly at first, but Oh my! what a difference by and
by. Saddles slipped, bridles came undone, and the Brownie boys and
even the poor horses went over and rolled around in the mud. But
the bitter must be taken with the sweet so nobody dared complain,
when the ride was over and the horses and harness were put in their
proper places, everybody pronounced it one of the best frolics he
had ever had in his life.
BROWNIES AT SCHOOL.
There was a great commotion in Brownie land,
for the good Queen had just sent forth a
command that all the Brownie lads and lasses
must go to school. She had sent her messenger
to all the mothers and fathers, bearing her orders
that they must send the children to the old school
house early the next evening. They could use the same room that
real children used, for they would go to school when most little
people were asleep. The Brownies were greatly excited. They could
be seen talking together in the most earnest manner; some pleased,
others sorry over the unusual event.
However, all the children and a good many of the
parents assembled the next evening and listened with
great interest to the words of Prof. Lofty, as he told
them what he expected them to do during the winter.
Brownies have no names you
know, so the teacher had to ask the
scholars to put a letter on their
backs so she could tell them apart. They, looked
quite funny running around with this kind of a
mark; quite like the kindergarten children when
they go on a picnic and have the tags tied to
their dresses, so they can be identified when it
comes time to go home. The Brownies proved good students, and
soon became very wise.
*** END OF THE PROJECT GUTENBERG EBOOK BUSY BROWNIES
***

Updated editions will replace the previous one—the old editions will
be renamed.

Creating the works from print editions not protected by U.S.


copyright law means that no one owns a United States copyright in
these works, so the Foundation (and you!) can copy and distribute it
in the United States without permission and without paying
copyright royalties. Special rules, set forth in the General Terms of
Use part of this license, apply to copying and distributing Project
Gutenberg™ electronic works to protect the PROJECT GUTENBERG™
concept and trademark. Project Gutenberg is a registered trademark,
and may not be used if you charge for an eBook, except by following
the terms of the trademark license, including paying royalties for use
of the Project Gutenberg trademark. If you do not charge anything
for copies of this eBook, complying with the trademark license is
very easy. You may use this eBook for nearly any purpose such as
creation of derivative works, reports, performances and research.
Project Gutenberg eBooks may be modified and printed and given
away—you may do practically ANYTHING in the United States with
eBooks not protected by U.S. copyright law. Redistribution is subject
to the trademark license, especially commercial redistribution.

START: FULL LICENSE


THE FULL PROJECT GUTENBERG LICENSE
PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK

To protect the Project Gutenberg™ mission of promoting the free


distribution of electronic works, by using or distributing this work (or
any other work associated in any way with the phrase “Project
Gutenberg”), you agree to comply with all the terms of the Full
Project Gutenberg™ License available with this file or online at
www.gutenberg.org/license.

Section 1. General Terms of Use and


Redistributing Project Gutenberg™
electronic works
1.A. By reading or using any part of this Project Gutenberg™
electronic work, you indicate that you have read, understand, agree
to and accept all the terms of this license and intellectual property
(trademark/copyright) agreement. If you do not agree to abide by all
the terms of this agreement, you must cease using and return or
destroy all copies of Project Gutenberg™ electronic works in your
possession. If you paid a fee for obtaining a copy of or access to a
Project Gutenberg™ electronic work and you do not agree to be
bound by the terms of this agreement, you may obtain a refund
from the person or entity to whom you paid the fee as set forth in
paragraph 1.E.8.

1.B. “Project Gutenberg” is a registered trademark. It may only be


used on or associated in any way with an electronic work by people
who agree to be bound by the terms of this agreement. There are a
few things that you can do with most Project Gutenberg™ electronic
works even without complying with the full terms of this agreement.
See paragraph 1.C below. There are a lot of things you can do with
Project Gutenberg™ electronic works if you follow the terms of this
agreement and help preserve free future access to Project
Gutenberg™ electronic works. See paragraph 1.E below.
1.C. The Project Gutenberg Literary Archive Foundation (“the
Foundation” or PGLAF), owns a compilation copyright in the
collection of Project Gutenberg™ electronic works. Nearly all the
individual works in the collection are in the public domain in the
United States. If an individual work is unprotected by copyright law
in the United States and you are located in the United States, we do
not claim a right to prevent you from copying, distributing,
performing, displaying or creating derivative works based on the
work as long as all references to Project Gutenberg are removed. Of
course, we hope that you will support the Project Gutenberg™
mission of promoting free access to electronic works by freely
sharing Project Gutenberg™ works in compliance with the terms of
this agreement for keeping the Project Gutenberg™ name associated
with the work. You can easily comply with the terms of this
agreement by keeping this work in the same format with its attached
full Project Gutenberg™ License when you share it without charge
with others.

1.D. The copyright laws of the place where you are located also
govern what you can do with this work. Copyright laws in most
countries are in a constant state of change. If you are outside the
United States, check the laws of your country in addition to the
terms of this agreement before downloading, copying, displaying,
performing, distributing or creating derivative works based on this
work or any other Project Gutenberg™ work. The Foundation makes
no representations concerning the copyright status of any work in
any country other than the United States.

1.E. Unless you have removed all references to Project Gutenberg:

1.E.1. The following sentence, with active links to, or other


immediate access to, the full Project Gutenberg™ License must
appear prominently whenever any copy of a Project Gutenberg™
work (any work on which the phrase “Project Gutenberg” appears,
or with which the phrase “Project Gutenberg” is associated) is
accessed, displayed, performed, viewed, copied or distributed:
This eBook is for the use of anyone anywhere in the United
States and most other parts of the world at no cost and with
almost no restrictions whatsoever. You may copy it, give it away
or re-use it under the terms of the Project Gutenberg License
included with this eBook or online at www.gutenberg.org. If you
are not located in the United States, you will have to check the
laws of the country where you are located before using this
eBook.

1.E.2. If an individual Project Gutenberg™ electronic work is derived


from texts not protected by U.S. copyright law (does not contain a
notice indicating that it is posted with permission of the copyright
holder), the work can be copied and distributed to anyone in the
United States without paying any fees or charges. If you are
redistributing or providing access to a work with the phrase “Project
Gutenberg” associated with or appearing on the work, you must
comply either with the requirements of paragraphs 1.E.1 through
1.E.7 or obtain permission for the use of the work and the Project
Gutenberg™ trademark as set forth in paragraphs 1.E.8 or 1.E.9.

1.E.3. If an individual Project Gutenberg™ electronic work is posted


with the permission of the copyright holder, your use and distribution
must comply with both paragraphs 1.E.1 through 1.E.7 and any
additional terms imposed by the copyright holder. Additional terms
will be linked to the Project Gutenberg™ License for all works posted
with the permission of the copyright holder found at the beginning
of this work.

1.E.4. Do not unlink or detach or remove the full Project


Gutenberg™ License terms from this work, or any files containing a
part of this work or any other work associated with Project
Gutenberg™.

1.E.5. Do not copy, display, perform, distribute or redistribute this


electronic work, or any part of this electronic work, without
prominently displaying the sentence set forth in paragraph 1.E.1
with active links or immediate access to the full terms of the Project
Gutenberg™ License.

1.E.6. You may convert to and distribute this work in any binary,
compressed, marked up, nonproprietary or proprietary form,
including any word processing or hypertext form. However, if you
provide access to or distribute copies of a Project Gutenberg™ work
in a format other than “Plain Vanilla ASCII” or other format used in
the official version posted on the official Project Gutenberg™ website
(www.gutenberg.org), you must, at no additional cost, fee or
expense to the user, provide a copy, a means of exporting a copy, or
a means of obtaining a copy upon request, of the work in its original
“Plain Vanilla ASCII” or other form. Any alternate format must
include the full Project Gutenberg™ License as specified in
paragraph 1.E.1.

1.E.7. Do not charge a fee for access to, viewing, displaying,


performing, copying or distributing any Project Gutenberg™ works
unless you comply with paragraph 1.E.8 or 1.E.9.

1.E.8. You may charge a reasonable fee for copies of or providing


access to or distributing Project Gutenberg™ electronic works
provided that:

• You pay a royalty fee of 20% of the gross profits you derive
from the use of Project Gutenberg™ works calculated using the
method you already use to calculate your applicable taxes. The
fee is owed to the owner of the Project Gutenberg™ trademark,
but he has agreed to donate royalties under this paragraph to
the Project Gutenberg Literary Archive Foundation. Royalty
payments must be paid within 60 days following each date on
which you prepare (or are legally required to prepare) your
periodic tax returns. Royalty payments should be clearly marked
as such and sent to the Project Gutenberg Literary Archive
Foundation at the address specified in Section 4, “Information
about donations to the Project Gutenberg Literary Archive
Foundation.”

• You provide a full refund of any money paid by a user who


notifies you in writing (or by e-mail) within 30 days of receipt
that s/he does not agree to the terms of the full Project
Gutenberg™ License. You must require such a user to return or
destroy all copies of the works possessed in a physical medium
and discontinue all use of and all access to other copies of
Project Gutenberg™ works.

• You provide, in accordance with paragraph 1.F.3, a full refund of


any money paid for a work or a replacement copy, if a defect in
the electronic work is discovered and reported to you within 90
days of receipt of the work.

• You comply with all other terms of this agreement for free
distribution of Project Gutenberg™ works.

1.E.9. If you wish to charge a fee or distribute a Project Gutenberg™


electronic work or group of works on different terms than are set
forth in this agreement, you must obtain permission in writing from
the Project Gutenberg Literary Archive Foundation, the manager of
the Project Gutenberg™ trademark. Contact the Foundation as set
forth in Section 3 below.

1.F.

1.F.1. Project Gutenberg volunteers and employees expend


considerable effort to identify, do copyright research on, transcribe
and proofread works not protected by U.S. copyright law in creating
the Project Gutenberg™ collection. Despite these efforts, Project
Gutenberg™ electronic works, and the medium on which they may
be stored, may contain “Defects,” such as, but not limited to,
incomplete, inaccurate or corrupt data, transcription errors, a
copyright or other intellectual property infringement, a defective or
damaged disk or other medium, a computer virus, or computer
codes that damage or cannot be read by your equipment.

1.F.2. LIMITED WARRANTY, DISCLAIMER OF DAMAGES - Except for


the “Right of Replacement or Refund” described in paragraph 1.F.3,
the Project Gutenberg Literary Archive Foundation, the owner of the
Project Gutenberg™ trademark, and any other party distributing a
Project Gutenberg™ electronic work under this agreement, disclaim
all liability to you for damages, costs and expenses, including legal
fees. YOU AGREE THAT YOU HAVE NO REMEDIES FOR
NEGLIGENCE, STRICT LIABILITY, BREACH OF WARRANTY OR
BREACH OF CONTRACT EXCEPT THOSE PROVIDED IN PARAGRAPH
1.F.3. YOU AGREE THAT THE FOUNDATION, THE TRADEMARK
OWNER, AND ANY DISTRIBUTOR UNDER THIS AGREEMENT WILL
NOT BE LIABLE TO YOU FOR ACTUAL, DIRECT, INDIRECT,
CONSEQUENTIAL, PUNITIVE OR INCIDENTAL DAMAGES EVEN IF
YOU GIVE NOTICE OF THE POSSIBILITY OF SUCH DAMAGE.

1.F.3. LIMITED RIGHT OF REPLACEMENT OR REFUND - If you


discover a defect in this electronic work within 90 days of receiving
it, you can receive a refund of the money (if any) you paid for it by
sending a written explanation to the person you received the work
from. If you received the work on a physical medium, you must
return the medium with your written explanation. The person or
entity that provided you with the defective work may elect to provide
a replacement copy in lieu of a refund. If you received the work
electronically, the person or entity providing it to you may choose to
give you a second opportunity to receive the work electronically in
lieu of a refund. If the second copy is also defective, you may
demand a refund in writing without further opportunities to fix the
problem.

1.F.4. Except for the limited right of replacement or refund set forth
in paragraph 1.F.3, this work is provided to you ‘AS-IS’, WITH NO
OTHER WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO WARRANTIES OF
MERCHANTABILITY OR FITNESS FOR ANY PURPOSE.

1.F.5. Some states do not allow disclaimers of certain implied


warranties or the exclusion or limitation of certain types of damages.
If any disclaimer or limitation set forth in this agreement violates the
law of the state applicable to this agreement, the agreement shall be
interpreted to make the maximum disclaimer or limitation permitted
by the applicable state law. The invalidity or unenforceability of any
provision of this agreement shall not void the remaining provisions.

1.F.6. INDEMNITY - You agree to indemnify and hold the Foundation,


the trademark owner, any agent or employee of the Foundation,
anyone providing copies of Project Gutenberg™ electronic works in
accordance with this agreement, and any volunteers associated with
the production, promotion and distribution of Project Gutenberg™
electronic works, harmless from all liability, costs and expenses,
including legal fees, that arise directly or indirectly from any of the
following which you do or cause to occur: (a) distribution of this or
any Project Gutenberg™ work, (b) alteration, modification, or
additions or deletions to any Project Gutenberg™ work, and (c) any
Defect you cause.

Section 2. Information about the Mission


of Project Gutenberg™
Project Gutenberg™ is synonymous with the free distribution of
electronic works in formats readable by the widest variety of
computers including obsolete, old, middle-aged and new computers.
It exists because of the efforts of hundreds of volunteers and
donations from people in all walks of life.

Volunteers and financial support to provide volunteers with the


assistance they need are critical to reaching Project Gutenberg™’s
goals and ensuring that the Project Gutenberg™ collection will
remain freely available for generations to come. In 2001, the Project
Gutenberg Literary Archive Foundation was created to provide a
secure and permanent future for Project Gutenberg™ and future
generations. To learn more about the Project Gutenberg Literary
Archive Foundation and how your efforts and donations can help,
see Sections 3 and 4 and the Foundation information page at
www.gutenberg.org.

Section 3. Information about the Project


Gutenberg Literary Archive Foundation
The Project Gutenberg Literary Archive Foundation is a non-profit
501(c)(3) educational corporation organized under the laws of the
state of Mississippi and granted tax exempt status by the Internal
Revenue Service. The Foundation’s EIN or federal tax identification
number is 64-6221541. Contributions to the Project Gutenberg
Literary Archive Foundation are tax deductible to the full extent
permitted by U.S. federal laws and your state’s laws.

The Foundation’s business office is located at 809 North 1500 West,


Salt Lake City, UT 84116, (801) 596-1887. Email contact links and up
to date contact information can be found at the Foundation’s website
and official page at www.gutenberg.org/contact

Section 4. Information about Donations to


the Project Gutenberg Literary Archive
Foundation
Project Gutenberg™ depends upon and cannot survive without
widespread public support and donations to carry out its mission of
increasing the number of public domain and licensed works that can
be freely distributed in machine-readable form accessible by the
widest array of equipment including outdated equipment. Many
small donations ($1 to $5,000) are particularly important to
maintaining tax exempt status with the IRS.

The Foundation is committed to complying with the laws regulating


charities and charitable donations in all 50 states of the United
States. Compliance requirements are not uniform and it takes a
considerable effort, much paperwork and many fees to meet and
keep up with these requirements. We do not solicit donations in
locations where we have not received written confirmation of
compliance. To SEND DONATIONS or determine the status of
compliance for any particular state visit www.gutenberg.org/donate.

While we cannot and do not solicit contributions from states where


we have not met the solicitation requirements, we know of no
prohibition against accepting unsolicited donations from donors in
such states who approach us with offers to donate.

International donations are gratefully accepted, but we cannot make


any statements concerning tax treatment of donations received from
outside the United States. U.S. laws alone swamp our small staff.

Please check the Project Gutenberg web pages for current donation
methods and addresses. Donations are accepted in a number of
other ways including checks, online payments and credit card
donations. To donate, please visit: www.gutenberg.org/donate.

Section 5. General Information About


Project Gutenberg™ electronic works
Professor Michael S. Hart was the originator of the Project
Gutenberg™ concept of a library of electronic works that could be
freely shared with anyone. For forty years, he produced and
distributed Project Gutenberg™ eBooks with only a loose network of
volunteer support.
Project Gutenberg™ eBooks are often created from several printed
editions, all of which are confirmed as not protected by copyright in
the U.S. unless a copyright notice is included. Thus, we do not
necessarily keep eBooks in compliance with any particular paper
edition.

Most people start at our website which has the main PG search
facility: www.gutenberg.org.

This website includes information about Project Gutenberg™,


including how to make donations to the Project Gutenberg Literary
Archive Foundation, how to help produce our new eBooks, and how
to subscribe to our email newsletter to hear about new eBooks.
Welcome to Our Bookstore - The Ultimate Destination for Book Lovers
Are you passionate about books and eager to explore new worlds of
knowledge? At our website, we offer a vast collection of books that
cater to every interest and age group. From classic literature to
specialized publications, self-help books, and children’s stories, we
have it all! Each book is a gateway to new adventures, helping you
expand your knowledge and nourish your soul
Experience Convenient and Enjoyable Book Shopping Our website is more
than just an online bookstore—it’s a bridge connecting readers to the
timeless values of culture and wisdom. With a sleek and user-friendly
interface and a smart search system, you can find your favorite books
quickly and easily. Enjoy special promotions, fast home delivery, and
a seamless shopping experience that saves you time and enhances your
love for reading.
Let us accompany you on the journey of exploring knowledge and
personal growth!

ebookball.com

You might also like