9/13/2005
Programming the SMLC
44
CoDeSys - Entering the exit condition for the Init state - Alternate method
•
We’re now in the
Ladder editor
•
Enter a normally open
contact by selecting it
from the toolbar or
typing Ctrl-K.
•
Enter bKnifeIsOnline
as the name of the
boolean contact.
•
When you close the Ladder editor you can see
a small black triangle at the transition. This
triangle indicates that there is code in the
transition. Note also that the small triangle in
the upper right corner of the Init state indicates
there is code present in this state that can be
edited by double clicking on the state.
•
Placing this contact on this rung is identical to
specifying the boolean condition on the transition
itself as we did previously.