Incremental Encoder MMS

More
23 May 2021 11:46 - 23 May 2021 11:47 #209895 by DC67
Incremental Encoder MMS was created by DC67
Hello
I installed an incremental Encoder for an MMS. After connecting it to the encoder of the MESA7i76e, I was able to call it up in the HAL show, but it doesn't count correctly. What do i have to change? see pictures + video

https://ibb.co/R3qc31r
https://ibb.co/CMSy7H9
Last edit: 23 May 2021 11:47 by DC67.

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

More
23 May 2021 13:05 #209903 by PCW
Replied by PCW on topic Incremental Encoder MMS
You have the encoder mis-wired, looks like
A --> A
/A --> B
The following user(s) said Thank You: DC67

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

More
23 May 2021 13:36 #209905 by DC67
Replied by DC67 on topic Incremental Encoder MMS
Ok i will check this out

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

More
23 May 2021 16:08 #209918 by DC67
Replied by DC67 on topic Incremental Encoder MMS
I couldn't find any fault now. Cabling from encoder to Mesa looks like this (pictures)

Attachments:

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

More
23 May 2021 17:37 #209925 by PCW
Replied by PCW on topic Incremental Encoder MMS
Isn't pin D supposed to be the common?

Also make sure the7I76E encoder inputs are jumpered for single ended (TTL) mode

No pullup resistors are needed in single ended mode (they are built into the 7I76E)
The following user(s) said Thank You: DC67

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

More
23 May 2021 17:55 - 23 May 2021 17:56 #209931 by DC67
Replied by DC67 on topic Incremental Encoder MMS
this is the circuit diagram. did i make a mistake here?
Attachments:
Last edit: 23 May 2021 17:56 by DC67.

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

More
23 May 2021 18:12 #209932 by PCW
Replied by PCW on topic Incremental Encoder MMS
Yes as I read it, terminal D should be the ground

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

More
23 May 2021 18:22 #209934 by DC67
Replied by DC67 on topic Incremental Encoder MMS
sorry i had overlooked that when drawing in the cable that the blue cable in the photo from the MESA (ground) is connected to pin D.

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

More
23 May 2021 18:26 #209937 by PCW
Replied by PCW on topic Incremental Encoder MMS
OK so is the 7I76E encoder jumpered for TTL mode?

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

More
23 May 2021 19:13 #209942 by DC67
Replied by DC67 on topic Incremental Encoder MMS
I have now removed the resistors that I would not have needed at all, as I found out, the jumpers were already on TTL. Then I turned the rotary encoder again only in one direction (to the right). You can see that it counts from 0 to -1 and then +1 in the video. He then always repeats the whole thing.

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

Time to create page: 0.318 seconds
Powered by Kunena Forum