I'm very new to EMC2 myself and am struggling to get the index for the spindle working correctly. I noticed the m5i20 motion hal file has the index setup commented out. I tried un-commenting them last night and I get the same error as when I tried to enable the index on my spindle. I think the root of the problem is that the axis index enable is bidirectional and the m5i20 index enable is unidirectional. John Kasunich replied to my question and said to use m5i20.0.enc-##-latch-index because it was bidirectional. I tried it and my lathe ran the thread cutting routine but it fed the same speed with spindle running slow or fast.
I guess the bottom line is that index doesn't work with m5i20 board for right now. Index setup commented out at end of m5i20_motion.hal file: # Connect index pulses to motion controller. # This has been commented out pending changes to the # driver to work with the canonical encoder interface #newsig Xindex bit #newsig Yindex bit #newsig Zindex bit #linksp Xindex <= m5i20.0.enc-00-index #linksp Xindex => axis.0.index-enable #linksp Yindex <= m5i20.0.enc-01-index #linksp Yindex => axis.1.index-enable #linksp Zindex <= m5i20.0.enc-02-index #linksp Zindex => axis.2.index-enable ----- Original Message ----- From: "Richard Arthur" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, June 21, 2007 9:20 AM Subject: [Emc-users] m5i20 Homing with index > Why doesn't homing complete at the index pulse shown here: > > http://imagebin.org/9073 > > (Homing with HOME_USE_INDEX = FALSE works okay) > > EMC 2.1.6 >>From m5i20.ini: > > [AXIS_0] > > TYPE = LINEAR > HOME = 0.0 > MAX_VELOCITY = 4.0 > MAX_ACCELERATION = 20.0 > BACKLASH = 0.000 > INPUT_SCALE = 20000 > OUTPUT_SCALE = 1 > OUTPUT_OFFSET = 0 > MIN_LIMIT = -32.0 > MAX_LIMIT = 20.0 > FERROR = 0.02 > MIN_FERROR = 0.02 > HOME_OFFSET = 0.0 > HOME_SEARCH_VEL = 0.1 > HOME_LATCH_VEL = 0.067 > HOME_USE_INDEX = TRUE > HOME_IGNORE_LIMITS = YES > MAX_OUTPUT = 10 > # PID tuning params > DEADBAND = 0.000015 > P = 200 > I = 0 > D = 0 > FF0 = 0 > FF1 = 1 > BIAS = 0 > > Thank you, > > Richard > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
