Hello Guest it is November 12, 2019, 07:43:52 PM

Author Topic: z steper trouble  (Read 12128 times)

0 Members and 1 Guest are viewing this topic.

Re: z steper trouble
« Reply #30 on: December 21, 2012, 12:58:23 PM »
I reset the E stop as instructed. Checked pins and no result. Thinking I might need the mirror image, changed pins and its amazing what you get when its right. Guess that's why I was a millwrite.  Stop reading is 039.3 and running is 149.1 with a slight bounce to 149.2 but it remains pretty steady. I took this 3 times an came up with the same answer. I see no pulse.

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: z steper trouble
« Reply #31 on: December 21, 2012, 02:03:50 PM »
Ok you wont see a pulse, the voltage being sent out is a pulse of 5v or so but because the meter is not nearly fast enough to show that voltage at the speed its pulsing you see a much lower average.
Ok so now on to the test, your Z was carrying on after it was supposed to be stopped so if you can command a move that would make it do that and read the voltage whilst doing it. If the voltage stops as the DRO in Mach stops then you know the computer side of things is correct.
Hood
Re: z steper trouble
« Reply #32 on: December 21, 2012, 03:55:55 PM »
I coded g0  z15.000 so I could get a good look and did this several times. 039.4 stopped and 149.4 running and then stopped returns to 039.4. So that looked good but then I coded g0 z0.0000 and it moved 0.001 an stopped on the DRO and I got 061.4 MV, ,  Stop it an re code it and it would run, It doesn't change direction with out using the code twice

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: z steper trouble
« Reply #33 on: December 21, 2012, 05:31:09 PM »
Ok something strange there, I have tested and retested with your xml and I dont have any issues.
Can you swap pin numbers for say X and Z and retest and see if you  get the same readings on the new Z pin (pin2 )
Then command a X move like you did for the Z and see what results you get.
Also run the driver test with Mach shut down and see what it is like.
Hood
Re: z steper trouble
« Reply #34 on: December 21, 2012, 05:58:19 PM »
Do you mean use Pin 2 instead of pin 6 and use X to move it? I will put the machine on manual and see if z works there

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: z steper trouble
« Reply #35 on: December 21, 2012, 06:02:37 PM »
What I was meaning was swap pin 2 and 6 around in Mach, Z Step pin would now be pin 2 and X pin 6.
If you tested between pin 2 and 25 and commanded a Z move as before and see what readings you get.
Then do the same between pin 6 and 25 and command a similar move but this time on the X.
Hood
Re: z steper trouble
« Reply #36 on: December 21, 2012, 06:36:45 PM »
Where do I do this swap?  In Manual Z still works in only one direction. As Z10.000 it moves fine but Z0.000 it moves to 9.9999 and the DRO stops but the maching keeps going.

Offline Hood

*
  •  25,856 25,856
  • Carnoustie, Scotland
    • View Profile
Re: z steper trouble
« Reply #37 on: December 21, 2012, 07:08:52 PM »
Config menu then Ports and Pins then Motor Setup.

Not sure what you are meaning by "In Manual"

Hood
Re: z steper trouble
« Reply #38 on: December 21, 2012, 11:06:27 PM »
After a thought I was grabbing at straws with Manual. What I did was change spindle control to manual

When I changed the pins around the problem transfurs to pin 2 and pin 6 works well.I don't know what that means but it is defiantly in Z
Re: z steper trouble
« Reply #39 on: December 22, 2012, 02:06:15 PM »
What triggers z to move in a differant direction. For instance I made up a short code as follows:

G0 Z5.0000
Z0.0000
Z5.0000
Z0.0000
In every instance it would change directions and move 0.001 and stop. If I stop the program, then click reset and click run, it runs that step. Next direction change is the same process.