Grbl_ESP32_MPCNC_Controller
Grbl_ESP32_MPCNC_Controller copied to clipboard
Probe usage issue
Hi, I am new to CNC and programming as well. I am trying to figure out how to use the probe to set zero prior to starting main program. I have created a simple program that was given on V1 engineering: G92 X0 Y0 Z0 ; Set Current position to 0, all axes G00 Z5.0000 F500.0 ; Raise Z 5mm at 8.3mm/s to clear clamps and screws G28 Z-60 F40 ; Home in order, w/zprobe M00 G92 Z0.15 ; Account for probe thickness (set your thickness) G00 Z5.0000 F500 ; Raise Z probe off off of surface M00 ; pause for LCD button press M03 S ; PID, set spindle speed
Challange1: During the G28 line the z-axis moves at a lot higher speed than F40. Challange2: During the movement on G28 when the Prb pin connects to the ground Pin nothing happens. Challange3: M03 does not engage the spindle relay.
I am wondering what I am doing wrong here. Thank you
I don't know of a way to do it. It seems dangerous to integrate probing into the start of a job.
G92 is not good practice. It is not saved, so it cannot be recalled later. It it better to use G10 L20 X0 Y0 Z0 to set the current work coordinate system to 0,0,0.
G28 is always a rapid move.
Probing is done with G38