Hi,

   I have set up our machine with external Spindle override switch.
   Switch has 13 positions between 50-200%. There is no encoding, switch
   activates one input at a time. Switch is connected to Mesa 7i70
   card. Problem is that when this external switch is used spindle
   commanded speed starts bouncing. It calms down by using gmoccapy
   SOVR slide. What might cause this? I cannot reproduce this in
   simulation. Also I cannot figure this out. It is an open loop
   spindle. I have checked that halui.spindle-override.counts keeps
   steady it does not bounce.
   Video https://www.youtube.com/watch?v=Rcnlw9ZD9YA 
   and hal config:

setp halui.spindle-override.direct-value 1
setp halui.spindle-override.scale 0.1
setp halui.spindle-override.count-enable 1
setp wsum.0.bit.0.weight 5
setp wsum.0.bit.1.weight 7
setp wsum.0.bit.2.weight 8
setp wsum.0.bit.3.weight 9
setp wsum.0.bit.4.weight 10
setp wsum.0.bit.5.weight 11
setp wsum.0.bit.6.weight 12
setp wsum.0.bit.7.weight 13
setp wsum.0.bit.8.weight 14
setp wsum.0.bit.9.weight 15
setp wsum.0.bit.10.weight 16
setp wsum.0.bit.11.weight 18
setp wsum.0.bit.12.weight 20
net bit0-spindle wsum.0.bit.0.in <= hm2_5i25.0.7i70.1.4.input-10
net bit1-spindle wsum.0.bit.1.in <= hm2_5i25.0.7i70.1.4.input-11
net bit2-spindle wsum.0.bit.2.in <= hm2_5i25.0.7i70.1.4.input-12
net bit3-spindle wsum.0.bit.3.in <= hm2_5i25.0.7i70.1.4.input-13
net bit4-spindle wsum.0.bit.4.in <= hm2_5i25.0.7i70.1.4.input-14
net bit5-spindle wsum.0.bit.5.in <= hm2_5i25.0.7i70.1.4.input-15
net bit6-spindle wsum.0.bit.6.in <= hm2_5i25.0.7i70.1.4.input-16
net bit7-spindle wsum.0.bit.7.in <= hm2_5i25.0.7i70.1.4.input-17
net bit8-spindle wsum.0.bit.8.in <= hm2_5i25.0.7i70.1.4.input-18
net bit9-spindle wsum.0.bit.9.in <= hm2_5i25.0.7i70.1.4.input-19
net bit10-spindle wsum.0.bit.10.in <= hm2_5i25.0.7i70.1.4.input-20
net bit11-spindle wsum.0.bit.11.in <= hm2_5i25.0.7i70.1.4.input-21
net bit12-spindle wsum.0.bit.12.in <= hm2_5i25.0.7i70.1.4.input-22
net spindle-ov-out halui.spindle-override.counts wsum.0.sum




-- 
Tero Kaarlela 
Production Engineer
Eka-Sorvaus OY
Nivala
Finland
mob +358 40 5906764
http://www.eka-sorvaus.fi

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to