You can get a variable frequency pulse train out of a hostmot2 stepgen by 
switching it to velocity mode.  Look at the control-type and velocity-cmd pins.

http://www.linuxcnc.org/docs/devel/html/man/man9/hostmot2.9.html


-- 
Sebastian Kuzminsky
never be discouraged
just let your nerdy flourish

-----Original Message-----

From:  "Rudy du Preez" <r...@asmsa.co.za>
Subj:  Re: [Emc-users] Hostmot2 spindle velocity control
Date:  Thu 2010 Mar 25 3:07
Size:  1K
To:  <emc-users@lists.sourceforge.net>

I have now converted three machines to EMC2 using parallel port for the two
small machines (a lathe and a mill) and  5i20+7i37 cards for the bigger
milling machine. The next two (lathes) are a bit more  complicated in that
they have servo motors with encoders driving the spindles. 

Whereas the stepgen component has velocity-command output, the
hostmot2.stepgen component seems to lack this kind of output (it seems to
have position-command only). Is it possible to generate a variable frequency
pulse stream through hostmot2 to control the speed of the servo spindle
motor? 

The one servo drive needs pulse/direction inputs and has 1000 ppr encoder
output. Encoder gearing can be set. The other drive needs a +-10V analogue
signal for velocity control and also has similar encoder output. For the
latter I have a 7i33 that could be used.

I am sure there is a way, and it is probably written up somewhere, but I
have not been able to find it.

Rudy
 

__________ Information from ESET Smart Security, version of virus signature
database 4972 (20100324) __________

The message was checked by ESET Smart Security.

http://www.eset.com
 


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to