On Tue, Sep 09, 2008 at 09:47:38AM -0700, Atif Khalil wrote:
> Sir,
> How do I connect the spindle inverter with "MOTENC".My inverter operates
> with +/-10 Vdc.Kindly advice.
If you are using the 7525 termination board, you can find a summary of
connections in the manufacturer's datasheet:
http://www.vitalsystem.com/web/motion/um7525.pdf
Suppose you select channel 3 for your spindle output (connector J11).
In your hal configuration, you will connect emc's spindle command to
this DAC with a line like
net spindle-speed-cmd-rpm motion.spindle-speed-out => motenc.0.dac-00-value
and set the gain and offset so that a given command in RPM is scaled to
the correct voltage value
# (values shown are examples only)
setp motenc.0.dac-03-gain 3.14159
setp motenc.0.dac-03-offset 1.23456
I don't have a motenc card, so I cannot test these instructions. I
found this information by reading the emc documentation. Here are some
of the useful documentation links I referred to in composing this
response:
http://linuxcnc.org/docs/html/hal_drivers.html#r1_6
-- for the naming of the HAL pins of the motenc driver
http://linuxcnc.org/docs/html/man/man9/motion.9.html
-- for the naming of the spindle speed pin
Jeff
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users