Hello Guest it is June 26, 2019, 03:03:24 PM

Author Topic: Strange Problem- Never seen before  (Read 3057 times)

0 Members and 1 Guest are viewing this topic.

Offline khalid

*
  •  213 213
    • View Profile
    • My Wood carving
Strange Problem- Never seen before
« on: July 12, 2010, 10:17:46 AM »
Hi,
Today i was calibrating my Y-axis slide... After calibration i started Mach3...Put G00 Y12 in MDI command line... The motor moved to exact 12mm.... But when I put in MDI G00 Y0.. The motor didn't moved.. When I entered G00 Y-12 motor moved to G00 Y0 (ie original position)... Why this happen?
Any thig wrong in settings?

Offline ger21

*
  • *
  •  6,266 6,266
    • View Profile
    • The CNC Woodworker
Re: Strange Problem- Never seen before
« Reply #1 on: July 12, 2010, 11:14:37 AM »
You're in Incremental mode instead of Absolute. Try G90
Gerry

2010 Screenset
http://www.thecncwoodworker.com/2010.html

JointCAM Dovetail and Box Joint software
http://www.g-forcecnc.com/jointcam.html

Offline khalid

*
  •  213 213
    • View Profile
    • My Wood carving
Re: Strange Problem- Never seen before
« Reply #2 on: July 12, 2010, 12:06:04 PM »
Hi Gerry.. You are right, To run G02 and G03 moves i set the IJ mode to incremental but the Distance mode is Absolute... If i do not change IJ mode to Incremental i get the error in Mach3 for trochoidal tool paths...
Re: Strange Problem- Never seen before
« Reply #3 on: July 12, 2010, 05:40:18 PM »
I don't think it's the IJ incremental/absolute mode that is the issue.

A mismatch between GCode assumption and the IJ incr/abs setting can cause the "wrong way loops" that people see. The default IJ mode is controlled by the General config settings. The IJ mode can also be switched within a gcode program by G90.1 (IJ abs) and G91.1 (IJ incr).

Whether coordinates, and hence movement, is incremental or absolute is independent of the IJ setting. 

Absolute coordinate mode is set by G90 and incremental coordinate mode is set by G91.

Dave
Author of the MachStdMill Extensions for Mach3
www.CalypsoVentures.com

Offline khalid

*
  •  213 213
    • View Profile
    • My Wood carving
Re: Strange Problem- Never seen before
« Reply #4 on: July 13, 2010, 10:13:13 AM »
Its working now...
G90 G01 Y12

I don't know why this problem happen..I never put G90 before...

Offline Hood

*
  •  25,847 25,847
  • Carnoustie, Scotland
    • View Profile
Re: Strange Problem- Never seen before
« Reply #5 on: July 13, 2010, 05:15:36 PM »
Its working now...
G90 G01 Y12

I don't know why this problem happen..I never put G90 before...


Possibly some previous code had a G91 in it and it never got changed back to G90.
Hood