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 CO-TRUST CTH300-H PPI. Configure your Controller and HMI/cMT with the following parameters to establish reliable communication.

Supported Series: CO-TRUST CTH300-H35

Website: http://en.co-trust.com/

HMI Setting

ParametersRecommendedOptionsNotes
PLC typeCO-TRUST CTH300-H PPI
PLC I/FRS485 2WRS485 2W
Baud rate96009600, 19200, 187.5K
Data bits87, 8
ParityEvenEven, Odd, None
Stop bits11, 2
Turn around delay5
ACK delay time (ms)30
PLC sta. no.21 ~ 126
Online simulatorYES
Extend address modeYES
BroadcastNO

PLC Setting

NOTE: PLC sta. no. can not be the same as HMI sta. no.

Device Address

Bit/WordDevice typeFormatRangeMemo
BIDDDDo0 ~ 40957Input (I)
BQDDDDo0 ~ 40957Output (O)
BMDDDDo0 ~ 40957Bit Memory
BVW_BitDDDDDo0 ~ 102397V Memory Bit Address
BSDDDDo0 ~ 40957SCR
BSMDDDDo0 ~ 40957Special Memory
BT_BitDDDD0 ~ 1023Timer
BC_BitDDDD0 ~ 1023Counter
BDBnBitFFFDDDDDo0 ~ 255655357
ByteVBDDDDD0 ~ 10239
WVWDDDDD0 ~ 10239V Memory
WVW_OddDDDDD0 ~ 10239V Memory
WVW_StringDDDDD0 ~ 10239String
WVW_String_OddDDDDD0 ~ 10239String
DWVDDDDDD0 ~ 10239V Memory Double
DWVD_OddDDDDD0 ~ 10239V Memory Double
DWVD_StringDDDDD0 ~ 10239String
DWVD_String_OddDDDDD0 ~ 10239String
ByteMBDDDDD0 ~ 10239Byte Memory
WMWDDDDD0 ~ 10239Word Memory
WMW_OddDDDDD0 ~ 10239Word Memory
DWMDDDDDD0 ~ 10239Word Memory
ByteSBDDDDD0 ~ 10239SCR
WSWDDDDD0 ~ 10239SCR
DWSDDDDDD0 ~ 10239SCR
ByteSMBDDDDD0 ~ 10239Special Memory
WSMWDDDDD0 ~ 10239Special Memory
DWSMDDDDDD0 ~ 10239Special Memory
WTDDD0 ~ 1023Timer
WCDDD0 ~ 1023Counter
ByteDBBnFFFDDDDD0 ~ 25565535
WDBnFFFDDDDD0 ~ 25565535
DWDBDnFFFDDDDD0 ~ 25565535
DDBn_STRINGCHARFFFDDDDD0 ~ 25565535

NOTE: Double Word and floating point value must use VD device type.

Multi-HMIs-Multi-PLCs Communication Setting

Two Weintek HMI panels communicating with an S7-200 PLC over a PPI network, shown with bidirectional arrows.

For S7-200 PLC, Multi-HMIs-Multi-PLCs communication can be achieved using S7/200 PPI driver, please refer to the settings below.

In EBPro (EasyBuilder) COM Port Settings, two important parameters must be set:

EasyBuilder COM Port Settings dialog showing baud rate 9600, parity Even, High station address set to 3, and Gap update factor set to 1.

High station address (HSA)

Setting Max. Station Number of HMI in PPI network. For the effectiveness of system operation, it is highly recommended that the HMI station number starts from zero and go on sequentially. If there are 4 HMI in PPI network, set station no. from 0~3, and [High station address (HSA)] to 3.

Set HMI station number in [System Parameters] / [Model] / [HMI station no.]:

System Parameter Settings dialog with the Model tab selected, showing HMI station no. field set to 0.

Gap update factor (GUF)

The condition to pass a Token. In PPI network only HMI can hold a Token, PLC can only be controlled.

When the HMI that holds Token communicates with PLC for a number of times that equals to the value set here, HMI will pass the Token (control of PLC) to the next HMI. For example, if GUF is set to “1”, HMI will pass the control of PLC to the next HMI when read or write the value in an address.

If GUF is set to a bigger value, the HMI that holds Token will control the PLC for a longer time and therefore the Token won’t be passed to another HMI and cause failure in communicating with PLC.

A complete communication means HMI reads / writes PLC value for one time.

NOTE: HMI sta. no. can not be the same as PLC sta. no.

Highly recommended that HMI sta. no. starts from 0 and go on sequentially for the effectiveness of operation.

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)8 Data-
Data+↔ (bidirectional)3 Data+
GND↔ (bidirectional)5 GND