...
Now we create a program that runs on the Misc equip and contains Current Stage and bundle of the previous program we made (AHU Staging). If you don't see it, its because the AHUs don't have a ref to the Misc equip. In this program we add the leadLag block. The leadLag block connects to the bundle columns using a gridSelectCol block. So what the logic is saying is that if Current Stage is 1, then anything in the bundle (all AHUs) that is stage 1 will turn on. So if AHU-1 is stage 1 and the alarm is on, then it will turn on the next equipment that is stage 2 and so on.