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

Protocol: IEC 60870-5-104 (IEC 104 Server mode)

HMI Settings

ParametersRecommendedOptionsNotes
PLC typeIEC 60870-5-104 IEC 104 Server
PLC I/FEthernet
Port no.2404
Sector2570 ~ 65535*note1
Timing (T3)10*note2
Timing (K)121 ~ 32767*note3

*note1: Only one client can be connected at a time.

*note2: When there is no data transferred from server or client, a keep-alive package will be sent at the specified interval of time.

*note3: Communication will stop when the number of not-received APDUs reaches 12.

Device Address

Bit/WordDevice TypeFormatRangeMemo
BSingle PointDDDDD0 ~ 255255255
BSingle CommandDDDDD0 ~ 255255255
WDouble PointDDDDD0 ~ 255255255
WMeasured ScaledDDDDD0 ~ 255255255
WMeasured FloatDDDDD0 ~ 255255255
WIntegrated TotalsDDDDD0 ~ 255255255
WStep PositionDDDDD0 ~ 255255255
WBitstring 32bitDDDDD0 ~ 255255255
WDouble CommandDDDDD0 ~ 255255255
WSetPoint Scaled CommandDDDDD0 ~ 255255255
WSetPoint Float CommandDDDDD0 ~ 255255255
WRegulating Step CommandDDDDD0 ~ 255255255
WBitstring 32bit CommandDDDDD0 ~ 255255255

NOTE: For example: Single Point address 16256 maps to IOA Struct 000/63/128 — calculated as 16256 ÷ 256 = 63 remainder 128, so 63128 should be entered in EBPro (EasyBuilder Pro).

EBPro (EasyBuilder Pro) Read dialog with IEC 104 Server selected as Device and Single Point at address 63128.

Application

Upper computer IEC 104 Client — HMI (IEC 104 Server) — Modbus RTU

Periodically Sends Interrogation Responses

Select the Periodically sends interrogation responses checkbox and then click Interrogation Address Range to set address ranges for interrogations.

EBPro (EasyBuilder Pro) panel showing the Periodically sends interrogation responses checkbox enabled, with Port no. 2404 and the Interrogation Address Range button.

As shown above, Single Point device type in address range 0 to 60 will be sent to the Client.

NOTE: This item must be set to communicate with the IEC 60870-5-104 client for data exchange.

Address Ranges of Interrogations dialog showing device types including Single Point, Double Point, Measured Scaled, Measured Float, Integrated Totals, Step Position, and Bitstring 32bit, each with Min. address and Max. address columns. Single Point is configured with Min. 0, Max. 60.

IEC104 Gateway

Enable and Set Address Mapping Tables

IEC 104 Gateway group box in EBPro (EasyBuilder Pro) with the Enable checkbox checked and the Address Mapping Tables button visible.

Select the Enable checkbox in the IEC104 Gateway group box. Click Address Mapping Tables to open the Table Settings window, and map IEC 104 addresses to the addresses of other devices. The applicable devices are local or Modbus PLCs.

Configure Scaling

Table Settings window showing Device type set to Word, Mode set to Write only, IEC 104 address mapped to SetPoint Float Command at address 0 on IEC 104 Server, and Mapped PLC address set to Modbus RTU 3x register 1.
Table Settings Conversion and Scaling panel showing AB to BA and ABCD to CDAB byte-swap checkboxes, Dynamic scaling checkbox, and the formula [3x] = [SetPoint Float Command] × 1 + 0.

Set the table size — in the example above, 12 words will be read at a time. Configure scaling options including byte-order conversion and dynamic scaling as needed.

Wiring Diagram

The diagram below shows the Ethernet cable wiring.

Ethernet CAT5 cable wiring diagram showing the color-coded wire pairs: W/Orange–Orange, W/Green–Green, Blue–Blue, W/Blue–W/Blue, Green–Green, W/Brown–Brown, Brown–Brown, connected pin-to-pin on both ends.