Marlin_2.0.x_Anycubic_Chiron icon indicating copy to clipboard operation
Marlin_2.0.x_Anycubic_Chiron copied to clipboard

z down 0.1 moves to Z0.1

Open sketchydev opened this issue 4 years ago • 1 comments

Description

<Z down 0.1> moves the Z axis to 0.1 instead of just moving it down by 0.1mm

Steps to Reproduce

  1. Access Special Menu
  2. Press 'Z Down 0.1'
  3. Press the Confirm button (the circle arrow thing)

Expected behavior: Z moves down 0.1mm

Actual behavior: Z move to 0.1mm

Additional Information

Log from Octoprint when pressing Z Down 0.1:

TFT Serial Command: A13 <z down 0.1>
Recv:  T:22.47 /0.00 B:21.68 /0.00 @:0 B@:0
Recv: TFT Serial Command: A26
Recv: Special Menu: Z Down 0.1
Recv: echo:enqueueing "G91"
Recv: echo:enqueueing "G1 Z-0.1"
Recv: echo:enqueueing "G90"
Recv: echo:enqueueing "G1 Z+0.1
Recv: G90"
Recv: TFT Serial Command: A8 S0

So the printer initially moves down 0.1mm and then after the G90 (Absolute Positioning) it proceeds to send a command to move to Z0.1

sketchydev avatar Aug 21 '20 06:08 sketchydev

There appears to be an issue in the anycubictft class. The class has the enqueued macros and it appears to move down using relative position -0.1, then switch to absolute position 0.1. This is a bug.

coolio986 avatar Sep 30 '20 21:09 coolio986