Hello
Guest
it is
April 19, 2024, 11:34:32 PM
Guest
Login
Register
Menu
Home
Help
Search
Calendar
Members
Members
View the memberlist
Search For Members
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
VB and the development of wizards
/
Custom button script
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: Custom button script (Read 1812 times)
0 Members and 1 Guest are viewing this topic.
fishmore
10
Custom button script
«
on:
August 28, 2019, 09:18:52 PM »
HI,
I am trying to create a button that when pressed it sets the "Y" axis to 0.125. I have created the button but I don't have any idea how to write the script.
Can someone please help me out or point me in the right direction.
Thank You.
Logged
Tweakie.CNC
9,198
Super Kitty
Re: Custom button script
«
Reply #1 on:
August 29, 2019, 01:24:03 AM »
Assuming your button just sets the Y axis DRO to 0.125 (without actually moving the axis) then the button script could be #99801=0.125
Tweakie.
Logged
PEACE
fishmore
10
Re: Custom button script
«
Reply #2 on:
August 29, 2019, 08:12:35 AM »
Hi Tweakie,
I didn't understand your script. However after a good nights sleep I came up with this script that seems to be working well.
Code "G92.2"
Call SetDRO(1, (0.125))
Thank You for your help
Logged
Tweakie.CNC
9,198
Super Kitty
Re: Custom button script
«
Reply #3 on:
August 29, 2019, 08:40:56 AM »
I am pleased you have it working OK.
I made a mistake I should have posted Code"#99801=0.125"
Tweakie
Logged
PEACE
Print
Pages:
1
Go Up
« previous
next »