Rockwell Automation Allen-Bradley 2080-LC20, Allen-Bradley 2080-LC50, Allen-Bradley 2080-LC30, Allen-Bradley Micro800 Quick Start Manual

Quick Start
Original Instructions

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 sur faces 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).

Where to Start

Chapter 1
Study Guide Overview
Chapter 2
Hands On Content
Chapter 3
Create and Save a Connected
Components Workbench Project
Chapter 4
Build and Download Project
Chapter 5
Connect the Input Simulator Board
Chapter 6
Monitor Your Micro800 Controller
Chapter 7
How to Create Variables
Chapter 8
How to Implement an Instruction Block
Chapter 9
How to Add a Plug-in Module
Chapter 10
Learn About User-Defined Functions
(UDF) and User-Defined Function Blocks
(UDFB)
Chapter 11
Import and Export Project
Chapter 12
Quick Tips
Chapter 13
PanelView 800 HMI Design Using
Connected Components Workbench
Chapter 14
Using HMI Tags
Chapter 15
Configure Micro800 Controller
Ethernet Settings
Chapter 16
HMI Tag Editor
Chapter 17
HMI Screen
Chapter 18
Configure PanelView 800 Terminal
Ethernet Settings
Chapter 19
Download HMI Application
Chapter 20
Test the HMI Application
Follow this path to learn how to use the Connected Components Workbench™ software with your Micro800™ controllers and PanelView™ 800 terminals.
3Rockwell Automation Publication 2080-QS004B-EN-E - October 2017 3
Where to Start
Notes:
4 Rockwell Automation Publication 2080-QS004B-EN-E - October 2017

Table of Contents

Important User Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Preface
Study Guide Overview
Hands On Content
Create and Save a Connected Components Workbench Project
Build and Download Project
About This Publication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Additional Resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Chapter 1
Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Required Tools. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Start Connected Components Workbench Software . . . . . . . . . . . . . . . . 11
Connected Components Workbench Design Environment. . . . . . . . . . 12
Project Organizer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Toolbox . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Status Bar . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Chapter 2
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Chapter 3
Create a Connected Components Workbench Project . . . . . . . . . . . . . . 19
Save Your Connected Components Workbench Project. . . . . . . . . . . . . 25
Chapter 4
Build and Download the Project to your Micro800 Controller . . . . . . . 27
Connect the Input Simulator Board
Monitor Your Micro800 Controller Program
How to Create Variables
How to Implement an Instruction Block
Chapter 5
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .31
Chapter 6
Monitor Your Program in
Connected Components Workbench Software . . . . . . . . . . . . . . . . . . . . . 33
View Real-time Changes in List Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Chapter 7
Create Local Variables for your Program . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Chapter 8
Add a TON Instruction Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Enter Parameters for TON Instruction Block. . . . . . . . . . . . . . . . . . . . . . . 41
Add an ANY_TO_TIME Instruction Block . . . . . . . . . . . . . . . . . . . . . . . 44
Rockwell Automation Publication 2080-QS004B-EN-E - October 2017 5
Table of Contents
How to Add a Plug-in Module
Chapter 9
Add a Plug-in Module to the Micro800 Controller. . . . . . . . . . . . . . . . . . 49
Chapter 10 Learn About User-Defined Functions (UDF) and User-Defined Function Blocks (UDFB)
Import and Export Project
Quick Tips
PanelView 800 HMI Design Using Connected Components Workbench
Using HMI Tags
Create a UDF for your Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
Add the UDF to your Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
Get Sample Code from the
Rockwell Automation Sample Code Library . . . . . . . . . . . . . . . . . . . . . . . . 59
Import Sample Code into Your Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Chapter 11
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
Chapter 12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
Chapter 13
Add a PanelView 800 Terminal to Your Project. . . . . . . . . . . . . . . . . . . . . 69
Configure Your PanelView 800 Terminal Communication Settings . . 70
Chapter 14
Create Global Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Edit Ladder Diagram Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
Chapter 15 Configure Micro800 Controller
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .79
Ethernet Settings
Chapter 16 HMI Tag Editor
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .81
Chapter 17 HMI Screen
Create a Screen for Your PanelView 800 Application. . . . . . . . . . . . . . . . 83
Create Objects for Your Screen . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84
Chapter 18 Configure PanelView 800
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Terminal Ethernet Settings
Chapter 19 Download HMI Application
6 Rockwell Automation Publication 2080-QS004B-EN-E - October 2017
Save and Download Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Test the HMI Application
Set Up Serial Communication Between PC and Micro820 Controller
Table of Contents
Chapter 20
Run the HMI Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Test the HMI application. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Appendix A
Before You Begin. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Connect the PC to the Micro820 Controller . . . . . . . . . . . . . . . . . . . . . . 108
Configure RSLinx . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Restore Serial Port to Factory Default Setting
Using MicroSD Card . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112
Rockwell Automation Publication 2080-QS004B-EN-E - October 2017 7
Table of Contents
Notes:
8 Rockwell Automation Publication 2080-QS004B-EN-E - October 2017

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
Micro800 Controllers Starter Pack Quick Reference, publication
PanelView 800 HMI Terminals User Manual, publication
2711R-UM001
Micro820 20-point Programmable Controllers User Manual, publication
Micro830 and Micro 850 Programmable Controllers User Manual, publication
Connected Components Workbench Software Website
http://www.rockwellautomation.com/global/support/c onnected-components/workbench.page
Connected Components Workbench Online Help Online Help that provides a description of the different elements of the
2080-QR003
2080-UM005
2080-UM002
Provides information for setting up the Micro800 controllers and input simulator boards.
Information in setting up and using the PanelView 800 terminals, and installing the Connected Components Workbench software.
Information on setting up and using the Micro820™ controllers.
Information on setting up and using the Micro830® and Micro850® controllers.
Provides product information on Connected Components Workbench software and links to download the software.
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-QS004B-EN-E - October 2017 9
Preface
Notes:
10 Rockwell Automation Publication 2080-QS004B-EN-E - October 2017
Chapter
1
Study Guide Overview

Objectives

This self study guide is intended for new users of Connected Components Workbench software who have purchased the Micro820 or Micro850 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 Micro820 or Micro850 Starter Pack. This self study guide assumes that the user has basic knowledge of a Programmable Logic Controller (PLC).
The Micro850 controller is used in the examples shown in this quick start, however they also apply to Micro820 controllers. Any major differences between the Micro820 and Micro850 controllers will be mentioned.

Required Tools

• One of the following Micro800 Starter Packs:
Micro820 Starter Pack Lite (2080-LC20-STARTERPACKL) orMicro820 Starter Pack with PanelView 800 (2080-LC20-STARTERPACK) orMicro850 Starter Pack Lite (2080-LC50-STARTERPACKL) orMicro850 Starter Pack with PanelView 800 (2080-LC50-STARTERPACK)
• Micro800 controller firmware revision 10.011 or later
• Connected Components Workbench software version 10.01 or later Software can be downloaded from the Connected Components Workbench website
http://www.rockwellautomation.com/global/support/connected-components/workbench.page

Start Connected Components Workbench Software

To start the Connected Components Workbench (CCW) software, launch the program from your Windows Start Menu by going to: Start -> All Programs -> Rockwell Automation -> CCW -> Connected Components Workbench.
11Rockwell Automation Publication 2080-QS004B-EN-E - October 2017 11
Chapter 1 Study Guide Overview

Connected Components Workbench Design Environment

This is the default project layout. The contents of each window and the general task the window is used for are described below.
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, user-defined functions (UDF) and user-defined function blocks (UDFB) that are associated with that controller.
12 Rockwell Automation Publication 2080-QS004B-EN-E - October 2017
Study Guide Overview Chapter 1
Workspace
The Start Page in the workspace provides a starting point for your work flow. It is categorized into three sections – Project, Recent and Getting Started.
Under the Project section, you can click:
New to create a new project
Open Existing to browse for another project file not listed under Recent
Discover to browse for a device such as a Micro800 controller using USB or Ethernet
The Recent section provide a list of project files that were opened recently. The Getting Started section provides links to online content that will help you with developing applications in Connected Components Workbench software.
Rockwell Automation Publication 2080-QS004B-EN-E - October 2017 13
Chapter 1 Study Guide Overview
Toolbox for Micro800 Toolbox for PanelView 800
Toolbox
The Toolbox is context sensitive to the device or workspace being edited. The toolbox is used when editing a Micro800 program and when editing a PanelView 800 screen.
From the Toolbox, you can drag and drop Toolbox elements, or copy and paste elements to another window.
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 software.
From the Output window, you can do the following:
•Review status messages
• Locate errors within programs
14 Rockwell Automation Publication 2080-QS004B-EN-E - October 2017
Study Guide Overview Chapter 1
Connected Components Workbench software is building a project
Connected Components Workbench software has successfully download a project into a controller
Status Bar
The Status bar shows the task that the Connected Components Workbench software is currently performing.
Rockwell Automation Publication 2080-QS004B-EN-E - October 2017 15
Chapter 1 Study Guide Overview
Notes:
16 Rockwell Automation Publication 2080-QS004B-EN-E - October 2017
Chapter
Hands On Content

Overview

The following chapters provide examples for you to learn how to create a project for your Micro800 controller and PanelView 800 terminal in Connected Components Workbench software.
• Create a Connected Components Workbench project
• Save your Connected Components Workbench project
• Build and download your Micro800 controller application
• Connect the input simulator board to your Micro800 controller
• Monitor your Micro800 controller 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 Functions and User-Defined Function Blocks
• Import/ Export Project (Connected Components Workbench version 8.00 or later)
• Add a PanelView 800 terminal to your Connected Components Workbench project
• Learn how to create HMI tags
• Configure your Micro800 controller Ethernet port
• Learn how to use the HMI tag editor
• Learn how to create screens for your HMI
• Configure your PanelView 800 terminal Ethernet settings
• Download the HMI application to your PanelView 800 terminal
• Test the HMI application
2
17Rockwell Automation Publication 2080-QS004B-EN-E - October 2017 17
Chapter 2 Hands On Content
Notes:
18 Rockwell Automation Publication 2080-QS004B-EN-E - October 2017
Chapter
Create and Save a Connected Components Workbench Project

Create a Connected Components Workbench Project

To create a new project, do the following:
1. Click New on the Start Page.
Alternatively, go to File -> New or use the keyboard shortcut “Ctrl+N”.
2. Enter a name for your project and click Create.
3
Ensure that the Add Device on Create checkbox is selected. This will open an Add Device dialog box for you to add a device to this project.
3. In the left pane, click the “+” sign to expand the list of catalogs and select the device to add into the Selection list.
By default, the latest major controller version is selected. Select the required version from the drop-down box.
19Rockwell Automation Publication 2080-QS004B-EN-E - October 2017 19
Chapter 3 Create and Save a Connected Components Workbench Project
4. Click Add To Project to complete the device selection.
Add a Ladder Diagram program to your project
1. Right-click Progr ams under the Micro850 controller in your Project Organizer, and select
Add -> New LD : Ladder Diagram.
2. Observe that a new Ladder Diagram program 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.
20 Rockwell Automation Publication 2080-QS004B-EN-E - October 2017
Create and Save a Connected Components Workbench Project Chapter 3
3. Double-click Prog1. A ladder diagram editor appears in the main project workspace with one empty rung.
4. Right-click Prog1 and select Rename to change the name of the program.
5. Rename the program to Seal_in_circuit.
Rockwell Automation Publication 2080-QS004B-EN-E - October 2017 21
Chapter 3 Create and Save a Connected Components Workbench Project
Create the Ladder Diagram program
1. Locate the Direct Contact instruction in the Toolbox window, and drag-and-drop it onto the left side of the rung.
The “+” icon on the rung indicates the location of a drop point for the instruction. After adding the instruction, your rung should look like the following.
2. After inserting the Direct Contact instruction, the Variable Selector dialog box appears and you can select the variable or I/O point to assign to this instruction.
3. In the Variable Selector dialog box, select the I/O - Micro850 tab to see the list of I/O points.
22 Rockwell Automation Publication 2080-QS004B-EN-E - October 2017
Create and Save a Connected Components Workbench Project Chapter 3
TIP
4. For this example, assign 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.
An alias 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. Assign it to the embedded I/O point, _IO_EM_DO_00 with the alias “Motor”. Your rung should look like the following.
Rockwell Automation Publication 2080-QS004B-EN-E - October 2017 23
Chapter 3 Create and Save a Connected Components Workbench Project
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 instruction. Assign it to the embedded I/O point _IO_EM_DI_01 with the alias “Stop PB”. Yo u r
rung should look like the following.
8. Locate the Branch instruction in the Toolbox, and drag-and-drop it to the drop point to the left of the Direct Contact instruction on the far left side of the rung.
9. Your rung should look like the following.
10. Drag-and-drop a Direct Contact instruction onto the Branch instruction that you just added. 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 Motor 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. 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.
24 Rockwell Automation Publication 2080-QS004B-EN-E - October 2017
Create and Save a Connected Components Workbench Project Chapter 3

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.
Rockwell Automation Publication 2080-QS004B-EN-E - October 2017 25
Chapter 3 Create and Save a Connected Components Workbench Project
Notes:
26 Rockwell Automation Publication 2080-QS004B-EN-E - October 2017
Chapter
4
Build and Download Project
In this chapter, you will learn how to download a project to your Micro800 controller. Before you can download a project to the controller, you must build it to verify that there are no errors with the programming. The Micro850 controller is used in the examples shown in this chapter.

Build and Download the Project to your Micro800 Controller

1. To build the project, click Device -> Build.
When a build is performed, the project is automatically saved before the build is performed.
The Output window and Status bar shows the current status of the build.
2. Connect the PC to your Micro800 controller.
For Micro850 controllers Connect the USB cable from the PC to the USB port on your Micro850 controller. If this is the first time a specific controller has been connected to this PC over USB, then you must wait for the controller to be detected and the USB driver to be configured.
For Micro820 controllers Connect the serial cable from the PC to the embedded serial port on your Micro820 controller, or connect the USB cable from the PC to the USB port on the 2080-REMLCD. If this is the first time you are connecting your Micro820 controller through serial, see controller.
Appendix A on how to set up a serial communication with your Micro820
27Rockwell Automation Publication 2080-QS004B-EN-E - October 2017 27
Chapter 4 Build and Download Project
3. Download your project to your Micro800 controller by right-clicking the controller in your Project Organizer, and select Download. If this project was modified since the last build, then a build will automatically be executed before the download is performed.
4. If there are no errors in your project, the Connection Browser dialog box appears. Browse for your Micro800 controller by expanding USB or DF1, then select the controller and click OK.
28 Rockwell Automation Publication 2080-QS004B-EN-E - October 2017
Build and Download Project Chapter 4
5. In the Download Confirmation dialog box, select Download.
When you download a project, you can choose if you either want to do a typical Download (project values are not downloaded and variables are set to their initial value if it exists, or reset if no initial value exists) or Download with Project Values. Downloading with project values may take longer than a typical download without project values. Project values generally are populated by an upload with project values or can be entered manually in the variable editor.
Initial value has priority, even if there is a project value and you have chosen to download with project values. If a variable has been configured for Data Protection, then neither initial value or project value will change its value upon download. The logical value in the controller will be preserved after a download.
6. Downloading in progress.
7. When the download is complete, you are prompted to put the controller back in Remote Run Mode. Click Yes.
Rockwell Automation Publication 2080-QS004B-EN-E - October 2017 29
Chapter 4 Build and Download Project
8. Observe the messages in the Output window indicate that the Download has completed successfully.
You have completed downloading the project to your Micro800 controller. Proceed to the next chapter to test your project. Connect the input simulator found in your starter pack to the input terminals of the Micro800 controller.
30 Rockwell Automation Publication 2080-QS004B-EN-E - October 2017
Loading...
+ 86 hidden pages