Re: [Machinekit] testing BBB with Xylotex-DB25 step not changing directions

2018-12-31 Thread Bas de Bruijn



> On 31 Dec 2018, at 17:28, mugginsac  wrote:
> 
> Bas,
> 
> Thanks that was the problem. I deleted the PRU pins from the "loadrt 
> hal_gpio" statement and added a note to the comment.
> 
> # load low-level drivers (must not include pins used by PRU)
> loadrt hal_bb_gpio output_pins=807,813,819,826,914,913,911 
> input_pins=809,810,814,818
> 
> I also cleaned up the configs to use Xylotex.bbio and deleted that section 
> from setup.sh.
> That fixed this problem.
> So now I guess I should push my Xylotex config file changes to my github 
> account and generate a pull request.

That would be great. Shout out if you run into trouble!

Bas

> Thanks again,
> Alan

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


Re: [Machinekit] testing BBB with Xylotex-DB25 step not changing directions

2018-12-31 Thread mugginsac
Bas,

Thanks that was the problem. I deleted the PRU pins from the "loadrt 
hal_gpio" statement and added a note to the comment.

# load low-level drivers (must not include pins used by PRU)
loadrt hal_bb_gpio output_pins=807,813,819,826,914,913,911 
input_pins=809,810,814,818

I also cleaned up the configs to use Xylotex.bbio and deleted that section 
from setup.sh.
That fixed this problem.
So now I guess I should push my Xylotex config file changes to my github 
account and generate a pull request.

Thanks again,
Alan

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.


Re: [Machinekit] testing BBB with Xylotex-DB25 step not changing directions

2018-12-30 Thread Bas de Bruijn


> On 30 Dec 2018, at 05:53, mugginsac  wrote:
> 
> I have a BBB with a Xylotex-DB25 cape and controller box with a single motor 
> hooked up for testing.
> When I press + or - to jog the motor spins the same direction.
> My control box has 3 Superior SS2000MD4 drives in it (old technology). It 
> requires 25000ns for step, step set up or pause.
> Here are links to my Xylotex.ini and Xylotex.hal
> 
> I have Linuxcnc setup on another computer with the same settings as far as I 
> can tell and it reverses correctly.
> So I have the controller working with Linuxcnc but not with Machinekit.
> 
> Can anyone see anything obvious in the .ini or .hal files?

This sounds similar to a question of last week.
https://groups.google.com/forum/m/#!topic/machinekit/2pLBaJv-rw8
Please check if this is the same problem.

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to machinekit+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.