9/13/2005
Programming the SMLC
41
CoDeSys - Using the ‘.’ to help locate a variable or constant
•
If we don’t remember
the name of a
variable or system
constant we can type
a ‘.’ and get a popup
list of variables and
constants in our
program.
•
ORMEC constants
always start with O_
•
The names of inputs to MC_ function blocks that accept a constant are a hint
to the name of the constant that is required. In this example, if we start typing
O_AX the list will automatically take us to the Axis Type constants.
•
You need to delete the ‘.’ from the beginning of the line or you will get
an error when you compile your program
.