Hello there,
I use a P77 Acopos inverter. Up to now its only possible to use it in direct control mode.
The inverter have a set of alarm possibilities. The inverter itself just shows a number.
I have now the situation that i want to show the alarm in text and number. For that i would create a localised textgroup and would combine this with an alarm with a textsnipped.
So far so good.
As long i have only one inverter it is not a big deal. Having more of them it becomes a little interesting.
Up to now, i would carry out only one alarm for each inverter and use the textsnippedfunction to choose the text like: “Error inverter xyz: {PTC Temperatur override}”.
My problem now. When there are more then one errors at the inverter - like acopos has it also - i want them also bring them in the alarm list.
So when i carry out the first time the alarm the alarm is set. Is it possible to set it again also it is activ with a new textsinpped case?
In the end i want to be free in the number of used inverter. This - i think - i can manage by reserve a set of numbers in mpAlarm and do the errortext of the inverter by using the textsnipped.
At least, if it is possible set an activ alarm again by using a textsnipped, it could be used as a easy way to implement VC4 alarmgroups in Mapview
So is it possible doing it that way i have described?
Off the top of my head, I can think of two ideas to accomplish this.
The first is to use Edge alarms. This alarm type resets itself automatically immediately after it is triggered, but it remains on the screen until an operator acknowledges it. You could set this alarm any number of times with a different snippet value each time and all of them would be on the screen. This makes alarm setting easy because you essentially set it and forget it. However, this also means your program needs to know that you have an active error situation (as the alarm itself won’t be active after being set). This is usually accomplished with an ERROR state. An ErrorReset command can be triggered when the alarms are acknowledged.
The other idea (if you’re using Persistent alarms) is to set the “Multiple Instances” property to true. This requires clicking the little green icon to show advanced properties at the top of the AlarmX config window. This is set for individual alarms and allows multiple instances of a Persistent alarm to be active at the same time. You can have different snippet values for these as well. Persistent alarms need to be explicitly reset. Normally this is done by calling MpAlarmXReset with the alarm name, but if you have multiple instances of the same alarm active, you’ll need to use MpAlarmXResetID instead and keep track of the Instance IDs for each alarm that gets set.
In my opinion, option 1 is easier, but it sounds like you may already be using Persistent alarms.
at least i have not understand it clearly.
in order to do the right strategy:
Now:
to Set an alarm i use MpAlarmXSet by using a string which is for identification for the alarm i want to set.
in order to reset i first do MpAlarmXAcknowledge and followed by MpAlarmXReset. For each i need the identification string same as it is used for AlarmSet.
by using MpAlarmXResetID:
To set use MpAlarmXSet and remeber the returnval which is the id
MpAlarmXAcknowledge: does it matter if i use MpAlarmXAcknowledge or MpAlarmXAcknowledgeID?
MpAlarmXResetID: Where is the difference between MpAlarmXReset and MpAlarmXResetID exept that i use a string or the Returned ID when i set the alarm?
Do i get for each AlarmSet with the same string different ID´s?
Is it possible to Reset them at once (all those who was set with the same string)?