NOTE: Nesting of macro M functions is allowed. Recursive calls are not: if a macro M function calls
itself, the default action of the function will be executed.
Cheers,
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
cncsnw wrote: ↑Thu Apr 11, 2019 11:10 pm
On March 26th, Marty wrote:
So I understand this issue is resolved.
In your custom M3 macro, your were calling an M3, which put CNC12 V4.14 in a loop and forced 4.14 to exit, rather than calling the output to turn on the spindle and the appropriate time with in the custom M3 macro.
Why it it seemed to work in 4.12 is anyone's guess.
The intended design (at least in all past versions of CNC7, CNC10 and CNC11, as far as I know) is that if you call the same M function from within an M function macro, you get the default (built-in) action.
This should be the result any time there is M function recursion, whether it is direct or indirect. For example, if your mfunc3.mac calls M41, and your mfunc41.mac calls M3, then the latter should result in the default M3 action, rather than a recursive call to the first macro.
If this has stopped working as intended in CNC12 v4.14, then that is a bug that needs to be fixed.
bug has been squashed! fix will be in 4.16
4.14 was freaking out if you called an M3 in inside of an M3.... work around is ...don't do that... OR spell out the M3 you are trying to call inside the M3 by using the base code it is made of.. M94/1 etc...
I don't know if this is a 4.14 bug or not. I received my Mill Pro license on April 2, but did not install it because I was in the middle of my controller build. I got the controller more or less built, upgraded to 4.14 and tried to install the Mill Pro license. I get a message that the upgrade was successful, but Setup tells me I still have "CNC12 Free." I went through the license upgrade process several times, after several power cycles on the Acorn and restarts of 4.14 chasing other issues, but no luck.
Right, I misordered Lathe Pro on-line, realized my mistake immediately and emailed diysales@centroid.com to see if they could correct my mistake. I thought they had, but as you point out, no. Can I swap a Mill License for the Lathe license that does me no good?
As for screen size, I'm using a laptop until I get the machine together, then I'll upgrade the entire computer setup.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
I upgraded to the V4.14 a few days ago and have used it since the upgrade with no issues. Today I tried to make a small coaster with a small vcarving in the bottom. It did a pocket cut fine and when I loaded the vcarve file, it drew a complete picture of the file and started cutting. After almost 3 minutes it just stops. I ran it a few times and it stops in the same area. The file for the vcarving , I have used several times with no issues in a larger size. I have tried reloading the file, remaking the file, rebooting everything, using a different part of the CNC table to make the cut and just air cutting. Every time it stops at the same location. I am not seeing any errors pop up in Acorn, the G code just stops running and sits there.
The machine is a Chinese 4X8 router with steppers. The gcode was created from vcarve pro using the Centroid PP.
I also noticed that a couple of my gcode files that I was using just prior to the upgrade now will not work and I get a popup that says there is an invalid character in the first line. They worked fine with the older version. Anyone have any ideas what to look for ?
After posting, I came out and loaded another file and had it cut air for about 15 minutes with no problems. I then deleted the entire vectric file and redrew it from scratch. This created a new starting point. It cut the pocket then when it cut the vcarve file it cut a different area than the previous attempt and cut about twice as long but eventually the spindle stopped moving again and just spun.
I pretty much have ruled out it being the vectric file. I don't believe it is the machine. It appears to be in the upgraded cnc 12 program.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
bmilam wrote: ↑Thu May 02, 2019 5:10 pm
After posting, I came out and loaded another file and had it cut air for about 15 minutes with no problems. I then deleted the entire vectric file and redrew it from scratch. This created a new starting point. It cut the pocket then when it cut the vcarve file it cut a different area than the previous attempt and cut about twice as long but eventually the spindle stopped moving again and just spun.
I pretty much have ruled out it being the vectric file. I don't believe it is the machine. It appears to be in the upgraded cnc 12 program.
hello. what is the error message on the screen when it stops?
There isn’t any. The screen shots are what it shows when it has stopped. It just stops moving. Leaves the spindle running and the gcode just stops scrolling. I got aggravated and needed to get some work done so I uninstalled the new version and reinstalled the older and using the same gcode, it ran fine.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)