You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

Reply
 
Thread Tools Display Modes
Old July 21st, 2015, 12:15 PM   #1
kidtron123
Member
Canada

kidtron123 is offline
 
Join Date: Feb 2015
Location: Toronto
Posts: 4
Factory Talk ME Alarm message as String text followed by a tag value (DINT)

Basically, I want a message in Alarm Setup to be string text followed by a DINT. The string text is normal (just like any other text of a message).

The DINT will come from the PLC
Would like to do this in Factory Talk ME. The trigger of the alarm will be a bit from the PLC
  Reply With Quote
Old July 21st, 2015, 12:41 PM   #2
cjd1965
Member
United Kingdom

cjd1965 is offline
 
Join Date: Apr 2007
Location: UK
Posts: 1,592
I dont think this is possible. It can be done in Siemens wincc flex but that doesnt help you out.

I am interested to know the answer myself
  Reply With Quote
Old July 21st, 2015, 02:07 PM   #3
radfahrer
Lifetime Supporting Member
United States

radfahrer is offline
 
Join Date: Nov 2006
Location: Boston
Posts: 142
Variables in alarm messages are very possible

This is definitely possible in FTView. Just right-click on the Message in the alarm configuration and select "Edit String". Then in the box that comes up, in the lower right there is the "Insert Variable" button, use that to browse to add tags.

We use this all the time, in fact we have the entire message generated in the PLC, so we can edit/update alarm strings in run time without having to recompile the FTView project.

Another tip for using FTView alarm editor, you can select multiple rows and then hit Ctrl-C to copy them and then paste them into Excel. You can edit them there and then paste them back into the editor. If you have a lot of alarms you are configuring, this can save you a lot of time.
  Reply With Quote
Old July 21st, 2015, 02:12 PM   #4
kdcui
Lifetime Supporting Member
United States

kdcui is offline
 
kdcui's Avatar
 
Join Date: Dec 2007
Location: Massachusetts
Posts: 331
EDIT:
radfahrer beat me to it.
I also forgot to mention the Edit String option.

In the past I have point the Message string itself to a string tag in the PLC using a string variable syntax.

/*S:0 {::[Shortcut]Program:ProgramName.TagName[array element]}*/

or for a controller scoped, non-array tag:

/*S:0 {[Shortcut]TagName}*/

I THINK you can mix string variables with regular text, so you could trying making your DINT as a tag using the string format above, and just tack on your message.

Another option is you could completely construct the message in the PLC along with your DINT (concatenate them), and then have your message point to the PLC entirely.
  Reply With Quote
Old November 12th, 2018, 12:28 PM   #5
L5K_Edit
Member
United States

L5K_Edit is offline
 
Join Date: Aug 2013
Location: Chicago Suburbs
Posts: 8
.. But what about the acknowledge ?

Consider having two or more identical machines, and using one set of alarms for all machines and passing the machine ID string into the alarm text as suggested. Very cool.

But how could one write an expression to acknowledge the machine specific alarm? The only way I can think of is to have a 'global' alarm acknowledge, meaning one 'Ack all' button to acknowledge all alarms in the PLC.

Good discussion, even though it is many years old
  Reply With Quote
Old November 12th, 2018, 03:23 PM   #6
Phrog30
Member
United States

Phrog30 is offline
 
Join Date: Dec 2006
Location: Montgomery, Alabama
Posts: 689
To add, embedded variables don't update while the alarm is true/active. Most of the time that isn't a problem. Just FYI.

Sorry, didn't realize how old the thread was.
  Reply With Quote
Old November 12th, 2018, 07:17 PM   #7
Plastic
Member
United States

Plastic is offline
 
Join Date: Feb 2009
Location: Michigan
Posts: 305
Do tell

Quote:
Originally Posted by radfahrer View Post
This is definitely possible in FTView. Just right-click on the Message in the alarm configuration and select "Edit String". Then in the box that comes up, in the lower right there is the "Insert Variable" button, use that to browse to add tags.

We use this all the time, in fact we have the entire message generated in the PLC, so we can edit/update alarm strings in run time without having to recompile the FTView project.

Another tip for using FTView alarm editor, you can select multiple rows and then hit Ctrl-C to copy them and then paste them into Excel. You can edit them there and then paste them back into the editor. If you have a lot of alarms you are configuring, this can save you a lot of time.
This is our desire also. But we recently tried it, and found an caveat.

We created all of the FactoryTalk View ME Alarm Messages to be imbedded strings that point back to the string data array in the PLC. This works great while under power, and a new alarm event comes in, the string is read, and the appropriate alarm string is displayed.

The caveat happens when you power up a Panelview while existing alarms are already present. The strings are not read, and the panelview merely displays ???? for each of the BOOL alarms, as the string has not been read.

Is there a work-around for the caveat?

Thank you

Plastic
  Reply With Quote
Old November 12th, 2018, 08:11 PM   #8
Phrog30
Member
United States

Phrog30 is offline
 
Join Date: Dec 2006
Location: Montgomery, Alabama
Posts: 689
The workaround is make embedded values update before the triggers. It's been a long time, but there are two settings you can play with in alarm setup. I believe one is for embedded variables. Sorry, I don't have software in front of me to look. You can also create a refresh, which will clear all triggers momentarily, after that you won't get question marks. Rockwell has been battling that issue for a long time. There isn't a good excuse on why they can't fix it.
  Reply With Quote
Old February 19th, 2019, 05:39 PM   #9
kirsch1874
Member
United States

kirsch1874 is offline
 
Join Date: Apr 2018
Location: Montana
Posts: 1
I am having the same problem as Plastic. Phorog30 can you expand on this, as to what and how to play with the settings.

Thank you

Kirsch
  Reply With Quote
Old February 19th, 2019, 07:47 PM   #10
Phrog30
Member
United States

Phrog30 is offline
 
Join Date: Dec 2006
Location: Montgomery, Alabama
Posts: 689
Quote:
Originally Posted by kirsch1874 View Post
I am having the same problem as Plastic. Phorog30 can you expand on this, as to what and how to play with the settings.

Thank you

Kirsch
Look under alarm setup, advanced tab. It's the embedded server update rate, make it faster than the alarm update rate. This still won't fix it all of the time. It's been broke for years and RA just can't grasp the fix. It's sad really!!

My workaround, was I had a button in the PLC that would clear all triggers for a few seconds (refresh). Then the triggers would send again and all would be good. This was generally necessary on boot, both PLC and HMI.
Attached Images
File Type: png 1.png (20.5 KB, 73 views)

Last edited by Phrog30; February 19th, 2019 at 07:48 PM. Reason: See photo
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
Alarm Code mwatkins LIVE PLC Questions And Answers 27 October 15th, 2019 03:44 AM
Factory Talk String List Zykrus LIVE PLC Questions And Answers 2 May 20th, 2015 12:46 PM
Rockwell Factory Talk View tag purge kirk LIVE PLC Questions And Answers 2 May 4th, 2015 06:40 PM
Factory talk integration with plc renaming tag Jeff23spl LIVE PLC Questions And Answers 5 September 12th, 2011 02:57 AM
RS view - hmi tag alarm summary Song99 LIVE PLC Questions And Answers 0 March 2nd, 2010 05:13 PM


All times are GMT -4. The time now is 06:41 AM.


.