Could somebody explain the use of variable #3006 and what does the number after the equal means, for example #3006=101
thanks
Could somebody explain the use of variable #3006 and what does the number after the equal means, for example #3006=101
thanks
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.
Thanks, for the information
Miguel
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
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