Hello Guest it is April 25, 2024, 06:12:22 AM

Author Topic: Box Joint Wizard  (Read 4358 times)

0 Members and 1 Guest are viewing this topic.

Re: Box Joint Wizard
« Reply #10 on: March 24, 2022, 09:43:59 PM »
Hello TPS,

If I just like to have another screen for with keyboard to enter cut length and DRO display current position. I can design the second screen with Machscreen but have no ideas where to reference the codes.

So I can just as regular table saw with CNC fence system.

Thanks

Offline TPS

*
  •  2,505 2,505
    • View Profile
Re: Box Joint Wizard
« Reply #11 on: March 25, 2022, 03:19:03 AM »
ok, let's say you place a dro for example OEMDro(1250) to your screen.
then you put a transparent button over this DRO and this will excecute the VB Script.
the code for this button would be:

Code: [Select]
Sub Main
Call NumericKeyboard(1250,0,999)

End Sub


#Expand "c:\Mach3\macros\Mach3Mill\numerickeyboard" 



with this you should be able to enter a value into DRO 1250

the you place a normal button also with VBscript to do the entire move code:

Code: [Select]
  Code "G1 Z" &GetOEMDRO(1250) &" F200"
and thats it.
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.