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.

here my python code for automatic tool change on simcnc

https://youtu.be/NU5JjKYpowk
see youtube video up here (ablock off)

Python code for automatically change the tool on an ATC router and measure it if its value in the tool table is = 0, otherwise don't measure it.
For SIMCNC software with a Csmio ipS  controller
The homing in this code is done in the top right of your table with home values = Y0, X0, Z0. The working area is therefore in negative values. (can be modified)

(translation of the code incomming)

download:
ConfigMachine.py    
M6.py

https://github.com/erwan56450/SimCnC/tree/main/ATC_X_table

 

 

Well done!
Also, think about the pneumatic tool guard.
This will protect you from soiling the spindle cone.

erwan has reacted to this post.
erwan

new script

when you use my m6.py you can cancel the measurement if the tool has already been measured, to save time, but each time you replace the tool, you must reset the tool table to let m6.py make new measurements

for that I created a script that I integrate has a button to reset all the Z of the tool table to Zero (see picture)

https://github.com/erwan56450/SimCnC/blob/main/PushButton/PushButton_reset_toolTable.py

how to install : https://youtu.be/OfvQqaUnNeQ

in my M6.py you can also force the measurement every time, it's longer, but it's more secure

Uploaded files:
  • 003.jpg
CS-Lab Support has reacted to this post.
CS-Lab Support

Good job! 🙂 

Hey Erwan,

I kindly ask for your help with setting up your code for tool changing.

I have attached a picture of the situation.

what would the steps be to setting up your ATC solution.

Kind regards,

Merran

Uploaded files:
  • 20230523_115429.jpg

Edit this file for your cnc I will make the .m6
https://github.com/erwan56450/SimCnC/blob/main/ATC_Y_Rack/ConfigMachine.py
send it me back (email in the file)

 

is your Digital input managing the tool detection sensor is on when tool in or Off?
is your Digital input  managing the cone clamp is off when calmp closed?

CS-Lab Support has reacted to this post.
CS-Lab Support

hello me again, 

if your atc not ready yet. here a M6 for manual change.
Be careful anyway, this is not a safe way to change a tool, because the machine  is still "engage"

 

video: https://youtu.be/O_poiix8oLg
code: https://github.com/erwan56450/SimCnC/blob/main/Manual_TC/M6.py

Uploaded files:
  • Sans-titre.png
CS-Lab Support has reacted to this post.
CS-Lab Support

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