want 9 axes; STEPGEN outputs only 8 channels?

More
08 Jul 2013 20:16 #36398 by niftyEnt
I'm trying to configure HAL as 9 axis, but STEPGEN only outputs 8 channels.

Where do I get the 9th channel from?

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

More
08 Jul 2013 21:28 #36400 by BigJohnT
Download the source and change the MAX_CHAN 8 to 9 in stepgen.c then rebuild and run as a RIP.

JT

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

More
08 Jul 2013 22:18 #36402 by niftyEnt
Thanks, JT.

working on it ...

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

More
08 Jul 2013 23:20 #36410 by BigJohnT
There was a suggestion on the IRC to up it to 16 channels like the pid component.

JT

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

More
10 Jul 2013 22:36 #36514 by niftyEnt
JT,

I have begun the process of understanding git and cloning a repo for my modification. Lotsa reading...

please clarify : " run as a RIP"

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

More
10 Jul 2013 22:40 - 11 Jul 2013 00:34 #36516 by niftyEnt
Also...

If I set STEPGEN to 16 channels, what GUI offers control of the additional channels?

I am currently using vanilla AXIS as my GUI, and 9 channels is all I need at the moment, but who knows what the future holds...?

No GUI will have more than 9 axes, however the stepgens can be used by other things like tool changers etc.

JT
Last edit: 11 Jul 2013 00:34 by BigJohnT.

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

More
11 Jul 2013 00:26 - 11 Jul 2013 00:31 #36523 by BigJohnT

JT,

I have begun the process of understanding git and cloning a repo for my modification. Lotsa reading...

please clarify : " run as a RIP"


RIP = Run In Place. When you download the git repository and build it in a directory off of your home directory then you Run In Place vs running the installed version. I've just finished upping the stepgen to 16 in master and will commit it. So if you use master it will be there.

So in a terminal do each line one at a time
sudo apt-get install git-core gitk git-gui
git clone git://git.linuxcnc.org/git/linuxcnc.git linuxcnc-dev
cd linuxcnc-dev/src
./autogen.sh
./configure
make
sudo make setuid
cd ..
. ./scripts/rip-envirnment
linuxcnc

Now your running master.

JT
Last edit: 11 Jul 2013 00:31 by BigJohnT.

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

More
11 Jul 2013 01:13 - 11 Jul 2013 01:43 #36526 by niftyEnt
Okay JT,

Going thru the steps described above I got:

configure: error: libmodbus3 not found!
install with "sudo apt-get install libmodbus-dev" or disable with
"configure --without-libmodbus"

so I ran:

tom@shop:~/linuxcnc-dev/src$ sudo apt-get install libmodbus-dev

then

tom@shop:~/linuxcnc-dev/src$ ./configure

again. This resulted in:

checking whether the Boost::Python headers are available... no
configure: error: boost::python is required to build LinuxCNC

so I guess I need Boost::Python.

Attached is the entire session in my terminal window.





Suggestions?
Last edit: 11 Jul 2013 01:43 by niftyEnt. Reason: guess I need to click the

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

More
11 Jul 2013 01:39 #36528 by cncbasher
run in terminal

sudo apt-get install -y libboost-python-dev

their may be other dependencies needed as you go , see if this is the only on , if there is a few I have a script that may help

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

More
11 Jul 2013 03:36 #36530 by niftyEnt
thanx Basher,

That did the trick.

I can launch linuxCNC from Terminal with:

tom@shop:~/linuxcnc-dev$ linuxcnc

but the configurations offered are from the stock version at:

tom@shop:~/linuxcnc$

Any idea how I point the config screen to the config folder at tom@shop:~/linuxcnc-dev?

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

Time to create page: 0.095 seconds
Powered by Kunena Forum