Sub Programs M98/M99

A place to discuss and ask questions about all things Machining for Mills, Lathes, Laser, and Routers

Moderator: cnckeith

Post Reply
bleiler60
Posts: 86
Joined: Sat Feb 27, 2021 10:55 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: E415F6F2C7C9-0211214367
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Quincy, MA

Sub Programs M98/M99

Post by bleiler60 »

I've been reading through the Macro programming manual trying to get a better understanding of how macro's work and came across this example.
Capture.PNG

The last line has me stumped. What is 9100?
There is no mention of 9100 in the example until the last line.

Does this call O9101 & O9102?
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Sub Programs M98/M99

Post by cncsnw »

Yes. It is assumed in the example that the tool-number system variable (#4120) holds either 1 or 2, so the expression [#4120 + 9100] evaluates to either 9101 or 9102.
bleiler60
Posts: 86
Joined: Sat Feb 27, 2021 10:55 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: E415F6F2C7C9-0211214367
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Quincy, MA

Re: Sub Programs M98/M99

Post by bleiler60 »

Ok, Thank you ;)
Post Reply