1. Got a question or need help troubleshooting? Post to the troubleshooting forum or Search the forums!

Unresolved Z-axis would be up to the selfish.

Discussion in 'Troubleshooting' started by Shinji Hayashi, Sep 9, 2016.

  1. Shinji Hayashi

    Shinji Hayashi New Member

    Joined:
    Sep 9, 2016
    Messages:
    6
    Likes Received:
    0
    Hey guys.

    I have a problem about ROBO3D R1.
    Robo cannot move to origin point,that push button movement all in Matter Control.
    X axis and Yaxis are moved to orign right point, but Z axis move up about 5mm.
    Also press repeatedly, it will continue to rise.

    here is a log about movement all.
    <-ok T:41.5 /0.0 B:0.0 /0.0 T0:41.5 /0.0 @:0 B@:0
    ->G28 X0 Y0 Z0
    <-ok
    ->M114
    <-X:0.00 Y:0.00 Z:0.00 E:41.92 Count X: 0.00 Y:0.00 Z:0.00
    <-ok
    ->M105
    <-ok T:41.5 /0.0 B:0.0 /0.0 T0:41.5 /0.0 @:0 B@:0
    ->M105

    What's such a problem occurs in the cause?
    In addition, although I think that it is the same problem, it rises to the top in each corner of the auto-leveling cycle.

    here is a log about auto-leveling.

    ->Communication State: PreparingToPrint
    ->N1 M110 S1*96
    <-ok
    ->Communication State: Printing
    ->N2 G21*24 [0.025]
    <-ok [0.030]
    ->N3 M107*38 [0.032]
    <-ok [0.047]
    ->N4 M104 T0 S210*38 [0.063]
    <-ok [0.079]
    ->N5 T0*63 [0.094]
    <-echo:Active Extruder: 0 [0.110]
    <-ok [0.110]
    ->N6 G28 X0 Y0 Z0*94 [0.127]
    <-ok [1.969]
    ->N7 M105*32 [1.985]
    <-ok T:210.0 /210.0 B:0.0 /0.0 T0:210.0 /210.0 @:64 B@:0 [2.001]
    ->N8 M114*47 [2.016]
    <-X:0.00 Y:0.00 Z:0.00 E:41.92 Count X: 0.00 Y:0.00 Z:0.00 [2.024]
    <-ok [2.024]
    ->N9 G1 X0 Y0 Z5 F5000*12 [2.026]
    <-ok [2.029]
    ->N10 M104 S210*87 [2.030]
    <-ok [2.048]
    ->N11 G4 P1000*108 [2.063]
    <-ok [4.079]
    ->N12 M105*20 [4.094]
    <-ok T:210.4 /210.0 B:0.0 /0.0 T0:210.4 /210.0 @:56 B@:0 [4.110]
    ->N13 G4 P1000*110 [4.126]
    <-ok [5.133]
    ->N14 M105*18 [5.135]
    <-ok T:210.6 /210.0 B:0.0 /0.0 T0:210.6 /210.0 @:51 B@:0 [5.141]
    ->N15 G28 X0 Y0 Z0*108 [5.157]
    <-ok [6.924]
    ->N16 M105*16 [6.925]
    <-ok T:210.5 /210.0 B:0.0 /0.0 T0:210.5 /210.0 @:57 B@:0 [6.932]
    ->N17 M114*17 [6.934]
    <-X:0.00 Y:0.00 Z:0.00 E:41.92 Count X: 0.00 Y:0.00 Z:0.00 [6.954]
    <-ok [6.955]
    ->N18 G29*43 [6.969]
    <-Bed x: 15.00 y: 20.00 z: 16.00 [10.564]
    <-Bed x: 110.00 y: 20.00 z: 22.00 [12.657]
    <-Bed x: 205.00 y: 20.00 z: 27.99 [14.751]
    <-Bed x: 205.00 y: 125.00 z: 33.99 [16.923]
    ->N18 G29*4 [16.985]
    <-Bed x: 110.00 y: 125.00 z: 39.99 [19.016]
    <-Bed x: 15.00 y: 125.00 z: 45.99 [21.110]
    <-Bed x: 15.00 y: 230.00 z: 51.98 [23.282]
    <-Bed x: 110.00 y: 230.00 z: 57.98 [25.376]
    ->N18 G29*4 [27.001]
    <-Bed x: 205.00 y: 230.00 z: 63.98 [27.470]
    <-Eqn coefficients: a: 0.02 b: 0.17 d: 16.25 [27.485]
    <-planeNormal x: -0.02 y: -0.17 z: 1.00 [27.486]
    <-ok [27.486]
    <-echo:endstops hit: Z:63.98 [27.487]
    ->N19 M105*31 [27.501]
    <-Error:Line Number is not Last Line Number+1, Last Line: 18 [27.517]
    <-Resend: 19 [27.517]
    <-ok [27.518]
    ->N19 M105*3 [27.532]
    <-ok T:210.6 /210.0 B:0.0 /0.0 T0:210.6 /210.0 @:51 B@:0 [27.548]
    ->N20 M114*21 [27.551]
    <-X:206.30 Y:237.50 Z:-0.00 E:41.92 Count X: 206.25 Y:234.09 Z:44.45 [27.563]
    <-ok [27.564]
    ->N21 T0*9 [27.595]
    <-echo:Active Extruder: 0 [27.610]

    Please tell me how to problem-solving.

    Best regards.
     
  2. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,629
    Likes Received:
    7,312
    One of the Z axis home switches is open/triggered all of the time.
     
  3. mark tomlinson

    mark tomlinson ༼ つ ◕_ ◕ ༽つ
    Staff Member

    Joined:
    Feb 21, 2013
    Messages:
    23,629
    Likes Received:
    7,312
    It could just be out of position or the wire could be loose.
     
  4. Shinji Hayashi

    Shinji Hayashi New Member

    Joined:
    Sep 9, 2016
    Messages:
    6
    Likes Received:
    0
    Thank you for your reply mark.

    I checked limit switch with electric tester, but it works collectry.
    Connection is cut off,when Switch is on.
    Connected ,When Switch is off.

    Is the switch is z end stop, that is attached with vertical shaft?
    Could you tell me how to check from the controller?

    Best Regards.
     
  5. danzca6

    danzca6 Well-Known Member

    Joined:
    Jul 27, 2015
    Messages:
    2,161
    Likes Received:
    1,077
    Sending an M119 command from the terminal window will return the status of all the endstops.
     
  6. Shinji Hayashi

    Shinji Hayashi New Member

    Joined:
    Sep 9, 2016
    Messages:
    6
    Likes Received:
    0
    Thank you for your reply danzca6.

    The result of the command is this.

    ->M119

    <-Reporting endstop status
    <-x_min: open
    <-y_min: open
    <-z_min: TRIGGERED
    <-ok

    I will try to check the controller card.

    Best regards.
     
  7. Robert55

    Robert55 Member

    Joined:
    Apr 27, 2015
    Messages:
    94
    Likes Received:
    34
    Mine only does that when the X-Axis carriage bars are not exactly parallel with the printer bed. Then the Z axis switches are triggered at slightly different times. I use a small bubble level to make sure the X axis and Bed are parallel.
     
  8. Shinji Hayashi

    Shinji Hayashi New Member

    Joined:
    Sep 9, 2016
    Messages:
    6
    Likes Received:
    0
    Thank you for your reply Robert55.

    I checked z axis sw allways triggerd. It may be broken controller or arduino board.
    I will try to change these parts.
     
  9. danzca6

    danzca6 Well-Known Member

    Joined:
    Jul 27, 2015
    Messages:
    2,161
    Likes Received:
    1,077
    Ok forgive me because it has been awhile since I have used the stock auto bed leveling, but having Z report TRIGGERED I think is correct when the X axis is sitting on both switches. The logic in the firmware for Z is switched. So if you lift one side off the endstop it should no longer say TRIGGERED when you send the M119. It just sounds like when it probes the bed it might have one side (probably the left side) sticking off of the endstop instead of coming back down all the way. Try pushing that side down after it lifts from a probe point and before it starts going down to the next.
     
  10. Shinji Hayashi

    Shinji Hayashi New Member

    Joined:
    Sep 9, 2016
    Messages:
    6
    Likes Received:
    0
    Thank you for your reply danzca6.

    It was checked by pressing the switch. The operation had become reversed logical.
    When the switch is ON, it open.When switch is OFF,it triggered.
    Could you tell me how to make this logic in reverse?

    Best regards.
     
  11. Shinji Hayashi

    Shinji Hayashi New Member

    Joined:
    Sep 9, 2016
    Messages:
    6
    Likes Received:
    0
    Thank you for all.

    Anyway ,For now, I will correct the following part of the source code.( configuration.h)

    Before
    // The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
    const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. //robo
    const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. //robo
    const bool Z_MIN_ENDSTOP_INVERTING = true; // set to true to invert the logic of the endstop. //robo
    After
    // The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
    const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. //robo
    const bool Y_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. //robo
    const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop. //robo
     
  12. Ryan TeGantvoort

    Ryan TeGantvoort Active Member

    Joined:
    Mar 11, 2016
    Messages:
    343
    Likes Received:
    172
    I am pretty sure that setting should remain "true".
     
    danzca6 likes this.
  13. danzca6

    danzca6 Well-Known Member

    Joined:
    Jul 27, 2015
    Messages:
    2,161
    Likes Received:
    1,077
    Yeah...totally needs to stay true. Like I said, it is reverse logic in the firmware because the switches have the x axis endcaps sitting on them. What you just did will make it so you can only go up or else the firmware will think you are hitting the z endstops.
     

Share This Page