Doubts about conversion
Verfasst: Di 18. Sep 2018, 09:50
Hi there,
I have a novice doubt about my setup:
I have a 50 N·M torque sensor (TS110a) and a GSV-3LS for amplifying and getting digital values from a serial communication.
I have doubts about the translation I need to make. In the GSV-3LS protocol datasheet explains that there are two bytes to take into account, the "highbyte" and the "lowbyte". And that, depending if you are using monopolar or bipolar mode, the "0" value changes.
As while the torque sensor is in my desktop, I'm reading a hexadecimal value of ~ 0x80 0xBA, I assume that I'm reading a bipolar mode.
In this case, if I read the next maximum values, the should match with the torque sensor max, like this:
0xFFFF => 50 N·M
and
0x0000 => -50 N·M
and
0x8000 => 0 N·M
So in code, I should use this relation to translate the hexadecimal to physical value. Is this right or do I need to use the "Input Signal" equation highlighted in yellow (attached)?
Thanks for the clarification in advanced,
imuguruza
I have a novice doubt about my setup:
I have a 50 N·M torque sensor (TS110a) and a GSV-3LS for amplifying and getting digital values from a serial communication.
I have doubts about the translation I need to make. In the GSV-3LS protocol datasheet explains that there are two bytes to take into account, the "highbyte" and the "lowbyte". And that, depending if you are using monopolar or bipolar mode, the "0" value changes.
As while the torque sensor is in my desktop, I'm reading a hexadecimal value of ~ 0x80 0xBA, I assume that I'm reading a bipolar mode.
In this case, if I read the next maximum values, the should match with the torque sensor max, like this:
0xFFFF => 50 N·M
and
0x0000 => -50 N·M
and
0x8000 => 0 N·M
So in code, I should use this relation to translate the hexadecimal to physical value. Is this right or do I need to use the "Input Signal" equation highlighted in yellow (attached)?
Thanks for the clarification in advanced,
imuguruza