I use #740-#750 variables for my program...While running program (auto mode), I can't assign it any number, it comes up "write protected". How do I disable it ?
Thanks
Similar Threads:
Is it fanuc?
You obviously want to use permanent common variables.
Do you observe the same thing for variables in a lower range, say, #500-#600?
You may test in MDI mode also.
GE Fanuc Series 16i-T,
I can't change #743=1 while running program, it notes "Write Protect", only I can change it at MDI/EDIT/MPG mode...
Thanks
Below is my ID Grind program.
ID GRIND **
#740 = Z TOP POSITION
#741 = Z BOTTOM POSITION
#742 = FEEDRATE
#743 = 1 WHEEL UP **
*********= *-1 WHEEL DOWN
*********= 2 END OF PROGRAM
#744 = INFEED
#745 = TOTAL AMOUNT TO REMOVE
#746 = DWELL
#749 = TOUCH X (ID OF THE PART)
#750 = AWAY FROM THE PART (.002)
*
*
N10
G90G54G70G97
*
N20
#749=#749-#750
M3 (WHEEL ON)
M53 (TABLE ON)
*
N30 *
#745=#745-#744
#748=#749+#744
G01 X#748 Z#740 F#742
G04 X#746
G01 X#748 Z#741 F#742
G04 X#746
#749=#748
IF [#743 EQ 1] GOTO40
IF [#745 EQ 0] GOTO40
GOTO20
*
N40 ********
G91 G54 Z1.
#743=0
M5 (WHEEL OFF)
M52 (TABLE OFF)
IF [#743 EQ -1] GOTO20
IF [#743 EQ 2] GOTO50
GOTO40
*
N50
M30
see parm 3290 bit 6
Do you mean to say that you can define / redefine these variables in MDI mode but not in AUTO mode?
If ever you come to know the reason, pl do share with us. This is unexpected. Maybe a parameter issue.
Just curious, what was #3290 set to before you set it to all 0's?
Thank you for sharing information.