开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

need help... use button to start vbscript & read write value to a special DRO


 

hi!
2 questions :)

i playing with my mach3 and machscreen..

1.
i have add a button to my screen.
i wrote a vbscript and save them.in the macro folder.

name of the script is HomeTurret.

now i want to load this script as file when i hit the button.
if i change something on the script i dont want to add the script again with machscreen.

is this possible??? can someone help me?


2.

when i do a toolchange my turret jogs to x5 z55.
this values are named wzwx and wzwz
i add 2 dro to my screen.
i wish that the dros show me wzwx (5) and wzwz (55).
and i want.. if i change the value in the dro.. that is set wzwx and wzwz to this.

example : in the dro i put in 10 and 60.
then the machine jogs to x10 and z60.

its to set a toolchange position.

is this possible?!
thanks


 

when you create the button or edit it the should be an option execute code click on it and you should be able to add you script there and it will work when button is pressed