![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| General CNC (Mill and Lathe) Control Software (NC) General Discussion of CNC (Mill and Lathe) control software here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
| |||
| |||
| Macro for a probe signal I am trying to write an alarm program for a probe. I want the machine to go into alarm if the signal for the probe is already on before it touches the part. Does anyone know how to setup a macro for an on and off signal? |
|
#2
| |||
| |||
| mcash3000 I am pretty sure a macro will be controller specific. What control are you using? Mike
__________________ No greater love can a man have than this, that he give his life for a friend. |
|
#3
| |||
| |||
| Too many unknown variables to give an accurate answer. Control make & model would be nice for starters. How is the probe connected? Skip signal only or error signal too? On most controls (Fanuc, at least) if you try to execute a G31 skip move and the probe is already deflected (which is what I assume you mean when you say "if the signal for the probe is already on before it touches the part") the machine won't move. At that point in the probe routine you can place a test to check if the start point is the same as the end point (provided you saved the start point before the move was executed).
__________________ Paul Sevin - Ovation Engineering, Inc. http://www.ovationengineering.com |
|
#4
| |||
| |||
| it is a fanuc 18i. I did what psevin suggested with the G31 code, checked the start and end point and it worked. Thanks for the suggestion. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |