Home
Help
Search
Login
Register
AdvancedHMI Software
»
General Category
»
Support Questions
»
Unsigned 16bit Integer
« previous
next »
Print
Pages: [
1
]
Author
Topic: Unsigned 16bit Integer (Read 2574 times)
stuartscott171
Newbie
Posts: 5
Unsigned 16bit Integer
«
on:
April 21, 2015, 04:02:38 AM »
I can read a Modbus register fine, but can not work out how to display as a unsigned number i.e 65535.
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: Unsigned 16bit Integer
«
Reply #1 on:
April 21, 2015, 09:34:21 AM »
The Modbus driver only supports signed integers. I will look into the possibility of adding unsigned support.
Logged
stuartscott171
Newbie
Posts: 5
Re: Unsigned 16bit Integer
«
Reply #2 on:
April 23, 2015, 01:52:57 AM »
Thanks Archie, Really enjoy this project.
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: Unsigned 16bit Integer
«
Reply #3 on:
April 29, 2015, 09:39:23 PM »
Version 3.98g now allows an address prefix such as U40001
Logged
stuartscott171
Newbie
Posts: 5
Re: Unsigned 16bit Integer
«
Reply #4 on:
May 04, 2015, 06:31:03 PM »
Thanks Archie, will give it a go.
Logged
Friedrich
Newbie
Posts: 19
Re: Unsigned 16bit Integer
«
Reply #5 on:
May 16, 2015, 05:54:59 PM »
Reading an unsigned works fine with the prefix, but writing anything above 32767 doesn't.
"Failed to write value. The aritmatic operation caused spill"
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: Unsigned 16bit Integer
«
Reply #6 on:
May 16, 2015, 06:20:06 PM »
This should be fixed in the next version that will be posted tomorrow.
Logged
Archie
Administrator
Hero Member
Posts: 5322
Re: Unsigned 16bit Integer
«
Reply #7 on:
May 17, 2015, 08:18:12 PM »
Version 3.98j is now available. Try that version to see if it fixes the problem.
Logged
Friedrich
Newbie
Posts: 19
Re: Unsigned 16bit Integer
«
Reply #8 on:
May 18, 2015, 11:24:19 AM »
Works like a charm! Great work once again Archie.
Logged
Print
Pages: [
1
]
« previous
next »
AdvancedHMI Software
»
General Category
»
Support Questions
»
Unsigned 16bit Integer