Hello Guest it is March 28, 2024, 07:32:47 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 - BarryB

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 »
131
Yes, the cable is shielded.

132
Hey folks, last week, I was going though heck trying to solve an issue where turning on the spindle would crash Mach3.  The solution ended up being to ground the spindle to the VFD itself.  It no longer crashes Mach3 which is cool.

There is a new issue that is more settings related, which I'm sure you Mach3 experts can help me out with.  When I do trigger it on, it starts to spin, but then immediately signals an E-stop.  You can reset, and it'll do the same thing.

I'm using a C23 card, SmoothStepper, Hitachi VFD, and HSD spindle.  The relay is connected to port 1, in a normally closed position on the C23 card.  The settings in Mach are set to that pin, and active low.  Once I tell Mach3 to turn on the spindle, it starts to spin, but immediately signals an estop.

If I set it to active high, the spindle will be on, and telling Mach3 to turn the spindle on, will turn it off.  It won't signal an estop in this position though.  The function though is reverse.  I have tried a normally open position, on the C23 card, but don't see a difference in behavior.

Any suggestions?

Barry

133
General Mach Discussion / grounding issue? spindle help....
« on: January 07, 2010, 01:30:47 AM »
Hello, I've got my machine all hooked up, 5 axis, with limit and homing switches, unit accurate.  It's all working except for the spindle control.  I'm using a CNC4PC C23 rev 3 board, smooth stepper, Hitachi x200 vfd, and a spindle from HSD.  If I set up Mach to work to trigger the relays 1, or 16 to turn on the spindle, it crashes mach3 immediately.  At first I thought it was my settings in mach that was the issue.  Then I unhooked the spindle from the C23 board completely.  I can then trigger the relays on Mach3, and it thinks it's turning on a spindle.  You can hear it trigger and then turn off when you, disable the relay, no crash.  Now, here's the weird part.  The spindle itself is not connected to the C23 board, but if I have Mach 3 running, and I turn on the spindle by touching the two wires together that would have been connected to the relay, this crashes Mach3.  Note, they aren't connected to the C23 board, nor did I tell Mach3 to trigger the relay.  This is me touching the wires together by hand, away from the board.

Any idea what could cause this?  I'm currently connecting these to be internally powered/sourced from the VFD.  So it's got a 24v signal.  I haven't tried sinking the source.  I have tried connecting all my grounds together (5v, 65v, and the ground from the DC terminals on the VFD), so ideally nothing would be floating relative to something else, this didn't do anything.

I'm at a loss.  Any guidance would be really appreciated.

134
Show"N"Tell ( Your Machines) / Re: My new project
« on: January 03, 2010, 09:14:56 PM »
I think the wiring looks really nice, imo.  Mine kinda fell apart once I added the limit switches.    I need to go back in there and make them all neat again.

Barry

135
looks awesome, very professional

136
General Mach Discussion / Re: Mach Controls On/Off of spindle, not speed?
« on: January 02, 2010, 10:47:55 PM »
I've about had it.  I can't seem to turn on/off the spindle using Mach3 and the c23 board without crashing Mach3 at all.  Right now, I have my spindle wired for turning on/off, and using it's own potentiometer as a speed control.  I can take those leads, one is forward, the other is 24volt, and connect them together, and the spindle turns on as you'd expect.  I connect those to output #1, which is defined as port 1, pin 1, and the 24 volt lead to the shared voltage in.  Then when you click the spindle clockwise button, Mach3 tells the spindle to turn on, but then it crashes.  The output relays are enabled, the outputs are enabled.  The smooth stepper is set to spindle type 'relay/none' (although I've tried all settings).  I'm about to just rig up an external switch that turns off and on the spindle manually, not ideal, but damn, how many hours is it supposed to take to get these things working?

137
General Mach Discussion / Re: Mach Controls On/Off of spindle, not speed?
« on: January 02, 2010, 09:27:49 PM »
Argh, I'm not any closer, I can get it the spindle to turn on, but Mach immediately crashes.  For the life of me, I can't seem to figure this out.  I did notice one thing.  If I have my VFD turned off.  Mach3 doesn't crash.  I can select to turn on and off the spindle, and you can hear the relays turning off and on, this won't carsh.  However, when the VFD is turned on, and I do the same thing, this crashes Mach3.

From your last comment, I can see how it would be a problem to change directions.  This will also set off an alarm on my VFD.  I haven't seen the VFD error out this whole time though, so I don't think that's the issue I have.

This is so frustrating.  You have no idea how cool it is to have this giant machine begging to be used, and be held back by this!

Barry

138
General Mach Discussion / Re: Mach Controls On/Off of spindle, not speed?
« on: January 02, 2010, 04:48:27 PM »
Oh, I've checked and rechecked everything else, all motors, and switches, e-stops function correctly.  It's only the spindle at this point.  I'll disconnect all that portion and start over after lunch.

139
General Mach Discussion / Re: Mach Controls On/Off of spindle, not speed?
« on: January 02, 2010, 04:31:29 PM »
Alright, I'm setting it to that, dir pin 0 and I'm getting the same result.  The spindle spins, but it then crashes mach3.  I decided to go back and just go to the single on/off trigger, and disregard speed.  Now, this is also crashing Mach3.  I had that working before.  Argh, something is really wrong here.

Barry

140
General Mach Discussion / Re: Mach Controls On/Off of spindle, not speed?
« on: January 02, 2010, 03:33:36 PM »
Ah, it's my understanding that we are doing Step and Direction spindle control, no?, not PWM.  I didn't even look at the PWM section for this.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 »