FactoryTalk Alarms and Events

FactoryTalk Alarms and Events
FactoryTalk® Alarms and Events
FactoryTalk® Alarms and Events
XLReporter generates Excel based reports from
Rockwell Automation® FactoryTalk® Alarms and Events
when the alarms and events are historically logged.
The purpose of this document is to describe the setup of
FactoryTalk Alarms and Events for XLReporter.
Tag-base monitoring is configured in FactoryTalk View
Studio. The first step is adding a Tag Alarm and Event
Server. This is done from the Explorer window by rightclicking an application or area and selecting Add New
Server, Tag Alarm and Event Server.
The General tab is where you specify the server Name.
Defining a Database
FactoryTalk Alarms and Events can be historically logged
to either Microsoft SQL Server or SQL Server Express.
This database can be located on either the local machine
or across the network. Within FactoryTalk View Studio,
you must specify the database where the logging will
This is defined from the Explorer window by selecting
System, Connections, Database right-clicking and
selecting New Database.
Under the Priorities and History tab be sure to check
Enable history and set Database definition to the
Database Name you previously defined.
Tag-based alarms can now be configured in the Explorer
window by expanding the Tag Alarm and Event Server
you defined and double-clicking Alarm and Event
Under the General tab you specify the settings for the
SQL Server or SQL Server Express you have available.
For Database name you can either browse to select an
existing database or enter a new database name.
Configuring Alarm Monitoring
There are two types of alarm monitoring supported by
FactoryTalk Alarms and Events: device-based monitoring
and tag-based monitoring.
Device-based monitoring is configured and downloaded
to the controller with built-in alarm instructions.
Tag-based alarms can be added, modified or removed
using the icons at the top.
Creating an Alarms Connector
In Project Explorer, Data, Connectors, create a new
connector by selecting Add, Rockwell Automation,
FactoryTalk Alarms and Events. Select the database
where your alarms are stored. Then, select the Table or
view where alarm data is stored, and select the column
used to timestamp the alarms as your Date Column.
of alarms returned. By default this is set to the first 60
alarms over the current day.
Under the Filters tab, specify additional filtering to limit
the type or amount of alarms returned.
To retrieve data using your configured settings, select
Preview. In the Preview window, use the data picker to
select a date/time, and use Refresh to retrieve data.
RSLinx and FactoryTalk are registered trademarks of Rockwell
Automation, Inc.
There are a number of tables and views available from the
database. In the FactoryTalk Alarms and Events
documentation, they recommend retrieving data from the
views only.
The following views are available:
• vwSimpleEvent
• vwConditionEvent
• vwTrackingEvent
• vwAllEvents
For the purposes of this document consider the
vwConditionEvent and the vwTrackingEvent views.
The vwConditionEvent view returns all the conditionrelated events like when the alarm changed state. The
vwTrackingEvent view returns tracking-related events
like an event describing the acknowledgement of an
A typical report would be to show all the alarms over a
certain time period along with the acknowledgement
information entered by the operator. The alarm record
can be retrieved from vwConditionEvent but the
acknowledgement information from the operator is
retrieved from vwTrackingEvent.
Verifying the Alarms Connector
In Project Explorer, Tools, Connector Groups, select
your FactoryTalk alarms connector and then select Add to
add a new connector group.
On the Columns tab of the group dialog, select alarm data
from the columns available in the table.
On the Time Period tab, select the Start Time and End
Time for the group as well as restricting the total number
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF