Close



Results 1 to 10 of 21

Hybrid View

  1. #1
    Technologist
    Join Date
    Oct 2014
    Posts
    114
    The code is there, and I am not sure if it is not responding. When I home all, and then do a M114 my z should report a number other than zero, but it is always on zero. M119 and other M codes work fine.

  2. #2
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    The M114 unconditionally prints "X:" and the number. M119 has this code:
    Code:
        case 119: // M119
        SERIAL_PROTOCOLLN(MSG_M119_REPORT);
          #if defined(X_MIN_PIN) && X_MIN_PIN > -1
            SERIAL_PROTOCOLPGM(MSG_X_MIN);
            SERIAL_PROTOCOLLN(((READ(X_MIN_PIN)^X_MIN_ENDSTOP_INVERTING)?MSG_ENDSTOP_HIT:MSG_ENDSTOP_OPEN))
    If the M119 command prints that stuff correctly, it uses the same SERIAL_PROTOCOLPGM() macro.

  3. #3
    hey im trying the same thing on my printer, i managed to get it working with the marlin firmware provided in the post but i want to use the newest version of marlin do you guys know which section i need to change in the marlin_main.cpp? because the part that is supposed to be modified is not there

    this is what is supposed to be modified:

    static void engage_z_probe(int d = 100) { //lower z probe
    digitalWrite(Z_PROBE_PIN, HIGH);
    delay(d);
    }

  4. #4
    Super Moderator Roxy's Avatar
    Join Date
    Apr 2014
    Location
    Lone Star State
    Posts
    2,182
    Quote Originally Posted by Bluexorcist View Post
    hey im trying the same thing on my printer, i managed to get it working with the marlin firmware provided in the post but i want to use the newest version of marlin do you guys know which section i need to change in the marlin_main.cpp? because the part that is supposed to be modified is not there

    this is what is supposed to be modified:

    static void engage_z_probe(int d = 100) { //lower z probe
    digitalWrite(Z_PROBE_PIN, HIGH);
    delay(d);
    }
    Check out the Debug System and the Debug Flags. And specifically, the M111 command. You may have what you need by turning on that option in the newer releases.

  5. #5
    Quote Originally Posted by Roxy View Post
    Check out the Debug System and the Debug Flags. And specifically, the M111 command. You may have what you need by turning on that option in the newer releases.
    where do i go to check it out?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •