Import xml files, Error log file, Import alarm xml files – Rockwell Automation FactoryTalk View Machine Edition Users Guide User Manual

Page 605: Alarm setup xml file structure

Advertising
background image

E

Import and export alarm XML files

E-3

• •

Import XML files

You can import an alarm setup that has been created using an external programming tool
or editor, or you can import an XML file that you originally exported from FactoryTalk
View and then modified.

If the application is a Compact Machine Edition application, only the number of alarms
allowed by the Compact application limits will be imported.

Error log file

If errors occur during importing, the errors are logged to a text file. The file opens
automatically when importing is finished. The last paragraph of the file lists the location
of the file.

Import alarm XML files

To import alarm information from an XML file

1. In the Explorer window, right-click the Alarm Setup editor.

2. Click Import and Export.

The Alarm Import Export Wizard opens.

3. Follow the instructions in the wizard.

For more information about using the Alarm Import Export Wizard, see Help.

Alarm setup XML file structure

The alarm setup XML file is a FactoryTalk View XML document that describes the alarm
setup for an application. The root element of the XML document is called alarms. It
represents the Alarm Setup editor. An XML document can contain only one root element.
All other elements in the document must be contained or nested within the root element.

In an XML document, the start of an element is marked <element name>. The end is
marked </element name>.

If the element contains no subelements, the end can be marked />. For example, <trigger
id=“T1” type=“value” ack-all-value=“0” />.

The syntax for specifying an attribute for an element is attribute=“value”. The attribute
value must be enclosed in single or double quotes.

When you import an alarm setup, your existing alarm setup will be overwritten. Back up your
application first, using the Application Manager tool. Or, you can save a copy of your existing
alarm setup by exporting it to an XML file before you import the new one.

Advertising