MODBUS RTU, RTU over TCP

Supported Series: MODBUS RTU CONTROLLER

Website: http://www.modbus.org

HMI Setting

Parameters Recommended Options Notes
PLC typeMODBUS RTU, RTU over TCP
PLC I/FRS485RS232/RS485/USB
Baud rate96009600~115200
Data bits88
ParityEvenEven, Odd, None
Stop bits11, 2
PLC sta. no.10-255
Online simulator YES Broadcast command YES
Extend address mode YES

Address Range Limit

The address range for device types 0x, 1x, and 0x_multi_coils can be configured. This option should be used when the controller's bit register address range is not a multiple of 16. For example, if the range is 0x1 ~ 0x6 or 0x9 ~ 0x14, communication will not be possible. To ensure effective communication between the HMI and the controller, please follow the configuration instructions below.

Example: 0x-1~6

Configuration dialog for 0x/1x Address Range:

Note: Use 0x_1~0x_32 (1x_1~1x_32) to define multiple different 0x (1x) address ranges.

Example: 0x-1~9~14

Configuration dialog for 0x/1x Address Range:

Note: Use 0x_1~0x_32 (1x_1~1x_32) to define multiple different 0x (1x) address ranges.

Conversion

The 3x_Double and 4x_Double address types are added. If the [ABCD ->CDAB] check box is selected, please select 3x_Double and 4x_Double address types.

Note: The Conversion dialog allows setting the data format for device types 3x, 4x, 6x, 3x_Double, and 4x_Double. Options include byte swapping (AB -> BA) and word swapping (ABCD -> DCBA). AB represents a 16-bit type, and ABCD represents a 32-bit data type.

PLC Setting

Communication mode Modbus RTU protocol

Device Address

Bit/Word Device type Format Range Memo
B0xDDDDD1 ~ 65535Output bit
B0x_multi_coilsDDDDD1 ~ 65535Write multiple coils
B0x_single_bitDDDDD1 ~ 65535*Note4
B1xDDDDD1 ~ 65535Input bit (read only)
B1x_single_bitDDDDD1 ~ 65535*Note4
B3x_BitDDDDDdd100 ~ 6553515Input Register bit (read
B4x_BitDDDDDdd100 ~ 6553515Output Register bit
B6x_BitDDDDDdd100 ~ 6553515Output Register bit
B0x_1DDDDD1 ~ 65535
B0x_2DDDDD1 ~ 65535
B0x_3DDDDD1 ~ 65535
B0x_4DDDDD1 ~ 65535
B0x_5DDDDD1 ~ 65535
B0x_6DDDDD1 ~ 65535
B0x_7DDDDD1 ~ 65535
B0x_8DDDDD1 ~ 65535
B0x_9DDDDD1 ~ 65535
B1x_1DDDDD1 ~ 65535
B1x_2DDDDD1 ~ 65535
B1x_3DDDDD1 ~ 65535
B1x_4DDDDD1 ~ 65535
B1x_5DDDDD1 ~ 65535
B1x_6DDDDD1 ~ 65535
B1x_7DDDDD1 ~ 65535
B1x_8DDDDD1 ~ 65535
B1x_9DDDDD1 ~ 65535
W3xDDDDD1 ~ 65535Input Register (read only)
W3x_MAX1WDDDDD1 ~ 65535Display 32 bits *Note1
DW3x_MAX2WDDDDD1 ~ 65535*Note1
W3x_DoubleDDDDD1 ~ 65535*Note2
QW3x_QWordDDDDD1 ~ 6553564-bit
W4xDDDDD1 ~ 65535Output Register
W4x_MAX1WDDDDD1 ~ 65535Display 32 bits *Note1
DW4x_MAX2WDDDDD1 ~ 65535*Note1
W4x_DoubleDDDDD1 ~ 65535*Note2
W4x_32BitDDDDD1 ~ 65535Output Registerv *Note1
QW4x_QWordDDDDD1 ~ 6553564-bit
W0x_single_coilDDDDD1 ~ 65535*Note3
DW5xDDDDD1 ~ 655354x double word swap
W6xDDDDD1 ~ 655354x single word write

Notes

Additional Notes

Address type "5x" is mapped to Holding Register. The communication protocol of 5x is almost the same as "4x" except that "5x" swaps double word.

4x Data Example

Address123456...
Data in word0x10x20x30x40x50x6
Data0x02010x04030x0605

5x Data Example

Address123456...
Data in word0x10x20x30x40x50x6
Data0x01020x03040x0506

Modbus RTU Function Code

Device type Read Write
0x0x01 Read coil0x05 write single coil
0x_multi_coils0x01 Read coil0x0f write multiple coils
1x0x02 Read discrete inputX
3x / 3x_Bit0x04 Read input registerX
4x / 4x_Bit0x03 Read holding register0x10 write multiple registers
5x0x03 Read holding register0x10 write multiple registers
6x0x03 Read holding register0x06 write single register
0x_single_coil0x01 Read coil0x05 write single coil

Wiring Diagrams

Diagram 1: RS-232

The serial port pin assignments may vary between HMI models. Please refer to the specific HMI documentation for exact details.

HMIPLC
LinkRS232
RxTXD [connects to]
TxRXD [connects to]
GNDGND [connects to]
RTS
CTS

Diagram 2: RS-485 4W

The serial port pin assignments may vary between HMI models. Please refer to the specific HMI documentation for exact details.

HMIPLC
LinkRS485 4W
Rx-Tx- [connects to]
Rx+Tx+ [connects to]
Tx-Rx- [connects to]
Tx+Rx+ [connects to]
GNDGND [connects to]

Diagram 3: RS-485 2W

The serial port pin assignments may vary between HMI models. Please refer to the specific HMI documentation for exact details.

HMIPLC
LinkRS485 2W
Data-D- [connects to]
Data+D+ [connects to]
GNDGND [connects to]
Models: MODBUS HMI RTU Controller, HMI RTU Controller, RTU Controller, Controller

File Info : application/pdf, 7 Pages, 197.28KB

PDF preview unavailable. Download the PDF instead.

MODBUS RTU RTU over TCP

References

Microsoft Word 2010 Microsoft Word 2010

Related Documents

Preview WEINTEK EasyBuilder Pro Quick Start Guide: HMI Project Creation and Download
A comprehensive quick start guide for WEINTEK's EasyBuilder Pro software. Learn to create HMI projects, configure PLC devices, simulate, manage IP addresses, and download projects to WEINTEK HMIs.
Preview Weintek Built-in CODESYS PLC Connection Guide
A guide detailing how to connect Weintek HMIs with CODESYS, including HMI settings, tag import procedures, data type specifications, and Ethernet wiring.
Preview Siemens S7-200 SMART PPI PLC Connection Guide
This guide provides detailed information on connecting Siemens S7-200 SMART series PLCs using the PPI protocol with WEINTEK HMIs. It covers HMI and PLC settings, device addressing, and wiring diagrams for RS-485 2W communication.
Preview Weintek cMT-G03 IIoT Gateway with Serial Bridge Datasheet
Datasheet for the Weintek cMT-G03 IIoT Gateway, featuring serial port bridging, OPC UA, MQTT, and Modbus TCP/IP Gateway capabilities. Includes technical specifications, dimensions, and ordering information.
Preview Weintek cMT-CTRL01 CODESYS PLC with IIoT Gateway Datasheet
Datasheet for the Weintek cMT-CTRL01, a CODESYS PLC with an IIoT Gateway, featuring a dual-core processor, 4GB Flash, 512MB RAM, multiple communication ports including Ethernet, RS-232, and RS-485, and support for various industrial protocols.
Preview Siemens S7-200 PPI PLC Connection Guide
A comprehensive guide to connecting Siemens S7-200 PLCs using the PPI driver with WEINTEK HMIs. Covers HMI and PLC settings, device addressing, tag import, and pass-through configurations.
Preview WEINTEK Handheld HMI and Connection Box User Manual | cMT3106XM, cMT-XMBS, cMT-XMBC
Comprehensive user manual for WEINTEK's Handheld HMI and Connection Box series, including detailed specifications, dimensions, system wiring diagrams, configuration settings, and OS update procedures for models cMT3106XM, cMT-XMBS, and cMT-XMBC.
Preview Weintek cMT-G02X Series HMI Installation Instructions
Detailed installation instructions for the Weintek cMT-G02X Series HMI, covering environment setup, power and communication connections, software configuration, safety precautions, and warranty information.