M codes for a second spindle?

More
8 months 1 week ago #343316 by liutas4x4
Hi.
Are them already preset in project or them should be created by myself?

/eugenius

Please Log in to join the conversation.

More
8 months 1 week ago #343318 by michaeln

Please Log in to join the conversation.

More
8 months 1 week ago #343360 by liutas4x4
Checked. It was about relays and laser, nothing about rotation of the motor with preset speed, like M3 S1000.

Please Log in to join the conversation.

More
8 months 1 week ago #343364 by tommylight
Try
M3 $1 S1000
Since LinuxCNC 2.8 (i think) there is built in support for multiple spindles, the $n should be the G-code controlling the spindle number where n is the spindle number starting from 0 (zero), so $0 is the default first spindle, then $1 is the second spindle, etc.
linuxcnc.org/docs/html/examples/spindle.html
linuxcnc.org/docs/stable/html/gcode/othe...ec:set-spindle-speed

Please Log in to join the conversation.

More
8 months 1 week ago #343367 by liutas4x4
Sounds good. I will try it. Thank you.

Please Log in to join the conversation.

More
8 months 5 days ago #343497 by liutas4x4
It is working. Thanks to you and @dm17ry -- it runs easyli.

Please Log in to join the conversation.

More
8 months 5 days ago #343503 by tommylight
You are welcomed, always, and thank you for reporting back.

Please Log in to join the conversation.

Time to create page: 0.347 seconds
Powered by Kunena Forum