The leader in industrial automation and control solutions

Introduction

All Maple Systems HMIs programmed with EBPro (EasyBuilder Pro), including every cMT X Series and cMT Series model, are compatible with Modbus RTU (Adjustable). Configure your Controller and HMI/cMT with the following parameters to establish reliable communication.

Supported Series: MODBUS RTU CONTROLLER

HMI Settings

ParametersRecommendedOptionsNotes
PLC typeMODBUS RTU (Adjustable)
PLC I/FRS485RS232/RS485
Baud rate96009600 / 19200 / 38400 / 57600 / 115200
Data bits87, 8
ParityEvenEven, Odd, None
Stop bits11, 2
PLC sta. no.10–255
Min. address0Note 1
Online simulatorYES
Extend address modeYES

Note 1: Does not support communication with multiple devices with different minimum addresses.

PLC Settings

ParameterValue
Communication modeModbus RTU protocol

Device Address

Bit/WordDevice TypeFormatRangeMemo
B0xDDDDD1 ~ 65535Output bit
B1xDDDDD1 ~ 65535Input bit (read only)
B3x_BitDDDDDdd100 ~ 6553515Input Register bit (read only)
B4x_BitDDDDDdd100 ~ 6553515Output Register bit
B0x_multi_coilsDDDDD1 ~ 65535Write multiple coils
W3xDDDDD1 ~ 65535Input Register (read only)
W4xDDDDD1 ~ 65535Output Register
W5xDDDDD1 ~ 655354x double word swap *Note 1
DW5x (32-bit)DDDDD1 ~ 655354x double word swap *Note 4
W6xDDDDD1 ~ 655354x single word write

Note 1: Please assign all the addresses to Even addresses, or all to Odd addresses, in order to prevent communication failure.

Note 2: EBPro V6.03.02 or later supports 64 bits data type (cMT Series only), but please note that the address limit range is 48 bits in maximum.

Note 3: Address Type 5x Mapping

Address type 5x is mapping to Hold Reg. The communication protocol of 5x is almost the same as 4x except that 5x swaps double words.

If 4x contains the following information:

Address123456
Data in word0x10x20x30x40x50x6
Data0x02010x04030x0605

For 5x, it will be:

Address123456
Data in word0x10x20x30x40x50x6
Data0x01020x03040x0506

Modbus RTU Function Codes

Device TypeRead FunctionWrite Function
0x0x01 Read coil0x05 Write single coil
0x_multi_coils0x01 Read coil0x0F Write multiple coils
1x0x02 Read discrete inputN/A for writing operation
3x0x04 Read input registerN/A for writing operation
4x0x03 Read holding register0x10 Write multiple registers
5x0x03 Read holding register0x10 Write multiple registers
6x0x03 Read holding register0x06 Write single register

Note: Reverse word order in double words format. 3x_Bit is equivalent to 3x; 4x_Bit is equivalent to 4x. 6x is limited to device of one word only.

Note 4: 5x (32-bit) × 2 − 1 = 5x

Comparison table showing 5x (32-Bit) and 5x address mappings with corresponding data values for double word swap behavior.

Setting Instructions:

  1. Go to [System Parameter Settings]

    click [New] to add a new device – MODBUS RTU (Adjustable)
  2. Add Address Range Limit

    After adding MODBUS RTU (Adjustable) driver, [Add Address Range Limit] button will be enabled. Users can set maximum read/write command size here.
  3. MODBUS RTU (adjustable) usage

    Users can decide the address range via setting value on [Min. address]. For example, when users set 5 to [Min. address], the address range will be 5 ~ 65535.

Wiring Diagrams

NOTE: The serial port pin assignments may vary between HMI models.

Diagram 1: RS-232

HMIDirectionPLC
Pin assignmentsRS232
Rx↔ (bidirectional)TXD
Tx↔ (bidirectional)RXD
GND↔ (bidirectional)GND
↕︎ (tie)RTS
CTS

Diagram 2: RS-485 4W

HMIDirectionPLC
Pin assignmentsRS485 4W
Rx-↔ (bidirectional)Tx-
RX+↔ (bidirectional)Tx+
Tx-↔ (bidirectional)Rx-
Tx+↔ (bidirectional)Rx+
GND↔ (bidirectional)GND

Diagram 3: RS-485 2W

HMIDirectionPLC
Pin assignmentsRS485 2W
Data-↔ (bidirectional)D-
Data+↔ (bidirectional)D+
GND↔ (bidirectional)GND