- Posts: 19
- Thank you received: 0
M codes for a second spindle?
8 months 1 week ago #343316
by liutas4x4
M codes for a second spindle? was created by liutas4x4
Hi.
Are them already preset in project or them should be created by myself?
/eugenius
Are them already preset in project or them should be created by myself?
/eugenius
Please Log in to join the conversation.
8 months 1 week ago #343318
by michaeln
Replied by michaeln on topic M codes for a second spindle?
Please Log in to join the conversation.
8 months 1 week ago #343360
by liutas4x4
Replied by liutas4x4 on topic M codes for a second spindle?
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.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22008
- Thank you received: 3
8 months 1 week ago #343364
by tommylight
Replied by tommylight on topic M codes for a second spindle?
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
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.
8 months 1 week ago #343367
by liutas4x4
Replied by liutas4x4 on topic M codes for a second spindle?
Sounds good. I will try it. Thank you.
Please Log in to join the conversation.
8 months 5 days ago #343497
by liutas4x4
Replied by liutas4x4 on topic M codes for a second spindle?
It is working. Thanks to you and @dm17ry -- it runs easyli.
Please Log in to join the conversation.
- tommylight
-
- Away
- Administrator
-
Less
More
- Posts: 22008
- Thank you received: 3
8 months 5 days ago #343503
by tommylight
Replied by tommylight on topic M codes for a second spindle?
You are welcomed, always, and thank you for reporting back.
Please Log in to join the conversation.
Time to create page: 0.347 seconds
