Beruflich Dokumente
Kultur Dokumente
1 Introduction
This document describes the steps required to create FactoryTalk View alarms for a
PlantPAx Library Add-On Instruction (AOI) instance. Recommended procedures are
provided for FactoryTalk View SE Alarm and Event Tag-based alarms and for
FactoryTalk View ME alarms.
PlantPAx Library Add-On Instructions use instances of the P_Alarm AOI within them for
alarm handling. For example, the P_Motor AOI uses four P_Alarm instances, for:
Fail to Start
Fail to Stop
Interlock Trip
I/O Fault
The following examples show how to create the HMIs Fail to Start alarm for an
instance of the P_Motor instruction. The Fail to Start alarm uses a P_Alarm instance
(Local Tag) named FailToStart. See Chapter 1 of the Reference Manual for each
PlantPAx Library AOI for the names of all of its P_Alarm instances.
The methods described in this document are used to configure any alarm for PlantPAx
Library Add-On Instructions. However, once youve created a few alarms and tested
them to make sure they work properly, you may want to:
Save the bulk alarm data in the same format as you exported.
Import the alarm data into the HMI projects alarm database.
Finally, go online with the HMI project and test the alarms you created.
Instructions for exporting and importing alarms are provided in the online Users Guide
for FactoryTalk View SE or ME, available from the Help menu in FactoryTalk View
Studio.
Path
is
/::[Mosquito]
Object
is
P50_Motor
Alarm
is
FailToStart
For FactoryTalk Alarm and Events, all alarms in the PlantPAx Library use Digital
Alarms in the Alarm and Event setup, one Digital Alarm per P_Alarm instance.
An empty Digital Alarm Properties window is displayed for the new alarm.
Name: The alarm name should include a unique designator for the object as well as a
short description of the alarm. In this example the alarm name for the Fail to Start
alarm is P50_Motor_Alm_FailToStart, where P50_Motor identifies the
P_Motor object and Alm_FailToStart identifies the alarm.
Input Tag: In the PlantPAx Library, objects with alarms have an alarm status for each
alarm. The alarm status parameter name starts with the prefix Alm_. This parameter
should be used for the Input Tag. In this example, the P50_Motor tags Fail to Start
alarm status has the parameter name Alm_FailToStart. Thus the complete input tag
name for this example is:
/::[Mosquito]P50_Motor.Alm_FailToStart
TIP
A simple method to generate the alarm name, especially in a bulk edit tool like
Excel, is to remove the communication path (shortcut) and replace the dot
(.) separating the tag name and the alarm status parameter name with an
underscore (_).
For this example, Input Tag:
/::[Mosquito]P50_Motor.Alm_FailToStart
becomes alarm name:
P50_Motor_Alm_FailToStart
Severity in
A&E Configuration
1
2 (Warning)
251
3 (Exception)
501
4 (Fault)
751
Minimum Duration: The Minimum Duration should be set to zero. Alarm on-delay
and off-delay timing is handled by the controller.
Latched Checkbox: Leave the Latched checkbox unchecked. Alarm latching (Reset
Required) is handled by the controller.
Acknowledge Required Checkbox: Be sure the Acknowledge Required checkbox is
checked. Alarm auto-acknowledgement for alarms configured as Ack Not Required is
handled by the controller.
Show Alarm as Tag Checkbox: Leave the Show Alarm as Tag checkbox unchecked.
Message: The Message may be configured as required by the end user.
Associated Tags: Associated Tags may be configured as required by the end user.
Alarm Class: The Alarm Class may be configured as required by the end user for alarm
grouping and filtering.
FactoryTalk View Command: The FactoryTalk View Command is executed when the
alarm is double-clicked in the Alarm Summary. If you wish to call up the faceplate for a
particular object when its alarm is double-clicked, configure the FactoryTalk View
Command as Display {faceplate display name} /TPath object}. In this example, the
command is:
Display "(RA-BAS) P_Motor-Faceplate" /T[Mosquito]P50_Motor
On the Status Tags tab of the Alarm Properties window, configure the alarm as
follows:
Disabled Tag: Enter Path Object.Sts_ AlarmDisabled for the Disabled
Tag. In this example, the Disabled Tag is:
/::[Mosquito]P50_Motor.Sts_FailToStartDisabled
Suppressed Tag: Enter Path Object.Sts_ AlarmSuppressed for the
Suppressed Tag. In this example, the Suppressed Tag is:
/::[Mosquito]P50_Motor.Sts_FailToStartSuppressed
In Alarm Tag: Leave the In Alarm Tag field blank
Acknowledged Tag: Enter Path Object.Ack_ Alarm for the Acknowledged
Tag. In this example, the Acknowledged Tag is:
/::[Mosquito]P50_Motor.Ack_FailToStart
NOTE: The Alm, Ack, Suppressed and Disabled elements are all public, browsable
Parameters of the P_Motor Add-On Instruction.
NOTE: Even though they are flagged as Output Parameters in the Add-On definition,
the Ack, Suppressed and Disabled Parameters are configured to be writable (Read/Write,
not Read Only) so the Alarm and Event Server can send these bits to the controller.
Entering the Acknowledge Tag in this tab allows the acknowledgement from the
controller (and the faceplate) to acknowledge the alarm in FactoryTalk Alarms and
Events.
Ack Tag: Enter Path Object.Ack_ Alarm for the Acknowledge Tag. In this
example, the Acknowledge Tag is:
/::[Mosquito]P50_Motor.Ack_FailToStart
NOTE: This is the same as the Acknowledged Tag on the Status Tags tab.
The completed configuration is shown below.
is
[Mosquito]
Object
is
P50_Motor
Alarm
is
FailToStart
With the Triggers tab selected, click Add to create a new alarm trigger. An empty
Trigger entry box appears.
Click the ellipsis button under Tag to open the Tag Browser.
In the left-hand frame, navigate to the folder representing the Add-On Instruction
instance. Then, in the right-hand frame, double-click the alarm status parameter for the
alarm.
You can use the folder for the offline controller or, if you are connected to the actual
hardware controller on a network and the controller application is leaded, you can use the
online folder.
NOTE: The alarm status parameters name starts with Alm_. For this example, the
parameter is Alm_FailToStart.
The selected alarm status parameter is entered in the Tag or expression field of the
Trigger popup. Click OK to accept.
Next, click the ellipsis button in the Tag column for the Ack row:
Using the Tag Browser, select the acknowledge status parameter for this item. Repeat for
the Remote Ack row of the table. Your setup should look like this:
NOTE: This change can be made to the entire alarm database by exporting the alarms
and making the changes with a bulk editing tool, then importing the changes. Simply
find and replace every Ack tag occurrence of:
.Ack_FailToStart
to:
.FailToStart.OCmd_Ack
Perform a similar find and replace for each type of alarm: FailToStop, IOFault, etc.
NOTE: Be careful in performing the find and replace that you dont change the
RemoteAck entries.
Audio: Check this box if you want a sound to play from the HMI terminals speakers
when the alarm occurs.
Print: Check this box if you have a printer attached to the HMI terminal (directly or via
network) and you want the alarm to print when the alarm occurs.
Message to Tag: It is recommended that you leave this box unchecked.
Background and Foreground: Select the colors used to display the alarm on the alarm
summary. The colors selected should match the alarm severity:
Severity
Foreground Background
1 (Information)
White
Blue
2 (Warning)
Black
Bright Yellow
3 (Exception)
Black
Bright Red
4 (Fault)
Black
Bright Magenta
Go back to the Triggers tab to create the next alarm, or click OK to save the Alarm Setup.