Advertisement
Guest User

Untitled

a guest
Nov 27th, 2013
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. loadrt threads name1=servo-thread period1=1000000
  2.  
  3. loadrt hostmot2
  4.  
  5. loadrt hm2_pci config="num_pwmgens=1 num_stepgens=1"
  6.  
  7.  
  8. setp hm2_5i25.0.stepgen.00.step_type 8
  9.  
  10. setp hm2_5i25.0.stepgen.00.table-data-0 [STEP_DATA]DATA0
  11.  
  12. setp hm2_5i25.0.stepgen.00.table-data-1 [STEP_DATA]DATA1
  13.  
  14.  
  15. setp hm2_5i25.0.stepgen.00.control-type 1
  16.  
  17. setp hm2_5i25.0.stepgen.00.velocity-cmd 1
  18.  
  19. setp hm2_5i25.0.stepgen.00.position-scale 1
  20.  
  21. setp hm2_5i25.0.stepgen.00.enable 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement