On Sun, 2009-04-12 at 21:40 -0400, Cal Grandy wrote:
> Can anyone direct me to information about reading and display quad.
> encoder output?  Several hours searching wiki etc. and I am less than
> enlightened.
> 
> DataTorque SM15 encoders.
> 
> TIA
> 
> Cal in VT

If you are using a PC parallel port for your encoder, this should get
you started:
http://www.linuxcnc.org/docview/html//man/man9/encoder.9.html

or it might give you some insight as to how other input options may
work.

I looked at the datasheet for your encoder:
http://www.cmccontrols.com/downloads/incremental_encoders/sm15.pdf 
http://www.cmccontrols.com/incremental_encoder_sm15.asp

Page two shows what the quadrature signals look like. Normally you would
deal with what is shown as A, B and Z in the Output Signals chart or
shown in the "Cable Color Code: Standard". You will need to assign
parallel port pins to the HAL encoder "pins" described in the man(ual)
document above. Then wire the encoder A, B and Z to the corresponding
parallel port pins. If you want to use the "Cable Color Code:
Differential Line Driver" option, you will need to to convert the A, A/,
B, B/, Z and Z/ to A, B and Z at the parallel port end with something
like:
http://focus.ti.com/lit/ds/slls111b/slls111b.pdf 

The HAL encoder module will decode and pass the count information to its
output "pins", which are usually connected to the axis and pid
modules(?). A sample configuration is here:
http://cvs.linuxcnc.org/lxr/source/configs/etch-servo/etch.hal

-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to