17 квітня 2012 р. 19:23 Peter C. Wallace <[email protected]> написав:

> Did you verify the bit file md5 checksum?
>

Yes, it's ok.

There's some progress at last! Here's the simplified hal I try to check 7i39

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 15000
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

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 1
setp hm2_7i43.0.3pwmgen.00.B-value 0
setp hm2_7i43.0.3pwmgen.00.C-value 0

When I start it, the motor is powered. Thus 7i39 is OK, good news!
Now I'm fighting one axis config with pid and bldc...

Is the following connection correct?

net x-output       <= pid.x.output
net x-output       => bldc.0.value

I guess pid controls bldc, but it was backwards before. Though, still
nothing works.

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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to