Need to turn 90 degs.

More
14 years 9 months ago #16875 by andypugh
Replied by andypugh on topic Re:Need to turn 90 degs.
cwebs wrote:

When I tried the G10, I tried to test it in Mach3 Sim

Yes, well, that will be because Mach3 and EMC2 are different. RS274 is a rather loose "standard"
In Mach3 there is no R in a G10.
Both take a P word to specify which coordinate system is to be shifted. It might be that you need a P in both Mach3 and EMC2, or EMC2 might default to the current coordianate system if it is omitted, I am not sure.

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

More
14 years 9 months ago #16909 by cwebs
Replied by cwebs on topic Re:Need to turn 90 degs.
After trying the G10 L2 R90 in EMC2 I get the same error as in Mach3, P out of range.
When using Cambam to see the cut lines over half of them are missing. However in Mach3 and EMC2 all the cut lines are shown. Mach3 shows some rapid moves that go way off the project and I think that may be the "P" problem. However, I don't know what P is for. This file is a TXT file and I don't know how to clean up the moves that don't need to be there. Text file is all I have. No DXF or anything else. Carl

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

More
14 years 9 months ago #16911 by BigJohnT

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

More
14 years 9 months ago #16932 by andypugh
Replied by andypugh on topic Re:Need to turn 90 degs.
BigJohnT wrote:

linuxcnc.org/docview/2.5/html/gcode/gcod...em_a_id_sec_g10_l2_a

Which says you probably want G10 L2 P0 R90
You could, however, set up G55 (for example) to be your rotated coordinate system, and leave it rotated permanently.

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

More
14 years 9 months ago #16949 by cwebs
Replied by cwebs on topic Re:Need to turn 90 degs.
andypugh wrote:

BigJohnT wrote:

linuxcnc.org/docview/2.5/html/gcode/gcod...em_a_id_sec_g10_l2_a

Which says you probably want G10 L2 P0 R90
You could, however, set up G55 (for example) to be your rotated coordinate system, and leave it rotated permanently.



P0 still comes back "P out of range". Oh Well.

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

More
14 years 9 months ago - 14 years 9 months ago #16951 by andypugh
Replied by andypugh on topic Re:Need to turn 90 degs.
cwebs wrote:

P0 still comes back "P out of range". Oh Well.

Looks like the docs are wrong, or don't match your version.
If you are in G54 , use P1 and all should be well (I just checked that, and it works)
Last edit: 14 years 9 months ago by andypugh.

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

Time to create page: 0.135 seconds
Powered by Kunena Forum