In the ever-challenging field of pharmaceutical manufacturing, the need for enhanced functionality, flexibility, and compliance has never been greater. This presentation delves into the implementation of modular design frameworks – for hardware and, especially, software – as sophisticated control strategies to meet this need. We provide a comprehensive description of these frameworks and the symbiotic relationship between modularity and advanced control. We present a detailed case study on the implementation of such a strategy in aseptic formulation (i.e. drug compounding), covering the orchestration of overall operations, the optimization of the production processes, and the impact on compliance given regulatory considerations. As we venture into the future of pharmaceutical production, this presentation also touches on upcoming trends and the implications for industry. Ready or not, advanced controls are redefining the boundaries of pharmaceutical manufacturing.