Spindle and coolant on v6?

From the original Synthetos forum (2011–2025)

Started by vonnieda on in TinyG Support. 20 replies, last activity Mar 23, 2013.

#

Hi folks, I am trying to get spindle and coolant outputs working on my v6. Is this currently possible? I have flashed the latest firmware as of today and I've spent some time going through the code and schematics but I can't figure out if the outputs are supposed to be source or sink or get them to show me some type of output in either case.

If these work in v6, can someone tell me how they should be wired to produce an output?

Thanks,

Jason

Staff #

Jason,

Try setting the hardware version to the v6 board

$hv=6

Alden

#

Thanks Alden, I do have it set to 6.

tinyg [mm] ok>

[hv] hardware version 6.00
tinyg [mm] ok>

Can you tell me if the outputs are supposed to be source or sink?

When I run M4  I see the two LEDs nearest the 0 and 1 outputs turn on, but I don't get a voltage on the outputs. M7 and M8 do not turn on any LEDs.

Thanks,
Jason

#

[fb] firmware build 370.07
[fv] firmware version 0.95
[hv] hardware version 7.00

I have the same issue:
M7 and M8 do not turn on any LEDs.

Jerry

Staff #

I found the problem. I also think it's a v7 issue as well and is not limited to v6. The PWM/spindle code is not properly integrated and collides with the coolant bit. I will post an edge (and possibly master) push that fixes the issue. This should work for both v6 and v7.

Alden

Staff #

I have a fix pushed to the edge branch as build 370.08  If you want to try it out and see what it does I'll hold off pushing to master. You can use the tinyg.hex in either the default directory or the Debug dir. Either should work.

#

I found a new tinyg.hex file in Dev. It's called 372.01, but it doesn't look like a valid hex file??

Jerry

#

It looks like the code change got pushed to the dev branch but I don't see a new hex in any branch.

Staff #

Sorry, It should be up in edge now

#

[fb] firmware build 370.08
[fv] firmware version 0.95
[hv] hardware version 7.00

From edge:

I tested M7 & M8 for LEDs on, but nothing. Same with M9.
M3, M4 & M5 works as usual.

That's about all I can test here.

Jerry

Staff #

OK. Back to the bench. Sorry for the inconvenience.

Staff #

It was working on v6 and v7, so I just checked it again. Still works. Are you running a v7 board? The hardware version is set for V7. Also, which tinyg.hex did you use?

#

>>Are you running a v7 board?
v7 23, just got it this week.
>>The hardware version is set for V7.

>>Also, which tinyg.hex did you use?
I just loaded it from edge
[fb] firmware build 370.08

All I tried was to see if M7 & M8 turned on the coolant LED. It did not.

Jerry

Staff #

Weird. It's working on mine. I wonder what's different? If you send an email to the synthetos gmail dotcom address we can exchange info and get a chat or get online somehow and try to fix this.

#

I wasn't the original poster, but just commented that my coolant LED was not turning on with M7 or M8 also.
FYI: I don't have anything hooked up to the coolant pin, just floating I guess.

Does this help any?

At this time, I don't have any use for the coolant option, but willing to help troubleshoot.
Maybe if we can get others to test it...might help.

Jerry

Staff #

Thanks. Jason was the original poster. I don't know if he's got it working yet. Here's what I know. There was a problem prior to build 370.08 where the PWM channel was being initialized and interfering with the coolant LED. I disabled the PWM and spindle control RPM control to move this out of the way and the Coolant channel was unblocked. It tested out OK on v6 and v7 boards so I  posted to edge (a bit belatedly). You were not able to get the M7,M8,M9 commands working. I retested with the edge tinyg.hex files from both the default directory (AVRStudio4 build) and Debug directory (AtmelStudio6.1 build). Both worked.

So I'm a bit baffled right now why you board isn't functioning. You should get a power-on message that looks something like this:

{"r":{"fb":370.080,"fv":0.950,"hv":7.000,"id":"9H3583-RMP","msg":"Loading configs from EEPROM","f":[1,15,0,8118]}}

{"r":{"fb":370.080,"fv":0.950,"hv":7.000,"id":"9H3583-RMP","msg":"SYSTEM READY","f":[1,0,0,3609]}}

I'll be out most of the weekend so testing is going to be hard. I like to get these kinds of things nailed, however, so any insight you gain is much appreciated.

--Alden

This topic is from the original forum (March 2013). Your reply starts a new discussion linked to it.

Reply

Different problem? Ask a new question

Back to TinyG Support or latest activity.