Geometric
Plastic
- Joined
- Feb 22, 2019
- Location
- Colorado, USA
Hello everyone,
(some background)
I recently purchased a Hyundai Kia (WIA)? SKT210sy with a FANUC 18i-TB (sub spindle, live tool, y axis, 2006) I got a great deal on it because it needed some work and I have already gone through and got a lot of things worked out. I have it running to the point that I can do turning and milling on the main spindle. So far all the problems have been parameter/control related not mechanical. (I am also spending a lot of time editing a post for it.)
My immediate question relates to the sub spindle synchronization process:
I am trying to sync the spindles in the most basic way just commanding them in MDI.
The main spindle uses M03/M04 for CW/CCW and the rotation makes sense to me. (I am using left hand tools, insert faces the operator, M04 direction)
The sub uses M113/M114 for CW/CCW, if you command M04/M114 the spindles spin in opposite directions. (they would try to twist your part into a twizzler)
This makes sense to me, I mean they are facing each other and both are rotating CCW. (from the chuck's perspective looking out toward the part) Is this what you would expect from a sub spindle lathe, to command M04,M113 to get them spinning together?
When I command:
G97 S50 M04
S50 M114
M160 (s1,s2 speed synchronization)
The spindles rotate counter to each other at first but when it sees the M160 the sub reverses and they spin together. At the M160 the program hangs. (presumably waiting for a speed sync signal)
If I command
G97 S50 M04
S50 M113
M160
The spindles spin together, then at the M160 the sub reverses and they are spinning in opposite directions. The control still hangs waiting for a signal.
I have had the two sync with the first program (M04+M114) and not hang, but only a couple times and it seems intermittent. It seems like monkeying with the prox sensors on the sub might have caused some change in behavior, but it's hard to tell.
The other intermittent behavior is that at the M160 command the sub runs away and tries to spin to 6k rpm until I hit the reset button.
Once this happens if I try it again it does the same thing (ramps up to max) every time.
At this point I:
I cycle power on the control and get- 9087 SPN2 : S-SPINDLE ERROR (AL-087)
I cycle power on the control again and get-750 SPINDLE SERIAL LINK ERROR
I cycle power on the control again and it goes back to the original behavior of seemingly syncing the spindles but hanging at M160.
I just wanted to throw this out there and see if anyone has any ideas for me to try.
One of the things that I was told was "broken" when I bought this machine was the "turret alignment", and that it "wouldn't hold tolerances".
Turns out that whoever was screwing around in the parameters had changed the parameter for the turret motor's encoder type to incremental. It is definitely an absolute encoder, and the battery on the drive was dead. After I got a new battery, switched those parameters to match the drive/motor and reset the home position the turret is dead on and definitely holds tolerances.
I am giving this example because it seems to me that if someone did that then who knows what else they could have done. ie. is the sub running backwards or something?
Thanks for taking a look, I would be grateful for any suggestions. I'm sorry this is such a long post but it doesn't seem to be a simple problem to explain...Certainly I have no idea what is going on.
Also, if someone happens to have a more complete list of M-codes for this machine that would be very helpful. I have the hyundai operation manual but it is nowhere near complete.
-Nick
(some background)
I recently purchased a Hyundai Kia (WIA)? SKT210sy with a FANUC 18i-TB (sub spindle, live tool, y axis, 2006) I got a great deal on it because it needed some work and I have already gone through and got a lot of things worked out. I have it running to the point that I can do turning and milling on the main spindle. So far all the problems have been parameter/control related not mechanical. (I am also spending a lot of time editing a post for it.)
My immediate question relates to the sub spindle synchronization process:
I am trying to sync the spindles in the most basic way just commanding them in MDI.
The main spindle uses M03/M04 for CW/CCW and the rotation makes sense to me. (I am using left hand tools, insert faces the operator, M04 direction)
The sub uses M113/M114 for CW/CCW, if you command M04/M114 the spindles spin in opposite directions. (they would try to twist your part into a twizzler)
This makes sense to me, I mean they are facing each other and both are rotating CCW. (from the chuck's perspective looking out toward the part) Is this what you would expect from a sub spindle lathe, to command M04,M113 to get them spinning together?
When I command:
G97 S50 M04
S50 M114
M160 (s1,s2 speed synchronization)
The spindles rotate counter to each other at first but when it sees the M160 the sub reverses and they spin together. At the M160 the program hangs. (presumably waiting for a speed sync signal)
If I command
G97 S50 M04
S50 M113
M160
The spindles spin together, then at the M160 the sub reverses and they are spinning in opposite directions. The control still hangs waiting for a signal.
I have had the two sync with the first program (M04+M114) and not hang, but only a couple times and it seems intermittent. It seems like monkeying with the prox sensors on the sub might have caused some change in behavior, but it's hard to tell.
The other intermittent behavior is that at the M160 command the sub runs away and tries to spin to 6k rpm until I hit the reset button.
Once this happens if I try it again it does the same thing (ramps up to max) every time.
At this point I:
I cycle power on the control and get- 9087 SPN2 : S-SPINDLE ERROR (AL-087)
I cycle power on the control again and get-750 SPINDLE SERIAL LINK ERROR
I cycle power on the control again and it goes back to the original behavior of seemingly syncing the spindles but hanging at M160.
I just wanted to throw this out there and see if anyone has any ideas for me to try.
One of the things that I was told was "broken" when I bought this machine was the "turret alignment", and that it "wouldn't hold tolerances".
Turns out that whoever was screwing around in the parameters had changed the parameter for the turret motor's encoder type to incremental. It is definitely an absolute encoder, and the battery on the drive was dead. After I got a new battery, switched those parameters to match the drive/motor and reset the home position the turret is dead on and definitely holds tolerances.
I am giving this example because it seems to me that if someone did that then who knows what else they could have done. ie. is the sub running backwards or something?
Thanks for taking a look, I would be grateful for any suggestions. I'm sorry this is such a long post but it doesn't seem to be a simple problem to explain...Certainly I have no idea what is going on.
Also, if someone happens to have a more complete list of M-codes for this machine that would be very helpful. I have the hyundai operation manual but it is nowhere near complete.
-Nick