
9/13/2005
Programming the SMLC
43
CoDeSys - Entering the exit condition for the Init state - Alternate method
•
Here is an alternate (and
preferred) method for entering
code in the transition condition.
•
Clear the text from the transition
•
Double click on the small
horizontal line where it crosses the
vertical line
•
A dialog box appears allowing us to
select the language we wish to use for
the transition condition.
•
Select LD (Ladder Logic) and then
press OK.
•
This is the preferred method because it
allows entry of a complex expression in
any language that is appropriate.