-
Notifications
You must be signed in to change notification settings - Fork 282
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
Wrong attachmove formula? #266
Comments
Hello there, can you enable debug on klicky variables and paste the console output here, with your klippy.log. That should help to clear things up. |
Your code to attach probe: # Probe entry location
G0 X{docklocation_x|int - attachmove_x|int - attachmove2_x|int} Y{docklocation_y|int - attachmove_y|int - attachmove2_y} F{travel_feedrate}
# Attach probe
G0 X{docklocation_x|int - attachmove2_x|int} Y{docklocation_y|int - attachmove2_y} F{travel_feedrate}
G0 X{docklocation_x} Y{docklocation_y} F{dock_feedrate}
# Probe exit location
G0 X{docklocation_x|int - attachmove_x|int} Y{docklocation_y|int - attachmove_y|int} F{release_feedrate} docklocation: -12, 0, -1 [gcode_macro _User_Variables]
variable_verbose: True # Enable verbose output
variable_debug: True # Enable Debug output
variable_travel_speed: 10 #200 # how fast all other travel moves will be performed when running these macros
variable_move_accel: 1000 # how fast should the toolhead accelerate when moving
variable_dock_speed: 10 #50 # how fast should the toolhead move when docking the probe for the final movement
variable_release_speed: 10 #75 # how fast should the toolhead move to release the hold of the magnets after docking
variable_z_drop_speed: 10 #20 # how fast the z will lower when moving to the z location to clear the probe
variable_safe_z: -2 # Minimum Z for attach/dock and homing functions
# if true it will move the bed away from the nozzle when Z is not homed
variable_enable_z_hop: False # set this to false for beds that fall significantly under gravity (almost to Z max)
variable_max_bed_y: 220 # maximum Bed size avoids doing a probe_accuracy outside the bed
variable_max_bed_x: 220 # maximum Bed size avoids doing a probe_accuracy outside the bed
# if a separate Z endstop switch is in
# use, specify the coordinates of the switch here (Voron).
# Set to 0 to have the probe move to center of bed
variable_z_endstop_x: 0
variable_z_endstop_y: 0
#Check the printer specific documentation on klipper Dock/Undock configuration, these are dummy values
#dock location
variable_docklocation_x: -12 # X Dock position
variable_docklocation_y: 0 # Y Dock position
variable_docklocation_z: -2 # Z dock position (-128 for a gantry/frame mount)
#The following variables are used if the dock is deployed and retracted via a servo motor
variable_enable_dock_servo: False # Set to true if your klicky dock is servo-controlled
variable_servo_name: 'NAME' # The name of the dock servo defined in printer.cfg under [servo]
variable_servo_deploy: 10 # This EXAMPLE is the value used to deploy the servo fully
variable_servo_retract: 11 # This EXAMPLE is the value used to retract the servo fully (initial_angle in [servo] config)
variable_servo_delay: 250 # This is a delay to wait the servo to reach the requested position, be carefull with high values
#Dock move, final toolhead movement to release the probe on the dock
#it's a relative move
Variable_dockmove_x: 0
Variable_dockmove_y: 0
Variable_dockmove_z: 50
#Attach move. final toolhead movement to attach the probe on the mount
#it's a relative move
Variable_attachmove_x: 32
Variable_attachmove_y: 0
Variable_attachmove_z: 0 |
@jlas1 do you need more info? :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey klicky gods,
Ive installed klipper on my old Anet A8 and it was fun project.
Now im adding klicky/euclid probe to it. Currently fighting with some macros and design problems but I'm getting closer every day 😁
I would love to get some help with klicky macros.
First of all i have problem with attachmove.
Dock is next to z1 motor. Mounted to the motor at - 12, 0, -1.
To attach probe, carriage must home X and go down slowly until probe is touched.
I've figured it out. But to move out of the dock carriage must travel right, 32mm on X axis.
Attachmove is 32, 0, 0 but when macro tries to do it, it goes the wrong way.
In klicky macro I see that move is calculated like this
Dock_position - attachmove.
And it works for everybody... Except me 😁
Please help
The text was updated successfully, but these errors were encountered: