Motion Coordinator Technical Reference Manual
Trio BASIC Commands 8-43
Motion and Axis Commands
ously and their difference in position determined. To use this dual registration
mode the REGIST commands “mode” parameter is set in the range 6..9. Two addi-
tional axis parameters REG_POSB and MARKB hold the results of the Z mark registra-
tion in this mode.
Parameters:
Note:
Windowing Functions
Add 256 to the above mode values to apply inclusive windowing function:
When the windowing function is applied signals will be ignored if the axis measured
position is not in the range:
Greater than
OPEN_WIN
and Less than
CLOSE_WIN
Add 768 to the above values to apply exclusive windowing function:
When the windowing function is applied signals will be ignored if the axis measured
position is not in the range:
Less than
OPEN_WIN
or Greater than
CLOSE_WIN
Note:
The
REGIST
command must be re-issued for each position capture.
Example:
REGIST(3+256)
WAIT UNTIL MARK
PRINT "Registration Input Seen at:";REG_POS
mode:
Determines the position to capture:
1 - Absolute position when Z Mark Rising
2 - Absolute position when Z Mark Falling
3 - Absolute position when Registration Input Rising
4 - Absolute position when Registration Input Falling
5 - Sets pattern recognition mode
6 - R Input Rising into REG_POS and Z Mark Rising into REG_POSB.
7 - R Input Rising into REG_POS and Z Mark Falling into REG_POSB.
8 - R Input Falling into REG_POS and Z Mark Rising into REG_POSB.
9 - R Input Falling into REG_POS and Z Mark Falling into REG_POSB
(mode = 6 to 9 are only available on MC206 built-in axes)
distance:
The distance parameter is used for the pattern recognition mode
ONLY, and specifies the distance over which to record transitions