×
Test (Today)

test of forum features

spindle setup

More
01 Feb 2025 23:25 #320370 by Taelman
spindle setup was created by Taelman
I want to connect my spindle to a 5 Axis Breakout Board Interface Adapter via a raspberry pi5. I can control the stepper motors (XYZ). I just can't control the spindle. Is there an example for the HAL file?

If I bypass the relay contact. Then the spindle will rotate to the maximum. If I press the + button it slows down. When I press the - button it speeds up. When I press the stop button, it starts running at maximum speed. 
Anyone have a solution?

Greetings Philip

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
01 Feb 2025 23:43 #320371 by tommylight
Replied by tommylight on topic spindle setup
Invert the spindle pin in hal.
something like
setp rpi_pin_number_00 invert true

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

More
03 Feb 2025 22:46 #320541 by Taelman
Replied by Taelman on topic spindle setup
Thank you. I'm going to test that tomorrow.

And how can I operate the relays of the 5 Axis CNC Breakout Board.

Greetings Philip

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

Time to create page: 0.376 seconds
Powered by Kunena Forum