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.
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?
Sub Programs M98/M99
Moderator: cnckeith
-
- Posts: 86
- Joined: Sat Feb 27, 2021 10:55 pm
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: Yes
- Allin1DC CNC Controller: No
- Hickory 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
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
Re: Sub Programs M98/M99
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.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 86
- Joined: Sat Feb 27, 2021 10:55 pm
- Acorn CNC Controller: No
- Plasma CNC Controller: No
- AcornSix CNC Controller: Yes
- Allin1DC CNC Controller: No
- Hickory 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
Ok, Thank you 

(Note: Liking will "up vote" a post in the search results helping others find good information faster)