Laser PWM und entsprechend.hal verändern

More
4 years 8 months ago #234295 by tracer
Replied by tracer on topic Laser PWM und entsprechend.hal verändern
Ah ok also soweit ich es verstanden habe, wenn man G Code M67 nehmen will, muss ich motion.analog-out-00 nehmen und verbinden.

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

More
4 years 8 months ago #234844 by tracer
Replied by tracer on topic Laser PWM und entsprechend.hal verändern
Hallo PCW
wäre die Hal so richtig angepasst?

Beste Grüße
 
Attachments:

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

More
4 years 8 months ago #234849 by PCW
It's close if you delete the following lines:

#PWM Laser addf
addf pwmgen.update servo-thread
addf pwmgen.make-pulses servo-thread

setp hm2_7i76e.0.stepgen.03.motion.analog-out-00
net laser_pwm motion.analog-out-00 => hm2_7i76e.0.pwmgen.00.enable # M67 Befehl mit PWMgen verknüpfen

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

More
4 years 8 months ago - 4 years 8 months ago #234927 by tracer
Replied by tracer on topic Laser PWM und entsprechend.hal verändern
Hello PCW

but if i delete the lines with "motion.analog-out-00" i cant use the M67 GCode, because its not connected somewhere ?!
How should linuxcnc know that i want to use M67 ?

Is it nessessary to use a Dummy Axis "W" to activate the pwm.enable and pwm.value with motion.analog-out-00?
And how to connect the pwm singnal to the PWM Pin on  PWM0 DIR and Step on Mesa 7i76e?
Attachments:
Last edit: 4 years 8 months ago by tracer.

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

More
4 years 8 months ago #234953 by PCW
Its connected in this line:

net laser_pwm motion.analog-out-00 => hm2_7i76e.0.pwmgen.00.value

(the deleted lines are invalid)

There is no PWM pin connection involved, that's done in the firmware
The following user(s) said Thank You: tracer

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

More
4 years 8 months ago #234956 by tracer
Replied by tracer on topic Laser PWM und entsprechend.hal verändern
Ok understood that.But another maybe stupid question.

M67 ist to enable the analog-out-00 but how to link the Q  value to the pwm.value for Laser intensity?
is it automaticly linked when i write the M67 to enable? laser_pwm motion.analog-out-00 => hm2_7i76e.0.pwmgen.00.enable

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

Moderators: Muecke
Time to create page: 2.488 seconds
Powered by Kunena Forum