G code is not working...

More
15 years 11 months ago #5334 by andypugh
What error is it giving? I suspect that it is an arc-centre error?

You might find that a G91.1 helps, the G-code is using relative arc-centres and it is possible that your EMC is in absolute.
www.linuxcnc.org/docview/html//gcode_main.html#sec:G90.1,-G91.1

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago #5335 by axel88
Replied by axel88 on topic Re:G code is not working...

your offsets are not correct

What does that mean for the postprocessor? What do i have to change to correct this.

I'm sorry, but I'm far away from knowing what I'm doing.:unsure: I just found a "Post Builder" in the NX6 Start Menu which is a gui to edit an create post builders. Is there a chance to get this working without any experience with gcode and postbuilders?

So far I found out how to:
-Change gcode "numbers"
-set Feed Rate, Linear Axis Travel Limits, Linear Motion Resolution, Home Position
-create/modify start and end sequences

Axel

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago #5337 by andypugh
BigJohnT wrote:

The error is pretty clear your radius is off for your arc by a whole bunch.


I checked it in Excel and it seemed spot-on to me, but only in incremental mode.

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago #5338 by andypugh
axel88 wrote:

So far I found out how to:
-Change gcode "numbers"
-set Feed Rate, Linear Axis Travel Limits, Linear Motion Resolution, Home Position
-create/modify start and end sequences


Arc centre tolerance is 0.0002" or 0.002mm so you probably need to make sure that the preprocessor outputs positions to at least that accuracy.

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago #5339 by axel88
Replied by axel88 on topic Re:G code is not working...
In my postprocessor is defined:

G90 Absolute Mode
G91 Incremental Mode

and that's the same as in the documentation.

For 90.1 and 91.1 i can't find any defenition in the Post Builder.

Linear Motion Resolution is set as 0.0075mm so if i don't know how to influence the preprocessor could i raise this value?

Axel

Please Log in or Create an account to join the conversation.

More
15 years 11 months ago #5340 by andypugh
axel88 wrote:

In my postprocessor is defined:G90 Absolute Mode
G91 Incremental Mode
and that's the same as in the documentation./quote]

That is for linear moves so sets a different thing.

For 90.1 and 91.1 i can't find any defenition in the Post Builder.


I think EMC2 is unusual in allowing you the choice of how to define IJK arcs. Your postprocessor clearly works in incremental arcs, so it might be enough just to add G91.1 to the header block.
The first experiment required would be to add it by hand at the beginning of that G-code and see if it helps.

Linear Motion Resolution is set as 0.0075mm so if i don't know how to influence the preprocessor could i raise this value?


You need to make it smaller. .001 would be better. Knowing nothing at all about Unigraphics I don't know if you can change it.

Please Log in or Create an account to join the conversation.

Time to create page: 0.329 seconds
Powered by Kunena Forum