- Posts: 3
- Thank you received: 0
Use override to modify laser power
- pinterluca
- Topic Author
- Offline
- New Member
-
Less
More
1 year 2 months ago #334001
by pinterluca
Use override to modify laser power was created by pinterluca
I'm installing a 20w laser on my CNC and I control the power of laser using the spindle pwm. The software LightBurn use M67 to control the laser power. I modify the HAL file to connect analog-out-00 to the spindle PWM and set the scale. The laser is ok and the power change. Can i use the slide of spindle override to increse and reduce the new laser signal ???? I'm not expert to configure linuxcnc.
Attachment not found
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22008
- Thank you received: 3
1 year 2 months ago #334013
by tommylight
Replied by tommylight on topic Use override to modify laser power
What type of laser and what speeds will it be working at?
Please Log in to join the conversation.
1 year 2 months ago #334038
by PCW
Replied by PCW on topic Use override to modify laser power
Did you want the laser PWM controlled by both the feed rate and motion.analog-out-00?
If so you probably want to add a scale component to multiply the analog out setting by the feed rate.
If so you probably want to add a scale component to multiply the analog out setting by the feed rate.
Please Log in to join the conversation.
1 year 2 months ago #334044
by andypugh
You could use the spindle-override controls indirectly, using a HAL "scale" component to multiply the motion.analog-out.NN pin by halui.spindle.N.override.value
linuxcnc.org/docs/stable/html/man/man9/scale.9.html
linuxcnc.org/docs/stable/html/man/man1/h...l#Spindle%20Override
Replied by andypugh on topic Use override to modify laser power
Which of these do you want to use? They aren't really compatible.I'm installing a 20w laser on my CNC and I control the power of laser using the spindle pwm. The software LightBurn use M67 to control the laser power.
You could use the spindle-override controls indirectly, using a HAL "scale" component to multiply the motion.analog-out.NN pin by halui.spindle.N.override.value
linuxcnc.org/docs/stable/html/man/man9/scale.9.html
linuxcnc.org/docs/stable/html/man/man1/h...l#Spindle%20Override
Please Log in to join the conversation.
- pinterluca
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
1 year 2 months ago #334052
by pinterluca
Replied by pinterluca on topic Use override to modify laser power
thank you very much. I really wanted to multiply the two signals but I didn't know the commands. now I understand and I will try.
Please Log in to join the conversation.
- pinterluca
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 3
- Thank you received: 0
1 year 2 months ago #334097
by pinterluca
Replied by pinterluca on topic Use override to modify laser power
The problem is solved. I add HALUI in my INI file and use a scale function. Now I can modify the laser power using the slide during the work. Thanks.
Please Log in to join the conversation.
Time to create page: 0.093 seconds
