Took a little head scratching to get the Router Control worked out.
MACH3 - G540 - SUPER PID2
Router Speed control with MACH3, G540, SuperPID2
Wire according the SUPER PID2 Instructions.
Tach is optional, but I learned a simple wire saves headaches!
Hardware Hookup from G540 to Super PID2
TACH - Input #4 (Gecko #4)
RUN - Output 1 (Gecko #5)
PWM Signals - PWM Gecko 7, 8, 9
When I first hooked everything up my router was at a constant 5,000 rpm (slowest speed by default).
I had read TACH wasn't needed, but had stumbled into the spindle calibration screen and really messed
stuff up. Add the Tach, and used "INDEX" (single pulse per rpm)
MACH3 Settings:
Router ON/OFF
Ports and Pins: Output Signals
Output #1 Enabled, Port #1, Pin 17
Tach Input:
MACH3 Ports and Pins: Input
INDEX - Enable. Port #1. Pin 13
PWM to Super PID2 Output:
MACH3 Ports and Pins: Motor Outputs
SPINDLE - Enable Pin 14
MACH3 Ports and Pins: Spindle Setup:
Relay Control: Disable
Motor Control:
check: Use Spindle Motor Output
check: PWM Control
leave open: Step/Dir Motor
PWM Base Freq: 50
Minimum PWM: 0 (super pid doesn't allow router to go below 5000rpm)
General Parameters:
5 second delay for spin up and spin down
Spindle Pulley: Just open one and set Max Speed to 30000 rpm (my router maxed out at 28,500)
Wire, yes I used little sections of color coded heat shrink to keep wiring straight as I had 16 gauge
RED, BLACK, and GREEN on hand. All three together with big blue are PWM, Red with white is TACH,
Red with Yellow is RUN.
Hopefully this will help someone out.