fbpx

CS-Lab Support Forum for CNC Community

Help to run this brand-new forum and stay with us.
Ask your questions, we are here to help! 

 

Please or Register to create posts and topics.

auto zero sensor

To make the automatic zero on the part, I have a simple printed circuit board.

When testing with the "Probing" script, I see that the value of the tool changes.

I do not use T or H in my code.

I only need that once the two touches have been made, it goes up to 20mm, discounting the thickness of the plate.

Thank you so much.

You need a different macro.

Instruction :

# 17:58 10-3-2020 Edit Wojtek
# The macro is intended for mobile tool length (cable) sensors.
# We are talking about pressure sensors (with a spring and a micro switch) or touch sensors (common board) placed on a material.
# In the case of touch sensors, remember that there is such a thing as a braking distance (ramp).
# It is therefore not recommended to use too high measuring speeds with this type of sensor.

# In case of a failed measurement (no material detected at "Maximum_distance" or the sensor was already active at the time of measurement), the Z-axis returns to the point where the measurement was started.
# If the measurement is successful, the Z axis goes to "Parking_position."

# After starting the measurement, please wait patiently for the console message " - - - - - - - - Probe End - - - - - - - - -".
# Until it appears, do not place your hands in the machine's working area.

# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Configuration - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Sensor_height = 10 # Height of the pressure sensor or touchpad
Probing_vel = 200 # Probing speed
Return_vel = 500 # Returning speed
Distance = 20 # Maximum measurement distance
Parking_position = -1 # Parking position after measurement (machine coordinates)

 

Here's the macro: https://en.cs-lab.eu/wp-content/uploads/2023/04/probing.zip

 

nvr11 has reacted to this post.
nvr11

PARTNERS:

 

USA

Germany

Slovenia / Bosnia

Spain

South Africa

UNI-CAM

The Netherlands

Portugal

Greece

  Distrib milionis logo

Hungary

Distrib logot

Bulgaria

Master

Kenya

Proteq Automation

Egypt

Germanelectronix

China

Jun Ma

Serbia

ALCO

Italy

LVL tech r

Denmark

Varntoft Dania

Finland

×

Hello!

Click one of our contacts below to chat on WhatsApp

× How can I help you?