You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I've tried this new version with DUAL_X_CARRIAGE, but doesn't works. (Arduino Mega)
When compile the code raise this error:
### sketch/src/MK_Main.cpp: In function 'void tool_change(uint8_t, float, bool)':
sketch/src/MK_Main.cpp:8777:78: error: 'DEBUG__INFO_POS' was not declared in this scope
if (DEBUGGING(INFO)) DEBUG__INFO_POS("New Extruder", current_position);
^
In file included from sketch/src/../base.h:72:0,
from sketch/src/MK_Main.cpp:31:
sketch/src/MK_Main.cpp:8781:59: error: 'inactive_extruder_x_pos' was not declared in this scope
current_position[X_AXIS] = LOGICAL_X_POSITION(inactive_extruder_x_pos);
^
sketch/src/../src/MK_Main.h:129:38: note: in definition of macro 'LOGICAL_POSITION'
#define LOGICAL_POSITION(POS, AXIS) (POS + home_offset[AXIS] + position_shift[AXIS])
^
sketch/src/MK_Main.cpp:8781:40: note: in expansion of macro 'LOGICAL_X_POSITION'
current_position[X_AXIS] = LOGICAL_X_POSITION(inactive_extruder_x_pos);
^
sketch/src/MK_Main.cpp:8785:13: error: 'active_extruder_parked' was not declared in this scope
active_extruder_parked = (active_extruder == 0); // this triggers the second extruder to move into the duplication position
^
sketch/src/MK_Main.cpp:8789:64: error: 'duplicate_extruder_x_offset' was not declared in this scope
current_position[X_AXIS] = destination[X_AXIS] + duplicate_extruder_x_offset;
^
sketch/src/MK_Main.cpp:8791:13: error: 'extruder_duplication_enabled' was not declared in this scope
extruder_duplication_enabled = false;
^
In file included from sketch/src/../base.h:60:0,
from sketch/src/MK_Main.cpp:31:
sketch/src/MK_Main.cpp:8803:56: error: 'active_extruder_parked' was not declared in this scope
SERIAL_LMV(INFO, "Active extruder parked: ", active_extruder_parked ? "yes" : "no");
^
sketch/src/../src/communication/communication.h:100:56: note: in definition of macro 'SERIAL_V'
#define SERIAL_V(val, args...) Com::print(val, ##args)
^
sketch/src/../src/communication/communication.h:124:59: note: in expansion of macro 'SERIAL_MV'
#define SERIAL_LMV(srt, msg, val, args...) SERIAL_S(srt),SERIAL_MV(msg, val, ##args),SERIAL_E
^
sketch/src/MK_Main.cpp:8803:11: note: in expansion of macro 'SERIAL_LMV'
SERIAL_LMV(INFO, "Active extruder parked: ", active_extruder_parked ? "yes" : "no");
^
exit status 1
Error compilación en tarjeta Arduino/Genuino Mega or Mega 2560.
This is my Configuration_Overall file
`/**
Configuration_Overall.h
Here you can define all your custom settings and they will overwrite configurations in the main configuration files.
*/
Hi!
I've tried this new version with DUAL_X_CARRIAGE, but doesn't works. (Arduino Mega)
When compile the code raise this error:
### sketch/src/MK_Main.cpp: In function 'void tool_change(uint8_t, float, bool)':
sketch/src/MK_Main.cpp:8777:78: error: 'DEBUG__INFO_POS' was not declared in this scope
if (DEBUGGING(INFO)) DEBUG__INFO_POS("New Extruder", current_position);
^
In file included from sketch/src/../base.h:72:0,
from sketch/src/MK_Main.cpp:31:
sketch/src/MK_Main.cpp:8781:59: error: 'inactive_extruder_x_pos' was not declared in this scope
current_position[X_AXIS] = LOGICAL_X_POSITION(inactive_extruder_x_pos);
^
sketch/src/../src/MK_Main.h:129:38: note: in definition of macro 'LOGICAL_POSITION'
#define LOGICAL_POSITION(POS, AXIS) (POS + home_offset[AXIS] + position_shift[AXIS])
^
sketch/src/MK_Main.cpp:8781:40: note: in expansion of macro 'LOGICAL_X_POSITION'
current_position[X_AXIS] = LOGICAL_X_POSITION(inactive_extruder_x_pos);
^
sketch/src/MK_Main.cpp:8785:13: error: 'active_extruder_parked' was not declared in this scope
active_extruder_parked = (active_extruder == 0); // this triggers the second extruder to move into the duplication position
^
sketch/src/MK_Main.cpp:8789:64: error: 'duplicate_extruder_x_offset' was not declared in this scope
current_position[X_AXIS] = destination[X_AXIS] + duplicate_extruder_x_offset;
^
sketch/src/MK_Main.cpp:8791:13: error: 'extruder_duplication_enabled' was not declared in this scope
extruder_duplication_enabled = false;
^
In file included from sketch/src/../base.h:60:0,
from sketch/src/MK_Main.cpp:31:
sketch/src/MK_Main.cpp:8803:56: error: 'active_extruder_parked' was not declared in this scope
SERIAL_LMV(INFO, "Active extruder parked: ", active_extruder_parked ? "yes" : "no");
^
sketch/src/../src/communication/communication.h:100:56: note: in definition of macro 'SERIAL_V'
#define SERIAL_V(val, args...) Com::print(val, ##args)
^
sketch/src/../src/communication/communication.h:124:59: note: in expansion of macro 'SERIAL_MV'
#define SERIAL_LMV(srt, msg, val, args...) SERIAL_S(srt),SERIAL_MV(msg, val, ##args),SERIAL_E
^
sketch/src/MK_Main.cpp:8803:11: note: in expansion of macro 'SERIAL_LMV'
SERIAL_LMV(INFO, "Active extruder parked: ", active_extruder_parked ? "yes" : "no");
^
exit status 1
Error compilación en tarjeta Arduino/Genuino Mega or Mega 2560.
This is my Configuration_Overall file
`/**
*/
/**** CONFIGURATION BASIC ****/
define SERIAL_PORT 0
define BAUDRATE 115200
define STRING_CONFIG_H_AUTHOR "(none, default config)"
define MACHINE_UUID "00000000-0000-0000-0000-000000000000"
define MOTHERBOARD BOARD_RAMPS_13_HHF
define MECHANISM MECH_CARTESIAN
define POWER_SUPPLY 0
define EXTRUDERS 2
define DRIVER_EXTRUDERS 2
/**** CONFIGURATION CARTESIAN ****/
define CUSTOM_MACHINE_NAME "Ice3D"
define X_MIN_ENDSTOP_LOGIC true
define Y_MIN_ENDSTOP_LOGIC true
define Z_MIN_ENDSTOP_LOGIC true
define Z2_MIN_ENDSTOP_LOGIC true
define X_MAX_ENDSTOP_LOGIC true
define Y_MAX_ENDSTOP_LOGIC true
define Z_MAX_ENDSTOP_LOGIC true
define Z2_MAX_ENDSTOP_LOGIC true
define Z_PROBE_ENDSTOP_LOGIC true
define E_MIN_ENDSTOP_LOGIC true
define Z_ENDSTOP_SERVO_NR 0
define Z_ENDSTOP_SERVO_ANGLES {0,180}
//#define Z_PROBE_FIX_MOUNTED
define X_PROBE_OFFSET_FROM_NOZZLE 0
define Y_PROBE_OFFSET_FROM_NOZZLE 0
define Z_PROBE_OFFSET_FROM_NOZZLE -21.05
define X_HOME_DIR -1
define Y_HOME_DIR 1
define Z_HOME_DIR 1
define E_HOME_DIR 1
define MIN_Z_HEIGHT_FOR_HOMING 0
define INVERT_X_DIR true
define X_MAX_POS 300
define X_MIN_POS 0
define Y_MAX_POS 250
define Y_MIN_POS 0
define Z_MAX_POS 250
define Z_MIN_POS 0
define E_MIN_POS 0
define AUTO_BED_LEVELING_FEATURE
define DEFAULT_AXIS_STEPS_PER_UNIT {159.757,158.933,800,102.308,102.308,102.308,102.308}
/**** CONFIGURATION FEATURE ****/
define ENABLE_SERVOS
define NUM_SERVOS 1
define DEACTIVATE_SERVOS_AFTER_MOVE
define DUAL_X_CARRIAGE
define X2_MIN_POS 10
define X2_MAX_POS 190
define X2_HOME_DIR 1
define X2_HOME_POS X2_MAX_POS
define DEFAULT_DUAL_X_CARRIAGE_MODE 1
define X_DUAL_STEPPER_DRIVERS
define LCD_LANGUAGE es
/**** CONFIGURATION TEMPERATURE ****/
define TEMP_SENSOR_0 11
define TEMP_SENSOR_1 11
`
The text was updated successfully, but these errors were encountered: