
Examples and tips
PROGRAMMING MANUAL
292
R
e
vi
si
o
n
1
.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.241.
•
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.183
and 3.2.184.
•
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.239 and 3.2.240.