Hello group!

I have set up a retrofit 3 axis milling machine with mesa 5i20+7i33+2x7i37
The 3 axes are configured, tuned and works great.
Now I want to use the fourth channel on the 7i33 to drive my freq inv. spindle
I need a spindle enable signal and a 0-10v signal.
In the wiki I found "Analog spindle speed control" using Mesa 5i20, but this is 
old stuff
not using HM2 driver, and it looks like this:

# Set up spindle speed
net SpindleOn motion.spindle-on
net spindle-rpm-cmd motion.spindle-speed-out
setp m5i20.0.dac-03-gain [SPINDLE]DAC_SCALE
linksp SpindleOn => m5i20.0.dac-03-enable
linksp spindle-rpm-cmd => m5i20.0.dac-03-value
setp m5i20.0.dac-03-offset 80

Can somebody help me to put together the right hal code to work with HM2?
I have searched the wiki and forums, but cant find it anywhere.

Best Regards!
Lars Levin

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to