Sie sind auf Seite 1von 2

43899 - Inview message and variable triggering for all displays

https://rockwellautomation.custhelp.com/app/answers/detail/a_id/43899

Email this page

Subscribe to Updates

How do I trigger messages and variables on an Inview display? How can I continuously update a variable?
TNU:All Inview displays recognize ASCII commands to trigger messages and variables. All of them are equipped with an RS-232/485 serial interface to receive these
commands. The Inview can receive only ASCII and has no capability of sending ASCII or any other data.

The Inview is programmable using the Inview Programming Software (2706-PSW1) and can only display messages that have been downloaded to it and assigned a
specific message number. It does not have a terminal mode to display raw text from any source, the strings must be formatted as commands the Inview recognizes.

The Inview will accept these ASCII string commands from any source that can output ASCII data serially. There are Industrial Communication Modules (see
below) available for the Inview that will read commands over an industrial network from a processor and convert them into a serial signal that the Inview understands.

The string contents to send a MESSAGE trigger command to an Inview are as follows:

First a CTRL-T, then the message number to display, then an optional queue function, then the optional serial address of the Inview display followed by a
CTRL-M (carriage return or "enter" key).

CTRL-T is represented in most processors by ^T. In Logix processors it is represented by $14.

The queue function allows you to add a message to the Inview's message queue at a given priority level (low, medium, high). Messages added to the queue will be
displayed for a prescribed time before clearing and going to the next lowest priority message in the queue. If you do not enter a priority value it will default to highest
priority and display the message immediately, it will also clear the queue.

The serial address allows you to indicate which Inview display(s) will show the message. Inviews can be tied together in an RS-485 chain and can each have a
separate serial address. A message can be displayed on any one or all of the Inviews. If you do not specify a serial address it will assume you want to broadcast the
trigger to all Inviews.

The simplest trigger command to trigger message #1 would look like this:

^T1^M (SLC, MicroLogix or PLC5) or $141$0d (logix)

This would trigger message #1 - CTRL-T 1 CTRL-M. This would trigger message #1 at highest priority to any Inviews on the serial connection because we didn't
specify a serial address or a queue command. $0d represents CTRL-M in a Logix processor.

The string contents to trigger a VARIABLE are as follows:

CTRL-V, then the variable's current value, then a backslash ( \ ), then the variable slot #, then another backslash, then the optional Inview serial address
followed by a CTRL-M or carriage return.

CTRL-V will be ^V or $16 in a Logix processor.

The variable's current value can be any 5-digit integer.

The variable slot number identifies the variable's position in the message. When you are programming messages on the Inview you must designate an identifying
number to each variable you imbed in a message. For instance, in a message like LEVEL OF TANK # IS ####, the first # could be variable #1 and the #### could be
variable #2. You can assign up to 99 unique variables. Variables carry over into other messages as well. If message #1 and message #10 both have a variable
designated as variable #1 each message will display the last value that was assigned to variable #1 by the ^V command.

A typical variable string to plug the number 1000 into variable slot #1 would look like this:

^V1000\\1^M (SLC, MicroLogix or PLC5) or $161000\1$0d (Logix)

Notice there are double backslashes on the SLC, MicroLogix and PLC5 and only one backslash for the Logix. Alphanumeric variables are also possible, you must
put quotes before and after the variable value: ^V"ABC12"\\1^M

Most of the time you will want to display a continuously updating value on the Inview. This will be done using ASCII Concatenation (the ACN command in a
processor). The ACN command allows you to combine two strings into one.

For example let's say your first string (ST1:1) contains CTRL-V (^V).

Your second string (ST1:2) contains a value being copied from an integer register that is being updated every processor scan (xxxx).

Your third string (ST1:3) contains your variable slot number along with your carriage return (\\1^M).

Your fourth string (ST1:4) will contain the result of combining strings 1 and 2 (^Vxxxx).

Your fifth string (ST1:5) will contain the final combined string (strings 3 and 4) that you will send to the Inview, either with an AWT block or copied into the
registers for your Industrial Comm module (see below). (^Vxxxx\\1^M).

The ACN command can only combine two strings. Therefore you will use the ACN command to combine strings 1 and 2 with the result being string 4. Then you will
combine string 3 and string 4 to get your final result which will be string 5. In this way you will have a string that always has an up-to-date value in it to send to the
Inview.

Sending these command strings, message or variable trigger, to an Inview display requires a bare minimum of a direct serial connection from the processor (or
other source) to the Inview. A processor would use an ASCII Write command (AWT) to send the contents of a string file containing the ^T or ^V command to the Inview.

You can also use one of our Industrial Communication Modules to get the ASCII data to the Inview over and industrial network such as ControlNet (2706-PCNETx),

1 of 2

1/29/2016 7:55 AM

43899 - Inview message and variable triggering for all displays

https://rockwellautomation.custhelp.com/app/answers/detail/a_id/43899

DeviceNet (2706-PDNETx), Ethernet (2706-PENETx), Data Highway (2706-PDH485x or PDHPx for Data Highway Plus) or Remote I/O (2706-PRIOx). The x in the part
# signifies either a P for panel-mount, M for rear-mount (mounting on the back of the Inview, not available for the 2706-P22R display), or K for internal mounting within
the display (also not available on P22R).

The Industrial Communication Module is a specially designed PanelView that will read user-designated integer addresses/tags in a processor via the industrial
network and send the contents of these registers to the Inview as serial ASCII.

The addresses the module reads are designated in the configuration software (2706-PSW1) as Message (or Variable) Trigger and Message (or Variable) Data.

The Industrial Communication Module will look for a bit to change state in the Trigger register and then will take the string contained in the Data registers and send that
to the Inview.

You will build your string commands using String files and then you will copy the String file to the Integer file that the Industrial Communication Module is
monitoring. For instance, your ^T1^M contained in your String file will have to be copied into the Integer file you have designated as your Message Data registers,
then you will change a bit in the Message Trigger register to send the data to the Inview.

DISCLAIMER
This knowledge base web site is intended to provide general technical information on a particular subject or subjects and is not an exhaustive treatment of such
subjects. Accordingly, the information in this web site is not intended to constitute application, design, software or other professional engineering advice or services.
Before making any decision or taking any action, which might affect your equipment, you should consult a qualified professional advisor.
ROCKWELL AUTOMATION DOES NOT WARRANT THE COMPLETENESS, TIMELINESS OR ACCURACY OF ANY OF THE DATA CONTAINED IN THIS WEB SITE
AND MAY MAKE CHANGES THERETO AT ANY TIME IN ITS SOLE DISCRETION WITHOUT NOTICE. FURTHER, ALL INFORMATION CONVEYED HEREBY IS
PROVIDED TO USERS "AS IS." IN NO EVENT SHALL ROCKWELL BE LIABLE FOR ANY DAMAGES OF ANY KIND INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS PROFIT OR DAMAGE, EVEN IF ROCKWELL AUTOMATION HAVE BEEN ADVISED ON THE POSSIBILITY OF SUCH DAMAGES.
ROCKWELL AUTOMATION DISCLAIMS ALL WARRANTIES WHETHER EXPRESSED OR IMPLIED IN RESPECT OF THE INFORMATION (INCLUDING
SOFTWARE) PROVIDED HEREBY, INCLUDING THE IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, AND
NON-INFRINGEMENT. Note that certain jurisdictions do not countenance the exclusion of implied warranties; thus, this disclaimer may not apply to you.

This page is best viewed in Internet Explorer 10, Firefox 31, Chrome 37, Safari 6 or newer.

2 of 2

1/29/2016 7:55 AM

Das könnte Ihnen auch gefallen