Call:      TransitionToState(String StateName) 

Input:    Tagname 

Output: 

 

When called in the condition part of a finite state, the present state is going into “hibernate” mode and the new state will be run in the next cycle, the “running state”. When a transition to an already running state is made, nothing will happen, the call[1] of the transition is ignored. If the newly running state is not found, the Pin 13 LED will blink in a frequency of 1 sec.

 

[1] A call to state ”END”, will end the FSM. So when there is only one FSM executing, a call to state “END” will close the running FSM and the board is out of order.