
B-63943EN-1/02 11.SPINDLE SPEED FUNCTION
- 1271 -
Program origin
The position at which the orientation is completed is regarded as the
program origin. The program origin can be changed by coordinate
system setting (G92 (T series G code B, C/M series) or G50 (T series
G code A)) or automatic coordinate system setting (bit 0 (ZPR) of
parameter No. 1201).
When the orientation is omitted, the program origin is not established,
so operations by absolute commands in spindle positioning by axis
address are not guaranteed.
- Command system
The command system comes in two types: The first positions a
semi-fixed angle; the second positions an optional angle.
Semi-fixed angle positioning
Specify a positioning angle with an M code. Six types of M codes
Mα to M(α + 5) can be specified. The value of α is set in parameter
No. 4962 in advance. The positioning angles corresponding to Mα
to M(α + 5) are listed below, and β is set in parameter No. 4963 in
advance.
M code
(Example) β=α+5
Indexing angle (Example) β=30°
Mα β 30°
M (α+1) 2β 60°
M (α+2) 3β 90°
M (α+3) 4β 120°
M (α+4) 5β 150°
M (α+5) 6β 180°
When the number (γ) of M codes used is specified in parameter No.
4964, M codes Mα to M(α + (γ - 1)) can be specified in up to 255
ways (Mα to M(α + (255 - 1))).
M code
(Example) γ = 11
Indexing angle (Example) β=30°
Mα β 30°
M (α+1) 2β 60°
M (α+2) 3β 90°
M (α+3) 4β 120°
to to to
M (α+11-1) 11β 330°
One of the rotation directions can be set by setting bit 1 (IDM) of
parameter No. 4950.