Page 1 of 2 12 LastLast
Results 1 to 12 of 14

Thread: "Test this axis" - unexpected result

  1. #1
    Registered greybeard's Avatar
    Join Date
    Jun 2005
    Location
    UK
    Posts
    1,386
    Downloads
    0
    Uploads
    0

    "Test this axis" - unexpected result

    Every problem seems weird till you know the reason, so try this one for size.

    In stepconfig, I've set the limit switch pins(11,12,13) to "Unused", on the assumption that this will remove any self-inflicted errors, due to my still not being sure what settings to use.
    Other pins are set using my controller cct diagram, or set to Unused.
    The parameters set on the next pages of stepconfig for X and Y axis are identical, apart from the maximum travel.
    Likewise, Z differs only in travel and mm/rev.

    Testing X and Z axis, both jog and run work correctly.
    Testing Y axis, when I open the "Test this axis" window, I can hear the power go to the motor, and the shaft "locks up".
    However, neither Jog nor Run work, unless I open the NC limit switch on that axis, then each works.
    I've switched cables, and tested the X motor in the Y socket, and the Y motor in the X socket.
    The symptoms show the problem is only associated with the Y socket.
    If I have the "Run" on , and ease the plug gently into the Y socket, I can make the Y axis run OK, so some pin when unconnected allows it to work. Pushing right in locks up the Y motor.

    I've tried reversing the step and direction settings for the Y axis, and inverting the signal for one or both, but no improvement.

    Do these facts point to a specific source of the problem ?
    I suspect the controller, but I can't think what would produce this symptom - the supposedly disabled limit switch preventing the step signal getting through, unless the NC limit switch is opened (which ought to have the opposite effect).

    John
    It's like doing jigsaw puzzles in the dark.
    Enjoy today's problems, for tomorrow's may be worse.


  2. #2
    Registered greybeard's Avatar
    Join Date
    Jun 2005
    Location
    UK
    Posts
    1,386
    Downloads
    0
    Uploads
    0
    I've just re-read earlier posts I made re this controller, and think I have the answer.
    The Y axis, designed to have a two motor option, needs N/O limit switches.
    At least that's my interpretation, and certainly that's the condition in which the motor moves.
    So it looks like a swap round for that axis limit switches, though I would be happier with the fail safe that N/C give.

    Any ideas how I can get fail safe with needing a low (?) on the input pin ?
    Perhaps I'm just being over cautious ?

    John
    Last edited by greybeard; 01-28-2010 at 05:10 PM.
    It's like doing jigsaw puzzles in the dark.
    Enjoy today's problems, for tomorrow's may be worse.


  3. #3
    Registered
    Join Date
    Mar 2009
    Location
    USA
    Posts
    106
    Downloads
    0
    Uploads
    0
    Did you check your .ini file? I had a problem with stepconf inserting wrong values in mine and had to manually change them.


  4. #4
    Registered greybeard's Avatar
    Join Date
    Jun 2005
    Location
    UK
    Posts
    1,386
    Downloads
    0
    Uploads
    0
    Thanks for the tip, marzetti, I'll have a look.
    John
    It's like doing jigsaw puzzles in the dark.
    Enjoy today's problems, for tomorrow's may be worse.


  • #5
    Registered greybeard's Avatar
    Join Date
    Jun 2005
    Location
    UK
    Posts
    1,386
    Downloads
    0
    Uploads
    0
    I've run into a situatioin where Ubuntu wouldn't let me load up, so, not getting a quick answer, I've decided to make a fresh start, and reinstalled.
    At least I've learnt a fair amount this time round.
    John
    It's like doing jigsaw puzzles in the dark.
    Enjoy today's problems, for tomorrow's may be worse.


  • #6
    Registered greybeard's Avatar
    Join Date
    Jun 2005
    Location
    UK
    Posts
    1,386
    Downloads
    0
    Uploads
    0
    So I've now reinstalled, updated, and set up a new stepconfig file.
    I've got the three motors on the bench, connected to the controller, with one N/C limit switch on each.

    Whatever config I set up for the limit switches, with normal or inverted signals, using the "Run" command in "Test this Axis", operating the limit switch has no effect on X or Z motors, but the Y motor will only run if the switch is open.
    This remains the case whether or not a jumper is used on the limit switch pins of the Y2 socket, as required by the designer, and as was proved necessary with previous software.

    I've attached the schematic for my controller.
    Attached Thumbnails Attached Thumbnails "Test this axis" - unexpected result-emc-xyyzb-schematic.pdf  
    It's like doing jigsaw puzzles in the dark.
    Enjoy today's problems, for tomorrow's may be worse.


  • #7
    Registered
    Join Date
    Mar 2009
    Location
    USA
    Posts
    106
    Downloads
    0
    Uploads
    0
    In believe the axis testing routine ignores the limit switches.


  • #8
    Registered greybeard's Avatar
    Join Date
    Jun 2005
    Location
    UK
    Posts
    1,386
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by marzetti View Post
    In believe the axis testing routine ignores the limit switches.
    Aaaaaaaaaaaaaaaargh.


    But thanks, again marzetti.

    Could anyone confirm marzetti's suspicions ?

    John
    It's like doing jigsaw puzzles in the dark.
    Enjoy today's problems, for tomorrow's may be worse.


  • #9
    Registered
    Join Date
    Mar 2009
    Location
    USA
    Posts
    106
    Downloads
    0
    Uploads
    0
    I just checked on my machine to be sure and the limit switches are indeed disabled in the test routine.


  • #10
    Registered
    Join Date
    Mar 2009
    Location
    USA
    Posts
    106
    Downloads
    0
    Uploads
    0
    Just to clarify my first post to this thread- the error I found in the step-conf wizard was that it inserted an inverted value for the home search velocity and I had to add a - sign to correct it. So it's possible that it misconfigures other values as well. The wizard is a good aid to set up but it bears checking.


  • #11
    Registered greybeard's Avatar
    Join Date
    Jun 2005
    Location
    UK
    Posts
    1,386
    Downloads
    0
    Uploads
    0
    Thanks, marzetti, for the update/confirmation.
    I've just returned in the early hours here, on this side of the pond, from a very convivial evening with friends.
    So in a warm mood I can take onboard the new info, and with Bruckner's 8th playing in the background, feel that all is not lost, and perhaps by tomorrow the ice and snow will have disappeared, the software will talk to me in civilized tones, as equals, and we will move forwards.

    Tomorrow I shall see what the AXIS gui has in store for me, re limit switches.
    Regards
    John
    It's like doing jigsaw puzzles in the dark.
    Enjoy today's problems, for tomorrow's may be worse.


  • #12
    Registered greybeard's Avatar
    Join Date
    Jun 2005
    Location
    UK
    Posts
    1,386
    Downloads
    0
    Uploads
    0
    OK Houston, we seem to be one giant step forward.
    Close examination of the controller cct(posted in #6) shows the need for an NOTenable signal on pin 1 to feed into part of the cct that splits the Y step signals into Y1 and Y2/Astep.
    Though I'm not using the Y2 motor, I still needed that NOTenable, as well as the limit switch jumper on the Y2 motor socket.

    So now I have all axis behaving the same, I can try and get the limit switches set up correctly.
    John
    It's like doing jigsaw puzzles in the dark.
    Enjoy today's problems, for tomorrow's may be worse.


  • Page 1 of 2 12 LastLast

    Similar Threads

    1. Replies: 12
      Last Post: 06-27-2012, 07:30 AM
    2. Need Help!- "motor steps per resolution" and "driver microstepping" settings
      By margni74 in forum LinuxCNC (formerly EMC2)
      Replies: 9
      Last Post: 10-24-2009, 03:33 AM
    3. "J" head type "millport"(tiwan,1980) clutch
      By marksbug in forum Bridgeport and Hardinge Mills
      Replies: 1
      Last Post: 08-17-2009, 11:48 AM
    4. My "Crazy" high speed spindle test
      By SScnc in forum Benchtop Machines
      Replies: 4
      Last Post: 04-21-2009, 08:16 AM
    5. G320 "common" or "+5vdc" why do they vary?
      By beezerlm in forum Gecko Drives
      Replies: 3
      Last Post: 01-12-2008, 05:00 PM

    Posting Permissions


     


    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.