Colway Solutions
Modbus Member Logo

STM32F0 Discovery



Tested Environment:
CPU IDE OS Ethernet RS-232 RS-485
STM32F0 Discovery Raisonance Ride7 NA Yes NA

Characteristics:
CPU
Code size in KB (approximate figures)
Read Coils Read Discrete Inputs Read Coils + Write Coils Read Input Registers Read Holding Registers Read Holding registers + Write Holding Registers All 8 Functions
STM32F0 Discovery - - - - - - -

Verify the code before buying

Colway Solutions provides a hex file so that the customer can test the code before buying the library

Modbus Slave RTU - Hex file download

After downloading the hex file make sure you follow the steps for proper communication

1. For testing the Modbus Slave use Modbus Master (Eg: download Wintech Modscan32 http://www.win-tech.com/html/modscan32.htm which is available free or you can use any Modbus Master which you are familiar). The below steps are written by taking Modscan as reference however configurations remains same for any Modbus Master.

2. Load the hex file

3. For RTU: Open Modscan, go to Connection->Connect a dialog box appears where you need to set the following configuration
1. Baud Rate: 9600
2. Word Length: 8
3. Parity: None
4. Stop Bits: 1 as shown below



4. After connecting, set Address: 0001 Length: 10 ( As we are sending 10 dummy data values from the Modbus Slave, anything beyond 10 shows 'Exception Response') Device Id: 1



5. Now the Modbus master will be ready to communicate with the Slave.


Privacy Policy Site Map FAQ Contact Us