i would like to share with you a Diagram,  example of a State Maschine using Werum PAS-X.

The state machine can be used independent for several PCS MBR Elements.

 

I hope this char can help you in your Integration with your OSI PI and MES systems.

 

PCS_State_Diagrams-page-001.jpg

PCS_State_Diagrams-page-002.jpg