modbus Response

Thread Starter

btb4198

Joined Jul 8, 2013
6
when writing a Response in modbus
what are the
Byte Count and Register Values used for ?

now I think the Register Values is the value I was so sent over modbus
is this right?
how many bytes can it be ?
and how many Bytes are byte count?
 

WBahn

Joined Mar 31, 2012
30,058
At least go out and read the Wikipedia article on Modbus and try to look at some of the references it provides. Then come back and try to ask more detailed and specific questions and include such things as what frame format you are using.
 

Thread Starter

btb4198

Joined Jul 8, 2013
6
I am using a honeywell experion server and I have looked up Modbus alot. My Response is not working and I do not know why. ok i am getting this from experion now
8 bytes
1 3 78 32 0 1 146 232 experion kepts getting an error everytime it output a message.

I am sending back this
7= bytes
1 3 2 0 4 146 232
Slave address = 1
Function code = 3
bytes count = 2
high bytes data = 0
low bytes data = 4
high crc = 146
low crc = 232

so what is wrong with my Response ?
 

WBahn

Joined Mar 31, 2012
30,058
Are you really expecting someone to figure out what the error is with your server based on this?

Good luck.
 

WBahn

Joined Mar 31, 2012
30,058
what more information do you need? I do not know what the error is because experion does not say.
And so we are supposed to know what is supposed to happen if you tell it to use function code 3 with slave address 1?

How are you computing your CRC values?
 
Top