Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad positioning back Z when pause, power off or end-of-filament #11

Open
cabped opened this issue Jun 9, 2019 · 13 comments
Open

Bad positioning back Z when pause, power off or end-of-filament #11

cabped opened this issue Jun 9, 2019 · 13 comments

Comments

@cabped
Copy link

cabped commented Jun 9, 2019

Hello,

I’ve just updated my JZ-TS35 firmware to the latest version 3.6.2, but I still got an issue with the position of the tool, when it resumes the print:

(A) When I press pause button on screen, the bed will move down some distance and the tool is set to home position, print pause. When I press play, the bed goes up a little, but not enough to reach where it stopped. The X and Y seems to be set correctly, but not the Z.

(B) When I turn off during the print, when I turn it back on, and try to print a file, I receive I message of recovery. Then, I try to resume the print. The bed and tool are heated up. The bed moves down a bit, the tool is set to home, and back to where it stopped. Then the Z is set to the position where it stopped (in my test it stopped at 1.20 and was set back to 1.20), but the tool wasn’t quite where it stopped (was I little higher) so the resume didn’t worked well. I’m supposing it didn’t consider the offset??

(C) When the filament sensor detects a end of filament, the Z moves down, and X Y are set home. When the filament is filled up, and I press play, the X and Y are correctly set back where the tool stopped, but not the Z so the bed stands lower than where it should be to continue the print. (I’ve
made a video which is attached to this).

Thanks.

@cabped
Copy link
Author

cabped commented Jun 9, 2019

This first video is when it pause because of the end of filament.
Pausing.zip

@cabped
Copy link
Author

cabped commented Jun 9, 2019

This video shows the bad positioning of Z when it resumes from end of filament.
Resume.zip

@miblooming
Copy link
Owner

Yes it didn't consider the offset of Z.
What's the offset value of the Z.
Please try to set the offset of Z to zero, and check whether the problem is gone.
Maybe there is a bug.

@cabped
Copy link
Author

cabped commented Jun 20, 2019 via email

@miblooming
Copy link
Owner

In firmware of version 3.6.2.It should work fine in condition(A) and (C).
When pause by hand, the value offset of Z is not lose, and the Z original position is not lose too.
When resume by hand, screen just tell the printer move tool to the position, which saved on pause.
It's a strange bug.

The distance of Z in condition(B) should equal to the offset of Z, because the screen lose the info of Z offset, which calculate by automatic bed leveling module

Can you send me your marlin, gcode file and printing.sys file.
marlin: there are many version of marlin
gcode file: on your video
printing.sys: When printing task is paused, there's a printing.sys file in SD card.

@cabped
Copy link
Author

cabped commented Jun 25, 2019

Well, I don't know if it's relevant, but I did another test: I tried to force Z up in condition (A), by manually positioning it with the move axis option on the panel, while the print was paused. The bed came up (Z up) a little (the command was to lift it 10mm, not sure if it did it all), but not enoght to set it on the top of objetct. At some point I couldn't lift it up more, as the screen informed my Z axis was in 0 position. I didn't understand that... (?) How it is in Z=0 if the print was paused while doing the layer 3, about 1.2mm over the bed...

My Marlin version is 1.0.6. I'll provide the files requested as soon as possible.

@miblooming
Copy link
Owner

I know too factor about z-offset.
1.UIEditor of JZ-TS. Lift Z before pause
2.Marlin config. Lift Z before homing XY
Setting on the touch screen
Setting on marlin

@cabped
Copy link
Author

cabped commented Jun 26, 2019 via email

@miblooming
Copy link
Owner

miblooming commented Jun 27, 2019

On printing, JZ-TS send gcode cmd line by line in Gcode File.
On pause
STEP 1 [stop read gcode cmd from gcode file]
SETP2 [save printing state]
SETP3 send these gcode cmd:
(expression) will be cal calculated to number

[if Lift Z on Pause(mm) > 0] G1 Z(current_z + Lift Z on Pause(mm))
[if Home X&Y on Pause checked] G28 X0 Y0
[else] G1 X(Move to Point X on Pause) Y(Move to Point Y on Pause)

On resume
[if Home X&Y on Pause checked] G28 X0 Y0
G90
G1 Z(z on paused + 3)
G1 X(x on paused) Y(y on pause)
G1 Z(z on paused)
G92 E(e on paused)
[if is on relative mode when paused] G91
[else] G90
G1 F(f on paused)

JZ-TS almost does noting dubious when clicking Pause on screen.

@miblooming
Copy link
Owner

Has the problem been solved? @cabped

@cabped
Copy link
Author

cabped commented Jul 23, 2019 via email

@cabped
Copy link
Author

cabped commented Jul 23, 2019 via email

@miblooming
Copy link
Owner

Please try it, the default setting of pause is changed to Dock, not Homing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants