On Jan 13, 2011, at 4:50 PM, Kirk Wallace wrote:
> Off the top of my head (guessing).
> 
> From:
> http://linuxcnc.org/docs/html/config_emc2hal.html 
> 
> it states that motmod loads this way:
> "
> loadrt motmod [base_period_nsec=period] [servo_period_nsec=period] 
> [traj_period_nsec=period] [num_joints=[0-9] ([num_dio=1-64] num_aio=1-16])] 
> "
> 
> It may be that the period naming isn't free form?
> 
> Also the periods should be whole multiples of each other, but I think the 
> periods will be rounded on loading rather that giving an error?
> 
> This shows a free form thread naming without motmod:
> http://linuxcnc.org/docs/html/hal_hal-examples.html
> 
> "
> loadrt threads period1=1000000 name1=thread
> "
> 
> I don't know if the two lines can live together.

They can live together if the speeds are in order of fastest (BASE), next 
slower (SERVO) and slowest (name1).  So at micges (on IRC) suggestion I set the 
servo thread to my charge pump value value and set name1 to the servo thread 
value (1000000).  I then add the charge pump to the servo-thread and move those 
things that were in the servo thread to name1 (which I named real-servothread). 
 It works.  Not at all confusing ;-)

-Tom


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to