Hi Guys, what's a realistic number of PPR for a lathe spindle encoder via a parallel port in EMC. Spindle is capable of 3500 rpm.
My home made encoder had 90, but I've altered the drive system and fitted a 1024 PPR encoder with index. Output is via differential line drivers. I've changed the scale factor but it starts loosing pulses at 600 rpm or so?? Here's what's in my ini file [EMCMOT] EMCMOT = motmod COMM_TIMEOUT = 1.0 COMM_WAIT = 0.010 BASE_PERIOD = 62500 SERVO_PERIOD = 1000000 Hal file reads setp encoder.0.position-scale 360.000000 net spindle-position encoder.0.position => motion.spindle-revs net spindle-velocity encoder.0.velocity => motion.spindle-speed-in net spindle-index-enable encoder.0.index-enable <=> motion.spindle-index-enable net spindle-phase-a encoder.0.phase-A net spindle-phase-b encoder.0.phase-B net spindle-index encoder.0.phase-Z Steve Blackmore -- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users