Custom signal output on LINUXCNC
- justAkid
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
05 Jun 2020 21:08 #170279
by justAkid
Custom signal output on LINUXCNC was created by justAkid
I'm not very familiar with linuxcnc yet. I am in the progress of building a BLDC driven 5-axis CNC machine (I know it's not going to be easy, but its a challenge I'm willing to take on). Together with cycloidal reducers and a closed-loop system that uses absolute encoders feedback for a PID loop, I'm hoping to achieve some degree of accuracy.
As far as I know, linuxcnc doesn't have a native signal output for BLDC motors, it rather uses the step/dir interface (I've also seen servo's being used with signal output in degrees).
I would like to write my own piece of code so linuxcnc can interface with my custom BLDC controller. My question is: where do I start, which part of the documentation is relevant for this? I've looked around, but I'm not sure if it's before the trajectory planner or HAL.
As far as I know, linuxcnc doesn't have a native signal output for BLDC motors, it rather uses the step/dir interface (I've also seen servo's being used with signal output in degrees).
I would like to write my own piece of code so linuxcnc can interface with my custom BLDC controller. My question is: where do I start, which part of the documentation is relevant for this? I've looked around, but I'm not sure if it's before the trajectory planner or HAL.
Please Log in or Create an account to join the conversation.
- tommylight
- Online
- Moderator
Less
More
- Posts: 19516
- Thank you received: 6544
05 Jun 2020 21:17 #170281
by tommylight
Replied by tommylight on topic Custom signal output on LINUXCNC
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 4957
- Thank you received: 1441
07 Jun 2020 14:07 #170482
by Todd Zuercher
Replied by Todd Zuercher on topic Custom signal output on LINUXCNC
What kind of control signal does your custom BLDC controler use?
Step/dir signals are just one of many control signals Linuxcnc is capable of generating. In fact it wasn't even one of Linuxcnc's original control methods (I believe Analog and PWM servo controls came first.)
Step/dir signals are just one of many control signals Linuxcnc is capable of generating. In fact it wasn't even one of Linuxcnc's original control methods (I believe Analog and PWM servo controls came first.)
Please Log in or Create an account to join the conversation.
- bbsr_5a
- Offline
- Platinum Member
Less
More
- Posts: 544
- Thank you received: 105
07 Jun 2020 15:23 #170494
by bbsr_5a
Replied by bbsr_5a on topic Custom signal output on LINUXCNC
hi
for a 5th axis build it is nessusary to start on a given CAM
this is the one and only issue to be build
if you cand controll it after the build it is useless
THE BEST to go for is setting a XYZ mashine on top of a AC or BC depending on where the user stands
some inspiration
postprocessor.su/machine_models_eng.html
for a 5th axis build it is nessusary to start on a given CAM
this is the one and only issue to be build
if you cand controll it after the build it is useless
THE BEST to go for is setting a XYZ mashine on top of a AC or BC depending on where the user stands
some inspiration
postprocessor.su/machine_models_eng.html
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
Less
More
- Posts: 7780
- Thank you received: 2075
07 Jun 2020 15:30 #170496
by cmorley
Replied by cmorley on topic Custom signal output on LINUXCNC
Is this helpful?
linuxcnc.org/docs/2.7/html/man/man9/bldc.9.html
HAL is the thing to know for physical interfacing hardware.
linuxcnc.org/docs/2.7/html/man/man9/bldc.9.html
HAL is the thing to know for physical interfacing hardware.
Please Log in or Create an account to join the conversation.
Time to create page: 0.052 seconds