Spindle Slave Position Error <resolved>
Posted: Thu Jun 06, 2024 9:16 am
I posted about this in my build thread, but it's got me stopped in my tracks at the moment and I'd like to try to move forward today, so bumping it up.
I've built a simple program in intercon on my lathe. I'm taking 5mm off a piece of delrin, 10mm long. That's the whole program. When I run it, the tool gets into position and the machine faults with a Spindle Slave Position Error.
I've looked through the forum and this seems to be related to trying to take too fast a cut. However, I don't think I'm doing that. My spindle is set to 800rpm and I'm taking 0.25mm/rev which works out to a relatively slow 50mm/min. My Z axis motors are set to a max of 800mm/min, and I can definitely move it faster than 50mm/min when jogging.
Here's a video of what it's doing:
and here's the fault: Here's the report I generated yesterday:
My spindle is a Teknic MCPV motor, so I do have a fair bit of control over that. I have the motor set to a max speed of 3000RPM. It's belted to the spindle at a 2:1 ratio, so I should get a max of 1500 on the lathe. Spindle motor acceleration is set to 1000rpm and deceleration is set to match that speed in the Teknic MSP software.
I'm using a Koyo TRD-SHR2500V5D encoder from automation direct. I've got the Wizard's encoder count set to 10,000 (4x 2500 pulses). A tachometer tells me that the speed reported by CNC12 is correct (It's set to report the speed from the encoder), so the encoder does seem to be working.
I have also tried slowing the feed rate *way* down, to 0.025mm/rev, but get the exact same error.
So what might cause this to happen? it doesn't seem like I'm pushing the machine to go too fast.
I've built a simple program in intercon on my lathe. I'm taking 5mm off a piece of delrin, 10mm long. That's the whole program. When I run it, the tool gets into position and the machine faults with a Spindle Slave Position Error.
I've looked through the forum and this seems to be related to trying to take too fast a cut. However, I don't think I'm doing that. My spindle is set to 800rpm and I'm taking 0.25mm/rev which works out to a relatively slow 50mm/min. My Z axis motors are set to a max of 800mm/min, and I can definitely move it faster than 50mm/min when jogging.
Here's a video of what it's doing:
and here's the fault: Here's the report I generated yesterday:
My spindle is a Teknic MCPV motor, so I do have a fair bit of control over that. I have the motor set to a max speed of 3000RPM. It's belted to the spindle at a 2:1 ratio, so I should get a max of 1500 on the lathe. Spindle motor acceleration is set to 1000rpm and deceleration is set to match that speed in the Teknic MSP software.
I'm using a Koyo TRD-SHR2500V5D encoder from automation direct. I've got the Wizard's encoder count set to 10,000 (4x 2500 pulses). A tachometer tells me that the speed reported by CNC12 is correct (It's set to report the speed from the encoder), so the encoder does seem to be working.
I have also tried slowing the feed rate *way* down, to 0.025mm/rev, but get the exact same error.
So what might cause this to happen? it doesn't seem like I'm pushing the machine to go too fast.