Hello Guest it is January 20, 2022, 09:59:43 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 »
91
General Mach Discussion / Re: Vital Reboot/Blue screen of death
« on: April 10, 2013, 02:12:04 PM »
I removed everything again and tried to install the program in Safe Mode. When the driver install program ran I got a Driver Test message "No Driver sensed installed. Run Driver Test" When I run DriverTest in Safe Mode I get the same message. In normal mode it fails.

92
General Mach Discussion / Re: Vital Reboot/Blue screen of death
« on: April 10, 2013, 01:50:49 PM »
Thanks Hood,

The DriverTest fails (blue screen) as the test takes over. IF the driver, program and all references to it were removed shouldn't a new install think it was the first?

If I remove the driver I still get the same blue screen at the same point in DirverTest. ???? At some point I may try a System Restore to an earlier time as a work around.

93
General Mach Discussion / Vital Reboot/Blue screen of death
« on: April 10, 2013, 01:01:12 PM »
I installed Mach3 R3.043.066 on a XP machine. I clicked "Finish" on the last set up screen where it said something like "Installation Completed successfully, Reboot" The machine rebooted and as I ran the program I got "the blue screen of death" stating a problem with a driver. I removed the program, Mach3 Directory, all the short cuts and the Mach3 Driver from System Properties / Hardware / Device Manager / Mach3 Pulsing Engine. Installed the program again and didn't get the reboot warning and rebooted anyway. I still have the Blue Screen Of Death. Is there something I didn't remove? Any help or suggestions would be appreciated.
Thanks, Tony

94
VB and the development of wizards / Re: DoOemButton(138) / G28
« on: January 22, 2013, 07:18:20 AM »
Thank you Gerry.
 It's people like you that make this forum such a great resource for the Mach community.
Keep up the good work.

Tony

95
VB and the development of wizards / DoOemButton(138) / G28
« on: January 21, 2013, 01:48:24 PM »
I'm running two machines. One on XP and the other on W2000. Mach Version R3.043.066 on both

Both run G28 as Z home then X and Y together to home.

On XP DoOemButton(138) sends Z home then X then Y.

On W2000 DoOemButton(138) sends X home then Y then Z.

Can you suggest a fix to this?

Thanks for any help.
Tony

96
Brains Development / Re: How to run a Brain triggered Macro.........
« on: November 27, 2012, 04:40:06 PM »

I beleive you can only have one OEM code 301 at a time.

SetTriggerMacro 35    'Macro M35.m1s

This sets Macro M35.m1s to OEM code 301.

If you want to use another you have to use another SetTriggerMacro statment
SetTriggerMacro 36 sets M36.m1s to OEM code 301.

Tony

97
This is code I'm using in a macro and it works really for my machine. There's still a lot of extra stuff in it that need to be cleaned out.

   'Do probe down to establish torch height
SetVar(604,GetOemDro(818))   'SetVar to Feedrate, FRO DRO =55
'SetVar(604,GetOemDro(55))   'FRO DRO =55 Feedrate DRO = 818

code"g31 z-2 F30 "    'G31 = streight probe. Stops when torch switch hits
While ismoving()
'Sleep 100
Wend

'MsgBox "stop"
DoOemButton(1010)   'set Z zero
   'Get the distance from trip point to torch above work for firing from DRO
Clearance = GetUserDro(1252)   'set this up on screen   
'Code"G91" & 'Clearance    '   incremental move
Code"G0 Z" & Clearance    '   incremental move

While Ismoving()
'Sleep 100
Wend
SetOemDro(818,GetVar(604))   'Reset Feedrate

Code"G90"      'absolute mode
   'Switch to remote height control
ActivateSignal(Output2)   'turn on HC

   'Fire torch and wait for transfer
Fire:   ActivateSignal(Output1)
   'Trying a timer here
   'A= 0   'reset counter
   'Do Until a  >= 5   'wait some time for transfer (1) seconds
   'sleep 200
'a = a + 1
TS = Timer
Do Until TT > 1
TE = Timer
TT = TE - TS
If IsActive(Input1)Then     'torched established arc
TT = 0
Exit Do
End If
Loop
TT = 0
'a = 0

Cond = IsActive(input1)    'torched established arc
If Cond = false Then      'Didn’t fire
   DeActivateSignal(Output1)
   'DoOemButton(1003)   'stop button
      'Need some way To fire again
      'See MachMsg.doc
Ret =MachMsg("Torch Failed to start","Torch",2) '2 = Abort, Retry, Ignore buttons

If Ret = 4 Then    '4= Retry, Cancel  = 2,  Abort   = 3 ,Ignore = 5
GoTo Fire
End If
If Ret = 3 Or Ret = 5 Then
   
   MsgBox "                             Program was aborted                                "
DoOemButton(1003)      'Stop
'Sleep(50)
'Code"M30"
   Exit Sub   
   End If
End If
   
   'Dwell, wait for pierce delay
   'Get user DRO for dwell itme.
Dwell = GetOemDro(1251)   'dwell time DRO
Code"G4 P" & Dwell
While Ismoving()
'Sleep 100
Wend
'DoOemButton(1000)   'Start cycle
'End If
'Else
exit sub
'end if
'DoOemButton(1000)   'Start cycle

'End Sub
   'Returns To Gcode file 

I fire the torch .1" above the work and then let the height controller go from there.

Tony


98
VB and the development of wizards / Re: Updated VB doc?
« on: November 05, 2012, 07:14:46 AM »

Thanks TP.
I find I do have the currant version. Sorry for the trouble.

Tony

99
VB and the development of wizards / Updated VB doc?
« on: November 04, 2012, 04:18:48 PM »
I was reading the Change Log and noticed this:

//Many updates added and debugged to get to this stage...
May 2/2011
3.043.036
-- Run Script added and lots of work to get it to shut down when an Estop Stop or like event happens
-- Lots opf VB tools added for managing scripts (Check VB doc for added calls)
-- Bug fix for Spindle speed getting set by an external device (P POrt)
-- Threading Driver update for the P POrt
-- #Expand added to VB for source control

I've checked all the VB, macro and script docs I have and they are all much older than 2/2011. Which one am I missing? Thanks for any help.

100
VB and the development of wizards / Re: IsActive(Input1) issue. Mach2.
« on: February 19, 2012, 10:27:38 AM »

One way is to use the VB script editor. Maybe you already are.

Code

a = IsActive(input1)
print a

 My machine returns the correct state.
 

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