Coder Social home page Coder Social logo

Comments (8)

timm052 avatar timm052 commented on August 17, 2024

I can get it working but it seems very inconsistent sometimes just coming on at max speed and sometimes pulsing the speed up and down but mostly not enabling at all. The relay seems to be fairly consistent at working but sometimes it gets stuck on as well.

from esp32.

terjeio avatar terjeio commented on August 17, 2024

I cannot seem to get this working correctly and it seems very intermittent the relay often gets stuck on ...

For me it looks like the relay is controlled by a switch, not the MCU.

... and the pwm settings disappear from the config screen.

With ioSender? If version 2.0.36p21 please update to 2.0.36p22.

I can get it working but it seems very inconsistent sometimes just coming on at max speed and sometimes pulsing the speed up and down but mostly not enabling at all.

When running gcode or when idle? Both? If when running gcode ensure $32=0 (laser mode is off).
The enable signal and the PWM output are both stable when I check with my scope, also when running gcode.

The relay seems to be fairly consistent at working but sometimes it gets stuck on as well.

This is odd, if controlled by the MCU as well as the switch I would like to se a real schematic...

from esp32.

timm052 avatar timm052 commented on August 17, 2024

For me it looks like the relay is controlled by a switch, not the MCU.

It automatically triggers when the spindle enable pin is activated

With ioSender? If version 2.0.36p21 please update to 2.0.36p22.

Update seems to have corrected things

When running gcode or when idle? Both? If when running gcode ensure $32=0 (laser mode is off). The enable signal and the PWM output are both stable when I check with my scope, also when running code.

This is just turning on the spindle via M3 with a set speed

This is odd, if controlled by the MCU as well as the switch I would like to se a real schematic...

Yeah that would be great it's a real shame it's not open source it's not like it's doing anything special.

from esp32.

terjeio avatar terjeio commented on August 17, 2024

Could it be related to this issue?

And can you check with a voltmeter or scope on the spindle outputs? Are any of those stable?

from esp32.

timm052 avatar timm052 commented on August 17, 2024

No it works fine on the default firmware so I don't think that's the issue. I did a bit of probing with the voltmeter and it's definitely an issue with the 0-10v as I'm getting no output on that pin when it's not working. I'll do a fresh flash tomorrow make sure it's not some wrong setting somewhere

from esp32.

terjeio avatar terjeio commented on August 17, 2024

I am misreading the "schematics" in the link you provided, the relay is either controlled by the coolant or spindle enable output.
What I find a bit odd is that the relay ground pin seems to be routed through the PWM output for the VFD, could this be the a hint?

image

Perhaps you should try inverting the spindle enable output with $16=1?

from esp32.

timm052 avatar timm052 commented on August 17, 2024

I have it wired slightly differently with 24v going through the relay due to my kmb spindle and 0-10v always connected I'll do some additional experimentation

from esp32.

timm052 avatar timm052 commented on August 17, 2024

After 12 hours turned off it all seems to have resolved itself not sure what was going on. Thanks once again for all the help i think i can offically call it workinjg

from esp32.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.