Hello Guest it is May 21, 2024, 05:22:34 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 - Aeroshade

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »
61
VB and the development of wizards / Re: M03 macro and changing pulleys
« on: March 01, 2011, 04:31:40 PM »
Yes, if I manually change the pulley I can see that the relays for the gear change are working. It's just this darn SetOemDRO thing thats holding me back :(


Aero

62
VB and the development of wizards / Re: M03 macro and changing pulleys
« on: March 01, 2011, 04:09:19 PM »
Ok working fine here with your xml.
One thing is I think the spindlespeed macros should be on two lines, ie
rpm = GetRPM()
SetSpinSpeed( rpm )

but not sure how that would make a difference, definitely worth trying though.

Hood

I tired that, no change. This is really strange. Is there anyway to link to a different Mcode from a VB script?


Thanks,

Aero

63
VB and the development of wizards / Re: M03 macro and changing pulleys
« on: March 01, 2011, 02:28:58 PM »
OK, so I used M999 to test something. I put this in M999:

SetOemDRO(56,1)

I saved it then ran it in MDI. It changed my "Spindle Pulley" under the "Settings" tab to 1.  So I changed M999 to this:

SetOemDRO(56,2)

I saved it then ran it in MDI and it changed the "Spindle Pulley" under the "Settings" tab to 2. I can't see why it works fine with the M999 but not in my M3.

In my spindlespeed.m1s I only have this:

rpm = GetRPM() SetSpinSpeed( rpm )


I attached my .xml file.

Thanks for the help :)


Aero

64
VB and the development of wizards / Re: M03 macro and changing pulleys
« on: March 01, 2011, 02:01:37 PM »
Try with
If GetRPM<911

Hood

Still not getting the pulley to change. Is there a setting some where that needs to be set for auto pulley select?

Thanks,

Aero

65
VB and the development of wizards / M03 macro and changing pulleys
« on: March 01, 2011, 12:30:46 PM »
I'm having a problem getting my M3 macro to change pulleys for me. My machine has a high gear and low gear that is changed by outputs.

I have tried the "SetOemDRO(56,1)" to change the pulley and "SetPulley(1)", neither seem to work. When I issue an M3 and I check the "Settings" tab and I see that "Spindle Pulley" does not change. I also get the error "Too Fast for Pulley..Using Max.".

I have my pulleys set up like this:

Pulley 1 = 0min. 910 max.
Pulley 2 = 911min. 5000max.


This is what I have, maybe someone can tell me where I'm going wrong.


Spin = GetRPM()

If Spin < 911 Then
   SetOemDRO(56,1)
   Call LowGear
   End If
   

If Spin > 910 Then
   SetOemDRO(56,2)
   Call HighGear
   End If
   

Sub LowGear
   ActivateSignal(OUTPUT8)'Low Gear (OUTPUT)
   Sleep (50)
   
   Do Until IsActive(OEMTRIG2)'Low Gear Switch (INPUT)
   Loop
   
   If IsActive(OEMTRIG2) Then
   Call SpinSpindle
   End If
End Sub

Sub HighGear
   ActivateSignal(OUTPUT7)'High Gear (OUTPUT)
   Sleep (50)
   
   Do Until IsActive(OEMTRIG1)'High Gear Switch (INPUT)
   Loop
   
   If IsActive(OEMTRIG1) Then
   Call SpinSpindle
   End If
End Sub


Sub SpinSpindle

   DoSpinCW()

End Sub

Exit Sub


Any help would be great


Thanks,

Aero

66
Brains Development / Re: Need help with my BRAIN!!! :)
« on: March 01, 2011, 11:21:05 AM »
I figured it out :)

For some reason Brains don't like to use the "Greater Than","Less Than" and "Equals" right, at least for user LEDs. I had to use the "No Operation" and "Invert" to make them work right. But all is working great... at least for this part of the project ;)


Thanks,

Aero

67
Galil / Re: DMC-2162 with a daughter card for I/O's
« on: March 01, 2011, 09:40:07 AM »
PM me with your e-mail address and I'll send you my brain files for my MPG. Brain questions are better answered by those on the brains part of the forum.
Kenny

I posted a thread there, but thought it might have been a Galil thing... but I got it working :)


Thanks,

Aero

68
Brains Development / Need help with my BRAIN!!! :)
« on: February 28, 2011, 12:03:52 PM »
Hello all, I'm having a problem getting my brain to work, lol.

I have a Galil motion card with a daughter card for more I/O's. The way the Galil plugin for Mach3 works is that it maps the extra I/O's through USER LED's.

Below is the original post I posted in the Galil part of this forum.

I have wired the inputs for my axis select switch, on my handwheel, to my daughter card and mapped them through the Galil plugin to LED 1014,1015 and 1016. I go to the brain editor and add 1014, 1015 and 1016. I save the file and view it to make sure they are triggering, and they are. I then go back to the Brain editor and add a lube and "Compare Immediate" "Equal To 0" to all of the LED's. I then select all the lobes and add a "Multi Input Lobe" and select "AND". I then terminate the "And" with "ButtonPress" and select "259 - MPG1 X control". I save and then go to the Brain viewer and rotate the switch. I find that I can see the input changing states but the compare's do not change states. This causes the "AND" lobe not to fire the trigger. Is there something I'm missing?

I can take some SS of my Brain if anyone wants to see it.

Any help would be great!!!!

Thanks,

Aero

69
Galil / DMC-2162 with a daughter card for I/O's
« on: February 28, 2011, 10:56:05 AM »
Hello all, I'm having a problem getting brains to work. I have wired the inputs for my axis select switch, on my handwheel, to my daughter card and mapped them through the Galil plugin to LED 1014,1015 and 1016. I go to the brain editor and add 1014, 1015 and 1016. I save the file and view it to make sure they are triggering, and they are. I then go back to the Brain editor and add a lube and "Compare Immediate" "Equal To 0" to all of the LED's. I then select all the lobes and add a "Multi Input Lobe" and select "AND". I then terminate the "And" with "ButtonPress" and select "259 - MPG1 X control". I save and then go to the Brain viewer and rotate the switch. I find that I can see the input changing states but the compare's do not change states. This causes the "AND" lobe not to fire the trigger. Is there something I'm missing?

I can take some SS of my Brain if anyone wants to see it.

Thanks,

Aero

70
Galil / Re: Mach3 with a DMC-2162 (Aero)
« on: February 24, 2011, 02:16:13 PM »
Well I got the e-mail back... $800 for the firmware, hope it works.


Aero

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