4 axes + pwm spindle

More
25 Nov 2010 18:41 #5614 by billykid
Replied by billykid on topic Re:4 axes + pwm spindle
Thanks Andy, I would not look like what you do not want to make efforts, even the configuration I have now is all done by hand without stepconf and it works perfectly :-)
I just wanted to know which firmware load for 4 axes + spindle closed loop. and 3 mpg encoder for pendant.
total 5 pwm. 7 encoder.
I bought the card 5i23. I thought of using the driver SVST8_4 okay?
Regards Mauro

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

More
27 Nov 2010 22:13 #5674 by billykid
Replied by billykid on topic Re:4 axes + pwm spindle
5i23 I received yesterday, I did some tests and is very simple with pncconf.
I doubt whether to use for the 3 mpg (feedrate, spindle_override, pendant) the input hardware encoder, or via gpio and Halui
Regards
Mauro

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

More
27 Nov 2010 22:33 #5675 by andypugh
Replied by andypugh on topic Re:4 axes + pwm spindle
billykid wrote:

I doubt whether to use for the 3 mpg (feedrate, spindle_override, pendant) the input hardware encoder, or via gpio and Halui


If you have enough encoder modules in your firmware then you might as well use the hardware encoders. If you want to use the software encoders then you probably need to run a base thread and also read the GPIO and encoder in the base thread. That is quite a lot of CPU overhead.

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

More
28 Nov 2010 13:51 #5685 by billykid
Replied by billykid on topic Re:4 axes + pwm spindle
I have 3 other inputs hardware encoders available.
only that I would only signals B. A no index and mask
it is difficult to remove from the file svst8_4.bit?
Regards
Mauro

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

More
28 Nov 2010 14:31 #5689 by andypugh
Replied by andypugh on topic Re:4 axes + pwm spindle
You can just ignore the index connection. The encoder will still work.
In fact you can also ignore the B pin if you put the encoder in counter mode. (but then it will only count up, not down)

I suspect I might not be answering the question you are asking. Could you try rephrasing it if not?

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

More
28 Nov 2010 14:41 #5691 by billykid
Replied by billykid on topic Re:4 axes + pwm spindle
in fact I wanted to know how to use the unused pins of the encoder. for other purposes
editing svst8_4.bit.
Regards
Mauro

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

More
28 Nov 2010 14:56 #5695 by andypugh
Replied by andypugh on topic Re:4 axes + pwm spindle
You can't really use the unused pins of an active encoder, but you can use the unused pins of inactive encoders simply by reducing the num_encoders parameter in the config string. The pins all then become GPIO.

If you were very short of pins you could use the index pin as a general purpose input, with the drawback that you could never try to use the index on that encoder normally. The encoder pins are still visible as GPIO inputs.

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

Time to create page: 0.109 seconds
Powered by Kunena Forum