Run on Pause script not running

New guy here. I've been using Repetier Host (and Server) for several months now with good success. Recently, though, I've been trying to up my game and use the @pause command to do the usual *pause/move nozzle/load different filament* magic that seems fairly popular. However, no matter what I try, I can't seem to get the Run on Pause script to actually run.

Here's my sample G-Code:

...
G1 X113.106 Y134.307 E11.27750
G1 X97.088 Y118.290 E11.59288
G1 Z0.200 F7800.000
M140 S60 ; wait for bed temperature to be reached
@pause Load black filament (after layer 1, for testing)
G1 Z0.300 F7800.000
G1 X109.904 Y140.971 F7800.000
G1 X109.016 Y141.807 E11.59687 F3600.000
G1 X108.213 Y142.457 E11.60024
...


I currently have the Run on Pause script as:

G91 ; set relative positioning
G1 E-2 F1800 ; retract filament slightly to avoid drips
G1 Z20 ; move extruder up 10mm
G90 ; return to absolute positioning

(Incidentally, I've also tried just a simple "G1 Z50.0" command as the script -- nothing)

Repetier Host pauses, but doesn't seem to send the commands. (I hit resume, thinking it might send them *after* pausing, but no dice either).

Thinking there might be bug in my script, I copy/pasted it into Script 1. Executing Script 1 works just fine. Even when paused!

Even the log doesn't show any of the commands. If I hit Script 1 while paused, it spits out the 4 commands to the console and the printer merrily responds.

I'm pulling out what little hair I have left. What am I doing wrong??

Thanks!

Comments

  • If you print using server, it is the server who is in control and executes the pause, so you need to adjust the servers pause script, not the host version.
  • I didn't realize that Server even had that capability, but that makes perfect sense.

    Thanks!


Sign In or Register to comment.