Hello Guest it is May 15, 2021, 01:36:25 PM

Author Topic: First Mach 4 program  (Read 124 times)

0 Members and 1 Guest are viewing this topic.

First Mach 4 program
« on: December 21, 2020, 06:47:45 PM »

Below is a simple square that I want to run as a test part. I am using Camworks Professional and they have a Mach 4 post processor. When I try running this program it stops at N4.

N1 G00 G17 G20 G49 G90
N2 T01 M6
N3 S11764 M3
N4 G00 G54 X4.3242 Y-1.9654
N5 G43 H01 Z1.
N6 Z.1
N7 G41 D1 G01 X4.2323 Y-2.0573 Z.0994 F20.
N8 G03 X4.225 Y-2.075 Z.0993 I.0177 J-.0177
N9 G01 Y-2.1 Z.0992 F20.
N10 Y-4.225 Z.09
N11 X-.025 Z.0714

Blah Blah you don't care
N57 G3 X4.2323 Y-3.477 I.025 J0
N58 G40 G01 X4.3242 Y-3.569
N59 G00 Z.1
N60 Z1.
N61 G00 G91 G28 Z0.
N62 G00 G91 G28 Y0. M5
N63 G90
N64 M30

Is there something I am missing on this? Thanks

Re: First Mach 4 program
« Reply #1 on: December 22, 2020, 03:26:35 AM »
Check he history line at the bottom, maybe your trying to run out of the softlimits. Or you don’t have a motion controller setup. Unfortunately your at the point that your going to get more questions that answers.

We can start simple. Can you jog the machine?
Fixing problems one post at a time ;)


Offline thosj

  •  433 433
    • View Profile
Re: First Mach 4 program
« Reply #2 on: December 22, 2020, 08:38:16 AM »
Questions like:

Why is the Z moving in this "simple square"?
In the control, is there a diameter value in the tool table for T1?
Is there enough of a move in N7 to APPLY said diameter value, really half of it?

With that said, I'm not sure if the Z move in the line that applies the comp (N7) is valid or not, but as Brian said, the history line should give some clue.

I'd suspect the issue is NOT in N4, but further down!!