586,630 active members*
2,754 visitors online*
Register for free
Login
Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2007
    Posts
    8

    vARIABLE #3006

    Could somebody explain the use of variable #3006 and what does the number after the equal means, for example #3006=101

    thanks

  2. #2
    Join Date
    Mar 2003
    Posts
    2932
    I assume you're talking Fanuc?

    Variable #3006 is similar to #3000, except #3000 generates an alarm, and #3006 doesn't. The number is arbitrary (3000 can use from 1 to 200), so I assume 3006 has the same limit.

    When the macro executes the following line, the message in parentheses is displayed on the CRT and the macro execution stops.

    #3006=102(JOG TOOL TO Z ZERO)

    The operator can then perform the requested task (in this case, go to Jog/Handle, and move the tool tip into contact with the z-zero of the part), then go back to AUTO/MEM and hit Cycle Start. The macro continues from the next line.

    Hope this helps.

  3. #3
    Join Date
    Jan 2007
    Posts
    8
    Thanks, for the information

    Miguel

  4. #4
    Join Date
    Feb 2007
    Posts
    592

    Exclamation Warning !

    Quote Originally Posted by dcoupar View Post
    I assume you're talking Fanuc?

    Variable #3006 is similar to #3000, except #3000 generates an alarm, and #3006 doesn't. The number is arbitrary (3000 can use from 1 to 200), so I assume 3006 has the same limit.

    When the macro executes the following line, the message in parentheses is displayed on the CRT and the macro execution stops.

    #3006=102(JOG TOOL TO Z ZERO)

    The operator can then perform the requested task (in this case, go to Jog/Handle, and move the tool tip into contact with the z-zero of the part), then go back to AUTO/MEM and hit Cycle Start. The macro continues from the next line.

    Hope this helps.
    Please note that program execution stops - BUT SPINDLE WILL REMAIN ON unless an M5 is in the preceeding line. This is used like the MSG command in non FANUC controls.

    Also I think it is a bit value ( 1 or 0 ).

    The purpose of #3000 is to allow user defineable alarms - hence the ability to apply a code# value.

    I will post examples later.

    Greg

  5. #5
    Join Date
    Mar 2003
    Posts
    2932
    Greg,

    You're right, the spindle remains on, as does the coolant, air blast, or whatever else the macro program turns on.

    My example, #3006=102(JOG TOOL TO Z ZERO) was from a proven, working macro, so it apparently isn't a bit value, because the 102 works fine. They're just user-definable messages as opposed to #3000's user-definable alarms.

    Dave

Similar Threads

  1. variable accuracy
    By thekm in forum Open Source CNC Machine Designs
    Replies: 10
    Last Post: 09-11-2006, 08:01 PM
  2. IF variable = bla THEN do this ELSE do that ?
    By iMisspell in forum G-Code Programing
    Replies: 21
    Last Post: 07-31-2006, 04:57 AM
  3. Variable transformer
    By bdillard in forum CNC Machine Related Electronics
    Replies: 8
    Last Post: 02-21-2006, 04:33 AM
  4. LoadProgram into variable?
    By murphy625 in forum CamSoft Products
    Replies: 3
    Last Post: 04-12-2005, 04:14 PM
  5. variable speed???
    By turmite in forum CNC Machine Related Electronics
    Replies: 14
    Last Post: 03-27-2004, 08:26 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
  •