Rinehartrr Posted April 25, 2019 Report 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
Rinehartrr Posted April 25, 2019 Author Report 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
ORSO2001 Posted April 25, 2019 Report 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.
sgull Posted April 25, 2019 Report 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
Rinehartrr Posted April 25, 2019 Author Report 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!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now