Results 1 to 10 of 21
Thread: Solenoid for Z probing
Hybrid View
-
05-26-2015, 09:39 AM #1
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:");
-
06-06-2015, 09:58 AM #2
- 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.
-
06-06-2015, 03:16 PM #3
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))
-
03-17-2016, 01:27 PM #4
- Join Date
- Mar 2016
- Posts
- 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);
}
-
03-17-2016, 03:21 PM #5
-
03-17-2016, 04:43 PM #6
Please explain to me how to...
Today, 02:43 PM in 3D Printer Parts, Filament & Materials