I recently bought a vertical cnc mill controlled by sinumerik 810M GA3.
The battery had gone dead, and the machine had been disconnected for a long time, so the memory was dead. The PLC program was included in paper print format, so i was luckily able to restore that, but all the machine data was missing, so i've been playing around with it and gotten almost everything to work perfectly. Except for the spindle.
The spindle is powered by a servo motor with a 1024cpr encoder, hooked up to a servo amp much like the ones that control the axis servos. The servo amp takes a +/- 10V input which corresponds to 6000rpm rotation in either direction.
The problem is, it doesn't matter which velocity i enter in the sinumerik, it always sends out 7.5V, which gives 4400rpm.
The machine data which controls this is 4030, which specifies how many rpm's are produced at 10V output (6000).
I have tried assigning the spindle measuring circuit to a axis instead, and when i do this i can run it at any velocity just fine, so the servo amp and analog output seems to work just fine. I'm pretty sure it's a configuration issue.
On the spindle diagnosis screen it's possible to see the velocity command the sinumerik is supposed to use, it's -8192 to 8192 for -10 to 10V. If i enter 50rpm, the value is ~68, which should be correct, and correspond to 82mV, but for some reason it still sends out 7.5V
Sorry for the kind of long post, but i wanted to include as much details as possible.
I've been through the sinumerik documentation many times, but the answer still eludes me.