G
‐
MAS
–
Gold
Maestro
Software
User’s
Manual
Software
User
Manual
XXXXXXXXXXXX(0.01)
3
‐
42
Finally,
reaching
the
lower
level
functions,
which
create
motions,
wait
for
end
of
motions,
etc.,
we
find
the
function
(as
an
example):
SubStateXYHomingMoveToLimitFunction().
Please
note
how
this
function
creates
motion
(and
not
waiting
for
end
of
motion
or
any
other
"wait")
and
changes
the
sub
‐
state
immediately,
so
that
in
the
next
cycle,
the
XY_HOME_WAIT_TO_LIMIT
state
is
detected,
and
the
SubStateXYHomingWaitLimitFunction()
is
reached.