
4.DESCRIPTION OF PARAMETERS B-64120EN/01
- 220 -
M code specifying the spindle orientation
4960
[Data type] Word
[Unit of data] Integer
[Valid data range] 6 to 97
Set an M code to change the spindle rotating mode to the spindle
positioning mode. Setting the M code performs the spindle orientation.
Spindle positioning can be specified from the next block.
M code releasing the spindle positioning mode
4961
[Data type] Word
[Unit of data] Integer
[Valid data range] 6 to 97
Set the M code to release the spindle positioning mode and
to change the mode to the spindle rotating mode.
M code for specifying a spindle positioning angle
4962
[Data type] Word
[Unit of data] Integer
[Valid data range] 6 to 92
Two methods are available for specifying spindle positioning. One
method uses address C for arbitrary-angle positioning. The other use
an M code for half-fixed angle positioning. This parameter sets an M
code for the latter method.
• When bit 6 (ESI) of parameter No.4950=0
Six M code from M α to M(α+5) are used for half-fixed angle
positioning, when α is the value of this parameter.
• When bit 6(ESI) of parameter No.4950=1
Set the start M code in this parameter, and set the number of M
codes in parameter No.4964. Suppose that the setting of
parameter No. 4962 is α and the setting of parameter No. 4964 is
β. Then β M codes from Mα to M (α+β-1) are used for half fixed
angle positioning.
The table below indicates the relationship between the M codes and
positioning angles.
M code Positioning angle
Example:
Positioning angle when θ = 30°
Mα θ 30°
M (α+1) 2θ 60°
M (α+2) 3θ 90°
M (α+3) 4θ 120°
M (α+4) 5θ 150°
M (α+5) 6θ 180°
: : :
M (α+n) (n+1) θ