beautypg.com

Example: message placeholders – Rockwell Automation FactoryTalk View Site Edition Users Guide User Manual

Page 231

background image

11

S

ETTING

UP

HMI

TAG

ALARMS

11–19

• •

11

Pla
ceho

lde

r

The system default messages are used automatically, for all alarms and alarm events. For
alarm events, they are used if you don’t specify a log message string using the /L
parameter with the AlarmEvent command. For details, see the FactoryTalk View Site
Edition Help.

Example: Message placeholders

An out-of-alarm message set up like this:

\11D \8T Tag \10N is out of alarm.

is shown like this at run time:

01/22/06

11:45:02 Tag PUMP3 is out of alarm.

01/22/06

11:47:23 Tag PUMP4 is out of alarm.

01/22/06

11:48:14 Tag PUMP5 is out of alarm.

The width of a column in a message is the number of spaces specified between the
backslash and the placeholder character. In this example, the date column has 11 spaces
(\11D), the time has 8 spaces (\8T), and the tag name has 10 spaces (\10N).

User default messages

are messages you create to replace the system default

messages. You can use both words and placeholders to define user defaults.

Custom messages

apply on a per-tag basis. You set them up in the Tags editor, in the

Alarm Messages tab in either of the Analog or Digital Alarm editors.

To create a custom message, type any message you want. You can use both words and
placeholders to define custom messages.

\L

Alarm label specified in the Alarm Label field of the
Analog Alarm and Digital Alarm editors.

\N

Name of the tag in alarm.

\S

Description of the tag in alarm.

\T

Time when the message is sent.

\U

Units specified in the Units field, in the Tags editor.

\V

Threshold value that was crossed.

\C, \L, \U, and \V do not contain any information when used in alarm Acknowledged messages.

This placeholder

Is replaced with