175
Command, function and parameter description
Section 6-3
Axis 0
For axis 0 the print registration mechanism of the Servo Driver is used. The
registration is either triggered by the Servomotor encoder Z-marker or the dig-
ital input on the Servo Driver (CN1-46). The Servo Driver parameter Pn511.3
will set the input to register on falling or rising edge. For details please refer to
3-3-2 Digital I/O.
When the registration event has occured, MARK axis parameter will be set to
TRUE and the position will be stored in the REG_POS axis parameter.
Axis 1
For axis 1 the print registration mechanism of the MC Unit provides two regis-
ters, which allows two simultaneous events to be captured. The registration
event can either be input I0 / R0, input I1 / R1 or the encoder input Z-marker
phase.
When a primary registration event has occured, MARK axis parameter will be
set to TRUE and the position will be stored in the REG_POS axis parameter.
For the secondary registration event, the MARKB axis parameter will be set
and the position will be stored in the REG_POSB axis parameter.
Inclusive windowing
Inclusive windowing allows the print registration event only to occur within the
specified window. When inclusive windowing is applied, signals will be
ignored if the axis measured position is not greater than the OPEN_WIN
parameter and less than the CLOSE_WIN parameter. Add 256 to the mode
argument value to apply inclusive windowing.
Exclusive windowing
Exclusive windowing allows the print registration event only to occur outside
the specified window. When exclusive windowing is applied, signals will be
ignored if the axis measured position is not less than the OPEN_WIN param-
eter or greater than the CLOSE_WIN parameter. Add 768 to the mode argu-
ment value to apply exclusive windowing.
Precautions:
REGIST must be executed once for each position capture.
Arguments:
mode
Specifies the type of capture to make depending on the axis
axis
mode
Description
0
1
Captures absolute position on Z-marker to REG_POS.
2
Captures absolute position on input CN1-46 to REG_POS.