Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: ionapostol on February 19, 2019, 07:15:07 AM

Title: Spindle relay on by M3 command
Post by: ionapostol on February 19, 2019, 07:15:07 AM
Hi ,
I have a TB6560 board and I can control relay (black relay on low right in image atached) with F5 key or with Spindle CW F5 button on Mach3 interface but when I try to put M3 command in my G code nothing happends.
How can I control that relay to work with M3 M5 command?
Thanks
Title: Re: Spindle relay on by M3 command
Post by: TPS on February 19, 2019, 09:08:26 AM
any documentation about this board?
Title: Re: Spindle relay on by M3 command
Post by: wmgeorge on February 19, 2019, 12:32:48 PM
https://www.allelectronics.com/mas_assets/media/allelectronics2018/spec/SMC-5.pdf
Title: Re: Spindle relay on by M3 command
Post by: ionapostol on February 19, 2019, 04:45:08 PM
Here all docs I have about this TB6560
Title: Re: Spindle relay on by M3 command
Post by: ZASto on February 20, 2019, 12:53:05 AM
The problem has nothing to do with TB6560 chip, which is, by the way, crap.
Title: Re: Spindle relay on by M3 command
Post by: TPS on February 20, 2019, 01:31:46 AM
ok found some additional Information, where it Looks like relay Output is port1 pin1.

so check:
->Config -> Ports & Pins -> Spindle Setup
    -disable spindle relays is not selected
    -ClockWise (M3) Output# is 2

->Config -> Ports & Pins -> Output Signals
   -Output #2 is enabled
   -Output #2 port is 1
   -Output #2 pin number is 1