Home Index 7i96s can't detect Signal

More
2 years 9 months ago #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,

 

Attachment not found



 

Attachment not found

Please Log in to join the conversation.

More
2 years 9 months ago #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.

Please Log in to join the conversation.

More
2 years 9 months ago #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

Please Log in to join the conversation.

More
2 years 9 months ago #291966 by tommylight
Servo tuning is wayyyy off, both axis are moving more than 1mm without correction from the controller, try adding more P.

Please Log in to join the conversation.

More
2 years 9 months ago #291984 by PCW
Is the index signal single ended or differential?

Please Log in to join the conversation.

More
2 years 9 months ago #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.

Please Log in to join the conversation.

More
2 years 9 months ago #292000 by abdulasis12

Is the index signal single ended or differential?
Hi MR.PCW
Differential encoder signal.  (from 26ls31 IC)
 

Please Log in to join the conversation.

More
2 years 9 months ago #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 to join the conversation.

More
2 years 9 months ago #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,

 

Attachment not found


 

Please Log in to join the conversation.

More
2 years 9 months ago #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

Please Log in to join the conversation.

Time to create page: 0.153 seconds
Powered by Kunena Forum