Hello Guest it is April 26, 2024, 12:44:32 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Tony Bullard

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 »
121
VB and the development of wizards / Re: Remember state return
« on: January 14, 2012, 01:20:08 PM »
Thanks Ian,
I would like to read the return value of the prep move box. The MachMsg line was just an example of how some boxes can be read. I Didn't mean to muddy the waters. I have worked around it but it would be cleaner and easier if I knew if the Cancel button was hit in the subroutine.

As an example if the OK button was hit the next line in the sub may have been "Cycle Start". If Cancel was hit the next line may be Stop and Rewind.

I'll live with it.

Tony

122
VB and the development of wizards / Re: execute a function with "input 1"
« on: January 13, 2012, 09:39:35 AM »
Thanks Ian, I guess I can't help.

Tony

123
VB and the development of wizards / Re: execute a function with "input 1"
« on: January 13, 2012, 07:35:32 AM »
CH, I guess I have no idea of what you are trying to do. Can you tell us in detail what you want the machine to do it you could use G31? This is probably as clear as mud also.

Tony

124
VB and the development of wizards / Re: execute a function with "input 1"
« on: January 12, 2012, 04:35:14 PM »
You could also put some code like this in either a macropump or macro in the the Gcode.
   'Do probe down to establish torch height
code"g31 z-2 "      'G31 = streight probe
While ismoving()
Sleep 100
Wend
z= getvar(2002) 'this gets value when
      'switch hit.
You'd have to wight you're own code for what you are trying to do and put you're probe switch on Probe input instead of Input 1.

125
VB and the development of wizards / Re: execute a function with "input 1"
« on: January 12, 2012, 04:06:01 PM »

OK,
but it is possible to trigger a pause (or stop) with Gcode by a input1 in a macro.

 what do you mean by a loop

These can be put in a macropump

If IsActive(Input1)Then
    
DoOemButton(1003)      'Stop
DoOemButton(1001)      'Pause or feed hold
'DoOemButton(218)      ‘Z-inhibit ON
'DoOemButton(219)      ‘Z-inhibit OFF
DoOembutton(252)           'Disable movement on axis Z, this is a toggel
End if

Tony

















126
VB and the development of wizards / Remember state return
« on: January 12, 2012, 02:37:47 PM »
I’m using a “OEM Button  Pause Preparation Move” in a Feed Hold Sub in a macropump. There are two, Cancel and OK, buttons in the dialog box and I cant seem to find a way to read the return from the call. I read the MachMsg like this:
 Ret =MachMsg("Torch Failed to start","Torch",2) ‘2 = Abort, Retry, Ignore buttons .
Any help on how to read this would be appreciated.


                                        
OEM Button  Pause Preparation Moves                                         285
OEM Button  Pause (remember state)                                           286

Return to paused state   285
Remember paused state   286

Thanks,
Tony

127
Modbus / Re: Modbus Peter homann
« on: December 20, 2011, 08:00:42 AM »
I'm having some trouble with the second Modbus to getting it configure (see attachment).

 Any help would be nice Thanks,


Maybe this isn't the place to ask but does John Prentice's ModIO Plugin work as well as shown in the videos wilt ONE ModIO? It looks pretty neat if it does. Can it be configured to Peter's "0" default address and use analog inputs? If not I can use brains.

Thanks,

Tony

128
Modbus / Re: ModIO plugin
« on: December 20, 2011, 07:23:52 AM »
Thank you Peter. I will soon place an order for your ModIO and other components.

Tony

129
Modbus / Re: ModIO plugin
« on: December 19, 2011, 08:06:35 AM »
The Plug-in can be downloaded from the ModIO Group Files area;

http://finance.groups.yahoo.com/group/modio/files/MC-01%20ModIO%20Information/

The file is called ModIO.dll

Cheers,

Peter.

For some reason I can't seem to create an account at Yahoo to download the ModIO plugin. Could somebody either attach it here as a file or email it to me?

Thanks, Tony

130
Brains Development / Re: Brains User's Guide
« on: December 01, 2011, 11:14:32 AM »
Oops!

I did find it here and on my hard drive.
http://www.machsupport.com/forum/index.php/topic,8211.0.html

Sorry

Tony

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 »