Skip to content
Linux/Unix port of KMotion
C++ HTML C# C Visual Basic Java Other
Branch: master
Clone or download
Latest commit 5b2c53a Sep 13, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode Update to KMotion4.34 Aug 28, 2018
C Programs Update to KMotion4.34 Aug 28, 2018
DSP_KFLOP Update to KMotion4.34 Aug 28, 2018
DSP_KMotion Merged stable version KMotion4.33 into master Dec 11, 2015
DynoPlugin Update to KMotion4.34 Aug 28, 2018
GCode Programs Update to KMotion4.34 Aug 28, 2018
GCodeInterpreter Update to KMotion4.34 Aug 28, 2018
InnoSetup/InnoHelperTK/InnoHelperTK Update to KMotion4.34 Aug 28, 2018
KMViaVB Update to KMotion4.34 Aug 28, 2018
KMotion Update to KMotion4.34 Aug 28, 2018
KMotionDLL Update to KMotion4.34 Aug 28, 2018
KMotionServer Update to KMotion4.34 Aug 28, 2018
KMotionX Update to KMotion4.34 Aug 28, 2018
KMotion_dotNet Update to KMotion4.34 Aug 28, 2018
KMotion_dotNet_Interop Update to KMotion4.34 Aug 28, 2018
MachPlugin Update to KMotion4.34 Aug 28, 2018
PC LabView Examples Latest version KMotion4.33 Dec 13, 2015
PC Python Examples/OnOffWPF Update to KMotion4.34 Aug 28, 2018
PC VB Examples Update to KMotion4.34 Aug 28, 2018
PC VC Examples Update to KMotion4.34 Aug 28, 2018
PC VCS Examples Update to KMotion4.34 Aug 28, 2018
Scintilla Update to KMotion4.34 Aug 28, 2018
TCC67 Update to KMotion4.34 Aug 28, 2018
USB Driver Update to KMotion4.34 Aug 28, 2018
.gitignore Update to KMotion4.34 Aug 28, 2018
BuildAllLibs.sln Update to KMotion4.34 Aug 28, 2018
LICENSE Initial commit Sep 12, 2014
NDP462-KB3151800-x86-x64-AllOS-ENU.exe Update to KMotion4.34 Aug 28, 2018
README.md Update to KMotion4.34 Aug 28, 2018
configure Improved installation Mar 16, 2017
include.mk Make install target fixes on MacOS Mar 7, 2017
makefile Update to KMotion4.34 Aug 28, 2018
nuget.config Update to KMotion4.34 Aug 28, 2018
unins000.dat Update to KMotion4.34 Aug 28, 2018
unins000.exe Update to KMotion4.34 Aug 28, 2018
vc_redist.x86.exe Update to KMotion4.34 Aug 28, 2018

README.md

KMotionX

Linux/Unix (Mac OS) port of Dynomotions KMotion

KMotionX is a port to Dynomotions KMotion libraries. This is just the core functionality of the libraries. I think it's all there an no features should be missing. Please raise an issue if you find something. The complicated features found in CNC control applications such as KMotionCNC is not in this repository. See KMotionXCNC

Current status KMotion 4.34

Runs on Linux and Mac OS.

Ported libraries and executables KMotionDLL.dll -> libKMotion GCodeInterpreter.dll -> libGCodeInterpeter KMotionServer.exe -> KMotionServer TCC.exe > tcc67

See it in action on youtube https://www.youtube.com/watch?v=oPTJwcre0hA

Build and install

This guide contains four sections. How to install on Mac OS X, Ubuntu, Rasbian (Raspberry Pi) and a common section for KMotion libraries.

Setup and install required dependencies on your platform

Mac OS X

Ubuntu

Raspberry Pi

Install KMotionX

1. Build KMotionX

Install git if not already installed

sudo apt-get install git

Clone repository

git clone https://github.com/parhansson/KMotionX.git
cd KMotionX

Configure build for your platform and flavours

./configure

Build project

make

Install project (some platforms (MacOS) do not require 'sudo' just make install')

sudo make install
2. Install KFLOP device rules (Linux only)

This will install a rule that tell your system to grant read and write access to the kflop device for users in group "plugdev" If your user is not in that group fix users groups or change the rule before pluging the device in.

sudo cp KMotionX/usb/etc/udev/rules.d/10.kflop.rules /etc/udev/rules.d/
3. Execute examples or install KMotionXCNC

Plug in your KFlop to an available USB port. KMotionServer will start automatically in background when needed. When KMotionDLL is rebuilt make sure to kill running server 'killall KMotionServer'

Start executeGCode example

cd bin
./executeGCode

Extra

It still doesn't work. Troubleshoot

Advanced stuff

You can’t perform that action at this time.