GCode Problem

More
29 Feb 2020 13:42 - 29 Feb 2020 13:43 #158809 by romeofox
GCode Problem was created by romeofox
Hello,

probably the solution is totally simple, but I can't figure it out. I try to get the following code running in the LinuxCNC simulator (Gmoccapy):
%
(TESTKLOTZV3)
(T2  D=10. CR=0. - ZMIN=-1. - SCHAFTFRSER)
N10 G90 G94 G17 G91.1
N15 G21
N20 G53 G0 Z0.
(PLANEN1)
N25 T2 M6
N30 S30000 M3
N35 G54
N40 G0 X47.425 Y-41.559
N45 G43 Z20. H2
N50 G0 Z5.
N55 G1 Z0. F1398.                        ; <--- this line is the problem!
N60 G18 G3 X46.425 Z-1. I-1. K0.
N65 G1 X41.5

At the selected line it will hang without error messages.

If I enter the lines one by one into the MDI, it works without problems.
Can anyone of you help?

Many thanks
Robert
Last edit: 29 Feb 2020 13:43 by romeofox.

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

More
29 Feb 2020 15:18 #158815 by MaHa
Replied by MaHa on topic GCode Problem
Had some work today anyway, so gave your code a try on a real machine, Axis UI. Added % or M2 at the end.
As the code was running, it seems i am no help.
Starting Linuxcnc from Terminal, sometimes useful info available. In this case, nothing important, only program lines appeared among some returned values from emcTaskPlan.
The following user(s) said Thank You: romeofox

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

More
29 Feb 2020 15:45 #158817 by PCW
Replied by PCW on topic GCode Problem
Same here, the code runs fine on LinuxCNC 2.9 / Axis
The following user(s) said Thank You: romeofox

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

More
29 Feb 2020 16:45 #158821 by bbsr_5a
Replied by bbsr_5a on topic GCode Problem
changing coordinate system on a 3 axis from G17 to G18 inisde a Main plane movement is not alowed in any Control i know
only on safe place mainsetup like G53 move as it is in
but it moves beond in G17 and then gets a g18 call
The following user(s) said Thank You: romeofox

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

More
29 Feb 2020 18:57 - 29 Feb 2020 18:57 #158835 by romeofox
Replied by romeofox on topic GCode Problem
Wow, thanks for even trying that.

If I comment out the line N25 T2 M6, everything goes wonderfully.

Why? I don't know...
Last edit: 29 Feb 2020 18:57 by romeofox.

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

More
01 Mar 2020 09:40 #158879 by tommylight
Replied by tommylight on topic GCode Problem
Check your hal file, the toolchange part, it seems the "tool is changed" is not connected or missing.
Sorry cant be more detailed, it's been quite some time since i did toolchangers.

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

Time to create page: 0.072 seconds
Powered by Kunena Forum