Professional Documents
Culture Documents
Micro800 Controllers Starter Pack Quick Start: Catalog Numbers Bulletin 2080-LC20, 2080-LC30, 2080-LC50
Micro800 Controllers Starter Pack Quick Start: Catalog Numbers Bulletin 2080-LC20, 2080-LC30, 2080-LC50
Micro800 Controllers Starter Pack Quick Start: Catalog Numbers Bulletin 2080-LC20, 2080-LC30, 2080-LC50
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.
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
Notes:
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
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
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.
Notes:
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™)
You can also launch the program from your Windows Start Menu by going to:
Start > All Programs > Rockwell Automation® > CCW > Connected Components Workbench™.
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.
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:
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™.
Notes:
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
Notes:
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.
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.
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.
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.
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
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.
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.
2. Save the project under the name “Self latching sample” and click OK.
Before you can download an application to the controller, you must build it to verify that there are no errors with the
programming.
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.
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
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.
Notes:
Notes:
• 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.
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.
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.
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.
Notes:
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.
2. Double-click Local Variables in your Seal_in_Circuit program to launch the Variables panel.
4. Create another variable called Motor_On_Time_ms of Data Type INT and with an Initial Value of 5000 (5
seconds).
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.
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.
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.
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.
Next, let us fill in the parameters for the TON 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
7. Insert a Reverse Contactor after the _IO_EM_DI_01 Reverse Contactor, as shown below.
8. The Variable Selector displays. Select the Local Variables - Seal_in_circuit tab, and then click the empty cell shown
below.
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.
10. Next, let us add a new rung below this existing rung. Locate the rung instruction in the Toolbox.
12. Insert a Block instruction into the rung you just created, and select the ANY_TO_TIME Instruction Block. Then
click OK.
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.
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.
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.
Notes:
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.
This brings up the General Controller Properties in the main project window.
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.
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).
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.
You have learned how to add and configure a plug-in module using CCW.
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.
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.
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.
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.
6. Next, specify the following variables for each parameter of the Block.
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.
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.
You are presented with the list of UDFBs available for your use.
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.
5. Click Browse to locate the directory for the selected UDFB RA_BLINK
7. Click Import
Now, you see the RA_BLINK UDFB being added under the User--Defined Function Blocks
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.
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.
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.
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.
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.
Notes:
Quick Tips
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.
Notes:
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.
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.
2. For PanelView™ 800, you can now choose either Landscape or Portrait orientation.
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.
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
Make the following variables under Global scope to be used as PanelView™ 800 tags.
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.
4. Select “Cut” and then paste these tags under Global Variables.
We use these tags on the screen for user lto start/ stop the motor for the Seal_in_circuit.
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.
2. You should have the following additional variables in the Global Variables list.
Notes:
1. Double-click Micro850® under the Project Organizer to bring up the General Controller Properties in the main
project window.
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.
3. Select Address field and then select ellipses to browse the Micro850® controller program for the controller variable.
5. Select Controller field and select controller PLC-1 from the dropdown.
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.
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.
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.
7. Right-click push button and select Properties to launch the object’s Properties pane.
10. Click Write Tag drop down in the Properties pane, and select Start from the list of tags.
You have completed creating your first push button. If you hover the cursor over the momentary push button you can see its
tag connections.
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
Your screen should look like the picture below. Next add an image to represent the motor operation.
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.
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.
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.
1. Locate the Goto Config push button in your Toolbox. Drag-and-drop it onto your screen, just below your Stop
push button
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
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.
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.
You are to set the minimum and maximum range for the Raw and Scaling value for the analog input scaling.
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.
You have created a Numeric Entry for setting the Raw minimum value
8. Hover over the numeric entry object to see the Tag values
2. Right-click screen and click Paste to place it below the existing numeric entry object.
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
Next, add text for the numeric display and entry objects.
2. Drag-and-drop the Text object onto your screen, above the Numeric Display object.
3. Double-click Text object and type in “Scale Value” and click OK.
6. Copy the Text object and paste above the numeric entry object.
8. Copy and paste the text object to the other 3 numeric entry objects.
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.
Notes:
2. Browse and Select the 2711R-T4T as the target to download and Click OK.
3. The output window shows the Download status to the PanelView™ 800.
3. Click Run.
Connect the Ethernet Cable between the PanelView™ 800 and the Micro850® controller.
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.
1. Press the Start pushbutton to turn on output 0 and you should see the motor image appearing on the screen for 5
seconds.
You have now learned how to setup and program a PanelView 800 HMI using the Connected Components Workbench
software.
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.
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