Hello Guest it is January 20, 2022, 08:34:51 PM

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 »
111
Modbus / Pulsating outputs
« on: January 27, 2012, 11:50:58 AM »
I’m just setting up and testing a new ModIO V6.3 board per instructions in user guide ModIO_User092.PDF and find one unusual condition. Following the instructions on page 10, Lighting an LED, activating output 3 on port 0, pin 6 all goes as expected. DOut 4 through 7 all respond to the active low, high state by either staying on or off. However, DOut 0 through 3 flash on and off at about 5 / second with the same setup.

I have a pot set up on analog 1 for test that is read and shown with the VB Script Editor with:
 A= Getinput(64)
Print A

I have nothing wired to analog 2 and 3 but when reading them with A=GetInput(65 or 66) they seem to be reading (64). With none of the analogs wired I get a reading of about half (500+-).

This is from the LCD
ModIOtm   SN:0346
H/W:       F   S/W:022F
Id:      6  57600,8,1,N
DAL1H2HpfkGEd – DEF –

Any thoughts would be appreciated.

Tony


112
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

113
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

114
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

115
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.

116
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

















117
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

118
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

119
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

120
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

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