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

Supported Series: REVO-CL / REVO-M / REVO E / CD3000E / MULTIDRIVE / REVO-TC / REVO-PC

Website: http://www.cdautomation.com/

HMI Setting

ParametersRecommendedOptionsNotes
PLC typeCD MODBUS RTU
PLC I/FRS485RS232/RS485
Baud rate96009600~115200
Data bits87, 8
ParityEvenEven, Odd, None
Stop bits11, 2
PLC sta. no.10-255
Online simulatorYES
BroadcastYES
Extend address modeYES
Device Properties panel showing Interval of block pack, Max. read-command size, and Max. write-command size fields, with Address Range Limit and Conversion buttons highlighted.

Address Range Limit: The address range of 0x, 1x, and 0x_multi_coils device types can be set.

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.

Device Address

Bit/WordDevice typeFormatRangeMemo
B0xDDDDD1 ~ 65535Output bit
B0x_multi_coilsDDDDD1 ~ 65535Write multiple coils
B0x_single_BitDDDDD1 ~ 65535
B1xDDDDD1 ~ 65535Input bit (read only)
B1x_single_BitDDDDD1 ~ 65535
B3x_BitDDDDDdd100 ~ 6553515Input Register bit (read only)
B4x_BitDDDDDdd100 ~ 6553515Output Register bit
B6x_BitDDDDDdd100 ~ 6553515Output Register bit
B0x_1 ~ 0x_9DDDDD1 ~ 65535
B1x_1 ~ 1x_9DDDDD1 ~ 65535
W3xDDDDD1 ~ 65535Input Register (read only)
W3x_MAX1WDDDDD1 ~ 65535Display 32 bits *Note1
DW3x_MAX2WDDDDD1 ~ 65535*Note1
DW3x_DoubleDDDDD1 ~ 65535*Note2
DW3x_QWordDDDDD1 ~ 65535*Note2
W4xDDDDD1 ~ 65535Output Register
W4x_MAX1WDDDDD1 ~ 65535Display 32 bits *Note1
DW4x_MAX2WDDDDD1 ~ 65535*Note1
DW4x_DoubleDDDDD1 ~ 65535*Note2
DW4x_QWordDDDDD1 ~ 65535*Note2
W4x_32BitDDDDD1 ~ 65535Output Register *Note1
W0x_single_coilDDDDD1 ~ 65535*Note3
DW5xDDDDD1 ~ 655354x double word swap
W6xDDDDD1 ~ 655354x single word write

*Note1: MAX1W and 4x_32Bit reads/writes 1 word for each packet and displays a 32-bit value, whereas MAX2W reads/writes 2 words for each packet.

*Note2: Go to [System Parameter Settings] > [Device Properties] and click [Conversion] to set the data format of device types 3x, 4x, 6x, 3x_double, 4x_double, 3x_QWord, 4x_QWord.

Conversion dialog showing byte-swap checkboxes (AB to BA, ABCD to CDAB, ABCDEFGH to various formats) for register types 3x, 4x, 6x, 3x_Double, 4x_Double, 3x_QWord, and 4x_QWord.

*Note3: Read/write a Bit at a time. Value 0 and 1 are used to represent ON or OFF status where 0 means set OFF and 1 means set ON.

*Note4: The number of bits to read can be set in Macro; therefore, it is recommended to use 0x address type for functions such as GetData() and SetData(), in order to increase reading speed. To read/write multiple 0x address type in macro, use 0x_multi_coils to increase write speed.

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

*Note6: 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.

5x Address Type

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

If 4x contains the following information:

Address123456
Data in word0x10x20x30x40x50x6
Data0x200010x400030x60005

For 5x, it will be:

Address123456
Data in word0x20x10x40x30x60x5
Data0x100020x300040x50006

Modbus RTU Function Codes

Device typeReadWrite
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 Diagram

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

RS-485 2W

HMIDirectionPLC
Pin assignmentsRS485 2W
9P D-Sub
Male
Data-↔ (bidirectional)Data-
Data+↔ (bidirectional)Data+
GND↔ (bidirectional)GND