- Posts: 2203
- Thank you received: 0
mesa 7i76 configuring a spindle encoder
10 years 7 months ago #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?
Attachment not found
Please Log in to join the conversation.
10 years 7 months ago #71681
by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
In the "loadrt" section you need
Code:
loadrt scale names=scale.spindle
Please Log in to join the conversation.
10 years 7 months ago #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?andypugh wrote: In the "loadrt" section you need
Code:loadrt scale names=scale.spindle
Please Log in to join the conversation.
10 years 7 months ago #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 to join the conversation.
10 years 7 months ago #71684
by andypugh
Replied by andypugh on topic mesa 7i76 configuring a spindle encoder
loadrt lowpass names=spindle.lowpass
Please Log in to join the conversation.
10 years 7 months ago #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:-andypugh wrote: 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
Attachment not found
Attachment not found
Please Log in to join the conversation.
10 years 7 months ago #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 to join the conversation.
10 years 7 months ago #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
andypugh wrote: 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 to join the conversation.
10 years 7 months ago #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 to join the conversation.
10 years 7 months ago #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
andypugh wrote: 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
Please Log in to join the conversation.
Time to create page: 0.094 seconds
