586,068 active members*
3,807 visitors online*
Register for free
Login
IndustryArena Forum > MetalWorking Machines > HURCO > KM-1 losing position?
Results 1 to 17 of 17
  1. #1
    Join Date
    Mar 2007
    Posts
    84

    KM-1 losing position?

    Ok so after over a year of sitting idle I fired up my old Hurco KM-1 to work on a project.

    Everything seemed ok to start with, but once in a while it would seem to lose it's position. I scrapped a couple of parts I was making and really couldn't find a reason why.

    Well tonight it happened right before my eyes. The X shifted position to the + direction by approx .125" and the Z shifted in the - position (yikes!) by almost .200"!

    It mainly seems to happen after the machine has moved to a different position during a rapid.

    If I remember right I think these machines have optical encoders on them with hall effect sensors.

    I'm going to pull the covers off the servo drives tomorrow night after I get off work and take a look see. Other than possibly blowing out any dust/debris out of the encoders and checking the wiring to make sure nothing is loose, is there anything else I should check? Any common problems with these encoders?

    The servos definitely need to be tuned as they are slightly erratic and rough sounding at times - kinda like just a little tiny "hiccup" that really doesn't seem to do anything other than affect the surface finish a little bit. They seem to be that way especially on slow movement.

    Oh, and on that note, I swear it seems like the erratic motion in the Y axis is affected by whether or not the coolant is turned on. Coolant on, servo seems smoother.

    I don't think that the erratic movement has anything to do with my current encoder problem since they've been doing that since I got the machine almost 3 years ago.

    Then again, maybe it does. I'm still way new at this stuff, so maybe I am missing something. How do you tune the servos on these things anyway?

    Thanks,
    Michael

  2. #2
    Join Date
    Jun 2008
    Posts
    1104
    It may be you have dirty glass on the encoder. If you take off the little cover, you should be able to clean the glass with a cotton bud.
    Try to slow the rapids to see if the fault improves.

    Set up the amps as follows (assuming you have a BX 0.0001" control):

    Start by powering up the servos and winding the gain pot CW until the axis oscillates, then wind it back until the oscillation stops plus a further three turns.
    Wind the Tach. pot fully CW then back eight turns. wind the Sig. pot fully CW then back about five turns. Put your meter on DC volts and measure the voltage at the brown and orange wires on the edge of the amp being checked (or between pins 8 & 9 on the relevant channel on the servo board).
    Jog the axis forward and backwards at 25IPM and adjust the Sig. pot for 0.65v in both directions (use the Bal. pot to even things up about centre i.e 0.64v one way and 0.66v the other can be balanced to get 0.65v both directions).
    If there is not enough adjustment on the Sig. pot, wind the Tach. pot CW one turn and try again. When you have 0.65v in both directions, wind the Gan. pot CW until the axis just becomes unstable then back it off 3 turns.

  3. #3
    Join Date
    Mar 2007
    Posts
    84
    Quote Originally Posted by bloke View Post
    It may be you have dirty glass on the encoder. If you take off the little cover, you should be able to clean the glass with a cotton bud.
    Try to slow the rapids to see if the fault improves.

    Set up the amps as follows (assuming you have a BX 0.0001" control):

    Start by powering up the servos and winding the gain pot CW until the axis oscillates, then wind it back until the oscillation stops plus a further three turns.
    Wind the Tach. pot fully CW then back eight turns. wind the Sig. pot fully CW then back about five turns. Put your meter on DC volts and measure the voltage at the brown and orange wires on the edge of the amp being checked (or between pins 8 & 9 on the relevant channel on the servo board).
    Jog the axis forward and backwards at 25IPM and adjust the Sig. pot for 0.65v in both directions (use the Bal. pot to even things up about centre i.e 0.64v one way and 0.66v the other can be balanced to get 0.65v both directions).
    If there is not enough adjustment on the Sig. pot, wind the Tach. pot CW one turn and try again. When you have 0.65v in both directions, wind the Gan. pot CW until the axis just becomes unstable then back it off 3 turns.
    Hi Bloke..

    This is a KM-1, so it has a B control. Is it the same procedure or something different?

    How do you slow down the rapids? I know how to do this when jogging the machine around, but when running a program the machine rapids on it's own. The table program knob has no effect during rapids.

    Thanks,
    Michael

  4. #4
    Join Date
    Jun 2008
    Posts
    1104
    For a B control, set the amps to 0.9v (900mv) at 25IPM.
    go to data block 0.1 and look for the rapid traverse parameter. It should currently be 250IPM. Try reducing it to 50IPM and run the program again.

  5. #5
    Join Date
    Mar 2007
    Posts
    84
    Quote Originally Posted by bloke View Post
    For a B control, set the amps to 0.9v (900mv) at 25IPM.
    go to data block 0.1 and look for the rapid traverse parameter. It should currently be 250IPM. Try reducing it to 50IPM and run the program again.
    Okay, I'll give it a shot. I've never accessed data block 0.1 before, but I think I know how to get into it.

    As for the voltage measurement, I am assuming I measure the voltage across the same pins as the BX boardset?

    Are all of the rest of the instructions you gave for the BX control the same as the B?

    Thanks very much for the advice.

    Michael

  6. #6
    Join Date
    Jun 2008
    Posts
    1104
    Yes. They are the same for both except for the signal voltage.

  7. #7
    Join Date
    Mar 2007
    Posts
    84
    Quote Originally Posted by bloke View Post
    Yes. They are the same for both except for the signal voltage.
    Okay, thank you! I will work on it tonight.

    Michael

  8. #8
    Join Date
    Mar 2007
    Posts
    84
    Ok, so here's my results so far:

    I took the covers off all the axis drives and looked inside. I cleaned the encoder discs with rubbing alcohol and q-tips.

    I did find that the bottom opto limit switch for the Z axis was not working. Turns out the spindle had somehow flung grease into it. So I cleaned that out and now the opto seems to work.

    However, now that I've cleaned that out something else kinda strange is going on. When I start the machine I put the knobs in auto, then press "table zero" so the table moves to the zero position. Afterwards, I press "Tool Cal" to zero the Z axis. Well now, after the Z returns to the "retract" position and then moves back down a little like it's supposed to, the Z axis does not read "0.00" It now reads "32.768"

    The interesting thing here is that 32768 is the exact number that results from 32K of memory. 1024 x 32 = 32768. I find this to be extremely suspicious, especially since most of the problems I have been having with the machine losing position is on the Z axis.

    Now I'm wondering if I actually have a corrupted bit in the data block 0 portion of the memory, or a problem with a memory board, or whatever. When I bought this machine it had a CMC systems tape emulator board and a 64K upgraded memory board. Except I've been running the 33a1 master which is for 32K machines. I don't know of another master that can take advantage of the full 64k on the board. Doesn't make any sense to me.

    So my thought was to press the reset switch on the memory board to clear everything. The only problem with that is that the DOS laptop I used to save and load programs, along with the master, died. So I didn't press it.

    BUT.. In the process of poking around in there, the servos suddenly went out of control and bottomed out in the zero position. That made me have to clean out my underwear! I hit the E stop and then shut down the power. Once I turned it back on the CRT simply said "Load Master"

    So now I'm screwed. I have to find an old computer to put DOS on, get the emulator software and get a master. I know that Buddy at AMTS has masters available for download, along with DOS and windows emulator software. Unfortunately the emulator board that's in the computer doesn't seem to work with the windows version of the software I got from CMC before they went under. I don't know if the windows emulator software from AMTS will work either. Otherwise I could just do it from this computer I am using now. Assuming it ran ok under XP.

    On a side note: Buddy at AMTS is a good guy. He's helped me before and I think he's a valuable resource for helping keep these old Hurco machines alive. If I ever do have to spend any $$ on stuff to keep her running, he will be the first place I go. Hopefully everyone else does too.

    Anyway, on the bright side, it really looks like my problem with losing positions has nothing to do with the hardware. It's probably a poor connection at one of the boards or the ribbon cable, and/or some corrupted memory.

    I have had trouble in the past with the little 16pin IC to IC ribbon cable before, maybe it's time to just make a new one.

    Unfortunately I didn't get to try tuning the servo boards yet. Now I have to get the master reloaded, etc. Sigh.

    Oh, and for what it's worth, it looks like the machine has Westamp servo boards in it.

    Thanks,
    Michael

  9. #9
    Join Date
    Jun 2008
    Posts
    1104
    If the axes jumped madly and you lost the master, it's likely you'll need to clean the ribbon cable that connects all the boards together. When you get the master back in, give it a tap with the servos on. I bet the axes jump.

    If you have Westamps fitted, ignore the above advice on setting up the amps - that's for Randtronics servos. I'll dig out the setups for your amps in a while.

    As for the number that appears on the display after tool cal, you'll need to have a "tool in spindle" set and a tool programmed in data block 0 to make this figure disappear.

  10. #10
    Join Date
    Jun 2008
    Posts
    1104
    WESTAMP SERVO AMP SET-UP

    Test Equipment Required: Digital Volt Ohm Meter (DVM)
    Procedure for Adjustment:
    Verify all amplifier board mounting screws have star washers installed. Install if necessary.
    Preset Pots as follows:

    WEST AMP
    a.) AUX Full CCW
    b.) SIG Full CCW Then CW (8) turns.
    c.) TACH Full CW.
    d.) TC Full CW Then CCW (4) turns.
    e.) CLM Full CW.
    f). BAL Full CW then 8 Turns CCW.

    Measure with a DVM at SJ2, SJ3, or SJ4, pins 8 & 9, of the Servo Control
    PCB.
    With no command, adjust the BAL Pot to yield minimum steady DAC voltage of (+/-.009 to .000vdc)
    Adjust BAL by continuing to turn CCW. Look for the lowest steady voltage possible.

    Command 25 IPM feedrate as displayed on CRT. Adjust SIG Pot for 0.900 VDC at J2, J3, J4, pins 8 & 9.

    Check while jogging in both directions, then adjust if necessary, so both
    directions are within .90 VDC to .92 VDC.
    The TC Pot adjustment may interact with the SIG Pot adjustment. The BAL adjustment will minimize the difference in voltage measured in this step when comparing movement in one direction to the other direction. It may be necessary to repeat the above to get good readings.
    Axis Connector + Pins -
    X SJ-2 8-9
    Y SJ-3 8-9
    Z SJ-4 8-9
    Adjust the Sig Pot to achieve 0.900 VDC out of the DAC while jogging the axis at 25 IPM.
    If an imbalance of voltage occurs, adjust the Balance Pot to get both directional ± voltages within
    .050 VDC of each other.

    DAC is measured at pins 8 & 9 of the relevant channel on the servo control PCB in the card rack. Normally, the wires will be coloured clear and black.

  11. #11
    Join Date
    Mar 2007
    Posts
    84
    Quote Originally Posted by bloke View Post
    WESTAMP SERVO AMP SET-UP

    Test Equipment Required: Digital Volt Ohm Meter (DVM)
    Procedure for Adjustment:
    Verify all amplifier board mounting screws have star washers installed. Install if necessary.
    Preset Pots as follows:
    Thank you for that information. Buddy at AMTS has a Westamp servo tuning guide online, but I don't think it's as detailed as that.

    It would not surprise me in the least if the bottom ribbon cable has developed a poor connection. Those edge style of connectors are notorious for that. Really poor design decision, especially for something that will be susceptible to vibration. I used to collect classic arcade games and these things were always giving trouble.

    Oh, and another thing I forgot to mention. I was unable to get access to data block 0.1 to change the rapid speed. Does such a block exist on my ancient B control?

    Thank you for your help and time!
    Michael

  12. #12
    Join Date
    Jun 2008
    Posts
    1104
    Data block 0.1 was available right from the beginning of B series controls. it contains program parameters.

  13. #13
    Join Date
    Mar 2007
    Posts
    84
    Quote Originally Posted by bloke View Post
    Data block 0.1 was available right from the beginning of B series controls. it contains program parameters.

    Ok, so how do I get into it? If I press enter/adv and then 0, I get data block 0, which is where the table offset, tool information, etc, is entered.

    I tried pressing enter/adv and then 0.1. I also tried .1, etc. I just ended up back at data block 0.

    Thanks,
    Michael

  14. #14
    Join Date
    Jun 2008
    Posts
    1104
    You should be able to access it in the same way as data block 0 but by pressing 0.1 instead of 0.

  15. #15
    Join Date
    Mar 2007
    Posts
    84
    Quote Originally Posted by bloke View Post
    You should be able to access it in the same way as data block 0 but by pressing 0.1 instead of 0.
    Hmmm.. That's exactly what I tried. I wonder why it didn't work?

    Michael

  16. #16
    Join Date
    Mar 2007
    Posts
    84
    Update!

    Ok, so I took lightly squeezed all the edge connectors with a pair of pliers to tighten things up a little.

    I checked over all of the cables very carefully. I paid particular attention to areas where the cable bundles enter and exit the waterproof conduit running from the control to the servos. I didn't find anything there.

    I reseated *every* ribbon cable and molex connector in the machine.

    I came up with a solution for the loose dip socket cables - the one that goes from the two boards and the one that goes up into the control head. I used some machined pin IC sockets. Insert the socket into the board, then insert the cable into the socket. Worked great. The connections there are nice and tight now where they used to be a little suspect. At first I tried regular ol' cheapie sockets - no good. The pins are too short to really do any good so they end up being almost as flimsy as the original setup. The machined pin sockets have longer legs and tighter tolerances on the socket side. They were the answer without having to desolder the OE sockets from the boards, make new cables, etc.

    I got my hands on an old 486 laptop, stuck my hard drive from the failed laptop in it and reloaded the master. So far so good.

    I zeroed all the axis and hey! Guess what? The Z axis doesn't read 32.786" after zeroing it anymore. It now reads 0.000 like it's supposed to. Woo Hoo!

    On a side note, I also noticed that the little toothed timing belts and run the encoder shafts seemed kind loose to me. I could flex the belts up and down and show a .001" position change in the crt readout. So I tightened them up. Not mega tight, but tight enough so that they would only deflect about 1/8 - 1/4" under moderate pressure.

    I loaded the part program I had been running and ran it dry. Hey! Guess what else? The servos seem to run MUCH smoother now. Hardy *any* instances of the "misfiring" I've been talking about. As a matter of fact, I don't think this machine has ever run smoother while I've owned it. Things are looking good.

    AW CRAP! For some reason the spindle motor will not stay engaged in the auto mode now. It works fine with manual spindle on, and if I stand there and hold the start button it will run. What did I do? I start poking around and find that I dislodged one of the large relays along the top of the machine. Well heck that's gotta be it. Reseat it and sure enough, problem solved.

    So, While I haven't tuned the servos yet, the machine seems to be much happier and running MUCH better AND smoother. I am a happy camper.

    I still need to tune the servos though. While my program was running I observed a *very* slight drift in the X axis. The control had to keep correcting it to hold it straight.

    Now I just need to figure out how I am going to run the Z axis at 25ipm on a consistent basis to tune the servo. The only thing I can think of would be to loop a repetitive drill cycle at 25ipm and try to adjust it. The X will be pretty easy, the Y a little bit harder. But the Z will be a pain cause of the limited travel. 25ipm is pretty fast on an axis with only 5" of travel, while also trying to read a DVM and adjust a pot! Let's see.... 5" of travel @ 25ipm means I have about 12 seconds to adjust it. Hmmmmm... :bs: This oughta be fun!

    I'm gonna see if I can get the servos tuned tomorrow night after work. Hopefully I can get them all done since I have to work sat and I have a commitment with SWMBO on sat night. Drat!

    Thanks everyone for your insights and advice. Wish me luck!

    Michael

  17. #17
    Join Date
    Mar 2007
    Posts
    84

    Woo Hoo!! :)

    Update #2:

    Success!!

    At least I'm going to call it a success. Until it fails again.

    I modified my program to draw on a piece of paper with a pen. This has become my new SOP for proving out most of my programs since I can't do anything offline with this Hurco... That and I am still clueless with mastercam.

    I ran the program over 20 times and the machine didn't lose position once.

    In addition, after tuning my servos the machine seems to run better than it ever has. It's still not 100% perfect, but the "hiccups" or "misfires" I was having with the axis have been 100% eliminated on Z, probably 99% on Y and maybe 90% on X. For a 33 year old machine I don't think it's gonna get much better than that.

    Thanks to everyone for all your help and advice. I *really* appreciate it.




    Michael
    Attached Thumbnails Attached Thumbnails IMG00023-20100917-2321.jpg  

Similar Threads

  1. losing position, lots of position
    By cyclestart in forum LinuxCNC (formerly EMC2)
    Replies: 8
    Last Post: 01-24-2010, 08:50 AM
  2. Losing z position during 3D profiling
    By functionbikes in forum Tormach Personal CNC Mill
    Replies: 4
    Last Post: 08-18-2008, 12:40 PM
  3. T32 Losing position
    By apylus444 in forum Mazak, Mitsubishi, Mazatrol
    Replies: 2
    Last Post: 07-27-2008, 04:57 AM
  4. x-axis losing position...???
    By shnitzel in forum Servo Motors / Drives
    Replies: 11
    Last Post: 09-29-2007, 06:46 PM
  5. losing position in X
    By martsto in forum Milltronics
    Replies: 3
    Last Post: 03-16-2007, 02:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •