Marko Bukovinsky <bukovinsk...@...> writes:

> how to change this code into abosolute 0 - 10 Volt output?
...

Mark, 
Here is the abs statement from my m5i20_io.hal file, this might help you get the
wording right:

loadrt abs count=2
addf abs.0 servo-thread
net spindle-rpm-cmd motion.spindle-speed-out
newsig abs-spindle float
linkps abs.0.in <= spindle-rpm-cmd
linkps abs.0.out => abs-spindle 
linksp abs-spindle => m5i20.0.dac-03-value
setp m5i20.0.dac-03-offset 0
net SpindleOn motion.spindle-on
linksp SpindleOn => m5i20.0.dac-03-enable
setp m5i20.0.dac-03-gain [SPINDLE]DAC_SCALE

I don't think it was necessary to load 2 abs realtime components, but that is
what is in my file right now.
VFD note: I found that my Danfoss VFD 0-10V input impedance was too low for the
7i33 to drive into which was signaled by the fact that the measured values on
the frequency drive analog inputs were too low and responded sluggishly to
spindle speed changes from Emc2. I rigged up a simple unity gain voltage
follower based on an op amp, and routed the 0-10V analog output from the 7i33
through it, which fixed the problem pronto. 

Good luck!
Tom



------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to