Time to setup my lathe with 7i76e

More
8 years 10 months ago #103532 by andypugh

tecno wrote: " other ends " = I´m lost here


You are connecting your encoder pins to some signals. But do the signals also connect to the correct other pins? For example motion.spindle-revs.

Please Log in to join the conversation.

More
8 years 10 months ago #103533 by tecno
Is this not correct or is there something still missing

net spindle-revs <= hm2_7i76e.0.encoder.03.position

net spindle-revs => motion.spindle-revs

Please Log in to join the conversation.

More
8 years 10 months ago #103535 by andypugh

tecno wrote: Is this not correct or is there something still missing/quote]

Sorry, I didn't read the attached HAL file (or even notice it) as I was on my phone at the time.

Please Log in to join the conversation.

More
8 years 10 months ago #103536 by tecno
So do you think what I have scrabbled together will work? Will try later on today if I get time with all Christmas doings.

Please Log in to join the conversation.

More
8 years 10 months ago #103549 by tecno
So now I have been down to the workshop and found out that encoder.03 was very wrong it is 02 so that part is fixed.

But....
I have earlier noticed and mentioned that my steppers are not smooth more like stuttering.

Attachment not found

Attachment not found


Above is my setup without spindle encoder, I can jog both axis with above *smoothness* and spindle runs.

If I run my setup with spindle encoder the stepper are stuttering very badly and now I also get FOLLOWING ERROR on X axis.

Attachment not found

Attachment not found


Spindle runs but stepper behave badly and X axis faults.

I must be blind or something but I cannot see what is wrong

Please Log in to join the conversation.

More
8 years 10 months ago #103550 by PCW
The encoder should have zero effect on the stepgen

The following error limits are set so large that this looks almost like a lost communication issue
perhaps a host PC or noise issue of some kind

Can you post the result of pinging the FPGA card?

Can you halscope the following error?

Please Log in to join the conversation.

More
8 years 10 months ago #103551 by tecno
Will go down again shortly.

Ping 10.10.10.10

What pin to halscope?

Please Log in to join the conversation.

More
8 years 10 months ago #103552 by PCW
X axis following error
also dpll phase error might be helpful

Here's a representative plot: The names will be a bit different because this is LinuxCNC 2.8 running with a different Ethernet card

Attachment not found

Please Log in to join the conversation.

More
8 years 10 months ago #103553 by tecno
OK will do, back within an hour or so. Now some dinner.

Please Log in to join the conversation.

More
8 years 10 months ago #103557 by tecno

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Attachment not found



Sorry to say but I can not manage to get anything from axis.0.f-error or axis.0.joint-vel-cmd
As soon as I hit PgUp or PgDn there is this joint 0 following error

Advise what next

Please Log in to join the conversation.

Time to create page: 0.227 seconds
Powered by Kunena Forum