I have talked about a first out annunciator that I have programmed, it is 8 rungs long and can actually track a large number of alarms in a system.
I need to convert it to a workable program on the Control Logix platform. I attempted to setup the ladder thinking as a PLC/SLC programmer. I'm sure you would all tell me that it doesn't work the same way. ( I found that out when the software gave me the rasberries when I tried to accept the rung.)
I found that before you can indirectly address data types you have to setup arrays and then you must refer to them correctly.
In the SLC we were indirectly addressing the bits in a binary file. our addressing looked something like thsi:
B10/[N7:0]. We moved 1-28 into N7:0 and immediately jumped to the First Out rungs, there were 8 total rungs. In doing this we scanned the First out program file 28 times per program scan. The maximum program scan was 70ms. We had the watchdog set at 100ms.
I'm having no luck in getting the array concept down. I know it had the capacity for a 3 dimensional model but I don't think I need anything more than several 1 dimensional models.
I need to:
1. Set Alarms - Change a range of bits from 1 to 0 (zero is alarm)
2. Set First Out from zero to 1, and setting the first out bit to a 1, multiple sets not allowed
3. Set First out Acknowledge from zero to 1 when the Acknowledge button is depressed
4. Set any subsequent alarm from zero to 1, multiple sets allowed
5. Set indexed display driver from zero to 1, multiple sets allowed
6. Index One shots (used to set First Outs)
7. Index One shots (used to set Subsequent Outs)
I've attached a copy of the First Out rungs and some alarm sets and some of the redirecting of scan for alarm transfer to the first out annunciator.
Just to update TW, I have made progress with Control Logix. I have been able to start programming and you were right, it is pretty simple once you get a grip on what you are doing, now if I can just get a grip on the arrays and how to implement them!