Installation manual
CNC 8035
5.
CONCEPTS
Spindle
(SOFT M: V15.3X)
(S
OFT T: V16.3X)
·228·
5.9.3 Spindle gear change
With this CNC, the machine can use a gear box for adjusting the best spindle speed and torque for
the particular machining needs at any time.
The CNC admits up to 4 spindle gears that are determined by s.m.p. "MAXGEAR1 (P2)",
"MAXGEAR2 (P3)", MAXGEAR3 (P4)" and "MAXGEAR4 (P5)". They indicate the maximum speed
(in rpm) for each range.
The value assigned to "MAXGEAR1 (P2)" will be the one corresponding to the lowest gear and the
one assigned to "MAXGEAR4 (P5)" will be the one corresponding to the highest gear.
When not using all 4 gears, use the lower parameters starting with MAXGEAR1 (P2). Set the unused
gears with the same value as the highest of the ones used.
The auxiliary functions M41, M42, M43 and M44 are used to "tell" the PLC that spindle gear 1, 2,
3 or 4 must be selected.
In turn, the PLC must "tell" the CNC the speed gear being selected. This will be indicated by means
of the logic inputs for the spindle: "GEAR1 (M5458)", "GEAR2 (M5459)", "GEAR3 (M5460)" and
"GEAR4 (M5461)".
Since to each "S" speed corresponds a spindle gear, before selecting a new "S" one must:
1. Analyze whether the new "S" involves a gear change.
2. If it does, execute the M function corresponding to the new gear (M41 thru M44) in order for the
PLC to select it.
3. Wait for the PLC to select the new gear. Check spindle logic inputs "GEAR1" (M5458), "GEAR2"
(M5459), "GEAR3" (M5460) and "GEAR4" (M5461).
4. Select the new speed "S".
To have the CNC perform all these operations automatically, set s.m.p. AUTOGEAR (P6) =YES to
indicate that the gear change is to be generated by the CNC.
Automatic gear change controlled by the PLC
When the CNC detects a gear change, it sends out to the PLC the corresponding M code (M41 thru
M44) via one of the logic outputs "MBCD1-7" (R550 thru R556).
It also activates general logic output "MSTROBE" (M5532) to "tell" the PLC to go ahead with the
execution.
The PLC deactivates CNC general logic input "AUXEND" (M5016) to indicate to the CNC that it
began processing the "M" function.