J
Hi
I'm reading them modbus over serial line - Specification and implementation guide. It says
"The format ( 11 bits ) for each byte in RTU mode is:
Coding system:
8-bit binary
Bits per byte:
1 start bit
8 data bits, least significant bit sent first
1 bit for parity completion
1 stop bit"
My 1st question is:
Do I need to send 11 bits for each 8 bit byte, including the slave address, functioncode and CRC, or is it only the data part that needs start, stop and parity bits (wich would be my guess)?
My 2nd question is:
When calculating the CRC cheksum I discard the start, stop and parity bits correct?
My 3rd question is:
How does the start and stop bits work? Are they always high or always low, or are they calculated somehow?
My 4th question is:
The guide says that the data part can be up to 252bytes maximum, does that include the start, stop and parity bits?
As you can see, I am a little confused.
Hope that you can help me.
I'm reading them modbus over serial line - Specification and implementation guide. It says
"The format ( 11 bits ) for each byte in RTU mode is:
Coding system:
8-bit binary
Bits per byte:
1 start bit
8 data bits, least significant bit sent first
1 bit for parity completion
1 stop bit"
My 1st question is:
Do I need to send 11 bits for each 8 bit byte, including the slave address, functioncode and CRC, or is it only the data part that needs start, stop and parity bits (wich would be my guess)?
My 2nd question is:
When calculating the CRC cheksum I discard the start, stop and parity bits correct?
My 3rd question is:
How does the start and stop bits work? Are they always high or always low, or are they calculated somehow?
My 4th question is:
The guide says that the data part can be up to 252bytes maximum, does that include the start, stop and parity bits?
As you can see, I am a little confused.
Hope that you can help me.
