5i25 and 7i78x2 support in Pncconf

More
07 Jul 2012 00:06 #21660 by cmorley
Ah so this just use the hostmot2/hal pi names ?
perfect that is much easier.
Thanks.

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

More
07 Jul 2012 00:15 - 07 Jul 2012 00:16 #21662 by cmorley
hmm looking at the manual it says the spindle output is like a potentiometer .
Does this still use the hostmot2/HAL PWM component?
eg.
setp hm2_5i25.0.pwmgen.00.output-type 1
setp hm2_5i25.0.pwmgen.00.scale [SPINDLE_9]OUTPUT_SCALE

net spindle-vel-cmd => hm2_5i25.0.pwmgen.00.value
net spindle-enable => hm2_5i25.0.pwmgen.00.enable

Thanks Chris
Last edit: 07 Jul 2012 00:16 by cmorley.

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

More
07 Jul 2012 00:32 #21664 by andypugh
cmorley wrote:

hmm looking at the manual it says the spindle output is like a potentiometer .
Does this still use the hostmot2/HAL PWM component?


I guess so. My spindle control is a PWM to a totem-pole opto and filter.
Specifically this:
docs-europe.electrocomponents.com/webdoc...0900766b80f8ba5d.pdf
and a resistor and capacitor.
Because it is a totem-pole output it drives both ways, so actively discharges the cap at 0 input current, and charges it at 10mA input current.
So, it will take a 5V logic PWM and create a scaled version of pretty much any voltage you apply to pins 6 and 4

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

More
07 Jul 2012 02:22 - 07 Jul 2012 02:25 #21665 by PCW
Yes its just stock HM2 so the spindle analog out is just a standard mode 1
PWMGEN though it wants about 5KHz for best linearity/ripple compromise

It does have an expansion sserial port so anything can go there
Last edit: 07 Jul 2012 02:25 by PCW. Reason: sp/missing

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

More
07 Jul 2012 02:25 #21666 by cmorley
Thanks Peter!

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

More
07 Jul 2012 17:16 #21675 by diegoroman17
cmorley in you thread 5i25_xml file to Pncconf you post 5i25 and 7i76/7i77 xml files. Is posible create xml files to 7i78?

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

More
07 Jul 2012 17:51 #21676 by diegoroman17
oh I see cmorley you have created 7i78xml file. thanks :)

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

More
07 Jul 2012 18:00 #21677 by cmorley
I didn't announce it to you because you need the bug fixed version of pncconf to use it properly.
The buildbot is still not up yet (the easiest way to get the latest version)
But it can't hurt to try it. It probably will work fine if you don't want the serial ports for anything.

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

More
07 Jul 2012 18:13 #21679 by cmorley
hey the buildbot may be working now...buildbot.linuxcnc.org/

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

More
08 Jul 2012 23:54 #21703 by diegoroman17
How I can use the buildbot?I dont understand it

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

Moderators: cmorley
Time to create page: 0.075 seconds
Powered by Kunena Forum