Re: Mach2 lathe toolchange and touch correction
Steve:
Annoyingly no, I haven't found the problem yet. It may be that my version doesn't have it. I think I found the toggle bug, but I'm not sure yet. Almost all the other bugs are done..Still Looking..
BTW: Send me your lathe.xml file will you, it may help... Thanks, Art www.artofcnc.ca
|
Re: Frequency to Voltage - Warning
On Thu, 07 Aug 2003 15:05:39 -0000, you wrote: Linearity is only defined over the range 1kHz to 10khz, see note 5 in the spec sheet. For practical purposes it extends from about 200Hz to 12 - 13kHz, the bottom end depends on the filter capacitor. I am retired now and without the necessary test equipment I can't do full tests, but from empirical tests the response falls very rapidly, e.g. @4.25kHz Vout= 2.5 @8.5kHz Vout=5, @12.75kHz Vout=7V & @17.5kHz Vout= 7.3V. Have a look at the graph "Tachometer linearity Vs R1" on page 6 With an input voltage of 12V, Frequency of 1000Hz and a R1 value of 350K it's 0.2% The input frequency is set by steps per unit and velocity, get your min/max step rate between 1KHz and 10K and it's about as linear as it gets. I will post a hand drawn circuit of my revised circuit later to-day. Are you putting it in Mach1Mach2 files section? -- Steve Blackmore
|
Re: Mach2 lathe toolchange and touch correction
Hi Steve:
Thanks for the bugs. YOur right, I hadn't considered the poor tool tables or fixture table. I will implement new ones for lathe only. The touch off, should be done in your example by entering 30 in the touch correction and turning it on. then do touch of the bit to the stoch and hit "touch" on the X, 30 will appear. If you use a guage, enter 30 + guage block in the corretion and the proper diameter will appear. Turn off correction and toush the Z to zero it or enter a length if you wish.
There are no special G-Codes for lathe yet, only G32 is active. I will look into the error's but that is a holdover from EMC which at the time the interpreter code was written, did not tripo errors on some types of problems.
Lathe is still pretty early, but as soon as the bugs are gone in the next version of mill, I'll start to strengthen it up and add more codes. I'm considering some code options in the way all these lathe codes will be handled. Since the EMC interpreter cannot handle them and most of them are "cycle" type of codes, I am still figureing out how best to handle this option.
Thanks, Art www.artofcnc.ca
|
Mach2 lathe toolchange and touch correction
Here are a few problems with toolchanges
Lathe tooltable overwrites Mill tooltable Entries are listed as Z,X rather than X,Z? Using Jog screen to touch entries off always overwrites tool 0 even if a different number is typed in tool number box.
How is the touch correction supposed to work?
My job X0, Z0 is center of stock diameter, say 30mm from end, and all my gcode coordinates work from there - if the stock is 10mm diameter - how do I let mach2 lathe know this?
Also have you got a list of supported G & M codes for lathe, I've noticed if it doesn't recognise a Gcode it simply skips that line - that could be nasty - surely it should error and stop? -- Steve Blackmore
|
Re: Sorry! (was computer/os recomendations)
--- In mach1mach2cnc@..., "sciciora" <ciciora@C...> wrote: That's it; I don't think I'm going to post from Yahoo anymore... How were the previous two for my first post... :-(
I need to buy a new computer so I can run Mach1/2, and am looking for recomendations. I'm sure it's been discussed, but after an hour of searching the archives, I've come up dry.
It seems that a 2.2 gig celeron is a good price breakpoint. Anyone have experience with this processor running Machx? Is it good enough to run win XP home/pro/Win2k? I'm a win98 user, so I don't know how much ghz is required to run these operating systems and cad programs. Is it worth $100 to make the jump to a 2.4GHz p4?
What about operating systems? What's the difference (to a cad/cam operator) running XP Home, XP Pro, or Win2K? Is it worth $70 to upgrade?
Thanks for putting up with my goof posts, and my newbe questions. I've seen Mach2 running a Taig, and am now willing to spend as much as my Taig for new computer/software to make mine run that nice. (CNCPro on a P1 around 233 MHz current configuration).
- Steve I'm sure others will weigh in here. You don't need a 2.2G machine to run MACH1 or 2. The thing that you do need is to have a machine dedicated to the controller task and not running a bunch of other known (or unknown) programs. I have a 700Mhz little AMD board I picked up for virtually nothing and it runs MACH1 or 2 just fine. I prefer WIN2000 (no flames here guy's) and find it to be extremely stable. My shop machine is a 900MHZ clone and has never had a problem with any of the MACH2 releases. I made sure NOTHING else is running but the bare essentials to keep WIN2000 happy. I do have it networked with my other machines and was careful to set the network card up NOT to auto negotiate the link speed. Since I don't need the 45Khz pulse rate to drive my table to full rapids I run in 25KHZ mode. Like my father once observed when I showed him my hot new muscle car (1960's) with 130 on the speedometer: "Son, why would anybody need to go that fast?" For my money I would rather have the 2.2 G machine as my CAD/CAM design station and keep my old slow 900 as a dedicated controller. While the subject of the best OS borders on a religious descussion, I was still using WIN98 on several of my machine up until this year. It wasn't broke, so I didn't fix it! I finally upgraded so that I would have a consistant interface and not have to remember the different places to go for common Windows functions. In your choice of machines, opt for one that has a separate video card rather than video on the mother board. Most of those designs share system memory and cause problem with MACH2.
|
--- In mach1mach2cnc@..., "japrenticeuk" <john@c...> wrote: --- In mach1mach2cnc@..., "caudlet" <thom@t...> wrote:
Gentlemen:
I agree that the limit switches are there to save a crash and should
do two things:
Instantly stop the motors on all axis Issue an e-stop signal back to the software.
<snip> Many thanks for original point and everyone's contributions to this. In light of them I have decided to strengthen the advice in the Mach2Mill manual to use a totally hardware EStop, limits strategy. Look out for this in the next release which documents the new F-key screen switching and XML profiles. John, If it would help I think I have an electronic copy of a schematic for a strictly electromechanical (relays and switches) of providing a failsafe limit. Let me know if you want it for inclusion. TOM C Best wishes
John Prentice
|
Sorry! (was computer/os recomendations)
That's it; I don't think I'm going to post from Yahoo anymore... How were the previous two for my first post... :-(
I need to buy a new computer so I can run Mach1/2, and am looking for recomendations. I'm sure it's been discussed, but after an hour of searching the archives, I've come up dry.
It seems that a 2.2 gig celeron is a good price breakpoint. Anyone have experience with this processor running Machx? Is it good enough to run win XP home/pro/Win2k? I'm a win98 user, so I don't know how much ghz is required to run these operating systems and cad programs. Is it worth $100 to make the jump to a 2.4GHz p4?
What about operating systems? What's the difference (to a cad/cam operator) running XP Home, XP Pro, or Win2K? Is it worth $70 to upgrade?
Thanks for putting up with my goof posts, and my newbe questions. I've seen Mach2 running a Taig, and am now willing to spend as much as my Taig for new computer/software to make mine run that nice. (CNCPro on a P1 around 233 MHz current configuration).
- Steve
|
What computer/operating system to use?
|
What computer/operating system?
|
Brian: code ("G00 X" &x & "Y" &y & "A" &a)
Wow, string formatting within a macro.. Great Work!!! Art www.artofcnc.ca
|
Hi All
I am trying to improve the macro section in the Manual and must share a bug in the manual and a feature in Mach2 with you.
My "bug" is in the definition of the Param3() function in Appendix 5. Param3() actually gets the value of the S word in a macro call e.g. if macro M55 contains a VB Script line "valu = Param3()" and the macro is called in a part program by "M55 S3000" then variable "valu"will be set to 3000. The manual (Rev A1) says it is the L word that corresponds to Param3.
The "feature" is that the S word is checked against the current pulley setting by Mach2 before it is passed to the macro. If it is too high or too low then it is not passed. You need to beware and only use this word to pass a valid spindle speed to a macro. P & Q will pass any value.
I hope the next version of the manual will have some helpful macro examples in it.
Best wishes
John Prentice
|
Re: Keyboard/Mouse software
--- In mach1mach2cnc@..., "John Prentice" <JAPrentice@i...> wrote: Hi
Does anybody know of any software (e.g. keyboard remapper, mouse hot keys functions etc.) that will turn clicks on an IntelliMouse's scroll wheel into keystrokes?
It potentially seems to be an excellent interface for feedrate override if only one could generate some suitable keystrokes to trigger the Mach2 override control buttons.
John Prentice
One of the best remaper I have come across is AIMKeys Don't know if this will work as I don't have an intellimouse. John S.
|
On Wed, 06 Aug 2003 16:50:47 -0300, you wrote: Definitely noise on the step pin. When you jog, the DIR pin gets set and dosent change until you change diretcion, thats why it creeps in the last direction. Fixed that - I had broken the screen wire on the connector! Another problem just cropped up, not used tooltables until now, lathe tooltable seems to overwrite mill tooltable & vice versa. Also can you set it as X,Z offset not Z,X offset or is there a reason for this? Also store touch facility is missing? -- Steve Blackmore
|
Here is the macro that I have made and it seems to work very well. What it will do is retract the spindle to Z-.1 (mach) You change the tool and move it where ever you like. Than it will rappid back to the XYpos and do the height offset for the tool you loaded.
I hope you like it Brian
M6start
tool = GetSelectedTool() x = GetToolChangeStart( 0 ) y = GetToolChangeStart( 1 ) z = GetToolChangeStart( 2 ) a = GetToolChangeStart( 3 ) b = GetToolChangeStart( 4 ) c = GetToolChangeStart( 5 )
code "G00 G53 Z-.1" SetCurrentTool( tool )
M6END
tool = GetSelectedTool() x = GetToolChangeStart( 0 ) y = GetToolChangeStart( 1 ) z = GetToolChangeStart( 2 ) a = GetToolChangeStart( 3 ) b = GetToolChangeStart( 4 ) c = GetToolChangeStart( 5 )
code ("G43 Z-.1 H" & tool) code ("G00 X" &x & "Y" &y & "A" &a)
|
Hi
Does anybody know of any software (e.g. keyboard remapper, mouse hot keys functions etc.) that will turn clicks on an IntelliMouse's scroll wheel into keystrokes?
It potentially seems to be an excellent interface for feedrate override if only one could generate some suitable keystrokes to trigger the Mach2 override control buttons.
John Prentice
|
New file uploaded to mach1mach2cnc
Hello,
This email message is a notification to let you know that a file has been uploaded to the Files area of the mach1mach2cnc group.
File : /FtoV with Pre-scalar.jpg Uploaded by : bwr2fixit <bwjarandall@...> Description : FtoV with pre-Scalar
You can access this file at the URL
To learn more about file sharing for your group, please visit
Regards,
bwr2fixit <bwjarandall@...>
|
Re: Frequency to Voltage - Warning
Steve, Linearity is only defined over the range 1kHz to 10khz, see note 5 in the spec sheet. For practical purposes it extends from about 200Hz to 12 - 13kHz, the bottom end depends on the filter capacitor. I am retired now and without the necessary test equipment I can't do full tests, but from empirical tests the response falls very rapidly, e.g. @4.25kHz Vout= 2.5 @8.5kHz Vout=5, @12.75kHz Vout=7V & @17.5kHz Vout= 7.3V. I will post a hand drawn circuit of my revised circuit later to-day. Bernard --- In mach1mach2cnc@..., Steve Blackmore <steve@p...> wrote: On Thu, 07 Aug 2003 00:36:53 -0000, you wrote:
Hi All,
A warning to anyone using a LM2907/2917 Frequency to Voltage converter for spindle control. The chip data sheet does not specify an upper frequency limit, I have found that it is very non linear above about 13KHz, I did not realize the problem with Mach1
because I was using a D-FF as a pre-divider, however when I set up Mach2 for
a Kernel speed of 35KHz I found that at above half spindle speed I
was getting very strange results. The answer was to use the second D-
FF on the chip, so there is now a divide by 4 pre-scalar to the
FtoV. This modification should be good for M2 up to a Kernel frequency
of 45KHz. Bernard - Can you explain this a little more, a circuit diagram
might help? The National spec sheet shows it as pretty linear ie less than 0.4% across a 500kHz input range?? -- Steve Blackmore
|
Re: somewhat OT...SCR controllers and PWM rated motors...compatible??
Did you every see a spark from a switch you turned off. Imagine if you switched power on and off over and over again. The switch would wear out. A problem for some motors is that their insulation was not rated for switching on and off so much. DC doesn't change that much, so you can make it cheaper with less insulation. Motors rated for PWM or SCR are beefier to support high switching rates. Otherwise they are similar.
|
--- In mach1mach2cnc@..., "caudlet" <thom@t...> wrote: Gentlemen:
I agree that the limit switches are there to save a crash and should do two things:
Instantly stop the motors on all axis Issue an e-stop signal back to the software.
<snip> Many thanks for original point and everyone's contributions to this. In light of them I have decided to strengthen the advice in the Mach2Mill manual to use a totally hardware EStop, limits strategy. Look out for this in the next release which documents the new F-key screen switching and XML profiles. Best wishes John Prentice
|
Re: Frequency to Voltage - Warning
On Thu, 07 Aug 2003 00:36:53 -0000, you wrote: Hi All,
A warning to anyone using a LM2907/2917 Frequency to Voltage converter for spindle control. The chip data sheet does not specify an upper frequency limit, I have found that it is very non linear above about 13KHz, I did not realize the problem with Mach1 because I was using a D-FF as a pre-divider, however when I set up Mach2 for a Kernel speed of 35KHz I found that at above half spindle speed I was getting very strange results. The answer was to use the second D-FF on the chip, so there is now a divide by 4 pre-scalar to the FtoV. This modification should be good for M2 up to a Kernel frequency of 45KHz. Bernard - Can you explain this a little more, a circuit diagram might help? The National spec sheet shows it as pretty linear ie less than 0.4% across a 500kHz input range?? -- Steve Blackmore
|