Quote Originally Posted by Fri View Post
I got it all working great. One thing I got I don't know why is the M114 is not working. I am using a Ramps with a current Marlin, but the m114 command doesn't do anything. Any suggestions?
M114 Should always be there. The fact it isn't responding is not good! I think I would search Marlin_main.cpp and verify that the code is present. It should look like:

Code:
axis_steps_per_unit[i] = code_value();
      }
    }
  }
}


/**
 * M114: Output current position to serial port
 */
inline void gcode_M114() {
  SERIAL_PROTOCOLPGM("X:");
  SERIAL_PROTOCOL(current_position[X_AXIS]);
  SERIAL_PROTOCOLPGM(" Y:");
  SERIAL_PROTOCOL(current_position[Y_AXIS]);
  SERIAL_PROTOCOLPGM(" Z:");
  SERIAL_PROTOCOL(current_position[Z_AXIS]);
  SERIAL_PROTOCOLPGM(" E:");
  SERIAL_PROTOCOL(current_position[E_AXIS]);


  SERIAL_PROTOCOLPGM(MSG_COUNT_X);
  SERIAL_PROTOCOL(float(st_get_position(X_AXIS))/axis_steps_per_unit[X_AXIS]);
  SERIAL_PROTOCOLPGM(" Y:");
  SERIAL_PROTOCOL(float(st_get_position(Y_AXIS))/axis_steps_per_unit[Y_AXIS]);
  SERIAL_PROTOCOLPGM(" Z:");
  SERIAL_PROTOCOL(float(st_get_position(Z_AXIS))/axis_steps_per_unit[Z_AXIS]);


  SERIAL_PROTOCOLLN("");


  #ifdef SCARA
    SERIAL_PROTOCOLPGM("SCARA Theta:");