[Machinekit] Building ProtoBuf data structure for command: MT_EMC_AXIS_SET_HOMING_PARAMS

2019-08-21 Thread Klemen Zhivko
Maybe somebody knows how to prepare data packet for homing parameters or direct me to documentation how to use it. I believe ContainerType is: *MT_EMC_AXIS_SET_HOMING_PARAMS* But I am not sure how to build the command with all parameters (copied from .ini): HOME = 0.000

Re: [Machinekit] Re: homing of X axis causes "joint 0 on limit switch error"

2019-08-21 Thread Klemen Zhivko
Justin, it is working, thank you SO MUCH! Now I only need to set proper HOME_OFFSET through protobuffer and zmq. Maybe @machinekoder could help what is right procedure to build command that needs to be sent to MK. regards, On Wednesday, 21 August 2019 18:46:24 UTC+2, Klemen Zhivko wrote

[Machinekit] Re: homing of X axis causes "joint 0 on limit switch error"

2019-08-20 Thread Klemen Zhivko
l mean the same thing on the > boolean parameters:* > > > HOME_IGNORE_LIMITS = YES > HOME_IS_SHARED = YES > > > For the rest of it you should read this: > http://linuxcnc.org/docs/html/config/ini-homing.html > > The .ini is in too bad a shape to really help with

Re: [Machinekit] Building MK from source for beaglebone black

2019-08-20 Thread Klemen Zhivko
./configure ended succesfully after I installed missing libraries. thx On Tuesday, 20 August 2019 10:23:31 UTC+2, Klemen Zhivko wrote: > > Thanks Cern, > > installing machinekit images fixed my libczmq dependency error. I still > need to build MK on BeagleBone black, since I h

Re: [Machinekit] Building MK from source for beaglebone black

2019-08-20 Thread Klemen Zhivko
OK I managed to end ./configure with installing missing libraries. Some of them needed lib prefix, another one again -dev when issuing sudo apt-get install [lib name] Thanks On Tuesday, 20 August 2019 10:23:31 UTC+2, Klemen Zhivko wrote: > > Thanks Cern, > > installing machinekit ima

Re: [Machinekit] Building MK from source for beaglebone black

2019-08-20 Thread Klemen Zhivko
Thanks Cern, installing machinekit images fixed my libczmq dependency error. I still need to build MK on BeagleBone black, since I have some custom code. Now I am stucked at this point while issuing command: machinekit@beaglebone:~/git/machinekitOff/src$ ./configure --with-platform-beaglebone

[Machinekit] Re: homing of X axis causes "joint 0 on limit switch error"

2019-08-19 Thread Klemen Zhivko
lps) > > Another thing to note is that I personally never tried using a NC switch > on a non inverted input. Whereas the limit switch is read as "true" when it > is not being triggered. This should be OK I think but if all else fails you > can use the "not" compone

[Machinekit] Building MK from source for beaglebone black

2019-08-19 Thread Klemen Zhivko
I follow instruction from official documentation of machinekit building fom source: http://www.machinekit.io/docs/developing/machinekit-developing/ and I get: ... ./configure --with-platform-beaglebone returns: ... configure: error: Package requirements (libczmq > 4.0) were not met: I am on:

[Machinekit] Re: homing of X axis causes "joint 0 on limit switch error"

2019-08-18 Thread Klemen Zhivko
ax limit switch as your home switch you need to > connect the signal from the actual switch to both pins as above. When > homing is active the limit switches are ignored as per the .ini file but > that is OK because it is your home switch. > > > > > > On Sunday, August 18,

[Machinekit] Re: homing of X axis causes "joint 0 on limit switch error"

2019-08-18 Thread Klemen Zhivko
I also tried with HOME_IGNORE_LIMITS =NO in my ini, but then I get: 23:39:18 MT_EMC_OPERATOR_ERROR 23:39:18 hit limit in home state 5 23:39:18 MT_EMC_OPERATOR_ERROR 23:39:18 joint 0 on limit switch error On Sunday, 18 August 2019 22:27:04 UTC+2, Klemen Zhivko wrote: > > I forgot to

[Machinekit] Re: homing of X axis causes "joint 0 on limit switch error"

2019-08-18 Thread Klemen Zhivko
I forgot to say I use beaglebone black with cramps hat, NC (normally closed) home switch, and also debounce component as i saw from linuxcnc forum that not debouncing signal could be issue. On Sunday, 18 August 2019 22:25:47 UTC+2, Klemen Zhivko wrote: > > Hi guys, > > I am usin

Re: [Machinekit] CRAMPS kicad errors

2017-05-19 Thread Klemen Zhivko
error (0V) will interrupt (estop) machinekit? I thought about connecting any of 5 stepper motor drivers error signal to P302-Pin1 on CRAMPS - will that work? regards Dne sreda, 17. maj 2017 13.55.35 UTC+2 je oseba Charles Steinkuehler napisala: > > On 5/17/2017 4:32 AM, Klemen Zhivko

Re: [Machinekit] Moving QtQuickVCP buttons/pins to tabs give pin count mismatch error

2017-05-17 Thread Klemen Zhivko
According to my experience I think for connecting remote components both components need to have same number (and same type) of pins. So if you adding pins in UI you should add them also in hal file. I am using hal file to create remote comp, but they can be also python created and mk side. I

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

2017-05-17 Thread Klemen Zhivko
1. there should be some error in linuxcnc logs? have you checked those? 2. dont know I run my machine over machinekit remote interface (haltalk) 3. there is a NO_FORCE_HOMING = 1 in [TRAJ] section in INI regards Dne nedelja, 14. maj 2017 15.03.56 UTC+2 je oseba Simon Mali napisala: > > Dear all

[Machinekit] CRAMPS kicad errors

2017-05-17 Thread Klemen Zhivko
Dear all and Charles, I want to build custom hat for cramps, where I could have connectors for stepper signals, modiy E-STOP, add some custom connectors, etc... So to get pcb footprint of cramps I open CRAMPS kicad project and KICAD throws this errors: Do I need to setup this libraries

[Machinekit] Re: Handing out DE0-Nano to Mesa Breakout boards

2017-03-31 Thread Klemen Zhivko
HI Jens, I am currently running MK for pipe plasma cutter and I plan to move from BBB to DE0 nano soc, so ... I am using MK with my own java client talking to MK over haltalk and mk wrapper I am from Slovenia and I look forward to get one of your boards. Also I am willing to pay for it ...

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Klemen Zhivko
YES - that did it - thank you all guys! You ALL are just great! Dne torek, 14. februar 2017 22.48.50 UTC+1 je oseba Charles Steinkuehler napisala: > > On 2/14/2017 3:15 PM, Klemen Zhivko wrote: > > > > I have a feeling that something on mksocfpga itself prevent

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Klemen Zhivko
al I have a feeling that something on mksocfpga itself prevents fpga firmware to be written. Can you check 6 bit switch SW10 on your board? I moved all switches to ON. Maybe this is wrong? Regards Dne torek, 14. februar 2017 19.29.00 UTC+1 je oseba Schooner napisala: > > > On 14/

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Klemen Zhivko
r--r-- 1 root root 940 Oct 28 21:21 Makefile > -rw-r--r-- 1 root root 1007 Oct 28 21:21 template.dts > > BUT these might come from ArcEye's image and not from build I just make. I > am not sure who or how this rbf files could be (re)created... > > > > On Tue, Fe

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Klemen Zhivko
Should I run machinekit with sudo?? As I remember this is somehow not good practice? Dne torek, 14. februar 2017 17.50.15 UTC+1 je oseba Klemen Zhivko napisala: > > OK it completed with -j2 without problem - there is wnother error now > present in command line I get: > > machi

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Klemen Zhivko
OK it completed with -j2 without problem - there is wnother error now present in command line I get: machinekit@mksocfpga:~$ machinekit ~/myconfig/mksocfpga.ini MACHINEKIT - 0.1 Machine configuration directory is '/home/machinekit/myconfig' Machine configuration file is 'mksocfpga.ini' Starting

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Klemen Zhivko
cache/swap/swapfile bs=3M count=256 sudo chmod 0600 /var/cache/swap/swapfile sudo mkswap /var/cache/swap/swapfile sudo swapon /var/cache/swap/swapfile And restarted build. I hope everything will be OK this time. Dne torek, 14. februar 2017 13.52.13 UTC+1 je oseba Schooner napisala: > > On 14/02/

Re: [Machinekit] Re: de0 nano soc for MK

2017-02-14 Thread Klemen Zhivko
preempt? Dne torek, 14. februar 2017 10.12.30 UTC+1 je oseba Schooner napisala: > > > On 13/02/17 21:25, Klemen Zhivko wrote: > > OK finaly got the board (the right one :) ) . I have burned latest > ArcEye's image from: > > http://blog.machinekit.io/2016/11/de0-nano-soc-update-on

[Machinekit] de0 nano soc for MK

2017-01-27 Thread Klemen Zhivko
Does anybody know where in Europe I can buy de0 nano soc (Cyclone 5 i think). I would like to control 3 servos - with machinekit. Are stepper and servo configuration posibble on machinekit (on de nano soc) ? regards -- website: http://www.machinekit.io blog: http://blog.machinekit.io github:

Re: [Machinekit] Kinematic offset

2017-01-20 Thread Klemen Zhivko
And another youtube video cutting whole part. https://www.youtube.com/watch?v=DdLqBqbmIEE=101s Dne sreda, 04. januar 2017 10.53.57 UTC+1 je oseba Klemen Zhivko napisala: > > Just to follow up: machinekit with BBB and thc works on my setup - here is > video of machine in action

Re: [Machinekit] Cross compiling for BBB

2017-01-20 Thread Klemen Zhivko
Good to know - thanks Frederic! Dne ponedeljek, 09. januar 2017 21.40.17 UTC+1 je oseba Frederic RIBLE napisala: > > Solved! > > I managed to cross compile and build BBB packages by using following > commands: > > *cd machinekit/ > export ROOT=/opt/rootfs > export JOBS=2 > export

[Machinekit] Re: MachinekitClient/QtQuickVcp

2017-01-04 Thread Klemen Zhivko
Check AVAHI Daemon configuration and if it is running on machinekit server. check avahi service status with: ``` sudo systemctl status avahi-daemon ``` additional log available with ``` journalctl -xe ``` change domain name in /etc/avahi/avahi-daemon.conf to ``` domain-name=local ``` reload avahi

Re: [Machinekit] Kinematic offset

2017-01-04 Thread Klemen Zhivko
Just to follow up: machinekit with BBB and thc works on my setup - here is video of machine in action. https://youtu.be/2oMeL6kEZrk Dne sreda, 23. december 2015 12.58.00 UTC+1 je oseba Klemen Zhivko napisala: > > OK I understand. > My first goal is to finish machine, than I will t

[Machinekit] Re: Improving a CNC plasma cutter with machinekit, BBB and

2016-11-16 Thread Klemen Zhivko
OK I did some tests in my simulation environment, while still waiting for hypertherm45xp that should arrive end of November. My ini configurations are at: https://github.com/zhivko/machinekit/tree/master/myini) Instead velocity from thcad 10V, I feeded velocity from my rand component that

Re: [Machinekit] Improving a CNC plasma cutter with machinekit, BBB and

2016-10-14 Thread Klemen Zhivko
Question was related to wiring schema I plan to use - picture available on this link: "https://raw.githubusercontent.com/zhivko/PipeCutter/master/screenshots/PLASMA_WIREUP.jpg; more precisely about how to connect transfer signal from torch to cramps hat. 1) CPC_14 and CPC_12 are dry relay