587,941 active members*
3,194 visitors online*
Register for free
Login
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2012
    Posts
    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
    Join Date
    Sep 2010
    Posts
    1230
    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

Similar Threads

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •