#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.
#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.
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
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]