Linuxcnc motion backwards (adaptive-feed negative value) and nothing happens

More
8 years 9 months ago #104497 by rodw
Its good that you are making such great progress.
I'm curious what you are using the A & B axes for. rotary axis or torch angle or something else?

I noticed earlier in this thread that you are using version 2.7. For a gantry machine, Master branch (v 2.8) is a much better choice as it handles the joint axis homing so much better. Some of my comments assumed V 2.8 but that might make the negative adaptive feed hard to implement. I wonder if you could somehow trick the system so that commanded velocity was a lower level than what it should be (eg at 0.5 the speed) so you can change settings up or down with just the positive adaptive feed?

And yes, Norberts code is very well written. I've dug into it to fix some bugs and to extend the screen handling.
The following user(s) said Thank You: Grotius

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

More
8 years 9 months ago - 8 years 9 months ago #104504 by Grotius
Hi Rodw,

I implemented the adaptive-feed option in Gmocappy. It's not working negative on the version 1:2.8.0 pre. Pcw know's this also i think. The function is working only on value's 0.0 to 1 for full adaptive speed combined with the Macro code M52 P1. The only float in command left is analog in. But this is unusable for negative feed. Also a negative g-code value gives error on the g-code intepreter.
I have not looked in the intepreter source code. Maybe here is possibility.

Tricking the system is not possible also if you use a negative feedrate.

The most quick way is to change a few lines of code in the command.c file and a few other files. The log's for how to do this lives on github. It's not very difficult. Just copy past... en delete some lines of code.

But i can not find this "command.c" file on my system. I only see this file in the github download's. But on my system i don't know where it's located. Also i have no file search function in Thunar. Maybe someone know's how to.... Maybe the file is gone after compiling linux on your system?

The A and B axis are for machine's that need this axis. For example my tube cutter go's up to 5 axis. Also i have gantry machines
with double head's or side tube cutters.

image missing http://www.grotius-cnc-machines.nl/wp-content/uploads/2017/10/Grotius-CNC-Tube-Cutter.gif

For me is learning linux cnc a investment in the future of my company. It takes a time. But in the end you have almost
unlimited possibilities.

Here is a waterjet with 5 axis. ( 1 stepper for grid supply to the waterjet nozzle. ) Also a ceramic beared milling unit.
This is an old type of machine for me. The newest types are very cool and more hufter proof guide way protection.

image missing http://www.grotius-cnc-machines.nl/wp-content/uploads/2017/10/Grotius-CNC-Waterjet-Accustream-Hyprecision.gif

This is a new type of machine, with integral guiding and drive system. Also 4 axis. Working area : 3000x6300x180mm

image missing http://www.grotius-cnc-machines.nl/wp-content/uploads/2017/10/Grotius-CNC-Autogeen-1.gif

Maybe i must contact Norbert. He can do a great job for me.
Last edit: 8 years 9 months ago by Grotius.

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

More
8 years 9 months ago - 8 years 9 months ago #104505 by Grotius

Grotius wrote: Hi Rodw,

I implemented the adaptive-feed option in Gmocappy. It's not working negative on the version 1:2.8.0 pre. Pcw know's this also i think. The function is working only on value's 0.0 to 1 for full adaptive speed combined with the Macro code M52 P1. The only float in command left is analog in. But this is unusable for negative feed. Also a negative g-code value gives error on the g-code intepreter.
I have not looked in the intepreter source code. Maybe here is possibility.

Tricking the system is not possible also if you use a negative feedrate.

The most quick way is to change a few lines of code in the command.c file and a few other files. The log's for how to do this lives on github. It's not very difficult. Just copy past... en delete some lines of code.

But i can not find this "command.c" file on my system. I only see this file in the github download's. But on my system i don't know where it's located. Also i have no file search function in Thunar. Maybe someone know's how to.... Maybe the file is gone after compiling linux on your system?

The A and B axis are for machine's that need this axis. For example my tube cutter go's up to 5 axis. Also i have gantry machines
with double head's or side tube cutters.

image missing http://www.grotius-cnc-machines.nl/wp-content/uploads/2017/10/Grotius-CNC-Tube-Cutter.gif

For me is learning linux cnc a investment in the future of my company. It takes a time. But in the end you have almost
unlimited possibilities.

Here is a waterjet with 5 axis. ( 1 stepper for grid supply to the waterjet nozzle. ) Also a ceramic beared milling unit.
This is an old type of machine for me. The newest types are very cool and more hufter proof guide way protection.

image missing http://www.grotius-cnc-machines.nl/wp-content/uploads/2017/10/Grotius-CNC-Waterjet-Accustream-Hyprecision.gif

This is a new type of machine, with integral guiding and drive system. Also 4 axis. Working area : 3000x6300x180mm

image missing http://www.grotius-cnc-machines.nl/wp-content/uploads/2017/10/Grotius-CNC-Autogeen-1.gif

Maybe i must contact Norbert. He can do a great job for me.

Last edit: 8 years 9 months ago by Grotius.

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

More
8 years 9 months ago #104507 by PCW
Reverse feed rate override is only implemented non-merged branch so currently you must fetch the reverse
feed branch you need (with git) and build it from source.

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

More
8 years 9 months ago - 8 years 9 months ago #104511 by Grotius
@PCW,

Thank you.

I downloaded with git, yesterday the Linux version i needed for "negative motion adaptive" on a pre installed linuxcnc pc.

The installation process was giving errors at the state off : ./configure.

This errors are more seen by people, if you google on this error code. ( missing tlc source path.... )

What do you advise me? If i have a new pc here tomorrow, how can i install this version without errors?
When you know how to do it, it's alway's simple, i know.
I need some help to keep installing simple. When the install is done, i can clone the hard disk's with a device no problem, that spares time in the future.

Is it possible to sent a pc to your home adres. Maybe you can fix it for me?
Or you buy a pc and sent it to me, that is maybe better. I live in Holland.
Last edit: 8 years 9 months ago by Grotius.

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

More
8 years 9 months ago #104517 by rodw
I don't know anything about the branches you want to use, but the author has pushed his branches over to the LInuxCNC git repository where you can select them from the drop down where it says "Branch:master".
github.com/LinuxCNC/linuxcnc
Look for the branches that PCW listed.
That means you can select this branch and do a git checkout of the code without resorting to working with a git repository outside of the linuxcnc ecosystem.

That also makes it possible to do a git merge to merge or rebase the changes in the branch with the current master code base. Of course this could break the code base as its been a while since the branch was written. Your goal should be to merge this branch with the current master branch so you are using the superior joint axis homing and gantry alignment that exists with master but was written after the negative adaptive feed was written.. If you worked completely within the git environment, then you could ask the developers to merge your code into master branch so it is maintained in future releases.

I don't know enough about git to advise you further but I have merged branches so its not that hard.

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

Time to create page: 1.439 seconds
Powered by Kunena Forum