2013/5/24 Tomaz T. <tomaz_...@hotmail.com>

> >
> > Viesturs Lācis wrote:
> > > Andy Pugh last autumn shared a way to add a new HAL pin to Axis GUI to
> > > switch machine to world mode, so I have it connected to axis.n.is-homed
> > > pins through and2 components and it works pretty nicely for me. You
> could
> > > use that to make sure that operator will not start jogging the machine
> in
> > > joint mode, once it has been homed.
> > >
> > Well, then maybe that solves all the problems, and requires no new code,
> > or hal components! Very good!
> >
>
> Any quick tips how to implement this would be nice, I'm still relaying on
> myself that after homing will press shift+4 to enter world mode before
> start jog...
>

Ok, I put modified Axis GUI file here:
http://www.cutting.lv/fileadmin/user_upload/axis.py

Take a look, ctrl+f, type "world" to see, which lines have been added for
this.


> Second future was deceleration (for a settable distance) before hitting
> limit switch or software limit, so if you are not careful and jog with
> "high speed" all the way to the limit, you have no chance to hit limit with
> that speed and cause sudden stop and "mechanical" stress to machine...Can
> be this done with customization of hal?


This is exactly why there is MIN_LIMIT and MAX_LIMIT parameters in AXIS_N
section in INI file. That is value, beyond which machine will not move,
when running g-code and it will stop (almost) there, if You will try to jog
past it. It will stop and then, if You still press jog button, it will move
past that limit, but it definitely will not move past these limits from
g-code, it will display error message, when such a g-code file would be
opened.

I am running my machine without any hardware limit switches - there are
home switches (not linked to any min or max limit pins for any joint) and
min and max limits set in INI file. Works fine so far.

-- 
Viesturs

If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to