Azteeg X3 7 motors, slaved drives,etc setup ??? September 30, 2013 01:36PM |
Registered: 10 years ago Posts: 9 |
Re: Azteeg X3 7 motors, slaved drives,etc setup ??? October 03, 2013 06:32PM |
Registered: 12 years ago Posts: 206 |
Re: Azteeg X3 7 motors, slaved drives,etc setup ??? October 05, 2013 09:52PM |
Registered: 10 years ago Posts: 9 |
Re: Azteeg X3 7 motors, slaved drives,etc setup ??? November 16, 2013 02:39AM |
Registered: 10 years ago Posts: 7 |
Re: Azteeg X3 7 motors, slaved drives,etc setup ??? November 19, 2013 11:36PM |
Registered: 10 years ago Posts: 9 |
#ifndef COREXY if ((out_bits & (1<<Y_AXIS)) != 0) { // -direction WRITE(Y_DIR_PIN,INVERT_Y_DIR); #ifdef Y_DUAL_STEPPER_DRIVERS WRITE(Y2_DIR_PIN,INVERT_Y_DIR); #endif count_direction[Y_AXIS]=-1; #else if ((((out_bits & (1<<X_AXIS)) != 0)&&(out_bits & (1<<Y_AXIS)) == 0)) { // -Y occurs for -A and +B #endif CHECK_ENDSTOPS { #if defined(Y_MIN_PIN) && Y_MIN_PIN > -1 bool y_min_endstop=(READ(Y_MIN_PIN) != Y_MIN_ENDSTOP_INVERTING); if(y_min_endstop && old_y_min_endstop && (current_block->steps_y > 0)) { endstops_trigsteps[Y_AXIS] = count_position[Y_AXIS]; endstop_y_hit=true; step_events_completed = current_block->step_event_count; } old_y_min_endstop = y_min_endstop; #endif } } else { // +direction WRITE(Y_DIR_PIN,!INVERT_Y_DIR); #ifdef Y_DUAL_STEPPER_DRIVERS WRITE(Y2_DIR_PIN,!INVERT_Y_DIR); #endif count_direction[Y_AXIS]=1; CHECK_ENDSTOPS { #if defined(Y_MAX_PIN) && Y_MAX_PIN > -1 bool y_max_endstop=(READ(Y_MAX_PIN) != Y_MAX_ENDSTOP_INVERTING); if(y_max_endstop && old_y_max_endstop && (current_block->steps_y > 0)){ endstops_trigsteps[Y_AXIS] = count_position[Y_AXIS]; endstop_y_hit=true; step_events_completed = current_block->step_event_count; } old_y_max_endstop = y_max_endstop; #endif } }