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

Hello, I need to access the bits from the fire system control panel through RS-485. So, I used Read Var block to read from the panel...
Replies
0
Views
20
I am having a problem communicating my PLC with Drive via Modbus connection. I start by opening the port and there is no problem, but then when I...
Replies
5
Views
34
Does anyone have an example project of the cm ptp ET200 SP HA with 410-5H DCS (PCs7 9.1 SP1) for MODBUS MASTER/SLAVE communication ?
Replies
2
Views
68
Hi, Do you have any trick to make a software working when the 30 days demo version is expired? I've tried to uninstall/clean the registers etc...
Replies
6
Views
242
Hello, I am new to Codesys, and am trying to learn about it for a project we're developing. I've got a couple questions, but first a little...
Replies
1
Views
72
Back
Top Bottom