Results 1 to 8 of 8

Thread: TOOL CHANGE MACRO NEEDED?

  1. #1
    Registered
    Join Date
    Feb 2007
    Location
    united states
    Posts
    33
    Downloads
    0
    Uploads
    0

    TOOL CHANGE MACRO NEEDED?

    Hi, HELP NEEDED!!!
    One of my guys deleted the tool change macro by mistake in the program library on my Miyano TSV 21 vmc. Could not figure out why I could not do a tool change at all and looked and it was gone. I am desperately needing this macro and was wondering if anyone had it by any chance, or knew of anyway of getting it. Thanks for the help!!


  2. #2
    Registered
    Join Date
    Nov 2007
    Location
    Egypt
    Posts
    55
    Downloads
    0
    Uploads
    0
    what is your controller type ( 0imc or 18imc ..... etc )??

    is your machine arm type or arm less type???


  3. #3
    Registered
    Join Date
    Feb 2007
    Location
    united states
    Posts
    33
    Downloads
    0
    Uploads
    0
    The control is an OM-A, arm? I would say armless. Thanks


  4. #4
    Registered
    Join Date
    Sep 2007
    Location
    Mexico
    Posts
    348
    Downloads
    0
    Uploads
    0
    Offroadxx:

    You can contact Miyano in their US office, they can provide the macro.

    GP.


  • #5
    Registered
    Join Date
    Aug 2012
    Location
    India
    Posts
    4
    Downloads
    0
    Uploads
    0
    if u get it can u ple send the macro program to me please, i am also in same situation as yours
    Thanks


  • #6
    Registered
    Join Date
    Aug 2012
    Location
    India
    Posts
    4
    Downloads
    0
    Uploads
    0
    Tano gave me this macro & it is working.
    O9003
    G04
    G65H81P800Q#1000R1
    G65H81P800Q#1004R1
    G91G28Z0M19
    G49
    G65H82P250Q#1001R1
    M80
    G65H82P350Q#1006R1
    G30Z0
    G65H82P450Q#1003R1
    M82
    G65H82P550Q#1004R1
    G28Z0
    G65H82P650Q#1002R1
    M81
    G65H82P750Q#1005R1
    M99

    Thanks to Tano


  • #7
    Registered
    Join Date
    Sep 2010
    Location
    Australia
    Posts
    986
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by amarcs View Post
    Tano gave me this macro & it is working.
    O9003
    G04
    G65H81P800Q#1000R1
    G65H81P800Q#1004R1
    G91G28Z0M19
    G49
    G65H82P250Q#1001R1
    M80
    G65H82P350Q#1006R1
    G30Z0
    G65H82P450Q#1003R1
    M82
    G65H82P550Q#1004R1
    G28Z0
    G65H82P650Q#1002R1
    M81
    G65H82P750Q#1005R1
    M99

    Thanks to Tano
    Hi amarcs,
    Are you using the above Macro Program exactly as listed, or do you have Sequence Numbers on some or all lines? The reason I ask is that I've been offering advice to Tano regarding this Macro program in his Posts and I can't see how this program can work successfully under all conditions without Sequence Numbers.

    The Macro Functions H81 and H82 are both Conditional Divergence Functions, and require a Sequence Number (N800 in the following example) should the condition test True.

    G65H81P800Q#1000R1

    In the above example (taken from your above Macro), the program will diverge to Sequence Number N800 if Interface Input #1000 is in a logic "1" state. Your program has been created for use with the User Macro A executable and would have the following syntax if used with User Macro B
    IF[#1000 EQ 1] GOTO800

    Accordingly, if there is no N800 in the program, an alarm condition should result if either of the first two blocks were to test true. This also applies for all the other H81 and H82 function blocks if their corresponding Sequence numbers are missing.

    If you're using this program without any Sequence Numbers, I believe that its good luck rather than good management that it works, and that the first time any of these Conditional Divergence Function blocks test true, the program will fail.

    An educated guess is that the Sequence numbers may be arranges as in the following program. As the H82 is a NOT EQUAL function, they would be used to delay the progress of the Macro Program until the associated Interface Inputs test logic "1". For example, N250 G65H82P250Q#1001R1 will create an endless Loop until #1001 equals "1", thus delaying the execution of the Macro until the switch associated with that Interface Input is made.

    Regards,

    Bill

    O9003
    G04
    G65H81P800Q#1000R1
    G65H81P800Q#1004R1
    G91G28Z0M19
    G49
    N250 G65H82P250Q#1001R1
    M80
    N350 G65H82P350Q#1006R1
    G30Z0
    N450 G65H82P450Q#1003R1
    M82
    N550 G65H82P550Q#1004R1
    G28Z0
    N650 G65H82P650Q#1002R1
    M81
    N750 G65H82P750Q#1005R1
    N800 M99


  • #8
    Registered
    Join Date
    Aug 2012
    Location
    India
    Posts
    4
    Downloads
    0
    Uploads
    0
    Dear angelw,
    You are right that it has to have block nos, am sorry cause I pasted it as I received it.
    Below is the way am using it precisely, cause there are conditional jumps involved.
    Thanks for correcting me angelw
    :9003
    N50G04
    N100G65H81P800Q#1000R1
    N150G65H81P800Q#1004R1
    N200G91G28Z0M19
    N225G49
    N250G65H82P250Q#1001R1
    N300M80
    N350G65H82P350Q#1006R1
    N400G30Z0
    N450G65H82P450Q#1003R1
    N500M82
    N550G65H82P550Q#1004R1
    N600G28Z0
    N650G65H82P650Q#1002R1
    N700M81
    N750G65H82P750Q#1005R1
    N800M99


  • Similar Threads

    1. A sample tool change macro.
      By gar in forum Haas Mills
      Replies: 24
      Last Post: 10-19-2012, 03:33 PM
    2. Edit Tool Change Macro Oi-MC
      By dtmtim in forum Fanuc
      Replies: 4
      Last Post: 09-21-2007, 08:34 AM
    3. O9000 Tool Change Macro
      By omkargupta in forum Fanuc
      Replies: 1
      Last Post: 09-11-2007, 05:34 PM
    4. O9000 Tool Change Macro
      By omkargupta in forum Fanuc
      Replies: 1
      Last Post: 09-10-2007, 05:41 PM
    5. Tool Change Macro
      By cncdiag in forum Mazak, Mitsubishi, Mazatrol
      Replies: 0
      Last Post: 03-26-2007, 03:20 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.