Setting Laser to be Triggered by M67 and M68

More
3 years 3 months ago #275166 by tommylight
Remove all this
Code:
# net spindle-cmd-rpm => pwmgen.0.value net spindle-on <= spindle.0.on => pwmgen.0.enable # net spindle-pwm <= pwmgen.0.pwm setp pwmgen.0.pwm-freq 0 setp pwmgen.0.scale 100 setp pwmgen.0.offset 0.0 setp pwmgen.0.dither-pwm true net spindle-cmd-rpm <= spindle.0.speed-out net spindle-cmd-rpm-abs <= spindle.0.speed-out-abs net spindle-cmd-rps <= spindle.0.speed-out-rps net spindle-cmd-rps-abs <= spindle.0.speed-out-rps-abs net spindle-at-speed => spindle.0.at-speed
This is still active and taking control of the PWM, so it has to go.

ASUS ROG Crosshair VIII Impact - AMD X570
The following user(s) said Thank You: RRicardo

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #275167 by RRicardo
Hi Tom
Very thanks!
I will try right now.

When you guys pass by Portugal you are welcome!!!
 
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #275168 by tommylight


When you guys pass by Portugal you are welcome!!!

 
Maybe, just maybe, next year i might drop by as i owe Filipe from eusurpus.com a few coffees. :)

ASUS ROG Crosshair VIII Impact - AMD X570

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #275173 by RRicardo
Hi Again Tom

I had to turn on  pwmgen.0.scale 100 other wise it keeps always in 100% but i'm in tests and not have a final conclusion.
It seems if i set S75, the all job will run between that range...
But now it starts without laser turned on and only turns on between M67 commands, right!!!

But when i stop or pause job, laser continues on, i have to correct but don´t know how.
Also don´t have feedback in the screen about laser power but it's ok.
I will do some more tests and give feedback. 
Thank you

 
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
3 years 3 months ago #275176 by tommylight

But when i stop or pause job, laser continues on, i have to correct but don´t know how.
 
Yeah, that does require adding an "and" component and wiring it to PWM output and "program-is-running", then to PWM pin out.
No idea when i will have time to test this, i have the machines ready in the shop and frankly i can not recall if i already did this. Will check as soon as i can.
In the meantime, give it a try if you feel like it.

ASUS ROG Crosshair VIII Impact - AMD X570
The following user(s) said Thank You: RRicardo

Please Log in or Create an account to join the conversation.

Time to create page: 0.428 seconds
Powered by Kunena Forum