Rembrandt
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Store
eMastercam Wiki
Blogs
Gallery
Events
Posts posted by Rembrandt
-
-
Good evening,
I am a mechatronic major from the Netherlands interested in CAM programming for our project. I stumbled upon a problem, every post processor that comes with HSMWorks CAM software does not include G0, G1, G2 or G3 in front of a new line. The code needs to be used for milling in Repetier Host on a delta robot.
Lets look at this simple code;
G2 Y-36.503 R1.83G1 X42.G3 Y-32.843 R1.83G1 X-42.G2 Y-29.184 R1.83G1 X42.G3 Y-25.525 R1.83G1 X-42.G2 Y-21.866 R1.83G1 X42.G3 Y-18.206 R1.83G1 X-42.G2 Y-14.547 R1.83G1 X42.G3 Y-10.888 R1.83G1 X-42.G2 Y-7.229 R1.83G1 X42.G3 Y-3.569 R1.83G1 X-42.G2 Y0.09 R1.83G1 X42.G3 Y3.749 R1.83G1 X-42.G2 Y7.409 R1.83G1 X42.G3 Y11.068 R1.83G1 X-42.G2 Y14.727 R1.83G1 X42.G3 Y18.386 R1.83G1 X-42.G2 Y22.046 R1.83G1 X42.G3 Y25.705 R1.83G1 X-42.G2 Y29.364 R1.83G1 X42.G3 Y33.023 R1.83G1 X-42.G2 Y36.683 R1.83G1 X42.G3 Y40.342 R1.83G1 X-42.This is used for leveling the top part, operation (FACE).As you can see G1, 2, and 3 are there and used correctly and repetitive.As soon as it writes the code for a new operation, (2D CONTOUR), it does not include G0, 1, 2 or 3 at all times.G0 X0. Y42.G1 Z47. F1000.Z37.Z33. F500.Z20.X-42. F1000.Y-42.X42.Y42.X0.Z47.These operations programmed with HSMWorks CAM software are basic, non-complex operations to test our software Repetier if it can handle this code. Today I found out if I put G1 in front of all lines like this:G0 X0. Y42.G1 Z47. F1000.G1 Z37.G1 Z33. F500.G1 Z20.G1 X-42. F1000.G1 Y-42.G1 X42.G1 Y42.G1 X0.G1 Z47.Repetier is able to understand everything that HSMWorks post processes but not if the post processor doesn't include the correct G code in front of every new line. All operations after (FACE) do not include G1, 2, 3 codes so they won't be recognized by Repetier. The operation (FACE) automatically has the correct G-codes put in front of every line.
Is there a possibility to get a .cps ( post processor ) that includes these G-codes so Repetier can make sense out of it? I am new to CAM programming and everything to it. This may be a simple unchecking a box somewhere.
All code written above comes from tinyg.cps Generic TinyG. The code processed plus the solidworks(2014-15) model haven't been attached to this post because I am not permitted..
I hope to hear from you soon!
Jordi van Es
Post processor doesn't use G0, G1, G2 or G3
in Post Processor Development Forum
Posted
Thank you for your reply, honestly didn't notice that ..
The .cps files come with the program, they are standard, but none of them seem to put the G-code in every other new created line over and over again.