17 квітня 2012 р. 01:48 Andrew <parallel.kinemat...@gmail.com> написав:

> It's not so simple, because ini file is not loaded.
> But I started entering first relevant strings from HAL, and when it came
> to 3pwmgen.00.A-value 0.1 , nothing happens again.
>


Well, I created very simplified HAL

loadrt trivkins
loadrt motmod servo_period_nsec=1000000 num_joints=3
loadrt probe_parport
loadrt hostmot2
loadrt hm2_7i43 config="firmware=hm2/7i43-4/SVST4_4_7i39.BIT num_encoders=1
num_pwmgens=0 num_3pwmgens=1 num_stepgens=0"
setp     hm2_7i43.0.3pwmgen.frequency 10000
setp     hm2_7i43.0.watchdog.timeout_ns 10000000

addf hm2_7i43.0.read servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf hm2_7i43.0.write         servo-thread
addf hm2_7i43.0.pet_watchdog   servo-thread

#*******************
#  AXIS X
#*******************

setp hm2_7i43.0.3pwmgen.00.scale 200
setp hm2_7i43.0.3pwmgen.00.enable 1
setp hm2_7i43.0.3pwmgen.00.fault-invert 1
setp hm2_7i43.0.3pwmgen.00.A-value 0.5
setp hm2_7i43.0.3pwmgen.00.B-value 0.3
setp hm2_7i43.0.3pwmgen.00.C-value 0.6

And nothing happens at all. Does it mean 3pwmgen is not working?
The only noticeable thing is when the machine starts, it becomes a little
bit harder to move the forcer. When it shuts down - it releases.
BTW I work with 2.5.0 from the flash drive.

Andrew
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to