modbus

bfranklin

Member
Join Date
Sep 2012
Location
Alberta
Posts
125
Do 30000 registers use one word of data? For example a pressure transmitter using modbus register 30001?

I know floating point numbers use 32 bits.

Thanks
 
The only difference between 30000 registers and 40000 registers is that 30000 registers are read-only while 40000 registers can be written to. Given that, 30000 registers are just as capable of encoding floating point numbers as 40000 registers. So, a single 30000 or 40000 register is 16 bits. If the number you're after is a floating point, you're looking at two consecutive addresses, say 30000 and 30001 or 40010 and 40011.
 
All 3xxxx and 4xxxx registers use two byte, 16 bit data words, according to the Modbus standard.

However, whether any given device uses one word/one register (integer), two words/two registers (32 bit floating point, or long integer) or four words/four registers (64 bit floating point) depends on implementation.

Modbus doesn't define what kind of data resides in a register or how many registers it takes to get a complete data word, just the size of the register for a given address range.
 
You have to have a look at the documentation for the device. Many devices use 2 words despite the standard.
 

Similar Topics

Hi all, Currently having trouble getting a speed reference to write over modbus to an Omron M1... I can successfully write a run command and...
Replies
2
Views
51
Apologies for not being the best IDEC programmer. I recently was doing some inspections on a site that had 3 FC6A IDEC processors. The issue is...
Replies
0
Views
53
Good morning fellow sea captains and wizards, I am being asked to do the above and obtain 4 values from each slave, I know about the MRX and MWX...
Replies
26
Views
368
Hi all I need help on this As in my project used Schneider TM241 controller. Now I want to communicate Elite energy meter with controller by...
Replies
3
Views
124
Good day guys. I have a third party device with its Modbus registers which I want to copy/set up on a plc because I need to convert my Modbus tcp...
Replies
3
Views
125
Back
Top Bottom