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
Modbus Holding REAL[Array limitation] ???
February 19, 2021
13:37, EET
Avatar
gbo
Member
Members
Forum Posts: 18
Member Since:
May 15, 2017
sp_UserOfflineSmall Offline

Hello
For the moment on my new machine i’am making test of a modbus server in demo mode (time limitation)
On this project i work on a lot of variables (1000 variables)
Each variables are in 100 holding register array
It’s not working to enter array[100] there is a limitation to 62 ?????

https://i.postimg.cc/3ynwCzkr/array.jpgImage Enlarger

February 19, 2021
14:20, EET
Avatar
Matti Siponen
Moderator
Members

Moderators
Forum Posts: 288
Member Since:
February 11, 2020
sp_UserOfflineSmall Offline

Hello,

Modbus Protocol supports reading 2000 bits per Read call. A Real requires 32 bits to store and thus 62 Reals can be fit into an Array of 2000 bits. At the moment, the Modbus Server doesn’t support arrays consisting of more than 2000 bits of data.

Could you try processing the array of 100 Reals as either 2 arrays of 50 Reals or 100 scalar Reals in Modbus Server instead?

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
4 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 130

pramanj: 86

ibrahim: 75

rocket science: 72

Francesco Zambon: 62

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 651

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1415

Posts: 6035

Newest Members:

u310498, ntd, francescac, yahya95, leomajoe, Gus, sdfsdfsdfsd, riatuccker

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

Administrators: admin: 1