You are on page 1of 40

Web-based InView Programming Software

For Classroom Use Only!

Presenter: <<Your name>>


N999 <<Your
Your business
lab titlegroup>>
goes here
Important User Information
This documentation, whether, illustrative, printed, online or electronic (hereinafter Documentation) is intended for use only as
a learning aid when using Rockwell Automation approved demonstration hardware, software and firmware. The Documentation
should only be used as a learning tool by qualified professionals.
The variety of uses for the hardware, software and firmware (hereinafter Products) described in this Documentation, mandates
that those responsible for the application and use of those Products must satisfy themselves that all necessary steps have been
taken to ensure that each application and actual use meets all performance and safety requirements, including any applicable
laws, regulations, codes and standards in addition to any applicable technical documents.
In no event will Rockwell Automation, Inc., or any of its affiliate or subsidiary companies (hereinafter Rockwell Automation) be
responsible or liable for any indirect or consequential damages resulting from the use or application of the Products described in
this Documentation. Rockwell Automation does not assume responsibility or liability for damages of any kind based on the
alleged use of, or reliance on, this Documentation.
No patent liability is assumed by Rockwell Automation with respect to use of information, circuits, equipment, or software
described in the Documentation.
Except as specifically agreed in writing as part of a maintenance or support contract, equipment users are responsible for:

properly using, calibrating, operating, monitoring and maintaining all Products consistent with all Rockwell Automation
or third-party provided instructions, warnings, recommendations and documentation;

ensuring that only properly trained personnel use, operate and maintain the Products at all times;

staying informed of all Product updates and alerts and implementing all updates and fixes; and

all other factors affecting the Products that are outside of the direct control of Rockwell Automation.
Reproduction of the contents of the Documentation, in whole or in part, without written permission of Rockwell Automation is
prohibited.
Throughout this manual we use the following notes to make you aware of safety considerations:
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.

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

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
recognize the consequence

Labels may be located on or inside the drive to alert people that dangerous voltage may be present.

Labels may be located on or inside the drive to alert people that surfaces may be dangerous temperatures.

InView Programming Software is now Web-based


Contents
Before you begin

This lab utilizes only the engineering workstation image on the left hand side with the color desktop background. You can shut
down the server image on the right.
4
About this lab

Tools & prerequisites

Logging onto the InView Comms Module User Interface 7


Clearing the InView Display Memory

Reset the InView Comms Module to Factory Default

11

Adding Displays13
Adding Messages

16

Adding Messages with Variables23


Triggering Messages and Updating variables from Logix controllers.

3 of 41

27

Before you begin


This lab utilizes only the engineering workstation image on the left hand side with the color desktop
background. You can shut down the server image on the right.
INCLUDEPICTURE "C:\\Users\\Labuser\\AppData\\Local\\Temp\\SNAGHTML1236c8.PNG" \*
MERGEFORMATINET INCLUDEPICTURE
"C:\\Users\\Labuser\\AppData\\Local\\Temp\\SNAGHTML1236c8.PNG" \* MERGEFORMATINET
INCLUDEPICTURE "C:\\Users\\Labuser\\AppData\\Local\\Temp\\SNAGHTML1236c8.PNG" \*
MERGEFORMATINET INCLUDEPICTURE
"C:\\Users\\Labuser\\AppData\\Local\\Temp\\SNAGHTML1236c8.PNG" \* MERGEFORMATINET
INCLUDEPICTURE "C:\\Users\\Labuser\\AppData\\Local\\Temp\\SNAGHTML1236c8.PNG" \*
MERGEFORMATINET INCLUDEPICTURE
"C:\\Users\\Labuser\\AppData\\Local\\Temp\\SNAGHTML1236c8.PNG" \* MERGEFORMATINET

In this lab, we utilize the same Logix ACD file as the previous lab.
Only if you need to re-download, please do the following;
1. From the Windows desktop, double-click on the LabFiles shortcut.

2. Expand RSLogix 5000 Projects folders and then double-click on My_IF2_DEMO.ACD.


3. From the main menu is RSLogix 5000, go to Communications Who Active.

4 of 41

4. In the Who Active windows, expand AB_ETHIP-1, Ethernet 172.16.1xx.4 1756-EN2T


Backplane, 1756-A10/A, select 01, 1756-L63 LOGIX5563 and click the Download button.
INCLUDEPICTURE "../../../pyhaikal/AppData/Local/Temp/SNAGHTML6190bc.PNG" \*
MERGEFORMAT INCLUDEPICTURE
"../../../pyhaikal/AppData/Local/Temp/SNAGHTML6190bc.PNG" \* MERGEFORMAT
INCLUDEPICTURE "../../../pyhaikal/AppData/Local/Temp/SNAGHTML6190bc.PNG" \*
MERGEFORMAT INCLUDEPICTURE
"G:\\..\\..\\pyhaikal\\AppData\\Local\\Temp\\SNAGHTML6190bc.PNG" \* MERGEFORMATINET
INCLUDEPICTURE "C:\\Users\\pyhaikal\\AppData\\Local\\Temp\\SNAGHTML6190bc.PNG" \*
MERGEFORMATINET

5 of 41

5. Click the Download button to confirm the download.

6. Once the download is complete, Click Yes to change the controller back to Remote Run.

7. Minimize RSLogix 5000.

About this lab


InView Programing software is now easy to use, easy to configure, and no installation is required because it is web based, which
means you no longer have to have a Windows XP computer as the older software required.
.
This lab takes approximately 30 minutes to complete.

6 of 41

Tools & prerequisites

RSLogix 5000 software.

RSLinx Classic.

InView Displays.

Spectrums new Comm module.

Logix AOI for InViews downloaded for Spectrums website.

7 of 41

Logging onto the InView Comms Module User Interface


You log onto the InView Comms Module User Interface to set up and manage all InView Comms Module
messaging functions.
Note: The InView Comms Module comes with two ports; a LAN port and a WAN port.
Out of box, the LAN is setup up to obtain an IP address automatically. The LAN
configuration does not allow for a gateway address so you must be on the same subnet to
use the LAN port.
The WAN port is setup with a static IP address (192.168.1.100) and a Gateway address
can be specified if needed.
In this lab, we are using the LAN port.
To log onto the InView Comms Module:
1. Start Microsoft Internet Explorer.
2. The browser window appears. In the address bar, type 172.16.1xx.19 where xx is your two-digit
station number and hit Enter. (This is the IP address of the LAN port on the InView Comms
Module.)

In order to view the InView Comms Module interface, your personal computer or
hand-held device must be able to run an Adobe Flash Player compatible browser.
If Adobe Flash Player is not installed, the InView Comms Module web page would appear
with an Adobe Flash link on the window. You would click the link and follow the Adobe
instructions for installing the Player.

8 of 41

3. In the InView User Interface login dialog, the default username (admin) is not editable. The default
password provided with your InView Comms Module is: spectrum.

The InView Comms Module allows you to change password access for the InView
Comms Module web page. The InView Comms Module does not use user accounts or
multiple passwords; access is restricted by a password. We will leave it at the default for
now.
4. Click Submit.
The software informs you that it is retrieving data and displays the main InView Comms Module window.

9 of 41

Clearing the InView Display Memory

1. From the InView Configuration Work Area, click

The Configure Tools dialog appears:

10 of 41

the Tools icon.

2. Click the Clear Memory button.

3. Select your display and click Submit.

4. Click the Configure link circled below, to go back to the work area. Do not use the web browser back
buttons to do that.

11 of 41

Reset the InView Comms Module to Factory Default

1. From the work area, click

, the Maintenance icon.

2. Click the Reset to Default Configuration button.

12 of 41

3. Click Yes to confirm the reset to the default configuration.

4. Wait until the reset is successful and click OK.

5. Close Microsoft Internet Explorer.


6. Start Microsoft Internet Explorer again.
7. In the address bar, type 172.16.1xx.19 where xx is your two-digit station number and press Enter.

8. In the InView User Interface login dialog, enter the default password: spectrum.

9. Click Submit.
The software displays the main InView Comms Module window.

13 of 41

Adding Displays

1. From the InView Configuration work area, select

2. The Display Properties dialog appears. Click

the Display Manager icon.

the Add new Display icon.

14 of 41

3. In the Display Properties dialog, specify the following display options;


a. Display Name: Station_xx where xx is your two-digit station number.
b. Panel Type: Select 2706-P22R from the drop down list.
c. Display Serial Address: By default the address is 1.
d. Heartbeat: Disabled.
e. Click Submit to save the changes on the InView Comms Module and exit.

Heartbeat: In the absence of serial activity approximately every three seconds, the display will
show a No Network Activity message.

15 of 41

Disabled. When the heartbeat property is set to Disabled, it disables the need for constant serial
activity in the display.

None. When the heartbeat property is set to None, the activity is assumed to come from sources such
as variable updates.

Control. When the heartbeat property is set to Control, the control generates a serial heartbeat
command that prevents the display from showing the No Network Activity message.

For this lab, we will disable this feature by selecting Disabled.


4. Once a display has been added, click on the Configure link to go back to the InView Configuration
Work Area (Do not use the browser back button.)

16 of 41

Adding Messages

1. From the InView Configuration Work Area, select

, the Messages icon.

2. In the Messages dialog, select the display youve just added from the left pane and then click
Add New Message Group icon.

17 of 41

, the

3. In the Message Group Properties, enter the following:


a. Group Name: Enter MyMessageGroup.
b. Display Type: select 2706-P22R.
c. Partition Size: 200.
d. Click Submit.

The Partition Size is the allocated display memory per message. It is the size of the total message
length including formatting (variable & depending on formatting elements included in any giving
message). Note that it is not the number of characters.

The total display message memory is 200KB (200,000 Bytes)

The Min Partition Size is 50 Bytes (yielding 4000 messages max)

The Max Partition Size is 450 Bytes (yielding 444 messages max)

Maximum Memory
Number of Messages = -------------------------------------Partition Size

For example, If partition size 200Bytes/msg then 200,000 Bytes / 200Bytes/msg = 1000 messages.

18 of 41

4. With the group added, we can now create a message. Click

, the Add New Message icon.

When you click on the Add Message icon, the software creates a blank message and switches to the
Messages Editor dialog tab.

5. In the message display window, type in STATION xx (xx is your two-digit station number), click Enter
and then type in ROCKS.

19 of 41

6. When you have finished creating your message, click


appears on the display.

7. To go back to edit mode, click

the preview icon to see how your message

the edit mode icon.

8. Before exiting the editor, you need to save your changes. To save the changes, click

the save icon.

Additional information
The P22R display allows you to have two messages displaying at the same time. One message is set to Line 1. The
second message is set to Line 2. You may also have an All Lines setting where one message displays on one or both
lines.
The Message Editor is used to add a message to the blank message window and to format the message's
appearance. Formatting options are defined by the type of display on which the message is to appear:
For a P22R:
HEADER. You can create a heading for each message. The heading is centered on the first line of the display above
the message. You can assign attributes to the heading, which can differ from the message text. To add a header, click
the check box. To remove a header you have added, deselect the box. Header example:
LINE CONTROL. Allows you to display two messages on the 22R, 2-line display at one time. To activate this feature,
you must assign each message to a specific line, Line 1, or Line 2, in the Message Editor. Options are:
All Lines. Displays a message on Line 2 only.
Line 1. Displays a message on Line 1 only.
Line 2. Displays a message on Line 2 only.
When displaying messages, the line controls options function as follows:

If a Line 1 message is active on the display, and a Line 2 message is downloaded, the Line 1 message remains active on
Line 1 and the downloaded Line 2 message appears on Line 2.

20 of 41

If a Line 1 message is active on the display, and a new Line 1 message is downloaded to the display, the active Line 1
message is replaced with the downloaded Line 1 message.

If a Line 1 or Line 2 message is downloaded while All Lines message is active, the All Lines message is cleared and the
Line 1 or Line 2 message is displayed.

If an All Lines message is downloaded while a Line 1 and/or Line 2 message is active, the Line 1 and/or Line 2 messages
are cleared, and the All Lines Message is displayed.

MODE. Specifies whether message display is fixed or rotating. To select a mode, from the dropdown menu, select:
Hold. Specifies stationary message display.
Rotate. Message rotates on displays (from right to left only).
Pause. Refreshes and displays the message after the specified number of seconds (1 to 5). Default is 2 sec.
PRIORITY. Specifies the importance of a message. Messages of a lower priority do not run if any message of a higher
priority is running.
FONT. Specifies the maximum number of pixels to use for the height of the characters. The font is sans-serif. Fancy
indicates the maximum height of the characters using a serif font. To select a font style, from the dropdown menu
select:
STYLE. Specifies font style.
COLOR. Red is the only option for a P22R.
Left-align text. To align the text justified to the left, click the following icon:
Center-align text. To align the text justified to the right, click the following icon:
Blinking text. To make text blink, highlight the text you wish to blink, and click the following icon:
Insert Extended Character Set.
Insert time in message.
Insert date in message.
Insert variable in message.
Insert a custom (foreign language or bitmap) character in message. To insert a custom character in an image,
click where you wish to insert the character and click the following icon.

21 of 41

9. To download the message, click

the Download Message Group to InView Display icon.

INCLUDEPICTURE "C:\\Users\\pyhaikal\\AppData\\Local\\Temp\\SNAGHTML8fe9f3.PNG" \* MERGEFORMATINET


INCLUDEPICTURE "C:\\Users\\pyhaikal\\AppData\\Local\\Temp\\SNAGHTML8fe9f3.PNG" \* MERGEFORMATINET

10. Select your display and click Submit.

11. As a quick test, with message ID 1 selected, click

22 of 41

the Trigger a Priority Message icon.

12. In the Trigger Priority Message:


a. Select your display.
b. Serial Address: 1
c. Message ID: 1
d. Click Submit.

This message should be displayed on the InView display.

23 of 41

Additional Information:
One may add the message to the queue, delete a message from a queue, or trigger a priority message using
the following icons:
To add a message to a queue, click

the Add Message to a Queue icon.

To delete a message from a queue, click


To trigger a priority message, click
To clear a message queue, click

the Delete Message from Queue icon.


the Trigger a Priority Message icon.

the Clear Message Queue icon.

24 of 41

Adding Messages with Variables


1. Click

, the Add New Message icon.

2. To insert a variable, click

the insert variable icon.

25 of 41

3. The Insert Variable dialog appears:


a. It is a Numeric variable.
b. Variable ID: The ID associated with variable is 1.
c. Click Submit.

Numeric. Specifies that variable can only be a number.


Padding. Defines whether or not to place no space, spaces, or zeroes before or after the variable.
. Show plus or minus sign on variable entry.

4. Add a space after the variable and enter Minutes to go


5. Press Enter.
6. Click

the insert variable icon to insert another variable.

26 of 41

7. The Insert Variable dialog appears.


a. Select Alphanumeric.
b. Variable ID. The ID associated with the variable is 2.
c. Set the Min Text Length to 3.
d. Click Submit.

Alphanumeric. Specifies that variable can be either a number or a letter.


Min Text Length. Defines minimum text length.

8. Add a space after the variable and the enter Traffic Jam.
Your message should look like this:

9. To save the changes, click

the save icon.

10. To download the message to the InView Display, click


Display icon.

the Download Message Group to InView

INCLUDEPICTURE "C:\\Users\\pyhaikal\\AppData\\Local\\Temp\\SNAGHTML8fe9f3.PNG" \* MERGEFORMATINET

27 of 41

INCLUDEPICTURE "C:\\Users\\pyhaikal\\AppData\\Local\\Temp\\SNAGHTML8fe9f3.PNG" \* MERGEFORMATINET

11. Select your display and click Submit.

12. Click the Configure link to go back to the configuration work area (Do not use the browser back
button.)

We will trigger this message from the controller. Continue to the next section.

28 of 41

Triggering Messages and Updating variables from Logix controllers.

1. From the InView Configuration Work Area, click

the Industrial Network icon.

2. In the Industrial Network Settings dialog:


a. Select ControlLogix as the PLC Type.
b. Enter 172.16.1xx.4 as the Address where xx is your 2-digt station number.
c.

Select Slot Number 1.

d. Click the Test Device Connection button.

29 of 41

3. Click OK at the Tests Results dialog indicating the test was successful.

4. Click Submit and then click OK that the data was modified successfully.

5. Now click the Configure link to go back to the configuration work area (Do not use the browser back
button.)

6. From the InView Configuration Work Area, click

30 of 41

, the Message Server icon.

7. In the PLC Message Server Tag Setup dialog:


a. Message Trigger: InView_Data_MSG[0]
b. Message Data: InView_Data_MSG[1]
c. Array Size: 86
d. Variable Trigger: InView_Data_MSG[0]
e. Variable Data: InView_Data_MSG[1]
f.

Array Size: 20

g. Click Submit.

The InView requires two arrays, one for Messages and one for Variables. The array sizes have
to be big enough for the messages and variables.
The first element of each array is what the InView monitors to know to either display a new
message or update the variable. Variables are updates even if the message is not displayed.

31 of 41

In this lab, these two arrays have already been configured in RSLogix 5000.

8. Click OK when prompted.

9. Click the Configure link to go back to the configuration work area (Do not use the browser back
button.)

32 of 41

10. From the InView Configuration Work Area, select

11. The Messages dialog appears. Click

the Messages icon:

the Download Message Group to InView Display icon.

INCLUDEPICTURE "C:\\Users\\pyhaikal\\AppData\\Local\\Temp\\SNAGHTML8fe9f3.PNG" \* MERGEFORMATINET


INCLUDEPICTURE "C:\\Users\\pyhaikal\\AppData\\Local\\Temp\\SNAGHTML8fe9f3.PNG" \* MERGEFORMATINET

33 of 41

12. Select your display and click Submit.

13. Switch to RSLogix 5000.


14. Makes sure you are online with the controller.

15. In the Controller Organizer on the left, expand Tasks Maintask InView and then double-click on
the main routine called Main.

Spectrum has developed add-on instructions with instructions on how they can be used to
trigger messages, update variables and/or create messages from Logix on the fly. They can be
downloaded from Spectrums website.

34 of 41

You can either import the add-on instructions into you project or simply use the
Complete_InView_AOI.ACD project, which is what we are using in this lab.

16. Lets update the numeric variables in message ID 2 first. Go to rung 2 and modify the value of
InView_Var_Data _New tag to 60 and press Enter.

17. Lets update the Alphanumeric variables in message ID 2. Go to rung 4, double-click the value of
InView_Var_Alpha _New tag, type BIG and press Enter.

18. You are done updating the variables, now lets trigger message ID 2. Go to rung 0, Modify the value of
InView_MSG_Number _New tag to 2 and press Enter.

35 of 41

The following message should now be displayed on the InView.

60 Minutes to Go
BIG Traffic Jam
19. Feel free to change the variables again and note how they get updated automatically.
In short, when updating variables, the ladder logic inside the AOI is toggling the first element of the variable array,
telling the InView there is a new value to grab. A similar behavior of the ladder occurs when triggering a new
message where the AOI toggles the first element of the data array which is monitored by the InView.

36 of 41

Extra Task Creating a Message in Logix controllers.


Lets create a new message in Logix.
1. First we have to give the message an ID. Go to rung 8 and modify the Inp_Dec_Number parameter of
the InVwAdv_Download AOI and modify its value to 3.

2. We are ready to create the message. Go to rung 6, double-click the value of InView_MSG_New tag,
type My Third MSG and press Enter.

The following message should now be rotating left on the InView.

My Third Message
Why is the new message rotating left?
The Input_Mode value is set to 0 in the AOI, which tells the InView to rotate the message left.

37 of 41

The following is a list of the AOI inputs and a range of values for each input.
1.

Display_Address hex value of display address from 1 to 254 (FE). Use 00 or FF depending on which InView is used for
a display address of 255, which signifies a message broadcast. Two decimal places are required display address of 1
would be 01.

2.

Dec_msg_number decimal value of the desired message number for storage & future reuse. The values range from 1 to
4000 based on the partition size of the InView. The background message is 4095. In order to be able to store 4000
messages, the InView partition would be 50 message size of 50 characters or bytes. A partition size of 100 would result in
only 2000 messages being able to be stored. If the messages are intended to be stored in the controller, a message
number of 1 can be used for all messages to display.

3.

Position position on the InView where the message is to appear. The decimal values range from 0 to 3.
Middle = 0
Top = 1
Bottom = 2
Fill = 3

4.

Mode determines whether the message rotates or not. The decimal values are either 0 or 1.
Rotate left = 0
Hold = 1

5.

Justification determines whether the message is centered or left justified. The decimal values are either 0 or 1.
Left = 0
Center = 1

6.

Font determines the character font. The decimal values range from 0 to 7.
5 high standard = 0
7 high standard = 1
7 high fancy = 2
10 high standard = 3
16 high fancy = 4
16 high standard = 5
24/32 fancy = 6
24/32 high = 7

7.

Color determines the character color. The decimal value ranges from 0 to 2.
Red = 0
Green = 1
Yellow = 2

8.

Flash determines whether the text flashes or not. The decimal values are either 0 or 1.
Flash off = 0
Flash on = 1

38 of 41

Notes

39 of 41

You might also like