Homing STG



Has anyone been able to home a STG axis using a home switch and an encoder
index pulse?

I understand that Paul has made some modifications to the  relevant code,
but I still haven't been able to get this to work.

I am using the BDI 2-12 and have recently updated the latest sources from
the SourceForge site using:

cvs -d:pserver:anonymous-at-cvs.EMC.sourceforge.net:/cvsroot/emc login
cvs -z3 -d:pserver:anonymous-at-cvs.EMC.sourceforge.net:/cvsroot/emc co emc
cvs -z3 -d:pserver:anonymous-at-cvs.EMC.sourceforge.net:/cvsroot/emc co rcslib

I have the following setup:
a STG model 2, 4 axis card.
EMCMOT= 	stg2mod.o
An encoder that is directly coupled to my motor with A B Z channels wired
correctly to the STG board.
I scope the encoder pulses and there is definitely a 5V pulse every rev of
the encoder.
My setup is tuned and working.
If I recompile with the  # define NO_INDEX_PULSE uncommented in extstgmot.c,
I can home off the home switch only.

Any advice?

Kurtis





Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact