Closed proasnet closed 6 months ago
It looks like something is going wrong with the data being received or how it is being received by your computer.
It looks like you are sending the following request.
01
- Slave/Server ID
01
- Function Code 1 (Read Coils)
00 00
- Starting Data/Coil Address
00 01
- Number of Coils to Read
FD CA
- CRC Code (I'm pretty sure this is what QModBus is sending, otherwise you probably wouldn't get a response.)
The appropriate response is the following.
01
- Slave/Server ID
01
- Function Code 1 (Read Coils)
01
- Coil Data Byte Count
00
- Coil Data
51 88
- CRC Code
If you look at the raw data you are receiving, you are getting this message, there is just other data around it.
In a few days I will test again, the new HW revision will be ready, so I will send the data from the modbus test
Hi, I am trying found a ideal RTU modbus library. Now, I am trying an example, on Arduino Mega 2560 ( Later on ESP32 ). As a master is a PC with QModBus. Between PC and Ardino is a converter with Tx En. On any ask from a PC, I get some data, but always with CRC Error.