Re: Project: FiveD on Arduino January 13, 2011 12:42AM |
Registered: 17 years ago Posts: 1,094 |
Re: Project: FiveD on Arduino January 13, 2011 04:23AM |
Registered: 14 years ago Posts: 7,616 |
Quote
I recently pulled a copy of the master branch after the recent merge (pulled hash 719a9d32b5b9ddbee2d339d8e4c6fe93ee2e1ac3) but I'm still seeing the same 2ms pauses as with the triffid_release_candidate. My earlier solution was a bit of a hack, but am I really the only one seeing this issue?
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: FiveD on Arduino January 13, 2011 04:27AM |
Registered: 14 years ago Posts: 7,616 |
Quote
Architect, we've discovered that there is no gcode for home using endstops
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: FiveD on Arduino January 13, 2011 10:42AM |
Registered: 13 years ago Posts: 155 |
Re: Project: FiveD on Arduino January 13, 2011 02:04PM |
Registered: 14 years ago Posts: 28 |
Re: Project: FiveD on Arduino January 13, 2011 05:01PM |
Registered: 17 years ago Posts: 900 |
Re: Project: FiveD on Arduino January 14, 2011 07:13AM |
Registered: 14 years ago Posts: 7,616 |
Quote
I've also got some patches for things like setting the endstop invert in config.h, making E moves relative instead of absolute, making G28 work when no X, Y or Z values are given, and a small bugfix for the x endstop in pinio.h. Any suggestions on how I should post these?
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: Project: FiveD on Arduino January 14, 2011 10:10AM |
Registered: 13 years ago Posts: 155 |
Re: Project: FiveD on Arduino January 14, 2011 10:48AM |
Registered: 14 years ago Posts: 14 |
Quote
In function ‘dda_create’:
error: invalid operands to binary << (have ‘double’ and ‘int’)
c_limit_calc = ( (dda->x_delta * (UM_PER_STEP_X * 2400L)) / dda->total_steps * (F_CPU / 40000) / MAXIMUM_FEEDRATE_X) << 8;
Re: Project: FiveD on Arduino January 14, 2011 10:54AM |
Registered: 14 years ago Posts: 14 |
Re: Project: FiveD on Arduino January 14, 2011 09:02PM |
Registered: 16 years ago Posts: 22 |
#define X_STEP_PIN DIO4 #define X_DIR_PIN DIO5 #define X_MIN_PIN DIO1 #define Y_STEP_PIN DIO6 #define Y_DIR_PIN DIO7 #define Y_MIN_PIN DIO2 #define Z_STEP_PIN DIO8 #define Z_DIR_PIN DIO9 #define Z_MIN_PIN DIO3 #define E_STEP_PIN DIO10 #define E_DIR_PIN DIO11 #define PS_ON_PIN DIO12
Re: Project: FiveD on Arduino January 14, 2011 09:23PM |
Registered: 13 years ago Posts: 155 |
Re: Project: FiveD on Arduino January 15, 2011 02:35AM |
Registered: 17 years ago Posts: 1,094 |
Re: Project: FiveD on Arduino January 15, 2011 04:22PM |
Registered: 16 years ago Posts: 22 |
Received: ok with parameter ****************
Received: ok X:3200,Y:3200,Z:0,E:0,F:50 with parameters X:3200,Y:3200,Z:0,E:0,F:50
Re: Project: FiveD on Arduino January 15, 2011 06:03PM |
Registered: 17 years ago Posts: 1,094 |
Re: Project: FiveD on Arduino January 15, 2011 09:11PM |
Registered: 13 years ago Posts: 155 |
Re: Project: FiveD on Arduino January 16, 2011 03:48AM |
Registered: 16 years ago Posts: 22 |
Re: Project: FiveD on Arduino January 16, 2011 04:29PM |
Registered: 16 years ago Posts: 438 |
Re: Project: FiveD on Arduino January 16, 2011 04:56PM |
Registered: 13 years ago Posts: 155 |
Re: Project: FiveD on Arduino January 16, 2011 10:00PM |
Registered: 14 years ago Posts: 71 |
//#ifdef DEBUG //if (debug_flags & DEBUG_PID) sersendf_P(PSTR("T{E:%d, P:%d * %ld = %ld / I:%d * %ld = %ld / D:%d * %ld = %ld # O: %ld = %u}\n"), t_error, heater_p, heaters_pid[h].p_factor, (int32_t) heater_p * heaters_pid[h].p_factor / PID_SCALE, heaters_runtime[h].heater_i, heaters_pid[h].i_factor, (int32_t) heaters_runtime[h].heater_i * heaters_pid[h].i_factor / PID_SCALE, heater_d, heaters_pid[h].d_factor, (int32_t) heater_d * heaters_pid[h].d_factor / PID_SCALE, pid_output_intermed, pid_output); //#endif
void heater_set(uint8_t index, uint8_t value) { #if NUM_HEATERS > 0 if (heaters[index].heater_pwm) { *(heaters[index].heater_pwm) = value; //#ifdef DEBUG //if (debug_flags & DEBUG_PID) sersendf_P(PSTR("PWM{%u = %u}\n"), index, OCR0A); //#endif } else { if (value >= 8) *(heaters[index].heater_port) |= MASK(heaters[index].heater_pin); else *(heaters[index].heater_port) &= ~MASK(heaters[index].heater_pin); } #endif /* if NUM_HEATERS > 0 */
Re: Project: FiveD on Arduino January 16, 2011 10:28PM |
Registered: 17 years ago Posts: 1,094 |
Re: Project: FiveD on Arduino January 17, 2011 12:51AM |
Registered: 14 years ago Posts: 71 |
Re: Project: FiveD on Arduino January 17, 2011 02:16AM |
Registered: 17 years ago Posts: 1,094 |
Re: Project: FiveD on Arduino January 17, 2011 02:32AM |
Registered: 16 years ago Posts: 22 |
ERROR: GCodeReaderAndWriter.getX () - no value stored! [27.794s/672ms] ERROR: GCodeReaderAndWriter.getY() - no value stored! [27.795s/1ms] ERROR: GCodeReaderAndWriter.getZ() - no value stored! [27.795s/0ms] ERROR: GCodeReaderAndWriter.getE() - no value stored! [27.795s/0ms] ERROR: GCodeReaderAndWriter.getETemp() - no value stored! [28.623s/828ms] ERROR: GCodeReaderAndWriter.getBTemp() - no value stored! [28.626s/3ms] ERROR: GCodeReaderAndWriter.getBTemp() - no value stored! [30.129s/1503ms]
Re: Project: FiveD on Arduino January 17, 2011 04:01AM |
Registered: 17 years ago Posts: 1,094 |
Re: Project: FiveD on Arduino January 17, 2011 09:03AM |
Registered: 14 years ago Posts: 58 |
Re: Project: FiveD on Arduino January 17, 2011 09:26AM |
Registered: 13 years ago Posts: 155 |
Re: Project: FiveD on Arduino January 17, 2011 12:23PM |
Registered: 14 years ago Posts: 71 |
Re: Project: FiveD on Arduino January 17, 2011 04:24PM |
Registered: 16 years ago Posts: 438 |
Re: Project: FiveD on Arduino January 17, 2011 04:28PM |
Registered: 17 years ago Posts: 1,094 |