Time to setup my lathe with 7i76e

More
24 Dec 2017 10:49 #103532 by andypugh

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

More
24 Dec 2017 11:02 #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 or Create an account to join the conversation.

More
24 Dec 2017 11:09 #103535 by andypugh

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

More
24 Dec 2017 11:24 #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 or Create an account to join the conversation.

More
24 Dec 2017 14:26 - 24 Dec 2017 14:26 #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.

File Attachment:

File Name: CNC3000_20...24-2.ini
File Size:3 KB

File Attachment:

File Name: CNC3000_20...24-2.hal
File Size:10 KB

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.

File Attachment:

File Name: CNC3000enc.ini
File Size:3 KB

File Attachment:

File Name: CNC3000enc.hal
File Size:11 KB

Spindle runs but stepper behave badly and X axis faults.

I must be blind or something but I cannot see what is wrong
Attachments:
Last edit: 24 Dec 2017 14:26 by tecno.

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

More
24 Dec 2017 14:52 #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 or Create an account to join the conversation.

More
24 Dec 2017 14:54 #103551 by tecno
Will go down again shortly.

Ping 10.10.10.10

What pin to halscope?

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

More
24 Dec 2017 15:04 - 24 Dec 2017 15:14 #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
Attachments:
Last edit: 24 Dec 2017 15:14 by PCW.

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

More
24 Dec 2017 15:11 #103553 by tecno
OK will do, back within an hour or so. Now some dinner.

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

More
24 Dec 2017 17:26 #103557 by tecno


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

Moderators: cmorley
Time to create page: 0.717 seconds
Powered by Kunena Forum