Mesa Analog Vs Step Dir

More
04 Aug 2024 14:52 - 04 Aug 2024 15:58 #306924 by anfänger
Replied by anfänger on topic Mesa Analog Vs Step Dir
had still the oscillation.
But I dug myself a little deeper into the usage of pncconf with the discovery option and made a mint config file which I merged into my old config.
and the oscillation is gone and the axis are moving.

And just when I wanted to edit the post above when I saw you already answered.

here files which ware working now. also found out the the scale was wrong and adjusted it.

File Attachment:

File Name: wully_2024-08-04.hal
File Size:31 KB
 

File Attachment:

File Name: probe_basi...8-04.ini
File Size:7 KB

 
Attachments:
Last edit: 04 Aug 2024 15:58 by anfänger.

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

More
07 Aug 2024 18:42 #307204 by anfänger
Replied by anfänger on topic Mesa Analog Vs Step Dir
@PCW
You mentioned that I would use the index from the encoders when homing.
The reason I want to use them is that my home switches are not accurate and hope to get better repeatability when it comes to the home position of the machine.

At the moment the encoders are completely wired to encoder 0 to 3 on the 7i97 but I don't use them and rely completely on the loop of the servo drivers.

I think the firmware you were do kind to make me doesn't have the Stepgen index cause I don't see hm2_7i97.0.stepgen.0x.index-enable pins

Would it be to much to ask if you can make me another firmware file?

and for using the indes then I have to net all three index-enable from encoder, joint and stepgen together right?

thanks

Patrick

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

More
07 Aug 2024 19:17 #307210 by PCW
Replied by PCW on topic Mesa Analog Vs Step Dir
If you are using encoder feedback you use the encoder index
if you have a stepgen system without encoder feedback,
you would use stepgen  index, you would not use them both
on the same joint.

How many encoders/pwmgens you you need?

(the design is quite tight and the stepgen index uses
quite a bit of resources)

 

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

More
07 Aug 2024 20:37 #307211 by anfänger
Replied by anfänger on topic Mesa Analog Vs Step Dir
I need the index of four axis
currently run by stepgen

I need one pwmgen for the spindle
and encoder Feedback for the spindle

I want one extra encoder n the future for the Column to be able to track its position to compensate in Z travel for its movement.

So one pwmgen, four stepgen and six encoders

But what would make more sense.
To close the loop in linuxcnc and use encoder feedback with the stepgen
Or don't close the loop in linuxcnc and use only the index?

I have glas scales in x and y but they are analog and the AD converters seem not to work properly.
I could install digital linear scales later. but so far just using the servo encoders has worked well for me and I would prefer not to invest in them now.

So far I only used analog control and the servo encoders and just changed to digital control because of noise issues. So I am not sure what's the best approach.

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

More
07 Aug 2024 20:47 #307214 by PCW
Replied by PCW on topic Mesa Analog Vs Step Dir
OK I will see what can fit.

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

More
07 Aug 2024 20:54 #307215 by anfänger
Replied by anfänger on topic Mesa Analog Vs Step Dir
I have a spare Mesa 7I92H here. If it would help. But she made some trouble and sometimes seems to forget the IP adress and needed some reboots to work again

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

More
08 Aug 2024 00:18 #307237 by PCW
Replied by PCW on topic Mesa Analog Vs Step Dir
7I97 + 7I85S config with Step/Dir index support on encoders 0..3
6 Encoders total (7I97 only)

 

File Attachment:

File Name: 7i97_7i85sdid.zip
File Size:130 KB

 
Attachments:
The following user(s) said Thank You: anfänger

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

More
08 Aug 2024 07:06 #307245 by anfänger
Replied by anfänger on topic Mesa Analog Vs Step Dir
Many thanks.
Maybe one last question.
For usng the index with step I need to upgrade to linuxcnc 2.9.3 right?
currently its 2.8.2 I am working on this machine three years now.

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

More
08 Aug 2024 13:43 #307263 by PCW
Replied by PCW on topic Mesa Analog Vs Step Dir
Stepgen index requires 2.9 or later

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

More
08 Aug 2024 17:04 - 08 Sep 2024 15:23 #307268 by anfänger
Replied by anfänger on topic Mesa Analog Vs Step Dir
thanks again.
Update is running...

And home with index is working!

many thanks!
Last edit: 08 Sep 2024 15:23 by anfänger.

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

Moderators: PCWjmelson
Time to create page: 0.133 seconds
Powered by Kunena Forum