SOURCE - Spindle Setup
Spindle Setup
Wiring a Spindle
VFD from MachMotion
The process for setting up a VFD from MachMotion is extremely simple.
VFD Other Than from MachMotion
Any VFD can be wired into the Spindle Control RJ45 jack by cutting the end off of a CAT5 cable and wiring the loose ends to the VFD according the following pin out.
Function |
Analog 0-10VDC |
CW Relay |
CW Relay |
Drive Enable |
GND |
N/C |
CCW Relay |
CCW Relay |
RJ45 Pins |
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
Colors (T-568B) |
White & Orange |
Orange |
White & Green |
Blue |
White & Blue |
Green |
White & Brown |
Brown |
No VFD
Figure 21 No VFD Spindle Wiring
Spindle Configuration
Spindle Range Setup
For the control to know how to scale the analog voltage output, the maximum RPM for the spindle motor must be defined. If the machine has different ranges, the software can have multiple maximum speeds. The software uses a different range for each different speed configuration.
For example, one range could be set as 75 to 300 RPM for a low speed. A medium speed range could go from 300 to 1200 RPM and high speed range could run from 1200 to 2400 RPM. The control will output 10V when the MaxRPM is called for any speed range.
To define the range(s), go to Configure->Control. Select the Spindle tab as shown below.
Pulley Speed Setup
Enter in the maximum and minimum speeds for each range. The accel and decel time should also be defined for each range (seconds to max rpm). Press [OK] to save changes.
Note: Only set up multiple ranges if the machine has different gears/pulleys.
Note: If the spindle is turning the wrong direction check the reversed box in the applicable range.
The ranges can be changed from the control by using M40-M45. The macros can be used to just change ranges or they can be used to automatically change gears on the machine. To shift the machine range 0, run M40. M41 is range 1, M42 is range 2, and so on.
Turning on the Spindle
To control the spindle use the following M-Codes with an S word for spindle RPM in the MDI line (Ex. M3 S2000).
M-Code |
Function |
M3 |
Clockwise |
M4 |
Counterclockwise |
M5 |
Stop |
Table 5 Spindle M-Codes
If the spindle is not running correctly at this point some settings may need to change inside the VFD. In this situation, reference the VFD manufacturer manual.
Note: See the Mitsubishi VFD Installation Guide for setup information if it was purchased from MachMotion.