how to program rsview32

27
How to Program RSView32 How to Program an HMI and SCADA System with Rockwell Automation’s RSView32 2009 Edition Neal Babcock Ebook Price: $19.95 No Shipping Charges! Download it Today! Rockwell Automation and its line of Allen-Bradley PLCs (programmable logic controllers) are the most commonly used controllers in today's industrial environment. Untold numbers of processes and machine control applications are controlled by the Rockwell's Allen-Bradley SLCs and their RSLogix software. Controlling the logical operation of a machine or a process is only half the solution, though. A reliable Human Machine Interface, or HMI, is just as critical. RSView32 provides an inexpensive but powerful solution.

Upload: rawneeh

Post on 26-Mar-2015

967 views

Category:

Documents


10 download

TRANSCRIPT

Page 1: How to Program RSView32

How to Program RSView32

How to Program an HMI and SCADA System with Rockwell Automation’s RSView32

2009 Edition

Neal Babcock

Ebook Price: $19.95

No Shipping Charges! Download it Today!

Rockwell Automation and its line of Allen-Bradley PLCs (programmable logic controllers) are the most commonly used controllers in today's industrial environment. Untold numbers of processes and machine control applications are controlled by the Rockwell's Allen-Bradley SLCs and their RSLogix software.

Controlling the logical operation of a machine or a process is only half the solution, though. A reliable Human Machine Interface, or HMI, is just as critical.

RSView32 provides an inexpensive but powerful solution. Not only can RSView work as HMI software, it can also function as a full fledged SCADA (Supervisory Control And Data Acquisition) system.

   

If you understand how to program RSView32, you can:

• create programs and edit existing PLC SCADA programs with RSView32.

Page 2: How to Program RSView32

• increase your skill set, making yourself worth more to your company.

• communicate more effectively with your co-workers or your clients regarding HMIs and PLC SCADA systems. 

If you to want to take the quick path to learning RSView32, this training manual is for you.

And, you can begin right now. 

This tutorial explains everything you need to know to get a solid understanding of RSView32 and provides the most cost-effective training available today.

This ebook is more than an introduction to RSView32, HMIs or SCADA systems. It contains real world examples that are a result of many years of industrial programming experience. It contains tips and routines you can start using immediately.

To the beginner in RSView32, it is more valuable than the thick and complex books written by college professors. They cover functions and algorithms you may never use. After wading through one of those, you still might not know how to turn on a motor with an HMI.

"How to Program RSView32" makes learning RSView32 easy.

If you are:

- a software engineer who needs to quickly learn RSView32

- a student of engineering

- an engineer in a non-electrical field

- a technician and maintenance person who works with Allen-Bradley equipment

"How to Program RSView32" will get you up to speed - fast.

 

"How to Program RSView32" will

• explain the overall philosophy of programming an HMI or SCADA system

• give you an awareness of the problems that an HMI/SCADA programmer faces

• explain the terms that are you need to understand to program RSView

Page 3: How to Program RSView32

• show you how to collect information from the plant and display it in the HMI

• show you how to create a fully functioning HMI

• teach you step by step how to design professional looking screens

• save you a bunch of money (other HMI courses cost hundreds of dollars)

• save time (this ebook can be read and understood in a few evenings)

• show you how to be comfortable programming a PC with RSView32

• teach you how understand enough Ladder Logic to produce an HMI

 

We don't just tell you what you need to do in RSView - we show you a picture.

This book has dozens of screen shots explaining how to:

- understand Allen-Bradley's unique method of assigning addresses, and how those addresses work with RSView32

- create and use tags, the "links" that connect RSView and the PLC

- animate graphic elements of the HMI

- create an HMI/SCADA system from scratch

- connect to the PLC and modify the program online.

and much more.

Here is the Table of Contents for "How to Program RSView32"

Introduction 3PLCs 4Hardware 5SLC Rack 5SLC Power Supply 5SLC Processors 6SLC I/O Modules 6Ladder Logic 7The Dialect of PLCs 7

Page 4: How to Program RSView32

Project Scope 11Summarizing the Scope 19Beginning the Project 20Tags and the Tag Database 25Digital Tags 26Timers 30Analog Tags 32Creating the Screens 36Screen 1 – System View 38Designing the Master Layout 41Color Blindness 41Designing the Header 43The Navigation Menu 48Screen 1 Content 72Pump Icons 80Agitator Motor 83Scales 84Adding Piping 86Review of the System View Display 88Configuring the Menu 91Screen 2 - Agitator Process Run Time Display 95Screen 3 - Valve Fault Time Delays 99Screen 4 - Maintenance Display 101Screen 5 - Alarms Display 104Alarm Setup 109Configuring a Tag to Trigger an Alarm 110Screen 6 - Batch Log display 113The Final Result 118Finishing Touches 122Trending 126Tips and Tricks 128The Steps to a Successful and Profitable RSView Project 131

This book contains 131 pages of text and screen shots to give you what you need to start programming in RSView32.

The Project

The best way to learn a new language or piece of software is by looking at a real world example.

Page 5: How to Program RSView32

"How to Program in RSView32" uses a batching project to show you how to program. This is a functioning program - the real thing; not just a simulation.

There is a Project Scope included in the book. If you are a consultant or a programmer already, you are familiar with this type of document. It outlines in detail how the completed system must work. It would be your job to write the program and make sure that the system performs indicated in the project scope.

The book takes you through each step of writing the program to meet the specification. you will learn how to turn words into screens and actions in RSView32. Here is a diagram and a brief description of the Project Scope that is used in the book.

Project OverviewThree 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

Page 6: How to Program RSView32

and final packaging.

10.1. General HMI Specifications

10.1.1. The monitor is a touchscreen. With the exception of the E-Stop pushbutton operator, all system control is performed with this monitor.

10.1.2. The screens are to be designed to run at a resolution of 1024 x 768.

10.1.3. Colors

10.1.3.1. All colors used on the HMI will adhere to the following RGB (red, green, blue) values:

10.1.3.1.1. Black (0, 0, 0)10.1.3.1.2. White (255, 255, 255)10.1.3.1.3. Gray (192, 192, 192)10.1.3.1.4. Light Gray (224, 224, 224)10.1.3.1.5. Red (240, 0, 0)10.1.3.1.6. Green (0, 192, 0)10.1.3.1.7. Yellow (255, 255, 0)10.1.3.1.8. Blue (0, 102, 255)10.1.3.1.9. Light Blue (102, 153, 255)10.1.3.1.10. Teal (0, 255, 255)

10.1.4. The screen background color is light gray.

10.1.5. The normal screen font is Arial 12, black. The minimum screen font is Arial 10, black.

10.1.6. The status of the system is indicated on every screen. The font is Arial 18, bold, black.

10.1.7. If an alarm occurs, a yellow graphic with the text “ALARM” of sufficient size is displayed to draw the attention of the operator. The font is Arial 16, bold, red. A separate “RESET” button

Page 7: How to Program RSView32

allows the operator to reset the alarm.

10.2. Equipment Symbols

10.2.1. All equipment symbols will be 3-D, shaded, and drawn from the Graphic Libraries within RSView. Icons will be animated using colors to indicate the state of the equipment.

10.2.2. The position and status of all valves are indicated by the fill color of the respective valve icon. Valve icon colors are displayed as follows:

10.2.2.1. Closed: red10.2.2.2. Open: green10.2.2.3. Alarm: yellow

10.2.3. The status of all pumps and motors valves are indicated by the fill color of the respective icon pump and motor icon colors are displayed as follows:

10.2.3.1. Stopped: red10.2.3.2. Running: green10.2.3.3. Alarm: yellow

10.3. Screen Descriptions

10.3.1. There are 6 screens in the system, described as follows:

10.3.1.1. Screen 1 - System View

10.3.1.1.1. An overall system view is shown, similar to the example shown in this document.

10.3.1.1.2. The Mixing Tank Weight is displayed numerically.

Page 8: How to Program RSView32

10.3.1.2. Screen 2 – Agitator Process Run Time

10.3.1.2.1.1. The agitator process run time is adjustable from 60 seconds to 360 seconds.

10.3.1.3. Screen 3 – Valve Fault Detection Time Delays

10.3.1.3.1.1.1. The time delays used in the Valve Fault detection logic are individually adjustable from 1 to 10 seconds.

10.3.1.4. Screen 4 – Maintenance

10.3.1.4.1.1. Total runtime (in hours) for all motors is displayed.

10.3.1.5. Screen 5 – Alarms

10.3.1.5.1.1. An Alarm Screen is available to view all alarms. All alarms and the status of each alarm are displayed. All alarm events are logged and viewable for a period of 90 days.

"How to Program with RSView32" shows the logical progression of the project from the start.

You learn how to:

- understand the Project Scope

- lay out the screens

- select the right hardware

- configure RSView32 and your personal computer

- program RSView32 to meet the specifications in the scope

Page 9: How to Program RSView32

- go online to verify the operation of the program

Actual screen shots are used from RSView32 to show you exactly how to use the software.

Excerpts - How to Program RSView32 

Excerpt 1 

Creating a New Screen

In the Project window, expand the “Graphics” folder. Double-click on “Display”.

 

 

 A new window with an “untitled” display is created. Right-click on the new window and select “Display Settings”.

This will appear:

Page 10: How to Program RSView32

 

Many of the default values are fine, but we need to set a few. Some of them you may want to set for ease of development, such as the title bar.

Display Type:It is less confusing for the operator if you use “Replace”. This keeps windows from getting stuck behind other windows.

Allow Multiple Running Copies:For our application, there is no need for this.

Cache After Displaying:In large applications, this could help speed things up. It will consume extra RAM on the PC that is running RSView, though.

Title Bar:You want to leave this on during development, with the “System Menu” and

Page 11: How to Program RSView32

“Minimize Buttons” enabled.

However, at runtime (when RSView is actually running in a live plant environment), you will probably disable this, as it allows more access than the operators need.

Check “Size to Main Window at Runtime” and “Show Last Acquired Value”.

Size:Specify the correct size of the monitor.

Resize:Check “Allow Display to be Resized”. This will compensate for minor hardware variations and make sure that the screen will resize to fill the monitor.

Position:In most cases, set this to 0, 0.

Excerpt 2 

The Final Result

Let’s take a look at how the screens look in actual operation.

Page 12: How to Program RSView32

 

Page 13: How to Program RSView32

 

Page 14: How to Program RSView32

 

Page 15: How to Program RSView32

 

Page 16: How to Program RSView32

 

Page 17: How to Program RSView32

 

Not only will you get 131 pages of text and images showing you how to program an SLC 500 with RSLogix, you will also get:

• a complete I/O listing in Excel format. You can use this format over and over again on projects of your own

• a printout of the RSLogix program (with rung cross references and rung comments in PDF format)

This ebook is the result of many years of experience in PLC programming, electrical

Page 18: How to Program RSView32

design and engineering.

It summarizes dozens of techniques that are needed to write a solid RSView32 application.

It has easy to understand text with RSView32 techniques that can be used again and again.

The purpose of this book is to teach you how to set up, program an HMI and connect to an Allen-Bradley SLC 500 PLC.

There is a sample project included that 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 how to take a Project Scope and turn it into a working RSView32 program.

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

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

"I needed a quick way to figure out RSView. This book worked great."

Andre JamesTechnician

"I have used this book to train some of my people. Thanks for writing it."

Marion SimonProject Manager

"It cut through all the useless stuff. I was creating screens in just a

Page 19: How to Program RSView32

couple of hours."

Tom WitherellInstrument Tech

About the authorNeal Babcock has a degree in Electrical Engineering and has written and maintained a number of PLC programs used in the semiconductor, automotive, health care and aviation industries.

Our Returns PolicyWithin 14 days of receipt of your download, you may return any of the items you purchased from Modern Media, for any reason, for a full refund.

Free Bonus

When you order, you will also receive the ebook "Body Mechanics for Computer Related Duties". This free informative e-pamphlet offers tips and illustrations to help you position yourself in a proper ergonomic manner when you are working on your computer. This helps you to eliminate strain and minimize the chances of repetitive stress injuries. This e-pamphlet normally sells for $5.95, but can be yours free if you purchase "How to Program RSView32".

 

"How to Program RSView32" is the fastest and easiest way to learn how to program in RSView32.

Download your copy today!

Page 20: How to Program RSView32

    

If you wish, you may send a check or money order. Click here for an order sheet you can print and mail in with your payment.

After your purchase is approved, you will be directed to a page where you can download the book and begin the course.

We will also send you an email with a link to the download page. This insures that you will have access to the ebooks and the tutorial.How to Program RSView32How to Program an HMI and SCADA System with Rockwell Automation’s RSView32

By Neal Babcock

Page 21: How to Program RSView32

$19.95

Item #A090122

For your convenience, the ebooks are published for viewing in Adobe Acrobat Reader (.pdf)... absolutely the best and easiest way to view the material!

Questions? Send us an email or call us at 520-838-0751 begin_of_the_skype_highlighting              520-838-0751      end_of_the_skype_highlighti

ng

Modern Media60 W Stone Loop

#1510Tucson, AZ 85704 

Serving the Internet community since 1996

Would you like us to notify you of new revisions or updates in this ebook?

Click here if you want to receive notifications of updates to this book.

Modern Media does not sell or distribute your email address in any way. Your privacy is respected. We will use your email address only to notify you of updates.

Page 22: How to Program RSView32

 engineer-and-technician,com