CO-TRUST CTH200 Series User manual

CTH200 Series PLC
User Manual
Edition: V1.10
Release date: 06/2019
Shenzhen Co-trust Technology Co.,Ltd

II
Copyright
Copyright ©2019
Shenzhen Co-trust Technology Co.,Ltd. All rights reserved.
You are not authorized to duplicate, excerpt the document in whole or in part or transfer it in any
form or by any means without prior written authority from COTRUST. Offenders will be liable for
damages. All rights, including rights created by patent grant or registration of a utility model or
design, are reserved.
Trademarks
, TrustPLC, CoPanel, COTRUST are registered trademarks of COTRUST.
Some of other designations used in this document are also registered trademarks; the owner’s
rights may be violated if they are used by third parties for their own purposes.
Disclaimer of Liability
We have checked the contents of this manual for agreement with the hardware and software
described. Since deviations cannot be precluded entirely, we cannot guarantee full agreement.
However, the data in this manual are reviewed regularly and any necessary corrections included
in subsequent editions. Suggestions for improvement are welcomed.

III
Safety Guidelines
Only qualified person are allowed to install, operate and maintenance on CTH200 Series PLC.
Qualified persons are defined as persons who are authorized to commission, ground, tag circuits,
equipment, and systems in accordance with established safety practices and standards.
COTRUST has no responsibility for any consequence caused by using this product.
This manual contains notices that you should observe to ensure your personal safety, as well as
to protect the product and connected equipment. These notices are highlighted in the manual by
a warning triangle and are marked as follows according to the level of danger:
Warning
“Warning” sign indicates operation not as required may result in severe personal injuries or
even death.
Caution
“Caution” sign indicates operation not as required may result in personal injuries or device
damage
Notice
“Notice” sign indicates necessary supplements or explanations
Precautions for Use
There must be safety circuit to ensure the operation security of PLC system when the external
power off or PLC failed. Notices in design for use including:
Emergency brake circuit, safety circuit, positive/reverse operation interlock circuit and the
upper/lower limit interlock switch of position for preventing device damage must be implemented
in the PLC external circuit.
To ensure the device operation security, the external guard circuit and safety mechanism for the
output signal of major accident is a must.
The PLC can detect system exceptions which resulting all output turned off, to ensure the device
operation normal, external control circuits need to be added.
When the Relay or Resistor Unit in PLC was damaged, the ON/OFF for PLC Outputs cannot be
controlled.
The Power system should fitted with lightning protection device, to prevent the PLC interfaces,
like power/signal inputs and controller outputs from being damaged by lightning over-voltage.

IV
Precautions for Installation
Do not install PLC at places with: dust, smut, conductive dust, corrosive gas, combustible gas,
vibration and shock. Do not expose the PLC in environment like high temperature, moisture
condensation and raining. Thunder strike, fire or disoperation can also cause product damage.
Prevent the metal filing and cable outlet falling into the PLC ventilation hole when wiring and
tightening the screws, for it may cause fire, failure and misoperation.
After installing PLC, there must be no sundries in case of fire, fault and misoperation caused by
bad heat dissipation.
Hot plugging is not allowed, shield cable must be used to increase immunity of inference.
In situations with serious interference, shielded twisted pair is recommended to improve the
anti-interference ability of the system.
Precautions for Wiring
Before Installation and wiring, all external powers must be cut-off, otherwise there maybe electric
shock and device damage.
Cover the terminal plate before powering on, follow the instructions in this manual to connect
power.
PLC in/out signals wires cannot be parallel with other high voltage or interference lines, they
should be layout in separate slots.
Separate the PG terminal on CPU with that of high voltage.
Operation and Maintenance
Do not touch the terminals with power on, in case of electric shock and device damage.
Clean and tighten screws, connect and dismantle cables or expansion modules after power off,
or it may cause electric shock and device damage
Do not dismantle the controller in case of damaging the internal parts.
Please reading this manual before modifying, testing, startup and stop programming.
Product Discard
The combustion of electrolytic capacitor on PCB can cause explosion, the main material on PLC
is plastic which would generate toxic gas when burnt.
Please follow the local environment regulations to dispose the abandoned products.

V
Preface
Thank you for choosing CTH200 PLC. Please reading this document carefully before using, so
that you could use it more securely and utilizing the abundant functions.
This manual concludes hardware specifications, features and installation of CTH200 PLC and its
expansion modules, besides, you can also refer to the instructions set and order number.
Contents abstract:
Chapter 1 describes the characteristics of CTH200 series PLC;
Chapter 2 show you how to use CTH200 PLC;
Chapter 3 introduces the installation methods and dimensions of CTH200 series PLC;
Chapter 4 introduces the specifications of CTH200 series PLC;
Chapter 5 describes the networks and communication protocols of CTH200 series PLC;
Chapter 6 illustrates the main features of CTH200 series PLC by some examples;
Chapter 7 describes the Power budget calculation of CTH200 system;
Chapter 8 provides the fault diagnosis for system Runtime;
Appendix provides application examples of multiple expansion modules and specified
libraries, and all the products order number.
Applicable Objects
All information about TrustPLC CTH200 PLC installing and debugging are oriented for Engineers,
Installation technician, maintainer and automation qualified electrician.
Online Help
For related product materials and technical support, please visit: http://www.co-trust.com

VI
Reversion History
Date
Version
Reversion description
June 2019
V1.10
Delete original chapter 5.1 and 5.2.
Add chapter 5.5, 5.6 and 5.7.
Add chapter 4.7.4. attach the order info of the PN module
and components in appendix Q
Add appendix N, add appendix O to replace original
chapter 3.4
Delete SDO instruction

VII
Catalogue
Copyright.......................................................................................................................................................... II
Safety Guidelines............................................................................................................................................ III
Precautions for Use................................................................................................................................... III
Precautions for Installation........................................................................................................................IV
Precautions for Wiring...............................................................................................................................IV
Operation and Maintenance......................................................................................................................IV
Product Discard.........................................................................................................................................IV
Preface..............................................................................................................................................................V
Reversion History...........................................................................................................................................VI
1Product Overview..................................................................................................................................... 1
1.1 CPU Introduction ............................................................................................................................. 1
1.2 Expansion Modules ......................................................................................................................... 3
1.3 Maximum System Configuration...................................................................................................... 6
1.4 Network Architecture ....................................................................................................................... 6
1.6 Standards and Specifications .......................................................................................................... 7
2Getting Started ......................................................................................................................................... 9
2.1 Connecting to CTH200 PLC............................................................................................................ 9
2.2 Communicate with CTH200........................................................................................................... 10
2.2.1 Serial Port Communication Mode ......................................................................................11
2.2.2 Ethernet Communication Mode......................................................................................... 12
2.2.3 Modify IPAddress in System Block................................................................................... 14
2.3 Create Program Network............................................................................................................... 14
2.3.1 Editing ............................................................................................................................... 15
2.3.2 Compiling .......................................................................................................................... 16
2.3.3 Downloading...................................................................................................................... 17
2.3.4 Running............................................................................................................................. 18
3Installation .............................................................................................................................................. 19
3.1 Important Notices........................................................................................................................... 19
3.2 Installation Dimension ................................................................................................................... 21
3.3 Installation Method......................................................................................................................... 22
3.4 Grounding and Wiring.................................................................................................................... 23
3.5 Suppression Circuit ....................................................................................................................... 24
4Technical Specifications....................................................................................................................... 26
4.1 General Specifications................................................................................................................... 26
4.2 CPU............................................................................................................................................... 26
4.2.1 CPU Specifications............................................................................................................ 26
4.2.2 Diagrams of CPU Structure and Wiring ............................................................................ 36
4.2.3 Definition of Communication Port...................................................................................... 41
4.2.4 DIP switch.......................................................................................................................... 42
4.2.5 Making Standard Net Cable .............................................................................................. 42
4.3 Digital Expansion Modules Specifications..................................................................................... 43
4.3.1 Digital Input Modules Specifications.................................................................................. 43

VIII
4.3.2 Digital Output Modules Specifications............................................................................... 45
4.3.3 Digital Input/Output Module Specifications........................................................................ 48
4.4 Analog Expansion Modules Specification...................................................................................... 52
4.4.1 Analog Input Module Specification.................................................................................... 53
4.4.2 Analog Output Module Specification................................................................................. 61
4.4.3 Analog I/O Modules Specifications.................................................................................... 63
4.5 Thermocouple and RTD Expansion Module Specifications .......................................................... 67
4.5.1 RTD Module Specifications............................................................................................... 68
4.5.2 Thermocouple Module Specifications ............................................................................... 73
4.5.3 Hybrid Temperature Module Specifications....................................................................... 78
4.6 PID Module Specifications............................................................................................................. 84
4.7 Communication Module Specifications.......................................................................................... 95
4.7.1 SM277A DP Slave Interface Module Specifications.......................................................... 95
4.7.2 SM277B DP Slave Module Specifications......................................................................... 98
4.7.3 SM277C CANopen Slave Module Specifications............................................................ 100
4.7.4 SM277-PN Slave Module Specifications......................................................................... 103
4.8 Weighing Module Specifications.................................................................................................. 104
4.9 Motion Control Module Specifications ......................................................................................... 106
4.10 BD Expansion Board Specifications and Installation................................................................... 108
4.10.1 Analog Expansion Board Specifications.......................................................................... 109
4.10.2 CAN Expansion Board Specifications ..............................................................................111
4.10.3 Circuit Guidance Expansion Board Specifications...........................................................112
4.10.4 Installation of BD Board....................................................................................................116
5Communication Protocol and Networking Mode...............................................................................117
5.1 PPI Communication......................................................................................................................117
5.2 MPI Communication .....................................................................................................................118
5.3 Freeport Communication..............................................................................................................119
5.4 CANopen Communication............................................................................................................119
5.5 Ethernet Communication............................................................................................................. 120
5.6 Profibus-DP Communication....................................................................................................... 120
5.7 PROFINET Communication ........................................................................................................ 121
6Applications.......................................................................................................................................... 123
6.1 CANopen Communication........................................................................................................... 123
6.1.1 Components.................................................................................................................... 123
6.1.2 Network Connection........................................................................................................ 123
6.1.3 Operating Steps............................................................................................................... 124
6.1.4 Diagnosis......................................................................................................................... 133
6.2 Modbus TCP Communication...................................................................................................... 134
6.2.1 Components.................................................................................................................... 135
6.2.2 Network Connection........................................................................................................ 135
6.2.3 Operating Steps............................................................................................................... 136
6.2.4 ModBus TCP Slave Address Mapping............................................................................ 138
6.3 UDP_PPI Communication........................................................................................................... 138
6.3.1 Components.................................................................................................................... 139
6.3.2 Network Connection........................................................................................................ 139
6.3.3 Operating Steps............................................................................................................... 139

IX
6.3.4 UDP_PPI Slave Address Mapping.................................................................................. 143
6.4 Analog I/O Expansion Board ....................................................................................................... 143
6.4.1 Installation Notes............................................................................................................. 143
6.4.2 Expansion Board Access Address .................................................................................. 143
6.5 Recipe and Data Log................................................................................................................... 145
6.5.1 Recipe ............................................................................................................................. 145
6.5.2 Data Log.......................................................................................................................... 153
7Power Budget....................................................................................................................................... 161
7.1 Power Requirements................................................................................................................... 161
7.2 5VDC Power................................................................................................................................ 162
7.3 24VDC Power.............................................................................................................................. 163
7.4 Power Calculation Example......................................................................................................... 164
8Fault Diagnosis .................................................................................................................................... 165
8.1 Diagnose by MagicWorks PLC.................................................................................................... 165
8.2 Diagnose by CTH200 CPU Modules........................................................................................... 168
Appendix ...................................................................................................................................................... 169
AUsing CT-MODBUS Master and Slave Libraries............................................................................ 169
A.1 CT_MODBUS library....................................................................................................... 169
A.2 Installation Instruction...................................................................................................... 169
A.3 CT_MODBUS Library Function Explanation................................................................... 171
BUsing CTH200 CPU Expansion Program Space............................................................................ 177
B.1 Function Introduction....................................................................................................... 177
B.2 Instruction........................................................................................................................ 177
CUsing CTH200 PLC Expand 100K Data Block Library................................................................... 179
C.1 Function Introduction....................................................................................................... 179
C.2 Instruction........................................................................................................................ 179
C.3 Ext_mem library Function Explanation............................................................................ 180
C.4 Application Example........................................................................................................ 181
DUsing PID Control Library of CTH200 PLC.................................................................................... 182
D.1 Using CPU Embedded PID_T Library............................................................................. 182
D.2 Using CTH200 PLC Thermocouple PID Control Module Library.................................... 186
EUsing Motion Control Library “motion_ctrl_lib” ............................................................................... 192
E.1 Introduction...................................................................................................................... 192
E.2 Installation Instruction...................................................................................................... 192
E.3 Instructions Explanation.................................................................................................. 193
E.4 Homing Mode Illustration ................................................................................................ 231
E.5 Examples......................................................................................................................... 239
FUsing SM231 Weighing Module and the Library............................................................................ 244
F.1 Weighing Library Function Illustration............................................................................. 244
F.2 Weighing Library Mode Explanation ............................................................................... 250
GSM277A Module ............................................................................................................................. 254
HSM277B Module............................................................................................................................. 258
H.1 PROFIBUS-DP Network Structure.................................................................................. 258
H.2 Components of SM277B................................................................................................. 259
H.3 Operating Guide.............................................................................................................. 259
IPermanent V Memory Library “CT_savevmem”............................................................................. 272

X
JSM253 Motion Control Library........................................................................................................ 274
J.1 Introduction...................................................................................................................... 274
J.2 Installation Instruction...................................................................................................... 274
J.3 sm253_motion_ctrl_lib Instruction List............................................................................ 275
J.4 sm253_motion_ctrl_lib Library Instruction Explanation................................................... 276
J.5 Debugging Example........................................................................................................ 300
KInstructions of ETHERNET_SET.................................................................................................... 305
K.1 Instruction........................................................................................................................ 305
K.2 Instruction Explanation.................................................................................................... 305
K.3 Example .......................................................................................................................... 307
LInstruction Set................................................................................................................................. 309
MProgramming Cable........................................................................................................................ 315
NHow to Use Programming Card ..................................................................................................... 316
OBattery Card and Memory Card ..................................................................................................... 320
PSpecial Function Register............................................................................................................... 322
QProduct Oder Info. .......................................................................................................................... 337

CTH200 Series PLC User Manual
1
1 Product Overview
CTH200 series PLC is a kind of automatic controller product introduced by COTRUST, which
aiming at the rapidly developing OEM market in China. Fuled by the abundant experience of
COTRUST engineers and the quick response to marketing demand of industry 4.0, it owns traits
from rich-model to Ethernet to excellent performance. CTH200 series PLC will not just offering
OEM clients with cost-effective solution of micro automation, but speed the development process
of industry 4.0 in China.
CTH200 is a general terms for all CPU products(nine types in all), including CPU H224, CPU
H226L, CPU H224X, CPU H226XL and CPU H228XL(the CPU H228XL is just relay-output while
others support both relay and transistor ). Supporting for variety of modules, such as digital I/O
modules, analog I/O modules, temperature sampling modules and so on gives you flexible
choice in front of industrial automation problem.
CTH200 PLC communicates with computer via Ethernet port or RS485 port, and programs on
MagicWorks PLC (version V2.08 or above) or MicroWin(not suit for Ethernet port).
CTH200 system can be made up by one single CPU as well as one CPU with up to 7 various
optional expansion modules.
1.1 CPU Introduction
CTH200 PLC is small robust programmable controller which encapsulating not only
micro-processor but also multiple digital I/O points, which can expand up to 7 modules via
communication bus.
Figure 1-1 CTH200 PLC structure diagram

Product Overview
2
Table 1-1 CTH200 CPU
Specifications
Order number
CPU
CPU H224 12KB program/8KB data, 24VDC power supply,
14DI/10DO transistor-source outputs, 0.5A, 1 PPI port, 1 freeport, 1
Ethernet port,3x50KHz motion outputs
CTH2 214-1AD33-0X24
CPU H224 12KB program/8KB data, 220VAC power supply,
14DI/10DO relay outputs, 2A, 1 PPI port, 1 freeport, 1 Ethernet port
CTH2 214-1BD33-0X24
CPU H226L 12KB program/8KB data,24VDC power supply,
24DI/16DO transistor-source outputs, 0.5A, 2 PPI/freeports,1
Ethernet port, 3x50KHz motion outputs
CTH2 216-2AD33-0X40
CPU H226L 12KB program/8KB data, 220VAC supply, 24DI/16DO
relay outputs, 2A, 2 PPI/freeports,1 Ethernet port
CTH2 216-2BD33-0X40
CPU H224X 16KB program/108KB data, 24VDC supply, 14DI/10DO
transistor-source outputs, 0.5A, 1 PPI port, 1 freeport, 1 Ethernet
port, 2x50KHz outputs (Pulse/Dir or PTO/PWM)
CTH2 214-1AX33-0X24
CPU H224X 16KB program/108KB data, 220VAC supply,
14DI/10DO relay outputs, 2A, 1 PPI port, 1 freeport, 1 Ethernet port
CTH2 214-1BX33-0X24
CPU H226XL 72KB program/110KB data, 24VDC supply,
24DI/16DO transistor-source outputs, 0.5A, 2 PPI/freeports,1
Ethernet port, 2x50KHz outputs (Pulse/Dir or PTO/PWM)
CTH2 216-2AX33-0X40
CPU H226XL 72KB program/110KB data, 220VAC supply,
24DI/16DO relay outputs, 2A, 2 PPI/freeports, 1 Ethernet port
CTH2 216-2BX33-0X40
CPU H228XL 96KB program/110KB data, 220VAC supply,
36DI/24DO relay outputs, 2A, 2 PPI/freeports, 1 Ethernet port
CTH2 218-3BX33-0X60
CPU features:
Reliability and Stability
Resist ESD/EFT, tested by strict industrial environment, CE certified
Three proofings processed, suited for various harsh industrial environment
User program and data can be kept permanently
Multiple password protection, one-way downloading for kernel program, permanent
confidential
Anti-thunder for COM ports, with high reliability
With build-in real-time clock
Robust communication capability
Integrate 2 or 3 COM ports
Support MPI, PPI, DP, Freeport, ModBus and Ethernet communication protocols
Exchanging 200Bytes per read-write operation, enhanced networking communication
High intelligence

CTH200 Series PLC User Manual
3
Integrated parameter self-tuning fuzzy logic algorithm and temperature control PID library,
with high accuracy and dynamic performance
Build-in plenty of integrated functions with simplified programming and flexible control
High-speed closed loop can be delivered to support some high-speed system application
Abundant motion control functions, suitable for some synchronization and positioning
applications
High speed and high-capacity
Logical operation speed: 0.22µs for H224 and H226L ; 0.15µs for H224X/H226XL/H228XL
Floating-point calculation speed: 12µs for H224/H226L; 8µs for H224X/H226XL/H228XL
Large program capacity: 12K-72Kbyte
Large data space: 8K-110Kbyte
High-speed Input counter: 4 for H224 and H226L; 6 for H224X/H226XL/H228XL
High speed pulse output: 3 for H224 and H226L; 2 for H224X/H226XL/H228XL
Ultra system expandation
Analog I/O: 32AI/32AQ for H224/H226L; 194AI/194AQ for H224X/H226XL/H228XL
Digital I/O: 128DI/128DQ for H224/H226L; 640DI/640DQ for H224X/H226XL/H228XL
Expansion I/O modules up to 7
1.2 Expansion Modules
CTH200 CPU offers local I/Os, you can also use expansion modules for more additional I/Os and
communication functions. The various expansion modules include digital I/O modules, analog
I/O modules, temperature collection modules and DP communication modules etc. These
modules consist of different I/O number, used for configuring various scale of I/Os with high cost
performance. All modules are installed with standard DIN35 rail.
Table 1-2 Specifications of expansion modules
Specifications
Order number
SM221 digital input module, 8 inputs, 24VDC
CTH2 221-1BF32
SM221 digital input module, 16 inputs, 24VDC
CTH2 221-1BH32
SM221 digital input module, 32 inputs, 24VDC
CTH2 221-1BL32
SM222 digital output module, 8 transistor outputs, 24VDC, 0.5A(with
Output Protection)
CTH2 222-1BF32
SM222 digital output module, 16 transistor outputs, 24VDC, 0.5A(with
Output Protection)
CTH2 222-1BH32
SM222 digital output module, 32 transistor outputs, 24VDC, 0.5A(with
Output Protection)
CTH2 222-1BL32
SM222 digital output module, 8 relay outputs, 2A
CTH2 222-1HF32
SM222 digital output module, 16 relay outputs, 2A
CTH2 222-1HH32
SM223 digital input/output module, 4*24VDC inputs, 4 transistor outputs,
CTH2 223-1BF32

Product Overview
4
24VDC, 0.5A(with Output Protection)
SM223 digital Input/Output module, 8*24VDC inputs, 8 transistor outputs,
24VDC, 0.5A (with Output Protection)
CTH2 223-1BH32
SM223 digital Input/Output module, 16*24VDC inputs, 16 transistor
outputs, 24VDC, 0.5A (with Output Protection)
CTH2 223-1BL32
SM223 digital input/output module, 4*24VDC inputs, 4 relay outputs,2A
CTH2 223-1HF32
SM223 digital input/output module, 8*24VDC inputs, 8 relay outputs, 2A
CTH2 223-1PH32
SM223 digital input/output module, 16*24VDC inputs, 16 relay outputs,
2A
CTH2 223-1PL32
SM231 Analog Input module with 4 inputs, 0~20 mA current input or ±
5V, ±2.5V, 0~10V, 0~5V voltage input, isolated 12 bit resolution
CTH2 231-0HC32
SM231 high precision analog input modules, 8 inputs, voltage input, and
opto-isolator 16 bits precision.
CTH2 231-0HF32
SM231 high precision analog input modules, 8 inputs, current input,
opto-isolator 16 bits precision.
CTH2 231-1HF32
SM231 analog voltage input module with 8 inputs, ±2.5V, 0~10V, 0~5V
voltage input or optional 0~20 mA current input, isolated 12 bits resolution
CTH2 231-5HF32
SM231 thermal resistance temperature Input module, 2 RTDs, isolated 16
bits resolution
CTH2 231-7PB32
SM231 thermal resistance temperature Input module, 4 RTDs, isolated 16
bits resolution
CTH2 231-7PC32
SM231 thermal resistance temperature Input module, 4xTC,
J/K/R/S/T/E/N, isolated 16 bits precision
CTH2 231-7PD32
SM231 thermal resistance temperature Input module, 8xTC,
J/K/R/S/T/E/N, isolated 16 bits precision
CTH2 231-7PF32
SM231 thermocouple PID module, 4 J/K, with intelligent PID, isolated 16
bits precision
CTH2 231-7TD32
SM231 thermocouple PID module, 8 J/K, with intelligent PID, isolated 16
bits precision
CTH2 231-7TF32
SM231 8 current inputs, 0~20mA/4~20mA, with intelligent PID, isolated
16 bits precision
CTH2 231-7HF32
SM231 hybrid temperature Input module, 2 NTC or PT100, 2 0~20mA
current or ±5V, ±10V, 0~10V, 0~5V voltage input, isolated 16 bit precision
CTH2 231-7ND32
SM231 thermal resistance temperature Input module, 8NTC/PT100,
isolated 16 bits precision
CTH2 231-7NF32
SM231 weighing module, 1 sensor input, 50Hz sample frequency, 0.01%
accuracy, 6VDCx150MA excitation power output, isolated 16 bits
precision
CTH2 231-7WA32
SM232 Analog Output Module, dual ±10V supply or 0~20mA current
outputs, isolated 12 bits voltage or 11 bits current precision
CTH2 232-0HB32
SM232 Analog Output Module, quad ±10V supply or 0~20mA current
outputs, isolated 12 bits voltage or 11 bits current precision
CTH2 232-0HD32
SM235 analog Input/Output Module, 4 voltage/current inputs, 1
voltage/current output, isolated 12 bits voltage or 11 bits current precision
CTH2 235-0KD32
SM253 motion control module, 2 uniphase or AB phase HSC input,
CTH2 253-1BH32

CTH200 Series PLC User Manual
5
200KHz, 2xPTO/PWM outputs, 200KHz, COTRUST motion control
libraries
SM277A Profibus DP Slave Interface Module, 12M traffic rate,
photoelectric isolated
CTH2 277-0AA32
SM277B Profibus DP Slave module, 1.5Mbps traffic rate, photoelectric
isolated
CTH2 277-0AB32
SM277C CAN Slave module, 8DI/6DO, photoelectric isolated, up to 7
extendable modules
CTH2 277-0AC32
Table 1-3 BD Expansion Boards
Module Name
Specifications
Order number
EBH AMS-03
Analog I/O Expansion Board, 2*12 bits precision
inputs, 1*12 bits precision voltage/current output
CTH2 AMS-03S1-EB
EBH-AMS-06
Analog I/O Expansion Board, 4*12 bits precision
voltage inputs, 2*12 bits precision voltage output
CTH2 AMS-06S1-EB
EBH-AMS-06
Analog I/O expansion board, 4*12 bits precision
voltage inputs, 2*12 bits precision current output
CTH2 AMS-06S2-EB
EBH CAN-01
CAN Master communication expansion board,
1Mbps, photoelectric isolated
CTH2 CAN-01S1-EB
EBH PWM04
Charging guidance expansion board, two-channel
voltage input, single-channel PWM output.
CTH2 PWM-04S1-EB
Notice
H224/H226L do not support CAN-01 master expansion board.
Features of expansion modules:
Filter technology
All the analog modules integrate CPU itself, with high stability due to advanced filter technology.
Digital module
All the digital I/O modules are equipped with optoelectronic isolation and disturbance rejection.
Temperature acquisition module
Integrated bus isolation, power isolation and interchannel isolation, high immunity from
interference and high sampling accuracy, with intelligent fault diagnosis.
Intelligent module
The PID modules like Temperature Control can promote the respond speed of program
executing.
Communication module
The expansion board for CAN master and the DP Slave module can significantly increase the
interconnectivity and communication performance.
Analog I/O expansion board

Product Overview
6
The analog I/O expansion board has 2x12 bits voltage inputs and 1x12 bit voltage/current input.
1.3 Maximum System Configuration
Up to 7 expansion modules per PLC connection
Digital image register: 128DI/128DQ for H224/H226L; 640DI/640DQ for
H224X/H226XL/H228XL, in which including private image for CAN communication.
Analog image register: 32AI/32AQ for H224/H226L; 194AI/194AQ for
H224X/H226XL/H228XL, in which including private image for CAN communication.
1.4 Network Architecture
The typical network architecture for CTH200 system is shown as following:
Figure 1-2 CTH200 Network Architecture
Note:
Inter-PLC communication
H224/H226L: 8 UDP_PPI connections, max. 200 bytes per connection. 5 MODBUS_TCP
connections, maximum 240 bytes per connection.
H224X/H226XL: 8 UDP_PPI connections, 4 masters and 4 slaves, max. 200 bytes per
connection. 4 MODBUS_TCP connections, including 2 masters and 2 slaves, max. 240 bytes
per connection.
H228XL: 8 UDP_PPI connections, including 4 master and 4 slave connections, max. 200 bytes
per connection. 6 MODBUS_TCP connections, including 3 masters and 3 slaves, max. 240
bytes per connection

CTH200 Series PLC User Manual
7
PLC connect with HMI (or third-party software), with HMI or the third-party software as master
UDP_PPI: H224/H226L connect up to 8 HMI while H224X/H226XL/H228XL up to 4.
MODBUS_TCP: H224/H226L can connect up to 5 HMI; H224X/H226XL up to 2 and H228XL up
to 3.
CPU can access other devices as master, equivalently a master connection for the CPU itself.
CPU can be accessed as slave by other devices, equivalently a slave connection for the CPU
itself.
1.6 Standards and Specifications
CTH200 series PLC have been approved for various international and industrial standards, the
specifications for operating environment are shown as table 1-4:
Table 1-4 Standards and specifications of CTH200 series PLC
Environmental condition
Items
H224/H226L
H224X/H226XL/H228XL
Transport and storage
Temperature
-25℃~ 70℃
-40℃~+85℃
Atmosphere press
1080hPa~660hPa(corresponding hight-1000m ~ +3500m)
Relative humidity
5%~95%, non-condensation
10%~95%, non-condensation
Falling
1m, 5 times, transport package
Working environment
Temperature
Horizontal
0℃~55℃
Vertical
0℃~45℃
Atmosphere press
1080hPa~795hPa(corresponding hight-1000m ~ +2000m)
Relative humidity
10%~95%, non-condensation
Pollutant concentration
Lower salt mist, moist and dust fog
SO2<0.5ppm, relative humidity <60%, non-condensation
H2S<0.1ppm, relative humidity <60%, non-condensation
EMC- interference rejection
Electrostatic discharge
IEC61000-4-2
Contact-discharge: ±4KV (grade A)
Air-discharge: ±8KV (grade A)
Electric fast-transient
pulse group
IEC61000-4-4
Power line: 2KV, 5KHz(grade A)
Signal line: 2KV, 5KHz (I/O coupling clamp, grade A)
1KV, 5KHz (COM coupling clamp, grade A)
Surge
IEC61000-4-5
Power line: 2KV(asymmetric), 1KV(symmetric, grade B)
Radiofrequency
electromagnetic radiation
IEC61000-4-3
80MHz~1GHz, 10V/m, 80%AM(1KHz, grade A)
1.4GHz~2GHz, 3V/m, 80%AM(1KHz)
2GHz~2.7GHz, 1V/m, 80%AM(1KHz)
Radiofrequency
conduction interference
IEC61000-4-6
0.15MHz~80MHz, 10V/m, 80%AM(1KHz, grade A)
15KHz~150KHz, 10V/m, 80%AM(1KHz)

Product Overview
8
DC input short-interrupt
and voltage change
IEC61000-4-29
Short-interrupt: 10ms
Voltage change: 80%~120%, 100ms
Antidumping vibration
wave
IEC61000-4-12
Power line: 1KV
Digital I/O(0(24V or higher): 1KV
EMC –conduction and radiated emission
Radiation(noise) EMI
EN55011, type A 1 group
Measuring distance: 10m
30MHz~230MHz, < 40dB(uV/m) peak value
230MHz~1000MHz, < 47dB(uV/m) peak value
Conduction(noise) AC
power interference
EN55011, type A 1 group
Measuring distance: 10m
0.15~0.5MHz, < 79dB(uV/m)peak value;< 66dB(uV/m) average
0.5~5MHz, < 73dB(uV/m)peak value;< 60dB(uV/m) average
5~30MHz, < 73dB(uV/m)peak value;< 60dB(uV/m) average
Environment test index
Hot operation
IEC60068-2
Cold operation
IEC60068-2
60℃16h
-10℃16h
Hot startup IEC60068-2
Cold startup IEC60068-2
60℃2h
-10℃2h
Hot/cold cycle operation
IEC60068-2
3h of dwell time under -10℃~60℃, temperature rising speed 1℃
/min, 2 cycles
Hot storage IEC60068-2
Cold storage IEC60068-2
70℃72h
-40℃72h
Hot/cold shock
IEC60068-2
3h of dwell time under -40 ℃~70 ℃, temperature changing
time<1min, 5 cycles
Hot and humid
IEC60068-2
40℃48h
Alter hot and humid
IEC60068-2
25℃~55℃95%, 2 cycles
Sine vibration(bare
machine) IEC60068-2
5~150Hz, 0.05G2/Hz
150Hz~500Hz -3dB/oct, 1 hour/axis; X, Y and Z 3 axes in all
Strike (bare
machine)IEC60068-2
15G, 11ms pulse, 3 times/direction
Hybrid gas erosion test
IEC60068-2-60
H2S: 0.1ppm, NO2: 0.2ppm, CL2: 0.02ppm, temperature: 30℃,
humidity: 75%, period: 4 days
High-press insulation test index
24V/5V standard circuit
110V/220V circuit to earth
110V/220V circuit
110V/220V to 24V/5V
circuit
500 VAC
1500 VAC
1500 VAC
1500 VAC

CTH200 Series PLC User Manual
9
2 Getting Started
Example in this chapter shows you how to program and compile as well as its connection with
CTH200 series PLC in MagicWorks PLC.
2.1 Connecting to CTH200 PLC
After connecting the CTH200 CPU to program device with the RS485 cable, power it on.
CTH200 series PLC supports Ethernet communication, please connect the CTH200 CPU to
program device with Standard Ethernet cable.
Power supply for CTH200 CPU
The following Figures are diagram for 2 models of CPU:
DC Power AC Power
Figure 2-1 Power up the CTH200
Warning
Don’t install and wire the CTH200 series PLC with power on, faulty operation can cause
serious damage for machines and personal death. Ensure disconnecting power while
install or disassemble any electric device.
Connecting with RS485 cable
Figure 2-2 shows how to connect CTH200 CPU with programming device by RS485 cable.
Notice
Please install the drive for PLC program cable referring to Appendix K Instructions of
ETHERNET_SET.
1. Connect USB port of the Cable to the communication port of program computer (PC), thus can
generate a virtual serial port.
2. Connect RS485 interface of the cable to the Port0 or Port1 of CTH200 CPU.

Getting Started
10
Figure 2-2 Cable connection between CTH200 PLC and PC
PLC connection with net cable
Figure 2-3 illustrates how to use standard net cable to connect CTH200 PLC with PC.
Figure 2-3 connection between CTH200 PLC&PC using net cable
MagicWorks PLC
Double-click the icon to start MagicWorks PLC software, select “File ->New”to create a new
project. Figure 2-4 shows a project tree, in which you can click icons to open MagicWorks PLC
components.
Figure 2-4 MagicWorks PLC Operation interface
2.2 Communicate with CTH200
Table of contents