Hello Guest it is April 24, 2024, 08:57:27 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 - morg2borg

Pages: 1 2 3 »
1
VB and the development of wizards / Re: No acos/asin?
« on: May 22, 2011, 06:18:35 PM »
Function ArcSin(X As Double) As Double
    ArcSin = Atn(X / Sqr(-X * X + 1))
End Function

Function ArcCos(X As Double) As Double
    ArcCos = Atn(-X / Sqr(-X * X + 1)) + 2 * Atn(1)
End Function

Private Sub Command1_Click()
    ' replace the 0.5 below with the degree (in radians) that
    ' you want to calculate its ArcSin or ArcCos value
    MsgBox "ArcSin(0.5) = " & ArcSin(0.5)
    MsgBox "ArcCos(0.5) = " & ArcCos(0.5)
End Sub


2
General Mach Discussion / Re: Program Safety Lockout problem
« on: September 09, 2010, 05:04:24 PM »
well not sure its in the xml ok so I suspect your right just going to install an clean image an start again. I have a few Dll might be interfering so I remove the drivers

3
General Mach Discussion / Re: Program Safety Lockout problem
« on: September 09, 2010, 03:28:27 PM »
plus I owe you that pint ( not water) - wasn't thinking it could be the install
saved me some time

4
General Mach Discussion / Re: Program Safety Lockout problem
« on: September 09, 2010, 03:26:52 PM »
Thanks hood,
no I kept it simple and I'm using 5 discrete IO, (out1-EN/reset, out2-start, In1-Running, In2-Done & in3-Error)
never could tie the done bit in right still learning the Brains and macropump.
yep spent some time changing our motion systems over to Mach3 and was hoping i didn't make a mistake trying to cut costs lol

I think I have it fixed well working lol

after talking to you I did a fresh install on an other machine. inc profile xml bitmaps macros etc.etc....

Everything is now working think maybe Mach3 might have got corrupted?

any way if you ever need help with PLC, Vba, Java internet remote servicing , Screen design electrical mechanical systems just let me know.

whilst I was looking for a way to check the xml better came accross this thopught you might be interested.
http://www.machsupport.com/forum/index.php/topic,9561.msg58698/topicseen.html#msg58698

6
General Mach Discussion / Re: Program Safety Lockout problem
« on: September 09, 2010, 11:58:16 AM »
I'll send you a link to my machine running

7
General Mach Discussion / Re: Program Safety Lockout problem
« on: September 09, 2010, 11:55:06 AM »
I have a 4 axis machine standard 3 axis wood router with and axillary to position a drill motor for end work I  surface machine a profile then do end work with a forester bit .

The aux axis is used only to position the aux machine center and a PLC contols air cylinders to drill a set pattern
The the unit sometimes gets bunged up
The whole aux process takes about 7 secs during this process I have an input going to Input#1 which halts all motion from the controller and I put a dwell of 20 secs into the program if at the end of the 20 secs the drill isn't retracted the system should sit there and wait till it is.

unfortunately sometimes the forester bite can get snaged and can get stuck. and when this happens and the unit lockout isn't working bang there goes an other motor

8
General Mach Discussion / Re: Program Safety Lockout problem
« on: September 09, 2010, 11:28:19 AM »
about ready to transmodify my computer into a paperweight via a 5lbs lump hammer

9
General Mach Discussion / Re: Program Safety Lockout problem
« on: September 09, 2010, 11:27:13 AM »
because of this issue which I thought was working I have destroyed 3 motors lol every time my aux motor hits a knote or a shake in the wood and gets stuck I tear the motor off of its mountings :-(

10
General Mach Discussion / Re: Program Safety Lockout problem
« on: September 09, 2010, 09:55:32 AM »
going to restart my computer incase

Pages: 1 2 3 »