[Machinekit] Problems with integrating Machinekit BBB into CNC machine

2017-05-14 Thread Simon Mali
Dear all After integrating BBB Machinekit into my CNC machine some problems came to surface which I dont know how to solve: 1. Problems with executing some G code file. Both G code files are attached. The problem seems to be the same for both files: while executing the G code machine stops at G

[Machinekit] Problems with integrating Machinekit BBB into CNC machine

2017-05-18 Thread Sag ich Dir nich
One problem i had was arcs over 400mm radius, i had to limit the arcs under 400mm or the machine would just stop without any error -- website: http://www.machinekit.io blog: http://blog.machinekit.io github: https://github.com/machinekit --- You received this message because you are subscribed

Re: [Machinekit] Problems with integrating Machinekit BBB into CNC machine

2017-05-14 Thread schoone...@btinternet.com
1. Since you haven't said what the machine is, I have to guess it is a mill and the config is the same as you attached a while back for the xhc pendant. In which case your min and max limits are back to front for a mill Z axis. You also need to touch off after homing

Re: [Machinekit] Problems with integrating Machinekit BBB into CNC machine

2017-05-14 Thread Simon Mali
Hello 1. Yes you are correct, it is a mill but the config is not the same as it was at my last sending of this files because I was adapting the setings to my actual machine. Please check the newest settings of the machine in the attached two files. I have tried with touch off for all 3 axes but

Re: [Machinekit] Problems with integrating Machinekit BBB into CNC machine

2017-05-18 Thread Klemen Živkovič
You posted log from many different days... but looking at your log there is two lines for example: May 13 17:39:26 beaglebone msgd:0: zeroconf: registered 'Log service on beaglebone.local pid 1402' _machinekit._tcp 0 TXT "uuid=a42c8c6b-4025-4f83- ba28-dad21114744a" "instance=581531b2-37f2-11e7-b18

Re: [Machinekit] Problems with integrating Machinekit BBB into CNC machine

2017-05-20 Thread Simon Mali
Hello @Bas de Bruijn: I have enabled all debug printouts as proposed but I can still not localize the error in printout. 4a. I have put this in my ini file: DEBUG = 0x7f 4b. Then I have opened my LX-root terminal and I was trying to start machinekit manually: export DEBUG=5 root@beaglebone

Re: [Machinekit] Problems with integrating Machinekit BBB into CNC machine

2017-05-20 Thread Bas de Bruijn
I think the 5th line tells all: /usr/libexec/linuxcnc/rtapi_msgd: FATAL - will not run as root As you run machinekit as root. Why do you run as root? Did you build machinekit from source? If so, did you 'sudo make setuid' after building? > On 20 May 2017, at 14:15, Simon Mali wrote: > > Hell

Re: [Machinekit] Problems with integrating Machinekit BBB into CNC machine

2017-05-20 Thread Simon Mali
I have managed to run machinekit with writing to log.txt active. Please see the attached log.txt file. I have run the machinekit, it was complaining because jog XHC-HB04 is missing and the I load the g code file and run it. Printouts stoped at exact point where execution of g code commands have

Re: [Machinekit] Problems with integrating Machinekit BBB into CNC machine

2017-05-24 Thread Klemen Živkovič
I tried running your program in my machine. Here is whole video: https://youtu.be/0D18FS9kNYU I didn't examined logs but execution just stops in line 16 (N118). How did you initialized coordinate sistem? I see no G92 lines at begining... Also in N102 You start with G0 that is rapid move and than

Re: [Machinekit] Problems with integrating Machinekit BBB into CNC machine

2017-05-24 Thread Klemen Živkovič
Simon, I tried this program and it runs just fine: (T) (DATE=DD-MM-YY - 14-05-17 TIME=HH:MM - 11:06) (MCX FILE - T) (NC FILE - C:\USERS\EGON1\DESKTOP\T.NC) (MATERIAL - ALUMINUM MM - 2024) ( T1 |8. FLAT ENDMILL | H1 ) N100 G21 (N102 G0 G17 G40 G49 G80 G90) N104 T1 M6 N106 G0 G90 G54 X21. Y-21.

Re: [Machinekit] Problems with integrating Machinekit BBB into CNC machine

2017-05-25 Thread Simon Mali
Thank you regarding your effort. But I have commented this line and nothing substantially has changed. The execution of the g code program stops at the same line (N110) as before at this G1 command. Even a new problem came to surface. My Machinekit has a problem with recognizing the USB hub. Tha

Re: [Machinekit] Problems with integrating Machinekit BBB into CNC machine

2017-05-25 Thread Bas de Bruijn
> On 25 May 2017, at 09:09, Simon Mali wrote: > > My Machinekit has a problem with recognizing the USB hub. That means > Machinekit loads up everthing is working except the mouse and keyboard are > unresponsive. Then I press the BBB reset button and in second or third > iteration I finally g