Hello Guest it is March 28, 2024, 04:26:09 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 - JohnHaine

161
VB and the development of wizards / Re: macro correction 2
« on: September 19, 2022, 12:28:03 PM »
Well I'm sorry, but I am not going to crawl through the code trying to work out what it does if you can't point to approximately at what line it doesn't behave as you want.  There are some oddities - for example I see a feed rate of 500mm/min defined a few lines before a G31 as "slow feed rate" - that doesn't strike me as slow!  50 or 5mm/min would be for fine probing.

Though you may not be familiar with VB if you could learn how to single step through the code you could see and explain at which instruction it misbehaves it would be much easier to help.  Line numbers would be very useful too!

162
VB and the development of wizards / Re: macro correction 2
« on: September 19, 2022, 08:31:47 AM »
Very hard to understand your question as I can't see where scan "A" is, but I see a few places where you have code like this:

Code "F50" 'slow feed rate to 100mm/sec
    Code "G90 G0 X" &XNew + OutsideDiameter * .6
    Code "G91 G0 Z-10"

So first you set the feed rate to 50mm/min (not per second, and not 100 as the comment says!), then you do a G0 move which ignores the feedrate you have just set!  Should those G0s be G1s?

163
General Mach Discussion / Re: Problems setting up lathe.
« on: September 19, 2022, 08:26:30 AM »
It is steps/unit that you need to set, based on the steps/rev of the motor, any gearing to the feedscrew, and the screw pitch.

164
German / Re: PWM 0-5 Volt in Mach3 umdrehen
« on: September 14, 2022, 11:08:40 AM »
I'd have used an op-amp as a unity gain inverter...

165
General Mach Discussion / Re: PWM Spindle Speed off by a factor of 100
« on: September 09, 2022, 03:43:14 AM »
Your pwm base frequency is very low at 5hz.  Try increasing it to 100.

166
General Mach Discussion / Re: PWM Spindle Speed off by a factor of 100
« on: September 07, 2022, 01:36:45 AM »
What are your M3 config settings on the PWM output?  I can't see any recommendations in the 4213 instructions.

167
Actually Proxxon tools use a permanent magnet dc motor driven from a rectifier and a moderately crude controller.  An upgrade ro a KBE type controller is probably possible.

168
Mach3 won't drive a robot

169
Mach3 under Vista / Re: Having to advance to #170?
« on: August 25, 2022, 04:09:59 AM »
Motion controller? I use M3 with a UC100 USB controller with Win10 andnthe upgrade from XP with PPT was seamless.

170
General Mach Discussion / Re: Help please
« on: August 23, 2022, 02:59:33 PM »
The second should work.