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

Gcode crazyness...

Discussion in 'Software' started by Dr. D, Aug 12, 2014.

  1. Dr. D

    Dr. D Member

    Joined:
    May 11, 2013
    Messages:
    79
    Likes Received:
    11
    I am noting something very odd in repeater host. When I run my prints via PC my first layer comes out at the exact height I set my first layer to (in this case .2). However when I export my Gcode to and SD and try to run my prints via LCD controller my first layer starts out dragging the extruder on the bed, the controller says .2 but it is clearly not printing at that height.
     
  2. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 11, 2013
    Messages:
    6,967
    Likes Received:
    2,276
    keep your terminal open and watch the G29 response codes. See if they're different.
     
  3. Dr. D

    Dr. D Member

    Joined:
    May 11, 2013
    Messages:
    79
    Likes Received:
    11
    14:41:28.274 : Eqn coefficients: a: 0.01 b: 0.00 d: -1.19
    14:41:28.274 : planeNormal x: -0.01 y: -0.00 z: 1.00
    14:41:28.274 :
    14:41:28.274 : Bed Level Correction Matrix:
    14:41:28.274 : 1.00 0.00 0.01
    14:41:28.274 : 0.00 1.00 0.00
    14:41:28.274 : -0.01 -0.00 1.00
    14:41:29.319 : echo:endstops hit: Z:1.16
    14:41:29.350 : Printing layer 1 of 55
    ---
    14:46:59.756 : echo:enqueing "M23 iphone~1.gco"
    14:46:59.756 : echo:enqueing "M24"
    14:46:59.760 : echo:Now fresh file: iphone~1.gco
    14:46:59.797 : File opened: iphone~1.gco Size: 1923896
    14:46:59.797 : File selected
    14:47:25.540 : zprobe_zoffset: 0.00
    14:48:00.528 : Eqn coefficients: a: 0.01 b: 0.00 d: -1.21
    14:48:00.528 : planeNormal x: -0.01 y: -0.00 z: 1.00
    14:48:00.532 :
    14:48:00.532 : Bed Level Correction Matrix:
    14:48:00.532 : 1.00 0.00 0.01
    14:48:00.532 : 0.00 1.00 0.00
    14:48:00.535 : -0.01 -0.00 1.00
    14:48:01.580 : echo:endstops hit: Z:1.23
    14:48:24.534 : start


    That is odd it seems the LCD sets the z-probe offset to 0.00 when I have it written in my g-code to set it at -.8 I don't know why it is doing that.
     
  4. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 11, 2013
    Messages:
    6,967
    Likes Received:
    2,276
    Are you using M565 or M92
     
  5. Dr. D

    Dr. D Member

    Joined:
    May 11, 2013
    Messages:
    79
    Likes Received:
    11
    custom g-code:

    G28 ; home all axes
    G1 Z5 F5000 ; lift nozzle
    M109 S[temperature] ; set the temperature
    M565 z-.8 ; set the probe offset
    G29 n 3 ; probe bed
     
  6. Dr. D

    Dr. D Member

    Joined:
    May 11, 2013
    Messages:
    79
    Likes Received:
    11
    M92? do I just drop that in for z? M92 z-.8?
     
  7. Mike Kelly

    Mike Kelly Volunteer

    Joined:
    Mar 11, 2013
    Messages:
    6,967
    Likes Received:
    2,276
    M565 defines the Z_probe offset, M92 doesn't that's why I asked.

    Is this matter control?
     
  8. Dr. D

    Dr. D Member

    Joined:
    May 11, 2013
    Messages:
    79
    Likes Received:
    11
    No worries, I modded the "Z-offset" setting in repeteir host under extruder setting and got it working.
     
    2 people like this.

Share This Page