So it ended up with getting a new 7i33 board as I only need 4 encoder inputs. Will the same firmware for 5i24 work (IIRC it has 5i24_16_svss6_8.bit) or do I have to change something? Now there is 7i48 on one port, 7i37 on second port and 7i44 on third port.
Viesturs trešd., 2024. g. 28. aug., plkst. 16:47 — lietotājs Peter Wallace (<p...@mesanet.com>) rakstīja: > > On Wed, 28 Aug 2024, Viesturs L?cis wrote: > > > Date: Wed, 28 Aug 2024 13:56:09 +0300 > > From: "[UTF-8] Viesturs L?cis" <viesturs.la...@gmail.com> > > Reply-To: "Enhanced Machine Controller (EMC)" > > <emc-users@lists.sourceforge.net> > > To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net> > > Subject: [Emc-users] Encoder inputs on 7i48 not working > > > > Hello! > > > > I have lately been posting questions that arise as I am doing > > retrofits of two Biesse cnc machines. Mesa card setup is identical - > > 5i24 boards accompanied with 7i48 for encoder reading and analog > > voltage for Yaskawa servodrives (analog signal only for those that are > > working, encoder reading for all of them) and 7i37 for i/o that is > > inside control cabinet and 7i44 for 8i20 drives and 7i70/7i71 for i/o > > that is on the machine frame. > > > > This time the issue is with encoder signal reading. First machine was > > all fine - I just connected to 7i48 the cable that was originally used > > to feed encoder position from servo drives to cnc controls. Encoder > > output from all 3 drives is correctly counted by 7i48. > > I have a problem with second machine - encoder pulses from Y axis > > drive do not reflect in encoder.01.rawcounts value. I have spent last > > 3 days trying to figure it out (X, Z and C axis encoder values are > > read correctly and all is good). I was checking the voltages of servo > > drive output pins and also cables. Somehow figured out that I should > > swap cables between X and Y servo drives - problem moved with the > > cable - so ok, servodrive output is good. Started testing all the > > leads with multimeter for continuity and if they are shorted to any > > other of the leads. No good. Resoldered all the connection points to > > make sure that there are no cold joints, even soldered the cable right > > onto servodrive connector pins. Nothing helped. This morning I somehow > > thought of swapping the cables on 7i48 board and voilaaa - the same > > cable on encoder.00 input is good, but on encoder.01 input does not > > change rawcounts value. So I have ended up with this: > > Moving the plug across all encoder inputs on 7i48 board shows that > > encoder.00, encoder.02 and encoder.03 are good, while encoder.01, > > encoder.04 and encoder.05 do not change rawcounts value as the motor > > is moved (by hand). > > > > What am I missing here? > > I have CONFIG="num_encoders=6 num_pwmgens=6 num_stepgens=0" in INI file. > > And for all encoder modules I have these lines: > > > > setp hm2_[HOSTMOT2](BOARD).0.encoder.01.counter-mode 0 > > setp hm2_[HOSTMOT2](BOARD).0.encoder.01.filter 1 > > setp hm2_[HOSTMOT2](BOARD).0.encoder.01.index-invert 0 > > setp hm2_[HOSTMOT2](BOARD).0.encoder.01.index-mask 0 > > setp hm2_[HOSTMOT2](BOARD).0.encoder.01.index-mask-invert 0 > > > > I have attached INI and HAL files > > > > Viesturs > > > > > I would check > > 50 pin cables > > 5I24s > > 7I48s > > Any of the above could be bad > Make sure that all power is off > whan changing cables > > > Peter Wallace > Mesa Electronics > > > _______________________________________________ > 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