- Posts: 2
- Thank you received: 0
spindle setup
1 year 8 months ago #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
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 to join the conversation.
- tommylight
-
- Offline
- Administrator
-
Less
More
- Posts: 22012
- Thank you received: 4
1 year 8 months ago #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
something like
setp rpi_pin_number_00 invert true
Please Log in to join the conversation.
1 year 8 months ago #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
And how can I operate the relays of the 5 Axis CNC Breakout Board.
Greetings Philip
Please Log in to join the conversation.
Time to create page: 0.074 seconds
