.. _state-machines: State Machines -------------- State Machine Example ''''''''''''''''''''' .. literalinclude:: images/stateMachine.dot :linenos: .. image:: images/stateMachine.png :width: 600 You will want to put this image in the same directory as a spreadsheet that explains every connection and their properties. +------------------------------------------+---------------------------------------------------+ | Tag | Description | +==========================================+===================================================+ | | T-1 | | "Start button pressed" | +------------------------------------------+---------------------------------------------------+ | | ST-1 | | PLC time loop ended | +------------------------------------------+---------------------------------------------------+ | | E-1 | | Emergency state called from state A | +------------------------------------------+---------------------------------------------------+ | | R-1 | | Machine being reset from emergency to state A | +------------------------------------------+---------------------------------------------------+ TestRun()