Re: [Emc-users] CoreXY Kins and the BeagleBoneBlack with MachineKit

2014-01-24 Thread Charles Steinkuehler
On 1/23/2014 10:53 PM, Joe Spanier wrote:
 Ok Got that figured out. Turns out my first issue was the
 core_xy_kins.c file was empty, so that wasnt helping anything. But I
 had to drop sudo as well.
 
 I was able to get it compiled and I can start my config with
 core_xy_kins in my HAL. But it doesnt seem to change anything.
 Moving in the x only moves the X motor, same for y.
 
 Is there something I will have to hook together in my net pins? Im
 guessing it would be similar to slaving two axes together like in
 gantrykins?
 
 Again thank you for the help.

When you start LinuxCNC with non-trivial kinematics, you're in joint
mode by default, where you move each joint independently for homing.

Once you've homed all the joints, switch to world mode and X/Y/Z jogs
should work as expected going through the kinematics module.

-- 
Charles Steinkuehler
char...@steinkuehler.net



signature.asc
Description: OpenPGP digital signature
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] CoreXY Kins and the BeagleBoneBlack with MachineKit

2014-01-24 Thread Joe Spanier
I actually did try that, but with no luck. I tried a couple  other kinemtatic 
models. Gantrykins and delta, with similar results. 

The net Pin assignments are all the same as they are in the example K9 PRU 
config. 



On Friday, January 24, 2014 5:02 AM, Charles Steinkuehler 
char...@steinkuehler.net wrote:
 
On 1/23/2014 10:53 PM, Joe Spanier wrote:
 Ok Got that figured out. Turns out my first issue was the
 core_xy_kins.c file was empty, so that wasnt helping anything. But I
 had to drop sudo as well.
 
 I was able to get it compiled and I can start my config with
 core_xy_kins in my HAL. But it doesnt seem to change anything.
 Moving in the x only moves the X motor, same for y.
 
 Is there something I will have to hook together in my net pins? Im
 guessing it would be similar to slaving two axes together like in
 gantrykins?
 
 Again thank you for the help.

When you start LinuxCNC with non-trivial kinematics, you're in joint
mode by default, where you move each joint independently for homing.

Once you've homed all the joints, switch to world mode and X/Y/Z jogs
should work as expected going through the kinematics module.


-- 
Charles Steinkuehler
char...@steinkuehler.net
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] CoreXY Kins and the BeagleBoneBlack with MachineKit

2014-01-24 Thread Charles Steinkuehler
If your motors turn properly, but kinematics isn't doing it's thing, it
sounds like it's time to post your configuration to the list.

What sort of machine is this anyway?  I only briefly reviewed the
foreign language links you provided...partly because I can't read the
text, and partly because I hate forums.  ;-)

On 1/24/2014 10:28 AM, Joe Spanier wrote:
 I actually did try that, but with no luck. I tried a couple  other kinemtatic 
 models. Gantrykins and delta, with similar results. 
 
 The net Pin assignments are all the same as they are in the example K9 PRU 
 config. 
 
 
 
 On Friday, January 24, 2014 5:02 AM, Charles Steinkuehler 
 char...@steinkuehler.net wrote:
  
 On 1/23/2014 10:53 PM, Joe Spanier wrote:
 Ok Got that figured out. Turns out my first issue was the
 core_xy_kins.c file was empty, so that wasnt helping anything. But I
 had to drop sudo as well.

 I was able to get it compiled and I can start my config with
 core_xy_kins in my HAL. But it doesnt seem to change anything.
 Moving in the x only moves the X motor, same for y.

 Is there something I will have to hook together in my net pins? Im
 guessing it would be similar to slaving two axes together like in
 gantrykins?

 Again thank you for the help.
 
 When you start LinuxCNC with non-trivial kinematics, you're in joint
 mode by default, where you move each joint independently for homing.
 
 Once you've homed all the joints, switch to world mode and X/Y/Z jogs
 should work as expected going through the kinematics module.
 
 


-- 
Charles Steinkuehler
char...@steinkuehler.net



signature.asc
Description: OpenPGP digital signature
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] CoreXY Kins and the BeagleBoneBlack with MachineKit

2014-01-24 Thread Joe Spanier
Here is my config. At this point its still the same config that Probotix 
supplys with the exception of changing to from trivkins to core_xy_kins.  

A CoreXY or Hbot machine works on the same principle, driving the X and Y axis 
from the same belt that is routed along the lengths of the axes. Its all 
explained here, http://corexy.com/theory.html. In this setup to move in say X 
both Motors will have to move together, in the same direction. If you are 
driving to a 45deg angle, one motor moves. So somehow I have to connect the xy 
motors to deal with this. I imagine it would work similarly to how a delta bot 
is configured. 

I just attached the config. If I need to post it in plain text just let me 
know. 



On Friday, January 24, 2014 10:05 AM, Charles Steinkuehler 
char...@steinkuehler.net wrote:
 
If your motors turn properly, but kinematics isn't doing it's thing, it
sounds like it's time to post your configuration to the list.

What sort of machine is this anyway?  I only briefly reviewed the
foreign language links you provided...partly because I can't read the
text, and partly because I hate forums.  ;-)


On 1/24/2014 10:28 AM, Joe Spanier wrote:
 I actually did try that, but with no luck. I tried a couple  other kinemtatic 
 models. Gantrykins and delta, with similar results. 
 
 The net Pin assignments are all the same as they are in the example K9 PRU 
 config. 
 
 
 
 On Friday, January 24, 2014 5:02 AM, Charles Steinkuehler 
 char...@steinkuehler.net wrote:
  
 On 1/23/2014 10:53 PM, Joe Spanier wrote:
 Ok Got that figured out. Turns out my first issue was the
 core_xy_kins.c file was empty, so that wasnt helping anything. But I
 had to drop sudo as well.

 I was able to get it compiled and I can start my config with
 core_xy_kins in my HAL. But it doesnt seem to change anything.
 Moving in the x only moves the X motor, same for y.

 Is there something I will have to hook together in my net pins? Im
 guessing it would be similar to slaving two axes together like in
 gantrykins?

 Again thank you for the help.
 
 When you start LinuxCNC with non-trivial kinematics, you're in joint
 mode by default, where you move each joint independently for homing.
 
 Once you've homed all the joints, switch to world mode and X/Y/Z jogs
 should work as expected going through the kinematics module.
 
 


-- 
Charles Steinkuehler
char...@steinkuehler.net

PBX-BB.tar.gz
Description: GNU Zip compressed data
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] CoreXY Kins and the BeagleBoneBlack with MachineKit

2014-01-24 Thread Charles Steinkuehler
Thanks, that's pretty much what I thought the machine was like, but I
wasn't sure.

Can you also provide the actual kinematics file you're using?  I'll
compile it and see if I can and get it to work or fail with the same
issues you're seeing.

On 1/24/2014 2:09 PM, Joe Spanier wrote:
 Here is my config. At this point its still the same config that Probotix 
 supplys with the exception of changing to from trivkins to core_xy_kins.  
 
 A CoreXY or Hbot machine works on the same principle, driving the X and Y 
 axis from the same belt that is routed along the lengths of the axes. Its all 
 explained here, http://corexy.com/theory.html. In this setup to move in say X 
 both Motors will have to move together, in the same direction. If you are 
 driving to a 45deg angle, one motor moves. So somehow I have to connect the 
 xy motors to deal with this. I imagine it would work similarly to how a 
 delta bot is configured. 
 
 I just attached the config. If I need to post it in plain text just let me 
 know. 
 
 
 
 On Friday, January 24, 2014 10:05 AM, Charles Steinkuehler 
 char...@steinkuehler.net wrote:
  
 If your motors turn properly, but kinematics isn't doing it's thing, it
 sounds like it's time to post your configuration to the list.
 
 What sort of machine is this anyway?  I only briefly reviewed the
 foreign language links you provided...partly because I can't read the
 text, and partly because I hate forums.  ;-)
 
 
 On 1/24/2014 10:28 AM, Joe Spanier wrote:
 I actually did try that, but with no luck. I tried a couple  other 
 kinemtatic models. Gantrykins and delta, with similar results. 

 The net Pin assignments are all the same as they are in the example K9 PRU 
 config. 



 On Friday, January 24, 2014 5:02 AM, Charles Steinkuehler 
 char...@steinkuehler.net wrote:
   
 On 1/23/2014 10:53 PM, Joe Spanier wrote:
 Ok Got that figured out. Turns out my first issue was the
 core_xy_kins.c file was empty, so that wasnt helping anything. But I
 had to drop sudo as well.

 I was able to get it compiled and I can start my config with
 core_xy_kins in my HAL. But it doesnt seem to change anything.
 Moving in the x only moves the X motor, same for y.

 Is there something I will have to hook together in my net pins? Im
 guessing it would be similar to slaving two axes together like in
 gantrykins?

 Again thank you for the help.

 When you start LinuxCNC with non-trivial kinematics, you're in joint
 mode by default, where you move each joint independently for homing.

 Once you've homed all the joints, switch to world mode and X/Y/Z jogs
 should work as expected going through the kinematics module.


 
 


-- 
Charles Steinkuehler
char...@steinkuehler.net



signature.asc
Description: OpenPGP digital signature
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] CoreXY Kins and the BeagleBoneBlack with MachineKit

2014-01-24 Thread Joe Spanier
Here is the kinematics file as well. 

Thanks again for all the help!



On Friday, January 24, 2014 2:09 PM, Joe Spanier bmxsk8e...@yahoo.com wrote:
 
Here is my config. At this point its still the same config that Probotix 
supplys with the exception of changing to from trivkins to core_xy_kins.  

A CoreXY or Hbot machine works on the same principle, driving the X and Y axis 
from the same belt that is routed along the lengths of the axes. Its all 
explained here, http://corexy.com/theory.html. In this setup to move in say X 
both Motors will have to move together, in the same direction. If you are 
driving to a 45deg angle, one motor moves. So somehow I have to connect the xy 
motors to deal with this. I imagine it would work similarly to how a delta bot 
is configured. 

I just attached the config. If I need to post it in plain text just let me 
know. 



On Friday, January 24, 2014 10:05 AM, Charles Steinkuehler 
char...@steinkuehler.net wrote:
 
If your motors turn properly, but kinematics isn't doing it's thing, it
sounds like it's time to post your configuration to the list.

What sort of machine is this anyway?  I only briefly reviewed the
foreign language links you provided...partly because I can't read the
text, and partly because I hate forums.  ;-)


On 1/24/2014 10:28 AM, Joe Spanier wrote:
 I actually did try that, but with no luck. I tried a couple  other kinemtatic 
 models. Gantrykins and delta, with similar results. 
 
 The net Pin assignments are all the same as they are in the example K9 PRU 
 config. 
 
 
 
 On Friday, January 24, 2014 5:02 AM, Charles Steinkuehler 
 char...@steinkuehler.net wrote:
  
 On 1/23/2014 10:53 PM, Joe Spanier wrote:
 Ok Got that figured out. Turns out my first issue was the
 core_xy_kins.c file was empty, so that wasnt helping anything. But I
 had to drop sudo as well.

 I was able to get it compiled and I can start my config with
 core_xy_kins in my HAL. But it doesnt seem to change anything.
 Moving in the x only moves the X motor, same for y.

 Is there something I will have to hook together in my net pins? Im
 guessing it would be similar to slaving two axes together like in
 gantrykins?

 Again thank you for the help.
 
 When you start LinuxCNC with non-trivial kinematics, you're in joint
 mode by default, where you move each joint independently for homing.
 
 Once you've homed all the joints, switch to world mode and X/Y/Z jogs
 should work as expected going
 through the kinematics module.
 
 


-- 
Charles Steinkuehler
char...@steinkuehler.net

core_xy_kins.c
Description: Binary data
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] CoreXY Kins and the BeagleBoneBlack with MachineKit

2014-01-24 Thread Joe Spanier
So Im not sure what button I pushed or what random way the wind blew, But it 
works now. And Im stoked. Thanks for all your patients. More questions will 
come Im sure. 



On Friday, January 24, 2014 6:37 PM, Charles Steinkuehler 
char...@steinkuehler.net wrote:
 
Thanks, that's pretty much what I thought the machine was like, but I
wasn't sure.

Can you also provide the actual kinematics file you're using?  I'll
compile it and see if I can and get it to work or fail with the same
issues you're seeing.


On 1/24/2014 2:09 PM, Joe Spanier wrote:
 Here is my config. At this point its still the same config that Probotix 
 supplys with the exception of changing to from trivkins to core_xy_kins.  
 
 A CoreXY or Hbot machine works on the same principle, driving the X and Y 
 axis from the same belt that is routed along the lengths of the axes. Its all 
 explained here, http://corexy.com/theory.html. In this setup to move in say X 
 both Motors will have to move together, in the same direction. If you are 
 driving to a 45deg angle, one motor moves. So somehow I have to connect the 
 xy motors to deal with this. I imagine it would work similarly to how a 
 delta bot is configured. 
 
 I just attached the config. If I need to post it in plain text just let me 
 know. 
 
 
 
 On Friday, January 24, 2014 10:05 AM, Charles Steinkuehler 
 char...@steinkuehler.net wrote:
  
 If your motors turn properly, but kinematics isn't doing it's thing, it
 sounds like it's time to post your configuration to the list.
 
 What sort of machine is this anyway?  I only briefly reviewed the
 foreign language links you provided...partly because I can't read the
 text, and partly because I hate forums.  ;-)
 
 
 On 1/24/2014 10:28 AM, Joe Spanier wrote:
 I actually did try that, but with no luck. I tried a couple  other 
 kinemtatic models. Gantrykins and delta, with similar results. 

 The net Pin assignments are all the same as they are in the example K9 PRU 
 config. 



 On Friday, January 24, 2014 5:02 AM, Charles Steinkuehler 
 char...@steinkuehler.net wrote:
  
 On 1/23/2014 10:53 PM, Joe Spanier wrote:
 Ok Got that figured out. Turns out my first issue was the
 core_xy_kins.c file was empty, so that wasnt helping anything. But I
 had to drop sudo as well.

 I was able to get it compiled and I can start my config with
 core_xy_kins in my HAL. But it doesnt seem to change anything.
 Moving in the x only moves the X motor, same for y.

 Is there something I will have to hook together in my net pins? Im
 guessing it would be similar to slaving two axes together like in
 gantrykins?

 Again thank you for the help.

 When you start LinuxCNC with non-trivial kinematics, you're in joint
 mode by default, where you move each joint independently for homing.

 Once you've homed all the joints, switch to world mode and X/Y/Z jogs
 should work as expected going through the kinematics module.


 
 


-- 
Charles Steinkuehler
char...@steinkuehler.net
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] CoreXY Kins and the BeagleBoneBlack with MachineKit

2014-01-23 Thread Joe Spanier


Hey Guys, 
Im working on building a 3D printer using a CoreXY kinematic setup and was 
wanting to use the BeagleBoneBlack and the PBX-BB Cape to control it and using 
the latest version of MachineKit that was released at the end of Dec. In my 
Google searching I've found support is slim, and most of the posts point me 
back to this 
http://www.linuxcnc.org/index.php/english/forum/38-general-linuxcnc-questions/26302-cnc-avec-systeme-h-bot-ou-corexy
 discussion on the community forum. 

When I try to follow Andy's instructions inputting the instructions to activate 
it I get the following:
sudo comp --install core_xy_kins.c - sudo comp command not found
sudo apt-get install linuxcnc-dev - linuxcnc-dev not found

(I also found that google translate ruins code haha)

So where I'm at now, is I cant seem to install linuxcnc-dev, and there is 
nothing in my sources for linuxcnc. I dont want to add anything and break 
MachineKit either. I haven't dove in super deep into how its built so Im not 
sure what all I can mess with.-- 
Thanks,
Joe Spanier



           No Trees were harmed in the sending of this email, but a great 
number or electrons were terribly inconvenienced 
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] CoreXY Kins and the BeagleBoneBlack with MachineKit

2014-01-23 Thread Charles Steinkuehler
On 1/23/2014 12:59 PM, Joe Spanier wrote:
 
 
 Hey Guys, Im working on building a 3D printer using a CoreXY
 kinematic setup and was wanting to use the BeagleBoneBlack and the
 PBX-BB Cape to control it and using the latest version of MachineKit
 that was released at the end of Dec. In my Google searching I've
 found support is slim, and most of the posts point me back to this
 http://www.linuxcnc.org/index.php/english/forum/38-general-linuxcnc-questions/26302-cnc-avec-systeme-h-bot-ou-corexy
 discussion on the community forum.
 
 When I try to follow Andy's instructions inputting the instructions
 to activate it I get the following: sudo comp --install
 core_xy_kins.c - sudo comp command not found sudo apt-get install
 linuxcnc-dev - linuxcnc-dev not found
 
 (I also found that google translate ruins code haha)
 
 So where I'm at now, is I cant seem to install linuxcnc-dev, and
 there is nothing in my sources for linuxcnc. I dont want to add
 anything and break MachineKit either. I haven't dove in super deep
 into how its built so Im not sure what all I can mess with.--

There's no need to install linuxcnc-dev.  The version of linuxcnc
already on the MachineKit image is a full development version setup to
run in place (RIP).  You should be be able to simply download the new
kinematics C file and build it.  I don't think you need to use sudo,
since the Xenomai build of LinuxCNC uses user-mode real-time threads.

Just drop to a command line and run the comp command.

If that doesn't get you un-stuck, post again and I'll see if I can't
reproduce your error(s) and come up with a fix.

-- 
Charles Steinkuehler
char...@steinkuehler.net



signature.asc
Description: OpenPGP digital signature
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] CoreXY Kins and the BeagleBoneBlack with MachineKit

2014-01-23 Thread Joe Spanier
Ok Got that figured out. Turns out my first issue was the core_xy_kins.c file 
was empty, so that wasnt helping anything. But I had to drop sudo as well. 

I was able to get it compiled and I can start my config with core_xy_kins in my 
HAL. But it doesnt seem to change anything.  Moving in the x only moves the X 
motor, same for y. 

Is there something I will have to hook together in my net pins? Im guessing it 
would be similar to slaving two axes together like in gantrykins?

Again thank you for the help. 

Joe



On Thursday, January 23, 2014 5:56 PM, Charles Steinkuehler 
char...@steinkuehler.net wrote:
 
On 1/23/2014 12:59 PM, Joe Spanier wrote:

 
 
 Hey Guys, Im working on building a 3D printer using a CoreXY
 kinematic setup and was wanting to use the BeagleBoneBlack and the
 PBX-BB Cape to control it and using the latest version of MachineKit
 that was released at the end of Dec. In my Google searching I've
 found support is slim, and most of the posts point me back to this
 http://www.linuxcnc.org/index.php/english/forum/38-general-linuxcnc-questions/26302-cnc-avec-systeme-h-bot-ou-corexy
 discussion on the community forum.
 
 When I try to follow Andy's instructions inputting the instructions
 to activate it I get the following: sudo comp --install
 core_xy_kins.c - sudo comp command not found sudo apt-get install
 linuxcnc-dev - linuxcnc-dev not found
 
 (I also found that google translate ruins code haha)
 
 So where I'm at now, is I cant seem to install linuxcnc-dev, and
 there is nothing in my sources for linuxcnc. I dont want to add
 anything and break MachineKit either. I haven't dove in super deep
 into how its built so Im not sure what all I can mess with.--

There's no need to install linuxcnc-dev.  The version of linuxcnc
already on the MachineKit image is a full development version setup to
run in place (RIP).  You should be be able to simply download the new
kinematics C file and build it.  I don't think you need to use sudo,
since the Xenomai build of LinuxCNC uses user-mode real-time threads.

Just drop to a command line and run the comp command.

If that doesn't get you un-stuck, post again and I'll see if I can't
reproduce your error(s) and come up with a fix.

-- 
Charles Steinkuehler
char...@steinkuehler.net
--
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments  Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users