Hello Guest it is May 16, 2024, 12:32:21 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 - Aeroshade

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 »
91
Galil / Re: Mach3 with a DMC-2162 (Aero)
« on: February 14, 2011, 04:43:01 PM »
OK that was a good idea, when I read what you said I was like DUH!! :P Anyway I switch the wires and now it goes forward and reverse, back and forth getting faster the longer I leave it on. I disabled the M3 and M4 relay and edited my m3 macro to turn that relay on.


Aero

92
Galil / Re: Mach3 with a DMC-2162 (Aero)
« on: February 14, 2011, 02:19:59 PM »
Also when I go to Motor Tuning and try to run it, it locks Mach3 up.

Aero

93
Galil / Re: Mach3 with a DMC-2162 (Aero)
« on: February 14, 2011, 02:16:12 PM »
Here is my Galil debug.


Aero

94
Galil / Re: Mach3 with a DMC-2162 (Aero)
« on: February 14, 2011, 02:11:49 PM »
OK, so I have all my A-axis working good, and I have my tool changer working nicely. Now I'm messing with the spindle. I have a Yaskawa Varispeed spindle drive. My spindle has an encoder. I set the plugin up so that my spindle is on "E". And I have "Spindle has encoder" checked. The counts I have set to 4096 and "accel Revs/Sec set to 0. The motor type for "E" is set to servo. Under config>Ports and Pins>Motor outputs I have the spindle enabled and nothing else checked or changed (0's across the board). Under Spindle Setup I have "Relay Control" unchecked (I have a relay I have to turn on for Spindle Forward, OUTPUT#1). I put Output 1 in both M3 and M4, I only really need it on for forward but Mach wont let me choose 0. I have, under "Motor Control", "Use Spindle Motor Output" and "Step/Dir Motor" checked. Under "Special Functions" I don't have anything checked.

I can get the spindle to start but it goes to full speed, even if I put M3S1. I'm not sure what I'm doing wrong.


Any help would be great!!

Thanks,

Aero

P.S. It worked good in Camsoft, so I know the Galil card is talking to the Varispeed.

95
Galil / Re: Mach3 with a DMC-2162 (Aero)
« on: February 14, 2011, 12:17:40 PM »
This is what I came up with for my tool changer. Works nice :) My machine has a 24 tool magazine. The Z-axis goes home and the tool mag. moves under the spindle. The tool unclamps and the mag. does down. The mag then moves CW or CCW, depending on shortest route to next tool. The mag then moves back up , the tool clamps, and the mag moves to it's back position.


Some of the inputs and outputs:

OUTPUT2 = Tool unclamp
OUTPUT3 = Magazine Forward (Moves mag. under spindle)
OUTPUT4 = Mag. Down
OUTPUT5 = Mag CW
OUTPUT6 = Mag CCW
OUTPUT10 = Orientates the spindle for a tool change

OEMTRIG8 = Mag. Back switch - Input
OEMTRIG9 = Mag. Forward switch - Input
OEMTRIG10 = Mag Up switch - Input
OEMTRIG11 = Mag Down switch - Input
OEMTRIG12 = Mag Position counter switch - Input
OEMTRIG14 = Tool Clamped switch - Input
OEMTRIG15 = Tool Unclamp switch - Input


96
Hmmm.. I tested it a few times and it seemed to work. BUT I'm not sure if when I test if an OUTPUT is on truly works. From what I read I should change the IsActive for outputs to IsOutputActive.

Thanks for the INFO, that would have sucked if I really needed to test against an OUTPUT and it didn't work :P


Thanks again,

Aero

97
OK I got it working!!!! I attached it below if anyone needs a Tool changer that uses cam driven magazine with position switches. The do loop worked great :)

I will list the inputs and outputs later... I'm beeeeet!!!


Thanks for all the help guys!!!

Aero

98
I'm writing my tool changer macro and I need a little help. I need to make my tool magazine move and stop when it triggers a position switch. This is what I have so far (Note this is to make the mag go CCW):


If IsActive(OUTPUT5) = True Then
    DeactivateSignal(OUTPUT5) 'Mag CW
End If
   
ActivateSignal(OUTPUT6) ' Mag CCW

While IsActive(OEMTRIG12) = False Then
    Sleep 10
Wend

DeactivateSignal(OUTPUT6)


Note:
OUTPUT5 = Mag CW
OUTPUT6 = Mag CCW
OEMTRIG12 = Pocket position switch

When I run this the mag just keeps spinning.

Any help would be great!!

Thanks,

Aero

99
VB and the development of wizards / Re: Issue and EStop in a macro
« on: February 10, 2011, 08:49:42 PM »
I made a couple Brains that look at some inputs to turn the estop off (low lube, air pressure and a door switch). But when I enable them I can't use my main estop switch.

Say for example I have my air switch on OEMTRIG#3, I go into Brain Edit and use that input first, then I use the "No Operation" then I terminate it with input "EStop". After I enable these Brains they all work GREAT!! but my (external) e-stop button quits working.


Any help would be great!!

Aero


P.S. I would use the hotkey menu, but I noticed that if one gets triggered you can reset and the machine comes back on, I want it to stay off tell I fix whats wrong with it.

100
Galil / Re: Mach3 with a DMC-2162 (Aero)
« on: February 10, 2011, 02:39:51 PM »
Dobutton(21)

This is the code for pushing the EStop


Aero

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