9/13/2005
Programming the SMLC
38
CoDeSys - SFC - MC_Open function block
•
Give the MC_Open
instance a variable
name, in this case
OpenKnife.
•
The Declare
Variable box will
automatically pop
up because
OpenKnife has not
yet been declared.
•
The OpenKnife variable is an instance of an MC_Open function block. The
Declare Variable dialog will automatically add the declaration of OpenKnife to
the declaration section of our program.
•
The Declare Variable window can also be opened at any time by pressing
Shift-F2 or by using the Edit | Auto Declare menu option.