Mach4-swiftcut post processor

Hi,

I have a swiftcut machine.
When I generate the g code, regardless of the tool/consumable im using, the g code gives it a number of 3. When I try and run the code on the swiftcut, the tool known as 3, is the 45amp consumable. So it won’t run if the fine cut consumable is in. Is there any way sheet cam can alter this in the code?

For the g code to run, I need fine cut to be tool 2, 45amp tool 3, and 65amp as tool 4

Many thanks

What post processor are you using?

Mach4 - swiftcut

Sorry, I should have looked at the thread title. Looking at the post, you should have a ‘Tool type’ option in your tool definition. That controls the tool number.

Yes but it always comes out as 3 in the code, even when I put a different number in?

Could you set up a job ready to post process and confirm the tool number is wrong. Then save the job (File->save job as). If you let me have a copy of the job file I’ll take a look and see if I can figure out what is wrong.

ok no problem. Thankyou
test.job (62.7 KB)

I found the problem. I have attached a fixed version of the post. Save the attachment to your computer then double clcik on it. SheetCam should start and automatically install the post. Now restart SheetCam and check iof it works for you.
Mach4 Swiftcut.scpost (7.7 KB)

Just bought the software. The machine isn’t using the lead ins though, it’s starting its pierce on the cut line even though in the software there are lead ins. Any ideas?

That sounds like your pierce delay is too short. The torch is starting moving before it has pierced.

I’ve changed the pierce delay to 1 second and it’s still doing it. It was working ok until you sent me the patch/update

Try changing the tool type to 3. If it now works the problem is probably in your Mach4 configuration.

Sorry, I might not be being clear.

I downloaded the demo version, I manually changed the tool type to 2 in the g code so it would work. I ran a test through the demo version that worked fine. I then contacted yourself who has sent me a patch that changes the tool type. Which works but now won’t cut the lead ins. If I go back to changing the tool to type 3, I would then have to go back into the g code to change it back to type 2, as that is the tool that the machine recognises as fine cut

I had a good look at the post and cannot see anything that could stop it outputting lead ins.
At the start of the cut, does the torch follow the lead in before it starts piercing?

I found the problem. As far as I can see, the post has always had this problem. That’s why I didn’t spot the issue before. I was only looking at stuff I had changed.
Mach4 Swiftcut.scpost (7.71 KB)