- Configuring LinuxCNC
- Basic Configuration
- 7i96s, 3 axis mill conversion, servo spindle, probe basic almost full function
7i96s, 3 axis mill conversion, servo spindle, probe basic almost full function
16 Nov 2024 04:32 #314584
by bruno84
7i96s, 3 axis mill conversion, servo spindle, probe basic almost full function was created by bruno84
Hey guys. I wonder if someone could assist me in nutting a problem in my configuration. I know the layout of the config has more than one problem, and i plan to learn better how to fix this myself, however as long as i have the axis' dialled in and the servo spindle controlled through the software i am a-ok with not having spindle orientation and extras setup until I better understand the Hal configurations.
I have been running Probe Basic as a 3 axis stepper driven mill configuration, 3 homing switches for a year using the standard mill motor spindle and that has worked fine. I have just installed a Servo Motor to drive the spindle and now for some reason I am getting a joint following error when homing any axis.
I have had the servo spindle working in a test file, (both Axis and probe basic GUIs),but when combined together in the previously working Probe Basic config I have issues.
I have a feeling it might be something that is related to the post-gui file, as in an attempt to chase errors I was getting I have consolidated a not task that was conflicting, and I have reached to end of my limited knowledge.
I am working regularly to better understand the control flow within linuxcnc, but for now, if i was just able to get a minimal running configuration sorted I could at least use the machine whilst i gain that better knowledge.
Thanks very much,
Bruno
I have been running Probe Basic as a 3 axis stepper driven mill configuration, 3 homing switches for a year using the standard mill motor spindle and that has worked fine. I have just installed a Servo Motor to drive the spindle and now for some reason I am getting a joint following error when homing any axis.
I have had the servo spindle working in a test file, (both Axis and probe basic GUIs),but when combined together in the previously working Probe Basic config I have issues.
I have a feeling it might be something that is related to the post-gui file, as in an attempt to chase errors I was getting I have consolidated a not task that was conflicting, and I have reached to end of my limited knowledge.
I am working regularly to better understand the control flow within linuxcnc, but for now, if i was just able to get a minimal running configuration sorted I could at least use the machine whilst i gain that better knowledge.
Thanks very much,
Bruno
Please Log in or Create an account to join the conversation.
16 Nov 2024 09:07 - 16 Nov 2024 09:10 #314589
by bruno84
Replied by bruno84 on topic 7i96s, 3 axis mill conversion, servo spindle, probe basic almost full function
Seems i have found a fix, for now. In my ham fisted attempt at merging a basic 3 axis Probe Basic configuration with a config containing a step/dir driven servo for use as a spindle I had left out the following... or at least a number of the following things
addf pid.x.do-pid-calcs servo-thread
addf pid.y.do-pid-calcs servo-thread
addf pid.z.do-pid-calcs servo-thread
#addf pid.s.do-pid-calcs servo-thread
addf spindle-pid.do-pid-calcs servo-thread
setp [HMOT](CARD0).dpll.01.timer-us -50
setp [HMOT](CARD0).stepgen.timer-number 1
I have attached the quickly update HAL and will work on making it less of a mess and more readable before asking a couple more questions about the possibility of getting spindle orientation working. Have been working on the HAL tutorial and had halcmd up and running with the -kf parameter to show where all my signals are linking to, so will attempt to become more conversant in what is happening with the configuration i have chopped together Thanks
addf pid.x.do-pid-calcs servo-thread
addf pid.y.do-pid-calcs servo-thread
addf pid.z.do-pid-calcs servo-thread
#addf pid.s.do-pid-calcs servo-thread
addf spindle-pid.do-pid-calcs servo-thread
setp [HMOT](CARD0).dpll.01.timer-us -50
setp [HMOT](CARD0).stepgen.timer-number 1
I have attached the quickly update HAL and will work on making it less of a mess and more readable before asking a couple more questions about the possibility of getting spindle orientation working. Have been working on the HAL tutorial and had halcmd up and running with the -kf parameter to show where all my signals are linking to, so will attempt to become more conversant in what is happening with the configuration i have chopped together Thanks
Attachments:
Last edit: 16 Nov 2024 09:10 by bruno84.
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Basic Configuration
- 7i96s, 3 axis mill conversion, servo spindle, probe basic almost full function
Time to create page: 0.129 seconds