I am looking to incorporate an extra safety feature into the tool change macro on a Doosan hm1000 with fanuc31i. It has a fixed tool magazine, so a tool management screen is provided to allow the operator to disable adjacent pots when using oversize tooling. Murphy's law, however, dictates that at some point in the future the operator will fail to do this, so I want m6 to check that this has been done before putting the tool away.
The tool number is manually erased in the tool management screen to allow the pot to be disabled, and I have located the corresponding variables in EXEC macros from #11200 onwards. I believe the system is set to use pcode variables rather than system variables (don't know if this has any bearing on the issue), and trying to read/write to #11200 onwards gives me 'out of range' error...although values can be overwritten manually in macro register.
Is there any way to access these variables from the program? Is it possible the values are also stored somewhere else that is accessible?