mesa 7i76 configuring a spindle encoder

More
10 years 7 months ago #71678 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?

File Attachment:

File Name: Myford_Lathe.rar
File Size:51 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
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 or Create an account to join the conversation.

More
10 years 7 months ago #71682 by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder

andypugh wrote: In the "loadrt" section you need

Code:
loadrt scale names=scale.spindle

I will try that Thanks should PnCConf have put that in?

Please Log in or Create an account to join the conversation.

More
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 or Create an account to join the conversation.

More
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 or Create an account to join the conversation.

More
10 years 7 months ago #71728 by Clive S
Replied by Clive S on topic mesa 7i76 configuring a spindle encoder

andypugh wrote: loadrt lowpass names=spindle.lowpass

Andy I have tried that and it still errors. I inserted it like this:-

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

File Attachment:

File Name: Myford_Lathe-2.hal
File Size:9 KB


Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.214 seconds
Powered by Kunena Forum