Tip dress or cap change

do anyone know how to give tipdress or cap change to robot after 2000 or 3000 welds

I think you’ll need to use a component property as a counter which you increment with the assign statement. Then in your main program routine check if the counter is over your value like 2000 and run a maintenance routine and then reset the counter.