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

More
13 Jan 2018 19:41 - 13 Jan 2018 19:44 #104394 by Grotius
Hi,

I have made a extra screen button for getting the g-code program a little bit back when there was a problem with cutting.

So i have added a pin in the postgui file :
net systemlink3 thc.feed motion.adaptive-feed

In the g-code is added : M52 P1, this works good. I also tested M52 P0. then the function does not work.

In the program everything works fine, the value is normally at 1, it's okey, if the value is 0.5 with the buttonclick it's working okey on half speed. So the funtion is working good.

But when i do value -0.1 or -0.5, the machine stops and do not want to go backward. I also have tried to use a negative program speed. But nothing happens.

What can this be???
Last edit: 13 Jan 2018 19:44 by Grotius.

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

More
13 Jan 2018 19:51 #104395 by PCW
Sorry for the possibly insulting question, but are you running one of:

origin/feature/reverse-run-2.7
origin/feature/reverse-run-master2

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

More
13 Jan 2018 19:56 - 13 Jan 2018 19:57 #104396 by Grotius
Hi PCW,

No not one of those... never seen those 2 item's before.


What i did for testing in a stand alone application is only :
def on_adaptivefeed_on_pressed(self, widget, data=None): 
        self.h['feed'] = 1  #adaptive feed 
def on_adaptivefeed_off_pressed(self, widget, data=None): 
        self.h['feed'] = -0.1  #adaptive feed

And made the connection in the postgui.hal.
Last edit: 13 Jan 2018 19:57 by Grotius.

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

More
13 Jan 2018 20:14 #104397 by PCW
AFAIK reverse feed is only supported in the branches I listed above

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

More
13 Jan 2018 21:26 #104400 by Grotius
@PCW,

Thank you for this info.

Why is the negative reverse run not included in a update package? I looked, but there are no update's for this.

I found a link to download the reverse run linuxcnc version. My current version is 2.7.11 :
github.com/robEllenberg/linuxcnc-mirror/...verse-run-2.7-rebase

What i did before is installed linuxcnc from the live cd. This works good. But i have no experience how to do this without cd.

Is it possible to burn the reverse run linux version (iso format) on a install cd?

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

More
14 Jan 2018 01:36 #104405 by Grotius
Hi,

Now i have a git clone of the reverse motion linux version. This is succesfully done.
git clone https://github.com/robEllenberg/linuxcnc-mirror.git
It's now placed in a directory called Linuxcnc-mirror. So far so good.
Now i read and try out the instructions, that are included.
Quickstart:
-----------
From the top level directory, switch to the source directory:
  cd src
In the source directory, build LinuxCNC:
  ./configure
  [or, if you do not have a realtime kernel:]
  ./configure --enable-simulator
  make clean
  make
  sudo make setuid
to run the software go back to the top level directory, and issue:
  . scripts/rip-environment
  linuxcnc

When do i know i am in the source directory?
If i do : grotius@debian:~$ cd src
or : grotius@debian: ./configure

Nothing happens. Maybe someone knows how to do this?

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

More
14 Jan 2018 17:40 #104443 by PCW
linuxcnc.org/docs/devel/html/code/building-linuxcnc.html

I looks like you skipped the part where you specify the git directory and the ./autogen part

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

More
14 Jan 2018 18:56 #104449 by Grotius
@PCW,

I was able to come as far as the " ./configure " as in the manual is exlpained.
Then i got a error, " could not find tlc path etc. " . So that is a problem that is not so easy to solve.
Then i installed a clean version of linux with the cd. And did the "./ configure" agian. Same problem.

After that i did the package manager in Linuxcnc. I downloaded the latest release i think it is.
1.2.8.0 pre1. 3520.

Wow. i did not expect there was so much changed to the python code of linuxcnc.
What i see is that Gmocappy has done nice work. I had this running in 5 minutes with the step config wizard.

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

More
14 Jan 2018 19:07 #104451 by PCW

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

More
14 Jan 2018 22:07 - 14 Jan 2018 22:11 #104474 by Grotius
@Pcw,

No, not that way. I have no experience with that way off installation. For me it's all new, so it's sometimes very difficult to
understand how things are working with Linux.

I did a clean cd installation, after that i deleted only the linuxcnc installation with the package manager. I think 2 or 3 package deleted.
And after that i installed then a newer version, see picture.
Also important to have a fresh install when you are mostly of time digging in the root section to see how things are working.
But things go pretty good at this moment. I learned a lot in the past weeks.

I think i see a few little bug's in gmocappy. The "all home" button does not work.
Also i see when you do a mdi command, you can only stop the machine with emergency button, this is not the way to manage
a mdi command i think, I preffer to have a pause and stop button when you are in mdi mode.

But the Gmocappy has a powerfull python code. It is really made by Linux experts.
Attachments:
Last edit: 14 Jan 2018 22:11 by Grotius.

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

Time to create page: 0.108 seconds
Powered by Kunena Forum