In this section I am going to hookup a SuperPID 2 to the MASSO.
Mounting the SuperPID 2
To mount the SuperPID I am using 4 of my "KR Universal Short DIN Rail V8".
Notice the two nuts on each post. This is to raise the board up for clearance.
The board is installed on the posts and secured with standoffs. These standoffs will allow me to mount some sort of cover later.
Powering the SuperPID 2
The SuperPID needs a 5V power source. I wire the 5V terminal on the SuperPID to my 5V terminal blocks.
I wire the GND terminal on the SuperPID to my ground terminal blocks.
Configuring the MASSO
The MASSO is ready to go when it comes to starting the SuperPID. I just need to invert the Spindle CW signal to work properly.
Wiring the Run Signal
I run a wire between the MASSO Spindle Pin 2 and the run terminal on the SuperPID.
Testing the Run Signal
With the system powered up, bring up the MDI command window by typing Ctrl M on the MASSO keyboard.
Now type M3 and hit enter.
You should see a small r next to the word Spindle View.
Create voltage Divider
The MASSO puts out a 0-10V voltage based on the RPM needed for the spindle. The SuperPID, needs a 0-5V signal. We need to build a voltage divider using 2, 4.7K resistors.
Twist two 4.7K resistors together and solder a wire to the end of one as shown here. I used a wire about 24" long.
Connect the Voltage Divider
Connect the divider to the terminals PG and POT as shown here.
Add some heat shrink for insulation.
Rout the wire to the MASSO spindle Pin 1.
Configure the Spindle Speed Range
Set the spindle paramaters to those shown here. The low end on the SuperPID is 5000 RPM. The MASSO does not have a low end setting so we have to add it to the top to get the proper voltage to RPM ratio.
This one works pretty good, but will be off a 200 RPM on the low end.
Test the Speed Control
Bring up a MDI window and start the SuperPID by typing M3 and hitting enter.
Type S10000 and hit enter.
You should see the Pot View as shown here. It will change as you change the spindle speed using the S command.
Wire your RPM Sensor
Connect the red sensor wire to the SL terminal. Connect the black sensor wire to the PG terminal. Connect the white sensor wire to the SO terminal.
Connect AC Power
It's time to connect AC to your SuperPID. In the process we will also connect the router. Both are done through the same terminal block.
What I do is purchase an extension cord and cut it in half. I connect the plug(Male) end (Black=A, White=N) to the A and N terminals. I connect the socket(Female) end (Black=MA, White=MN) to the MA and MN terminals.
The two green wires are twisted together and secured with a green cap screw.
When you plug into the AC source and power up the SuperPID, the Super PID will alert you during the power up sequence that it found the AC Mains.
Plug the router into the female socket you just hooked up. When you issue a M3 command the router should start and the SuperPID should display the current router RPMs.
Try different speeds with the S command.
Spindle Start Boot Problem
The SuperPID 2 needs a low signal to run, and 5V or no signal to stop. The MASSO by default outputs a 5V on the spindle pin 2 terminal when active and a low when not active.
The logical choice is to invert the signal in the settings. This does not work as the MASSO does not initiate the inversion during the boot sequence. It boots as a low and stays that way until the Estop is cycled.
What does all this mean? Well, at boot the spindle will startup and run until the estop is cycled. Not a safe situation.
Wiring the Relay Board
I made the following connections. Note that RB=RelayBoard, TB=Terminal Blocks.
- RB D- to GND TB
- RB D+ to 5V TB
- RB IN to MASSO Spindle Pin 2
- RB NO to SuperPID Run terminal
- RB D- to RB COM
After some testing it works perfectly. The boards are very inexpensive. You get 5 for $10.
SuperPID Tachometer Output
The SuperPID has an output called TACH. This provides a pulse for each revolution of the router spindle. Unfortunatly, the MASSO does not have support for this. While you can use the display on the SuperPID to see the actual RPM's, it would have been nice to see them on the MASSO screen.
That's it. The interface between the MASSO is now complete. Here is the MASSO, KRMx02 and SuperPID 2 in action.