G91.1 support. Fixed a config.h option.
- G91.1 support added. This g-code sets the arc IJK distance mode to incremental, which is the default already. This simply helps reduce parsing errors with certain CAM programs that output this command. - Max step rate checks weren’t being compiled in if the option was enabled. Fixed now. - Alarm codes were not displaying correctly when GUI reporting mode was enabled. Due to unsigned int problem. Changed codes to positive values since they aren’t shared with other codes.
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
#define STATUS_ALARM_LOCK 9
|
||||
#define STATUS_SOFT_LIMIT_ERROR 10
|
||||
#define STATUS_OVERFLOW 11
|
||||
// #define STATUS_MAX_STEP_RATE_EXCEEDED 12
|
||||
#define STATUS_MAX_STEP_RATE_EXCEEDED 12
|
||||
|
||||
#define STATUS_GCODE_UNSUPPORTED_COMMAND 20
|
||||
#define STATUS_GCODE_MODAL_GROUP_VIOLATION 21
|
||||
@ -54,12 +54,12 @@
|
||||
#define STATUS_GCODE_UNUSED_WORDS 36
|
||||
#define STATUS_GCODE_G43_DYNAMIC_AXIS_ERROR 37
|
||||
|
||||
// Define Grbl alarm codes. Less than zero to distinguish alarm error from status error.
|
||||
#define ALARM_HARD_LIMIT_ERROR -1
|
||||
#define ALARM_SOFT_LIMIT_ERROR -2
|
||||
#define ALARM_ABORT_CYCLE -3
|
||||
#define ALARM_PROBE_FAIL -4
|
||||
#define ALARM_HOMING_FAIL -5
|
||||
// Define Grbl alarm codes.
|
||||
#define ALARM_HARD_LIMIT_ERROR 1
|
||||
#define ALARM_SOFT_LIMIT_ERROR 2
|
||||
#define ALARM_ABORT_CYCLE 3
|
||||
#define ALARM_PROBE_FAIL 4
|
||||
#define ALARM_HOMING_FAIL 5
|
||||
|
||||
// Define Grbl feedback message codes.
|
||||
#define MESSAGE_CRITICAL_EVENT 1
|
||||
|
Reference in New Issue
Block a user