Share this

Operation Demonstration | Dekwell Modbus RTU Master Communication Module Enables Real-Time Monitoring and Efficient Control of Multiple Slave Devices!

2026-04-06 05:47:01 · · #1

In the field of modern industrial automation, the importance of distributed I/O systems is becoming increasingly prominent, as they play a vital role in improving production efficiency and system reliability.

The Dekwell EX-6321 is a Modbus RTU master communication module widely used in industrial automation systems. It provides fast and reliable communication through a serial interface, enabling enterprises to achieve real-time monitoring and efficient control of multiple slave devices.

Modbus RTU is a type of Modbus communication method based on the RS485/232 serial interface communication protocol, and it is widely used in control systems. In such control systems, the Modbus RTU communication module typically acts as the master station, while frequency converters, servo motor drives, and other control devices act as slave stations.

The advantage of this communication method for control systems is that it is simple to implement, reliable in operation, and low in setup cost. Furthermore, one master station can support communication with up to 31 slave stations.

Today, we will introduce the steps for using the DEKW EX-6321 in TwinCAT3.

01. Steps for using the product in TwinCAT3

After opening TwinCAT3, configure EX-1100 and add the EX-6321 module to the slot, as shown in the figure.

To configure the EX-6321 communication parameters, double-click “Box 1 (EX-1100)” > “StartUP”, right-click in the blank area and select “Add New Item”. In the startup parameters window, select “EX-6321”. Users can configure the corresponding communication parameters, as shown in the figure.

The configurable parameters of EX-6321 (baud rate, parity, stop bits, and communication timeout, etc.) are shown in the table.

The functions and descriptions of the input and output addresses of EX-6321 are shown in the table below.

For example, reading the Modbus RTU slave #1 register.

Data for 40001/40002/40003/40004:

Slave_ID –> 1 (slave address is 1)

Function -> 03 (03 Function Code Reading)

Address -> 00 (The address corresponding to the starting address 40001 is 0)

Coil Or Register Quantity –》04 (Read 4 registers consecutively)

Send_Enable -> TRUE (Data Send)

The data returned from station #1 to registers 40001/40002/40003/40004 are stored respectively in:

Data In 0, Data In 1, Data In 2, Data In 3.

For example, the Modbus RTU slave #2 register

The data written to 40010/40011/40012/40013 are 100, 3000, 80, and 300 respectively:

Slave_ID –> 2 (slave address is 2)

Function -> 16 (Write the 16 function code)

Address -> 00 (The address corresponding to the starting address 40010 is 0)

Coil Or Register Quantity –> 04 (Write to 4 registers consecutively)

Data Out 0 –> 100

Data Out 1 –> 3000

Data Out 2 –> 80

Data Out 3 –> 300

Send_Enable -> TRUE (Data Send)

Note: When the Send_Enable pin changes from 1 to 0, the data in Data Out1-Out4 will be automatically cleared.

02. EX-6321 Control Timing Diagram

02. Fault Codes

03. EX-6321 Component Description

Component description diagram:

Parts Specification Sheet:

04. EX-6321 terminal wiring

Read next

CATDOLL Q 92CM Body with TPE Material

Height: 92cm Weight: 13kg Shoulder Width: 25cm Bust/Waist/Hip: 47/47/56cm Oral Depth: 3-5cm Vaginal Depth: 3-13cm Anal ...

Articles 2026-02-22