Troubles to get started with SD240 Retrofit
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 19129
- Thank you received: 5282
05 Sep 2025 20:44 #334516
by PCW
Replied by PCW on topic Troubles to get started with SD240 Retrofit
No, the actual index pin is not typically used by LinuxCNC
What interface card are you using for the encoder interface?
Is the encoder single ended or differential?
Is the interface card jumpered to match the encoder type?
Another way to check the low level hardware is to set the index input to
single ended mode, and then watch hm2_7i80.0.encoder.00.input-index
in halshow as you ground the index input on the interface card.
hm2_7i80.0.encoder.00.input-index should change state when you ground
the +index input pin
(with the encoder unplugged of course)
What interface card are you using for the encoder interface?
Is the encoder single ended or differential?
Is the interface card jumpered to match the encoder type?
Another way to check the low level hardware is to set the index input to
single ended mode, and then watch hm2_7i80.0.encoder.00.input-index
in halshow as you ground the index input on the interface card.
hm2_7i80.0.encoder.00.input-index should change state when you ground
the +index input pin
(with the encoder unplugged of course)
Please Log in or Create an account to join the conversation.
- ziggi
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 0
06 Sep 2025 08:10 #334537
by ziggi
Replied by ziggi on topic Troubles to get started with SD240 Retrofit
I´m using a Mesa 7i33 for the encoders and pwms. The encoders are Fanuc, so there is very little info to get on the specs of the encoders. All I know is they are TTL and 2000i/rev
All I have additionally is the schematics of the control where the encoder connection can be seen:
As it shows inverted channels I think they are differential types
And yes, the 7i33 is jumperd to TTL (Jumpers DOWN)
All I have additionally is the schematics of the control where the encoder connection can be seen:
As it shows inverted channels I think they are differential types
And yes, the 7i33 is jumperd to TTL (Jumpers DOWN)
Attachments:
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 19129
- Thank you received: 5282
06 Sep 2025 15:34 #334553
by PCW
Replied by PCW on topic Troubles to get started with SD240 Retrofit
That brings up a couple questions?
1. if the encoders have differential outputs, why in the 7I33 jumpered for single-ended (TTL) inputs
2. Leaving the TTL option enabled, can you check that grounding the INDEX+ input (encoder disconnected)
changes the state of the hal index pin (hm2_7i80.0.encoder.00.input-index for X)
1. if the encoders have differential outputs, why in the 7I33 jumpered for single-ended (TTL) inputs
2. Leaving the TTL option enabled, can you check that grounding the INDEX+ input (encoder disconnected)
changes the state of the hal index pin (hm2_7i80.0.encoder.00.input-index for X)
Please Log in or Create an account to join the conversation.
- ziggi
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 0
06 Sep 2025 19:42 #334560
by ziggi
Replied by ziggi on topic Troubles to get started with SD240 Retrofit
1. if the encoders have differential outputs, why in the 7I33 jumpered for single-ended (TTL) inputs
Answer: because I was told so - I am really not ecperienced in these things and asked how to get the motors working and showed the schematics to experienced guys- and I was told how to wire the encoders and how to jumper the 7i33.2. Leaving the TTL option enabled, can you check that grounding the INDEX+ input (encoder disconnected)
changes the state of the hal index pin (hm2_7i80.0.encoder.00.input-index for X)
...ok, I will check this with disconnected encoder and report.
Thank you
Sigi
Answer: because I was told so - I am really not ecperienced in these things and asked how to get the motors working and showed the schematics to experienced guys- and I was told how to wire the encoders and how to jumper the 7i33.2. Leaving the TTL option enabled, can you check that grounding the INDEX+ input (encoder disconnected)
changes the state of the hal index pin (hm2_7i80.0.encoder.00.input-index for X)
...ok, I will check this with disconnected encoder and report.
Thank you
Sigi
Please Log in or Create an account to join the conversation.
- ziggi
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 0
06 Sep 2025 20:01 - 06 Sep 2025 20:12 #334561
by ziggi
Replied by ziggi on topic Troubles to get started with SD240 Retrofit
INDEX+ input (encoder disconnected)
changes the state of the hal index pin (hm2_7i80.0.encoder.00.input-index for X)
No it does not change in HAL-Show, it stays high (yellow) even if I short ENCX0 with GND (PIN on the 7i33)
And Sorry, I mixed it up- the jumpers W1-W4 are set to UP position so TTL/RS-422 sorry!
changes the state of the hal index pin (hm2_7i80.0.encoder.00.input-index for X)
No it does not change in HAL-Show, it stays high (yellow) even if I short ENCX0 with GND (PIN on the 7i33)
And Sorry, I mixed it up- the jumpers W1-W4 are set to UP position so TTL/RS-422 sorry!
Last edit: 06 Sep 2025 20:12 by ziggi.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 19129
- Thank you received: 5282
06 Sep 2025 21:22 #334563
by PCW
Replied by PCW on topic Troubles to get started with SD240 Retrofit
INDEX+ input (encoder disconnected)
changes the state of the hal index pin (hm2_7i80.0.encoder.00.input-index for X)
No it does not change in HAL-Show, it stays high (yellow) even if I short ENCX0 with GND (PIN on the 7i33)
Not sure what you mean here, to me you seem to be saying hm2_7i80.0.encoder.00.input-index changes
when you ground the INDEX+ pin but then it does not change.
changes the state of the hal index pin (hm2_7i80.0.encoder.00.input-index for X)
No it does not change in HAL-Show, it stays high (yellow) even if I short ENCX0 with GND (PIN on the 7i33)
Not sure what you mean here, to me you seem to be saying hm2_7i80.0.encoder.00.input-index changes
when you ground the INDEX+ pin but then it does not change.
Please Log in or Create an account to join the conversation.
- ziggi
-
Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 42
- Thank you received: 0
06 Sep 2025 21:53 - 06 Sep 2025 21:55 #334567
by ziggi
Replied by ziggi on topic Troubles to get started with SD240 Retrofit
This was just a copy of your questions- sorry, the "2" is missing in my copy and below I wrote the answer to the question you asked.
2. Leaving the TTL option enabled, can you check that grounding the INDEX+ input (encoder disconnected)
changes the state of the hal index pin (hm2_7i80.0.encoder.00.input-index for X)
Last edit: 06 Sep 2025 21:55 by ziggi.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 19129
- Thank you received: 5282
06 Sep 2025 21:58 - 06 Sep 2025 21:59 #334568
by PCW
Replied by PCW on topic Troubles to get started with SD240 Retrofit
OK that indicates either a problem with the 7I33, the connecting cable, the FPGA card
or the firmware.
Note that this test will only work if the 7I33 is jumpered for TTL encoder mode.
or the firmware.
Note that this test will only work if the 7I33 is jumpered for TTL encoder mode.
Last edit: 06 Sep 2025 21:59 by PCW.
Please Log in or Create an account to join the conversation.
Moderators: piasdom
Time to create page: 0.117 seconds