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
5i24.ini
Description: Binary data
hm2-servo.hal
Description: Binary data
_______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users