how to get Mesa THC values
- echesortux
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 46
- Thank you received: 1
07 Nov 2016 17:26 #82555
by echesortux
Replied by echesortux on topic how to get Mesa THC values
Thanks John.
Please Log in or Create an account to join the conversation.
07 Nov 2016 20:30 #82564
by rodw
The manual will tell you to look for a sticker on the back of the THCAD card. I forgot to write it down before mounting the card too so when I pull the card up I am going to make my own sticker and attach it beside the THCAD in the enclosure.
Replied by rodw on topic how to get Mesa THC values
The THCAD manual tells you where to get the scale offset number, it's different for each card a bit I think.
JT
The manual will tell you to look for a sticker on the back of the THCAD card. I forgot to write it down before mounting the card too so when I pull the card up I am going to make my own sticker and attach it beside the THCAD in the enclosure.
Please Log in or Create an account to join the conversation.
- alex.statie
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 1
16 Mar 2020 16:48 #160443
by alex.statie
Replied by alex.statie on topic how to get Mesa THC values
Hello everyone!
Having a bit of trouble with configuring the THCAD + 7i77.
Did the exact connections as in this thread (fout +- to enca+-) and 5v+- to the encoder's 5v+- on the 7i77.
I was expected to connect a power source to the THCAD input and see some output for the encoders's velocity.
Linked a variable input source to the THCAD 10, fed 2-3V to the THCAD and nothing happens. Velocity is 0, although the Encoder channel A appears as true.
Is there any other config that is missing? I've added the following lines in the machine_connections.hal:
setp hm2_5i25.0.encoder.03.counter-mode 1
setp hm2_5i25.0.encoder.01.scale -1
I know the scale is missing, however i don't understand why an output is not shown.
Could it have to do that the 7i77 gets the power from the 5i25 and has no external power supply? Although that does not seem to be a problem...
Should the encoder jumper be set for single ended or differential?
Am i missing anything? Do i need to add any other config? Can you please point me to a tutorial?
Already checked the forum and boards' documentation, did not really find an answer.
Thank you!!
Having a bit of trouble with configuring the THCAD + 7i77.
Did the exact connections as in this thread (fout +- to enca+-) and 5v+- to the encoder's 5v+- on the 7i77.
I was expected to connect a power source to the THCAD input and see some output for the encoders's velocity.
Linked a variable input source to the THCAD 10, fed 2-3V to the THCAD and nothing happens. Velocity is 0, although the Encoder channel A appears as true.
Is there any other config that is missing? I've added the following lines in the machine_connections.hal:
setp hm2_5i25.0.encoder.03.counter-mode 1
setp hm2_5i25.0.encoder.01.scale -1
I know the scale is missing, however i don't understand why an output is not shown.
Could it have to do that the 7i77 gets the power from the 5i25 and has no external power supply? Although that does not seem to be a problem...
Should the encoder jumper be set for single ended or differential?
Am i missing anything? Do i need to add any other config? Can you please point me to a tutorial?
Already checked the forum and boards' documentation, did not really find an answer.
Thank you!!
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
16 Mar 2020 17:07 - 16 Mar 2020 19:10 #160448
by tommylight
Jumpers should be set to diferential.
Edited, my bad !
Replied by tommylight on topic how to get Mesa THC values
encoder 01 or 03 ???????setp hm2_5i25.0.encoder.03.counter-mode 1
setp hm2_5i25.0.encoder.01.scale -1
Should the encoder jumper be set for single ended or differential?
Jumpers should be set to diferential.
Edited, my bad !
Last edit: 16 Mar 2020 19:10 by tommylight. Reason: reason above.
Please Log in or Create an account to join the conversation.
16 Mar 2020 17:18 #160451
by PCW
I would tend to disagree here, When possible (and it is with the THCAD+7I77) you should always use differential signalling
so if you have fout+- wired to enca+- the 7I77 encoder channel connected to the THCAD should be jumpered for differential mode
Does the yellow LED on the 5V side of the THCAD blink faster with higher input voltages? (it should)
Replied by PCW on topic how to get Mesa THC values
encoder 01 or 03 ???????setp hm2_5i25.0.encoder.03.counter-mode 1
setp hm2_5i25.0.encoder.01.scale -1
Should the encoder jumper be set for single ended or differential?
Jumpers should be set to single ended.
I would tend to disagree here, When possible (and it is with the THCAD+7I77) you should always use differential signalling
so if you have fout+- wired to enca+- the 7I77 encoder channel connected to the THCAD should be jumpered for differential mode
Does the yellow LED on the 5V side of the THCAD blink faster with higher input voltages? (it should)
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- alex.statie
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 1
16 Mar 2020 17:51 #160455
by alex.statie
Replied by alex.statie on topic how to get Mesa THC values
Thanks for the heads up!
It was indeed encoder 3, my mistake. However, that still does not solve it.
Also, tried differential and single ended. No luck...
PCW, the led blinks faster with higher voltage.
Any other ideas?
It was indeed encoder 3, my mistake. However, that still does not solve it.
Also, tried differential and single ended. No luck...
PCW, the led blinks faster with higher voltage.
Any other ideas?
Please Log in or Create an account to join the conversation.
16 Mar 2020 18:03 - 16 Mar 2020 18:05 #160458
by PCW
Replied by PCW on topic how to get Mesa THC values
Are you watching the encoder 3 velocity pin with halmeter or similar?
Is encoder 3 count mode set to 1?
Are you sure you are connected to encoder 3 (encoders are 0..5)
do the other encoders work as normal quadrature encoders?
If you read encoder3 input-A pin it should read random high low values, does it?
Is encoder 3 count mode set to 1?
Are you sure you are connected to encoder 3 (encoders are 0..5)
do the other encoders work as normal quadrature encoders?
If you read encoder3 input-A pin it should read random high low values, does it?
Last edit: 16 Mar 2020 18:05 by PCW.
Please Log in or Create an account to join the conversation.
- alex.statie
- Offline
- New Member
Less
More
- Posts: 19
- Thank you received: 1
16 Mar 2020 18:12 - 16 Mar 2020 18:13 #160459
by alex.statie
Replied by alex.statie on topic how to get Mesa THC values
Yes, watching the parameters with halmeter.
Yes, counter mode set to 1: setp hm2_5i25.0.encoder.03.counter-mode 1
Yes, it is encoder 3. Bottom one on second row. (0, 1, 2 are linked to axis)
Yes, the other 3 work as quadrature.
Encoder3 input A is True (bit value) and stays true no matter what i do to the input voltage.
Yes, counter mode set to 1: setp hm2_5i25.0.encoder.03.counter-mode 1
Yes, it is encoder 3. Bottom one on second row. (0, 1, 2 are linked to axis)
Yes, the other 3 work as quadrature.
Encoder3 input A is True (bit value) and stays true no matter what i do to the input voltage.
Last edit: 16 Mar 2020 18:13 by alex.statie.
Please Log in or Create an account to join the conversation.
16 Mar 2020 18:18 - 16 Mar 2020 18:42 #160460
by PCW
Replied by PCW on topic how to get Mesa THC values
1, you should use watch rather than show as show is just a snapshot of values
2. if encoder input A is stuck high that suggests a wiring error
Can you measure the voltage across A and /A at the 7I77?
Also you may need to turn off the encoder filter on encoder 3
if you are using the 1/1 THCAD mode
2. if encoder input A is stuck high that suggests a wiring error
Can you measure the voltage across A and /A at the 7I77?
Also you may need to turn off the encoder filter on encoder 3
if you are using the 1/1 THCAD mode
Last edit: 16 Mar 2020 18:42 by PCW.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
16 Mar 2020 19:15 #160462
by tommylight
Now that i read it again, i would also disagree !
Edited the post above, blaming myself, i did install them so i should know.
Replied by tommylight on topic how to get Mesa THC values
encoder 01 or 03 ???????setp hm2_5i25.0.encoder.03.counter-mode 1
setp hm2_5i25.0.encoder.01.scale -1
Should the encoder jumper be set for single ended or differential?
Jumpers should be set to single ended.
I would tend to disagree here,
Now that i read it again, i would also disagree !
Edited the post above, blaming myself, i did install them so i should know.
Please Log in or Create an account to join the conversation.
Time to create page: 0.345 seconds