want 9 axes; STEPGEN outputs only 8 channels?
- niftyEnt
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
08 Jul 2013 20:16 #36398
by niftyEnt
want 9 axes; STEPGEN outputs only 8 channels? was created 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?
Where do I get the 9th channel from?
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7106
- Thank you received: 1177
08 Jul 2013 21:28 #36400
by BigJohnT
Replied by BigJohnT on topic want 9 axes; STEPGEN outputs only 8 channels?
Download the source and change the MAX_CHAN 8 to 9 in stepgen.c then rebuild and run as a RIP.
JT
JT
Please Log in or Create an account to join the conversation.
- niftyEnt
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
08 Jul 2013 22:18 #36402
by niftyEnt
Replied by niftyEnt on topic want 9 axes; STEPGEN outputs only 8 channels?
Thanks, JT.
working on it ...
working on it ...
Please Log in or Create an account to join the conversation.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7106
- Thank you received: 1177
08 Jul 2013 23:20 #36410
by BigJohnT
Replied by BigJohnT on topic want 9 axes; STEPGEN outputs only 8 channels?
There was a suggestion on the IRC to up it to 16 channels like the pid component.
JT
JT
Please Log in or Create an account to join the conversation.
- niftyEnt
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
10 Jul 2013 22:36 #36514
by niftyEnt
Replied by niftyEnt on topic want 9 axes; STEPGEN outputs only 8 channels?
JT,
I have begun the process of understanding git and cloning a repo for my modification. Lotsa reading...
please clarify : " run as a RIP"
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.
- niftyEnt
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
10 Jul 2013 22:40 - 11 Jul 2013 00:34 #36516
by niftyEnt
Replied by niftyEnt on topic want 9 axes; STEPGEN outputs only 8 channels?
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
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.
- BigJohnT
- Offline
- Administrator
Less
More
- Posts: 7106
- Thank you received: 1177
11 Jul 2013 00:26 - 11 Jul 2013 00:31 #36523
by BigJohnT
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
Now your running master.
JT
Replied by BigJohnT on topic want 9 axes; STEPGEN outputs only 8 channels?
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.
- niftyEnt
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
11 Jul 2013 01:13 - 11 Jul 2013 01:43 #36526
by niftyEnt
Replied by niftyEnt on topic want 9 axes; STEPGEN outputs only 8 channels?
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?
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.
- cncbasher
- Offline
- Moderator
Less
More
- Posts: 1766
- Thank you received: 292
11 Jul 2013 01:39 #36528
by cncbasher
Replied by cncbasher on topic want 9 axes; STEPGEN outputs only 8 channels?
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
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.
- niftyEnt
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
11 Jul 2013 03:36 #36530
by niftyEnt
Replied by niftyEnt on topic want 9 axes; STEPGEN outputs only 8 channels?
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?
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.106 seconds