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 ASCII Server. Configure your Controller and HMI/cMT with the following parameters to establish reliable communication.

HMI Setting

ParametersRecommendedOptionsNotes
PLC typeMODBUS ASCII Server
PLC I/FRS232RS232, RS485
Baud rate96009600~115200
Data bits87, 8
ParityEvenEven, Odd, None
Stop bits11
PLC sta.11-31HMI Modbus Station No.
Online simulatorYES
Extend address modeNO
Broadcast commandNO

PLC Setting

ParameterValue
Communication modeModbus ASCII protocol

Device Address

Bit/WordDevice typeFormatRangeMemo
BLBdddd0 ~ 9998Mapping to 0x/1x 1 ~ 9999
WLWdddd0 ~ 9998Mapping to 3x/4x 1 ~ 9999
WRWddddd0 ~ 55536Mapping to 3x/4x 10000 ~ 65536

LB0 = 0x0001, LB1 = 0x0002, LW0 = 3x0001, LW1 = 3x0002

NOTE: Modbus ASCII Server doesn’t support function code 06 (preset single register). Use function code 16 (0x10, preset multiple registers) instead.

Modbus Server Function Code

Register typeReadWrite
0x0x01 Read coil0x05 Write single coil
0x (multiple coils)0x01 Read coil0x0F Write multiple coils
1x0x02 Read discrete inputN/A
3x0x04 Read input registerN/A
4x0x03 Read holding register0x10 Write multiple registers

Wiring Diagram

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

NOTE: Setting more than one Modbus ASCII Server in the HMI Device List is of no effect.