Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - redrabbit

Pages: [1]
1
1) PMDX 126 is in charge pump mode
2) I have tried both an S command and the DRO, I started with 1000, then 5000, and 10000. In the confif>spindle pully section I have min at 0, max at 24000, and ratio at 1.
3) no led is lit and I do have the step to pin 16 and dir to pin 14, and spindle is enabled with a green check at DirLowActive
4)I am not exactly sure I have been listening for it but I have spindle relays disabled, and I have not played with the factory jumper settings. I will say the solenoid engagement only happens once, and thats only with the first spindle on and off command (Scommand or DRO) via Mach3. However after that I do not hear it again with other commands. I have to restart the system to do that. It might be the charge pump letting go?
5)Oh... well, I played with some setting to get a reaction out of it, I changed the pin high and low as well as swapping the 16 and 14 in the pins and ports section with no change. I also set my minimum to 30% and tried 10000rpms with no joy. Test button on the PMDX107 runs perfect, I will run through the AN002 protocol again and see if there is a change.

2
Hello,

Hit a little snag. I have Mach3 controlling a PMDX126 through a smoothstepper ESS with a PMDX107 controlling a Huangyang VFD running to a 3KW spindle.

PMDX 126 has charge pump pin17 lit and outputs enabled upon getting the mach3 up and running on the computer
PMDX 107 to VFD runs fine when test button is pressed
Steppers run fine through mach3

I ran through the AN002 PWNSpindle protocol and changed my VFD settings.
However, since I can not get mach3 to spin the spindle; something tells me there is a miscommunication between the computer and PMDX107 and not past the PMDX 107 since the test button works.

When I turn the spindle on in mach3 no other leds turn on, on the pmdx107. Other than the power light of course.

PMDX107 config. is on the factory setting

Mach3 does shoot up a warning something to the effect of PWM set to minimum value.

I do hear a solenoid click which I engage the spindle in mach3

Ideas?

3
**SOLUTION FOUND***

When trouble shooting this issue I found the caption under your name to be the most fitting... an engineers hell....

I decided to take 1 axis apart from motor to PMDX126 and swap cables and use the multimeter along the way...

And wouldn't you know it I found the problem.

I was using a DB44 cable to run DIR and PUL from the PMDX126 to the driver. I used the multimeter to check the connection and it was perfect. All other pins were tied off but somehow the enable pins were completing a circuit which would disable the drive.....in fact this was the case with all the drives. When I ran single wire unsheilded from the PMDX126 to the female DB44 socket on the drive for all 4 pin (+/- pul and +/- dir) I got that sweet sweet motion I was looking for when testing. However, when I used the DB44 male cable with pins 2-5 spliced out it was a no go.  The DB44 cable is shielded but EMI is the only thing I could hallucinate as being the problem. This rig is shielded heavily since the drives pull direct 110v AC and the spindle VFD is 220AC with a computer not far behind. But I have been careful to avoid ground loops.

I will make the appropriate changes to the drive, thanks for the heads up on the settings.

Again thanks for the feedback and the help,

In my head I am thinking this will be the last time I am on this forum looking for a solution but realistically I might be spending my mornings reading this instead of the news.

4
Come to find out the multimeter had shorted somewhere between checking it to the AC and then to the 5+V terminal.

Using a new multimeter I get 5V+ now.

However, I am still having an issue getting a smooth run.

5
Update:

Upon contacting leadshine USA I have been told that I have HBS1108 drives which is the Chinese designation for the ES-DH1208 and I need to contact a different office, which I have not heard back from. I fear that this maybe why the PA_## do not all match up with the leadshine USA manual for ES-DH1208.

Using a multimeter on the J4 grd, 2, 3 and +5V outputs in test mode I am getting the following readings.

Grd = 0V
2 = 1.5V when stepping
3= 12 V when on
+5v = 14V

Could this be right? my multimeter is correct when testing 120v and 240V AC and +5v on the comuter USB.

I have come to the conclusion that there must be a miscommunication somewhere between the PMDX126 and drive.

6
If you hear 1 click each time you jog one direction, and nothing when you jog the other direction, that usually means that you have the step and direction signals swapped (i.e. the step output from Mach3 is going to the "DIR" input on the motor driver).  Try swapping the step & dir pins in Mach3 and see if that changes anything.

*** I get clicks in both directions when jogging in Mach3 with all axis***

If that doesn't fix things, lets go back to basics and go through things one step at a time.  Some of this will be verifying things that you have already done.  So please be patient and humor with me.

I recommend connecting the ES-DH1208's PUL- and DIR- to the PMDX-126's "PCgnd" terminals on J1, J2, J3 and J4.  The connect the PUL+ and DIR+ to the step and dir terminals on the PMDX-126.  For example, PUL+ to "Pin2" on J4, and DIR+ to "Pin3" on J4.  Or you could have PUL+ to "Pin3" and DIR+ to "Pin2".  It doesn't matter as long as you know which is which, and are consistent on all 4 motors (i.e. PUL+ to even pins and DIR+ to odd pins, or PUL+ to odd pins and DIR+ to even pins).  This configuration corresponds to the "PNP (sinking)" configuration in the ES-DH1208 manual.  It also allows you to set the "step polarity" in Mach3 to active high (i.e. a red "X" in the "Step Low Active" column).

***everything is now sinking***

Leave the ENA+ and ENA- terminals unconnected to enable the driver.

***never hooked these up***

Let me know exactly how you have the PMDX-126 wired to the ES-DH1208 for the "X" axis (we will concentrate on that for now).

For the following examples, I will presume that you have the "X" axis driver's PUL+ connected to the "Pin2" terminal on J4, and DIR+ to the "Pin3" terminal.

***correct***

For the PMDX-126's self-test mode, the DIP switches should be set as follows:

Config7: open or closed, your choice (for now, I suggest "closed" for "push and hold to run" mode)
Config6: Closed (switch towards the "Config6" silkscreen)
Config5: Closed (switch towards the "Config5" silkscreen)
Config4: Closed (switch towards the "Config4" silkscreen)
Config3: Open (switch away from the "Config3" silkscreen)
Config2: Open (switch away from the "Config2" silkscreen)
Config1: Open (switch away from the "Config1" silkscreen - sets STEP (i.e. PUL+) on "Pin2" and DIR on "Pin3",
                       change this to "Closed" if you have PUL+ connected to "Pin3

***DIPs all switched over***

Press the PMDX-126's "Test" button one time and release to enter test mode.  When you release the "Test" button, the "Status" LED should turn off.  If it remains on, or if it flashes, there is a fault.

***Status light off and no flashing***

Now each time you press the "Test" button, the LED next to "Pin3" should toggle on and off (i.e. press the button and the LED turns on, press the button again and the LED turns off).  Do you see that?

***I do***

If you press and hold the "Test" button.  After couple of seconds you should see a dim glow on the "Pin2" LED.  Do you see that?

***I do***

Do you now get motion from the motor when pressing and holding the "Test" button? 
***no***
You should hear 5 clicks about 1/2 second apart and then the motor should ramp up to whatever speed corresponds to 1000 steps/second.  Release the "Test" button and the motor should ramp down to a stop.

***I get 5 clicks then a very disturbing buzzing sound, then when the test button is release there is a very light buzz. Almost like the a small motor is "rewinding", it might be my imagination but it appears to come from the encoder.***

Do you hear the 5 clicks at the start of the motion?  If you hold the motor shaft, or place your finger against it, you may be able to feel the steps.  But this depends on the "Pulses/Revolution" setting in the ES-DH1208.  The default is 4000 steps/rev, which is equivalent to 20 step microstepping.  You may or may not be able to feel that small of a motion.

***I hear the clicks and I marked the shaft relative to the body of the motor to detect movement and there is none.***

Does the motor ramp up in speed?

***just the buzzing after the 5 clicks***

If you hear and/or feel the 5 clicks but then the motor doesn't ramp up in speed, or if it starts to ramp up and then stalls (while making a whining or buzzing sound), that could mean that the motor stalled (or "cogged").  That *should* cause the ES-DH1208 to enter a fault state and display an error code and/or flash an LED.

***this is what I was thinking, but the drive does not have any error codes displayed***

If this works and the motor moves, then go verify that Mach3 has the "X" axis step and direction pins assigned to the pin numbers that match your actual wiring.

If this doesn't work, let me know the values of the following ES-DH1208 registers:
PA_07, 08, 09, 15, 17 and 18.

PA_07 = 1600
PA_08 = 4000
PA_09 = 5000
PA_15 = 1
PA_17 = 0
PA_18 = 0

I read in the driver manual that encoder resolution could be the issue to I took PA_08 to 1000 and there was still no change.

If I turn PA_28 from a 0 to a 1, the motor does 1 revolution CW and CCW.

My gut says it has to be the drive but I am at a bit of a loss.

7
I am new to this forum, great to be here;
Question: I am hooking up a PMDX-126 to 4 ES-DH1208 leadshine drivers (X,Y,Z,X?). My issue is this, I can get the motors to move via the preset programming in the divers but I cannot get the PMDX-126 to move the motors via the step/dir pulses. What I can get are clicks from the motors through mach3 when I jog.
I have tried driving the step/dir with both the common and +5V since these drivers can do either. Switching the step/dir pins in mach3, directly on the board, and while in test mode on the 126.
On that note, in test mode all leds that should be lit are with the multimeter confirming the outputs pins for step/dir. I have the correct dip switches for running in test mode according to the PMDX-126 manual. What the motors, with the correct setup according to the driver manual, do is click initially with each step/dir and then I get a buzz, like a small motor is running. I am suspicious that since these are closed loop I am having an issue with the stepper/driver via the encoder.
Any and all help is greatly appreciated! 

Pages: [1]