Skip to content

Z probe use G38.2, thus it's explicit error handling is ignored #8

Description

@wucke13

G38.2 will signal an error, and "halt the program" upon failure. Hence the entire o120 if branch for the failure handling is ignored. G38.3 would allow for the explicit error handling to take place.

If the probing operation failed, G38.2 and G38.4 will signal an error by posting an message on screen if the selected GUI supports that. And by halting program execution.

(https://linuxcnc.org/docs/html/gcode/g-code.html#gcode:g38)

G38.2 Z-[#<max_z_distance>]
#<z_minus_probed> = #5063
(Probe Error check, #5070 will be 0 if failed)
o120 if [#5070 EQ 0]

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions