Hello Guest it is April 26, 2024, 07:21:55 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 - garyhlucas

381
General Mach Discussion / Re: Estop after turning on spindle
« on: November 02, 2015, 07:12:52 PM »
I looked at you pictures.  If you want a safe reliable machine you need to follow good wiring practices.  Those open wires from the VFD to the spindle are antennas radiating RF over your whole neighborhood!  Probably knocking out TV reception, interfering with wireless phones etc.  Everyone hopes you'll give up on this machine so they can go back to what they were doing.  Only half kidding here.

Your stepper motors also do the same kind of thing, they operate at pulse rates up in the Kilohertz range too. So you should be using shielded cables from the Gecko drives to each motor.  You should use shielded cable from the VFD to the spindle motor too.  The important thing is to create just one ground bar for ALL grounds, including the power cord ground.  Do NOT jump a ground wire  from one device to another and then to ground. Take ever ground from the device straight back to that one ground point.  Important point here.  For anything mounted to a grounded surface, that would be motors mounted to the frame of the machine, do NOT connect the shield from the cable to the motor, insulate it from touching ground at the motor.  The other end of the shield should go to that one ground point.  The frame should have one wire going to that ground point.  For the spindle motor make sure the ground wire for the motor goes all the way back to that ground point.  Do NOT connect the cable shield at the spindle. Insulate it from touching ground, tie the other end to only that one ground point.  All the shielding so far is about keeping the noise from the motors, and drives from getting out.  

You also want to keep noise from gettting in to signal wires.  Use shielded wires here too.  Connect the shield only to that one ground point. Do NOT connect any shields or grounds together to get back to the one ground point, always use a separate wire.
Where you have individual open wires always twist the RELATE wires together in a nice tight spiral up to as close to connection points as you can. This acts as shielding too.  PLAN your wiring routes and neatly route signal wires away from power wired everywhere you possibly can.  If they must cross, do so at right angles with as little wire near one another as possible. Never route signal and power in the same wireway if at all possible.  If you can't avoid it, use only shielded wires.

"I'll neaten it up after I get it working" is WRONG!!!  There is a strong possibility you will never get it working because it is sloppy and wrong.  You also won't ever be able to make it neat because you already routed it wrong and the wires won't reach.  You did OF COURSE make a wiring diagram BEFORE you started wiring, right?  I'm guessing you aren't the kind of expert that can look at a mass of wires and see the wiring diagram in your head.  So why would you try to do this without one?  And just so you know I did wire my own machine without a wiring diagram!  It was stupid even for me. However I have been building control panels for a little more than fifty years, so there is a pretty good chance I know how it work.  You'll notice a pile of cut off wire ties as I work.  That is because I tie everything down as I go.  When I add more wires I cut out the first ties and replace them.  My panels start out neat and stay that way right to the end as a result.  I buy cheap ties to start and when I am done they are are high quality ones.

Got it?

382
General Mach Discussion / Re: Estop after turning on spindle
« on: November 02, 2015, 08:59:59 AM »
I suspect you have an issue with a ground loop. When the spindle isn't mounted you've broken the ground loop.  VFDs produce leakage currents in the motor that must be continually be drained off. Look for multiple paths to ground in your wiring.

383
General Mach Discussion / Re: CNC Lathe turret tool changer help?
« on: October 17, 2015, 08:09:14 AM »
Ohh ya... it needs to know, I thoughts that's what was in the program haha.



t0101  ???

your tool numbers can only be T1 - T8

whow should the program know in witch place t0101 is located.

Thomas
t0101  ???

your tool numbers can only be T1 - T8

whow should the program know in witch place t0101 is located.

Thomas

Thomas,
T0101 in binary format is T5.  Bit positions for binary: 8 4 2 1 so 0101 is 4+1=5. So if you read the inputs pins into a variable as a binary number it can be converted directly to the correct tool number in decimal. Computers only use binary, they just show you decimal because your eyes glaze over when you see a long string of zeros and ones!

384
General Mach Discussion / Re: Shielded Cable
« on: October 17, 2015, 08:00:41 AM »
On machinery the electrical noise actually comes from leakage from all powered devices to ground, not to mention the occasional enormous ground fault current when a motor or other device fails.  The National Electrical Code requirements are all about CREATING as many ground loops as possible!  This is so that no two points that a person could touch would ever have a potential difference large enough to do harm, even when a piece of equipment experiences a catastrophic failure. For some reason they don't seem to teach electronics engineers about this. So you often find them wandering around searching for the mythical 'Clean Ground' to cure noise problems.  You can always tell when someone doesn't really understand when they suggest you drive a ground rod next to your CNC!

385
General Mach Discussion / Re: CNC Lathe turret tool changer help?
« on: October 16, 2015, 09:31:08 PM »
Didn't see it mentioned here but the inputs ought to be in reversed order left to right, because then they give you the tool number in 4 bit binary. Tool 1 is 0001, tool 2 is 0010, tool 3 is 0011, tool 4 is 0100, and so on.

386
General Mach Discussion / Re: Missing steps on direction change
« on: October 16, 2015, 09:17:10 PM »
I had a very similar problem. It took me quite a while to figure out that a motor coupling was loose and would slip in one direction only!  Might want to check that.

387
General Mach Discussion / Re: Shielded Cable
« on: October 16, 2015, 03:29:26 PM »
You should connect it at the sensor end to the sensor body only if the sensor body is NOT connected to ground. If you happen to get a sensor where the shield is already connected to the sensor body and the sensor is body is connected to ground then insulate the shield in the control panel and do NOT connect it to ground.

388
General Mach Discussion / Re: Set JOG Mode to Cont.
« on: September 19, 2015, 01:34:44 PM »
Step mode needs a feed speed entered on the mdi screen. I type in F20 and that seems about right. I think it should default to some value but I don't know where that might be.

389
Mach4 General Discussion / Re: Strange runaway after jogging (Fixed)
« on: September 16, 2015, 04:54:39 PM »
Is this a fix for Mach 3 as well? Scares hell out of me when it takes off and goes.

390
Show"N"Tell ( Your Machines) / Re: mach3 3D printer
« on: September 13, 2015, 05:07:48 PM »
Thanks for the setting info. My machine can reach the top speed you have used without a problem.  My ways are THK ball ways that are very smooth in operation. My machine is an unusual configuration, X bolted onto a 200 lb cast iron table. Z column riding on the X way saddle, Y traveling on the Z column saddle. It's like a boring mill.  So for small objects it can have a very rigid work envelope. A big work envelope gets shaky at the Z and Y extremes.