SHOW:
|
|
- or go back to the newest paste.
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 |
21 | + | setp hm2_5i25.0.stepgen.00.enable 1 |
22 | ||
23 | addf servo-thread hm2_5i25.0.read | |
24 | ||
25 | addf servo-thread hm2_5i25.0.write |