Alarming

Anyone have any good insight on the best approach for something like this. I have one area that has 4 process cells in that one area. In each process cell I have about 40 modules in each. Looking for a way to energize a discrete if say process cell one has any type of alarm in any of those modules. Looking to energize a different discrete if any modules in another process cell has any alarms. So on and so forth. Without typing in ever module wired to that discrete wasn't sure the best approach.