My machine has a Mcode that puts it in service mode witch allows me to run the spindle with the door open. Polish and knock burs off threads and such. At the end of my programs I set the gear, rpm and direction before the M30 so I can execute the Mcode in MDI and hit spindle start all is good.
I can only get the machine to take this code in MDI. In auto it just sits there and does nothing no alarm or anything.
OK so I'm thinking it's a protected code and just won't read it in automatic. Parameter setting maybe idk?
Then I thought I wouldn't call that code in auto but try to hid it in a custom M code. M499 has the gear range, direction and RPM and the code. Works perfectly in MDI but in auto same shit.
The reset button cancels service mode returns it back to normal operating condition. The funny thing is that I can start a program in automatic mode with the machine already in service mode condition and it runs without issue until the M30 witch then takes again out of service mode.
Anybody have any ideas how to get around this?
Thanks as always fellas...
Brent
Edit: control Fanuc Oi-TD
I can only get the machine to take this code in MDI. In auto it just sits there and does nothing no alarm or anything.
OK so I'm thinking it's a protected code and just won't read it in automatic. Parameter setting maybe idk?
Then I thought I wouldn't call that code in auto but try to hid it in a custom M code. M499 has the gear range, direction and RPM and the code. Works perfectly in MDI but in auto same shit.
The reset button cancels service mode returns it back to normal operating condition. The funny thing is that I can start a program in automatic mode with the machine already in service mode condition and it runs without issue until the M30 witch then takes again out of service mode.
Anybody have any ideas how to get around this?
Thanks as always fellas...
Brent
Edit: control Fanuc Oi-TD
Last edited: