Rinehartrr Posted April 25, 2019 Report Share Posted April 25, 2019 Hi all and thanks in advance, I have a program running un a Uni stream USP-070-B10. Using software version 1.25.61 UniLogic studio. I am trying to find a bit that will tell me if any Alarm is active, I have looked thru the help file, system variables, and searched this forum. I did find a comment from Saragani posted July 1, 2015 stating: " On the next version (1.15), it is planned to have a tag that contains: * An array of 32 bits (one per group * An array of 1025 Bits ( 1 spare bit + 1 bit per alarm) * A bit that indicates that 1 or more alarms are active * An interger with the total number of active alarms" Am I just blind and missing something? or did it not get added? The reason I am looking for this is I have a client with a remote cabinet with the PLC in it (no network connection or outside connection but power), they want a light added to the top of the cabinet and turne don if any alarm is active so they can see they need to go out there... Thank you for any assistance you may be able to provide, Bob Quote Link to comment Share on other sites More sharing options...
Rinehartrr Posted April 25, 2019 Author Report Share Posted April 25, 2019 after some more searching I was able to find "Alarm Status Struct.Num of Active Alarms" I can use this for my needs now, but I would like to know where the documentation is I am missing to read about this and what else might be in there? Edit: for spelling Quote Link to comment Share on other sites More sharing options...
ORSO2001 Posted April 25, 2019 Report Share Posted April 25, 2019 hi Rinehartrr, are you talking about "generic PLC alarm" or "generic alarm of your project"? If it is the first one...if I well remember a tag about ERRNO is present in the General struc...maybe others tags...but I don't remember exactly. if it is the second one ...how are you managin the alarms in your project?...by the builtin alarm manager or by something done by you? in my projects I don't use the builtin alarm manager (that is good) but something done by me... in this way,in the struct that I use for the new/actual alarm, I include many information for each alarm and what the PLC has to do for each of them...obviously if an alarm is present I have included an OR bit for the alarm that enable the horn and the red lamp. Quote Link to comment Share on other sites More sharing options...
sgull Posted April 25, 2019 Report Share Posted April 25, 2019 Hi Bob Once an alarm has been configured you should see an ALARMS STATUS STRUCT under global tags at the bottom. Click on alarms status struct and you should see a bit for any alarm active. Regards Denis Quote Link to comment Share on other sites More sharing options...
Rinehartrr Posted April 25, 2019 Author Report Share Posted April 25, 2019 Thank you sgull, I kept looking in system variables for it but now see all of the various alarm bits I can use now! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.