Hello Guest it is July 11, 2020, 11:35:59 PM

Author Topic: servo won't engage  (Read 11549 times)

0 Members and 1 Guest are viewing this topic.

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: servo won't engage
« Reply #10 on: December 23, 2008, 03:28:07 PM »
But surely you have pin 5 connected to Input1? If so have you got that se corectly in Mach?
Please attach your xml and I will look.
Hood
Re: servo won't engage
« Reply #11 on: December 25, 2008, 06:12:07 AM »
hi hood i could not upload fth xml file on mach suport forum so i uploaded on the file cnczone forum

http://www.cnczone.com/forums/showthread.php?t=70286

cris

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: servo won't engage
« Reply #12 on: December 26, 2008, 02:53:00 PM »
Just had a look at your xml and I see you dont have Input 1 enabled and also you dont have this set in General config to stop Mach if the signal is active. This could be your problem if you do have the fault line going from the drives to Mach.
 Another thing I noticed is you have Output 1 enabled for bot the Spindle and also the Flood and Mist coolants, is this meant?
Hood
Re: servo won't engage
« Reply #13 on: December 29, 2008, 09:26:20 AM »
hi
done more digging and found this:
1. power up PC /engage servo and all is god (then disengage by hand)
2. turn on mach /engage the servo/the servo disengaged by themselves
3. grab voltmeter/restart the PC /read the parallels port pins and found 3.8 volts on all pins from 1 to 16
4 open mach and read again all the pins and found that i only have 3.8 volts on pins : 2 (x step) , 6  (z step) and some others but no on pin 4 that is y step
5  the found that if i change "y Dir" to "lo activ" i get 3.8 volts on pin 4
so now i can engage the servos BUT while holding the switch up to engage the servos the z axis moves down

                                                                           
Re: servo won't engage
« Reply #14 on: December 29, 2008, 12:23:55 PM »
HI    ;)
PROBLEM SOLVED

FOR SERVOS TO ENGAGE IS NEED TO HAVE 5 VOLTS ON STEP PIN FROM PARALEL PORT THAT GOES TO PIN 11 ON GECKO 320 DRIVE

MY STUP WAS: PIN 2 FOR X STEP   PIN 4 FOR Y  STEP   AND PIN 6 FOR Z STEP   FROM THE PARALLEL PORT

(ASIGNED IN MOTOR OUPUTS / MACH )
 
(AND WIERED PROPRELY )

(AND I DID RUN THIS SETUP FOR 6 MOUNTHS WHIT OUT ANY PROBLEM)

BUT FOR SOME REASON I COULD NOT HAVE 5 VOLTS ON PIN 4 FROM PARALLEL PORT SO I CHANGED THE STEP PIN IN MOTOR OUTPUTS TO PIN 8

REWIERED GECKOS PIN 11.  TO PIN 8. ON PARALLEL PORT AND EVERITHING IS OK NOW

THANKYOU HOOD FOR YOUR ASISTENCE

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: servo won't engage
« Reply #15 on: December 29, 2008, 02:10:30 PM »
Maybe you changed the active state of the Step pin by mistake? But if its working now then great :)
Hood
Re: servo won't engage
« Reply #16 on: December 31, 2008, 06:54:02 AM »
hi
the problem came back
and i'm going thru all the atory again

the story goes like this :
had my plasma table running OK for 6 months on belts
and because i could not get accurate cuttings due to belts elasticity i decided to build another one on rack & pinion
so i made the new table whit the controller computer to fit on gantry to keep cables short not to get any interferences
got the electronics down from the old one
fit the same servos on the new table
got the PC , power source of the servos and controller on the gantry (just placed them on the gantry not proprely fitted )
and run tests.
up to this point i had no problems
then decided to fit them proprely
so i opened my PC / striped down /got the motherboard power source hard drive and all other boards and fitted them inside the gantry
(i have builded a case for the electronics on the gantry)
whit the power supply of the servos and the controller box
THIS IS WHERE IT STARTED MALFUNCTIONING
THE PROBLEM IS THAT I CAN NOT ENGAGE THE SERVOS WHILE MACH 3 DRIVER IS RUNING.
HERE IS WHAT I FOUND UP TO THIS TIME :
IF I ENGAGE THE SERVOS WHIT PC OF THEY DO ENGAGE
IF I ENGAGE THE SERVOS WHIT THE PC ON BUT DO NOT RUN MACH THE SERVOS DO ENGAGE
IF I ENGAGE THE SERVOS WHIT THE PC ON AND MACH RUNING THE SERVOS DO NOT ENGAGE ANYMORE
IF I ENGAGE THE SERVOS WHIT THE PC ON AND MACH RUNING AND DISABLE THE PARALLEL PORT IN DEVICE MANAGER I CAN ENGAGE THE SERVOS
IF IN ANY CASE I ENGEGE THE SERVOS THEN I CAN JOG ALL 3 AXIS LIKE EVERY THING IS OK
SO IF I CAN GET THE TABLE MOVING ON THE 3 AXIS FROM MACH IT LOOKS LIKE DRIVERS ARE OK AND MACH IS OK (OR MAYBE NOT ?)
I ALSO DONE THIS :
INSTALED A NEW PARALLEL PORT ON THE PC - SAME PROBLEM
PLUGED IN A DIFERENT PC THE SAME PROBLEM
GOT THE CONTROLLER ISOLATED FROM THE TABLE - SAME PROBLEM
GOT THE PC SECOND PC ISOLATED FROM THE TABLE - SAME PROBLEM
all the cables were checked and they are OK (i can jog all 3 axis if i can get the servos to engage)

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: servo won't engage
« Reply #17 on: December 31, 2008, 07:23:58 AM »
Please tell us how you have the Geckos fault/reset circuit wired, especially with regards to which pin you have connected to the computer, I have never had Geckos servo drives so have no experience but from looking at the wiring diagram it seems to me this is where your problem lies.
Hood
Re: servo won't engage
« Reply #18 on: December 31, 2008, 08:10:24 AM »
hi here is the connection of geckos to the system
do they work OK if i engage before running mach
gecko drive pins  :
1. 0v from servos power supply
2. (+)50 v from servos power supply
3. M (-)
4. M (+)
5. soldered to engage/disengage switch
6. 0 v encoder
7. (+) 5 v encoder
8. A channel to encoder
9. B channel to encoder
10. dir pin from pp
11. step pin from pp
12 (+) 5v from controller power supply
the switch is a 3 pin switch that makes contact only while the button is pressed up for engaging/down for disengaging
                                                   ___________ ( + ) 5 v                                     
                                                 /                               
           gecko's       pin 5    _____/                                                         
                                                \                           
                                                 \ __________( -- )                   
                                                                     

Offline Hood

*
  •  25,846 25,846
  • Carnoustie, Scotland
    • View Profile
Re: servo won't engage
« Reply #19 on: December 31, 2008, 08:45:47 AM »
OK I was under the impression you hd the fault wired as in the manual back to Mach but you dont from the above drawing.
 Where does your 5v to pin 12 come from?
Hood