7i77 TTL encoder

More
04 Sep 2024 09:32 #309344 by abdulasis12
7i77 TTL encoder was created by abdulasis12
Hi
I use 7i77 for feedback control with encoder motor signal succesfully
Now I try use feedback with linear scale for Y axis
I wiring  TTL signal from linear scale A signal, B signal to Encoder 03 slot (TB4 terminal)
I can open Gmoccapy but when JOG DRO of Y axis not change i think problem from linear scale

I have question ,TTL can work with 7i77 ?


 
Attachments:

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

More
04 Sep 2024 12:06 #309351 by tommylight
Replied by tommylight on topic 7i77 TTL encoder
TTL should work with Mesa 7i77, so check the hal file and make sure Y axis is using encoder.03.
Also, just in case, encoder.03 is the 4'th encoder connector on Mesa, the enumeration starts from 00.
The following user(s) said Thank You: abdulasis12

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

More
04 Sep 2024 12:31 #309353 by andypugh
Replied by andypugh on topic 7i77 TTL encoder
Use halmeter or halshow to check the encoder counts at the output of the Mesa driver.

hm2_7i77.0.encoder.03.counts is probably the pin to check.
The following user(s) said Thank You: abdulasis12

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

More
04 Sep 2024 13:37 #309357 by PCW
Replied by PCW on topic 7i77 TTL encoder
You also need to make sure that the 7I77 encoder inputs are jumpered for TTL mode.
For encoder 03, this means jumpers W18,W20,W22 must be in the left hand position.
(default is differential mode = right hand position)
The following user(s) said Thank You: abdulasis12

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

More
04 Sep 2024 16:54 - 04 Sep 2024 16:55 #309371 by abdulasis12
Replied by abdulasis12 on topic 7i77 TTL encoder
Thank you for fast respond.
Yes I use Encoder.03 I think correct (Thank you for confirm me MR.tommylight)

Thank you for advice MR.andypugh  , Tomorow I will try your solution

Ah.... I'm not sure about Jumper W18 W20 W22 Tomorow will let's check again Thank you MR.PCW

I have second before morning , Possible for..... cable of Linear scale long ... about 5 meter and voltage from terminal Pin6 of TB4  +5V drop  and can't detect signal from linear scale (I use it's for power to linear scale) ?

Thank you,
Asis .

 
Attachments:
Last edit: 04 Sep 2024 16:55 by abdulasis12.

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

More
05 Sep 2024 02:33 #309389 by abdulasis12
Replied by abdulasis12 on topic 7i77 TTL encoder
Good morning
I recheck wiring and jumper.
Now I change jumper from right to left for A and B encoder done.

Now working,

super thanks everyone DEV.
Asis,

 
Attachments:

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

More
05 Sep 2024 02:42 #309390 by tommylight
Replied by tommylight on topic 7i77 TTL encoder
That will be "single ended" encoder or glass scales, usually 4 wires for A,B and power, or 5 wires if they have index.
7i77 is factory set for "differential" mode, meaning each signal has two wires and two for power, so usually 8 or 10 wires, although all i have worked with are 10 wire type.
The following user(s) said Thank You: abdulasis12

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

More
05 Sep 2024 13:36 #309408 by abdulasis12
Replied by abdulasis12 on topic 7i77 TTL encoder
Hi Tommy
I have last question
First time i use stepgen from 7i96s and use encoder feedback from encoder motor 2,500 ppr
my ball screw is pitch 5mm
encoder is differential  = 2500*4 = 10000 /rev
1mm = 10000/5 = 2000 encoder scale   
ENCODER_SCALE = 2000


Now  i use glass scale is "single ended" right ?
my scale resolution is 5micron   then 1mm = 1000/5 = 200 ppr

I have question...
How Multiplier for of ppr Glass scale(200ppr / mm.)   *2 or *4  or *1   ENCODER_SCALE = ??
because it's "single ended" I don't know *1 *2 or *4

Thank you,
Asis
 

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

More
05 Sep 2024 17:13 #309438 by tommylight
Replied by tommylight on topic 7i77 TTL encoder
Not sure, so i can not reply, sorry.
One thing though, "differential" and "single ended" are terms used for wiring of signals where single ended is one wire per signal and differential is 2 wires per signal.
It has nothing to do with "encoder or glass scales", both can have both types of wiring.
The following user(s) said Thank You: abdulasis12

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

More
05 Sep 2024 17:54 #309441 by PCW
Replied by PCW on topic 7i77 TTL encoder
The single ended vs differential option is only an electrical interface setting
Its not related to the count scaling at all.

Normally you use 4X quadrature which means you get 4X the number of counts
as the number of lines. That is if the scale has 200 lines per mm, the scale would
be set for 800 (counts per mm)
The following user(s) said Thank You: abdulasis12

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

Time to create page: 0.120 seconds
Powered by Kunena Forum