× Forum Header

Mach3 XML and Stepconfig issues.

More
21 Apr 2017 12:23 #91775 by Todd Zuercher
Oops, typo. The little "o" in that line should be a zero "0".

Please Log in or Create an account to join the conversation.

More
21 Apr 2017 12:34 - 21 Apr 2017 12:38 #91776 by tecno
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.

Please Log in or Create an account to join the conversation.

More
21 Apr 2017 13:36 #91783 by Todd Zuercher
Make sure that the line that has the encoder.0.phase-z is placed after the addf lines in the hal file.

Please Log in or Create an account to join the conversation.

More
21 Apr 2017 13:38 #91784 by tecno
Will try that later today, have visitors coming.

Please Log in or Create an account to join the conversation.

More
21 Apr 2017 17:36 #91797 by tecno
Now I get into LCNC but still no spindel action.
Found a typo in the line in question.

Please Log in or Create an account to join the conversation.

More
21 Apr 2017 18:08 #91799 by Todd Zuercher
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:

Please Log in or Create an account to join the conversation.

More
21 Apr 2017 18:10 #91800 by tecno
Will give answers tomorrow. Thanks for your help Todd.

Please Log in or Create an account to join the conversation.

More
22 Apr 2017 07:58 #91833 by tecno
Yes the watch shows 0 and -1 and 1, adjusting rpm values changes accordingly

Please Log in or Create an account to join the conversation.

More
22 Apr 2017 12:12 #91837 by Todd Zuercher
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

Please Log in or Create an account to join the conversation.

More
22 Apr 2017 13:41 #91841 by tecno
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

Please Log in or Create an account to join the conversation.

Time to create page: 0.116 seconds
Powered by Kunena Forum