× Forum Header

Mach3 XML and Stepconfig issues.

More
21 Apr 2017 12:23 #91775 by Todd Zuercher
Todd Zuercher replied the topic: Mach3 XML and Stepconfig issues.
Oops, typo. The little "o" in that line should be a zero "0".
More
21 Apr 2017 12:34 - 21 Apr 2017 12:38 #91776 by tecno
tecno replied the topic: Mach3 XML and Stepconfig issues.
It is 0 in halfile

Can this error be port pin 13 not setup for Ch A ? Anyhow at the moment I do not have other than Index.
Last Edit: 21 Apr 2017 12:38 by tecno.
More
21 Apr 2017 13:36 #91783 by Todd Zuercher
Todd Zuercher replied the topic: Mach3 XML and Stepconfig issues.
Make sure that the line that has the encoder.0.phase-z is placed after the addf lines in the hal file.
More
21 Apr 2017 13:38 #91784 by tecno
tecno replied the topic: Mach3 XML and Stepconfig issues.
Will try that later today, have visitors coming.
More
21 Apr 2017 17:36 #91797 by tecno
tecno replied the topic: Mach3 XML and Stepconfig issues.
Now I get into LCNC but still no spindel action.
Found a typo in the line in question.
More
21 Apr 2017 18:08 #91799 by Todd Zuercher
Todd Zuercher replied the topic: Mach3 XML and Stepconfig issues.
If Linuxcnc now opens. Then you can use its diagnostic tools to see what is (or isn't) happening.
Look at the pins for stepgen.2 that you are trying to connect to run the spindle. Does it have a pin called stepgen.2.velocity-cmd?
if you select the watch tab and select that pin. does it's value change when you try to turn on the spindle?
Attachments:
More
21 Apr 2017 18:10 #91800 by tecno
tecno replied the topic: Mach3 XML and Stepconfig issues.
Will give answers tomorrow. Thanks for your help Todd.
More
22 Apr 2017 07:58 #91833 by tecno
tecno replied the topic: Mach3 XML and Stepconfig issues.
Yes the watch shows 0 and -1 and 1, adjusting rpm values changes accordingly
More
22 Apr 2017 12:12 #91837 by Todd Zuercher
Todd Zuercher replied the topic: Mach3 XML and Stepconfig issues.
That is good to hear, That means that part of the connection is working.
When you set say 1000rmp what is the result?
also look at the values for the pin stepgen.2.up and stepgen.2.down.
They are the step pulse signal that is to be sent to the parallel port pins.
(You might only be able to notice them blinking at low frequencies.)
It is probable that you need to change the step pulse length for your chip to to be able to detect them.
Change the 1 in this line to what ever it should be or try a reasonably large number, something like 250000
setp stepgen.2.steplen 1
and add a line for stepspace and set it to the same number as step length.by adding this line.
setp stepgen.2.stepspace 250000
More
22 Apr 2017 13:41 #91841 by tecno
tecno replied the topic: Mach3 XML and Stepconfig issues.
At the moment I can not see the popup window with Spindle at speed as it is far out to the right and only partially visible.

12" Elotouch screen 800x600 and no better resolution is possible, small size and touch was what I wanted years ago.
Touch is not working properly, next in line to get fixed to work in LCNC. I have no drivers and setup tool for Linux, yet.

Will now go down and try out your prescription, will go online down in the shop.

Cheers
Bengt
Time to create page: 0.104 seconds
Powered by Kunena Forum