Hello everyone, in the previous post thelivingchristmascompany.com showed you how to use the Weintek MT8071iE HMI to connect to the Schneider ATV312 VFD via Modbus-RTU RS485.
Today I would like to continue to guide you to use the Keyence PLC in combination with the KV-L21V Module to control the ATV312 Schneider inverter to help you better understand Modbus-RTU.
Schneider ATV312 & Keyence KV-L21V Wiring Diagram

Schneider ATV312 Parameters Setting
In addition to the basic parameters set up according to the motor, we need to Setup the communication parameters as follows:
COM Menu >>> Add = 1 (Modbus Address)
>>> tbr = 9.6 (Baud rate)
>>> tF0 = 8E1 (8bit, Even, Stop bit 1)
>>> tt0 = 3.0 (Timer Detect Com. Error)
CtL Menu >>> LAC = L3
>>> Fr1 = Mbd
>>> Fr2 = Mbd
>>> CHCF = SEP
>>> Cd1 = Mbd
>>> Cd2 = Mbd
Register for Control
Here are the 2 main register addresses for the drive control to work

>>> Control Word = 8501 (dec) = 2135 (hex)
- Set 2135 (hex) = 6 >>> Enable Operation
- Set 2135 (hex) = 128 >>> Fault state reset
- Set 2135 (hex) = 15 >>> Forward Run
- Set 2135 (hex) = 2063 >>> Reverse Run
- Set 2135 (hex) = 4111 >>> Stop Run
>>> Frequency Set Address = 8502 (dec) = 2136 (hex)
Register for Monitoring

+ Output Frequency = 3202 (dec) = C82 (hex)
+ Output Current = 3204 (dec) = C84 (hex)
Keyence KV-L21V Communication Configurator
You configure according to the communication parameters as set in ATV312 VFD

PLC Keyence Modbus Programming
+ KV-L21V Delete Data when Start PLC ( Power ON)

+ ATV312 Start System & Reset Fault

+ Read and Write Distribution

+ Frequency Write Command

+ Motor Control Run

+ Read Data Output


Detailed Instruction Video
======
Documents & Software:
+ KV Studio for KV5500 Programming Software
+ ATV312
If you have any difficulty in connecting the Keyence PLC to the ATV312 Schnerder VFD, please comment below the article, I will reply as soon as possible.
Best Regards!