VFD control using ttl to RS485 module

How to control VFD using RS485 module and Arduino mega?

following is the link of VFD drive manual. Discription of Modbus communication protocol is given on page 123.

http://www.cgglobal.com/image/productdocs/CG%20VSS%20Series%20User%20manual_V1.0English.PDF

485.jpg

How to control VFD using RS485 module and Arduino mega?

Connect the RS-485 adapter to one of the hardware serial interfaces (I suggest Serial1), connect the DE/RE signal to a free digital IO on the Mega, install a ModBus master library (the library manager of the IDE offers you one) and configure the inverter with it.