binary works - compilation not smoothly???

More
8 years 3 weeks ago #118648 by schorsch
Hi, Andy et al,
I managed again to run with 4 axis and 4 joints. And the postprocessor seems to produce good code, too. But finally I have problems to jog the A axis when using the trivial coordinates.

When multiply pressing on the jog button for the A axis very fast this occurs
Code:
LINUXCNC - 2.8.0~pre1 Machine configuration directory is '/home/georg/Desktop/linux-cnc-dev-2018-10-10' Machine configuration file is 'BF20-2018-10-10-dev.ini' Starting LinuxCNC... . Found file(REL): ./stepper_xyza.hal Found file(REL): ./standard_pinout.hal Found file(REL): ./manualtoolchange.hal note: MAXV max: 50.000 units/sec 3000.000 units/min note: LJOG max: 50.000 units/sec 3000.000 units/min note: LJOG default: 2.500 units/sec 150.000 units/min note: AJOG max: 60.000 units/sec 3600.000 units/min note: AJOG default: 12.000 units/sec 720.000 units/min note: jog_order='XYZA' note: jog_invert=set([]) Xlib.protocol.request.QueryExtension Xlib.protocol.request.QueryExtension on_abort executing task: main loop took 0.145058 seconds joint 3 following error emc/task/taskintf.cc 944: Error on joint 3, command number 152 on_abort executing on_abort executing

It happens faster when using higher velocities...

I managed to hang the complete PC with this error. Really full stop. keyboard was blinking, couln't even move the mouse....

I do not have the same problem on any other axis


Is this a latency problem? I never had problems here

Thanks in advance
Georg

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

More
8 years 3 weeks ago #118652 by andypugh
Following error is likely to be that the A axis simply can't move as fast as commanded.

But it really shouldn't hang the machine. The whole point of LinuxCNC os to be rock-solid :-(

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

More
8 years 3 weeks ago #118674 by schorsch
Hi, thanks a lot for your quick answer,

can't move that fast because of what?
I get drive it to much higher speeds, but when Pressing the button multiple times quickly after each other (like double-click speed) it crashed?? Which parameter do I have to change?


I do not understand this, as I can drive even higher stepper speeds at the linear axis without problems

Schorsch

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

More
8 years 3 weeks ago #118681 by andypugh

schorsch wrote: can't move that fast because of what?


Some limit or other....

What step rate are you commanding? How does that compare to the actual step-pulse + step-space time?

What is the velocity limit on the stepgen? Accel limit? How does this compare to the axis limit?
The following user(s) said Thank You: schorsch

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

More
8 years 2 weeks ago #118722 by schorsch
Great, seems to be fixed.

MAX_VELOCITY was larger than STEPGEN_MAXVEL, same with acceleration

couln't reproduce the error anymore, since I changed!

Thanks a lot

Georg

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

More
8 years 2 weeks ago - 8 years 2 weeks ago #118723 by schorsch
Hm....
Unfortunately, I'm running into a similar error when running in automatic mode
Code:
on_abort executing joint 3 following error emc/task/taskintf.cc 944: Error on joint 3, command number 1418 on_abort executing on_abort executing

Most important stuff of my configuration are:
Code:
[AXIS_A] MIN_LIMIT = -9999.0 MAX_LIMIT = 9999.0 MAX_VELOCITY = 80.00 MAX_ACCELERATION = 125.0 [JOINT_3] TYPE = ANGULAR HOME = 0.0 MAX_VELOCITY = 40.00 STEPGEN_MAXVEL = 60 MAX_ACCELERATION = 110.0 STEPGEN_MAXACCEL = 125 INPUT_SCALE = 22.22222 FERROR = 10 MIN_FERROR = .25 MIN_LIMIT = -9999.0 MAX_LIMIT = 9999.0 HOME_OFFSET = 0.0 HOME_SEQUENCE = 3 [TRAJ] AXES = 4 JOINTS = 4 COORDINATES = X Y Z A HOME = 0 0 0 0 LINEAR_UNITS = mm ANGULAR_UNITS = degree DEFAULT_VELOCITY = 5.00 DEFAULT_ANGULAR_VELOCITY = 12.00 MAX_VELOCITY = 50.00 MAX_ANGULAR_VELOCITY = 40.00 DEFAULT_ACCELERATION = 50.00 MAX_LINEAR_ACCELERATION = 50.00

hm... I'm just realizing that I can run higher speeds in MDI than in the manual mode....why? Here it si crashing..maybe because of too high speed.... why it is like this...where can I set the total general limit?

thank you for any hint

Georg
Last edit: 8 years 2 weeks ago by schorsch.

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

Time to create page: 0.116 seconds
Powered by Kunena Forum