RackToolChanger - rmu75/linuxcnc-wiki GitHub Wiki


date: '2012-07-07T22:00:51' title: RackToolChanger

Extending EMC2 to support Rack Tool Changer

NOTE: BE VERY CAREFULL TESTING THIS !

Contents

toc

1. Preparing

  • Before you can get a copy of EMC2 from our git server you will need to install the git program: http://wiki.linuxcnc.org/cgi-bin/wiki.pl?Installing_EMC2#Getting_the_source_with_git

  • Download EMC2 source code of 2.4 version: git clone git://git.linuxcnc.org/git/emc2.git emc2-dev

  • Change directory and get the 2.4 branch cd emc2-dev git checkout v2.4.6

  • download and copy patch to emc2-dev: upload:emc2.4.6_rack_toolchanger.patch

  • apply the patch: patch -p1 < emc2.4.6_rack_toolchanger.patch

2. Build the Source

  • While in the emc2-dev directory: cd src ./autogen.sh
    ./configure make make install-menus sudo make setuid

3. Configuring

  1. in ini file at section [emcio] specify

TOOL_CHANGER_TYPE = 1 type 1 for rack tool changer, 0 for default type

TOOL_CHANGE_POSITION = 712.92 5.25 46

position of first tool in rack

TOOL_SLOT_DELTA = 56 0 0

position delta of next tool in rack

TOOL_HOLDER_CLEAR = 712.2 100 100

safe position of tool before/after tool change