AMarks95
Member
Since I've started with PLCs all of the routines have always been under the "MainProgram" folder. Would love to organize things further into sub-systems, but not sure of the implications for functionality, etc.
For instance, let's say I have 4 sets of 3 pumps that operate independently, but controlled by the same PLC. Typically, we'd have a routine for "Pump_Set_1", "Pump_Set_2", etc. all under the MainProgram folder.
Instead, what if I make 4 programs, one for each set of pumps, and add those programs to the task's program schedule? Would there be any real difference? The programmer in me says it shouldn't matter, but my experience with AB tells me it might.
Any insights are much appreciated.
TIA
For instance, let's say I have 4 sets of 3 pumps that operate independently, but controlled by the same PLC. Typically, we'd have a routine for "Pump_Set_1", "Pump_Set_2", etc. all under the MainProgram folder.
Instead, what if I make 4 programs, one for each set of pumps, and add those programs to the task's program schedule? Would there be any real difference? The programmer in me says it shouldn't matter, but my experience with AB tells me it might.
Any insights are much appreciated.
TIA