Trouble with Motor 4

Home Forums TinyG TinyG Support Trouble with Motor 4

Tagged: 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #9931
    cmcgrath5035
    Moderator

    Looking at your parameter set, you have $1sa=0.9 and $4sa = 1.8.
    Is that a typo?
    If the motors are the same, this pair of setting would have one moving twice as fast as the other.
    $_sa=1.8 (200 setps per rev) is the much more common motor.

    #9932
    pca
    Member

    It’s possible it’s a hardware issue. Are you certain that you have your stepper motor controller set to the same microstep value in each case?

    If one was, for example, at x8 and the other was at x16, they would move different distances for the same number of steps.

    #9943
    DougWilson
    Member

    We double checked and have both motors set to 1.8. The behavior is still the same as described.

    The microstepping is also set to x8 for both.

    I’m trying to get a video of it to provide more insight but I’m leaning to hardware issues.

    #9948
    cmcgrath5035
    Moderator

    An up to date parameter dump to pastebin might help too.

    #9958
    DougWilson
    Member

    Latest config is here: http://pastebin.com/Y8SUZht9

    Still no joy with Motor 4. We’ve switched back to a single X motor for now but now the board will no longer home the Y axis.

    How do you know when the board is the problem and not the user?

    #9959
    cmcgrath5035
    Moderator

    I pulled these from your PasteBin:

    [1ma] m1 map to axis 0 [0=X,1=Y,2=Z…]
    [1sa] m1 step angle 1.800 deg
    [1tr] m1 travel per revolution 3.8900 mm
    [2ma] m2 map to axis 1 [0=X,1=Y,2=Z…]
    [2sa] m2 step angle 1.800 deg
    [2tr] m2 travel per revolution 8.0800 mm
    [2mi] m2 microsteps 8 [1,2,4,8]
    [3ma] m3 map to axis 2 [0=X,1=Y,2=Z…]
    [3sa] m3 step angle 1.800 deg
    [3tr] m3 travel per revolution 8.0183 mm
    [3mi] m3 microsteps 8 [1,2,4,8]
    [4ma] m4 map to axis 0 [0=X,1=Y,2=Z…]
    [4sa] m4 step angle 1.800 deg
    [4tr] m4 travel per revolution 360.0000 mm

    Two issues (maybe)
    $4ma is set to X axis, as is $1ma. Most users would set $4ma=3 (or 4 or 5) if in fact motor 4 was unused. I am not sure what effect your settings might have.

    What sort of mechanical machine do you have (ShapeOko, Ox, ??). What I find strange is $1tr=3.89mm while $2tr=8.08mm. Most machines have the driveline (pulley, belts, etc) the same on X and Y. These are legitimate values, firmware wise, so I am just checking that they are intentional.

    You ask “How do you know when the board is the problem and not the user?”
    It is not easy to answer. Most of the time, if tinyG boots and the parameter set is correct, tinyG just works. That is why we ask about your settings.

    Some other ‘unusual settings’
    X size larger than Y size – Legitimate, but not the way most folks configure typical machines

    Zmin limit switch – does it really exist? It is enabled

    A frequent issue with limits not working is miswiring, e.g. wrong switch wired to port.

    I’d suggest shutting off all limits and homing, concentrate on X and Y jogging, then add Z jogging motion (all in air first).

    How do you communicate with your machine – CoolTerm, Chilipeppr, other?

    #9960
    DougWilson
    Member

    $4ma is set to X because we are trying to run dual X. It’s a machine we built ourselves. Initially we only had a single X motor but due to racking we’re trying to move to dual motors. But, as the title of this post, Motor 4 isn’t cooperating.

    $1tr=3.89 is correct. We went with dual Chinese ball screws on the X axis so they don’t match the lead screws we have on the Y and Z.

    X > Y is because of where we have the computer/chilipeppr in relation to the machine. It just makes more sense for us; less mental gymnastics is a Good Thing.

    The Z Limit switch does exist. We’ve had too many problems with random plunges and broken bits with TinyG and Fusion 360 to risk running without it.

    Currently all the jogging works fine.

    Currently we use both CoolTerm and Chilipeppr on an iMac. We started off with a MS Surface 4 tablet running Chilipeppr but had a lot of trouble with it so we switched to the iMac. In retrospect, I don’t think it was the Surface tablet that was the problem. Chilipeppr itself seems to have a lot of trouble with TinyG. Basically the TinyG stops responding to any commands so we are continually having to cut the power to the board, restore power and then reconnect Chilipeppr. CoolTerm doesn’t appear to have this same problem but due to how tedious entering commands is we haven’t used it nearly as much.

    All in all, we have not had a good time with TinyG and are seriously regretting not having simply gone with a Mega 2560 and RAMPS 1.4.

    #9961
    cmcgrath5035
    Moderator

    Thanks for the info – all makes sense .

    I have never used a Surface for anything, sort of assume it is IE based browsing (or Edge). Neither IE or Edge seem to run CP well (YRMV), likely due to JS issues.

    Only other suggestion I have is a full parameter reset and reload – some users have experienced relatively silent parameter corruption. There are ‘hidden’ parameters also stored in EEPROM(parameters not intended for user tweak)that occasionally become corrupted.

    Steps
    1. Make sure you have a parameter list backup – you will need to reenter most.
    2. Use CP on Chrome or CoolTerm
    3. Send the command $defa=1, which will reset tinyG to factory defaults (FW compiled in parameters)
    4. Restart tinyG (reset button), connect with CP or CoolTerm
    5. Re-enter all your unique parameters, one at a time, from the CoolTerm Command line or the CP Serial Port Console.

    Hope that helps

    #9964
    DougWilson
    Member

    We’ve reset to defaults multiple times already with the same results each time.

    We were running Chrome on the Surface. Aside from the other issues I described the screen was just too small to hit buttons accurately in Chilipeppr, even with a mouse instead of the trackpad.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.