- Posts: 50
- Thank you received: 8
Laser PWM und entsprechend.hal verändern
- tracer
- Offline
- Senior Member
-
Less
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.
- tracer
- Offline
- Senior Member
-
Less
More
- Posts: 50
- Thank you received: 8
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
wäre die Hal so richtig angepasst?
Beste Grüße
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
4 years 8 months ago #234849
by PCW
Replied by PCW on topic Laser PWM und entsprechend.hal verändern
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
#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.
- tracer
- Offline
- Senior Member
-
Less
More
- Posts: 50
- Thank you received: 8
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?
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?
Last edit: 4 years 8 months ago by tracer.
Please Log in or Create an account to join the conversation.
- PCW
- Offline
- Moderator
-
Less
More
- Posts: 18115
- Thank you received: 5334
4 years 8 months ago #234953
by PCW
Replied by PCW on topic Laser PWM und entsprechend.hal verändern
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
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.
- tracer
- Offline
- Senior Member
-
Less
More
- Posts: 50
- Thank you received: 8
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
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