Skip to content

Commit

Permalink
Merge pull request #2 from AndyEveritt/dev
Browse files Browse the repository at this point in the history
update when check happens
  • Loading branch information
AndyEveritt committed Oct 14, 2020
2 parents 6760907 + ddb5e91 commit ef02f5f
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 8 deletions.
3 changes: 3 additions & 0 deletions riley/macros/Tool Control/Coupler - Lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
M400
M120
G90
M913 C100
G1 C33 F2500
M400
M913 C50
M121
M400
3 changes: 3 additions & 0 deletions riley/macros/Tool Control/Coupler - Unlock
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
M400
M120
G90
M913 C100
G1 C129 F2500
M400
M913 C50
M121
M400
2 changes: 1 addition & 1 deletion riley/sys/config.g
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ G10 P1 R0 S0 ; Reset initial tool 1 active and standby temperatures to 0C

; Tool offsets, adding to vales brings the plane closer to the tool
G10 P0 X19.5 Y42.5 Z-5.25 ; T0 (X0 | Y0 | Z0)
G10 P1 X19.5 Y42.5 Z-5.45 ; T0 (X0 | Y0 | Z0)
G10 P1 X19.5 Y42.5 Z-5.35 ; T0 (X0 | Y0 | Z0)

M593 F50 ; cancel ringing at 50Hz (https://forum.e3d-online.com/threads/accelerometer-and-resonance-measurements-of-the-motion-system.3445/)
M376 H15 ; bed compensation taper
Expand Down
2 changes: 1 addition & 1 deletion riley/sys/pause.g
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
G91 ; use relative positioning
G1 H2 Z5 F5000 ; lift Z 5mm
G90 ; back to absolute positioning
G1 X0 Y200 F50000 ; move out the way.
G1 X0 Y200 F20000 ; move out the way.
3 changes: 3 additions & 0 deletions riley/sys/tooldetect.g
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
; Check tool detect switch
if sensors.gpIn[0] != null && sensors.gpIn[0].value = 0
M291 S3 P{"No tool on toolhead. Will set tool to T-1"} R"Tool Change Error"
;Unlock Coupler
M98 P"/macros/Tool Control/Coupler - Unlock"
M400
T-1 P0
M98 P"resetaxislimit.g"
M564 S1 ; apply the normal limits again
Expand Down
9 changes: 6 additions & 3 deletions riley/sys/tpre0.g
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@ M400
;if you are using non-standard length hotends ensure the bed is lowered enough BEFORE undocking the tool!
G91
G1 Z13.5 F1000
G1 Y-5
G90

; Check tool detect switch
M400
M98 P"tooldetect.g"
M400

;Move Out
G1 X-9 Y150 B4.25 F2000

Expand All @@ -41,6 +47,3 @@ M208 X-17.5:317.5 Y154

; apply the normal limits again
M564 S1

; Check tool detect switch
M98 P"tooldetect.g"
9 changes: 6 additions & 3 deletions riley/sys/tpre1.g
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@ M400
;if you are using non-standard length hotends ensure the bed is lowered enough BEFORE undocking the tool!
G91
G1 Z13.5 F1000
G1 Y-5
G90

; Check tool detect switch
M400
M98 P"tooldetect.g"
M400

;Move Out
G1 X81.1 Y150 B4.25 F2000

Expand All @@ -41,6 +47,3 @@ M208 X-17.5:317.5 Y154

; apply the normal limits again
M564 S1

; Check tool detect switch
M98 P"tooldetect.g"

0 comments on commit ef02f5f

Please sign in to comment.