Forum Header

Mach3 XML and Stepconfig issues.

More
9 years 6 months ago #91993 by tecno
Yes we do, looks like pause is a bit shorter.

Please Log in to join the conversation.

More
9 years 6 months ago #91994 by andypugh
Is there a way to tell what the output from Mach3 looks like?
Do you see variation in voltage at the converter output?

Are both systems using the same parallel port hardware?

Please Log in to join the conversation.

More
9 years 6 months ago #91995 by tecno
Same hardware
Will have to rig oscilloscope to verify.
Have tried fine-tuning the LM circuit maybe a bit better but still like a bad two-stroke.
Think it is time to rebuild with better BoB that has PWM.

Please Log in to join the conversation.

More
9 years 6 months ago #91997 by andypugh
It shouldn't be necessary to change the hardware. If it works with Mach it should work with LinuxCNC.

Is the stepgen.N.frequency pin showing a steady value?

Please Log in to join the conversation.

More
9 years 6 months ago #91998 by Todd Zuercher
The halscope plot should look something like this. (This shot has 2 increases in frequency from me clicking the increase spindle speed button)

Attachment not found

Please Log in to join the conversation.

More
9 years 6 months ago #91999 by tecno
Appears to be so.

Below my settings in Mach3 for the spindle.

Attachment not found

Please Log in to join the conversation.

More
9 years 6 months ago #92002 by Todd Zuercher
We should be able to replicate those settings easily enough. Go back to the original type-0 stepgen config. With these hal line settings.
setp stepgen.2.steplen 5000
setp stepgen.2.stepspace 5000
setp stepgen.2.dirdelay 13000
setp stepgen.2.maxaccel 1875

And if it still is bad, try inverting parallel port pin 6 by adding this line.
setp parport.0.pin-06-out-invert 1

Do you happen to have a real oscilloscope? You could try looking at what the real signal from Mach3 actually looks like. (Mach has little reputation for not actually doing what it says it is.) Then try to replicate it.

Please Log in to join the conversation.

More
9 years 6 months ago #92004 by tecno
I think I have tried that but will try it again, but not the inverted.

Have scope, will try to maybe tomorrow.

Please Log in to join the conversation.

More
9 years 6 months ago #92005 by Todd Zuercher
I know, it seems like a long shot, but at this point we're flailing in the dark.

Please Log in to join the conversation.

More
9 years 6 months ago #92042 by tecno
Still same with updated hal, but...

Attachment not found



Have to comment out that line to get started, but I doubt it will help anyhow.

Will try to rig scope and see what Mach3 spits out.

Cheers
Bengt

Please Log in to join the conversation.

Time to create page: 0.137 seconds
Powered by Kunena Forum