mesa 7i76 configuring a spindle encoder
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2241
- Thank you received: 476
15 Mar 2016 13:09 #71678
by Clive S
mesa 7i76 configuring a spindle encoder was created by Clive S
I am trying to setup up a spindle encoder to enable threading I had this working before with a PP but am now trying to configure with the mesa 7i76 I have Linux 2.7.4 using PnCConf I am getting an error message with debug, attached.
I would like to use A + B + index I have connected these to TB3 pins 7,10 and index to 13 on the 7i76
Is this correct and how do I sort the error out?
I would like to use A + B + index I have connected these to TB3 pins 7,10 and index to 13 on the 7i76
Is this correct and how do I sort the error out?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23559
- Thank you received: 4858
15 Mar 2016 15:05 #71681
by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
In the "loadrt" section you need
loadrt scale names=scale.spindle
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2241
- Thank you received: 476
15 Mar 2016 15:08 #71682
by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
I will try that Thanks should PnCConf have put that in?In the "loadrt" section you need
loadrt scale names=scale.spindle
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2241
- Thank you received: 476
15 Mar 2016 15:18 #71683
by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
Andy I have tried that and it gives the error in Debug lowpass.spindle.gain not found
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23559
- Thank you received: 4858
15 Mar 2016 15:30 #71684
by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
loadrt lowpass names=spindle.lowpass
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2241
- Thank you received: 476
16 Mar 2016 16:19 #71728
by Clive S
loadrt trivkins
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt hostmot2
loadrt hm2_pci config=" num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=00xxxx"
loadrt scale names=scale.spindle
loadrt lowpass names=spindle.lowpass
setp hm2_5i25.0.watchdog.timeout_ns 5000000
loadrt pid names=pid.x,pid.z,pid.s
attached hal , ini and debug file
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
Andy I have tried that and it still errors. I inserted it like this:-loadrt lowpass names=spindle.lowpass
loadrt trivkins
loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt hostmot2
loadrt hm2_pci config=" num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=00xxxx"
loadrt scale names=scale.spindle
loadrt lowpass names=spindle.lowpass
setp hm2_5i25.0.watchdog.timeout_ns 5000000
loadrt pid names=pid.x,pid.z,pid.s
attached hal , ini and debug file
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23559
- Thank you received: 4858
16 Mar 2016 16:27 #71729
by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
See how you have "names=spindle.lowpass" and then the error is "lowpass.spindle.gain, pin not found"
It's my fault, I think, but the fix seems fairly easy.
It's my fault, I think, but the fix seems fairly easy.
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2241
- Thank you received: 476
16 Mar 2016 17:24 #71733
by Clive S
Ok have have changed it to names=lowpass.spindle.gain and still the same error
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
See how you have "names=spindle.lowpass" and then the error is "lowpass.spindle.gain, pin not found"
It's my fault, I think, but the fix seems fairly easy.
Ok have have changed it to names=lowpass.spindle.gain and still the same error
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23559
- Thank you received: 4858
16 Mar 2016 17:41 #71736
by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
Hmm, comment out that line, then start LinuxCNC
Then open a terminal and type
halcmd -kf
show pin lowpass*
exit
Then open a terminal and type
halcmd -kf
show pin lowpass*
exit
Please Log in or Create an account to join the conversation.
- Clive S
- Offline
- Platinum Member
Less
More
- Posts: 2241
- Thank you received: 476
16 Mar 2016 18:15 - 16 Mar 2016 18:18 #71738
by Clive S
Thanks for your patience Andy but commenting it out does not let me start LinuxCNC. Tomorrow I will start from scratch with the lathe config and generate a new one. with PnCConf and start again.
its the encoder for the threading I am trying to sort out I am not trying to sort out the spindle speed
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder
Hmm, comment out that line, then start LinuxCNC
Thanks for your patience Andy but commenting it out does not let me start LinuxCNC. Tomorrow I will start from scratch with the lathe config and generate a new one. with PnCConf and start again.
its the encoder for the threading I am trying to sort out I am not trying to sort out the spindle speed
Last edit: 16 Mar 2016 18:18 by Clive S.
Please Log in or Create an account to join the conversation.
Time to create page: 0.097 seconds