Factory Talk View - Question about setting up Alarms

stylemismatch

Member
Join Date
Mar 2015
Location
Georgia
Posts
37
The PLC for this application has DINT tags ALARMS[0], ALARMS[1], ALARMS[2] etc. Within each of those are individual alarm bits ALARMS[0].0, ALARMS[0].1 etc.

In the Alarm Trigger tab on the FactorTalkView, when I choose a tag from the PLC it doesn't let me choose down to the bit level (in other words it lets me choose ALARMS[0] for instance). I can then click 'edit' then click 'expn' and manually input the bit number (so now I have what I think I want - ALARMS[0].3 for instance).

Is this the right approach? (It just seems kind of odd to have to do it this way and I'd hate to have to go back and re-do all of this).

Thanks.
 
You do no choose the Trigger's bit level; just list the Trigger DINT(s) and specify Bit for evaluating.
The Alarm Messages Values (1, 2, 3, 4, etc.) represent the Alarm Trigger(s) bit positions (Bit 0, Bit, 1, Bit 2, etc); i.e. :when Bit 0 of the Alarm Trigger is TRUE the Alarm Message with a Value of 1 will be displayed; when Bit 2 is TRUE the Alarm Message with a Value of 3 will be displayed and so on....
 
....when Bit 0 of the Alarm Trigger is TRUE the Alarm Message with a Value of 1 will be displayed; when Bit 2 is TRUE the Alarm Message with a Value of 3 will be displayed and so on....

Wouldn't that mean that only one of the alarms out of the 32 alarm conditions associated ALARM[1] could be displayed at any given time?
 
If any bits of the configured Alarm Trigger DINT (Bit evaluation) are being detected as TRUE by the FT Alarms Server, all Alarm Messages related to the respective bits will be displayed on the chosen Alarm Display(s) or Objects.
 
If any bits of the configured Alarm Trigger DINT (Bit evaluation) are being detected as TRUE by the FT Alarms Server, all Alarm Messages related to the respective bits will be displayed on the chosen Alarm Display(s) or Objects.

If I'm understanding correctly that's not going to work for me. In this instance each bit from the PLC is a different alarm and needs to be handled independently of all others.

OR..... using ALARMS[1] as an example, if the third bit in ALARMS[1] turns does the corresponding 'trigger' value (3) become true?
 
Last edited:
If I'm understanding correctly that's not going to work for me. In this instance each bit from the PLC is a different alarm and needs to be handled independently of all others.

OR..... using ALARMS[1] as an example, if the third bit in ALARMS[1] turns does the corresponding 'trigger' value (3) become true?

Yes- the 3rd bit trigger alarm would come on if ALARMS [1].3 is triggered.

so, if ALARMS [1].3 and ALARMS [1].5 and ALARMS [1].7 are true, then the messages for 3, 5 and 7 will show on the HMI.
 
Last edited:
Yes- the 3rd bit trigger alarm would come on if ALARMS [1].3 is triggered.

so, if ALARMS [1].3 and ALARMS [1].5 and ALARMS [1].7 are true, then the messages for 3, 5 and 7 will show on the HMI.

This is not true the 3rd bit is bit 2. (.0 , .1 , .2) but it is easily confused at the bit level. So if bit Alarm[1].3 is true it will display message using Alarm[1] trigger with the value that is set to 4. The best way to remember this is the Message is displayed according to bit position not bit number.

if you setup the trigger to be Alarm[1] and set the trigger to bit then you get 32 triggers. if you set the trigger to value then you get 2147483647 triggers.

Bit level alarms 0-31 will display at the message level of 1-32.
Value level alarms will display at the value of the Trigger at the message level
if DINT= 55 then display message with the value set at 55.
 
This is not true the 3rd bit is bit 2. (.0 , .1 , .2) but it is easily confused at the bit level. So if bit Alarm[1].3 is true it will display message using Alarm[1] trigger with the value that is set to 4. The best way to remember this is the Message is displayed according to bit position not bit number.

if you setup the trigger to be Alarm[1] and set the trigger to bit then you get 32 triggers. if you set the trigger to value then you get 2147483647 triggers.

Bit level alarms 0-31 will display at the message level of 1-32.
Value level alarms will display at the value of the Trigger at the message level
if DINT= 55 then display message with the value set at 55.

Oops- you are correct!o_O

My fingers moved faster than my brain. Since the bits start at zero and the alarms start at 1, there is always an offset when using bit level.
 
OK, I think I'm getting it (of course it's simple). I FINALLY found something in the manual about this and wanted to run it by the experts and make sure I've interpreted it correctly.

It says to append the tagname (in this case ALARMS[0]) with " .Lx " where x is the number of words I want to read in. So to grab a total of 64 alarms (which would be the bits in ALARMS[1] and ALARMS[2]) I'd enter ALARMS[0].L4 as the source.

Thanks.
 
No.
Forget about square parentheses/bit positions; that's nothing but more confusion thanks to Rockwell's "user friendly" manuals.
If you want two DINTs of Alarm Triggers(64 bits) just name them Alarms_1 and Alarms_2 and list them as such as the "sources"- nothing else.
The Bit Position is specified as the "Value" of the related Alarm Message (under the Messages tab) of the FTV Alarm editor; the Alarms Messages configuration includes the Trigger DINT (Alarm_1 or Alarm_2) and the bit position within the respective Trigger DINT (as "Value").
 
Avoid ".Lx" alarm bit arrays.
That is for legacy projects, when you migrate from PanelView Standard or Enhanced.

You will want to do as dmargineau says.
It would look something like the images attached below.

Triggers.jpg Messages.jpg
 
Last edited:
Wouldn't that mean that only one of the alarms out of the 32 alarm conditions associated ALARM[1] could be displayed at any given time?

You are thinking logically and normally you would be correct. But to be obscure and confusing Rockwell is evaluating the DINT alarm addresses independently to the bit level behind the scenes.

This often makes it difficult to have a third party applications which do not support bit level addressing of integers to use the same alarm tags without some sort of add-on hack. And really why would they? It's an odd thing to do, made normal only by the fact that most of us have been doing it for many years.
 

Similar Topics

I am using Factory Talk view Machine Edition Runtime HMI. I want to configure on button in such way that when i press this button I want to...
Replies
3
Views
144
Hi all, Attached below is an example of what is happening to our existing SCADA. It seems after patching some Rockwell Software that I thought...
Replies
9
Views
338
The client has an application that when communication between the PLC and the Factory Talk VIEW supervisory fails, the object in the supervisory...
Replies
5
Views
299
Hello all, I am looking for a way to have a user get logged out after an X amount of time because to default so that user privilages are no...
Replies
4
Views
610
Hello everybody. I was wondering if there is a way in FTVIEW Studio to close ) view after x min without interaction . My issue is the following...
Replies
2
Views
378
Back
Top Bottom