[EMAIL PROTECTED] wrote:

>I tried Axis and it makes sense now. Now I understand how I can combine all the
>positive limit switches to one input to perform the home sequence.
>
>The other thing I have been wondering about is whether there is a way to start 
>a
>program with a homing sequence.
>
>I am trying to train people to home before they run a program but am very 
>scared
>about someone forgetting it. Is it possible to secure this at the beginning of 
>a
>program?
>  
>
It may be possible to script a home sequence at startup, but that's 
actually a dangerous thing to do.  The machine should never move unless 
an operator has told it to.  It's probably possible to program one of 
the user interfaces to automatically home before every run (ie, when the 
operator presses the "run" button), but that's probably a bit more 
in-depth than you want ;)

How would the following scenario work for you:
1) two settings are added to the ini file, one which allows you to set a 
lower jog speed for unhomed joints, the other which allows you to 
disallow running a program if any joints are unhomed.
If you set the "prevent run before homing" setting, then the user would 
get a message if they try to run the program before homing.  If you set 
the unhomed jog velocity low, they'll probably get annoyed enough to 
home also :)

Note:  I'm not exactly sure how to implement these features.  I don't 
know if they should be at the GUI level or somewhere deeper in EMC (and 
available to all GUIs).  That kind of decision has a great effect on the 
complexity of the changes needed.  The ideas popped up when thinking 
about the general problem I think you're telling us about.  If you think 
one or both of these features would be useful to you, please let us know.

- Steve

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to