Results 1 to 2 of 2

Thread: macro program

  1. #1
    Registered
    Join Date
    Jan 2012
    Location
    UK
    Posts
    2
    Downloads
    0
    Uploads
    0

    macro program

    Can anyone help with a macro program to prevent accidental use of a renishaw probe on a Hitachi Seiki horizontal milling machine. I recently had a mishap with my renishaw probe the probe is always kept in pocket 30 which is never used for anything else. I would like the machine to alarm out if the probe is in the spindle when spindle start operates.


  2. #2
    Registered
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    989
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by curly3456 View Post
    Can anyone help with a macro program to prevent accidental use of a renishaw probe on a Hitachi Seiki horizontal milling machine. I recently had a mishap with my renishaw probe the probe is always kept in pocket 30 which is never used for anything else. I would like the machine to alarm out if the probe is in the spindle when spindle start operates.
    What model is the control? As the machine is a Hitachi Seiki, and this section of the Forum is relating to all things Fanuc, I assume it to be an older model control. The parameters and variables used for the following method would be contingent on the control model.

    Because no arguments have to be passed, you could create Sub Programs that are called by the M codes M03 an M04. Included in the Sub Program would be a Boolean statement that tests for the current tool number. If the current tool is 30, then an alarm would be raised. The Macro statements in the Sub Program and parameter setting for a Series 10,11,12 model control would be something like the following:

    03 would be registered in parameter #7071 to call the Sub Program O9001 with M03

    %
    O9001
    IF [#4120 EQ 30] GOTO100
    M03
    GOTO101
    N100
    #3000=1(PROBE IN SPINDLE)
    N101 M99
    %

    Regards,

    Bill
    Last edited by angelw; 02-04-2012 at 09:35 PM.


Similar Threads

  1. Need Help!- ATC macro program for DMV400
    By rai in forum Daewoo/Doosan
    Replies: 2
    Last Post: 01-15-2012, 11:39 PM
  2. Program Startup Macro
    By gplush in forum Okuma
    Replies: 5
    Last Post: 11-23-2009, 12:16 PM
  3. Replies: 2
    Last Post: 03-27-2009, 04:15 PM
  4. G65 macro B PROGRAM
    By gollame in forum G-Code Programing
    Replies: 2
    Last Post: 05-11-2008, 12:26 PM
  5. Macro program
    By pioneerproducts in forum Product and Manufacturer Announcements
    Replies: 4
    Last Post: 10-08-2007, 04:44 PM

Posting Permissions



About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.