Hello Guest it is March 28, 2024, 08:44:57 PM

Author Topic: Mach and Closed Loop DRO Operation  (Read 3952 times)

0 Members and 1 Guest are viewing this topic.

Mach and Closed Loop DRO Operation
« on: May 18, 2015, 02:44:21 PM »
Does either Mach3 or Mach4 have the ability to monitor the output of servo or stepper shaft encoders in order to better assure axis positional accuracy and motion control?

If not, is it correct that the Mach DRO displays operate on the basis of Mach commands rather than rely on feedback directly from the machine being controlled?



Offline ger21

*
  • *
  •  6,295 6,295
    • View Profile
    • The CNC Woodworker
Re: Mach and Closed Loop DRO Operation
« Reply #1 on: May 18, 2015, 03:06:29 PM »
No, and yes.
Gerry

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

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

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Mach and Closed Loop DRO Operation
« Reply #2 on: May 18, 2015, 05:02:20 PM »
It depends.
There are controllers that work with Mach which will do that. The CSMIO/IP-A is one and I think Galil, DSPMC and probably Kflop with K analog also.
The one thing they all have in common is they control analogue (+/- 10v) command drives/amplifiers. There are Step/Dir controllers that update Machs DROs from encoder position, the Hicon being one but I am not sure if it actually closes the loop itself or just uses the encoders for position update.

The CSMIO/IP-A controls the analogue command to the servo drive to keep the axis on course, it knows the position by reading the encoder from the motor, it then updates Machs position DROs with that information. Even if the servo drives are disabled the DROs in Mach will always be updated even if you rotate the motors manually, assuming of course that the encoders are still powered.
Hood
Re: Mach and Closed Loop DRO Operation
« Reply #3 on: May 18, 2015, 07:39:33 PM »
I'm using a CNC Drive DG4S-16035 - DC Servo Drive which has differential inputs for my 2 phase quadrature encoder. The DG4S expects step and direction inputs from MACH and uses the encoder to close the loop between the motor to the servo drive.

However, there is no encoder information available beyond the servo drive units. 

It's interesting and slightly troubling to turn off the dc power to the servo motors, watch the mill completely stop, yet Mach continues running G Code and updating the DRO displays like all is good.

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Mach and Closed Loop DRO Operation
« Reply #4 on: May 18, 2015, 07:51:17 PM »
You need to have the fault signal from your drives in an E-Stop chain so that Mach knows a drive has faulted. It is also advisable to incorporate the fault signals into a hardware E-Stop chain as well.
Hood
Re: Mach and Closed Loop DRO Operation
« Reply #5 on: May 18, 2015, 08:07:21 PM »
Yes, the fault signal will become part of both a hardware stand alone E-stop and the logic-E-stop before the machine is put into operation. Currently it's in a test configuration while the mechanical issues are identified and corrected.