Phrog30
Member
On second thought, here is my work in progress, the more eyes the better. If you see or know of a better way please let me know. Again, I'm not very good with .NET.
https://drive.google.com/file/d/0B-5kPtgWJjV9REIzdjU1dU45TEk/view?usp=sharing
I can't share the PLC program. But really all you need is an array of strings and DINTs. My alarms are structured, but for testing you don't have to be that fancy. The basic premise is I have triggers in a DINT array and alarm descriptions in a UDT structure, but again for testing you could use a string array (you will have to change some code). On the strings, alarm #1 is string[1], alarm #34 is string[34], etc. The triggers use bit position, I skip 0.
James
https://drive.google.com/file/d/0B-5kPtgWJjV9REIzdjU1dU45TEk/view?usp=sharing
I can't share the PLC program. But really all you need is an array of strings and DINTs. My alarms are structured, but for testing you don't have to be that fancy. The basic premise is I have triggers in a DINT array and alarm descriptions in a UDT structure, but again for testing you could use a string array (you will have to change some code). On the strings, alarm #1 is string[1], alarm #34 is string[34], etc. The triggers use bit position, I skip 0.
James