Error: Mixed radius ijk format for arc

More
18 Mar 2017 12:11 #89853 by Fullonico
Hi everyone,

I'm new in the CNC world and I'm giving my first steps with LinuxCNC. This is also my first post in the forum and I'm not sure if this is the correct place to expose my question, but, here I go...

I am getting the error "Mixed radius ijk format for arc" when I am trying to run a g code for a 2 1/2 Axis Profiling.
Here is the g code file:

File Attachment:

File Name: 21_2AxisProfiling.ngc
File Size:19 KB


The error line is: N9 G02 X6.47949 Y114.32214 I6.47949 J110.32214 K0. R4.

However, when I run LinuxCNC with the same 3D file but with a g code for a V-Carving everything goes well.
Here is the V-Carving file:

File Attachment:

File Name: V-Carving.ngc
File Size:43 KB


The 3D files is simple, is the word "Rhino".

I did other test for example with a 2D spiral... when the gcode is for a 2 1/2 Axis Profiling I got a lot of lines with IJK but when is for a engraving, even being the same 2D spiral, the LinuxCNC runs without problem.

Spiral files:

File Attachment:

File Name: Spiral_21_...ling.ngc
File Size:53 KB

File Attachment:

File Name: SPIRAL_Engraving.ngc
File Size:78 KB


My workflow is: Rhino3D > RhinoCAM > LinuxCNC. My Post Processor in RhinoCAM is for "EMC-Sherline-MM".

I really appreciate any kind of help. I am in this situation for a while, so I am open to every type of tips.

Thanks a lot.
Attachments:

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

More
18 Mar 2017 17:57 #89863 by Todd Zuercher
An arc command will have either ijk or r words but not both. I am surprised any can program would do that.

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

More
18 Mar 2017 20:10 #89866 by Fullonico
Hi, thanks for your reply.

So, according with what you said, the IJK and the R should be in the same command...

I went to see the RhinoCAM config for the EMC Post and I saw where to choose If I want IJK and R or IJK only. As default was cheked IJK and R. Now with only IJK the new gcode for the same 3D file don't have the IJK mixed with the Radius :)

Tomorrow I will run the machine and test it. Let's see how will be.

Thanks for your help :)

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

More
20 Mar 2017 02:48 #89921 by Todd Zuercher
No, there should never be an R on a line that uses I, J, or K, or there should never be an I, J, or K on a line using R.
R arcs is one separate way of defining an arc move (called Radius Format Arcs.)
linuxcnc.org/docs/2.6/html/gcode/gcode.html#_radius_format_arcs
I,J,K is an other way (called Center Format Arcs.)
linuxcnc.org/docs/2.6/html/gcode/gcode.html#_center_format_arcs

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

Time to create page: 0.084 seconds
Powered by Kunena Forum