- Posts: 6
- Thank you received: 0
Having Issues getting G code file to run
- ts_engraving
- Offline
- New Member
-
Less
More
12 years 5 months ago #47259
by ts_engraving
Having Issues getting G code file to run was created by ts_engraving
When I create my G code file using V Carve Pro and bring it into EMC2 to run on my Sherline Milling machine, when I hit run nothing happens and I don't know why. I sometimes get an error telling me that there is no tool available or other times an issue about a tool change that I don't understand why it is looking for a tool change when I only intended use one tool. It is getting rather frustrating. I'm using the right post processor as near as I can tell. Can someone point me in the right direction. I have a CNC engraver that I use V Carve Pro to create my G code file and import into Mach3 and have no problems with it. I just don't understand what is so different that it won't work when I want to use the milling machine and choose the post processor for EMC2.
Thanks.......Terry Wade.....T's Engraving,llc
Thanks.......Terry Wade.....T's Engraving,llc
Please Log in or Create an account to join the conversation.
- alan_3301
- Offline
- Premium Member
-
Less
More
- Posts: 136
- Thank you received: 22
12 years 5 months ago #47260
by alan_3301
Replied by alan_3301 on topic Having Issues getting G code file to run
try the mach3 post processor or a generic one.
even if there are no tool changes it will probably call the first tool.
linuxcnc should just pop up a window saying insert tool 1 and click ok.
if that is no help, try entering the gcode line by line into the MDI box and see what line gives you an error.
It is most likely something in the header and not the actual gcodes, so you should find your problem in the first few lines.
even if there are no tool changes it will probably call the first tool.
linuxcnc should just pop up a window saying insert tool 1 and click ok.
if that is no help, try entering the gcode line by line into the MDI box and see what line gives you an error.
It is most likely something in the header and not the actual gcodes, so you should find your problem in the first few lines.
Please Log in or Create an account to join the conversation.
- ts_engraving
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
12 years 5 months ago #47263
by ts_engraving
Replied by ts_engraving on topic Having Issues getting G code file to run
I have tried the Mach3 processor once before and EMC2 didn't seem to like that. I figured out how to enter a tool but now I sometimes get the issue about a tool change. I just want to see the milling machine run with a G code file that I created. I know it will run manually and I can use the EMC2 like a digital read out but I bought this mill to engrave some smaller items and also to make some smaller parts. Very frustrating right now. Will try a couple of things I thought of in a little while.
Please Log in or Create an account to join the conversation.
- alan_3301
- Offline
- Premium Member
-
Less
More
- Posts: 136
- Thank you received: 22
12 years 5 months ago #47264
by alan_3301
Replied by alan_3301 on topic Having Issues getting G code file to run
just remove everything in the header and add
g17
g20
g40
g49
g90
g94
then to the end of the file add
M2
that is a basic header to cancel all compensation, use XY Plane, and feed units in inches. replace g20 for g21 if you use millimeters.
see how that works.
g17
g20
g40
g49
g90
g94
then to the end of the file add
M2
that is a basic header to cancel all compensation, use XY Plane, and feed units in inches. replace g20 for g21 if you use millimeters.
see how that works.
Please Log in or Create an account to join the conversation.
- ArcEye
- Offline
- Junior Member
-
Less
More
- Posts: 22
- Thank you received: 240
12 years 5 months ago #47281
by ArcEye
Replied by ArcEye on topic Having Issues getting G code file to run
Hi
You asked about post processors a while back and I wonder if you ever found the ones cncbasher posted (they are not obvious, buried in the wikis)
The page is here wiki.linuxcnc.org/cgi-bin/wiki.pl?Cam_Post
The post processors are here
wiki.linuxcnc.org/uploads/Linuxcnc_mm.pp
wiki.linuxcnc.org/uploads/Linuxcnc_inch.pp
They should output Linuxcnc compatible code
regards
You asked about post processors a while back and I wonder if you ever found the ones cncbasher posted (they are not obvious, buried in the wikis)
The page is here wiki.linuxcnc.org/cgi-bin/wiki.pl?Cam_Post
The post processors are here
wiki.linuxcnc.org/uploads/Linuxcnc_mm.pp
wiki.linuxcnc.org/uploads/Linuxcnc_inch.pp
They should output Linuxcnc compatible code
regards
Please Log in or Create an account to join the conversation.
- ts_engraving
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
12 years 5 months ago #47560
by ts_engraving
Replied by ts_engraving on topic Having Issues getting G code file to run
Earlier when I was asking about the post processors was at a time I didn't know that they were already there in the V-Carve program. Once I found them that problem was resolved. I just finally got the chance to try what Alan_3301 suggested this morning and I had no success. When I hit the run button it hi-lighted a line of code and did nothing. It says its running but nothing is moving and when I try to get out of it, it says the interpreter is still running. I guess what I don't understand is how long does it take from when I hit the run button to when things start to move. When I load one of the sample files it takes off immediately when I hit the run button. I guess I was expecting the same kind of response with my file, does it take a while for it to react? Maybe I'm not giving it enough time to get started.
Please Log in or Create an account to join the conversation.
Time to create page: 0.993 seconds