I’m looking for the best way to generate alarms directly from python scripts.
We’ve got quite a bit of back end software that we’re trying to migrate over to ignition and part of that more or less requires alarms that can be generated directly from python scripts.
I’ve been looking at a few ways to do it, but none have really got us there.
The most promising seems to be setting up a string memory tag with an alarm set up for any change with the label bound back to the tags value. Then writing an alarm string to the tag generates an alarm of said string. The downside i’m seeing here is that I can’t get more than 5 alarms at a time to stay in the alarm status table. When the 5th alarm triggers, it purges out the oldest one on the log. They show up in the journal, but that’s really not what we’re looking for.
Here’s an image where you can see I’m only getting 5 entries per alarm - it didn’t matter if the label was bound or not.
So maybe that’s really what the question on this post is - can you adjust the alarm status table to show more than 5 entries for a single repeat alarm at a time?