Real-time SPEDE middleware production tool includes sensor-driven labeling module, which ensures label data and format are accurate and match container contents. Interfacing with direct parts marking systems, module uses wired or wireless pushbuttons, PLC output signals, and IR beams to trigger printed label as parts are packed into containers. This eliminates PC-based, manual entry errors and satisfies MMOG/LE requirements for accuracy.