VERICUT Users' Forum

Due to relentless spammers, we are no longer automatically accepting new forum registrations. If you wish to register for this forum, please send an e-mail to: info@cgtech.com

You are not logged in.

#1 2009-02-25 22:50:47

Ed209
Member
Registered: 2008-05-27
Posts: 7

Haas M97 Pxxxx call ?

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

#2 2009-02-26 14:48:15

jsmillett
Member
From: Chatsworth, CA
Registered: 2005-02-25
Posts: 42

Re: Haas M97 Pxxxx call ?

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

#3 2009-02-26 18:13:09

Ed209
Member
Registered: 2008-05-27
Posts: 7

Re: Haas M97 Pxxxx call ?

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

#4 2009-02-26 20:11:48

Ed209
Member
Registered: 2008-05-27
Posts: 7

Re: Haas M97 Pxxxx call ?

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

Board footer