Hello Guest it is April 26, 2024, 12:22:40 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 - jimpinder

931
General Mach Discussion / Re: What does the "To Go" button do?
« on: January 26, 2008, 06:38:53 AM »
Rich - You are getting worked up over nothing. The buttons you are talking about have nothing to do with getting started.

I must assume you have some knowledge of machining, such as cutting speeds, traverse speeds etc etc and are used to these. You can go through Mach3 configuration and set as many of these as you can. If you do not understand it, leave it alone. The majority of entries do not interfere with the normal operation of the machine.

To answer a couple of your queries - the machine needs to know where it is all the time. It keeps track of it's movements. It stores these positions in the Machine C0-0rdinates DRO's. However, machine co-ordinates are not particularly useful to us, the operators. We are probably more concerned with the position of the machine in relation to our work, and the program.

The Machine Coords buttons swaps between the two types of read-out. When lit it is showing the "raw" machine position. When not lit it is showing a more sophistacated position (which depends on several factors).

The "Ref all home" button is part of the positioning. If you have "home" switches fitted to your machine (They are NOT necessary) you can hit this button, and the machine will go to each switch in turn, stop at the position and zero the DROs.
This sounds great, but, whilst it might be alright for the big boys, in practice it is somewhat limiting - since it means all your work, all your programs etc have to start from that position. If your machine moves at the speed of light, then this is no problem. My home switches ( which I hardly ever use now) are fitted underneath the chuck, with the lathe table as far towards me as possible. It was really the only place to fit them. At the speed of travel of my table, it takes two minutes for the thing to get back to a position where it can do any useful work.

If you do not have home switches activated in the ports and pins table, the hitting this switch zeros the DROs, so the best plan of action is to move the table to a convenient position for your work (say bottom left hand corner) then hit the ref all home and the DROs go to zero - a nice place to start.

Worrying about the positional side of things is not the place to start - it is too complicated.

Concentrate on placing a workpiece on your table. Jogging the axis to touch the start point - bear in mind the thickness of the tool. Setting the DROs (just type in the numbers and hit return) to the correct start position (normally Z, the cutting tool rests on the workpiece (this is z=0), and then moving the table about. The DROs will always show your relative position from the start position.

You can then move your tool manually using G0 and G1 commands. You can expand this and perhaps write a G Code program to move the tool from 0.0.0 to the centre of one side of the work piece, then bring down the tool 10 thou, start the tool, and cut a grove along, up down ( in fact anywhere you want) and finally return to position 0,0,0.

Once you can do this, you understand what CNC is all about - there are other moves, arcs of circles to the left or right, and some specialist drilling moves, but basically G0, G1, G2 and G3 cover the vast majority of moves. All the rest is just icing on the cake, and things you will pick up as you go along - because you have got to that position where you need to know to enhance your program.

These things sound very basic, but unless you understand the fundamentals, using these super dooper programs to produce reams of G Code will be a mystery.





932
If your computer is dedicated to Mach 3, then just take a signal from the 5 v dc line so when the computer is turned on the Compudrive turns on.

If not, and you use the computer for other things, then use one of the axis enable outputs - I dont think it matters which one but they are certain to be "on" when running Mach3 - even if you are not using them.

933
Chris - If you have it all working that far, the only place you are loosing the signal is when you feed it back into the computer. It does not need any other pull up resistor, just connect the wire directly to the LPT1 input (mine is through a breakout board but is UNPOWERED).

Best of luck

Jim

934
General Mach Discussion / Re: Write Wizard
« on: January 22, 2008, 08:13:50 AM »
Mike - From you opening line, you say you are new to CNC. You have your machine now converted for CNC use. You are ready to go.

The first question in CNC is WHERE FROM. You must start with your tool at a set position (x,y,z) so that Mach 3  knows where it is starting. It is normal on a miller to have x0,y0 at the bottom left hand corner of the table, and z0 can be any where - but is normally on the top surface of the workpiece.

Your first task, is, therefore, to jog your table to that position, set the tool at that height then click the "Ref All Home" and all the machine DROs will go to zero.(Assuming that you have not connected any homing switches to your machine).

The next problem is your code. Quite clearly your code must start and assume the cutter is at the bottom left hand corner of the workpiece and the tool is resting on the work piece.

If you ignore all the **** at the beginning of a G Code program ( they are there to usually cancel everything that might have been left on from a previous program) (THEY CAN BE DELETED - THE PROGRAM WILL STILL RUN) - the first command you are looking for is a move from your start position to where the tool will start to engrave. In your case it should be ( engraving on a 1" bar ) something like:
g0 z0.250 (move the cutter up out of the way), g0 x0.5 y0.7 (move the cutter to the start position for the first letter), m3 (start the spindle), g1 z-0.05 (bring spindle down to cut into workpiece by 0.05) - there will then follow a series of g1 moves as the first letter is cut. At the end of each letter, you should be able to spot the g0 z0.250 command which lifts the tool clear of the work before moving to the next letter.

This quite clearly leads us to ask - what are you using to generate your code.
The program you are using must able to identify the bottom left hand corber of the table as x0,y0. and write all the other code accordingly. You must make sure all offsets are cleared or cancelled.

Start simply -  and engrave your name  - but generate the code one letter at a time first. When you have entered the code in Mach 3 go to the editor and read it, and try and spread it out into easily defined pieces - like - preamble, opening move, first cut, next move, 2nd cut, next move etc.

If you picture your cutter on the table, you should be able to understand where it should be at any time on a cut. Mach 3 as you step through it (without the miller being on) will highlight the cut being taken and you should be able to understand the x and y positions.

Now I don't know if this diatribe is going to help you or not.

As for the G00 x0.21375 y0.4998 - erase it, and see what happens.
Check in the tool table and see that tool "0" does not have an entry.
I don't know what feed rate or RPM you want to put in (I don't do a lot of Ali)
Rapid tool height is the tool height at which it is clear to move the x,y axis in a rapid movement - I used 0.250 in my example
Z top will probably be how high can the Z axis go
Depth will be depth of cut

Have another go - print out the G code and see if you can read it - you will be suprised, it is fairly simple. all it is is a move from whereever the axis is to a new set of co-ordinates, either rapid (G0) or cutting speed (G1)




935
General Mach Discussion / Re: Lathe Turn wizard question
« on: January 22, 2008, 07:02:49 AM »
Whilst I don't know what your finished part looks like, I would try and write my own wizard.

If you use Vis Basic, you can quickly write a program to  thin down your stock to a working diameter, put on rounded ends etc etc,

My manual page, on Mach 3 Turn,  has now several other DRO,s available into which I can enter parameters such as starting diameter, finish diameter, length, etc etc. I have written several macros which take information from this page, and then turn the stock down to these parameters.

Roughing down to a diameter is easy, since you can use  such commands as  "While Dia > Finish Dia" etc  "Take another 20thou off".

If you send me some idea of what you are doing, I'll try and put a little macro together for you. 

936
General Mach Discussion / Re: Joging Problem
« on: January 22, 2008, 06:38:35 AM »
AS Tony says - make sure backlash if off and try again - BUT - the problem will return when you turn backlash back on.

Backlash on Mach3 is a seperate movement on all the axis. It appears that the computer says - move x  - that is a different way to before - stop - put backlash on - stop - carry on with the move. Also in the backlash configuration, you can put in different speeds - and these seem to bear no relation to your traverse speed.

The result is, if you jog one way, then the other, the axis stops and starts four times instead of the anticipated once. Having said that it is accurate to less than a thousanth of an inch.

937
General Mach Discussion / Re: USB Problems
« on: January 22, 2008, 06:29:44 AM »
Phil - I run Mach 3 through a lap-top - Toshiba, about 5 years old with USB 1. I use the standard LPT1 port to run the lathe/miller. I have never had any problems, it runs the system superbly, and being a laptop, sits on a shelf out of the way.

I got a web camera for Christmas - and plugged it in. I got a picture through windows, I couldn't get a picture through the video window on Mach 3, the system started running slowly, it told me I had a fast (series 2) USB device in a slow USB slot, and finally the whole lap-top crashed, I lost the screen picture etc etc. The memory seemed to get over written.

I gave up with the Web Cam and all is back to normal.


938
Chris - I'm sorry you are having so much bother. Here are a couple of pictures of mine to show how simple it is.

I take it you are now using a 5 volt feed to power it Ignore the "pull up" resistor on the output, it is not needed.
If you power up the transmitter side, you should, using a multimeter,between the output and 0 volts, be able to detect a sizeable drop in resistance, as soon as the detector picks up a signal from the transmitter. You can check this using a little mirror - and simply hold the chip in your hand and move it towards the mirror and away. If you connect these two leads between your 0v and your index input, this should give a reliable signal.

The only problem I can think of inside an enclosed space you are using is that the transmitter will be sending outputs all round the housing, and some could be bouncing back into the sensor.

Anyway - I really can't say any more - here are the photos. ( P.S. I dont have a problem with dirt - and if I do, it is readily available for the wipe of a cloth.)

939
I'm sorry to come to this so late - it just shows - miss a day, miss a lifetime.

What is your problem. If you have the Fairchild relective sensor giving a reading then you are there !! apart from a few adjustments.

The way I did mine was to coat the rim of the chuck mounting plate in matt black paint - note MATT black  since we are dealing with relection.
The chuck plate is about 6" diameter. The Fairchild relective sensor was mounted so that it shines down  on the matt black. From my grand-daughters "box of sticky things" I got a little sticky mirror, about 5 mm wide and maybe 10 mm long. I stuck this on the rim of the chuck mounting plate. I then started the chuck, and adjusted the DISTANCE the sensor was from the rim, until it gaye a reliable reading. Since it comes straight up on the screen this is fairly easy.

The distance is quite critical, though, too near or too far away and the reflection on the rim does not hit the sensor. The other thing is to ensure that the mirror part is clean.

The other thing to do is adjust the index debounce so that it is long enough to trigger only once while the reflector is over the mirror. This is easy - since the mirror is only 1/45th of the length of the rim.

There is a slight problem - and this will occur ( I think) with whatever system you use. My system does not reliably read from 0 to 1000+. I cannot abjust debounce for all speeds. Therefore at very low speeds I do sometimes get odd readings. I can live with that. It is accurate from about 150 rpm to over 1000 rpm ( it has no trouble with faster speeds)


940
General Mach Discussion / Re: Constant Surface Speed.
« on: January 19, 2008, 04:18:50 PM »
Graham - That must be one of the fastest replies on record - I only nipped out to make a cup of coffee !!!

Thanks a lot - I will try that in the morning.

Jim.