Material handling systems tend to perform the same functions in various places, so modular subroutines, like that found in the flow-chart based language SteepleChase from Pheonix Contact, works well for building automation systems.

Some advantages of Modular Programming include:

1. Reduces development time
2. Increases reliability because each module can be extensively tested
3. Allows use of code supplied by others, primarily vendors
4. Helps standardize the software development process
5. Allows multiple programming languages to more easily co-exist
6. Creates code that’s transportable to other controllers and HMI platforms
7. Easier to troubleshoot
8. Easier to modify

Click here to read the full article featured in Control Design highlighting PeakLogix use of subroutines.