3/9/2022 9:51 AM | |
Joined: 2/11/2022 Last visit: 6/14/2023 Posts: 9 Rating:
|
Hello! I have the same problem, I'm reading a counter value from a LOGO connected to a press that it reach numbers bigger than 32767 so is there a method to get the correct value of the counter on numbers greater than 32767? Thank you all! ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 03/23/2022 10:48:09New subject after splitting |
|
3/9/2022 9:54 AM | |
Joined: 12/18/2014 Last visit: 12/11/2023 Posts: 31604 Rating:
|
Your question is not clear enough. Can you make a screenshot? Or can you more explain? |
3/9/2022 10:36 AM | |
Joined: 2/11/2022 Last visit: 6/14/2023 Posts: 9 Rating:
|
I'm reading a counter by modbus connection but whe the value is bigger than 32767 it turns to a negative number. Someone told me to work with 2 16Bit integers that you combine (bit
shifting), but I can't understand how to do this aproach.
Attachmentesquema1.zip (199 Downloads) |
3/22/2022 9:48 PM | |
Joined: 2/11/2022 Last visit: 6/14/2023 Posts: 9 Rating:
|
Yes thank you! |
Follow us on