Andy pugh wrote:

>>  How I should write the commands and then link to the function
>> offset?

>Just like any other HAL function, loadrt / addf / net. 
>http://www.linuxcnc.org/docview/html/hal_basic_hal.html

ok I tried with these lines for see what happen:

loadrt scale count=1
loadrt offset count=2

add scale.0 servo-thread
setp scale.0.gain -1
addf offset.0.update-output servo-thread
addf offset.1.update-output servo-thread
addf offset.0.update-feedback servo-thread
addf offset.1.update-feedback servo-thread
....

net elevation axis.4.motor-pos-cmd => scale.0.in
net scal scale.0.out => offset.0.in offset.1.offset
net rotation axis.5.motor-pos-cmd => offset.1.in offset.0.offset
net mot1 offset.0.out => stepgen.4.position-cmd
net mot2 offset.1.out => stepgen.5.position-cmd
net elev-fb-in offset.0.fb-in <= stepgen.4.position-fb
net elev-fb-out offset.0.fb-out axis.4.motor-pos-fb
net rot-fb-in offset.1.fb-in <= stepgen.5.position-fb
net rot-fb-out offset.1.fb-out axis.5.motor-pos-fb
.....

Nothing has happened, of course I must change something...but I'm going in the 
right way??
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to