control spindle motor using modbus

  • yuuahmad
  • yuuahmad's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
14 Oct 2025 07:04 #336410 by yuuahmad
control spindle motor using modbus was created by yuuahmad
I have a spindle motor that can be controlled using Modbus with a list of addresses sent as shown in the image.

I want to control it using USB/RS485, but I don't fully understand the Linux CNC documentation. Furthermore, there are not enough project examples and the configuration settings are not intuitive. So, I'd like to ask a question here.

I've included all the configuration programs in my GitHub link. I plan to use mb2hal for general function code, and Python for custom function code (0x44).

The program on GitHub has the same issue as the one I've included. 

github.com/yuuahmad-aii/axisXYZ-linuxcnc  github link
Attachments:

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

More
14 Oct 2025 21:37 - 14 Oct 2025 21:39 #336449 by langdons
Replied by langdons on topic control spindle motor using modbus
If your setup is parallel port, please keep in mind you almost certainly have enough output pins to control the spindle via the existing parallel port interface.

12 output pins is quite a lot.
(Enough for 6 step/dir axes!)

Your post is slightly reminiscent of this one:

linuxcnc.langdonstaab.ca/10-advanced-con...from-within-axis-mdi
Last edit: 14 Oct 2025 21:39 by langdons.

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

Time to create page: 0.071 seconds
Powered by Kunena Forum