RSView Tutorials
RSView Tutorials
RSView Tutorials
Getting started
Tools and prerequisites............................................................................................................................. 2
Installing the RSView32 tutorials and demo ...................................................................................... 2
About the RSView32 tutorials and demo ............................................................................................ 3
Running the RSView32 tutorials and demo ....................................................................................... 4
RSView32 Tutorial
Configure a Function Block Editor faceplate control ...................................................... 20
Step 1 Create a new graphic display .............................................................................................. 20
Step 2 Add faceplate controls to the ActiveX Toolbox .............................................................. 22
Step 3 Drop PIDE faceplate control onto a graphic display .................................................... 23
Step 4 Configure the faceplate control ........................................................................................... 24
Step 5 Add a Close button to the graphic display....................................................................... 26
Step 6 Run your project ...................................................................................................................... 28
Working with the RSView32 tutorials and demo Rockwell Software Inc 1 of 37
Preferred connectivity RSView_Tutorials.doc
Getting started
Tools and prerequisites
To use the RSView32 tutorials and run the Function Block Demo included with your
RSLogix 5000 software, you need the following:
RSLinx Professional (revision 2.20 or higher)—install from the RSLogix 5000 CD
RSLogix 5000 (revision 7.0 or higher) and FBD Editor option—install from RSLogix 5000 CD
FBD Faceplate ActiveX controls—install from the RSLogix 5000 CD
ControlLogix 7.0 firmware (major revision 7 or higher)
RSView32 6.30 demo software—install from the RSView32 Sampler & Tutorial CD; shut down
and restart your computer before running the demo
RSViewDemo.rsv sample project—run the self-extracting zip file, RSViewDemo.exe, which
installs automatically with the RSLogix 5000 software
Display resolution—for best results, set your computer’s display resolution to 1024 x 768 or
higher
2. From the RSView32 Sampler & Tutorial CD, install RSView32. Shut down and restart your
computer.
The Sampler & Tutorial CD installs a full, feature-complete version of RSView32 that runs for
up to two consecutive hours and allows you to configure up to 35 tags to the ControlLogix
processor and unlimited memory tags.
3. From the Windows Explorer, navigate to the RSLogix 5000 > Projects > Samples directory.
Double-click the self-extracting RSViewDemo zip file. Click the Unzip button.
4. Now you’re ready to run RSView32 and open the RSView32 Demo sample project.
Working with the RSView32 tutorials and demo Rockwell Software Inc 2 of 38
Preferred connectivity RSView_Tutorials.doc
About the RSView32 tutorials and demo
Your RSLogix 5000 software includes a demo version of RSView32 human-machine interface
software and a sample project, RSViewDemo.rsv, which you can run in RSView32. The demo
project includes three tutorials that step you through configuring communications to a
ControlLogix processor, working in RSView32, and running an RSView32 project that contains
the FBD Faceplate ActiveX controls. The RSView32 sample project introduces you to these
Rockwell Software products:
RSView32
RSView32 is integrated, component-based HMI software for monitoring and
controlling automation machines and processes. RSView32 expands your view
with open technologies that provide unprecedented connectivity to other
Rockwell Software products, Microsoft products, and third-party applications.
RSLinx Professional
RSLinx provides a complete driver suite for all of the Allen-Bradley networks.
View your active networks through a single window and run any combination of
supported applications simultaneously, through the same or different
communication interfaces. RSLinx provides the fastest optimized OPC, DDE,
and Custom C/C++ interfaces.
To make it easy to print the tutorials so that you can try the steps yourself, we’ve included the
steps for all three tutorials in this document. Try running the tutorials in RSView32 first, and then
use this document to create your own RSView32 project that connects to your ControlLogix
processor.
Working with the RSView32 tutorials and demo Rockwell Software Inc 3 of 37
Preferred connectivity RSView_Tutorials.doc
Running the RSView32 tutorials and demo
1. If you haven’t already, set your computer’s display resolution to 1024 x 768 or higher before
continuing.
2. Start RSView32.
From the Start menu, select Programs > Rockwell Software > RSView32 > RSView32 Works.
4. From the RSView32 Project Manager, click the Run Mode tab, and then click the Run Project
button.
Working with the RSView32 tutorials and demo Rockwell Software Inc 4 of 37
Preferred connectivity RSView_Tutorials.doc
5. From the Welcome display, click the Next button.
Working with the RSView32 tutorials and demo Rockwell Software Inc 5 of 37
Preferred connectivity RSView_Tutorials.doc
Quick Start Tutorial
Configure a path from RSLinx to your ControlLogix processor
In order to run the Function Block Demo in RSView32, you first must configure a path from
RSLinx to your ControlLogix processor. In our Quick Start Tutorial, we configure an Ethernet path
to a ControlLogix processor. These steps illustrate just one example of configuring a path. If you
are using an interface other than Ethernet, the steps you’ll follow will not exactly match the steps
below.
Follow the Quick Start Tutorial to set up communications. Then run RSView32, open the
RSViewDemo.rsv sample project, and run the Function Block Demo.
By default, the ControlLogix Ethernet module is set to obtain its IP address from a BootP server.
The graphic below shows how to open the Module Configuration dialog in RSLinx for an Ethernet
module that has a valid IP number from a BootP server.
Working with the RSView32 tutorials and demo Rockwell Software Inc 6 of 37
Preferred connectivity RSView_Tutorials.doc
Another approach is to use the serial cable connected to the front of the ControlLogix controller.
In RSWho, browse to the Ethernet module from the DF1 Driver over the backplane. Right-click
the Ethernet module to configure the IP address manually. Ask your network administrator for the
Subnet Mask and Gateway Address. Once the Ethernet module is configured with a valid IP
number, the status light flashes green.
Working with the RSView32 tutorials and demo Rockwell Software Inc 7 of 37
Preferred connectivity RSView_Tutorials.doc
2. From the list of driver types, select Remote Devices via Linx Gateway.
There are many ways to connect to the processor. The driver type you choose depends on
the hardware interface you are using. In this example, we configure a path through an
Ethernet module across the backplane to the ControlLogix processor. To determine which
driver you should configure, refer to the table below.
If you have this hardware Select this driver type
Serial cable RS232-DF1 Devices
Ethernet devices
Provides a one-to-many link between the computer
and multiple ControlLogix Ethernet modules
4. Type a name for the new driver or leave the default name, and then click OK.
Working with the RSView32 tutorials and demo Rockwell Software Inc 8 of 37
Preferred connectivity RSView_Tutorials.doc
5. Type the IP address of the ControlLogix processor, and then click OK.
Note that these steps illustrate just one example of configuring a path. If you are using an
interface other than Ethernet, the steps you’ll follow will not exactly match these steps.
6. In the Status column, verify that the new driver is running, and then click the Close button.
Expand the path to the TCP-1, Ethernet. (You should see the Ethernet IP address.)
Click to expand the 1756-ENET/A module.
Working with the RSView32 tutorials and demo Rockwell Software Inc 9 of 37
Preferred connectivity RSView_Tutorials.doc
8. Click to expand the backplane, and then click the 1756-L1/A LOGIX5550 module.
9. Right-click the 1756-L1/A LOGIX5550 module. From the menu, select Configure New
DDE/OPC topic. (Using the DDE/OPC Topic Configuration dialog may not produce the
correct results.)
10. By default, the topic name becomes the program name. For this demo project to
communicate, you must type CLX as the topic name. Click the Done button.
Working with the RSView32 tutorials and demo Rockwell Software Inc 10 of 37
Preferred connectivity RSView_Tutorials.doc
Step 2 Download a sample project from RSLogix 5000
2. From the Edit menu, select Properties. Check the slot settings. The demo file is set for slot 0;
if your chassis contains the processor in another slot, modify this setting before continuing.
Working with the RSView32 tutorials and demo Rockwell Software Inc 11 of 37
Preferred connectivity RSView_Tutorials.doc
3. From the Communications menu, select WhoActive.
4. Navigate to the ControlLogix processor. (This is the same path used when configuring the
topic earlier.) Double-click to expand until you see the ControlLogix processor.
5. Click the processor to select it, and then select Apply Current Path to Project. Click the
Download button.
Working with the RSView32 tutorials and demo Rockwell Software Inc 12 of 37
Preferred connectivity RSView_Tutorials.doc
6. If you see the prompt below, click the Download button to continue. This switches the
controller from Remote Run to Program mode.
7. Watch as status messages indicate the download progress. When the download finishes,
click Yes at the prompt to switch the controller back to Remote Run. If the system does not
generate a prompt, turn the key switch on the controller to the Run position.
Working with the RSView32 tutorials and demo Rockwell Software Inc 13 of 37
Preferred connectivity RSView_Tutorials.doc
10. The Quick Start Tutorial includes sample VBA code that can download programs to the
ControlLogix processor. To work with this sample, open the RSViewDemo.rsv project in
RSView32.
To examine the code, from the RSView32 Project Manager, open the Logic and Control
folder, and then double-click Visual Basic Editor.
To see an example of the code in action, run the Quick Start Tutorial. On step 15 of 15,
click the Download button.
11. Now that you’ve configured a path to your ControlLogix processor and downloaded a sample
RSLogix 5000 program, you can:
open RSView32, start the RSViewDemo.rsv project, and run the Function Block Demo; see
page 15
configure Function Block Editor faceplate controls in an RSView32 project; see page 20
browse ControlLogix tags online while creating tags in an RSView32 project; see page 34
Working with the RSView32 tutorials and demo Rockwell Software Inc 14 of 37
Preferred connectivity RSView_Tutorials.doc
Function Block Demo
Run the Function Block demo in RSView32
To run this demo in RSView32, you must first configure a path from RSLinx to your ControlLogix
processor, and then download a sample project from RSLogix 5000 to your ControlLogix
processor. For help, see “Configure a path from RSLinx to your ControlLogix processor”
beginning on page 6.
From the Start menu, select Programs > Rockwell RSViewDemo.rsv is contained in a self-
Software > RSView32 > RSView32 Works. extracting zip file that installs automatically
when you install RSLogix 5000. To extract the
program files and run the RSView32 demos
2. Open the project named RSViewDemo.rsv.
and tutorials, navigate to RSLogix 5000 >
The default path is RSLogix 5000 > Projects > Samples Projects > Samples. Double-click
> RSViewDemo. RSViewDemo.zip, and then click the Unzip
button.
3. To run the project, from the RSView32 Project Manager, click the Run Mode tab, and then
click the Run Project button.
Working with the RSView32 tutorials and demo Rockwell Software Inc 15 of 37
Preferred connectivity RSView_Tutorials.doc
4. From the Welcome display, click the Next button. If you haven’t already, set your computer’s
display resolution to 1024 x 768 or higher before continuing.
The first time the Function Block Demo is opened, the alarming subsystem starts, and the
trend data is cached. You should see wireframed objects for about five seconds until this
initialization is complete. (For demonstration purposes, we defer active communications with
the processor; this is not how you would typically initialize an RSView32 project.)
Working with the RSView32 tutorials and demo Rockwell Software Inc 16 of 37
Preferred connectivity RSView_Tutorials.doc
2. Examine the function block display. Click and drag the slider to change the flow rate.
3. On the Function Blocks display, click the valve to open the PIDE faceplate.
Working with the RSView32 tutorials and demo Rockwell Software Inc 17 of 37
Preferred connectivity RSView_Tutorials.doc
5. To configure alarm thresholds, make the following entries. Press the Enter key after each
entry to write the new threshold to the processor. When you finish your entries, close the
window.
PV HiHi Limit 90 <Enter>
PV Hi Limit. 80 <Enter>
PV Lo Limit. 20 <Enter>
PV LoLo Limit 10 <Enter>
7. Examine the AlarmData display. Acknowledge an alarm, and then click the Return button.
Working with the RSView32 tutorials and demo Rockwell Software Inc 18 of 37
Preferred connectivity RSView_Tutorials.doc
8. On the Function Blocks display, click the valve to open the PIDE faceplate again.
9. On the PIDE faceplate, click the Auto button. Set a new setpoint, and then click the Close
button.
10. On the Function Blocks display, click the Trending button. Examine the TrendData display,
and then click the Close button.
Working with the RSView32 tutorials and demo Rockwell Software Inc 19 of 37
Preferred connectivity RSView_Tutorials.doc
11. On the Function Blocks display, click the tank to open the agitator D2SD faceplate. Examine
the control, and then click the Close button.
12. When you finish exploring the Function Blocks Demo, click the Return button.
RSView32 Tutorial
Configure a Function Block Editor faceplate control
In this tutorial, you learn how to insert and configure a Function Block Editor faceplate control in
RSView32.
2. From the Edit Mode of the Project Manager, double-click the Graphics folder, and then
double-click Display to create a new graphic display.
Working with the RSView32 tutorials and demo Rockwell Software Inc 20 of 37
Preferred connectivity RSView_Tutorials.doc
3. Right-click inside the graphic display. From the menu, select Display Settings.
4. On the Display Settings dialog, select the options shown below. Set the background color to
light gray. Click OK.
Working with the RSView32 tutorials and demo Rockwell Software Inc 21 of 37
Preferred connectivity RSView_Tutorials.doc
Step 2 Add faceplate controls to the ActiveX Toolbox
1. Before working with the faceplate controls, we’ll first add them to the ActiveX Toolbox. From
the View menu, select ActiveX Toolbox.
3. Right-click in the tab area of the toolbox, and then select Rename.
5. Right-click in the controls area of the toolbox, and then select Additional Controls.
Working with the RSView32 tutorials and demo Rockwell Software Inc 22 of 37
Preferred connectivity RSView_Tutorials.doc
6. Scroll down to the Logix 5000 controls. For this example, select the D2SD and PIDE
faceplate controls, and then click OK.
1. To make room for the faceplate control, drag the bottom of the Untitled graphic display to
lengthen it. If the ActiveX Toolbox is covering the graphic display, drag it out of your way.
2. On the ActiveX Toolbox, click the PIDE control. Then click and drag to place the control on
the graphic display.
Working with the RSView32 tutorials and demo Rockwell Software Inc 23 of 37
Preferred connectivity RSView_Tutorials.doc
Step 4 Configure the faceplate control
2. To browse the ControlLogix tags online, click the Browse button to the right of the Tag box.
Working with the RSView32 tutorials and demo Rockwell Software Inc 24 of 37
Preferred connectivity RSView_Tutorials.doc
3. To expand the list of ControlLogix tags, double-click CLX > Online >
Program:ProcessSimulation > LevelController.
4. The tag and topic fields should appear initialized, as shown below. Click OK.
Working with the RSView32 tutorials and demo Rockwell Software Inc 25 of 37
Preferred connectivity RSView_Tutorials.doc
6. To stop the test run, click the Normal button.
1. From the RSView32 toolbar, click the Button icon. Then click and drag to add the button near
the bottom of the graphic display.
Working with the RSView32 tutorials and demo Rockwell Software Inc 26 of 37
Preferred connectivity RSView_Tutorials.doc
2. Click the Action tab. In the Press action box, type ABORT ME.
3. Click the Up Appearance tab. In the Button Label box, type CLOSE. Click OK.
Working with the RSView32 tutorials and demo Rockwell Software Inc 27 of 37
Preferred connectivity RSView_Tutorials.doc
5. Close the graphic display.
1. From the RSView32 Project Manager, click the Run Mode tab.
2. Open the Graphics folder, and click Display. In the right-hand pane, double-click PIDTest to
run it.
Working with the RSView32 tutorials and demo Rockwell Software Inc 28 of 37
Preferred connectivity RSView_Tutorials.doc
3. On the running faceplate control, click the Detail button.
Working with the RSView32 tutorials and demo Rockwell Software Inc 29 of 37
Preferred connectivity RSView_Tutorials.doc
5. Click the Manual button to suspend PID loop processing.
6. Notice the Mode box in the upper right changes to Operator Manual.
Working with the RSView32 tutorials and demo Rockwell Software Inc 30 of 37
Preferred connectivity RSView_Tutorials.doc
8. Notice the PIDE control does not respond to the new value. Click the Auto button.
9. The control begins to respond to the new setpoint. Click the Tune button.
Working with the RSView32 tutorials and demo Rockwell Software Inc 31 of 37
Preferred connectivity RSView_Tutorials.doc
10. Observe the tuning chart, and then close the window.
Working with the RSView32 tutorials and demo Rockwell Software Inc 32 of 37
Preferred connectivity RSView_Tutorials.doc
12. From the RSView32 Project Manager, click the Stop Project button, and then click the Edit
Mode tab.
13. Now that you've finished configuring and running a PIDE faceplate control in RSView32, you
can:
browse ControlLogix tags online while creating tags in RSView32; see page 34
open RSView32, start the RSViewDemo.rsv project, and run the Function Block Demo; see
page 15
Working with the RSView32 tutorials and demo Rockwell Software Inc 33 of 37
Preferred connectivity RSView_Tutorials.doc
RSView32 Tutorial - OPC Address Browse
Browse ControlLogix tags online
After configuring a path from RSLinx to your ControlLogix controller, you can browse ControlLogix
tags online and use them inside RSView32.
1. From the Edit Mode of the RSView32 Project Manager, open the System folder, and then
double-click Tag Database.
Working with the RSView32 tutorials and demo Rockwell Software Inc 34 of 37
Preferred connectivity RSView_Tutorials.doc
Step 2 Browse the ControlLogix tag database
1. To add a tag from the ControlLogix tag database, make the following entries:
In the Name box, type CLX\TAG1
In the Type box, select Analog
In the Data Source area, select Device as the tag type
To open the ControlLogix tag database, click the Browse button to the right of the Node
Name box
3. In the Data Source area, click the Browse button to the right of the Address box.
Working with the RSView32 tutorials and demo Rockwell Software Inc 35 of 37
Preferred connectivity RSView_Tutorials.doc
4. To expand the tree, double-click CLX > Online > Program:ProcessSimulation.
6. Using the scroll bars, arrange the right pane so that you can see the full tag names.
Working with the RSView32 tutorials and demo Rockwell Software Inc 36 of 37
Preferred connectivity RSView_Tutorials.doc
7. Scroll down and select the PrcessSimulation.LevelController.SP tag. Click OK.
8. Notice the Address box fills with the name of the selected tag. Click the Accept button.
10. Now that you’ve used a ControlLogix tag to create a new tag in RSView32, you can:
open RSView32, start the RSViewDemo.rsv project, and run the Function Block Demo; see
page 15
configure Function Block Editor faceplate controls in an RSView32 project; see page 20
Working with the RSView32 tutorials and demo Rockwell Software Inc 37 of 37
Preferred connectivity RSView_Tutorials.doc
Congratulations!
This completes the set of tutorials and demos that demonstrate preferred compatibility between
RSView32, ControlLogix, and RSLogix 5000 software. To continue learning on your own, try
creating a new project in RSView32, connecting to your ControlLogix processor, working with the
FBD Faceplate controls, and browsing for ControlLogix tags.
To learn more about RSView32 and RSLogix 5000, explore the interactive tutorials that ship with
your RSLogix 5000 software.
Quick Tour
Configuring the ControlLogix
Installs with your RSLogix 5000 software. From the
system using RSLogix 5000
Windows Start menu, select Programs > Rockwell
software
Software > RSLogix 5000 > Quick Tour.
RSView32 Tutorial
Getting started with RSView32 From the RSView32 Sampler & Tutorial CD, select Run the
tutorial.
Working with the RSView32 tutorials and demo Rockwell Software Inc 38 of 38
Preferred connectivity RSView_Tutorials.doc