When you have hundreds or even thousands of alarm messages to add to your FactoryTalk  View Machine Edition (View ME) project, this little trick can be really helpful.

To start, enter a few alarm messages of each type you’ll need into the View ME Alarm Setup Message Editor to act as your template. Then click on the top left hand corner of the alarm messages table to select the entire table:

FTVME Edit Alarm Messages in MSExcel Step 1Now right click on row one of the table and select copy:

FTVME Edit Alarm Messages in MSExcel Step 2

Next, open MS Excel and a worksheet. Then right click on cell A1 and select Paste.

FTVME Edit Alarm Messages in MSExcel Step 3

Delete the row, and then edit, copy, or duplicate your alarm message rows to create as many new alarm messages of each type as you need. Note: If you add new Triggers you’ll need to manually create those in FactoryTalk View Machine Edition.

FTVME Edit Alarm Messages in MSExcel Step 4

When you’re ready to bring the new messages back into View ME, select and copy them (right click and select copy, or use the home menu – copy option)

FTVME Edit Alarm Messages in MSExcel Step 5Now back in View ME’s Alarm Setup Message Editor, right click on the unassigned row and select paste:

FTVME Edit Alarm Messages in MSExcel Step 6

At this point you’ll see your new alarms in View ME’s Alarm Setup Message Editor, and after creating any new Alarm Triggers you may need you’ll want to press OK to save your work.

FTVME Edit Alarm Messages in MSExcel Step 7

Hopefully you’ll find this simple little trick of using MS Excel to edit and create large numbers of Alarm Messages for View ME is helpful. If you have any experience with this means of creating alarm messages, or use the XML import/export feature, we’ve really like to hear from you by way of the ““post a comment or question” link below.

Until next time, Peace ✌️ 

Shawn M Tierney
Technology Enthusiast & Content Creator

Have a question? Join my community of automation professionals and take part in the discussion! You'll also find my PLC, HMI, and SCADA courses at TheAutomationSchool.com.

If you found this content helpful, consider buying me a coffee here.

Shawn Tierney

(13,730 views)

9 COMMENTS

  1. The XML Import/Export is really easy to use, especially if you have Notepad++. This works really well if you have similar tag names (or know your tag names) because you can just copy and past the XML entries and change the tag, ack tag, etc.

  2. I second the XML editing in Notepad++. The rectangular copy and paste is the feature that really sells it for me — if you select an fixed font (say, Courier) so that all your text columns line up, holding the ALT key down while selecting with the mouse puts you in rectangular mode — very much like editing in a spreadsheet… reminds me of the good old days.

    • Good afternoon hema,

      Unlike the Datalog and Diagnostics, I don’t see anywhere in the Alarm Setup where you can change the stored file path.

      However, if you upload the project I believe it does also grab the current alarm log file.

      Conceivably, you could also use an autorun.bat file on a USB memory stick to copy the alarm file to it when you plug it into the PVPlus, but I haven’t tried that myself.

      You could also conceivably setup the ftp or file server on the PVPlus CE or PVPlus 6 to expose the folder with the alarm file in it to the network so you could copy it that way, but again I haven’t done that myself.

      Hope this helps,

      Shawn Tierney

  3. With Excel, it is very easy to autofill the numbers for pointers and such. This method works great with the Local Messages also.

    The main problem with this method is that the paste is limited to 256 characters. If the alarm messages are to have more information that details when an alarm was triggered, what phase and so on, it can easily use up this limit.

    It is interesting that the message itself can be edited directly and is not limited to 256, but when the paste function is applied, the message is truncated.

    Cheers!

LEAVE A REPLY

Please enter your comment!
Please enter your name here