In this new article, we will continue learning about FactoryTalk View Alarm and Event server. This time we will learn to import and export the Alarm and Event server.

Like our previous article, we will use the same project file for this article.

First, open your project and right-click on Alarm and Event Server as shown in the below window.

Click on “Import and Export”.

Clicking on import and export will open up a new window.

Here, in this window select “Export alarm Configuration to excel file”. As I want to create an excel file for it, I am doing this.

Mostly we choose this option to export alarm and event server.

Click on “Next” to proceed.

Clicking On Next will open a new window.

Here, you can see one alarm that we created in the previous article. As we are exporting this alarm, it will come in the export section.

If you have created more alarms, then you can see a list of alarms.

Click on “Next” to proceed.

The following window will open up.

Here, you will get a selection of messages to export. As you remember from my previous article, I have added a message to the alarm.

We choose “Export messages for all alarms”. Because we want a message to be displayed on an excel sheet.

Click on “Next” to proceed.

The following window will open up.

Here, gives a suitable name to your export file and provides a path to store it.

Hit “Finish” to complete the process.

Once Export is completed. The following pop-up will appear.

Now, we will open an excel sheet to see our exported alarm.

You can see that the alarm is added to the sheet with all the information.

On the bottom, you can see the same category we have seen in the first article. So, if you want to add or delete alarms, you can do it from here.

One thing I missed in my previous article is “Tag update rates”. This is the rate at which Tag is updated.

Here, you can see that by default rate is 0.10 seconds. There is multiple update rate you can see in the list, but we keep 0.10 seconds as default for faster response.

Now, we will add a few alarms to import back into the Factory Talk View Alarm and Event Server.

To import the file back to the server always remember to copy the whole row and then paste it there as shown below image, otherwise, the changes which you have made, won’t appear on the Alarm and Event server.

While selecting the row, keep in mind that if you want to add an analog alarm then choose a row with an analog tag and name, and if you are doing it for digital then choose a tag and name with a whole digital row.

In the Below sheet, you can see that I have added a couple of alarms to Import back into the Alarm and Event Server.

Save this excel sheet and close the file. Now, Open Factory Talk View Studio.

Close the Alarm and Event server too. Do right-click on “Import and Export” as shown in the attached image.

Choose “Import alarm Configuration from Excel File”. Click on “Next” to proceed.

Clicking on Next will open up a new window. Here, you have to provide a path of the excel sheet that we have saved it.

After providing a path, a new window will open up.

Now, we have four options to choose from. As we are importing alarms back to the alarm and event server, we have to choose an option from the first two.

You can either update your existing alarm with a new one or you can only import new alarms based on what you want to choose.

If you choose to update existing alarms with a new one, then the time requires to import is more than the time required with a new one.

Hit “Finish” to complete the import.

You can see Import Completed dialogue box.

Open the Alarm and Event server by double clicking on the Alarm and Event server.

Now you can see those alarms we added in the excel sheet are now added to our server.

This way we can create thousands of alarms without opening Factory Talk View Studio.

As we all know that we can easily do faster work using an excel sheet, If we have a number of alarms are there, we can simply add those to the excel sheet and modify there and import them back to the server.

Hope all who read this article on Alarm and Event server, like this article. If you have any doubts, then you can put your questions in the below comment section.

If you want me to write on other topics, then also provide your suggestion in the comment section.

Written by Suhel Patel
Automation Engineer and Freelance Writer

Have a question? Join our community of pros to take part in the discussion! You'll also find all of our automation courses at TheAutomationSchool.com.

Sponsor and Advertise: Get your product or service in front of our 75K followers while also supporting independent automation journalism by sponsoring or advertising with us! Learn more in our Media Guide here, or contact us using this form.

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here