
02-07-2012, 06:48 AM
|
| | | Join Date: Sep 2010 Location: Australia
Posts: 733
| |
Originally Posted by pwilson101 Hi all,
Is there any way to write a macro that would make a drill automatically retract to the r-plane and stop with a message if it reaches a certain HP? I'm trying to save drills from burning up.
The macros would be Custom Macro B language, as we have fanucs, mitusbishi and mazak controls. I met a programmer awhile ago who said he wrote something for his machines like this, I never looked into it until now. How do you even get the information needed to write something like this?
Any help would be appreciated...
- Paul |
Hi Paul,
As pointed out by Ford, there are no Standard System Variables supplied by Fanuc to alloy Polling for Spindle or Axis load. Some MTBs supply additional System variables, but their supply is infrequent. Nakamura is one maker that I've seen supply System Variables for Axis Load.
What you want to do is possible by calling a Macro Program via an Interrupt Signal (UINT). When a tool abnormality is detected, processing to handle the abnormality is started by an external signal. To achieve this, you would have to add some hardware to monitor the load on the machining system. Axis load would be my choice, not Spindle load. If your machine has a Z axis load metre, it would be possible to tap into that circuit to trigger the Interrupt Signal.
An interruption type Custom Macro Function can be applied partway through a block. When the interrupt signal (UINT) is input, any movement or dwell being performed is stopped immediately and the interrupt program is executed.
Regards,
Bill |