TB6560 CNC 4 axis spindle relay configuration with Mach3

posted in: CNC | 2

TB6560 4 axis spindle relay configuration with Mach3 is fairly straight forward.   But it took me some time to figure out. So here’s how I got the board to work.

I wanted to be able to control my Katsu (Makita clone) router from Mach3.   The goal was that it would switch on and off from the gcode running..  Several times I started to run the code and forgot to switch the router on .

This configuration is just a simple on/off, no speed control.  The TB6560 is able to control spindle speed with extra hardware and configuration. But I don’t have this setup, so I can’t confirm.

The TB6560 4 axis board is fitted with a relay which can be controlled by Mach3 using the gcodes M3 (on) and M4 (off). The relay is limited to 36 Volts and 7.5 amps.  As most routers are mains powered a relay is required to switch the AC on and off.

After some research I decided to use a solid state relay that would switch the AC on by supplying a small DC voltage.   I purchased a FOTEK SSR-25 DA from Ebay and wired as the diagram below.  Please be very careful you are dealing with mains electricity  it can kill!!

The Spindle interface has 4 connectors two ground  and  on my board MOU and MIN.  Basically the MOU and MIN are the relay contacts.  You can put a multi-meter across them on a continuity setting with a buzzer and its will switch on and off by sending M3 and M4 to it.

TB6560 wiring diagram with solid state relay
TB6560 wiring diagram with solid state relay

Mach 3 configuration

 

Goto Ports and Pins and check that Output#1 is enabled and set to Port 1 and Pin 2

Mach 3 Ports & Pins Output signals
Mach 3 Ports & Pins Output signals

 

On the Spindle Setup tab make sure “Disable Spindle Relay” is not checked and the “Output# “is set to 1 as below

 

Mach 3 Ports & Pins - Spindle Setup
Mach 3 Ports & Pins – Spindle Setup

That’s all there is to it.

If you press Reset and click  “Spindle Toggle”  button on the Diagnostics screen it should start the router.  Make sure the router is left switched on.

Print Friendly, PDF & Email

2 Responses

  1. If this works I owe you a fat kiss right on the mouth! This TB6560 has not been my favorite thing in the world but this tutorial is really well written and detailed! Fingers crossed, and thanks again!

Leave a Reply