You are not logged in.

#1 2016-03-11 13:59:27

joaoreina
Member
From: Paris, France
Registered: 2016-02-19
Posts: 20

Failing to stop printing, after print job freezes

I've been testing some printer profiles and sometimes it fails to start the job or for some reason it gets stalled in the beginning, after homing the printer. The thing is that it doesn't accept the "stop print" command. I can navigate normally through the menus, but it also doesn't accept the restart or shut down pi commands. It just stays stuck. Apparently, waiting from some order from the controller
I'm using muve3d version 1039
Here's the log below;

Error    -    2016/03/11 14:52:12.486369    Access Control    Printing in Progress    -
Error    -    2016/03/11 14:51:58.767828    Access Control    Printing in Progress    -
Warning    -    2016/03/11 14:45:29.074618    Hardware    Settings saved but critical settings could not switched in the middle of print. If you need all settings to be take effect stop the printer and submit again.   
UNKNOWN    2016/03/11 14:42:31.824997 {"Layer":"-","module":"Terminal","level":"Info","action":"Data Received","msg":"ok
UNKNOWN    2016/03/11 14:42:31.824473 {"Layer":"-","module":"Terminal","level":"Info","action":"Data Received","msg":"ok
Info    -    2016/03/11 14:42:18.743721    GCODE    Waiting    Waiting for done message from controller
Info    -    2016/03/11 14:42:18.743364    GCODE    Transfering Data    ;M280 P2 S90; used with shutter wired to the ramps↵;M650 D4.0000 S1.0000↵;M651↵;G1 Z0.1↵
Info    1    2016/03/11 14:42:18.739899    Z-Axis    Moving to Layer 1    -
Info    -    2016/03/11 14:42:18.739194    Projector    Turn On The Projector    -
UNKNOWN    2016/03/11 14:42:18.734209 {"Layer":"-","module":"Terminal","level":"Info","action":"Data Received","msg":"ok
Info    -    2016/03/11 14:42:18.726073    Shutter    Shutter Close    -
Info    -    2016/03/11 14:42:18.725844    Image    Clear Screen    -
Info    -    2016/03/11 14:42:18.725386    Projector    Turn On The Projector    -
Info    -    2016/03/11 14:42:18.725068    GCODE    Transfering Data    ;M280 P2 S0; ramps wired shutter↵M650 D5 S5 ↵G28↵G91↵
UNKNOWN    2016/03/11 14:41:55.888400 {"Layer":"-","module":"Terminal","level":"Info","action":"Data Received","msg":"ok

Offline

#2 2016-03-11 14:13:54

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,536

Re: Failing to stop printing, after print job freezes

It intentionally blocks restart and shutdown like commands during prints to prevent possible mistakes.

When you put [[WaitForDoneMessage]] message into gcode box, nanoDLP waits until receive Z_move_comp message from ramp board.
Quite interestingly your ramp only sends 'ok' messages back, are you sure you are using patched marlin firmware?
If you are using patched version, is there any similarity for profiles which has this issue?

Stop only works when ramp returns back the control.

Maybe we need force stop somewhere buried inside setup page.

Offline

#3 2016-03-11 14:54:45

joaoreina
Member
From: Paris, France
Registered: 2016-02-19
Posts: 20

Re: Failing to stop printing, after print job freezes

yes, I did upload the muve3d patched software
in the meantime, I've restarted the RPi through terminal
I was blocking the gcode line with the G1 Z0 command (I don't want Z to go up, it is intentional) and the test ran well
As you mentioned, I suppose that was the message nanoDLP was waiting for
As far as I remember, it usually happens when I'm tuning the printer profiles, usually it is related with some mistake I have in my gcode, that likely blocks the work
Yes, I think enabling the option to force the print to stop, could be useful, there wouldn't be much room for accidents, if it was inside the setup window
thanks

Offline

#4 2016-03-11 16:01:34

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,536

Re: Failing to stop printing, after print job freezes

Thank you for the info.

I will add force stop.

Offline

#5 2016-09-15 21:00:59

JUBO
Member
Registered: 2016-08-19
Posts: 11

Re: Failing to stop printing, after print job freezes

Force stop isn't added yet yes? I am having the same problem with Ramps answering with OK.

Info    1    2016-09-15 20:57:02.909536    Gcode    Waiting for done message from controller
Info    1    2016-09-15 20:57:02.907523    Terminal    Received Data From RAMPS: ok
Info    1    2016-09-15 20:57:02.906623    Terminal    Received Data From RAMPS: ok
Debug    1    2016-09-15 20:57:02.903817    Gcode    Transfering Data G01 Z0.1 F100 ;
Info    1    2016-09-15 20:57:02.903303    Terminal    Received Data From RAMPS: ok
Debug    1    2016-09-15 20:57:02.902106    Pulsing    Moving to Layer
Info    1    2016-09-15 20:57:02.901741    Projector    Projector on
Debug    1    2016-09-15 20:57:02.901513    Gcode    Transfering Data M280 P2 S10
Debug    1    2016-09-15 20:57:02.900559    Shutter    Shutter Close
Debug    1    2016-09-15 20:57:02.900439    Image    Clear screen
Info    1    2016-09-15 20:57:02.900335    Projector    Projector on
Info    1    2016-09-15 20:57:02.900209    Gcode    Position set to 0
Debug    1    2016-09-15 20:57:02.899539    Gcode    Transfering Data G90
G92 X0 Y0 Z0

Offline

#6 2016-09-15 21:07:25

JUBO
Member
Registered: 2016-08-19
Posts: 11

Re: Failing to stop printing, after print job freezes

If I move Z axis manually it is OK. I get  Z_move_comp.

Info    1    2016-09-15 21:05:57.134215    Terminal    Received Data From RAMPS: Z_move_comp
Info    1    2016-09-15 21:05:57.129328    Terminal    Received Data From RAMPS: ok
Info    1    2016-09-15 21:05:50.235576    Terminal    Received Data From RAMPS: Z_move_comp
Info    1    2016-09-15 21:05:50.231735    Terminal    Received Data From RAMPS: ok

Offline

#7 2016-09-15 21:10:48

JUBO
Member
Registered: 2016-08-19
Posts: 11

Re: Failing to stop printing, after print job freezes

I have just found Force stop in Setup page. Sorry for bothering you.

Offline

Board footer

Powered by FluxBB