Page 3 of 3
Re: Errors in GCode, Question from Newbee
Posted: Thu May 26, 2016 12:16 pm
by DanL
being able to put a script in a G code is way to cool, or even it being a script, done it once so far and it worked
Re: Errors in GCode, Question from Newbee
Posted: Thu May 26, 2016 7:42 pm
by MBad
Ok, may I say guys ...
But here something to think about.
I got it almost done with different files, different models and so on, but then .... error. I now know why and tried to adapt different PPs in Fusion.
So here is my Prob:
in only one single line of several 10000 lines I get this stupid command from the Fusion PP:
G18 G3 Z-1. R0.5, Auggie says no X coordinate present.
If I fix it manually to:
G18 G3 X0.5 Z-1. R0.5 if the X coordinate before is e.g. 0 all works.
I looked at the pp and it may use i,j,k or R. But I do not find the output for the above line .... strange as always. Its JAVAScript and looks good, but in the pp nothing is written to pop out the R-command without x,y,z.
Is this possible to fix in it Auggie, or is this in general an invalid line from the PP ... I am not experienced enough ....
I tried also i,j,k, but then I shouted out the f***-word, seeing, that Auggie calls this KWord..... :-\
See comments I made in this complex YT-video: I got some answers from Timothy, but they do not help yet...
https://www.youtube.com/watch?v=dutGuwoJ9qY
Re: Errors in GCode, Question from Newbee
Posted: Thu May 26, 2016 9:09 pm
by ArtF
Hi:
>>18 G3 Z-1. R0.5, Auggie says no X coordinat e present.
Whats the exact text displayed or number of the error? I cant find one that says "X coodinate missing?" , is it worded
differently?
Thx
Art
Re: Errors in GCode, Question from Newbee
Posted: Fri May 27, 2016 12:58 pm
by MBad
Hi Art,
the following error code: "45:11:82 Error in load at line 17424 : Error:-38 "
in the line 17424:"Line 17424: No XY in Arc on XY Plane.
And if you look at the attached png you see one lonely blue circle which is wrong.
I also attached the gcode, so you could reproduce the error, if you have time ....
Re: Errors in GCode, Question from Newbee
Posted: Fri May 27, 2016 1:27 pm
by ArtF
Hi:
If you download the dev version this probem should be gone, turns out I hadn't turned on the
plane selection....
Art
Re: Errors in GCode, Question from Newbee
Posted: Fri May 27, 2016 1:33 pm
by ArtF
By the way, this is a summer development version, so ignore the dxf module for now, its in
half completed tear down at the moment..
Art
Re: Errors in GCode, Question from Newbee
Posted: Sat May 28, 2016 1:12 pm
by MBad
Ok Thanks,
now it works but I got one over speed error, not a big deal because it might be, because of some canned gcode commands. I try to adapt now the PP. The problem, as mentioned in the video of Timothy is, that you can not really test a PP in detail, because the paths through the software will vary with the commands of Fusion, depending on the parameter you may switch in the CAM. . So it might be, that it works mostly, but not always. I use now the generic fanuc style, because it is much more versatile.
One Prob stays with Auggie:
M6 command: when I want to make a tool change, Auggie does not stop, even when I get the message of a new tool change. I could do this by a pause in teh PP, but it would be nice to have it selected by Auggie. Is this possibel with a script? In MACH3 you can select 3 options: 1. do not care, 2nd Stop spindle etc., 3rd ATC. I need at least the 2nd one.
I feel bad, asking so much questions you have to suffer from, but sorry I am not a Laser guy at the moment ....
When I have finished my investigations I will share it with you. Perhaps in a new thread?
One other thing I found out was, that testing the Gcode in Mach3 "Offline Mode" (not on my CNC-Computer) it does strange virtual movement, which I do not get on the CNC-Computer, so I had also to deal with that strange thing ... I am sure it is written somewhere in the docs ... but time is hobby....
Re: Errors in GCode, Question from Newbee
Posted: Sat May 28, 2016 1:25 pm
by ArtF
Hi Michael:
Its true, I hadnt worked with M6 yet to make a way to stop for that command to do whatever is necessary. I think all
I need to do is to add a stop so the program stops for user action if he wishes. Ill look into that shortly, I am away
for the next two weeks, but Ill add such a thing when I return.
Thx
Art
Re: Errors in GCode, Question from Newbee
Posted: Sat May 28, 2016 9:02 pm
by DanL
for now turn M1 on
Re: Errors in GCode, Question from Newbee
Posted: Mon May 30, 2016 9:41 pm
by ArtF
Hi All:
I just updated Auggie to version 1.5 , an M6 will now stop it, as will an M1, but you can tell any scripted m code or gcode to stop
by adding Engine.StopProgram(); to any script..
Art
Ill now be away for the next 2 weeks, have fun..
Art