Examples and tips
PROGRAMMING MANUAL
262
Revi
si
on 3.0
Using registration in application programs
There is one axis command (
REGIST
), and two axis parameters
(
MARK
and
REG_POS
). With these commands and parameter,
you can control and use the registration functionality in BASIC
programs.
•
REGIST
captures the axis position when a registration signal is
detected. The available settings depend on the axis type. Refer
to section 3.2.219.
•
MARK
is a flag that signals whether the position has been
captured or not. For the second registration input of the TJ1-
FL02, the parameter
MARKB
is also available. For more
information, refer to sections 3.2.170 and 3.2.171.
•
REG_POS
holds the captured axis position. Only if the
MARK
flag signals that the position was captured successfully, you can
regard the
REG_POS
value as valid. For the second
registration input of the TJ1-FL02, the parameter
REG_POSB
is also available. For more information, refer to sections 3.2.217
and 3.2.218.
I52E-EN-03.book Seite 262 Freitag, 29. Juni 2007 11:55 11