The PRU HAL driver for the beaglebone is intentionally very similar to
the Mesa hostmot2 HAL driver.  I recommend you start with one of the
Mesa lathe example configurations and swap the driver name to use the
PRU.  You will also need to add pin numbers, since the PRU driver can
use arbitrary pins (vs. a Mesa card which has pre-assigned pins for
the various functions).

On 11/7/2018 5:17 AM, Gediminas Dirma wrote:
> For start it would be nice just to get steppers working, and after that 
> begin on spindle. And i am not planning on using any capes. Maybe 
> optocouplers or buffers for controlling motors, still haven't decided. But 
> the biggest problem is get some config file which i could edit to my machine
> 
> 2018 m. lapkritis 7 d., trečiadienis 13:11:33 UTC+2, Gediminas Dirma rašė:
>>
>> What i want to do is to make cnc lathe with servo motor spindle using 
>> step/dir. But i just didnt find any config for lathe
>>
>> 2018 m. lapkritis 7 d., trečiadienis 12:58:41 UTC+2, Schooner rašė:
>>>
>>> As Bas said, you need to modify an existing BBB config.
>>>
>>> There are a whole layer of reasons why what you did will not work.
>>> Right at the top, is that you don't have a parport (parallel port).
>>>
>>> The main reason people use the BBB, is that Charles programmed the PRU 
>>> for hardware stepping etc.
>>> thus breaking the vicious circle of using the parport and the ultra low 
>>> latency kernel requirement that exists in linuxcnc,
>>> for basic hardware.
>>>
>>> On 07/11/18 10:40, Bas de Bruijn wrote:
>>>
>>> Hi,
>>>
>>> Stepconf does not work for making a configuration for the Beaglebone.
>>> It’s easier to take an existing configuration for a Beaglebone setup and 
>>> modify for your situation.
>>>
>>> Bas
>>>
>>> On 7 Nov 2018, at 11:36, Gediminas Dirma <[email protected]> wrote:
>>>
>>> Hello 
>>>
>>> I am new to machinekit and i have some problems with stepconfig. After i 
>>> setup my configuration for lathe and i start it, it doesnt work. Then i 
>>> read why it stopped it says because my_lathe.hal and the line is 'setp 
>>> parport.0.reset-time 5000'. Than i comment this line i can launch my 
>>> config. So what does this line mean, can i leave it commented or maybe i 
>>> should change something.
>>>
>>> Thanks for help.
>>> -- 
>>> 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 [email protected].
>>> 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 [email protected].
>>> Visit this group at https://groups.google.com/group/machinekit.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
> 


-- 
Charles Steinkuehler
[email protected]

-- 
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 [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to