G0 velocity limitation

More
24 Feb 2013 02:37 #30492 by jensor
Replied by jensor on topic G0 velocity limitation
Okay, I tried as you suggested and just to be sure I wasn't using the proper ini file I am outlining the steps I followed specifically.

Using the Live CD and installed Linuxcnc on a different computer from what I am using on my Bridgeport mill.
Open Application->CNC->LinuxCNC
Select from "Linux CNC Configuration Selector"
Stepper->sim_inch, OK
See window to copy to my home directory,, I select "yes", and see msg "Configuration copied" I select OK
Axix window opens, I home all axes, go to MDI and issue commands:

G0X1 - expected the DRO to say Vel: 72, and it did
G0Y1 - expected the DRO to say Vel: 72, and it did
G0Z-1 - expected the DRO to say Vel: 72, and it did

I then closed the Axis window and opened Gedit and opened the file jack/linuxcnc/configs/stepper/sim_inch.ini
I changed the axes max vel as follows:

AXIS_0 MAX_VELOCITY from 1.2 to 0.6
AXIS_1 MAX_VELOCITY from 1.2 to 0.4
AXIS_2 MAX_VELOCITY from 1.2 to 1.0

I then saved the file and opened up:
Open Application->CNC->LinuxCNC
Selected My Configuration->sim_inch
Homed the axes, went to MDI and issued the commands

G0X1 - expected the DRO to say Vel: 36, and it did
G0Y1 - expected the DRO to say Vel: 24, and it did
G0Z-1 - expected the DRO to say Vel: 60, and it didn't, It read 36

The above procedure is essentially verbatum of all the steps I took. Did I error somewhere?
This is on a different PC than is running my Bridgeport.
So I don't understand what is going on.
I wish I could duplicate your results.

jensor

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

More
24 Feb 2013 02:48 #30493 by jensor
Replied by jensor on topic G0 velocity limitation
In my previous post I forgot to mention position of my sliders.

The sliders were left in the default positions which were:

Feed override: 100% not quite all the way to the right
Jog speed: 72 ipm slider full to the right
Max Velocity: 36 ipm slider full to the right

jensor

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

More
24 Feb 2013 03:16 #30495 by jensor
Replied by jensor on topic G0 velocity limitation
Ok I tried the sim that you used and got the same result as you.

So what is causing the difference between the 2 sims?

configs/sim/axis/axis.sim vs configs/sims/sim_inch

jensor

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

More
24 Feb 2013 04:47 #30499 by cradek
Replied by cradek on topic G0 velocity limitation

Max Velocity: 36 ipm slider full to the right


OK, here is your problem. You can set the top end of the Max Velocity slider by configuring [TRAJ]MAX_LINEAR_VELOCITY

Sounds like you will want to set it to 1.0 if you want your max vel to be that of Z, or 1.25 if you want the max possible speed for diagonal moves.

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

More
24 Feb 2013 06:07 #30502 by jensor
Replied by jensor on topic G0 velocity limitation
That still isn't the answer. In the file sim_inch.ini

[TRAJ] MAX_VELOCITY = 1.2 DEFAULT_VELOCITY = 1.2

These are the default settings. I tried increasing [TRAJ] MAX_VELOCITY = 2.0

and the Max velocity slider stil was full right at 36.

I then tried changing [AXIS_0] Max_VELOCITY
to 1.0.

I find now the slider is now full right at 60!

jensor

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

More
24 Feb 2013 08:29 #30506 by cradek
Replied by cradek on topic G0 velocity limitation
Please reread what I said; you are confusing two settings.

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

More
24 Feb 2013 18:57 #30520 by Rick G
Replied by Rick G on topic G0 velocity limitation
Take a look at.....

MAX_LINEAR_VELOCITY =

Not just...

MAX_VELOCITY =

Rick G

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

More
24 Feb 2013 21:45 #30525 by jensor
Replied by jensor on topic G0 velocity limitation
Hey - That resolved the issue completely.

I saw that in the default files the [TRAJ] MAX_LINEAR_VELOCITY statement is present in axis.ini while in inch.ini it was omitted. I suppose it was an unintenional oversight that could be corrected in future releases. At the least it could be shown commented out.
or
Is there a universal ini file showing all the options with explanations?

In the Integrator manual under the TRAJ section showing all the options fails to mention this one.

Thanks for all the support.

jensor

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

More
24 Feb 2013 22:00 #30526 by Rick G
Replied by Rick G on topic G0 velocity limitation
Glad you got it sorted out!

Have you looked here?

www.linuxcnc.org/docs/devel/html/config/ini_config.html

Rick G

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

More
25 Feb 2013 01:04 #30527 by jensor
Replied by jensor on topic G0 velocity limitation
Yes I looked there. There is no mention of MAX_LINEAR_VELOCITY.

jensor

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

Time to create page: 0.520 seconds
Powered by Kunena Forum