Re: [Machinekit] MachineKit HAL API

2018-04-18 Thread Bas de Bruijn


> On 19 Apr 2018, at 05:03, Michael Labuda  wrote:
> 
> Reading over various posts I have come across mentions of an API centered 
> around ZeroMQ and talk of using machinekit as a "headless" service without a 
> gui. I cannot however find any documentation regarding either this or the 
> api. I also notice that practically all of these posts are over two years 
> old. Have these ideas been implemented or simply abandoned? Is there any 
> central documentation, examples or even a tutorial for using these api's? I 
> would appreciate someone pointing me in the right directon.

Hi Michael,

What you're talking about is called "Machinetalk". The code resides here (the 
API is not much documented.
https://github.com/machinekit/machinekit/tree/master/src/machinetalk

Here's a pretty long video
https://youtu.be/ZehZ5bq4eu0

Alexander has a few blog posts:
First in a series of 5:
https://machinekoder.com/machinetalk-explained-part-1-introduction/

You also want to have a look at QtQuickVCP
https://github.com/machinekit/QtQuickVcp

Hope this gives you enough info for further questions!

Bas

> 
> Thanks,
> Michael
> 
> -- 
> 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.

-- 
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.


[Machinekit] MachineKit HAL API

2018-04-18 Thread Michael Labuda
Reading over various posts I have come across mentions of an API centered 
around ZeroMQ and talk of using machinekit as a "headless" service without a 
gui. I cannot however find any documentation regarding either this or the api. 
I also notice that practically all of these posts are over two years old. Have 
these ideas been implemented or simply abandoned? Is there any central 
documentation, examples or even a tutorial for using these api's? I would 
appreciate someone pointing me in the right directon.

Thanks,
Michael

-- 
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.


[Machinekit] Re: Xylotex BBB-DB25/26 and Limit verses Home switches.

2018-04-18 Thread John Dammeyer

>
> Answering one of own questions I think...
>
>From the Wiki for standard parallel port modified for the BBB and Xylotex 
BBB-DB25/26:
 

> # connect DB25-11 to X home and min limit
> net home-x bb_gpio.p8.in-10 => axis.0.home-sw-in axis.0.neg-lim-sw-in 
>
# connect DB25-12 to Y home and min limit
> net home-y bb_gpio.p8.in-14 => axis.1.home-sw-in axis.1.neg-lim-sw-in
>
> # connect DB25-13 to Z home and min limit
> net home-z bb_gpio.p8.in-18 => axis.2.home-sw-in axis.2.neg-lim-sw-in
>
> # connect DB25-15 to all three max limits
> net XYZ-max-lim bb_gpio.p9.in-41 => axis.0.pos-lim-sw-in 
> axis.1.pos-lim-sw-in axis.2.pos-lim-sw-in
>
>  
>

Theoretically the above should work.  More when I try it

-- 
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.


[Machinekit] Xylotex BBB-DB25/26 and Limit verses Home switches.

2018-04-18 Thread John Dammeyer
With respect to limit switches the README for the BBB-DB-25/26 states:






*"This configuration drives a standard 4-axis system using the PRU forhigh 
speed step/dir pulse generation and a Xylotex BBB interface board.  
Theinterface board sets up the STEP/DIR/Limit as:XS-2, XD-3, XL-11, 
YS-4,YD-5, YL-12, ZS-6, ZD-7, ZL-13, AS-8, AD-9, AL-15The STOP Input is Pin 
10 and the Enable Input is Pin 1"*

*But the HAL file has the inputs configured as Home Switches. For example:*

*#(JP) Add home switch input on DB25-11*
* net home-x bb_gpio.p8.in-10 => axis.0.home-sw-in *

I'd like to put all the axis limit switches in series and run them into 
DB25-15 since the rotary axis doesn't have a limit or home switch and then 
assign that to limit switches for al axis.

I would provide a mechanical switch to override the limits so it's possible 
to move off a limit switch.  Or maybe there's a configuration way to ignore 
the limit.

Or is the general approach more like putting all the limit switches in 
series with the DB25-1 to DB25-10 connection in series with the ESTOP?

Then the momentary button is pressed to override and a jog button used to 
move back off the activated limit switch? 

Am I missing something or is there some sort of net limit-x bb_gpio.p ... 
statement that can be used?

Thanks
John



-- 
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.