9/13/2005
Programming the SMLC
55
CoDeSys - Entry and Exit actions
•
Close the ST editor.
•
Note that the Init block now has an X in the lower
right hand corner. This indicates that there is
code present in the Init step’s Exit action.
•
Code in an Exit action is executed once when
the step is exited.
•
Similarly we can create Entry actions.
•
Entry actions are indicated by an E in the lower
left hand corner of a step.
•
Code in an Entry action is executed once when
the step is entered.
•
We will enter the Entry and Exit action code for
the Estop step in a later step.