Micro800 Controllers Starter Pack Quick Start: Catalog Numbers Bulletin 2080-LC20, 2080-LC30, 2080-LC50

You might also like

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

Quick Start

Micro800 Controllers Starter Pack Quick Start


Catalog Numbers Bulletin 2080-LC20, 2080-LC30, 2080-LC50
Important User Information
Read this document and the documents listed in the additional resources section about installation, configuration, and
operation of this equipment before you install, configure, operate, or maintain this product. Users are required to
familiarize themselves with installation and wiring instructions in addition to requirements of all applicable codes, laws,
and standards.

Activities including installation, adjustments, putting into service, use, assembly, disassembly, and maintenance are required
to be carried out by suitably trained personnel in accordance with applicable code of practice.

If this equipment is used in a manner not specified by the manufacturer, the protection provided by the equipment may be
impaired.

In no event will Rockwell Automation, Inc. be responsible or liable for indirect or consequential damages resulting from the
use or application of this equipment.

The examples and diagrams in this manual are included solely for illustrative purposes. Because of the many variables and
requirements associated with any particular installation, Rockwell Automation, Inc. cannot assume responsibility or
liability for actual use based on the examples and diagrams.

No patent liability is assumed by Rockwell Automation, Inc. with respect to use of information, circuits, equipment, or
software described in this manual.

Reproduction of the contents of this manual, in whole or in part, without written permission of Rockwell Automation,
Inc., is prohibited.

Throughout this manual, when necessary, we use notes to make you aware of safety considerations.

WARNING: Identifies information about practices or circumstances that can cause an explosion in a hazardous environment,
which may lead to personal injury or death, property damage, or economic loss.

ATTENTION: Identifies information about practices or circumstances that can lead to personal injury or death, property
damage, or economic loss. Attentions help you identify a hazard, avoid a hazard, and recognize the consequence.

IMPORTANT Identifies information that is critical for successful application and understanding of the product.

Labels may also be on or inside the equipment to provide specific precautions.

SHOCK HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that dangerous
voltage may be present.

BURN HAZARD: Labels may be on or inside the equipment, for example, a drive or motor, to alert people that surfaces may
reach dangerous temperatures.

ARC FLASH HAZARD: Labels may be on or inside the equipment, for example, a motor control center, to alert people to potential
Arc Flash. Arc Flash will cause severe injury or death. Wear proper Personal Protective Equipment (PPE). Follow ALL Regulatory
requirements for safe work practices and for Personal Protective Equipment (PPE).

Rockwell Automation, Allen-Bradley, Rockwell Software, PanelView, MicroLogix, Micro820, Micro830, Micro850, Connected Components Workbench, and TechConnect are trademarks of Rockwell Automation, Inc.

Trademarks not belonging to Rockwell Automation are property of their respective companies.
Where to Start

Follow this path to learn how to use the Connected Components Workbench™ software with your Micro800 controllers
and PanelView 800 terminals.

Chapter 1
Study Guide Overview

Chapter 2 Chapter 11
Hands On Content Import and Export Project

Chapter 3 Chapter 12
Create and Save a Connected Quick Tips
Components Workbench Project

Chapter 13
Chapter 4 PanelView 800 HMI Design Using
Build and Download Project Connected Components Workbench

Chapter 5 Chapter 14
Connect the Input Simulator Board Using HMI Tags

Chapter 6
Chapter 15
Monitor Your Micro850 Program
Micro850 Controller Ethernet Port
Configuration

Chapter 7
How to Create Variables
Chapter 16
HMI Tag Editor

Chapter 8
How to Implement an Instruction Block
Chapter 17
HMI Screen

Chapter 9
How to Add a Plug-in Module
Chapter 18
PanelView 800 Ethernet Settings

Chapter 10
Learn About User-Defined Function
Chapter 19
Blocks (UDFB)
Download HMI Application

Chapter 20
Test the HMI Application

3Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 3


Where to Start

Notes:

4 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Table of Contents

Preface
About This Publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Chapter 1
Study Guide Overview Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Required Tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Start Connected Components Workbench (CCW) Software . . . . . . . . 11
Connected Components Workbench Design Environment. . . . . . . . . . 12
Project Organizer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Device Toolbox . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Toolbox . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Chapter 2
Hands On Content Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

Chapter 3
Create and Save a Connected Create a Connected Components Workbench Project . . . . . . . . . . . . . . 17
Components Workbench Save Your Connected Components Workbench Project . . . . . . . . . . . . . 24
Project
Chapter 4
Build and Download Project Build and Download your Micro850® Application. . . . . . . . . . . . . . . . . . . 25

Chapter 5
Connect the Input Simulator Connect the Input Simulator Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Board
Chapter 6
Monitor Your Micro850 Program Monitor Your Micro850 Program in Connected Components
Workbench . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
View Real-time Changes in List Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

Chapter 7
How to Create Variables Create Variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

Chapter 8
How to Implement an Implement an Instruction Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Instruction Block
Chapter 9
How to Add a Plug-in Module Add a Plug-in Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 5


Table of Contents

Chapter 10
Learn About User-Defined Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Function Blocks (UDFB) Import Sample Code into Your Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60

Chapter 11
Import and Export Project Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65

Chapter 12
Quick Tips Quick Tips when Working with Connected Components Workbench
Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67

Chapter 13
PanelView 800 HMI Design Add a PanelView 800 HMI to Your Project . . . . . . . . . . . . . . . . . . . . . . . . 69
Using Connected Components Configure Your PanelView 800 HMI Communication Settings . . . . . . 70
Workbench
Chapter 14
Using HMI Tags Create HMI Tags for Your Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73

Chapter 15
Micro850 Controller Ethernet Configure the IP Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79
Port Configuration
Chapter 16
HMI Tag Editor Add Tags from the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81

Chapter 17
HMI Screen Create a Screen for Your PanelView 800 Application . . . . . . . . . . . . . . . . 83
Create Objects for Your Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84

Chapter 18
PanelView 800 Ethernet Configure the PanelView 800 Terminal Settings . . . . . . . . . . . . . . . . . . . 101
Settings
Chapter 19
Download HMI Application Save and Download Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103

Chapter 20
Test the HMI Application Run the HMI Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Test the HMI application. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105

6 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Preface

About This Publication


Use this quick start to learn how to use a Micro800 controller with a PanelView 800 terminal. You will use the Connected
Components Workbench software.

Additional Resources
These documents contain additional information concerning related products from Rockwell Automation.

Resource Description
PanelView 800 HMI Terminals Installation Instructions, Information on installing and wiring the PanelView 800 terminals.
publication 2711R-IN001
PanelView 800 HMI Terminals User Manual, publication Information in setting up and using the PanelView 800 terminals, and installing
2711R-UM001 the Connected Components Workbench software.
Micro820 20-point Programmable Controllers User Information on setting up and using the Micro820 controllers.
Manual, publication 2080-UM005
Micro830 and Micro 850 Programmable Controllers Information on setting up and using the Micro830 and Micro850 controllers.
User Manual, publication 2080-UM002
Industrial Automation Wiring and Grounding Guidelines, More information on proper wiring and grounding techniques.
publication 1770-4.1
Connected Components Workbench Online Help Online Help that provides a description of the different elements of the
Connected Components Workbench software.

You can view or download publications at


http:/www.rockwellautomation.com/literature/. To order paper copies of technical documentation, contact your local
Allen-Bradley distributor or Rockwell Automation sales representative.

9 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 9


Preface

Notes:

10 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 1

Study Guide Overview

Objectives
This self study guide is intended for new users of Connected Components Workbench™ software who have purchased the
Micro800 Starter Pack. This document is also a useful self study guide to any new users of Micro800 controllers or
PanelView 800 terminals who did not purchase the Micro800 Starter Pack. This self study guide assumes that the user has
basic knowledge of a Programmable Logic Controller (PLC).

Required Tools
• Micro850® Starter Pack Lite (2080-LC50-STARTERPACKL) or
Micro850 Starter Pack with PV800 (2080-LC50-STARTERPACK)
• Connected Components Workbench™ software version 8.00 and above
• Micro850 controller firmware revision 8.011 and above (updated using ControlFLASH™)

Start Connected Components Workbench (CCW) Software


To start the Connected Components Workbench™ software:

• Double-click Connected Components Workbench shortcut icon on your desktop.

You can also launch the program from your Windows Start Menu by going to:
Start > All Programs > Rockwell Automation® > CCW > Connected Components Workbench™.

11Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 11


Chapter 1 Study Guide Overview

Connected Components Workbench Design Environment


This is the default project layout. In the next few slides are descriptions of each of the panels’ contents and the general task
the panel is used for.

Project Organizer

Project Organizer displays the contents of your project in an organized tree view,
providing access to each of the devices and project elements.

From the Project Organizer, you can add, move, or delete devices and project
elements, and double-click them to display their contents.

If your project contains a Micro800® controller, the Project Organizer also displays
the logic programs, variables, and user-defined function blocks that are associated
with that Micro800® controller.

12 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Study Guide Overview Chapter 1

Device Toolbox

The Device Toolbox displays all devices that you can add to your Connected
Components Workbench™ project. From the Device Toolbox, you can select devices
for your project from the following two tabs:

• Discover – discovers devices that are connected to your computer and


recognized by Connected Components Workbench™.
• Catalog – browses a catalog of devices that are included with Connected
Components Workbench™.

Toolbox

The Toolbox displays icons for items that you can add to programs.

From the Toolbox, you can drag and drop individual Toolbox elements onto a design
view surface or copy and paste these into a code editor.

Each of these actions adds the fundamental code to create an instance of the
Toolbox item in the active project file.

Output

In the Output window, you can view and manage general purpose and debug messages that are generated by the various
features of Connected Components Workbench™.

From the Output window, you can do the following:

• Review status messages


• Locate errors within programs

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 13


Chapter 1 Study Guide Overview

Notes:

14 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 2

Hands On Content

Overview
• Create a Connected Components Workbench™ project
• Save your Connected Components Workbench™ project
• Build and Download your Micro850® Application
• Connect the input simulator board
• Monitor your Micro850® program
• Learn how to create variables
• Learn how to Implement an Instruction Block
• Learn how to add a plug-in module
• Learn about User-Defined Function Blocks
• Import/ Export Project (Connected Components Workbench™ Release 8 and later)
• PanelView™ 800 HMI Design using Connected Components Workbench™
• HMI Tags
• Micro850® Ethernet Port Configuration
• HMI Screen
• PanelView™ 800 Ethernet Settings
• Download HMI Application
• Testing HMI Application

15Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 15


Chapter 2 Hands On Content

Notes:

16 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 3

Create and Save a Connected Components Workbench Project

Create a Connected Components Workbench Project


Add a Micro850® controller to your project

1. Locate the Device Toolbox (upper right-hand corner). Expand Catalog and locate the Controllers folder. Expand
the Controllers folder and locate the Micro850® controller catalog 2080-LC50-24QBB. Double-click Micro850®
controller catalog. This adds a Micro850® controller to your Project.

2. If windows appear and prompt to select major revision, select ‘8’.

Always use the latest revision box and click OK.

3. Notice that the Micro850® shows up in your Project Organizer on the


left-hand side. Alternatively, you can drag and drop the controller from the
Device Toolbox into the Project Organizer.

17Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 17


Chapter 3 Create and Save a Connected Components Workbench Project

Add a Ladder Diagram program to your project

1. Right-click Programs under the Micro850® in your Project Organizer, and select Add > New LD : Ladder
Diagram.

2. Notice that a new Ladder Diagram program that is called Prog1 has been added under Programs.

Micro800® controllers allow you to create multiple programs and use multiple
types of programs (such as Structured Text or Function Block Diagram) in
the same controller application.

3. Double-click prog1 icon. A ladder diagram editor appears in the main project workspace with one empty rung.

18 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Create and Save a Connected Components Workbench Project Chapter 3

4. You do not need the Device Toolbox window for the time being. Toggle at the top right hand corner of the window
to hide it.

5. Right-click Prog1 program icon and select Rename to change the name of the program.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 19


Chapter 3 Create and Save a Connected Components Workbench Project

6. Rename the program, Seal_in_circuit

Create the Ladder Diagram program

1. Locate the Direct Contact instruction in the Toolbox pane (right-hand side), and drag-and-drop it onto the left side
of the rung.

2. After inserting the Direct Contact instruction, the Variable Selector automatically pop-up and allows you to select
the variable or I/O point to assign to this Instruction.

20 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Create and Save a Connected Components Workbench Project Chapter 3

3. In the Variable Selector window, select the ‘I/O – Micro850 tab.’

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 21


Chapter 3 Create and Save a Connected Components Workbench Project

4. We are assigning an embedded I/O point to this instruction. Select _IO_EM_DI_00, then, in the Alias column of
_IO_EM_DI_00, type “Start PB” and click OK.

TIP An alias name is an optional parameter you can use to further define a local variable or a global variable

5. Your rung should look like the following.

6. Locate the Direct Coil instruction in the Toolbox, and drag-and-drop it onto the far right side of the rung, and
assign it to the embedded I/O point, _IO_EM_DO_00 with alias description “Motor”. Your rung should look like
the following.

22 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Create and Save a Connected Components Workbench Project Chapter 3

7. Locate the Reverse Contact instruction in the Toolbox and drag-and-drop it onto your rung, just to the right of the
Direct Contact and assign it to embedded I/O point _IO_EM_DI_01 with alias description “Stop PB”. Your rung
should look like the following.

8. Locate the Branch instruction in the Toolbox and drag-and-drop it on top of the Direct Contact on the far left of
the rung. Your rung should look like the following.

9. Drag-and-drop a Direct Contact onto the Branch that you just added, and assign it to the embedded I/O point
_IO_EM_DO_00. Your rung should look like the following.

You have completed creating your motor seal-in circuit. When the Start push button is toggled on (while the Stop push
button is not being pushed), you complete the rung circuit to the output so that the Motor turns on. Once the motor is
running, you can release the Start Motor push button because the branch circuit around the push button seals it in and the
only way to interrupt the circuit is to push the Stop Motor push button.

This breaks the circuit, which turns the motor off and drops out the seal-in branch circuit. The Stop Motor push button
can then be released and the Motor remains off until the Start Motor push button is pushed again.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 23


Chapter 3 Create and Save a Connected Components Workbench Project

Save Your Connected Components Workbench Project


1. Save the project by selecting File > Save Project As…

2. Save the project under the name “Self latching sample” and click OK.

24 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 4

Build and Download Project

Build and Download your Micro850® Application


In this section, you will learn how to download your Micro850® application to the controller.

Before you can download an application to the controller, you must build it to verify that there are no errors with the
programming.

1. You can find Build under the Device menu.

For Connected Components Workbench Release 7 and above, downloading the project to the controller will
automatically Build if the project has changed since the last Download.

2. Connect the USB cable from the PC to the Micro850® controller USB port.

3. Download your program to your Micro850® by right-clicking Micro850® in your Project Organizer, and select
Download.

25Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 25


Chapter 4 Build and Download Project

4. When the build is complete, you see a message in the Output panel that the build has succeeded. If there are errors in
your programming, then they are listed in the Output panel. Also clicking on the error directs you to the error in
your program.

5. The Connection Browser appears. Browse for your controller by expanding USB and selecting 16, Micro850,
Micro850, then clicking OK

6. You will see the Download Dialog Box and select Download.

Since the release of Connected Component Workbench R7 and firmware 7.011, a feature is added with which you
can upload the project values as they are in the controller. When you download a project, an option is given if you

26 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Build and Download Project Chapter 4

either want to do a normal download (without project values, resetting every value to 0) or download with project
values. This means you can set all the tags to the value they have when you upload the project.

Initial value has priority, even if there is a project value and you've chosen download with project values

7. Downloading in progress

8. The download proceeds. When the download is complete, you are prompted to put the controller back in Remote
Run Mode. Click Yes.

9. Notice the messages in the Output panel that indicate the Download has completed successfully.

You have completed downloading to your Micro850® controller. Proceed to the next section to test your application.
Connect the input simulator found in your starter pack to the input terminals of the Micro850 controller.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 27


Chapter 4 Build and Download Project

Notes:

28 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 5

Connect the Input Simulator Board

Connect the Input Simulator Board


Input Simulator Board Diagram

Analog Output Potentiometer

Input 0 Input 2 Input 4 Input 6

Input 1 Input 3 Input 5

29Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 29


Chapter 5 Connect the Input Simulator Board

Notes:

30 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 6

Monitor Your Micro850 Program

Monitor Your Micro850 Program in Connected Components Workbench


When connected to the controller using Connected Components Workbench:

• You can view your program visually in real-time and watch values change in the program.
• You should see the Ladder Diagram change color. The rung turns blue and any Boolean instructions that are active
turn red.

1. Toggle on and off the SW11 switch on the simulator. Notice the _IO_EM_DI_00 Direct Contact instruction turn
red as you turn on the switch, and then turn blue as you release it (if you turn and release the switch too fast, you may
not see it update in the ladder diagram). Then notice the _IO_EM_DO_00 Direct Contact and Direct Coil
instructions turn red. You should also notice that the output indicator light 0 on the controller is now on.

This is a typical motor seal-in circuit (and can also be applied in non-motor circuits as well). The Output Coil is
turned on using a Direct Contact and then the active state of the Output Coil seals in the circuit. The circuit is
unsealed when a Reverse Contact (normally closed) is opened.

2. Turn on SW12 switch on the simulator to turn off the output. Notice the output _IO_EM_DO_00 on your
controller turns off and the corresponding changes in your Ladder Diagram.

31Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 31


Chapter 6 Monitor Your Micro850 Program

So far, you have monitored your program primarily by viewing real-time changes in the Ladder Diagram editor. In some
instances, you may just want to view the real-time changes in a list format. You can do this by looking at them in the
Variables list.

View Real-time Changes in List Format


The variables we are working on are embedded I/O points, we need to open the Global Variables list to view them.

1. Double-click Global Variables in your Project Organizer.

The Global Variables pane launches in a new tab in the main project workspace.

2. Locate the _IO_EM_DO_00 embedded I/O variable in the Global Variable list, and notice that the logical value
checkbox is empty.

32 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Monitor Your Micro850 Program Chapter 6

3. Turn off SW12 first and toggle SW11 on and off. Notice there is now a checkmark in the Logical Value for
_IO_EM_DO_00, and the output light on the controller is on. You may have also noticed a checkmark appear in
the _IO_EM_DI_00 logical value as you turned on the switch and then noticed the checkmark go away as you
released the switch.

4. Turn on SW12 switch on the simulator. Notice the check mark goes away in the logical value for _IO_EM_DO_00,
and the light turn off on the output indicator.

You have now completed the real-time monitoring of your program.

Double-click Seal_in_Circuit to return back to your program view.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 33


Chapter 6 Monitor Your Micro850 Program

Notes:

34 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 7

How to Create Variables

Create Variables
You will learn how to create variables for use in your program. The variables you create in this section will be used in the
subsequent program.

1. Disconnect your controller if you are still connected before proceed.

2. Double-click Local Variables in your Seal_in_Circuit program to launch the Variables panel.

3. Create a variable called Motor_On_Time of Data Type TIME

35Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 35


Chapter 7 How to Create Variables

4. Create another variable called Motor_On_Time_ms of Data Type INT and with an Initial Value of 5000 (5
seconds).

5. Create a variable called Motor_Timer of Data Type TON.

6. A TON data type is actually the data structure of a Timer-on-Delay Instruction Block. We shall discuss Instruction
Blocks in the next section.

7. We have completed creating variables to be used in the next section.

36 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 8

How to Implement an Instruction Block

Implement an Instruction Block


An Instruction Block is essentially a function block that has been predefined to perform a specific task or function.
Instruction Blocks include functions such as Timer-on-delay, Timer-off-delay, Math instructions, Data-type conversions,
Motion instructions, and so forth.

In this section, you will learn how to implement a Timer-On-Delay Instruction Block (TON). This instruction block is
inserted into your motor circuit and turns on the motor coil which is automatically turns off after 5 seconds.

You will also learn how to implement an ANY_TO_TIME Data Conversion Instruction Block to convert an Integer to a
Time value.

1. Drag-and-drop a Branch instruction to right side of the rung, wrapping around the coil instruction.

2. Locate the Block instruction in the Toolbox and Drag-and-drop this Block instruction into the branch that you
have just added.

37Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 37


Chapter 8 How to Implement an Instruction Block

The Instruction Block Selector appears. This is where you can select the type of Instruction Block you like to use. As
you can see, there is a long list of different types of instruction blocks that you can choose from.

3. You can filter the instruction blocks by Name, Category, or Type. Since we want to use a Timer-On-Delay
instruction block, type TON in the Name filter box at the top of the Name column. This will filter the choices to
only Instruction Blocks that start with TON.

38 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


How to Implement an Instruction Block Chapter 8

4. Select the TON Instruction Block – this is the Timer-on-Delay. Then select the Instance combo box pull-down,
and select the variable instance, Motor_Timer that you created in the previous section, and click OK.

Your ladder program should look like the following.

Next, let us fill in the parameters for the TON instruction block.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 39


Chapter 8 How to Implement an Instruction Block

5. Hover the mouse cursor over the blue box next to the PT parameter of the Motor_Timer TON instruction. A light
blue highlighted box then appears.

6. Click this box and a pull down combo box appears. Find and select the variable Motor_On_Time and then press the
Enter key

Your program should look like this.

7. Insert a Reverse Contactor after the _IO_EM_DI_01 Reverse Contactor, as shown below.

40 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


How to Implement an Instruction Block Chapter 8

8. The Variable Selector displays. Select the Local Variables - Seal_in_circuit tab, and then click the empty cell shown
below.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 41


Chapter 8 How to Implement an Instruction Block

9. Expand the variable, Motor_Timer and select, Motor_Timer.Q. Then click OK.

The Timer.Q is an output bit from the Timer instruction that turns on when the programmed time has elapsed.

Your program should look like this.

10. Next, let us add a new rung below this existing rung. Locate the rung instruction in the Toolbox.

42 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


How to Implement an Instruction Block Chapter 8

11. Drag and drop the Rung instruction below Rung 1.

Drag and drop the


Rung instruction here.

Your program should look like this.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 43


Chapter 8 How to Implement an Instruction Block

12. Insert a Block instruction into the rung you just created, and select the ANY_TO_TIME Instruction Block. Then
click OK.

Your program should look like this.

13. Select the variable Motor_On_Time_ms for the i1 parameter.

44 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


How to Implement an Instruction Block Chapter 8

14. Select the variable Motor_On_Time for the o1 parameter

The ANY_TO_TIME instruction block is being used to convert an integer value into a time value that is used as the
preset time for the Motor_Timer. The integer value represents time in milliseconds.

Your program should look like the following.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 45


Chapter 8 How to Implement an Instruction Block

15. You can now download the program to the Micro850®. You can do it via the Device Tab > Download, or click on the

icon .
Download

16. After completing the download, put your controller to remote run mode and test your program by toggling on and
off SW11.

Your program should look like this before toggling on and off SW 11 (_IO_EM_DI_00).

17. Turn the SW 11 switch on, and watch the DO0 light turn on. After 5 seconds, the light should turn off.

46 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


How to Implement an Instruction Block Chapter 8

Output indicator 0 lights on while the timer is running.

Timer

18. You can change the value of the variable, Motor_On_Time_ms, to change the amount of time the light stays on to
10 seconds (remember we enter the value in milliseconds). Make sure to press ‘enter’ after changing the value.

19. Double-click Local Variables. Key in 10,000 under Logical value and press Enter.

20. Toggle the SW 11 switch on. The DO0 light should now stay on for 10 seconds, before turning off.

You have learned how to implement a TON and ANY_TO_TIME instruction block.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 47


Chapter 8 How to Implement an Instruction Block

Notes:

48 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 9

How to Add a Plug-in Module

Add a Plug-in Module


You will learn how to add an Analog Input plug-in module (2080-IF2). A plug-in module is a module that you can plug
into the Micro800® chassis to allow you to add additional I/O or Communications Options to your controller

1. Disconnect from the controller (if you are currently connected to it).

2. Power off the controller and remove the empty cover from the first slot.

3. Plug in the 2080-IF2 to the first empty slot of the controller.

2080-IF2 plug-in module

4. Double-click your Micro850® controller in the Project Organizer.

This brings up the General Controller Properties in the main project window.

49Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 49


Chapter 9 How to Add a Plug-in Module

5. Right-click first plug-in module slot, and select 2080-IF2 under Analog.

6. The IF2 module is added to the chassis. The configuration properties should also show up in the pane below it.

7. Configure the Input Type for Channel 0 to Voltage and input state to Enable. Configure Channel 1 input state to
Disabled.

Your configuration should look like this.

50 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


How to Add a Plug-in Module Chapter 9

8. Click 2080-IF2 to show the plug-in module properties.

9. Save your project and download to the controller.

10. You can save your project by selecting File > Save.

11. Connect the analog voltage output from the simulator to Channel 0 of the IF2 module. We will make use of this to
provide analog output voltage input to Channel 0.

12. Connect the analog output to Pin B1 (VI-0) and analog output ground to Pin B3 (COM).

13. Double-click Global Variables in the Project Organizer.

14. Locate the variable _IO_P1_AI_00. This is the raw data value in relation to the voltage that is wired to Channel 0.
The value should range from 0 to 65535 in relation to a 0 to 10 volt input.

15. On your simulator board, turn the red potentiometer and notice the value of _IO_P1_AI_00 change.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 51


Chapter 9 How to Add a Plug-in Module

You have learned how to add and configure a plug-in module using CCW.

52 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 10

Learn About User-Defined Function Blocks (UDFB)

Overview
You will learn about a User-Defined Function Block (UDFB), and how to create one using Ladder.

A User-Defined Function Block is a user-defined program that can be packaged into an Instruction Block and reused
within your Micro800® project. A UDFB can be written in Ladder, Function Block, or Structured Text.

You will be creating a UDFB to convert Raw data from channel 0 of the 2080-IF2 Analog input module to actual
engineering units. The raw value will range from 0.0...65535.0 and the engineering units will range from 0 °C to 100 °C.

1. In your current project, right-click User-Defined Function Blocks and select Add > New LD: Ladder Diagram.

53Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 53


Chapter 10 Learn About User-Defined Function Blocks (UDFB)

A program called FB1 is created under User-Defined Function Blocks.

2. Rename this UDFB, Scaling by right-click, select Rename.

3. Double-click Local Variables under Scaling

4. Create the following variables. Note carefully to configure the Direction property. This property defines whether
the variable is an Input, Output, or standard Variable.

5. Next, double-click Scaling UDFB to launch the program editor in the main project window.

54 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Learn About User-Defined Function Blocks (UDFB) Chapter 10

6. Create the following program.

You have completed creating your UDFB.

To save your program:

1. Create a new ladder diagram program called Analog_scaling. Right-click Programs > Add > New LD : Ladder
Diagram.

2. Rename it as Analog_scaling.

3. Open the Local Variables for the Analog_scaling program, and create the following variables. Notice the Data Type
for the variable IF2_channel0_scaling is the Scaling UDFB you created.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 55


Chapter 10 Learn About User-Defined Function Blocks (UDFB)

4. Next, open the Analog_scaling program, and add a Block Instruction to the first rung.

5. Select the Scaling UDFB, and specify the Instance IF2_channel0_scaling. Then click OK.

Your program will look like this.

56 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Learn About User-Defined Function Blocks (UDFB) Chapter 10

6. Next, specify the following variables for each parameter of the Block.

7. Save your project and download to the controller.

8. Once your download is complete, go to Remote Run Mode.

9. Open the Local Variables of your Analog_scaling program, and set the Logical value as follows:

10. The Scale1_value shows the converted engineering unit for IF2 analog input 1 as you adjust the potentiometer.

Your program should look like this:

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 57


Chapter 10 Learn About User-Defined Function Blocks (UDFB)

You have now learned how to create and use the UDFB in your project. You can also find readily available UDFBs and
Sample projects in Rockwell Automation Sample Code Library. You can find these resources via Website or Local Folder
from the Connected Components Workbench software.

Get Sample Code from Rockwell Automation Sample Code Library

1. Click on Website to link you to the Sample Code website .

2. You can download the applicable UDFB/s for your project.

58 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Learn About User-Defined Function Blocks (UDFB) Chapter 10

Get Sample Code from Local Folder

1. Click on Local Folder to bring you to the directory .

2. Double-click Rockwell Automation® to view UDFBs or Sample Projects folder.

For example, if you double-click UDFB’s folder,

You are presented with the list of UDFBs available for your use.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 59


Chapter 10 Learn About User-Defined Function Blocks (UDFB)

Import Sample Code into Your Project


1. Let us select UDFB under the Local Folder > Rockwell Automation® > UDFB’s > Micro800® [UDFB] Blink as an
example.

2. Double-click RA_Blink to see the contents.

The contents inside are the import exchange file in 7zip/ zip format and a word document to describe the operation
of the UDFB.

3. In your current project, right click User-Defined Function Blocks and select Add > New LD: Ladder Diagram.

60 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Learn About User-Defined Function Blocks (UDFB) Chapter 10

4. Right-click UDFB, select Import > Import Exchange File

5. Click Browse to locate the directory for the selected UDFB RA_BLINK

6. Select RA_BLINK.7z and click Open.

You see the RA_BLINK appearing under the Import window

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 61


Chapter 10 Learn About User-Defined Function Blocks (UDFB)

7. Click Import

Now, you see the RA_BLINK UDFB being added under the User--Defined Function Blocks

8. Next, create a new ladder diagram program called Blinking_signal.

9. Open the Local Variables for the Blinking_signal program, and create the following variables. Notice the Data Type
for the variable is the RA_BLINK UDFB you imported.

62 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Learn About User-Defined Function Blocks (UDFB) Chapter 10

10. Create the following variables

11. Next, open the Blinking_output program, and add a Block Instruction to the first rung and select the RA_BLINK
UDFB, and specify the Instance Blink_Output Then click OK.

12. Next, specify the following variables for each parameter of the Block.

Your program should look like this.

13. Save your project and download to the controller.

14. Refer to the word document of the RA_BLINK UDFB, you should see the Arguments information for the UDFB.

15. Double-click Local Variables under the Blinking _signal Program and set the Blinking period to 5 seconds.

16. Toggle the SW13 switch to ON to run the instruction.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 63


Chapter 10 Learn About User-Defined Function Blocks (UDFB)

17. Observe the _IO_EM_DO_01 output indicator on the controller turning on and off at 5 seconds interval.

You have now learned how to import a readily available UDFB from the Rockwell Sample Code/ Local Folder.

64 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 11

Import and Export Project

Overview
Importing and Exporting a project requires Connected Components Workbench Release 8 and later

You can export the entire Connected Components Workbench project to a single file for easy transfer to another computer.
The exported project file (.ccwarc) is saved in the “My Documents\CCW\Import_Export” folder. The exported file can be
copied to another computer and imported back into Connected Components Workbench.

To access the Import Project or Export Project window, File menu, click Import Project or Export Project.

65Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 65


Chapter 11 Import and Export Project

Notes:

66 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 12

Quick Tips

Quick Tips when Working with Connected Components Workbench Software

Keyboard Shortcuts

Shortcut Description
Working with Rung
Crtl + 0 Inserts a rung after a selected rung(1)
Crtl + Alt + 0 Inserts a rung before a selected rung(1)
Working with Branch
Crtl + 1 Inserts a branch after a selected element
Crtl + Alt + 1 Inserts a branch before a selected element
Working with Instructions
Crtl + 2 Inserts an instruction block after a selected element
Crtl + Alt + 2 Inserts an instruction block before a selected element
Working with Contacts
Crtl + 3 Inserts a contact after a selected element(2)
Crtl + Alt + 3 Inserts a contact before a selected element(2)
Working with Coils
Crtl + 4 Inserts a coil after a selected element(2)
Crtl + Alt + 4 Inserts a coil before a selected element(2)
Spacebar For coils or contacts, toggles between the available types
F1 Invokes Context Sensitive Help
(1) When no rung is selected, a rung is added at the end of the rung list.
(2)
When a branch is selected, an element is inserted at the end of he branch.

67Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 67


Chapter 12 Quick Tips

Notes:

68 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 13

PanelView 800 HMI Design Using Connected Components


Workbench

Add a PanelView 800 HMI to Your Project


You can add a PanelView™ 800 HMI to an existing Connected Components Workbench (version 8 and above) project. For
this example, we continue to work on the same project.

1. Locate the Device Toolbox on the right most corner of the screen.

2. Expand the Graphic Terminals folder to display a list of available catalog models under PanelView™ 800 folder that
can be added to your project.

69Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 69


Chapter 13 PanelView 800 HMI Design Using Connected Components Workbench

3. Locate the PanelView™ 800 catalog 2711R-T4T and double-click or drag-and-drop it into your Project Organizer
on the left hand side.

Drag and drop


catalog here

A PanelView™ 800 application called PV800_App1* is added to your Project Organizer

Configure Your PanelView 800 HMI Communication Settings


1. Double-click PV800_App1 to launch the HMI Settings Panel.

2. For PanelView™ 800, you can now choose either Landscape or Portrait orientation.

70 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


PanelView 800 HMI Design Using Connected Components Workbench Chapter 13

For this example, choose Landscape orientation and click OK.

3. The Communication settings pane appears

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 71


Chapter 13 PanelView 800 HMI Design Using Connected Components Workbench

4. Under the Protocol configuration, select Ethernet and choose Allen-Bradley CIP from the dropdown box

5. By default, a controller node has already been created and added to your application, but it is necessary to specify the
IP Address of the controller. and set the IP Address to 192.168.1.4.

72 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 14

Using HMI Tags

Create HMI Tags for Your Project


You will learn how to create HMI tags to bring back data from a Micro850® controller. The Tag Editor tab is where you
create, view, and modify tags used by your HMI application. The tag types are external, memory, system, and global. Each
type has a different data source.

In this section we will learn how create a few individual tags. These tags can either be typed in manually, or they can be
copied and pasted from an external location, such as Microsoft Office Excel.

• Double-click Tags in your Project Organizer to launch the HMI Tag Editor panel

Note: The Tags from the controller that are to be added to the Tag Editor have to be created in the Global Variables
scope.

Use the project that has at least the following programs created earlier:

• Seal_in_circuit
• Analog_scaling

Create Global Variables

Make the following variables under Global scope to be used as PanelView™ 800 tags.

1. For Seal_in_circuit, cut “Motor_On_Time_ms” and paste to Global Variables Folder.

Right-click and select “Cut”

73Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 73


Chapter 14 Using HMI Tags

2. Double-click Global Variables, right-click and select “Paste”

We use this tag on the screen for user to set the motor on time.

Right-click and
select “Paste”

3. For Analog_scaling program, Hold down the ‘Shift key + arrow down key’ to select the 5 variables in the red box.

We use these tags on the screen for user to input the analog input raw value range for the 2080-IF2 channel 0 and the
engineering units range.

74 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Using HMI Tags Chapter 14

4. Select “Cut” and then paste these tags under Global Variables.

The Global Variables should have the following tags.

5. Next, add 2 global variable tags as shown below.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 75


Chapter 14 Using HMI Tags

We use these tags on the screen for user lto start/ stop the motor for the Seal_in_circuit.

Edit Ladder Diagram Program

Make the following changes to rung 1 of the Seal_in_circuit program as we execute the start/ stop control from the
PanelView™ 800 screen.

1. Replace “Start PB (_IO_EM_DI_00)” with the Start Global variable and


replace “Stop PB (_IO_EM_DI_01)” with the Stop Global variable.

76 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Using HMI Tags Chapter 14

Your program should look like this.

2. You should have the following additional variables in the Global Variables list.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 77


Chapter 14 Using HMI Tags

Notes:

78 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 15

Micro850 Controller Ethernet Port Configuration

Configure the IP Address


Configure the IP address for the Micro850® controller to prepare for communicating with the PanelView™ 800 graphic
terminal.

1. Double-click Micro850® under the Project Organizer to bring up the General Controller Properties in the main
project window.

2. Select Ethernet to bring up the Ethernet port configuration.

79Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 79


Chapter 15 Micro850 Controller Ethernet Port Configuration

3. Set the Ethernet configuration as follows.

You have learned to cut and paste variables across Local and Global Scope and configure the Ethernet port.

Save the project as “Self Latching Sample with PV800” under the menu option File > Save Project As.

Download the changes to the controller.

80 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 16

HMI Tag Editor

Add Tags from the Controller


1. At the Tag Editor Pane, Click Add to add a tag to your PanelView™ 800 application.

2. Rename tag to Start and change the Data Type to Boolean.

3. Select Address field and then select ellipses to browse the Micro850® controller program for the controller variable.

81Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 81


Chapter 16 HMI Tag Editor

4. Select variable Start and click OK.

5. Select Controller field and select controller PLC-1 from the dropdown.

You have completed adding a tag.

6. Repeat these steps to add the following tags.

82 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 17

HMI Screen

Create a Screen for Your PanelView 800 Application


1. By default, a screen is already added to your application called Screen_1. Rename this screen to Main by
right-clicking it, and select Rename.

2. Right-Click Main and set it up as a Startup Screen.

3. Double-click Main display icon to open the display for editing.

83Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 83


Chapter 17 HMI Screen

4. Open Toolbox to access screen objects to use for designing your display. Select View > Toolbox from the menu bar.

The Toolbox appears in the lower right hand corner of your workspace.

Create Objects for Your Screen


Now we will create objects for your PanelView 800 application screen.

Create Push Button Objects

84 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


HMI Screen Chapter 17

1. Locate Momentary Push Button in your Toolbox, and drag-and-drop it onto your screen.

2. Once the push button appears on the screen, double-click it to change the appearance and properties of the push
button states.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 85


Chapter 17 HMI Screen

3. Under Background Color column, click the (…) ellipse to bring up the Color Selector, and change the color of State
1 to green.

4. Repeat the previous step to change the background color of State 2 to green also.

5. Change the Caption Text of State 1 and State 2 to “Start”.

6. Click OK to close the State Editor and apply the changes.

7. Right-click push button and select Properties to launch the object’s Properties pane.

86 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


HMI Screen Chapter 17

8. The object’s Properties pane opens on the right-hand side.

9. Configure the following Properties to the values specified below.


• Height: 50
• Width: 70
• Left: 15
• Top: 20

10. Click Write Tag drop down in the Properties pane, and select Start from the list of tags.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 87


Chapter 17 HMI Screen

You have completed creating your first push button. If you hover the cursor over the momentary push button you can see its
tag connections.

Create Maintained Push Button Object

1. Add a maintained push button next to the Start push button and configure the States of this pushbutton as shown
below.

2. Open the pushbutton’s properties pane and configure the following properties.
• Height: 50
• Width: 70
• Left: 90
• Top: 20

3. Configure the push button’s following tag connections.


• Indicator Tag: None
• Visibility Tag: None
• Write Tag: Stop

Your screen should look like the picture below. Next add an image to represent the motor operation.

Add an Image to Your Screen

88 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


HMI Screen Chapter 17

1. Locate the Image tool in the Toolbox and drag-and-drop it onto the screen in the lower left corner

2. Double-click Image object you just added. This launches the Image Import prompt.

3. Select the System tab

4. Select the 2001R_standard_motor_standard_motor.png and click Select.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 89


Chapter 17 HMI Screen

5. Right-click image to bring up its Properties panel.

6. When the Properties panel opens on the right, please fill in the tag information as shown below in the picture.

If you hover over the image you can see what tag its connected to.

90 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


HMI Screen Chapter 17

Your screen should look like this.

Next, Create a Goto Config Push button.

Create Goto Config Button Object

Returning to the Configuration screen of the PanelView™ Component is very important for all applications. The
configuration screen allows users to change terminal settings, and observe its communication, set up and memory usage.

Follow the steps below to create a Goto Config push button.

1. Locate the Goto Config push button in your Toolbox. Drag-and-drop it onto your screen, just below your Stop
push button

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 91


Chapter 17 HMI Screen

2. Double-click Goto Config push button and change the text to Config, then click OK.

3. Change the button’s width to 70 and height to 50. Your screen should look like the following

Create a Numeric Display Object

A numeric display shows the value of the tag that it is connected to. For this application, we displays the 2080-IF2 analog
module channel 0 scaled value.

92 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


HMI Screen Chapter 17

1. Locate the Numeric Display object in your Toolbox.

2. Drag-and-drop the Numeric Display object onto your screen, next to the Stop pushbutton.

3. Change the properties of the Numeric display by right-clicking on the button and choosing properties.

4. Change the following Property values.


• Width: 81
• Height: 33

5. Set the Read Tag to Scale1_value.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 93


Chapter 17 HMI Screen

6. Set the Number of Decimal places to 0 and Number of Digits to 6.

Next, we create a Numeric Entry Object.

Create a Numeric Entry Object

You are to set the minimum and maximum range for the Raw and Scaling value for the analog input scaling.

1. Locate the Numeric Entry object in your Toolbox.

2. Drag-and-drop the Numeric Entry object onto your screen, next to the Numeric Display.

3. Change the properties of the Numeric entry by right-clicking on the button and choosing properties.

4. Change the following Property values:


• Width: 81
• Height: 33

94 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


HMI Screen Chapter 17

5. Set the following values:


• Keypad Type: Numeric
• Maximum Value: 65535
• Minimum Value: 0
• Number of Decimal Places: 0
• Numeric Field Width: 6

6. Set the Write Tag to Raw1_min.

7. Set the Indicator Tag to Raw1_min.

You have created a Numeric Entry for setting the Raw minimum value

8. Hover over the numeric entry object to see the Tag values

Let us duplicate this numeric entry object for Raw1_max setting.

1. Right-click object and click Copy.

2. Right-click screen and click Paste to place it below the existing numeric entry object.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 95


Chapter 17 HMI Screen

Your screen should look like this:

3. Set the Write Tag to Raw1_max and Indicator Tag to Raw1_max.

4. Copy and paste 2 more numeric entry objects for the Scale1_min and Scale1_max display and entry.

5. Set the following values for the Scale1_min and Scale1_max numeric entry object:
• Maximum Value: 100
• Minimum Value: 0
• Number of Decimal Places: 0
• Numeric Field Width: 6

6. Hover over the numeric entry objects to see the Write and Indicator tags

96 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


HMI Screen Chapter 17

Your screen should look like this.

Next, add text for the numeric display and entry objects.

Create Text Labels for Your Objects

1. Locate the Text object in your Toolbox.

2. Drag-and-drop the Text object onto your screen, above the Numeric Display object.

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 97


Chapter 17 HMI Screen

3. Double-click Text object and type in “Scale Value” and click OK.

4. Access the properties of the Text object

98 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


HMI Screen Chapter 17

5. Set the Border color to White and click OK.

6. Copy the Text object and paste above the numeric entry object.

7. Double-click text object and type in “Raw min”

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 99


Chapter 17 HMI Screen

Your screen should look like this.

8. Copy and paste the text object to the other 3 numeric entry objects.

9. Replace the text as follows:

10. Adjust the numeric entry objects spacing for the text objects.

You have completed the screen required for the application. Next, let us configure the IP address of the PanelView™ 800.

100 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 18

PanelView 800 Ethernet Settings

Configure the PanelView 800 Terminal Settings


1. From the PanelView™ 800 terminal, Select Communication.

2. Select Set Static IP Address.

3. Set IP Address as 192.168.1.2.

4. Set Mask as 255.255.255.0.

5. Leave the Gateway as default 0.0.0.0.

6. Select Back to go back to Communication Page.

7. Select Main to go back to Main Page.

101Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 101


Chapter 18 PanelView 800 Ethernet Settings

Notes:

102 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 19

Download HMI Application

Save and Download Project


Save the project and download application to the PanelView™ 800.

1. Right-click PV800_App1 and click Download.

2. Browse and Select the 2711R-T4T as the target to download and Click OK.

103Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 103


Chapter 19 Download HMI Application

3. The output window shows the Download status to the PanelView™ 800.

104 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Chapter 20

Test the HMI Application

Run the HMI Application


1. From the PanelView™ 800 Main Page, Click File Manager to select the downloaded application.

2. Select PV800_App1 and click Set As Startup.

3. Click Run.

Connect the Ethernet Cable between the PanelView™ 800 and the Micro850® controller.

Test the HMI application.


Key in the following values for the analog scaling:

• Key in 0 for the Raw_min


• Key in 65535 for the Raw_max
• Key in 0 for the Scale_min
• Key in 100 for the Scale_max

You should see the Scale value display being updated on the HMI screen as you turn the potentiometer on the simulator
board.

Connect to the controller and you should see the following values from your Analog_scaling program.

Testing the Seal_in Circuit program:

105Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 105


Chapter 20 Test the HMI Application

1. Press the Start pushbutton to turn on output 0 and you should see the motor image appearing on the screen for 5
seconds.

2. Press the Stop pushbutton to turn off output 0.

You have now learned how to setup and program a PanelView 800 HMI using the Connected Components Workbench
software.

106 Rockwell Automation Publication 2080-QS004A-EN-E - December 2015


Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 107
Rockwell Automation Support

Rockwell Automation provides technical information on the Web to assist you in using its products.
At http://www.rockwellautomation.com/support you can find technical and application notes, sample code, and links to
software service packs. You can also visit our Support Center at https://rockwellautomation.custhelp.com/ for software
updates, support chats and forums, technical information, FAQs, and to sign up for product notification updates.

In addition, we offer multiple support programs for installation, configuration, and troubleshooting. For more information,
contact your local distributor or Rockwell Automation representative, or visit http://www.rockwellautomation.com/
services/online-phone.

Installation Assistance

If you experience a problem within the first 24 hours of installation, review the information that is contained in this
manual. You can contact Customer Support for initial help in getting your product up and running.

United States or Canada 1.440.646.3434


Outside United States or Use the Worldwide Locator at http://www.rockwellautomation.com/support/americas/phone_en.html, or contact
Canada your local Rockwell Automation representative.

New Product Satisfaction Return

Rockwell Automation tests all of its products to help ensure that they are fully operational when shipped from the
manufacturing facility. However, if your product is not functioning and needs to be returned, follow these procedures.

United States Contact your distributor. You must provide a Customer Support case number (call the phone number above to obtain
one) to your distributor to complete the return process.
Outside United States Please contact your local Rockwell Automation representative for the return procedure.

Documentation Feedback

Your comments will help us serve your documentation needs better. If you have any suggestions on how to improve this
document, complete this form, publication RA-DU002, available at http://www.rockwellautomation.com/literature/.

Rockwell Otomasyon Ticaret A.Ş., Kar Plaza İş Merkezi E Blok Kat:6 34752 İçerenköy, İstanbul, Tel: +90 (216) 5698400

Rockwell Automation Publication 2080-QS004A-EN-E - December 2015 108


Copyright © 2015 Rockwell Automation, Inc. All rights reserved.

You might also like