Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

sp_Feed Topic RSS sp_TopicIcon
Datatypes for holding registers (UINT16)
January 4, 2017
18:04, EET
Avatar
Ibrahim
Member
Members
Forum Posts: 76
Member Since:
August 20, 2014
sp_UserOfflineSmall Offline

Hi,
is it possible to interpret the holding registers as uint16?

Thanks

January 5, 2017
10:23, EET
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1010
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Not at the moment, unfortunately. Currently the Modbus data types are limited to INT, DINt and FLOAT, but I don’t actually see a reason why we should not allow other data types to be used as well. the Modbus specification does not really say much about interpreting the bytes that are read.

So, this will be improved in a future version. Hopefully, we can work on it in a short time frame.

January 5, 2017
11:32, EET
Avatar
Ibrahim
Member
Members
Forum Posts: 76
Member Since:
August 20, 2014
sp_UserOfflineSmall Offline

Hi Jouni,
thanks. That sounds great. I asked, because we had the case where a 16 bit register was filled with a uint16. For now we have a workaround, but it would be great to have more datatypes in future…

Ibrahim

February 15, 2017
17:08, EET
Avatar
Heikki Tahvanainen
Moderator
Members

Moderators
Forum Posts: 402
Member Since:
April 17, 2013
sp_UserOfflineSmall Offline

Hello,

These unsigned types are now added in the version 1.1.4 of the Prosys OPC UA Modbus Server: https://prosysopc.com/news/prosys-opc-ua-modbus-server-114-released/

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 681

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6261

Newest Members:

graciela2073, sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma, fidelduke938316, Jan-Pfizer, DavidROunc, fen.pang@woodside.com

Moderators: Jouni Aro: 1010, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 983, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 321, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1