Confuguring Stepper drives and motors without the wizard

More
15 Nov 2019 12:46 #150418 by aaron
Hi

I have two issues after changing a few things on my xyz router including the breakout board. I now seem to be getting the odd realtime error. I have two two motors on the x axis so I cannot use the step config wizard. And a major problem with the y axis

Issue 1.
Can somebody please explain how to edit the hal/ini files so I can run this thing without errors. Is there a simple formula I can use and tell me what to edit. I ain't no mathematician so simplicity is key! I have attached hal and ini files.
I run the latency test and under max jitter it says:
Servo tread 38863
Base thread 20190

Issue 2.
When I run a specific job from starting up the machine and touching off all axis it cuts the pieces in the in the wrong place in the y axis (only the Y) and when I go to x0 y0 after completion I get these errors:

Linear move on line 206 would exceed y's negative limit.
Linear move on line 206 would exceed y's negative limit.
invalid params in lenear command

The machine clearly knows where it is, so can it have lost steps? When I touch off y again it cuts in the right place. What's going on?

Any/all help very gratefully received

Aaron
Attachments:

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

More
15 Nov 2019 12:53 #150419 by andypugh

Can somebody please explain how to edit the hal/ini files so I can run this thing without errors. Is there a simple formula I can use and tell me what to edit. I ain't no mathematician so simplicity is key! I have attached hal and ini files.
I run the latency test and under max jitter it says:
Servo tread 38863
Base thread 20190


If you look in the INI file, in the [EMCMOT] section you will see
BASE_PERIOD = 66666
SERVO_PERIOD = 1000000

You could try increasing the BASE_PERIOD, though if your latency numbers are correct, that should not be necessary.
How long did you run the latency test for? Did you stress the system?

Issue 2.
When I run a specific job from starting up the machine and touching off all axis it cuts the pieces in the in the wrong place in the y axis (only the Y) and when I go to x0 y0 after completion I get these errors:


Check that you don't have an accidental Y offset in the tool table.

Do you home the machine, or rely on touch-off?
The following user(s) said Thank You: aaron

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

More
17 Nov 2019 15:23 #150525 by aaron
Genius. Thank you

Somehow I had added a Y offset to one tool in the tooltable.
And I have increased the base period and have had no trouble since

I do home the machine and then touch off each axis for different jobs. Is that the right thing to do?

Thanks again

Aaron

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

More
17 Nov 2019 15:40 #150526 by andypugh
Yes, you are doing the right thing. The second question was in case the tool-table guess was wrong.

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

More
17 Nov 2019 16:57 #150528 by pl7i92
i woudt have started with 100000 BASE
and give the
setp stepgen.x.dirhold 45000
setp stepgen.x.dirsetup 45000
so it runs cool then you can tweeek up to 10000mm/min at a 750mm/s² ACC

leave the drivers and the board to a max time

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

Time to create page: 0.064 seconds
Powered by Kunena Forum