Home Index 7i96s can't detect Signal

More
24 Jan 2024 04:38 #291485 by abdulasis12
Hi
I use 7i96s for Lathe
I use encoder for X-Axis feedback control.
A,B phase encoder run good and can feedback control.
then I change in ini file  change to  HOME_USE_INDEX = YES  , for use home index with Z-phase encoder.
I click home Z use mechanic home switch its work good.
I click home X use index home when x axis touch home switch will back off but it's not stop it's keep walking.(before change to index home i use home switch good work.).

I try use osihoscope check Z phase , scope can detect 1 pulse every 1turn motor.
I try open Hal scope in linuxcnc open signal   hm2_7i96s.0.encoder.00.index-enable  I run x axis and observed but no any change.

please help what i'm setup wrong in hal or ini file please.

Thank you 
Asis,

 

 
Attachments:

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

More
24 Jan 2024 05:16 - 24 Jan 2024 05:17 #291487 by PCW
In general its not likely that you can detect the index signal with halscope
since it only samples the hal pin at 1 KHz and the index pulse will tend to
be much shorter.

The way to test index is to  (with halcmd -kf):

halcmd: sets x-index-enable

Then monitor x-index-enable (with halmeter or halshow)
to see if it gets cleared at the Index position of the encoder
when the encoder shaft is rotated slowly.
Last edit: 24 Jan 2024 05:17 by PCW.
The following user(s) said Thank You: abdulasis12

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

More
30 Jan 2024 08:39 - 30 Jan 2024 08:39 #291963 by abdulasis12
Hi MR.PCW
I Try open X-index-enable on hallshow
all setting in .hall and .ini same in first file
seem x-index-enable change status from red to yellow after touch home switch and back off in second.
But Servo X axis not stop just go away.
Please see in clip.
youtube.com/shorts/DYzESCKYgpI?feature=share
Last edit: 30 Jan 2024 08:39 by abdulasis12.

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

More
30 Jan 2024 10:02 #291966 by tommylight
Servo tuning is wayyyy off, both axis are moving more than 1mm without correction from the controller, try adding more P.
The following user(s) said Thank You: abdulasis12

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

More
30 Jan 2024 14:51 #291984 by PCW
Is the index signal single ended or differential?
The following user(s) said Thank You: abdulasis12

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

More
30 Jan 2024 18:17 #291999 by abdulasis12

Servo tuning is wayyyy off, both axis are moving more than 1mm without correction from the controller, try adding more P.

Tomorow I will try it
Thank you MR. Tommylight.
The following user(s) said Thank You: tommylight

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

More
30 Jan 2024 18:18 #292000 by abdulasis12

Is the index signal single ended or differential?

Hi MR.PCW
Differential encoder signal.  (from 26ls31 IC)
 

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

More
30 Jan 2024 18:45 #292001 by PCW
Can you temporarily disconnect the encoder, jumper index for single ended,(W1 left)
and see if grounding the index+ input changes the state of the index pin in hal?

Also can you read the firmware pinout?

mesaflash --device 7i96s --addr [ip-address] --readhmid > pinout.txt

and post pinout.txt here

[ip-address] is 192.168.1.121 or 10.10.10.10 depending on 7I96S address jumpering

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

More
31 Jan 2024 03:54 #292041 by abdulasis12

Can you temporarily disconnect the encoder, jumper index for single ended,(W1 left)
and see if grounding the index+ input changes the state of the index pin in hal?

Also can you read the firmware pinout?

mesaflash --device 7i96s --addr [ip-address] --readhmid > pinout.txt

and post pinout.txt here

[ip-address] is 192.168.1.121 or 10.10.10.10 depending on 7I96S address jumpering

Hi MR.PCW
You mean for I try to change signal of index encoder from differential to singlw end right ?
I check in manual , explanded about W1,W2,W3
W1 = A
W2 = B
W3 = Index
please make sure for me again change W1 or W3 to left ?

Thank you
Asis,

 
 
Attachments:

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

More
31 Jan 2024 04:07 - 31 Jan 2024 04:09 #292042 by abdulasis12
this pinout.txt
and I try
 - W1 to left and try home with index   result : same old
- W3 to left can't stop Jog and I think W3 is A encoder now I chnage back to Right position
Attachments:
Last edit: 31 Jan 2024 04:09 by abdulasis12.

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

Time to create page: 0.160 seconds
Powered by Kunena Forum