Just an addendum. I do see that in the HAL file the motmod is running with 1mS servo period. loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS num_aio=8
So who or what is using the BASE PERIOD? > -----Original Message----- > From: John Dammeyer [mailto:jo...@autoartisans.com] > Sent: May 28, 2025 8:30 PM > To: Enhanced Machine Controller (EMC) > Subject: [Emc-users] Mill Spindle encoder with MESA interface. > > I've been asked how many lines an encoder on the spindle should have for > LinuxCNC. I have a disk I made with 60 slots and IIRC someone else on this > forum uses a gear tooth sensor. So a 400 or 600 line encoder isn't really > required but likely there is a point where extra lines don't make any > difference. > > Now with the MESA the encoder edges are counted in hardware so in reality > likely the MOTMOD grabs the number every period and uses that for the > trajectory planning with respect to power tapping. > > So here's the question. Are the encoder counts acquired from the MESA > hardware done on the BASE PERIOD or SERVO PERIOD? > > Normally you wouldn't be power tapping at 3000 RPM so at slower speeds > higher resolution might be useful but at which point is there a tradeoff? > > Thanks > John > > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users