After a plug-in and firmware update all is well in the estop world. I have the X Y and Z axes running pretty well. Z still needs a little fine tuning, but very close.
Two hurdles left to jump.
First, the Z axis brake. With the servo drives set to torque mode they apply zero torque with no input signal. This is bad news when the Z axis brake is the only thing that holds the Z axis up and it's reaction is delayed. It seems that when Mach is reset, the PID goes down before the outputs, so when the enable signal goes off to the drive the Z is already on it's way down. Moving the Z to an output from the dspmc has not helped, it has solved the problem of the servo drive not activating the brake in estop tho. Currently I don't see a way around this one...suggestions from anyone are very much appreciated.
Second, the spindle. The spindle needs to run as both a spindle and a rotary axis. As I understand the dspmc is capable of this. I have the spindle defined as gcode axis with index 5, or same as the C axis. I also have the C axis set up to use Machxx as an input and DAC Ch 5 and Encoder Ch 5 as inputs. I can see the encode input working well. I have also added a button and an M Code (both effectively push button 255) to deactivate the C axis as this is necessary to use it as a spindle, then reactivate to use as an axis. I've made several attemps to get a voltage signal or some movement as an axis with no luck so far. I did get a voltage signal when I switched the Spindle to 0-10v with index 7. The manual states that to use it as a G Code axis it needs to be 0-5 tho. This is kind of an important function as the spindle indexes the tool changer. As before, any help from anyone is greatly appreciated.
Thank you,
TOM