
B–62073E–1/04 2. INTERFACE BETWEEN CNC AND PMC–NA OR NB
– 151 –
When using the automatic reference position setting function, follow the procedure below. An example is shown
for the following figure:
1 Perform manual reference position return. Upon completion of manual reference position return, a stop
occurs at grid point (1) shown in the figure, and the reference position return completion signals (ZP1, ZP2,
ZP3, etc .) are output.
2 Set the automatic reference position setting signals (RAST1, RAST2, RAST3, etc.) to high. Note that auto-
matic reference position setting signals are enabled only when the RASx bit of parameter 1008 is on.
3 Perform manual operation (continuous manual feed or manual feed using the manuals pulse generator)
to reach point (2) (the machine zero point). This operation determines distance L
MANMV
between machine
zero point and the grid point at which the tool stops after manual reference position return.
4 Set the automatic reference position setting signals to low. Grid shift L
GRID
and software deceleration dog
amount L
SFTDEF
are obtained from the expression shown below. The obtained grid shift is set in parameter
1850 and the software deceleration dog amount is set in parameter 1885, automatically.
Limit switch
Deceleration dog
Machine zero point
Grid point →
L
DEC
L
SFTDEC
L
GHALF
L
GRID
L
MANMV
(1)
(2)
(Distance of manual movement)
Grid shift L
GRID
: Remainder of the distance of manual movement L
MANMV
divided by the grid point interval
Software deceleration dog amount L
SFTDEC
: L
GHALF
(half of the grid point interval) is subtracted from the dis-
tance of manual movement (L
MANMV
) in 3. The result of the subtraction is then added to distance L
DEC
from
the p oint immediately after the deceleration dog to the point at which the first stop occurred in 1.
L
SFTDEC
= L
DEC
+ (L
MANMV
– L
GHALF
)
NOTE 1 This function is valid only for axes along which reference position return is performed using the
grid method.
NOTE 2 When a software deceleration dog value and grid shift have been set using this function, the
power must be turned off and on again before operation can be started.
NOTE 3 When an absolute pulse coder is used as the position detector for this function, the APZx bit
of parameter 1815 (the parameter for zero–point adjustment during absolute position
detection) must be set to OFF.
NOTE 4 When a grid point is matched with the machine zero point using this function, the software
deceleration dog value is added in the same direction as for reference position return.
This means that the software deceleration dog can extend the effective range of the
deceleration dog as shown below, but cannot shorten the range.