Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 09:42:30 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  General Mach Discussion
| | |-+  Different responses from two computers running the same gcode
Pages: 1   Go Down
Print
Author Topic: Different responses from two computers running the same gcode  (Read 263 times)
0 Members and 1 Guest are viewing this topic.
rexdc
Active Member

Offline Offline

Posts: 4


View Profile
« on: December 26, 2011, 11:42:26 PM »

I am new to using mach3 and I have a problem in that I am using one computer (my laptop) to check gcode file and do testing on for scripts and the other to actually run my CNC router. one computer will read a gcode file differently than the other computer. The following code was load to the two computers.  This basically cuts a circle a little over 1 inch and .1 inch deep.  On my laptop this code runs properly but on the CNC router computer it somehow adds the     I-0.552 in line 5 to the diameter of the circle causing the end result to be an elongated x axis on the circle.  By changing line 5 to read G03 X0.552 Y0 I0 J0 F5 the cnc router will cut the circle properly.  Has anyone got a cue to what I am doing to cause this problem?
G00 X0 Y0 Z1 F5
M03
G00 X0.552 Y0
G01 Z-0.1 F5
G03 X0.552 Y0 I-0.552 J0 F5
G00 Z1
G00 X0 Y0
M05
M30
Logged
Picengraver
Active Member

Offline Offline

Posts: 82


View Profile
« Reply #1 on: December 27, 2011, 12:12:34 AM »

Is the IJ (Gen. Config.) mode the same on both computers?

Regards,
John Champlain
www.picengrave.com
Logged

rexdc
Active Member

Offline Offline

Posts: 4


View Profile
« Reply #2 on: December 27, 2011, 01:00:41 PM »

Thanks John that was the problem.   I had looked at the Gen Config file earlier but missed the IJ mode box.  I a greatful to you for the help!
Logged
Hood
Active Member

Online Online

Posts: 17,368


Carnoustie, Scotland


View Profile
« Reply #3 on: December 27, 2011, 01:19:24 PM »

It is a good idea to have the IJ mode set in the first line of your code, that way it will never be wrong for that particular code.
Hood
Logged
rexdc
Active Member

Offline Offline

Posts: 4


View Profile
« Reply #4 on: December 28, 2011, 11:40:08 AM »

That sounds like and excellent idea, the omly problem here is that I am a newby, so help me with a clue with that line of code.
Logged
Hood
Active Member

Online Online

Posts: 17,368


Carnoustie, Scotland


View Profile
« Reply #5 on: December 28, 2011, 02:16:10 PM »

G90.1 is Abs IJK mode and G91.1 is Inc IJK mode.
Hood
Logged
rexdc
Active Member

Offline Offline

Posts: 4


View Profile
« Reply #6 on: December 28, 2011, 03:16:33 PM »

Thanks so much for the help.  There are some nice guys in the world.  Sincerely, I do appreciate the help.  I am having some fun with this,  it marries two of I passions, computers and woodworking.  I've already tackles some screen mods for Mach3 and they actually work!  Been doing a lot of reading and some trials, not unlike some other programming I have done in the past, as i get a better understanding of mach3 and g-code this will be a lot of fun.  Thanks again to both of you.
Logged
Hood
Active Member

Online Online

Posts: 17,368


Carnoustie, Scotland


View Profile
« Reply #7 on: December 28, 2011, 03:57:12 PM »

Thats what its all about, having fun Smiley
Hood
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!