Please help with adding laser control

More
1 year 3 months ago #331430 by PCW
The connections look OK

If you set the PWM value to 0, does GPI0 017 go false?

I don't see that the PWM scale was set so anything >= 1 will be full scale
(default PWM scaling is 1.00 = full scale)

If the PWM values are in percent, you probably wantsetp hm2_7i76e.0.pwmgen.00.scale 100

in the hal file



 
The following user(s) said Thank You: SjCNC

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

More
1 year 3 months ago #331431 by SjCNC
Thanks for checking things over PCW!

I can't setp the value since it's linked to a signal, but when gcode runs M67 E0 Q0, GPIO 017 does go false.

'setp hm2_7i76e.0.pwmgen.00.scale 100' has been added, this may yield better results. Since I didn't set the scale, all values (1-100) were sending full power. This tip right here may be the biggest sanity check, thanks PCW!

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

Moderators: snowgoer540
Time to create page: 0.314 seconds
Powered by Kunena Forum