I just ran another test with the pid index-enable disconnected for that axis, and the halscope trace looks exactly the same as it does when it is connected. Is there something wrong with that pin in the pid component or is this a symptom of my ordering problem?
----- Original Message ----- From: "Todd Zuercher" <zuerc...@embarqmail.com> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> Sent: Friday, June 23, 2017 1:20:26 PM Subject: Re: [Emc-users] following error only while homing That is what I've suspected but I can't figure out what I have out of place. I did another screen shot with the position-cmd zoomed in as much as I could and keep it on the screen. It seems that the index enable falls, and the encoder position is reset,then the PID gets whacked for one servo period, then the position-cmd is reset. I have the PID index-enable pin connected, but I not sure it is actually doing anything. Here are my addf orders: addf hm2_5i25.0.read base-thread addf pid.x_vel.do-pid-calcs base-thread addf pid.y_vel.do-pid-calcs base-thread addf pid.z_vel.do-pid-calcs base-thread addf pid.w_vel.do-pid-calcs base-thread addf hm2_5i25.0.write base-thread addf motion-command-handler servo-thread addf motion-controller servo-thread addf sum2.0 servo-thread addf offset.0.update-output servo-thread addf offset.0.update-feedback servo-thread addf mux2.0 servo-thread addf mux2.1 servo-thread addf pid.x_pos.do-pid-calcs servo-thread addf pid.y_pos.do-pid-calcs servo-thread addf pid.z_pos.do-pid-calcs servo-thread addf pid.w_pos.do-pid-calcs servo-thread #addf hm2_5i25.0.pet_watchdog servo-thread addf and2.0 servo-thread ----- Original Message ----- From: "Peter C. Wallace" <p...@mesanet.com> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> Sent: Friday, June 23, 2017 11:55:58 AM Subject: Re: [Emc-users] following error only while homing On Fri, 23 Jun 2017, Todd Zuercher wrote: > Date: Fri, 23 Jun 2017 11:21:15 -0400 (EDT) > From: Todd Zuercher <zuerc...@embarqmail.com> > Reply-To: "Enhanced Machine Controller (EMC)" > <emc-users@lists.sourceforge.net> > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > Subject: Re: [Emc-users] following error only while homing > > Here are links to a halscope screen shot and log file for my servo machine > that keeps setting following errors on first try homing. > > homing-error.png: > https://drive.google.com/open?id=0B6U6HVQUOa1fZndtbzVRU1dpOW8 > halscope-homing.log: > https://drive.google.com/open?id=0B6U6HVQUOa1fbmk5S1dKaFBoWWc > Because the scale of the position command is so huge its hard to tell whats going on but the ferror size matches the encoder step size at index, This (and the one cycle ferror duration) suggests that there is a thread/operation order issue of some kind in the hal file. Peter Wallace Mesa Electronics ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users