Skip to content

Instantly share code, notes, and snippets.

@dnewcome
Created November 15, 2014 19:48
Show Gist options
  • Save dnewcome/ae6784cc73993e8541a4 to your computer and use it in GitHub Desktop.
Save dnewcome/ae6784cc73993e8541a4 to your computer and use it in GitHub Desktop.
Shapeoko config
;system settings
$ja 2000000
$st 1
$mt 10
; motor1
$1ma 0
$1sa 1.8
$1tr 40.00
$1mi 8
$1po 0
$1pm 0
$2ma 1
$2sa 1.8
$2tr 40.00
$2mi 8
$2po 0
$2pm 0
$3ma 2
$3sa 1.8
$3tr 1.25
$3mi 4
$3po 0
$3pm 0
; x axis
$xam 1 ;AXIS_MODE 1=standard mode
$xvm 16000 ;VELOCITY_MAX Your machine might go faster or slower than this. Test it and adjust current pots
$xfr 16000 ;FEEDRATE_MAX Typcially set the same as velocity. May be set slower but not faster.
$xtn 0 ;TRAVEL_MIN Minimum travel (almost aways zero) (not in 380.08)
$xtm 220 ;TRAVEL_MAX Max travel before crash
$xjm 50,000,000 ;JERK_MAX Jerk X 1 million. (see note for 380.08 or earlier)
$xjh 10000 ;JERK_HOMING Jerk X 1 million to use for homing. Typically > JERK_MAX (see 380.08 note)
$xjd 0.01 ;JUNCTION_DEVIATION in mm - smaller is faster cornering
$xsn 1 ;SWITCH_MODE_MIN Switch mode for minimum travel switch. 1 is HOMING
$xsx 0 ;SWITCH_MODE_MAX Switch mode for maximum travel switch. 0 is DISABLED
$xsv 3000 ;SEARCH_VELOCITY Homing speed to drive onto switch
$xlv 100 ;LATCH_VELOCITY Speed to back off homing switch
$xlb 20 ;LATCH_BACKOFF Max distance to back off switch during latch phase
$xzb 3 ;ZERO_BACKOFF Distance to back off switch before setting axis zero position
; y axis
$yam 1 ;AXIS_MODE 1=standard mode
$yvm 16000 ;VELOCITY_MAX Your machine might go faster or slower than this
$yfr 16000 ;FEEDRATE_MAX Typcially set the same as velocity. May be set slower but not faster.
$ytn 0 ;TRAVEL_MIN Minimum travel (almost aways zero) (not in 380.08)
$ytm 220 ;TRAVEL_MAX Max travel before crash
$yjm 50,000,000 ;JERK_MAX Jerk X 1 million.
$yjh 10000 ;JERK_HOMING Jerk X 1 million to use for homing. Typically > JERK_MAX
$yjd 0.01 ;JUNCTION_DEVIATION in mm - smaller is faster cornering
$ysn 1 ;SWITCH_MODE_MIN Switch mode for minimum travel switch. 1 is HOMING
$ysx 0 ;SWITCH_MODE_MAX Switch mode for maximum travel switch. 0 is DISABLED
$ysv 3000 ;SEARCH_VELOCITY Homing speed to drive onto switch
$ylv 100 ;LATCH_VELOCITY Speed to back off homing switch
$ylb 20 ;LATCH_BACKOFF Max distance to back off switch during latch phase
$yzb 3 ;ZERO_BACKOFF Distance to back off switch before setting axis zero position
;z axis
$zam 1 ;AXIS_MODE 1=standard mode
$zvm 800 ;VELOCITY_MAX Heavily dependent on how clean you can get the Z axis setup. Might go faster.
$zfr 800 ;FEEDRATE_MAX Typically set the same as velocity. May be set slower but not faster.
$ztn 0 ;TRAVEL_MIN Typically zero but may be negative (e.g. set travel max to zero)
$ztm 100 ;TRAVEL_MAX Max travel before crash
$zjm 50,000,000 ;JERK_MAX 50 million
$zjh 1000 ;JERK_HOMING 1 billion. Jerk to use during homing operations
$zjd 0.01 ;JUNCTION_DEVIATION in mm - smaller is faster cornering
$zsn 0 ;SWITCH_MODE_MIN Switch mode for minimum travel switch. 0 is DISABLED
$zsx 1 ;SWITCH_MODE_MAX Switch mode for maximum travel switch. 1 is HOMING
$zsv 3000 ;SEARCH_VELOCITY Homing speed to drive onto switch
$zlv 100 ;LATCH_VELOCITY Speed to back off homing switch
$zlb 20 ;LATCH_BACKOFF Max distance to back off switch during latch phase
$zzb 3 ;ZERO_BACKOFF Distance to back off switch before setting axis zero position
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment