Encoder Wiring on Mesa 7i77 board

More
10 years 1 month ago #80064 by jwsigler
I am progressing on my retrofit, but have hit a stumbling block on getting my encoders to work. The system is a Tree Journeyman 325 which I am retrofitting using a Mesa 5i25/7i77 setup. I can get the servos to react through Linuxcnc and move the table a little, but I instantly get a following error and the DRO does not show any movement of the axis. My guess is that I do not have the encoders wired up correctly even though I wired the encoders exactly how they were previously wired, which may be the problem.
Following is a schematic of the encoder wiring from the original mill setup.



As can be seen, the Negative Marker wire was not hooked up on the original mill system so I did not hook it up on the new system. I assume it would correspond to /IDX0 on the Mesa 7i77 board and maybe it does need to be wired in. I also noticed that some of the wiring pairs have resistors across them. I left these alone, but maybe I should have removed them. My next step is to use a voltmeter to test some of the wiring pairs as describe in one of the other forum posts, but if anyone can tell me whether I need to hook up the Negative Marker wire and whether I should remove the resistors across the wiring pairs as shown in the old schematic, that would be appreciated.

Thanks.

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #80084 by emcPT
Hello,

Best test is to move the motor and see if the encoder changes position (DRO changes position) with the machine down but the encoders and mesa board powered.

Why do you say that they have resistors? It looks the shielding representation. The marker should be the index, and you can connect the NOT INDEX also.

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #80109 by jwsigler
I do not know why, but there are resistors across some of the wiring pairs. It may not show in the schematic, but as can be seen in the following photo, there are resistors between 430 and 437, 432 and 437, and 435 and 437.



There are similar resistor pairs on all three sets of axis encoder wiring. I am hesitant about removing things like this because there must have been some reason for them in the first place. I had diodes mounted across all the coil terminals on my relays and eventually I found out that those were required as flyback diodes. Luckily I read about flyback diodes and knew not to remove them. I do not know if these resistors are something similar and that there should be resistors across all these pairings. Apparently each of these resistors ties the A channel, B channel, and the Marker (index) channel to the positive 5Vdc. I am hoping someone skilled in electronics can tell me if these are necessary, adn if not, would they be a reason why my 7i77 board does not appear to see any of the encoders. Of course these were required for the old Dynapath controller to work. I just do not know if they are required for a Mesa 7i77 to read my encoders.

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #80116 by emcPT
It seams that the resistors are also pull ups? Are they not all connected to 5VDC?
They are probably more a "request" from your encoder rather than the controller. You can safely test with or without them on the 7i77.

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #80168 by andypugh
Just to say: Having the index not wired correctly would only ever matter if you chose to use encoder index homing. It is not used at any other time.

(You should use encoder index homing, it makes your home positions as accurate as possible)

Please Log in or Create an account to join the conversation.

More
10 years 1 month ago #80178 by tommylight
Just had a look at it, they are pull up resistors. That must be due to encoders having "open collector" outputs.
For info on should you use them or remove them, that would be better answered from someone else, as i am not sure if the 7i77 board has them or not. I am sure it will work with them on, even if the 7i77 has them.

Please Log in or Create an account to join the conversation.

Moderators: PCW, jmelson
Time to create page: 0.156 seconds
Powered by Kunena Forum