Lag when switching between Manual Control and MDI

More
12 Oct 2019 17:36 #147744 by Scot
So I have something going on that's a bit concerning.

When I switch between MDI and Manual control, via the tabs in AXIS, there is a lag. This lag is new and it came recently as I've gotten this machine closer to being configured. The lag is substantial, too. It can be up to about 20 seconds before the tab actually changes from one tab to the next.

There is also a lag when the coolant box is checked. Sometimes the box doesn't even check!

Is there something I should be looking for to stop this? It could be a problem, for sure.

Thanks in advance,

Scot

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

More
12 Oct 2019 19:45 #147752 by Todd Zuercher
If you have the basethread or servo thread set too short, it can cause all of the userspace programs to grind to a halt, for lack of processor time. What do you have them set to?

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

More
12 Oct 2019 19:52 #147753 by Scot
When I tuned the servos I remember the thread being 1000, if I'm correct. But I'm unsure where to find that setting, either way.

Any pointers?

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

More
12 Oct 2019 20:04 #147755 by Scot
I just dug around and found that setting.

If this is the line, then that's the setting:

# Servo task period, in nanoseconds
SERVO_PERIOD = 1000000

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

More
12 Oct 2019 23:31 #147762 by Todd Zuercher
That should be fine. Do you have a base-thread?
What hardware do you have?

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

More
12 Oct 2019 23:36 #147764 by Scot
I don't see a reference to a base thread in the .ini file. And I'm using Pico-systems PWM board and brushless servos/amps.

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

More
13 Oct 2019 08:41 #147800 by tommylight
Do you have a base-period in the ini file?
Also check for "timeout" in the ini file, if they are set to too low, one of them can cause delays, forgot which one as there are two or 3 of them.

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

Time to create page: 0.090 seconds
Powered by Kunena Forum