Hello Guest it is April 25, 2024, 06:49:20 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Attila

Pages: 1
1
General Mach Discussion / Getting DRO values out of Mach3
« on: December 04, 2013, 12:06:44 AM »
Dear Forum,

I have a problem ever since I use my milling machine controlled by Mach3 with steppers (Tormach PCNC). Every now and then the machine "forgets" its position, usually the Z position, but sometimes the X and Y, too. After this of course the part is destroyed and Mach doesn't give any indication that anything happened. I guess because it is an open loop system and it is how it suppose to behave.
I've checked everything over the years from cables, software, optimizing computer, checking post processor, etc. This issue still comes up often enough so I cannot leave the machine alone, which is not too convenient.

I want to fit encoders to the stepper motor shafts and compare the values to the DRO values in Mach3. When there is a big enough error the machine would just stop. Of course this comparison needs to happen outside Mach3, because otherwise the whole veryfying wouldn't make sense.

It seems easy enough to get the signals from the encoders, etc, but how to get the current position out of Mach3?

If anyone would have an answer I'd appreciate it so I wouldn't need to learn the whole Mach programming interface.

Best Regards
Attila

Pages: 1