[Home]EMC1 Pure Simulator

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org

EMC1 can be built in pure simulator mode, requiring no kernel patches or root access. G-code files can be previewed and backplotted in AXIS 1.2.1, or be backplotted in tkemc or mini.

The following steps download and compile rcslib, emc1, and axis-1.2.1. This excludes the steps needed to get the build requirements of emc and axis. The "emc-patch" changes sim.ini to use AXIS instead of tkemc.

export PLAT=linux_2_4_22

wget http://emergent.unpy.net/files/sandbox/rcslib-patch
wget http://emergent.unpy.net/files/sandbox/emc-patch
wget http://emergent.unpy.net/files/sandbox/axis-emc1-patch
wget http://axis.unpy.net/files/downloads/01142862593/axis-1.2.1.tar.bz2
cvs -z9 -d:ext:cvs.linuxcnc.org/cvs co rcslib emc

(cd rcslib; patch -p0) < rcslib-patch
(cd emc; patch -p0) < emc-patch
make -C rcslib/src
make -C emc/src

tar xjvf axis-1.2.1.tar.bz2
(cd axis-1.2.1; patch -p1) < axis-emc1-patch
(cd axis-1.2.1 && python ./setup.py install)

To run,

cd emc
env PLAT=linux_2_4_22 ./sim.run

Note that there are differences in the interpreter between emc1 and emc2. emc2.0 includes O-words, G33 "spindle synchronized motion", and bugfixes, among other changes.

LinuxCNCKnowledgeBase | RecentChanges | PageIndex | Preferences | LinuxCNC.org
This page is read-only. Follow the BasicSteps to edit pages. | View other revisions
Last edited August 30, 2006 12:43 pm by falcon.inebraska.com (diff)
Published under a Creative Commons License