7802
« on: August 19, 2012, 04:30:40 PM »
Was testing out the threading in simulation to see what it looked like but kept getting Resets whenever it came to the threading code. Couldnt understand as I had previously run some code from Mach that seemed to work. After a while the penny dropped, I had M4 for my code but the previous Mach code had M3. I changed my code to have a M3 in it and it ran fine so that was definitely the issue. That forced me to make up a relay board to invert the 0-10v analogue output from the CSMIO so that my spindle would actually reverse and sure enough the code ran fine whether there was a M3 or M4.
There still seems to be the delay in pullout at the end of the thread but it did seem faster sometimes more than others, suppose it will only be on a part that I will know for sure if its ok or not.
I also thought I would disable the servo drive so I could rotate the motor by hand and that way the CSMIO would see the encoder and hopefully thread. It seemed to track very well even though the revs were jumping around all over the place but again only cutting a real part would let me know for sure how good it was tracking.
One last thing I did was use the spindle override whilst a thread was being done and again the Z seemed to track the rotations nicely.
Hood