Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: mdash on July 18, 2007, 03:08:34 PM

Title: Set Machine Coordinates in VB or G-code
Post by: mdash on July 18, 2007, 03:08:34 PM
Is it possible to set the machine coordinates to a desired value (without homing the axis)?

I have tried SetOEMDRO(1024,some_value) but the Machine Coord DRO is read only.

I have also played with #5161, G10, G52, G92.  These all only affect the Workoffset.

If it is not possible I will just have to settle for using G52 to compensate.
Title: Re: Set Machine Coordinates in VB or G-code
Post by: jimpinder on July 19, 2007, 04:54:06 AM
I am still learning so pardon me asking - why ??? On Mach3 turn you can jog to a suitable point - usually a known place on your workpiece and then zero the co-ordinates, so the program knows where it is.

I cannot see why you want to introduce co-ordinates from the program, when the table doesn't know where it is ???

Or are you trying to do a shadow of your original cut merely by moving the start co-ordinates ?? (I just though of that !!)