Sub Programs

Discussion/questions about software used with your CNC Shark and programming issues

Moderators: al wolford, sbk, Bob, Kayvon

Post Reply
ruhnau
Posts: 59
Joined: Wed Nov 30, 2011 1:22 pm

Sub Programs

Post by ruhnau »

I would like to know if anyone knows of a way to loop a portion of the .tap file so that it will repeat for a specified number of times.
I tried the M codes that are needed for this, but they are unsupported by Next Wave Automation
The codes needed are as follows:
M98 P020 L 10
M98 calls up the sub program which starts at line 020 (P020) and repeats 10 times (L10)
M99 command then returns to the main program.
These commands work on Fanuc controllers but are unsupported by NWA.
Thanks
Kurt

Post Reply