Machsupport Forum

Mach Discussion => VB and the development of wizards => Topic started by: olsson on October 31, 2008, 06:38:24 AM

Title: Dobutton(21)
Post by: olsson on October 31, 2008, 06:38:24 AM
Hi there ,
    My name is olsson , I bought my license for the mach3 here in brazil , by "CNCBR" and I just start my application . I have one doubt  with my application I wrote one code for the button but that doesn't work , may be anyone can help me . You can see the code below.

Dobutton(21)
Activatesignal(7)

When I press the button once the mach reset , if I press again the charge pump signal is goes on but the output1 reaming off.
 
Thanks

Title: Re: Dobutton(21)
Post by: poppabear on October 31, 2008, 04:50:09 PM
DoOEMButton(1021)
ActivateSignal(OUTPUT1)

NOTE: all your outputs are Killed if the Reset is active.......