If there are really only 32 of them said:No MOV's?
What does code 20 mean?
Your program needs a unique address for each ONS by the way...but I doubt that is related to your fault...
Does your FIFO tag Alarm_Stack have enough elements? I think you need to pick out the specific array element you want there.
Try Alarm_Stack[0]
Then see if it faults...
Paul
EDIT: you can eliminate the MOVes and Alarm_next, then change the source in each FFL to your literal values if you like.
Thanks a lot Tim that will help a great deal. I'll let you know how it goes on wednesday.Made a stuff up when transposing the logic from RSLogix 5. Ignore the last post and read this one instead.
Sorry, Tim.