I have several programs from a prior machine that were written in conversational programming. All these can be converted to G code simply,but when it comes to sub routines, the protocol is different than G code. I know that M98 calls the sub and m99 is the end of the sub, but where is the file actually placed? What would the correct syntax look like?
I know that the subs for the ATC have to be in the same folder as the program you are trying to run.
I pulled this off of the Masso Rapid change info. Not sure if it helps
You should be able to name it “600.nc” naming and then edit your program where it calls up your sub to the new name.
Additionally, make sure the main .nc and required sub program .nc files are in the same folder on the USB.
https://docs.masso.com.au/supported-m-codes/m98-and-m99-sub-program-call
Thanks, that helped a lot. I couldn’t get it to work because I didn’t use the "P"to call up the file, so it just skipped those lines.
Still having trouble. After putting all the files in the right place, the main program will not come up. I get an error that says “no sub programs found”. I don’t follow…..any thoughts?