Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: DennisF on April 07, 2007, 06:09:26 PM

Title: re: Mach-3 for a lathe
Post by: DennisF on April 07, 2007, 06:09:26 PM
Hello
I am in the need of some help i am trying to connect my PC up to my CNC lathe the machine is now under power running a flash cut signal generator so i know it works as i have used it to cut a few parts but now i wish to switch it over to MAch-3 i have a CNC4PC CG-11 board and i have connected the gecko drives as outlined in the 4PC manual and per Arturo's information but i do not get anything from the software no Jog nothing but re-connecting the system back up to the flash cut generator it works fine.
  I have gone into the Config/ motor outputs and i think i have it right assigned the pins 2 for Step X and 3 for Dir just trying to get one axis going before moving on to the next am i missing something? anyone had any problems with these boards?

Thanks for any help
Rg's
Dennis
Title: Re: re: Mach-3 for a lathe
Post by: Chaoticone on April 07, 2007, 06:30:28 PM
Dennis, can you post your xml file? I have also sent you a personal message.

Brett
Title: Re: re: Mach-3 for a lathe
Post by: Hood on April 07, 2007, 07:21:29 PM
Make sure you have the correct port on the motor output page for both step and direction
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 07, 2007, 09:28:02 PM
Hello Brett
Wow thanks for the quick reply, i have discovdered that one of the power transistors has burnt so there is a problem with the 4Pc board to which i will have to contact them on  monday to get replaced or repaired.
  as to the correct port for the motor isn't that set in the output and config page for the pins i thought i had that set up but maybe i don't where should i look for that set up?

Thanks
Rg's
Dennis
Title: Re: re: Mach-3 for a lathe
Post by: Chaoticone on April 07, 2007, 09:37:55 PM
The port settings for the motors are in config, ports and pins, motor outputs.

Brett
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 08, 2007, 12:29:19 PM
hi  Brett
Yes, i did set that up but the result was the same i realy think the board is bad it lost a power transistor it overheaterd and bubbled i am in contact with Arturo from 4PC about what to do next with the board.
Is there any other setting's i need to know about?

rg's
Dennis
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 13, 2007, 05:50:29 PM
Hello Bret
 Will here i go again recieved my new board today and i am trying to figure out the connection to it i have it connected  to the computer but still nothing moving where are the jog controls in Mach-3 maybe what ia m looking at is not the jog control.

Thansk Dennis
Title: Re: re: Mach-3 for a lathe
Post by: Graham Waterworth on April 13, 2007, 06:18:30 PM
Hi Dennis,

have you got the enable part of the C11G wired to 5 volt, if not nothing will move.

Graham.
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 13, 2007, 06:23:42 PM
Hello Graham
 Yes, 5 v common is connected to the enable pin one of the transistors is getting very hot and i don't know why it would be.

Thanks for any help

Dennis
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 13, 2007, 06:25:11 PM
how do you get Mach-3 to jog
Title: Re: re: Mach-3 for a lathe
Post by: Graham Waterworth on April 13, 2007, 06:26:38 PM
use the arrow keys on the keyboard
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 13, 2007, 06:29:32 PM
Ok that's what i thought should work the jog but still no movement from the stepper
Title: Re: re: Mach-3 for a lathe
Post by: Hood on April 13, 2007, 06:34:14 PM
arrow keys for jog but make sure you have the Jog enabled. You will see the button on the main screen lower middle "Jog On/Off" make sure you see the green surrounding this button, if you dont click it and you should then be able to jog. If you still cant jog press the Tab key and make sure you dont have the slow jog set to 0% or have the Jog Mode on MPG or step.
Hood
Title: Re: re: Mach-3 for a lathe
Post by: Graham Waterworth on April 13, 2007, 06:37:11 PM
On the C11G have you got the safety charge pump set to enabled JP3 pics 2-3 if so disable it. Pins 1-2

Graham.
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 13, 2007, 06:47:40 PM
I have enabled the jog led is on on the upper right hand of screen and jog rate is set to 100 % i hit the tab and arrow for the x axis but no movement
Title: Re: re: Mach-3 for a lathe
Post by: Hood on April 13, 2007, 06:48:27 PM
do the DROs move on the screen?
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 13, 2007, 06:49:21 PM
nope charge pump is dissabled set to 1&2
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 13, 2007, 06:51:38 PM
got it going not sure what i did but i am getting jog now wow thanks all you guy's i am sure i will be back with more questions.

Dennis
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 13, 2007, 07:04:02 PM
Any one else using the CNC4Pc board thanks to all you guy's i have my lathe running X&Z axisis but i still have one of the transistors on the board getting very hot and i am affraid to run it for long in fear of blowing the transistor any ideas as to what it could be.

Dennis
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 16, 2007, 01:37:45 PM
Hello again guy's
I hope you guy's don't get tired of the newbie questions and problems, well after getting the system working over the week end i turned the system on this morning and now i get no X axisis movement and the X axis movement on the screen dosn't change when i jog but the Z axis dose what did i turn on off ,going through the learning curve thanks guy's

Rg's
Dennis
Title: Re: re: Mach-3 for a lathe
Post by: Hood on April 16, 2007, 01:41:41 PM
Look on your motor outputs and see if you have disabled the X Axis
Hood
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 16, 2007, 03:37:33 PM
Hello Hood
 Thanks for the reply, well it the same as my Z and i tried different setting's on the ports and pin's but still no movement on the X

Rg's
Dennis
Title: Re: re: Mach-3 for a lathe
Post by: Chaoticone on April 16, 2007, 03:44:18 PM
Hey Dennis, what drives are you using?

Brett
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 16, 2007, 03:45:57 PM
Hi Brett
I am using it fo rmy lathe soit's X & Z axisis

Dennis
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 16, 2007, 03:46:56 PM
Hey Brett
You offered a phone call is it possible to call you what's your #

Dennis
Title: Re: re: Mach-3 for a lathe
Post by: Chaoticone on April 16, 2007, 04:31:37 PM
Dennis,
    I have sent you a personal message.

Brett
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 16, 2007, 09:49:10 PM
Brett
Just recieved your message is it to late to give you a call i know your on the east coast.

Dennis
Title: Re: re: Mach-3 for a lathe
Post by: Chaoticone on April 16, 2007, 10:12:31 PM
Nope, I'll be at it a while.

Brett
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 28, 2007, 02:33:32 PM
Hi Guy's
Once again i need some help i am tyring to set up Mach-3 for my lathe working on the configuration of Mach-3 the lathe was already running under another software product so i already had all the math done and the lathe running properly,(don't ask) Mach-3 is just a better product, anyway i just took the setting's off the preceding software and put the setting's into Mach-3 but it's not working out right when i do a G00X+3 i am in MM the move is way off also i can't get the accel and velocity working any help as is always appreciated.

Rg's
Dennis
Title: Re: re: Mach-3 for a lathe
Post by: Chip on April 28, 2007, 03:32:53 PM
Hi, Dennis

Looking through your previous post's, Gecko's and CNC4PC your double opto-isolated, Have you try-ed increasing your Step's, Dir., Pulse's to 5 under Motor tuning, If its at 0 there may not be enough delay time there for both opto's to see the pulses.

As far as your Vel & Accl, Set them low values (v, 50, A 10 or so), Adjust the Steps Per till there accurate, Then increase Vel to a speed your confortable with or loosing steps then back it off some, Then increase the Accl up the same way and back it off also.

Is this stepper or servo system ?

Hope this Helps, Chip

Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 28, 2007, 04:00:10 PM
Hello Chip
 The machine is using stepper's, Ok i'll give it a go and see if that works out for the machine, what about the size of the machine length and the travel is that configuration  in Mach-3 ball screww pitch and gear ratio where are these setting's or what are they in Mach-3 there are so many sub titles looking through the manual there's a lot of info and not having used it before it hard to understand where to go and how to get it going.

Thanks for the help
Dennis 
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 28, 2007, 05:16:44 PM
Chip
tried to set up the config as you suggested when i drive the stepper's manual they work about right no stall but when i use the MDI line to move the X or  Z a given distance the drive just continualy moves i have to hit the E-stop whats going on here ?
I use the MDI line and use G00 Z-1 and the carrage moves continusly until i stop it.
 using the lower numbers the drives hardly would move so i bumped them up unitl they started moveing correctly.
Dennis
Title: Re: re: Mach-3 for a lathe
Post by: Hood on April 28, 2007, 06:36:41 PM
Dennis, can you post your xml
Hood
Title: Re: re: Mach-3 for a lathe
Post by: Chip on April 28, 2007, 08:49:03 PM
Hi, Dennis

Mach's default jog speed (Arrow Keys) is about F6, 6 in a min., A G00 will run at your max Velocity setting speed.

Try a G01 Z-1, Maybe thats what's going on hear, But the run-away issue must be your Step's Per aren't set right.

I've sent you a Personal Msg.

Post your XMl File as Hood Asked, It's in your Mach3 Folder. C:\Mach3\Mach3Turn.XML, or where ever Mach3 is install on your computer.

Sometimes the install to Dir is Mach3R183.....?, If you didn't change it at Select Destination Directory window during your install

Thanks, Chip
Title: Re: re: Mach-3 for a lathe
Post by: Chip on April 28, 2007, 09:47:31 PM
Hi, Dennis

Don't now if you've found the "Tab Key" Pop-up Window, It will allow you to set a step distance in the Cycle Jog Step by clicking on it or entering a value in the Window just to the right,

The "Jog Mode" just below it will allow you to set Cont., Step Modes and (MPG Mode if hooked up also), set it to Step Mode, will help you hear.

There a pop-up calculators option you can turn on also, Under Operator tab (Click on it and any time you click on a value entry display it will pop-up .

Your rite So-Many options and some are hard to find in Manual (Its hard to keep up with all the addons in the manual)

Hope this Helps on the L-Curv..., Chip
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 29, 2007, 06:47:14 PM
Hi Chip
recieved your PM let me know when i can give you call .

Rg's
Dennis
Title: Re: re: Mach-3 for a lathe
Post by: Chip on April 30, 2007, 12:28:23 AM
Hi, Dennis

Most any time up till midnight any way.

Thanks, Chip
Florida
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 30, 2007, 06:53:24 PM
Hi Guy's
 Well after talking with you Chip this morning i followed your suggestion and removed Mach-3 from my computer and did a fresh install, and found the same condition in motor tuning when i set the pulse and step to say 3 or 4 even 5 close the program and open it up again the program on it's own changed the configuration to some different numbers other then what i had saved so something wrong here? and it's beyond me to resolve it.

Rg's
Dennis
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on April 30, 2007, 08:03:09 PM
Hi Guys'
 one more thing i forgot to add i have downloaded the latest version it's .067 one other sugestion Chip made.

Rg's
Dennis
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on May 01, 2007, 10:53:53 AM
Hi Guy's
Well playing around with the G00 move i finaly got the machine to stop running away but the move is way off i ask for a move of 
5 MM and get 25 MM what do i adjust to componsate for this move i have looked through everything i can find and no luck so far.

Rg's
Dennis
Title: Re: re: Mach-3 for a lathe
Post by: Hood on May 01, 2007, 12:06:03 PM
Dennis, what is the pitch of the ballscrew, what gearing, what drives, what motors etc also post your xml and we can have a look.
Hood
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on May 01, 2007, 08:05:35 PM
Hi guy's
I thought i posted my machine info but i don't see it here also attached my XML file to the post what happemed to it.
Well one more thing i found is i can't get the motor tuning to save the step pulse and dir pulse when i set a number there and say save setting's the program closes and i give it a try then go back into the program motor tuning the numbers change by them selves the motor's won't work correctly with a setting of zero they stall and lose there place as they try to move any ideas always appreciated.

Rg's
Dennis
Title: Re: re: Mach-3 for a lathe
Post by: Chip on May 02, 2007, 04:54:22 AM
Hi, Dennis

Hears the .lset I'm working on (copy it to C:\mach3\)  and 4 Jpg's that need to be copied into your C:\Mach3\bitmap\millBitmaps\ for Lathe buttons.

Run Mach3Turn, View, select, new 1024 chip lathe B.lset

I've figured out what the problem is with your lathe, Call me in the morning.

Thanks, Chip

PS: I had to Zip them to post no .lset allowed, put them in a temp folder to un-zip.
Title: Re: re: Mach-3 for a lathe
Post by: DennisF on May 02, 2007, 03:30:40 PM
Hi Guy's
 First off I want to say what a great program Mach-3 is so many features for a price that's fantastic thanks to all involved in programming Mach-3.
 Next My thanks to Chip and all the other moderators who voluntarily give there time to new individuals helping them to figure all this out and through the learning my resounding THANKS what great people and that's another item that makes Mach3 such a great program thanks and thanks again.

Rg's
Dennis