Multi Triggers in a macro
-
I'm looking to write a custom Macro that changes Extrusion Speed on an external trigger (so ever time the trigger pulses the next speed is selected )
I can not seem to get it to work !
My efforts below to test the trigger - I have tried "If" and "Eco"
;Trigger.g
M104 S200
M105
M109 S200
M82 ;absolute e trusion mode
;Prime the e truder
G92 E0
G1 F200 E3
if <"trigger2.g">
M104 S210
M105
M109 S210
M82 ;absolute e trusion mode
;Prime the e truder
G92 E0
G1 F210 E3
G92 E0
G92 E0
G92 E0
If <"trigger2.g">
M104 S220
M105
M109 S220
M82 ;absolute e trusion mode
;Prime the e truder
G92 E0
G1 F220 E3
G92 E0
G92 E0
G92 E0
M116 echo >"trigger2.g"
M117 "Trigger 3"
M116 echo >"trigger2.g"
M117 "Trigger 4"
M116 echo >"trigger2.g"
M117 "Trigger 5"