Help with Post Processor...

Post anything you want to discuss with others about the software.

Help with Post Processor...

Postby krsykes23 » Thu Oct 03, 2024 1:36 pm

Hi all,

I'm trying to add a couple of macro calls in my post processor, but can't get them to work.

I'm using SheetCam with the UCCNC post processor. I've edited this but obviously got something wrong. Basically, I've added M218 (Park) and M202 (Reset Timer), both of which work if entered in the MDI.

I added the two lines under the M5 and M30.....

function OnFinish()
post.Text (" M05 M30\n")
post.Text (" M202\n") --Park
post.Text (" M218\n") --Reset Timer
end

These show correctly when I post G-code....

xxxxxx
xxxxxx
Z1.5000
G01 Z0.5000 F100.0
G03 X-9.5459 Y-9.5459 I9.5459 J9.5459 F400.0
G00 Z5.0000
G53 G0 Z0
M05
M05 M30
M202
M218

What am I doing wrong?
krsykes23
 
Posts: 43
Joined: Wed Apr 27, 2022 9:29 am

Re: Help with Post Processor...

Postby ger21 » Sun Oct 06, 2024 6:11 pm

They need to be before the M30.
M30 rewinds to the beginning, so your M202 and M218 never get called.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Help with Post Processor...

Postby krsykes23 » Mon Oct 07, 2024 4:03 am

Thanks Gerry. Rookie error.....I knew it'd be simple!

Cheers.
krsykes23
 
Posts: 43
Joined: Wed Apr 27, 2022 9:29 am


Return to General discussion about the UCCNC software

Who is online

Users browsing this forum: No registered users and 17 guests