2. Machine Adjustment
Due to various possible assembly errors, after homing the Z-axis, the default 0 point is not at the middle height (ideally both nozzles should be at the same Z-height).
By running a simple manual test and modifying the default homing G-code, the ideal Z-axis homing can be obtained. Also, the default height of the PCB surface can be obtained.
1. Preparation
Mount a test PCB on the PCB holder of the machine, 1st_calib_board
can
be used.
After the machine has been homed, use the manual control panel to move both nozzles above the center area of the PCB.
2. Manual Testing And Recording
Manually load the nozzle tips CN040 and CN060 to the N1 (A-axis) and N2 (B-axis) nozzle holders respectively.
Select Nozzle:N1
from the Machine Controls
panel.
Adjust the appropriate distance option and gradually lower the height of the N1 nozzle until the nozzle tip just touches the surface of the PCB.
You can also use a piece of paper to judge the distance, but keep the two nozzles operating in the same way.
Record the Z height value in the current status bar (bottom right corner).
For example, the current Z position for N1 is -23.50
Click the P button on the Z-axis to return the Z-axis to 0 point.
Select Nozzle:N2
from the Machine Controls
panel.
Adjust the appropriate distance option and gradually lower the height of the N2 nozzle until the nozzle tip just touches the surface of the PCB.
Record the Z height value in the current status bar.
For example, the current Z position for N2 is -25.00
Click the P button on the Z-axis to return the Z-axis to 0 point.
3. Modify Default Gcode
Use the two Z positions in the previous step to calculate the Z correction value:
ZC = ((N1 Z position) - (N2 Z position)) / 2 = ((-23.5)-(-25.00))/2 = 0.75
Use the ZC value to correct the previous value in the homing Gcode of the motion controller.
Final value = Previous value + ZC value
For example, the Previous value is 1.5 in the figure below.
Final value = 1.5 + 0.75 = 2.25
Replace the Previous value with the Final value in the Gcode line:
G1 Z2.25; Move Z to middle height(==Adjust if needed==)
Click Apply to save and enable the settings.
Save configuration: File > Save configuration
Now, click the Homing button to homing the machine again. After the homing is over, both nozzles should be at the same height (Z=0 at this point).
Z-axis adjustment is complete.
4. Finish Machine Adjustment
At this point, we can also get the default PCB surface Z height value, as well as the default bottom camera Z height value.
Default PCB Z height / Default bottom camera Z height = (N1 Z position) -- (ZC) = (-23.50) -- (0.75) = -24.25
Manual unload the two nozzle tips on the two nozzles.
Note
Always keep the actual nozzle loading state consistent with the software state, otherwise it may result in a running error, or even a physical crash.
The machine adjustment is now complete.