You are not logged in.
Pages: 1
I am trying to configure the Haas Minimill ctl to process the M97 Pxxxx internal sub call. Would someone be so kind as to tell me what I need to do to have the ctl file process this. Currently getting the Error: Cannot locate subroutine 97 for call.
%
---
---
---
M97 P1000
---
---
---
M30
(---SUB PROGRAM---)
N1000
---
---
---
M99
%
Offline
You might want to try:
...
...
M97 P1234
...
M30
...
O1234 (Letter O is SubroutineSequence .. N is only Sequence)
...
...
M99
I inserted the M97 P1234 after N0020 block using "showroom\haas\haas_minimill.VcProject" and appended the O1234 ... M99 blocks at the end.
Works just fine.
If you really need "N" at the start of a subroutine then change the Control file and make "N" the same as "O".
Jerry Millett
Offline
Hi jsmillett, that's correct by changing the N to an O for the sub the Minimill.ctl file will process it as an internal sub, but the actual control will not. The sub has to have the N instead of the O, otherwise when the program is loaded into the Haas control it will register the subs as seperate programs. Then you have to change the M97 to M98 or the O to N and reload. I will try and make the N the same as the O in the ctl file and see what happens. I'm very green when it comes to customizing the ctl files, earn while you learn.
Offline
ok I added the "SubroutineSequence" from >Specials>O* to >Specials>N* it did call the sub and run it unfortunately with other errors. The G70 bolt hole circle, G68 coordinate rotation and my While loops no longer work correctly ?. Guess I need to do some reading.
Offline
Pages: 1