586,655 active members*
3,569 visitors online*
Register for free
Login
Page 2 of 2 12
Results 21 to 23 of 23
  1. #21
    Join Date
    Feb 2006
    Posts
    338

    Re: Sample Fanuc Tool change macro

    #100=100 should work
    If it isn't, that is a whole other issue I don't think I can help with. Fanuc settings probably.

  2. #22
    Join Date
    Dec 2012
    Posts
    71

    Re: Sample Fanuc Tool change macro

    Fixed the variables = null

    Changing the M30 to M02 showed me the variables.

    M30 stops the program and winds the tape. Leaves the machine completely reset state and clears the variables.

    M02 stops the program. Variables remain. My program complete light comes on and the green run button stays on. On pressing reset, they both go off and the variables are cleared.

    By trial and error, I found the offsets stored in #10001 etc

  3. #23
    Join Date
    Feb 2006
    Posts
    338

    Re: Sample Fanuc Tool change macro

    https://www.cnccookbook.com/fanuc-ma...d-programming/
    While the original code should also work for the first 200 offsets, replace 2000 with 10000 and 2200 with 11000
    IE.
    #[2000+#4120] -> #[10000+#4120]
    #[2200+#4120] -> #[11000+#4120]

Page 2 of 2 12

Similar Threads

  1. Fanuc OM, lost tool change macro
    By laka in forum Fanuc
    Replies: 50
    Last Post: 06-08-2022, 09:11 PM
  2. Replies: 19
    Last Post: 11-07-2019, 08:16 PM
  3. EDIT O9000 tool change macro fanuc 0M
    By mikul in forum Fanuc
    Replies: 3
    Last Post: 11-27-2012, 08:48 PM
  4. A sample tool change macro.
    By gar in forum Haas Mills
    Replies: 24
    Last Post: 10-19-2012, 08:33 PM
  5. Replies: 6
    Last Post: 09-16-2011, 01:33 AM

Tags for this Thread

Posting Permissions

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