Re: stampa in ABS June 07, 2019 08:19AM |
Registered: 9 years ago Posts: 762 |
Quote
Dado74
...G92 Z0...è corretto?
case 92: // G92 if(!code_seen(axis_codes[E_AXIS])) st_synchronize(); for(int8_t i=0; i < NUM_AXIS; i++) { if(code_seen(axis_codes)) { if(i == E_AXIS) { current_position = code_value(); plan_set_e_position(current_position[E_AXIS]); } else { #ifdef SCARA if (i == X_AXIS || i == Y_AXIS) { current_position = code_value(); } else { current_position = code_value()+add_homing; } #else current_position = code_value()+add_homing; #endif plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS]); } } } break;
inline void gcode_G92() { bool didXYZ = false, didE = code_seen('E'); if (!didE) stepper.synchronize(); LOOP_XYZE(i) { if (code_seen(axis_codes)) { #if IS_SCARA current_position = code_value_axis_units((AxisEnum)i); if (i != E_AXIS) didXYZ = true; #else #if ENABLED(WORKSPACE_OFFSETS) const float p = current_position; #endif float v = code_value_axis_units((AxisEnum)i); current_position = v; if (i != E_AXIS) { didXYZ = true; #if ENABLED(WORKSPACE_OFFSETS) position_shift += v - p; // Offset the coordinate space update_software_endstops((AxisEnum)i); #endif } #endif } } if (didXYZ) SYNC_PLAN_POSITION_KINEMATIC(); else if (didE) sync_plan_position_e(); report_current_position(); }
G28 G92 Z-0.2
Re: stampa in ABS June 08, 2019 03:00AM |
Registered: 6 years ago Posts: 211 |
Re: stampa in ABS June 09, 2019 05:40AM |
Registered: 7 years ago Posts: 75 |
Re: stampa in ABS June 09, 2019 05:49AM |
Registered: 7 years ago Posts: 75 |
Re: stampa in ABS June 11, 2019 07:53AM |
Registered: 7 years ago Posts: 75 |
Re: stampa in ABS June 12, 2019 04:08AM |
Registered: 7 years ago Posts: 1,059 |
Re: stampa in ABS June 12, 2019 03:47PM |
Registered: 9 years ago Posts: 762 |
Quote
onekk
...le routine di funzionamento specie sulle schede a 8 bit sono già troppo affollate ...
Re: stampa in ABS October 04, 2019 05:22PM |
Registered: 8 years ago Posts: 246 |
Quote
Dado74
Alla fine grazie a voi ho risolto il mio problema.
L'ABS titanX è una favola, stampo come se fosse PLA, temperature a parte. per questo ringrazio tantissimo Adryzz.