Download Print this page

Advertisement

Quick Links

TrustPLC CTSC-200 Series PLC
User Manual
Edition: V1.00
Release: 03/2019
Shenzhen co-trust Technology Co.,Ltd.

Advertisement

loading
Need help?

Need help?

Do you have a question about the TrustPLC CTSC-200 Series and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for CO-TRUST TrustPLC CTSC-200 Series

  • Page 1 TrustPLC CTSC-200 Series PLC User Manual Edition: V1.00 Release: 03/2019 Shenzhen co-trust Technology Co.,Ltd.
  • Page 2: Copyright

    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 Co-trust. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved.
  • Page 3: Safety Guidelines

    TrustPLC CTSC-200 Series PLC User Manual Safety Guidelines Only qualified person are allowed to install, operate and maintenance on TrustPLC Series PLC. Qualified persons are defined as persons who are authorized CTSC-200 to commission, ground, tag circuits, equipment, and systems in accordance with established safety practices and standards.
  • Page 4: Installation Notes

    TrustPLC CTSC-200 Series PLC User Manual Installation Notes Do not install PLC at places as: dust, smut, conductive dust, corrosive gas, combustible gas, vibration and shock. Do not expose the PLC into high temperature, moisture condensation, raining, thunderstrike, fire or disoperation can also cause damage to the product.
  • Page 5: Preface

    TrustPLC CTSC-200 Series PLC User Manual Preface Thank you for choosing PLC. Please reading this document TrustPLC CTSC-200 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...
  • Page 6: Table Of Contents

    TrustPLC CTSC-200 Series PLC User Manual Catalogue Copyright ..............................II Safety Guidelines ........................... III Precautions for Use ........................III Installation Notes..........................IV Wiring Notes............................ IV Operation and Maintenance ......................IV Product Obsolescence ........................IV Preface ..............................V Product Overview ........................... 10 System Overview ........................
  • Page 7 TrustPLC CTSC-200 Series PLC User Manual 4.4.3 Analog IO Modules Specifications ................79 Temperature Measuring Module Specifications ..............83 4.5.1 Thermal Resistance Measuring Module Specifications .......... 84 4.5.2 Thermal Resistance Measuring Modules Specifications ........88 4.5.3 Hybrid Temperature Input Modules Specifications ..........94 PID Control Modules Specifications .................
  • Page 8 TrustPLC CTSC-200 Series PLC User Manual 5.6.2 Network Connections .................... 171 5.6.3 Operation Steps ....................171 5.6.4 UDP PPI Mapping from Slave Station ..............175 CANopen Communication Sample ................... 175 5.7.1 The Sample Components ..................175 5.7.2 Network Connections .................... 177 5.7.3 Operation Steps ....................
  • Page 9 TrustPLC CTSC-200 Series PLC User Manual Using EM277A Module ......................288 Using EM277B Module ......................292 Construction of PROFIBUS-DP Network .............. 292 EM 277B Components and Installation Diagram ..........293 User Guide ......................294 Using EM253 Motion Control Library ................... 307 Function Introduction .....................
  • Page 10: Product Overview

    TrustPLC CTSC-200 to meet the small and medium-sized control needs perfectly. TrustPLC CTSC-200 series products offers you various CPU and modules, the abundant CPU types and voltage classes help you to solve industrial automation problems. TrustPLC CTSC-200 system can be composed of a single CPU, or composed of one CPU and seven extension modules.
  • Page 11 TrustPLC CTSC-200 Series PLC User Manual Mounting hole Output(24VDC/relay) Power input CPU status lights Storage card / Mode switch battery card Expansion modules port Analog potentiometer RS485 FPORT 24VDC input Power output RS485 FPORT 40 I/Os without Ethernet port RS485 FPORT Mounting hole (...
  • Page 12 TrustPLC CTSC-200 Series PLC User Manual Figure 1-1 Structure of CTSC-200 CPU Table 1-1 Introduction of CPU Name Order No. Description Integrates two COM ports: one PPI port, one Freeport Transistor: (FPORT), 14DI/10DO; 16KB program/110KB data CTS7 214-1AD33-0X24 CPU 224+ (permanent retention);...
  • Page 13 TrustPLC CTSC-200 Series PLC User Manual program/108KB data; six isolated 30KHz HSCs, two Relay: isolated 50KHz HSP outputs CTS7 214-1BD41-0X24 Transistor: Integrates three COM ports: two PPI/FPORT, one CTS7 214-2AD41-0324 Ethernet port; 14DI/10DO; 2AI/1AQ, 72KB CPU224XP program/110KB data; six isolated 30KHz HSCs, two...
  • Page 14 TrustPLC CTSC-200 Series PLC User Manual Transistor: CTS7 216-1AH34-0B24 Transistor: CTS7 216-1AH34-1B24 Transistor: CTS7 216-1AH34-2B24 Transistor: CTS7 216-1AC33-0X24 226M-CAN Transistor: Integrates two COM ports: two PPI/FPORT; CPU 226H CTS7 216-1AH35-2B24 14DI/10DO; 72KB program/110KB data; six isolated 200KHz HSCs, four isolated 200KHz HSP outputs,...
  • Page 15: Expansion Module

    TrustPLC CTSC-200 Series PLC User Manual  Abundant of motion control functions, suitable for some synchronization and positioning applications High speed and high-capacity  Logical operation rate: 0.15µs  Floating-point calculation rate: 8µs  High program capacity: 12K—72Kbytes  Large data space: 8K—10K, max 110Kbytes ...
  • Page 16 TrustPLC CTSC-200 Series PLC User Manual Expansion Types Specification module Input module 8 DI, 16 DI, 32 DI 8 DO, 16 DC outputs, 32 DC outputs, Output module 8 RLY outputs, 16 RLY outputs Digital 4 DI/4DO, 8DI/8DO, 16DI/16DO In/Out module...
  • Page 17: Max System Configuration

    CTSC-200 PLC. It can also display text messages and other application data via TD 200 wizard. TD2X Copanel TD2X is a text display of TrustPLC CTSC-200 series, which supports MagicWorks PLC and Siemens Micro/Win V4.0 program software. Features: ...
  • Page 18 Access screen and alarms  Set TD Device TD4S Copanel TD4S is a TrustPLC CTSC-200 series Text Display, which is compatible with both MicroWin and MagicWorks PLC, can be used for operators to interact with program. Features:  Menus and Tips in 6 languages (German, English, Chinese, French, Italian, Spanish)
  • Page 19: Introduction Of Communication

    TrustPLC CTSC-200 Series PLC User Manual  9 types of character sets  Display CPU information  Custom alarms  Custom keys  Custom screen and menu  Embedded variables into SCREEN and ALARM  Password protection  Access screen and alarms ...
  • Page 20: Getting Started

    TrustPLC CTSC-200 Series PLC User Manual Getting Started This chapter introduces how to connect CTSC-200 PLCs and use MagicWorks PLC software to program and run the PLCs. Connecting to CTSC-200 PLC  Before powered up, the CTSC-200 PLC needs to be connected with Programming device by using RS485 cable.
  • Page 21 TrustPLC CTSC-200 Series PLC User Manual port). 2 Connect the USB port on program cable with the COM 0/COM 1 on CTSC-200 CPU. RS485 Figure 2-2 Using program cable to connect CTSC-200 PLC with PC PLC connection with net cable Figure 2-3 illustrates how to use standard net cable to connect CTSC-200 PLC with PC.
  • Page 22: Communication Settings

    TrustPLC CTSC-200 Series PLC User Manual Communication Settings CTSC-200 PLCs all support serial communication, in which the CPU224I supports both serial and Ethernet communication. In this section, we use CPU224I as example to introduce the communication configurations. 2.2.1 Serial Port Communication...
  • Page 23: Ethernet Communication

    Switch PLC to STOP when the communication protocol had changed previously. 2) Check the drive The cable provided by Co-trust must have matched drive, please obtain the drive from the following site: http://www.co-trust.com 3) Check the communication settings ...
  • Page 24 TrustPLC CTSC-200 Series PLC User Manual Figure 2-6 MagicWorks PLC Ethernet communication interface 3) Establish communication with CTSC-200 PLC: Double-Click the Refresh icon in the following dialog, MagicWorks PLC will search for and show the connected CTSC-200 PLC. Users can choose the CTSC-200 station and click OK after searching. If the MagicWorks PLC hasn not found the CTSC-200 CPU, please check wring first and then validate the Communication settings, after which repeat the above steps.
  • Page 25: Create Program

    TrustPLC CTSC-200 Series PLC User Manual to-255). Please set PC IP as following procedures: Step 1 Step 2 Step 3 Caution CPU224I supports Ethernet communication with an Ethernet port and can establish a remote connection with PC. Only the remote IP for PLC be in the same domain with PC IP, then the PLC can be searched.
  • Page 26: Edit Program

    TrustPLC CTSC-200 Series PLC User Manual Figure 2-7 Example of CTSC-200 program Segment comment: Network 1: LD SM0.1 // Enable by first scan of SM0.1 MOVB 1, QB0 // Transfer 1 into QB0 Network 2: LD SM0.0 // Enable signal...
  • Page 27: Compile Program

    TrustPLC CTSC-200 Series PLC User Manual Figure 2-8 Program editor 2.3.2 Compile Program The program needs to be compiled when editing completely: 1) Select menu command “PLC -> Compile” or click Compile button 2) The output window at bottom will show status for compiling, if there occurs error, users...
  • Page 28: Download Program

    TrustPLC CTSC-200 Series PLC User Manual 2.3.3 Download Program in toolbar or select the menu command “PLC -> Download” to Click the download icon download the program into CTSC-200, as shown in Figure 2-11 and 2-12. CTSC-200 PLCs support read/write online, which means user can write instructions or parameters into PLCs during Running, without switching to STOP.
  • Page 29: Run Plc

    TrustPLC CTSC-200 Series PLC User Manual 2.3.4 Run PLC MagicWorks PLC can switch the CTSC-200 PLC into RUN mode and execute program when the Mode Switch of PLC set to RUN: in toolbar or select the menu command “PLC -> RUN”.
  • Page 30: Installation

    TrustPLC CTSC-200 Series PLC User Manual Installation TrustPLC CTSC-200 PLCs have been designed convenient for installation, they can be fixed into backplane of the cabinet via mounting hole, or use the DIN clamp to mount on a standard DIN rail. It’s compact structure allow users utilizing space efficiently.
  • Page 31 TrustPLC CTSC-200 Series PLC User Manual Space Installation Figure 3-1 Power budget CTSC -200 series CPU has an internal power supply offer 24VDC for itself, the expansion modules and other device. It also provide 5VDC logic power supply, which can be used for power supply of any expansion in the system.
  • Page 32: Installation Dimension Description

    TrustPLC CTSC-200 Series PLC User Manual Installation Dimension Description TrustPLC CTSC-200 PLCs and all expansion modules have mounting holes, with which can be installed at back plane conveniently. The following figure shows the Installation Dimension for all PLC and expansion modules.
  • Page 33: Installation Method

    TrustPLC CTSC-200 Series PLC User Manual 39.50 37.20 45.20 Installation Method TrustPLC CTSC-200 can be installed on standard DIN35 rail or panel. Prerequisites Make sure the equipment has been powered off before assembling and disassembling, meanwhile, all related devices must also be powered off.
  • Page 34 TrustPLC CTSC-200 Series PLC User Manual Warning Don’t assemble and disassemble the CTSC-200 PLC and related devices with power, otherwise can cause electric shock or malfunction, even serious damage, injury or death. With the CTSC-200 PLC powered off, Correct or equivalent modules need to be used for replacing and installing, meanwhile the direction and location must be correct when replacing modules, or it can result in damage, injury or death.
  • Page 35: Grounding And Wiring

    TrustPLC CTSC-200 Series PLC User Manual 3) Open the front cover to pull up the extended flat cable from neighbor expansion module (if there has). 4) Remove the mounting screw or open the DIN clamp. 5) Remove the CPU and modules.
  • Page 36: Suppression Circuit

    TrustPLC CTSC-200 Series PLC User Manual Warning Grounding or wiring with power could result in death or serious injury to personnel, and/or damage to equipment. Safety must be considered when designing ground and wire for CTSC-200 system in case triggering the device malfunction. Therefore, all safety rules should be implemented to protect operator and device.
  • Page 37 TrustPLC CTSC-200 Series PLC User Manual AC Outputs and Relay Outputs for AC load The AC outputs have internal protection that is adequate for most applications. Since the relays can be used for either DC or AC load, internal protection is not provided.
  • Page 38: Technical Specifications

    TrustPLC CTSC-200 Series PLC User Manual Technical Specifications General Specifications Table 4-1-1 Electrical and environmental specifications Items Description Rated input voltage AC: 220V, DC: 24V Voltage range AC: 85 V~265 V, DC: 20.4 to 28.8V Operation 0 ~ 55℃ temperature -25 ~ 70 ℃...
  • Page 39: Cpu

    TrustPLC CTSC-200 Series PLC User Manual 4.2.1 Specifications of CPU This section introduces the whole general specifications for CTSC-200 CPUs, including Inputs, Outputs and Power Supply. Table 4-2-1 CPU Power supply Digital Power Digital Analog Analog Order No. Name input...
  • Page 40 TrustPLC CTSC-200 Series PLC User Manual V5(upgrade) CTS7216-1AH35-2B24 24VDC 14*24 10*24VDC CTS7216-1AH34-2B24 24VDC 14*24 10*24VDC 226H-CAN CTS7216-1AC33-0X24 24VDC 14*24 10*24VDC 226M-CAN CTSC266-3AT33-2424 PSC 266 24VDC 14*24 10*24VDC Table 4-2-2 CPU Summary Available VDC (mA) Dimension Power Types (mm) +5VDC +24VDC CPU224E DC/DC/DC, 14DI/10DO 137×80×62...
  • Page 41 TrustPLC CTSC-200 Series PLC User Manual Table 4-2-3 Specifications of CTSC-200 CPU power supply Power supply Input voltage 20.4~28.8 VDC 85~264 VAC Input current CPU only Maximum load CPU only Maximum load CPU224+/ 224+V5(upgrade)/224 E/224I/224XP/ 60/30 mA in 200/100 mA in...
  • Page 42 TrustPLC CTSC-200 Series PLC User Manual CPU 224XP/226M/226L/226I/226H: 10KB, extend to 110KB 226 V5(upgrade): 10KB, extend to 110KB, everlasting Backup (super capacitor) About 112 hours (typical value) Power-off protection time About 200 days (typical value) Supercapacitor 112 hours(typical value), power-off protection...
  • Page 43 TrustPLC CTSC-200 Series PLC User Manual Analog potentiometer 2 with 8 bits resolution ≤0.15μs Boolean execution speed Float execution speed ≤8µs Calendar clock Build-in MODBUS RTU master-slave communication library MODBUS TCP communication library Built-in library PID_T communication library (support 64 loops)
  • Page 44 TrustPLC CTSC-200 Series PLC User Manual Port 1 standard Ethernet port Communication standard IEEE802.3 Transmission rate 10Mbps and 100Mbps adaptive Adaptive cross-over connection Port for industrial Ethernet RJ45 plug (10/100Mbps) UDP/TCP protocol, Support iNet Ethernet programming and Protocol type communications between PLCs...
  • Page 45 TrustPLC CTSC-200 Series PLC User Manual Diphase 4, each work in 20 KHz Pulse output 2, each work in 20 KHz(for DC output) Features 256 timers in all; 1ms – 4; 10ms – 16; 100ms - 236 Timers Counters 256(supported by supercapacitor)
  • Page 46 TrustPLC CTSC-200 Series PLC User Manual Surge voltage 35 VDC for 0.5 s Logic 1 (min) 15 VDC at 2.5mA Logic 0 (max) 5VDC at 1mA Input delay Selective (0.2~12.8ms) Max allowable leakage current (Bero) Configurable, support 0.2ms, 0.4ms, 0.8ms, 1.6ms, 3.2ms, Input filter 6.4ms, 12.8ms.
  • Page 47 TrustPLC CTSC-200 Series PLC User Manual Contact lifetime 100,000 (rated load) Simultaneous outputs All at 55° C Two Parallel outputs Shielded 500m Max cable length Unshielded 150m Notice Shielded twisted pair is recommended for HSC inputs. Table 4-2-7 Analog input&output specifications of CPU224XP...
  • Page 48: Cpu Wiring Diagrams

    TrustPLC CTSC-200 Series PLC User Manual 0~32767 Data word Voltage format 0~32000 Current Worst case (0 ~ 55 ℃): ±2% full scale Voltage Typical (25 ℃): ±1% full scale Worst case (0 ~ 55 ℃): ±3% full Worst case (0 ~ 55 ℃ ):...
  • Page 49 TrustPLC CTSC-200 Series PLC User Manual 模 拟 量 输 入/输 出 Analog I/O 电 电 流 压 负 负 载 载 输 入 输 出 Output Input Figure 4-1 CPU Inputs and Outputs Figure 4-2 CPU 224E/224+/224+ V5 (upgrade)/224I/224XP/226M/226M V5 (upgrade)/226M-CAN...
  • Page 50 TrustPLC CTSC-200 Series PLC User Manual Figure 4-3 CPU 226L wiring diagrams...
  • Page 51 TrustPLC CTSC-200 Series PLC User Manual Figure 4-4 CPU 226L V5 (upgrade) wiring diagrams Figure 4-5 CPU 226H/226H V5 (upgrade) wiring diagrams...
  • Page 52 TrustPLC CTSC-200 Series PLC User Manual Figure 4-6 CPU 226I wiring diagrams Figure 4-7 PSC266 wiring diagrams...
  • Page 53: Digital Module Specifications

    TrustPLC CTSC-200 Series PLC User Manual Digital Module Specifications Table 4-3-1 Digital module Order No. Description Order No. TrustPLC CTSC-200 EM221 digital input module, 8 inputs CTS7 221-1BF32 TrustPLC CTSC-200 EM22 digital input module, 16 inputs CTS7 221-1BH32 TrustPLC CTSC-200 EM221 digital input module, 32 inputs...
  • Page 54 TrustPLC CTSC-200 Series PLC User Manual Table 4-3-3 Digital input module specifications Inputs 8 inputs, 24V DC 16 inputs, 24V DC 32 inputs, 24V DC 32 inputs, 24V DC Dimensions 46×80×62mm 71×80×62mm 138×80×62mm 71×80×62mm (W×H×D) Power dissipation Power +5V DC...
  • Page 55 TrustPLC CTSC-200 Series PLC User Manual Terminal connections...
  • Page 56: Digital Output Module Specifications

    TrustPLC CTSC-200 Series PLC User Manual 4.3.2 Digital Output Module Specifications 4.3.2.1 Transistor Output Table 4-3-4 Digital output modules Order No. Description Order No. TrustPLC CTSC-200 EM222 Transistor output module, 8 CTS7 222-1BF32 outputs TrustPLC CTSC-200 EM222 Transistor output module, 16...
  • Page 57 TrustPLC CTSC-200 Series PLC User Manual Surge current 8A, 100ms (max) Isolation Optical coupler Opto-isolator, 500V AC for 1 minute isolation Isolated points in each group Output delay OFF-ON Max 50μs ON-OFF Max 200μs Cable length (max) Unshielded 150 m...
  • Page 58 TrustPLC CTSC-200 Series PLC User Manual 4.3.2.2 Relay Output Table 4-3-6 Digital outputs modules Order No. Description Order No. TrustPLC CTSC-200 EM222 relay output module, 8 outputs CTS7 222-1HF32 TrustPLC CTSC-200 EM222 relay output module, 16 outputs CTS7 222-1HH32 Table 4-3-7 Digital outputs modules specifications...
  • Page 59: Terminal Connections

    TrustPLC CTSC-200 Series PLC User Manual Terminal connections … … L L+ … L L+ … … … … L L+ … L L+ … … … L L+ … L L+ 4.3.3 Digital I/O Module Specifications 4.3.3.1 Transistor Output Transistor output modules Order No.
  • Page 60 TrustPLC CTSC-200 Series PLC User Manual Power +5VDC current 54mA 63mA 173mA Inputs Counts Type Source/Drain Input voltage Rated voltage 24V DC Max allowable 30V DC voltage Surge voltage 35V DC, 0.5s Signal “1” 15~30V Signal “0” 0~5V Isolation Photoelectric...
  • Page 61: Terminal Connection

    TrustPLC CTSC-200 Series PLC User Manual Lamp load 0.3Ω Contact resistance Peak current for 10μA each point Max surge current 8A, 100ms Isolation Opto-coupler isolation, 500V AC for 1 minute Isolated points in 4/4/8 each group Output delay Max 50μs OFF-ON...
  • Page 62 TrustPLC CTSC-200 Series PLC User Manual 4.3.3.2 Relay Output Table 4-3-10 Relay output modules Order No. Description Order No. TrustPLC CTSC-200 EM223 digital I/O module, 4DI×24V DC, CTS7 223-1HF32 4DO×Relay TrustPLC CTSC-200 EM223 digital I/O module, 8DI×24V DC, CTS7 223-1PH32 8DO×Relay...
  • Page 63 TrustPLC CTSC-200 Series PLC User Manual Output Counts Type Relay-dry contact Output voltage DC: 5~30V, AC: 5~250V range Output Current Signal "1" Output groups Points in each group current each group Lamp load Contact resistance DC:30W, AC:200W 0.2Ω Max surge current...
  • Page 64: Analog Expansion Module Specifications

    TrustPLC CTSC-200 Series PLC User Manual Terminal connection Analog Expansion Module Specifications Table 4-4-1 Analog expansion modules Order No. Description Order No. TrustPLC CTSC-200 EM231 high accuracy analog input module, 8 inputs, 16BIT, current input, Photoelectric CTS7 231-1HF32 isolation TrustPLC CTSC-200 EM231 high speed and accuracy...
  • Page 65: Analog Input Module

    TrustPLC CTSC-200 Series PLC User Manual TrustPLC CTSC-200 EM231 analog input module, CTS7 231-0HC32 current-voltage type, 4AI, 12BIT, Photoelectric isolation TrustPLC CTSC-200 EM231 high accuracy analog input CTS7 231-0HF32 module, 8 AI 16BIT, voltage input, Photoelectric isolation TrustPLC CTSC-200 EM231 high accuracy analog input...
  • Page 66: Select Range

    TrustPLC CTSC-200 Series PLC User Manual Input impedance 250Ω Update time 100ms (8 channels) Common voltage 120V AC Rejection 90dB, 60Hz @ DC Input filtering attenuation -3db @ 325 HZ Diagnose +24VDC power light, On: normal supply, Diagnose program Off: No power, all channels turn to 32766...
  • Page 67 TrustPLC CTSC-200 Series PLC User Manual For EM231 8AI×16 bits, reading in VW instead of AIW. The relative location of the module is different, so is the corresponding address. Calculation formula: x(VWx) = slot No. × 64 + input channel × 2 The slot number of the address quick reference table corresponds to the installation location of the module.
  • Page 68 TrustPLC CTSC-200 Series PLC User Manual L+ coil voltage 20.4~28.8V DC Power 3.5W Power supply Output voltage 10V DC Rated output current 10mA Short circuit protection Analog input features Counts Isolation(field and logic ) None Type of input Different input Range ±10V, ±5V...
  • Page 69: Input Calibration

    TrustPLC CTSC-200 Series PLC User Manual Terminal connection Calibration and range 【Calibration and the position of range switch】 Range selection switch 【Input calibration】 Because the calibration adjustment affects the OPAMP behind the analog multiplexer, it affects all user input channels.In addition, because the component parameters of the input channels in front of the multiplexer may differ, there is a slight difference of the same input signal on different channels even after calibration.
  • Page 70 TrustPLC CTSC-200 Series PLC User Manual 3) Use a transmitter, a voltage input source or a current input source to add the zero signal to module input. 4) Read measurement of the input in CPU. 5) Adjust OFFSET potentiometer till the reading is zero, finish zero set calibration.
  • Page 71 TrustPLC CTSC-200 Series PLC User Manual Analog input features Counts Isolation(field opto-isolator: 500VAC, 1min logic ) Type of input Different input Range Voltage 0~10V, 0~5V input(unipolarity) Voltage ±5V, ±2.5V input(bipolar) Current input 0~20 mA Data Word format Unipolarity, full 0~32000...
  • Page 72: Range Selection

    TrustPLC CTSC-200 Series PLC User Manual Terminal connection Calibration and range 【Calibration and the position of range switch】 Range selection switch 【Input calibration】 Because the calibration adjustment affects the OPAMP behind the analog multiplexer, it affects all user input channels.In addition, because the component parameters of the input channels in front of the multiplexer may differ, there is a slight difference of the same input signal on different channels even after calibration.
  • Page 73: Input Data Format

    TrustPLC CTSC-200 Series PLC User Manual and 3 to select the analogy input range which can be set to the same. Attention: the unused DIP switch SW4 ~ SW6 must be set to OFF. Unipolarity Full scale input Resolution 0 - 10V 2.5mV...
  • Page 74 TrustPLC CTSC-200 Series PLC User Manual Analog input features Counts Isolation(field Opto-isolator: 500VAC, 1min logic ) Type of input Different input Range Voltage 0~10V, 0~5V input(unipolarity) Voltage input(bipolar) ±5V,±2.5V Data Word format Unipolarity, full range 0~32000 Bipolar, full range -32000~32000 Input resolution 300μV (0~10V)
  • Page 75: Software Configuration

    TrustPLC CTSC-200 Series PLC User Manual 【Range selection】 The following table shows how to set the range of EM231 8AI with DIP switch. Use 1, 2 and 3 to select the analogy input range which can be set to the same.
  • Page 76 TrustPLC CTSC-200 Series PLC User Manual Notice Since the address assigned by COTRUST's TD2X text display panel and SIEMENS 'TD200 text display panel is fixed at VW0, if you need to use both TD2X or TD200 and EM231 8AI modules in your system, the EM231 8AI module cannot be installed in the first position (Slot 0), otherwise it will not work properly.
  • Page 77: Dip Switch

    TrustPLC CTSC-200 Series PLC User Manual Measure principle Successive approximation Measure error 0.5%(max) Isolation Field to logic 500V AC Terminal connection Normal voltage input Short the used input Current input Close switch 1 and 2 DIP switch The following table shows how to configure the module using DIP switches. Switches 3, 4 and 5 select the analog input range, switches 1 and 2 select the current input mode.
  • Page 78 TrustPLC CTSC-200 Series PLC User Manual Table 4-4-13 Analog output modules specifications General EM232: 2 AQ × 12 bits EM232: 4 AQ × 12 bits Features (W×H×D) 46×80×62mm 71×80×62mm LED indicator lights 24V, On: Power supply normal, Off: Abnormal power supply...
  • Page 79: Output Data Format

    TrustPLC CTSC-200 Series PLC User Manual Output data format Notice The 12-bit reading of D/A converter, its output data format is left-aligned and its highest significant bit is the symbol bit (0 means positive). Four consecutive zeroes are truncated before the data is loaded into the DAC register, and these bits do not affect the output signal value.
  • Page 80 TrustPLC CTSC-200 Series PLC User Manual Type Deferential input Range Voltage 0-10V, 0-5V, 0-1V, 0-500mV, 0-100mV, 0-50mV input(unipolarity) Voltage input(bipolar) ±10V,±5V,±2.5V,±1V,±500mV, ±250mV, ±100mV,±50mV,±25mV Current input 0~20mA Data Word format Unipolarity, full range 0~32000 Bipolar, full range -32000~32000 Input resolution Voltage 2.5mV(0~10V)
  • Page 81 TrustPLC CTSC-200 Series PLC User Manual Terminal connection Calibration, range and gain selection 【Calibration and the position of range switch】 Range selection switch 【Input calibration】 Because the calibration adjustment affects the OPAMP behind the analog multiplexer, it affects all user input channels.In addition, because the component parameters of the input channels in front of the multiplexer may differ, there is a slight difference of the same input signal on different channels even after calibration.
  • Page 82 TrustPLC CTSC-200 Series PLC User Manual 【Range and gain selection】 Table 4-4-16 shows how to configure the EM235 module using DIP switches. Use SW1 and SW6 to select the analog input range and resolution. Set all inputs the same analog input range and format.
  • Page 83: Temperature Measuring Module Specifications

    TrustPLC CTSC-200 Series PLC User Manual Input data format Notice The 12-bit reading of D/A converter, its output data format is left-aligned and its highest significant bit is the symbol bit (0 means positive). For unipolar format, 3 consecutive zeroes make the ADC count value change by 1 unit, so data word changes by 8 units.
  • Page 84: Thermal Resistance Measuring Module Specifications

    TrustPLC CTSC-200 Series PLC User Manual 4.5.1 Thermal Resistance Measuring Module Specifications Table 4-5-2 Order No. Description Order No. TrustPLC CTSC-200 EM231 thermal resistance input CTS7 231-7PB32 modules, 4 inputs TrustPLC CTSC-200 EM231 thermal resistance input CTS7 231-7PC32 modules, 4 inputs...
  • Page 85 TrustPLC CTSC-200 Series PLC User Manual Temperature 0.1℃/0.1℉ Voltage 15 bits+sign bit Measuring principle Sigma-Delta Turnover time(all 425ms 825ms channel) Cable length Maximum 100m sensor 20Ω, Cu 2.7Ω Loop resistance Noise suppression 85dB@ 50Hz/60Hz/400Hz Data Word format >10MΩ Input impedance...
  • Page 86 TrustPLC CTSC-200 Series PLC User Manual Table 4-5-4 Thermal resistance modules diagnostic Range 24V power Error type Channel data SF LED 24V LED status bit failure No module power 32766 32767(positive calibration) Offline BLINK -32768(negative calibration) 32767(positive Temperature out of...
  • Page 87 TrustPLC CTSC-200 Series PLC User Manual Users can directly connect the thermal resistance sensor to the CTSC-200 EM231 module or use the extended wiring mode. Use shielded wire for the best noise resistance. If you use shielded wire, connect the shielded wire to the 1-4 pin connection point of the signal connector.The ground is in common with 3-7 pins of the power connector.
  • Page 88: Thermal Resistance Measuring Modules Specifications

    TrustPLC CTSC-200 Series PLC User Manual Table 4-5-5 Configuration of DIP switch Thermal resistance 100 Pt 0.003850(Default) 200Ω Pt 0.003850 500Ω Pt 0.003850 1000Ω Pt 0.003850 100Ω Pt 0.003920 200Ω Pt 0.003920 500Ω Pt 0.003920 1000Ω Pt 0.003920 100Ω Pt 0.00385055 200Ω...
  • Page 89 TrustPLC CTSC-200 Series PLC User Manual Table 4-5-7 Order No. Description Order No. TrustPLC CTSC-200 EM231, 4AI×TC, J/K/S/T/R/E/N, +/-80mV CTS7 231-7PD32 TrustPLC CTSC-200 EM231, 8AI×TC, J/K/S/T/R/E/N, +/-80mV CTS7 231-7PF32 Table 4-5-8 TC specifications EM231 4AI×TC EM231 8AI×TC Types Features (W×H×D) 71×80×62mm...
  • Page 90 TrustPLC CTSC-200 Series PLC User Manual Maximum input voltage 30V DC Resolution 15 bits+ sign-bit Input filter attenuation -3dB@ 21kHz Basic error 0.1% FS(voltage) Repeatability 0.05% FS CJ error ±1.5℃ Terminal connection...
  • Page 91 TrustPLC CTSC-200 Series PLC User Manual Table 4-5-9 Thermal resistance modules diagnostic Range 24V power Error type Channel data SF LED 24V LED status bit failure No module power 32766 32767(positive calibration) Offline BLINK -32768(negative calibration) 32767(positive Temperature out of...
  • Page 92 TrustPLC CTSC-200 Series PLC User Manual Measuring range of thermal resistance Switch and Software Configuration ● DIP switch configuration The EM231 module provides a convenient and isolated interface for the seven thermocouple types: J, K, E, N, S, T, and R. It also allows to connect tiny analog signals (±80mV).
  • Page 93 TrustPLC CTSC-200 Series PLC User Manual not used (set to the OFF position), SW5 is used to select the direction of wire breaking detection, SW6 is used to select whether to conduct wire breaking detection, SW7 is used to select the measuring unit, and SW8 is used to select whether to conduct cold end compensation.
  • Page 94: Hybrid Temperature Input Modules Specifications

    TrustPLC CTSC-200 Series PLC User Manual For EM231 8AI×16 bits, reading in VW instead of AIW. The relative location of the module is different, so is the corresponding address. Calculation formula: x(VWx) = slot no. × 64 + input channel × 2 The slot number of the address quick reference table corresponds to the installation location of the module.
  • Page 95 TrustPLC CTSC-200 Series PLC User Manual Current dissipation +5V DC current 87 mA 60 mA L+ coil voltage 20.4~28.8V DC Power 1.7W Inputs Thermal Resistance Thermal Resistance type(any type): /thermistor Pt-100 (3850ppm,3920ppm,3850.55ppm,3916ppm 3902ppm) NTC(R25=10kΩ B=3950, R25=10kΩ B=3435) Range Pt-100: -50℃ ~ 850℃...
  • Page 96: Starting Steps

    TrustPLC CTSC-200 Series PLC User Manual Input filter -3dB@21kHz attenuation Basic error 0.1%FS(resistance) Repeatability 0.05%FS Work condition ■ Temperature: 0-55℃ for horizontal installation, 0-45℃ for vertical installation ■ Humidity: 95% not condensing humidity Usage EM231 NTC modules use to extend the analog measuring ability of CTSC-200 PLC CPU by connecting the bus port to CPU modules.
  • Page 97 TrustPLC CTSC-200 Series PLC User Manual programmatic monitoring software such as MagicWorks PLC or MicroWin.  NTC full range reading is -400~1200 (R25=10K B=3950), corresponding temperature range: -40.0~120.0℃; Or-400~1500 (R25=10K B=3435), corresponding temperature range: -40.0~150.0℃; PT100 full range reading is -500~2000, the corresponding temperature range: -50.0~200.0℃;...
  • Page 98: Wiring Diagram

    TrustPLC CTSC-200 Series PLC User Manual Power 1.8 W Inputs Pt100: α=3850PPm/3920PPM/3850.55PPM/3916PPM/3902PM Type NTC: R25=10k/B=3950 or R25=10k/B=3435 Pt100: -50℃ ~800℃ NTC (R25=10k/B=3950) : -40℃ ~120℃ Temperature NTC (R25=10k/B=3435) : -40℃ ~150℃ measuring range <Note> Measuring out of range report an error, refer to table 4-5-2.
  • Page 99 TrustPLC CTSC-200 Series PLC User Manual NTC wiring DIP switch specifications Input type 100Ω Pt 0.003850(Default) 100Ω Pt 0.003920 100Ω Pt 0.00385055 100Ω Pt 0.003916 100Ω Pt 0.00302 NTC R25=10K B=3950 NTC R25=10K B=3435 Disable Calibration direction Measuring unit Back up ℃...
  • Page 100: Pid Control Modules Specifications

    TrustPLC CTSC-200 Series PLC User Manual Notice Since the address assigned by COTRUST's TD2X text display panel and SIEMENS 'TD200 text display panel is fixed at VW0, if you need to use both TD2X or TD200 and EM231 8TC modules in your system, the EM231 8TC module cannot be installed in the first position (Slot 0), otherwise it will not work properly.
  • Page 101 TrustPLC CTSC-200 Series PLC User Manual Table 4-6-3 7TD/7TF technical specifications Types EM231 4AI×TC PID EM231 8AI×TC PID Features (W×H×D) 71×80×62mm 24V, ON: Power supply normal, OFF: Abnormal power supply LED indicator lights SF, ON: Abnormal, OFF: Normal, BLINK: Wrong input signal...
  • Page 102 TrustPLC CTSC-200 Series PLC User Manual Minimum Output pulse 10ms width PID type P, PI, PD, PID PID output type Analog or PWM pulse width control PID output polarity Bipolar or unipolar PID address and parameter configuration ● PID address formula...
  • Page 103 TrustPLC CTSC-200 Series PLC User Manual Positive pulse output address: Pulse output for channel 0 V X.0 Pulse output for channel 1 V X.1 Pulse output for channel 2 V X.2 Pulse output for channel 3 V X.3 Pulse output for channel 4 V X.4...
  • Page 104 TrustPLC CTSC-200 Series PLC User Manual  Occupied address in slot 3: VW2816 to VW3066  Occupied address in slot 4: VW3072 to VW3322  Occupied address in slot 5: VW3328 to VW3578  Occupied address in slot 6: VW3584 to VW3834...
  • Page 105 TrustPLC CTSC-200 Series PLC User Manual Terminal connection...
  • Page 106 TrustPLC CTSC-200 Series PLC User Manual DIP switch configuration EM231 thermocouple modules supports J/K thermocouple. The module provides a 6-bit DIP switch for selecting measurement unit, cold end compensation and open circuit fault direction. As for whether to conduct wire breaking detection, EM231 thermocouple forces the wire breaking detection just as the EM231 8TC.
  • Page 107 TrustPLC CTSC-200 Series PLC User Manual Range of thermocouple measuring 4.6.1.1 Using CTSC-200 PID Modules Control Library Function introduction PID_setting function block is specially provided for the PID module of CTSC-200 as a library function which mainly aimed at intelligent PID module of temperature control.
  • Page 108 TrustPLC CTSC-200 Series PLC User Manual Find “ct_em231_pid.ctmwl” where you save it, then click “Add”. You can see library named “PID_setting” under catalogue tree “Libraries” after successful installation: • Call PID library Click “Internet” where you want to add function block, then double click “PIDSetting”, it will...
  • Page 109 TrustPLC CTSC-200 Series PLC User Manual PID library functions Table 4-6-4 parameter address specifications parameter illustration Type Value range Note address 0 or 1 Word, constant Slot Slot from 0 or variable Word, constant Channel Channel No. or variable Setting...
  • Page 110: Application Example

    TrustPLC CTSC-200 Series PLC User Manual variable Unit: s Word, integer, No self-adoptive constant 0~3600 for constant variable Heating Output Cooling Output Measureme -32767~32767 Word, variable nt(feedback) 0~65535 Only for heating output range: PID analog Word, integer, PID_out 0~32000, output...
  • Page 111: Application Program

    TrustPLC CTSC-200 Series PLC User Manual Pulse output cycle: VW124; Kp: VW126; Ti: VW128; Td: VW130 Application program 4.6.2 Current-mode PID Modules Specifications TrustPLC ® is special for temperature control application of PID temperature control extension module with built-in PID temperature control algorithm, complex closed-loop temperature control without programming.
  • Page 112 TrustPLC CTSC-200 Series PLC User Manual Isolation Field to logic 500 V AC Field to 24V DC 500 V AC 24V to logic 500 V AC Update time 825 ms(all channels) Measuring principle SIGMA-DELTA Resolution 15 bit + sign bit 0.1 ℃...
  • Page 113 TrustPLC CTSC-200 Series PLC User Manual Actual corresponding Items Address Range value Setting VW A+128 -2000~13000 -200~1300℃ temperature When VB A+130 bit= 0 When VB A+130 bit= 1 V( A+130).0 PID do not run PID run Ti works always, Kp do not V( A+130).1...
  • Page 114 TrustPLC CTSC-200 Series PLC User Manual Address X X=2048 + 1 * 256 + 12 = 2316 Address Y Y=2048 + 1 * 256 + 13 = 2317 Then set or read parameter items according to following illustration: VW2544 //setting temperature...
  • Page 115: Dip Switch Configuration

    TrustPLC CTSC-200 Series PLC User Manual Terminal connection DIP switch configuration Range Resolution 0~20mA 0.1℃/F 4~20mA (default) 0.1℃/F...
  • Page 116: Communication Modules Specifications

    TrustPLC CTSC-200 Series PLC User Manual Communication Modules Specifications Table 4-7-1 Order No. Description Order No. TrustPLC CTSC-200 EM277A DP salve port modules, 12Mbps, CTS7 277-0AA32 isolated RS485 TrustPLC CTSC-200 EM277B PROFIBUS DP salve modules, CTS7 277-0AB32 1.5Mbps, isolated RS485 4.7.1...
  • Page 117 TrustPLC CTSC-200 Series PLC User Manual for each segment Maximum station 126, maximum 125 EM277 station for each net MPI connection 6 in all, 2 retained(1 for PG, 1 for OP) 24VDC requirement Voltage range 20.4 to 28.8VDC(2 type or sensor power of PLC) Power 2.3W...
  • Page 118 TrustPLC CTSC-200 Series PLC User Manual 1100 0000 0111 0100 1001 1010 0010 0000 1111 0100 0101 1010 1010 0000 0000 1100 1101 1010 0110 0000 1000 1100 0011 1010 1110 0000 0100 1100 1011 1010 0001 0000 1100 1100...
  • Page 119: Em277B Dp Slave Modules Specifications

    TrustPLC CTSC-200 Series PLC User Manual Terminal resistance setting Terminal resistance Meaning Last node in Internet Not last node in Internet 4.7.2 EM277B DP Slave Modules Specifications Table 4-7-5 EM277B DP Order No. Description Order No. TrustPLC CTSC-200 EM277B PROFIBUS DP salve CTS7 277-0AB32 modules, 1.5Mbps, isolated RS485...
  • Page 120 TrustPLC CTSC-200 Series PLC User Manual Maximum intelligent modules Maximum I/O(map) 256 (128 In/128 Out) LED indicator lights ON(green) Light on after power on Lights on when wrong in EM 277B self-check(including address SF(red) setting out of range), or error in expansion I/O modules...
  • Page 121: Set Profibus Address

    TrustPLC CTSC-200 Series PLC User Manual Set PROFIBUS address Set PROFIBUS address through DIP switch. After changing the PROFIBUS address, EM 277B needs to be cut off and reenergized. DIP SW1-8, in binary form, SW1 is LSB, SW8 is MSB(must be OFF), ON of SW1-SW7 means “1”, OFF means “0”.
  • Page 122: Em277C Slave Modules Specifications

    TrustPLC CTSC-200 Series PLC User Manual 1101 1000 0110 0010 1000 1110 0011 1000 1110 0010 0100 1110 1011 1000 0001 0010 1100 1110 0111 1000 1001 0010 0010 1110 1111 1000 0101 0010 1010 1110 0000 0100 1101 0010...
  • Page 123 TrustPLC CTSC-200 Series PLC User Manual Transient voltage 35 VDC last for 0.5 s Logic 1(minimum) 14 VDC in 2.5mA Logic 0(maximum) 5VDC in1mA Input delay 6.4 ms(minimum 6.3 ms) 2-wire Bero Leakage current Isolation(field to logic ) Optic(current) 500 VAC, 1min...
  • Page 124: Em277Pn Slave Modules Specifications

    TrustPLC CTSC-200 Series PLC User Manual Terminal connection EM 277C wiring diagram 4.7.4 EM277PN Slave Modules Specifications Table 4-7-11 Order No. Description Order No. TrustPLC CTSC-200 EM277PN PROFINET slave modules, 100Mbps, 8 expansion modules, do not support EM253, weighing CTS7277-0PN32...
  • Page 125 TrustPLC CTSC-200 Series PLC User Manual IEC61000-4-29 high temperature 65℃, stay time: 24h, temperature change rate≤1℃/min, IEC60068-2 recovery time≥1h temperature -20℃, stay time: 24h, temperature change rate≤1℃/min, IEC60068-2 recovery time≥1h Start high temperature IEC60068-2 65℃, 2h, not boot 3 times after temperature stable...
  • Page 126: Weighing Modules Specifications

    TrustPLC CTSC-200 Series PLC User Manual ON = PROFINET bus communication error(not connect to interchanger, no network) BF(red) Blinking = configuration inconsistent OFF = no error MT(yellow) ON = lost simultaneous Maintenance lights OFF = no error ON = connect to interchanger /PN bus...
  • Page 127 TrustPLC CTSC-200 Series PLC User Manual channel), 6VDC excitation power supply output, isolated 16 accuracy TrustPLC CTSC-200 EM231 weighing modules, 1 sensor signal input, sampling frequency 50Hz, 6VDCexcitation power supply CTS7 231-7WA32 output, isolated 16 accuracy Table 4-8-2 E231 weighing modules specifications...
  • Page 128: Four-Wire Connection

    TrustPLC CTSC-200 Series PLC User Manual Notes for connecting weighing sensors: A junction box must be used for more than one sensor connection (the weighing sensor must be in parallel). As well as when the distance from the weighing sensor to the module or to the junction box is greater than the available cable length of the weighing sensor.
  • Page 129 TrustPLC CTSC-200 Series PLC User Manual 3 Modules wiring diagram EM231-7WA weighing modules EM231-7WB weighing modules 4 DIP switch setting Switch 1, 2, 3, 4, 5, 6 Setting Function Select 1mV/V sensor Select 2mV/V sensor(default) SW1, 2 Select 3mV/V sensor...
  • Page 130: Motion Control Modules Specifications

    TrustPLC CTSC-200 Series PLC User Manual Motion Control Modules Specifications Table 4-9-1 digital input specifications 24VDC input General Counts 8 inputs Type Drain /source (IEC type 1/drain) Rated voltage 24 VDC on typical 5mA Maximum constant 30 VDC voltage Surge voltage 35 VDC last for 0.5 s...
  • Page 131 TrustPLC CTSC-200 Series PLC User Manual 0.3 Ωtypical (maximum 0.6Ω) On resistance(junction) Isolation(field to logic ) 500 VAC, 1 min Optic(electrical, field to logic) Logic circuit to junction Resistance(Logic circuit to junction) Refer to diagram Isolation group Maximum delay OFF to ON 0.2μs (Q0.0, Q0.1, Q0.2, Q0.3), 50μs (Q0.4, Q0.5,...
  • Page 132: Bd Expansion Modules Specifications And Installation

    TrustPLC CTSC-200 Series PLC User Manual Table 4-9-3 I/O defined function I0.0 I0.1 I0.2 I0.3 I0.4 I0.5 I0.6 I0.7 MC253_ MC253_ MC253 Motion MC253_ MC253_ MC253_H Motion HSC0 HSC0ex _HSC0 axis 0 HSC1 HSC1 SC1 reset axis 1 pulse ternal...
  • Page 133 TrustPLC CTSC-200 Series PLC User Manual Type Single voltage input Range ±10V DataWord format -32000~+32000 >100KΩ DC input resistance Maximum input 30VDC voltage Resolution 11bit + 1 sign bit Isolation Precision Worst (0-55゜) ±2.5% full-scale Typical (25゜) ±1.0% full-scale Repeatability ±0.05% full-scale...
  • Page 134 TrustPLC CTSC-200 Series PLC User Manual Table 4-10-3 AMS-03 terminal definition Terminal bit Signal definition Terminal bit Signal definition Vacant Analog input A+ Voltage output VO Analog input B+ Current output IO GND-M GND-M Ground The structure and terminal diagrams of the AMS-06 analog I/O expansion board are shown below.
  • Page 135: Can Expansion Modules Specifications

    TrustPLC CTSC-200 Series PLC User Manual 4.10.2 CAN Expansion Modules Specifications Table 4-10-5 CAN-01 specifications Features 137 x 96 x 62mm (W×H×D) Connect to CPU H224X/H226XL Power CANopen communication function Ports 1(8 Pin) Transmit speed(kbps) 1000 Maximum length(m) 1000 2500...
  • Page 136: Rs485 Expansion Modules Specifications

    TrustPLC CTSC-200 Series PLC User Manual 4.10.3 RS485 Expansion Modules Specifications Terminal definition The structure and terminal diagrams of the RS485 analog I/O expansion board are shown below. The following table lists the definitions of each terminal bit. Please strictly follow the definition of terminal bit to install and connect the expansion board.
  • Page 137: Display Panel Specifications

    TrustPLC CTSC-200 Series PLC User Manual Note  V5 upgrade series CPU H224X and H226XL support CAN-01 main station expansion board  The CPU CAN be equipped with CAN-01 main station expansion board directly, but the analog I/O expansion board can only be used by calling the special expansion board instruction library.
  • Page 138: Standard Configuration

    TrustPLC CTSC-200 Series PLC User Manual Not isolated Supply port 1*2 pin external supply ports Software features LCD backlight delay off controllable, delay backlight Screen protection service life Defined screen picture Defined warning Keyboard tone Password protection Use in permission Function √...
  • Page 139: Td4X Specifications

    TrustPLC CTSC-200 Series PLC User Manual Shockproof Remove 4 screw sponge Cabinet Gasket panel Screw Screw Cabinet panel Trepanning hole sized Open the shell of TD2X 68mm×128mm in surface, install TD2X 4.11.2 TD4X Specifications Table 4-11-4 TD4X specifications Items TD4X Order No.
  • Page 140 TrustPLC CTSC-200 Series PLC User Manual Supportive language 9 language set: Latin 1/bold, Latin 2/bold, CH(simplify), Cyrillic, set(for different Arabic, Baltic, Greek, Hebrew, Turkish language ) Function √ Information display √ Information font √ Setting input Configuration MagicWorks PLC and Step-7 MicroWin V4.0 SP5 or above software ”means usable;...
  • Page 141 TrustPLC CTSC-200 Series PLC User Manual Center the panel to align TD4X border, first pressing the left side Then carefully pick up the unglued part of the panel and tear remaining protective paper Finally, press panel from left to right on the keyboard...
  • Page 142: Communication Cables

    TrustPLC CTSC-200 Series PLC User Manual ○ 3 Load the front panel into the holes already made on the mounting panel ○ 4 Screw back panel from back panel to TD4X front panel. Be sure to tighten the screws Communication cables Two TD4X communication cables, one is with supply cable, the other is without cable.
  • Page 143 TrustPLC CTSC-200 Series PLC User Manual button Default system 7【ENTER, ESC, SHIFT, ↑, ↓, ← and →】 button User-defined button All 15 buttons can be defined by users. Interface features Communication 1 RS485 PPI/MPI communications ports, support run in power on ports Baud: 9.6Kbps, 19.2Kbps available;...
  • Page 144 TrustPLC CTSC-200 Series PLC User Manual Table 4-11-7 configuration Table Items Description The text display area is a backlit LCD with a resolution of 160X32 pixels; TXT display this area shows information from CTSC-200 CPU. Buffer washer and mattress are used for severe environment TD 4S Buffer washer installation.
  • Page 145 TrustPLC CTSC-200 Series PLC User Manual 2) TD4S installation preparation Take down the front cover from TD4S shell as figure 1 Figure 1 Figure 2 3) Install TD4S ① Take down gasket from protection mat. ② Put gasket to front panel of TD4S (as diagram 2) ③...
  • Page 146 TrustPLC CTSC-200 Series PLC User Manual Communication ports and PIN signal DB9 female DB9 female PIN signal Signal definition Vacant Power ground Data+ Vacant Vacant Vacant Power input(24V DC) Data- Vacant Communication cable connection Male Connection Without power supply(3-8) With power supply(3-8, 2-7)
  • Page 147: Network

    TrustPLC CTSC-200 Series PLC User Manual Network CTSC-200 Network Communication Conception 【Select network communication port】 Select the communication network supported by CTSC-200 in the 'set PG/PC interface' properties dialog box. The selected network will be used as an interface. MagicWorks PLC can access the communication network interface default to 'PC/PPI Cable'.
  • Page 148 TrustPLC CTSC-200 Series PLC User Manual A unique station address is specified for each device in the network, which ensures that data is sent to or from the correct device. CTSC-200 supports network addresses from 0 to 126. If a CTSC-200 has two ports, each port has a network address.
  • Page 149 TrustPLC CTSC-200 Series PLC User Manual 2) Select baud rate for CTSC-200. 3) Download system block to CTSC-200. Figure 5-3 CTSC-200 communication parameter setting 【Searching CTSC-200 CPU in network】 CTSC-200 can be found and identified in the network. When searching for CTSC-200, look for networks at specific baud rates.
  • Page 150: Communication Protocol And Networking Mode

    NETR and NETW for data signal transmission, no additional configuration module or software. PPI communication network is a token-passing network, which can be composed of up to 31 TrustPLC CTSC-200 series PLC, Copanel series HMI, Siemens OP/TP panel or upper computer inserted MPI card.
  • Page 151 TrustPLC CTSC-200 Series PLC User Manual Please use appropriate communication cables for different HMI. Multi-master station PPI network The picture below give an example of 2 master station with one slave station, programming station PG\PC as master station while CTSC-200 as slave station.
  • Page 152: Mpi Communication

    TrustPLC CTSC-200 Series PLC User Manual 5.2.2 MPI Communication MPI supports master-slave and master-master communication. TrustPLC CTSC -200 supports PPI protocol and can be connected to the Internet through normal two-core shielded twisted pair cables. Three baud rates are supported: 9.6kBit/s, 19.2kBit/s, and 187.5kBit/s.
  • Page 153: Dp Communication

    MagicWorks PLC connect remote PLC through MiCo, for programming and monitoring remote CTH200 PLC in the network. For more detailed information, please visit: http://www.co-trust.com/ Communication architecture and typical network structure are shown as follows: Figure 5-10 CTSC-200 Ethernet communication framework ●...
  • Page 154 TrustPLC CTSC-200 Series PLC User Manual Relay 214-1BD33-0X24 FPORT: RS232/RS485 CPU 224+ CTS7 V5(upgrade) 214-1AD35-0x24 transistor 2 ports. PORT0: RS485, PPI; FPORT: RS485, Freeport CPU 224+ CTS7 V5(upgrade) 214-1BD35-0x24 Relay 224E CTS7 transistor 214-1AE33-0X24 2 ports. PORT0: RS485, PPI; FPORT: RS485, Freeport...
  • Page 155 TrustPLC CTSC-200 Series PLC User Manual V5(upgrade) 216-2BD35-0x40 Freeport transistor After adding RS485 expansion board: PORT0: RS485, PPI 226L CTS7 PORT1: RS485 , PPI/ Freeport V5(upgrade) 216-2AD35-0x40 FPORT0: RS485, Freeport Relay CTS7 216-1AH33-0A24 3 ports. FPORT0/FPORT1: RS485, Freeport; PORT0: RS232/RS485, PPI...
  • Page 156: Ctsc-200 Cpu Communication Ports

    TrustPLC CTSC-200 Series PLC User Manual 5.3.1 CTSC-200 CPU Communication Ports ※ One PPI port and one FPORT(CPU224+) Item Order no. Description 2 ports: CPU 224+ PORT0: RS485(from JE3363, CTS7 214-1AD33-0X24 transistor no RS232), only support PPI protocol FPORT: RS485/RS232...
  • Page 157 TrustPLC CTSC-200 Series PLC User Manual Rack earth 24V earth RS485+ signal B Send application Logic ground +5 V, 100Ω series resistor +24V RS485- signal A 10 bit protocol (input) Shell Rack earth ※ 2个PPI/FPORT(CPU226M V5(upgrade)) Order No. Item Description...
  • Page 158 TrustPLC CTSC-200 Series PLC User Manual 2个PPI/FPORT(226L V5(upgrade)) 2 ports PORT0: RS485/FPORT, CPU226L support protocol switching, V5( upgrade ) CTS7 216-2BD35-0x40 PPI, FPORT, Modbus transistor protocol PORT1: RS485/FPORT, support protocol switching, PPI, FPORT, Modbus protocol After adding RS485 CPU226L expansion board:...
  • Page 159 TrustPLC CTSC-200 Series PLC User Manual Table 5-6 CPU226H V5( )/226M V5( )/226L V5( ) PIN definition upgrade upgrade upgrade Connector PORT1/FPORT1 (RS485) PORT0/FPORT0 (RS485) Rack earth 24V earth RS485 signal B Send application +5V earth series resistor +5V, 100Ω...
  • Page 160 TrustPLC CTSC-200 Series PLC User Manual Table 5-7 CPU224I/226I PIN definition Connector PORT0 (RS485) FPORT (RS485) Rack earth 24V earth RS485 signal B Send application Logic earth +5 V, 100Ω series resistor +24V RS485- signal A 10 bit protocol (input)
  • Page 161 TrustPLC CTSC-200 Series PLC User Manual Table5-9 PSC266 PIN definition (2 PPI, 1 FPORT) Connector PORT1(RS485) PORT0 (RS485) FPORT Rack earth Rack earth Logic earth RS485+ signal B RS485+ signal B RS485- signal A Send application 4: short connect 3 with 4 when...
  • Page 162 TrustPLC CTSC-200 Series PLC User Manual ※ One PPI, two FPORT(CPU226M/CPU226L/CPU226H) Item Order No. Description CPU 226M CTS7 216-1AF33-0X24 transistor CPU 226M 3 ports CTS7 216-1BF33-0X24 Relay PORT0: RS232/RS485, CPU 226L CTS7 216-2AF33-0X40 support PPI transistor FPORT0/FPORT1: RS485, CPU 226L...
  • Page 163: Make Standard Cable

    TrustPLC CTSC-200 Series PLC User Manual Order No. Item Description 3 ports PORT0: RS485 (from 0349, no CTS7 216-1AH33-0B24 RS232) , support PPI FPORT0/FPORT1: RS485, support FPORT, Modbus 3 ports CPU 226H PORT0: RS485(from KC0160, no motion CTS7 216-1AH33-1B24 RS232), support PPI...
  • Page 164: Network Connections

    TrustPLC CTSC-200 Series PLC User Manual Note CPU 224I does not support adaptive crossover. Therefore, select crossover line as standard cable when directly connected to PLC for ModBus_TCP communication. Network Connections The protocol RS232 and RS485 network port of TrustPLC CTSC-200 CPU supports:...
  • Page 165: Connect With Third Facility

    TrustPLC CTSC-200 Series PLC User Manual RS232 cable Wiring as picture below when you need to connect RS232 cable with IPC. Figure 5-10 RS232 wiring diagram of CPU226L RS485 cable How to make RS485 cable: Convertor Figure 5-11 RS485 wiring diagram PPI cable Recommend to use COTRUST PLC communication cable (Order No.: CTS7 191-USB30),...
  • Page 166: Modbus Tcp Communication Example

    IP address, refer to Chapter 2 Getting Started. Note Refer to “MagicWorks PLC user manual” for usage instruction of Modbus TCP wizard and single R&W instructions library file. More info refer to: www.co-trust.com 5.5.1 The Sample Components Table5-14 Modbus TCP communication sample components Component...
  • Page 167: Operation Steps

    TrustPLC CTSC-200 Series PLC User Manual COTRUST offered facility CT_Modbus_TCP library to Modbus main station (CPU224I): ModBusTCP 主站 ModBus TCP main station MagicWorks PLC Use Standard cable to connect Modbus master station and slave station. The Modbus master station will perform a write operation to write the data in the specified address to the Modbus slave station.
  • Page 168 TrustPLC CTSC-200 Series PLC User Manual <Note>To configure more read/write operation, use MagicWorks PLC Modbus TCP wizard, and refer to MagicWorks PLC user’s manual for detailed information. 2)Edit and download program to Modbus main station after programming. Table below are the “MBTCPS_EXE” library instruction definition...
  • Page 169: Modbus Tcp Mapping From Slave Station

    TrustPLC CTSC-200 Series PLC User Manual ErrorCode output wrong code definition: Wrong code explanation No error Connections reach maximum Building connections Receive time-out, slave station no response Wrong request parameter Instructions not enabled Busy connections(activate multi MBTCPS_EXE) Step 4: Configure Modbus TCP slave station When configuring Modbus TCP slave station, the slave station IP must correspond to the IP set by the master station programming.
  • Page 170: Udp Ppi Communication Sample

    TrustPLC CTSC-200 Series PLC User Manual ModBus-TCP slave station support the following addresses: TCP protocol corresponding slave station address mapping ModBus slave address CTSC-200 address 000001 Q0.0 000002 Q0.1 000003 Q0.2 000127 Q15.6 000128 Q15.7 010001 I0.0 010002 I0.1 010003 I0.2...
  • Page 171: Network Connections

    TrustPLC CTSC-200 Series PLC User Manual ·Connect CPU224I with program device · Connect CPU224I(UDP_PPI main station) with CPU224I Standard cable (UDP_PPI slave station) 5.6.2 Network Connections Use standard cable to connect program facility with CPU224I, then programming to UDP_PPI main station (CPU224I): UDP_PPI main station Use Standard cable to connect UDP_PPI master station and slave station.
  • Page 172 TrustPLC CTSC-200 Series PLC User Manual Take UDP network R/W as example, you can read and write the UDP_PPI master station according to one of the two methods. 1)Use UDP network R/W instruction UDP_NETR/UDP_NETW to program UDP_NETR/UDP_NETW parameter: Wrong code...
  • Page 173 TrustPLC CTSC-200 Series PLC User Manual Network 1: Write 200 byte data of UDP_PPI main station (start address: VB312) into UDP_PPI slave station (IP: 10.1.3.251, start address: VB101)
  • Page 174 TrustPLC CTSC-200 Series PLC User Manual Network2: Read 200 byte data of UDP_PPI slave station(start address: VB312) into UDP_PPI main station(IP: 10.1.3.251, start address:VB101) 2) Program UDP_PPI main station through NETR/W instruction wizard Expand CTSC-200 in the project tree, select the wizard in the sub options, and then double-click the NETR/W wizard in the right working area to open the wizard dialog box.
  • Page 175: Udp Ppi Mapping From Slave Station

    TrustPLC CTSC-200 Series PLC User Manual Step 4: UDP_PPI master station communicate with UDP_PPI slave station 1) Power UDP_PPI master and slave station on 2) Use standard cable to connect UDP_PPI master station and slave station for UDP PPI communication.
  • Page 176 TrustPLC CTSC-200 Series PLC User Manual CANopen bus cable use screened cable or twisted pair, recommend to use CTSC-200 communication convert module. EM277C In this example, use EM277C with CAN double communication port and baud DIP switch as CANopen slave station.
  • Page 177: Network Connections

    TrustPLC CTSC-200 Series PLC User Manual TrustPLC CTSC-200 EM231 thermal resistance input module, CTS7 231-7PF32 8AI×TC, J/K/R/S/T/E/N, 16BIT isolated TrustPLC CTSC-200 EM231 high-precision analog input module, 8 CTS7 231-0HF32 inputs, 16BIT, voltage input, opto-isolator TrustPLC CTSC-200 EM231 high-precision analog current input...
  • Page 178 TrustPLC CTSC-200 Series PLC User Manual Table5-19 CPU 226M-CAN ports PIN definition Connector Description Shielding ground CAN_H 4-hole terminal CAN_L (CPU226) Terminal resistance(short with 3# means terminal resistance) Note Bus cable use line shielded or twisted pair, recommend CTSC-200 communication port convert module.
  • Page 179: Operation Steps

    TrustPLC CTSC-200 Series PLC User Manual Note Use shielded twisted pair to connect communication port convert module with CPU 226M-CAN. CAN communication cable creation and connection method: Figure 5-18 CAN communication cable creation and connection method 5.7.3 Operation Steps EasyCAN Config 1.
  • Page 180 TrustPLC CTSC-200 Series PLC User Manual Figure 5-20 Add master station Then double click CPU226XLS of slot 1 shows master station information interface: Set communication speed to 1000kbps, select CPU as master station, select in the node ID drop-down box 3 Click “Use CAN Bus”...
  • Page 181 TrustPLC CTSC-200 Series PLC User Manual station with CAN BUS. Relevant information of slave station modules will appear in the list of slave station modules information. Figure 5-22 Add slave station Then double-click icon under CAN BUS connection: Open node ID drag-down box, select 4(set node ID different from master station), click to...
  • Page 182 TrustPLC CTSC-200 Series PLC User Manual Figure 5-24 Add modules 5 Connection and configuration of hardware 1) Communication cables for connecting CPU 226 XLS and PC (USB to USB, RS485 port to RS485 port). 2) Use communication cable to connect CAN port of CPU 226 XLS (2, 3 PIN) and SM277C (1, 2 PIN).
  • Page 183 TrustPLC CTSC-200 Series PLC User Manual DIP11 (terminal resistance): Dial to “ON” when facility located in end of network, otherwise dial to “OFF”. DIP12: reserved. 1) Put digital module SM 223 8DI/8DO, SM 221 8DI, and analog module SM231 AI2*16BIT to the expansion port of SM277C.
  • Page 184: Diagnosis

    TrustPLC CTSC-200 Series PLC User Manual 5.7.4 Diagnosis EM 277C/E10 and MagicWorks PLC SMB status word can be used to diagnose CANopen master-slave network. Diagnose by hardware EM277C LED Power on EM 277C, the POWER LED indicating "ON" (green) will light up.
  • Page 185: Application Of Analog Expansion Board

    TrustPLC CTSC-200 Series PLC User Manual Table5-22 CAN station status table Byte Address distribution Status value illustration 0x00: Initialize 0x01: Disconnect SMB550: CAN communication 0x04: Stop status of master station(CPU) 0x05: Run 0x7f: Pre-run 0xff: Configuration data error 0x00: Initialize...
  • Page 186: Fault Diagnosis

    TrustPLC CTSC-200 Series PLC User Manual SMW116 allocate 4 words, then map AQ and SMW124 allocate 2 words. 2AI/1AQ: SMW116 corresponding to AIW0; SMW118 to AIW2; SMW124 to AQW0 Function Map access address Function Map access address A+input SMW116 Module type...
  • Page 187: Diagnose By Magicworks Plc

    TrustPLC CTSC-200 Series PLC User Manual 5.9.1 Diagnose by MagicWorks PLC Fault status continue to error clear, diagnostic information read: open MagicWorks PLC software - double click to open the project interface - select the menu item "PLC" - "information" to view error information.
  • Page 188 TrustPLC CTSC-200 Series PLC User Manual 0x87 Lack label (LBL, INT, subprogram) ; add proper label Lack RET or no instructions allowed in subroutine; Add RET or 0x88 remove incorrect instructions at the end of a subroutine Lack RETI or no instruction allowed in the interrupt routine. Add...
  • Page 189 TrustPLC CTSC-200 Series PLC User Manual 0x11 Comparison contactor indirection addressing error 0x12 Invalid floating point value for comparison node 0x13 Reserved 0x14 Comparing node range error Monitor record every scan cycle 0x00 Modules no error 0x01 Modules busy 0x02...
  • Page 190: Diagnose By Ctsc-200 Main-Control Modules

    TrustPLC CTSC-200 Series PLC User Manual 5.9.2 Diagnose by CTSC-200 Main-control Modules Table 5-25 CTSC-200 LED status indicator light Indicator light Color Description SF/DIAG light On: System fault, off: no error On: CPU communicate with remote server(Ethernet communication port configure properly)
  • Page 191: Power Budget

    TrustPLC CTSC-200 Series PLC User Manual Power Budget CTSC -200 series CPU has an internal power supply for the unit and the expansion modules. It also provides 5VDC logic power supply, which can be used for power supply of any expansion in the system. Pay close attention to the system configuration to ensure that the CPU can provide the 5V power for the selected expansion modules.
  • Page 192: 5Vdc Power

    TrustPLC CTSC-200 Series PLC User Manual unpredictable operation may cause personal injury and equipment damage. CTSC-200 CPU's 24VDC sensor and any external power supply should be supplied at different points. Allow separate connections to the utility power. 5VDC Power Table 6-1 5VDC power consumption table...
  • Page 193: 24Vdc Power

    TrustPLC CTSC-200 Series PLC User Manual EM232 AQ4×12-bits 224+/224+V5( upgrade)/ EM235 AI4/AQ1×12-bits CPU224I/224 XP/CPU226M EM231 AI4 PID(thermocouple) EM277B CPU226I/L/H 1000 EM231 AI8 PID(thermocouple) PSC266 EM231 AI8 PID(current) EM231 8AI×Pt100/NTC EM253 motion control module EM231-7WA EM231-7WB EM277 A Calculate max I/O configuration of CTSC-200 system according to the above table, refer to Chapter 6.4 Power Calculation...
  • Page 194: Power Calculation Example

    TrustPLC CTSC-200 Series PLC User Manual EM277A TD2X TD4X TD4S Power Calculation Example Use following design methods to determine how many power configurations can be provided by the ontology unit power supply. Table 6-4 shows power calculation of CTSC-200 PLC, CTSC-200 including: ...
  • Page 195: Appendix

    TrustPLC CTSC-200 Series PLC User Manual Appendix CTSC-200 series CPU support all the library files in appendix. Using CT-MODBUS Master and Slave Station Introduction of CT_MODBUS library 4 libraries in all, PORT0 master&slave station, PORT1 master&slave station. CT_MODBUS function block is a set of embedded and easy MODBUS protocol library provided by Siemens MODBUS function block, which occupies a large amount of CPU program and data space.
  • Page 196 TrustPLC CTSC-200 Series PLC User Manual You can find CT_MBUS_MASTER and CT_MBUS_SLAVE library under “libraries” of directory tree after installation: 【call CT_MODBUS library】 Click “Network” you need to add function block, double click “MBUS_INIT”, “MBUS_SLAVE”, “MBUS_CTRL”, “MBUS_MASTER” in “libraries”, the corresponding...
  • Page 197: Ct_Modbus Library Function Explanation

    TrustPLC CTSC-200 Series PLC User Manual CT_MODBUS Library Function Explanation 【Modbus address】 Modbus addresses are typically 5 - or 6-character values containing data type and offset. The first one or two characters determine the data type, and the last four characters match the data type.
  • Page 198 TrustPLC CTSC-200 Series PLC User Manual 1) According to different Modbus protocol libraries, the FPORT 0 or 1 is used as the slave station protocol. When Port 0 or Port 1 is used as Modbus protocol communication, it cannot be used for any other purpose, including communication with MagicWorks PLC or SETP7-Micro/WIN, FPORT communication.
  • Page 199 TrustPLC CTSC-200 Series PLC User Manual ※ MBUS_INIT instruction The MBUS_INIT directive is used to enable and initialize or disable Modbus communication. The MBUS_INIT directive must execute error-free before using the MBUS_SLAVE directive. Before proceeding to the next instruction, the MBUS_INIT instruction must finish executing and set Done bit immediately.
  • Page 200 TrustPLC CTSC-200 Series PLC User Manual available V storage word hold registers. Sets the starting address of available holding Pointer point to HoldStart DWord register in the V storage V memory area. When MBUS INIT Done instruction completes, the Done output is on.
  • Page 201 TrustPLC CTSC-200 Series PLC User Manual ※ Modbus slave station protocol instruction example LAD program below established a no-parity slave station, address 1 and baud rate 115200: ※ MBUS_INIT parameter configuration illustration Addr Set slave station address 1 Baud Set baud rate 115200...
  • Page 202 TrustPLC CTSC-200 Series PLC User Manual ※ MBUS_CTRL instruction Use SM0.0 to call MBUS_CTRL instruction to initialize master station and enable it. Parameter illustration: Parameter Illustration Type Value range Note address communication mode: enable Mode Modbus protocol, and 0 recovery system to PPI protocol.
  • Page 203: B Using Trustplc Cpu Expansion Program Space

    TrustPLC CTSC-200 Series PLC User Manual analog input 40000 to 4xxxx— holding register Maximum Communication Modbus master data number Count station MBUS_MSG (number of word or instruction bit) words. Data pointer, read instruction, put data back into this data area;...
  • Page 204: Instructions

    TrustPLC CTSC-200 Series PLC User Manual Instructions 【Usable range of DLL】 CTSC-200CPU can load up to two dynamic libraries (" ct_lib1 "and" ct_lib2 "). The dynamic libraries different CPUs support and their sizes are shown in below table: CPU type...
  • Page 205: C Using Trustplc Expand 100K Data Block Library

    TrustPLC CTSC-200 Series PLC User Manual PPI connection CT LIB2 Download another dynamic library named ct_lib2 to PLC the same way. 【Use DLL】 First create the empty blocks the same name with PLC subroutine of dynamic libraries, such as ct_lib1 or ct_lib2, then call it in project, after the program downloaded to the PLC, the empty block in the CPU will be replaced with the original download same name library functions, the corresponding dynamic database program execute when CPU run.
  • Page 206: Software Installation

    TrustPLC CTSC-200 Series PLC User Manual access. Users can add the library provided by COTRUST to MicroWin, access this data space through the read-write instructions provided in the library, and realize data exchange between extended data space and other data space.
  • Page 207: Ext_Mem Library Function Explanation

    TrustPLC CTSC-200 Series PLC User Manual 【Call ext_mem library】 Click “Network” to add a function block, then double-click “ReadExtVMem” and “WriteExtVMem” to get the function block in “Network”. As the following figure: ext_mem library Function Explanation 【Use ReadExtVMem to read data from expansion data space】...
  • Page 208: Application Example

    TrustPLC CTSC-200 Series PLC User Manual 【Use WriteExtVMem to write data to expansion data space】 Parameter Value Illustration Type Note address range Write memory DWORD Such as: &VB0,&IB0 length(byte ) Return value indicate if Offset DWORD 0-102399 it write successfully...
  • Page 209: Using Trustplc Pid Control Library

    TrustPLC CTSC-200 Series PLC User Manual Using TrustPLC PID Control Library Using CPU Embedded PID_T Library 【Introduction】 PID_T function block integrate inside the CPU, does not occupy user data space, offered to user as a library function. It mainly aims at intelligent temperature control PID function, with self-tuning and self-adaptive function.
  • Page 210 TrustPLC CTSC-200 Series PLC User Manual ※ Call PID_T library Click “network” to add a function block, then double-click “ ” to get the PID_T function block in “network”. As the following figure: 【PID_T library function illustration】 Address parameter illustration...
  • Page 211 TrustPLC CTSC-200 Series PLC User Manual Measurement(f Word, -32768-32767 Unit: 0.1℃ eedback value) variable Word, Maximum MAX_PV constant or -32768-32767 Unit: 0.1℃ measurement variable Word, Pulse output OUT_CYCLE constant or 1-255 Unit: s cycle variable 0.5: The system control is required small overshoot 1.0: Normal response...
  • Page 212 TrustPLC CTSC-200 Series PLC User Manual Setting Note PID stop PID run Integral always work, Kp do not self-tuning Integral separate Kp self-tuning PID unipolar output PID bipolar output Reserved Reserved Integral works Integral does not work Differential works Differential does not work...
  • Page 213: Application Program

    TrustPLC CTSC-200 Series PLC User Manual Application program Illustration PID_T parameter illustration Parameter Address or Illustration Note value LOOP 0 for first loop CTRL_WORD VW10 VW12 AIW0 MAX_PV 13700 Maximum input 13700 thermocouple OUT_CYCLE 2s, pulse output cycle TUNING_K TUNING_ON M0.1...
  • Page 214 TrustPLC CTSC-200 Series PLC User Manual temperature control is accurate. Library download address: www.co-trust.com Note  Apply to CTS7 231-7TD32, CTS7 231-7TF32 modules;  Use EM231-7TD32 and EM231-7TF32 will occupy some V memory area, do not use V memory area when programming ...
  • Page 215 TrustPLC CTSC-200 Series PLC User Manual ※ Call PID_Setting library Click “network” to add a function block, then double-click “ ” to get the PID_Setting function block in “network”. As the following figure: ※ 【PID_setting 】 library function illustration Address parameter illustration...
  • Page 216 TrustPLC CTSC-200 Series PLC User Manual Pulse output Word, constant Cycle 1~255 Unit: s cycle or variable Word, int, constant variable Word, int, Unit: s Ti Ti constant 1~3600 variable Word, int, Unit: s constant 0~3600 variable Heating Heating-output Cooling...
  • Page 217 TrustPLC CTSC-200 Series PLC User Manual • PID parameter output (modules to CPU) Items Address Value set range Actual value Actual temperature VW A 0~13000 0~1300° Status Word VW A+2 PID analog output VW A+4 -32000~32000 • PID parameter input(CPU to modules)
  • Page 218 TrustPLC CTSC-200 Series PLC User Manual Channel 0 pulse output V Y.0 Channel 1 pulse output V Y.1 Channel 2 pulse output V Y.2 Channel 3 pulse output V Y.3 Channel 4 pulse output V Y.4 Channel 5 pulse output V Y.5...
  • Page 219: Using Trustplc Current Temperature Pid Control Module Library

    TrustPLC CTSC-200 Series PLC User Manual Note For PID modules normal use, please do not occupy following PID V storage when programming. Address that module occupied in slot 0: VW2048 to VW2298 Address that module occupied in slot 1:VW2304 to VW2554...
  • Page 220 TrustPLC CTSC-200 Series PLC User Manual Find file where you save “em231-7hf_pid.ctmwl” click “Add”. You can see new PIDSettingCT7HF library under directory tree “Libraries” after installation. ※ Call PIDSettingCT7HF library Click “network” to add a function block, then double-click “...
  • Page 221 TrustPLC CTSC-200 Series PLC User Manual with adaptive function) 16#07(Only cold output with adaptive function) Pulse output Word, constant or Cycle 1~255 Unit: s cycle variable Word, int, constant or variable Word, int, constant Ti Ti 1~3600 Unit: s or variable...
  • Page 222 TrustPLC CTSC-200 Series PLC User Manual • PID address calculation formula Address name Formula Note PID parameter address A=(2048+S*256)+16*C S is slot where module is(range: 0~6) PID positive pulse output address X=(2048+S*256)+12 C is channel, 231-7HF is PID negative pulse output address Y=(2048+S*256)+13 •...
  • Page 223 TrustPLC CTSC-200 Series PLC User Manual Channel 2 pulse output V X.2 Channel 3 pulse output V X.3 Channel 4 pulse output V X.4 Channel 5 pulse output V X.5 Channel 6 pulse output V X.6 Channel 7 pulse output V X.7...
  • Page 224: E Using Motion Control Library "Motion_Ctrl_Lib

    TrustPLC CTSC-200 Series PLC User Manual enable Run to run the loop. Q0.0 is the positive pulse output; Q0.1 is negative pulse output; VW0 is the actual temperature; VW2 is PID analog output; Use other addresses to Modify PID setting parameters;...
  • Page 225: Introduction

    TrustPLC CTSC-200 Series PLC User Manual Introduction The motion_ctrl_lib library is used for TrustPLC motion control CPU. No complex programming, just call and set some simple parameters to use, this series of CPU has multi-axis independent control function, CPU with interpolation can carry out any two axis linear interpolation and circular interpolation, also support linear acceleration and deceleration control.
  • Page 226: I/O Correspondence Of Motion Axis And Cpu

    TrustPLC CTSC-200 Series PLC User Manual You can see new motion_ctrl_lib library under directory tree “Libraries” after installation. V1.1 (at left)/V1.3: I/O Correspondence of Motion Axis and CPU ◆ CPU226H Normal IO Q0.0 Q0.1 Q0.2 Q0.3 Q0.4 Q0.5 Q0.6 Q0.7 Q1.0...
  • Page 227: Motion_Ctrl_Lib (V1.3) Instruction List

    TrustPLC CTSC-200 Series PLC User Manual motion_ctrl_lib (V1.3) Instruction List Table1 CPU 226H library instruction list CPU226H type Function name Instruction name CTS7 216- CTS7 216- CTS7 216- CTS7 216- 1AH34-0B24 1AH34-0X24 1AH34-1B24 1AH34-2B24 MC_HOMING Homing instruction Support Configure motor...
  • Page 228 TrustPLC CTSC-200 Series PLC User Manual point draw interpolation absolute motion instruction continuous MC_SET_CI_MOD interpolation Nonsupport Support function instruction Table 2 Other motion control CPU library instruction CPU type Function name Instruction name CTS7 214-1AE33-0X24/CTS7 216-1AC33-0X24 CTS7 214-1AD41-0X24/CTS7 216-2AD41-0X40 MC_HOMING...
  • Page 229: Instructions Specifications

    TrustPLC CTSC-200 Series PLC User Manual Instructions Specifications Homing instruction ① Function name: MC_HOMING ② Function: Find device origin by setting parameters such as homing mode. The relationship between the axis number and external reset IO signal (such as homing Z pulse): Axis 0 ——I0.2 (HSC0, SM37.0)
  • Page 230 TrustPLC CTSC-200 Series PLC User Manual CW counterclockwise LIMIT_SW-CW BOOL stroke limit input HOMING_SW Origin signal input BOOL Unchangeable in AXIS_NO Axis number BYTE the process 7 6 5 4 3 2 1 0 Signal type: Bit0: Counterclockwise stroke limit input signal type 0—High level...
  • Page 231 TrustPLC CTSC-200 Series PLC User Manual reset internal. 7 6 5 4 3 2 1 0 Output status byte: Bit0: parameter configuration error sign Bit0: 1—parameter 1 Judge Only to configuration error axis parameter 0—parameter configuration configuration normal error and homing...
  • Page 232 TrustPLC CTSC-200 Series PLC User Manual ② Function: When call this instruction, set whether enable external IO reset absolute coordinate value. Note: The relationship between the axis number and external reset signal: Axis 0 ——I0.2 (HSC0, SM37.0) Axis 1 ——I1.0 (HSC1, SM47.0) Axis 2 ——I1.4 (HSC2, SM57.0)
  • Page 233 TrustPLC CTSC-200 Series PLC User Manual motor forward forward corresponding direction axis when output “1” when DIR_LEVEL is 1. direction motor reverse axis output corresponding direction axis is“1” output “0” when DIR_LEVEL is 0. AXIS_NO Set axis number, 0/1/2/3 Byte...
  • Page 234 TrustPLC CTSC-200 Series PLC User Manual position instead of origin will be written back to the module next time the machine power on, so that the absolute position counting starting point of the module is consistent with the actual starting point of the machine. If this position happens to be the origin, this instruction has the same effect as MC_SET_POS_ZERO.
  • Page 235 TrustPLC CTSC-200 Series PLC User Manual Uniaxial relative motion instruction ① Function name: MC_PTP_R ② Function: Use for single - axis point - to - point control (single - axis fixed - length drive). One call for fixed pulse output, through the maximum and minimum speed and...
  • Page 236 TrustPLC CTSC-200 Series PLC User Manual 3 when E_STOP=1, RUN reset internal. 7 6 5 4 3 2 1 0 Output status byte: Bit0: parameter Bit0: configuration error sign 1 Judge Only to 1—Parameter axis parameter configuration error configuration error 0—Parameter...
  • Page 237 TrustPLC CTSC-200 Series PLC User Manual current axis (1 pulse 1 error and set the units coordinate) +2147483647 axis number correctly. Note: This value may be a little off ACT_SPE actual one, at Current run speed Dword 500~200000 most 5K, related to...
  • Page 238 TrustPLC CTSC-200 Series PLC User Manual Unit: HZ maximum speed 2 Changeable in the process 3 Recommend MIN_SPEED ≥500. Or the pulse output will complete minimum speed limit (usually 500) at the end of the deceleration. 4 Write MAX_SP Maximum speed of run...
  • Page 239 TrustPLC CTSC-200 Series PLC User Manual 0—parameter reasonable value configuration normal automatically. Bit1: Run sign Report 1—Running parameter failure if 0—Do not run TA=0 Bit2: Completion sign maximum 1—Instruction acceleration is not execution completed set; TD the same 0—Instruction execution...
  • Page 240 TrustPLC CTSC-200 Series PLC User Manual ② Function: Circular interpolation between any two axes (set points as relative coordinates). ③ Parameter Name Description Type Value range Note Run only when RUN =1 E_STOP Emergency stop bit E_STOP BOOL 1: valid, 0: invalid...
  • Page 241 TrustPLC CTSC-200 Series PLC User Manual Interpolation B axis number. Interpolation requires two axes, the virtual A-axis and B-axis. Unchangeable B_AXIS Map to the 0, 1, 2, 3 axes of the Byte in the process actual output. This parameter sets which axis the B axis maps to.
  • Page 242 TrustPLC CTSC-200 Series PLC User Manual 1 Unmodifiable in the process 2 Calculate acceleration Time of ACC/DEC, Dword 0~10000 Unit: ms only when startup and TA/TD changes 1 Run only when RUN =1 and E_STOP Run enable bit 2 RUN reset...
  • Page 243 TrustPLC CTSC-200 Series PLC User Manual Current position of B -2147483647 ACT_B axis(relative coordinate, actual Dint _POS output pulse) +214748364 Indicates relative coordinate of 1 axis when B axis allocate to 1 Current run speed Dword 500~200000 axis _SPEED Two-axis circular interpolation absolute motion instruction ①...
  • Page 244 TrustPLC CTSC-200 Series PLC User Manual 0-Arc Interpolation A axis number. Interpolation requires two axes, the virtual A-axis and B-axis. Map to the 0, 1, 2, A_AXIS 3 axes of the actual output. BYTE This parameter sets which axis the A axis maps to.
  • Page 245 TrustPLC CTSC-200 Series PLC User Manual indicates the arc trajectory with a radian greater than 180° . 2. The absolute value of RADIUS represents Arc radius 1 Set minimum speed less than maximum speed 2 Changeable in the process Minimum speed of run or MIN_SPE stop.
  • Page 246 TrustPLC CTSC-200 Series PLC User Manual 2 RUN reset internal when run complete. 3 When E_STOP=1, RUN reset internal. 7 6 5 4 3 2 1 0 Bit0: Output status byte: 1 Judge Only to Bit0: parameter axis parameter configuration error sign error 1—parameter...
  • Page 247 TrustPLC CTSC-200 Series PLC User Manual Two-axis three-point circular interpolation relative motion instruction ① Function name: MC_3P_CIRCLE_R ② Function: Circular interpolation between any two axes (set points as relative coordinates). ③ Parameter Name Description Type Value range Note 1 Run only when Emergency stop bit E_STOP =0.
  • Page 248 TrustPLC CTSC-200 Series PLC User Manual Interpolation B axis number. Interpolation requires two axes, the virtual A-axis and B-axis. Map to the 0, Unchangeable in B_AXIS BYTE 1, 2, 3 axes of the actual the process output. This parameter sets which axis the B axis maps to.
  • Page 249 TrustPLC CTSC-200 Series PLC User Manual 1 Set minimum speed less than maximum speed Minimum speed of run or 2 Changeable in MIN_SPEE stop. Dword 0~200000 the process Unit: HZ 3 Recommend MIN_SPEED ≥500. Or the pulse output will complete...
  • Page 250 TrustPLC CTSC-200 Series PLC User Manual Bit0: parameter error configuration error sign reported for other 1—parameter parameters, it will configuration error set to the nearest 0—parameter reasonable value configuration normal automatically. Bit1: Run sign Report 1—Running parameter failure 0—Do not run...
  • Page 251 TrustPLC CTSC-200 Series PLC User Manual ② Function: Circular interpolation between any two axes (set points as absolute coordinates). ③ Parameter Name Description Type Value range Note only when RUN =1 E_STOP Emergency stop bit BOOL E_STOP 1: valid, 0: invalid...
  • Page 252 TrustPLC CTSC-200 Series PLC User Manual axes, the virtual A-axis and B-axis. Map to the 0, 1, 2, 3 axes of the actual output. This parameter sets which axis the B axis maps to. Determine arc second point of the A axis...
  • Page 253 TrustPLC CTSC-200 Series PLC User Manual 500) at the end of the deceleration. Write MAX_SPEED 0 to realize the soft stop function (the output pulse deceleration stops). Then the enable bit RUN no reset; if write speed back to a...
  • Page 254 TrustPLC CTSC-200 Series PLC User Manual Bit1: Run sign nearest 1—Running reasonable 0—Do not run value Bit2: Completion sign automatically. 1—Instruction execution Report completed parameter 0—Instruction execution failure if TA=0 do not completed Bit3: Busy sign maximum 1—Valid, the axis occupied...
  • Page 255 TrustPLC CTSC-200 Series PLC User Manual ② Function: Control the frequency of uniaxial output pulse, the output pulse frequency (speed) can be changed any time. When receive the soft stop command, it will automatically slow down to stop. When receive the emergency stop command, the pulse output will stop immediately without any deceleration.
  • Page 256 TrustPLC CTSC-200 Series PLC User Manual startup and TA/TD changes Time of ACC, from setting time to 0~10000 Unmodifiable in minimum time the process Dword Unit: ms 7 6 5 4 3 2 1 0 Bit0: Output status byte: 1 Judge Only to...
  • Page 257 TrustPLC CTSC-200 Series PLC User Manual Note: Call the instruction when the machine moves to a certain position, which is equivalent to setting the origin of the axis at that position. Each time you call the "read absolute coordinates" command, you get a coordinate value relative to that point.
  • Page 258 TrustPLC CTSC-200 Series PLC User Manual output. This parameter sets which axis the A axis maps to. For example, 3 indicates A axis maps to the three axes (Pulse_3 and Dir_3). Interpolation B axis number. Interpolation requires two axes, the virtual A-axis and B-axis.
  • Page 259 TrustPLC CTSC-200 Series PLC User Manual acceleration only when startup TA/TD changes Virtual axis -2147483648 1 Unmodifiable in the A_POS destination (relative) DINT process coordinate. +2147483647 2 Unit: pulse Virtual axis -2147483648 B_POS destination (relative) DINT coordinate. +2147483647 1 Run only when RUN =1 and E_STOP =0.
  • Page 260 TrustPLC CTSC-200 Series PLC User Manual Indicates relative coordinate of 0 axis when A axis allocate to 0 axis Current position of B axis(relative -214748364 coordinate, actual ACT_B_P output pulse) DINT Indicates relative +214748364 coordinate of 1 axis when B axis allocate...
  • Page 261 TrustPLC CTSC-200 Series PLC User Manual number. the process Interpolation requires two axes, the virtual A-axis and B-axis. Map to the 0, 1, 2, 3 axes of the actual output. This parameter sets which axis the A axis maps to. For...
  • Page 262 TrustPLC CTSC-200 Series PLC User Manual Modifiable in the process Time of ACC Calculate Dword 0~10000 Unit: ms acceleration only when startup and TA/TD changes -2147483648 1 Unmodifiable in Virtual A axis destination the process A_POS DINT (relative) coordinate. +214748364...
  • Page 263 TrustPLC CTSC-200 Series PLC User Manual done. Current position of A axis(relative coordinate, -2147483648 ACT_A_PO actual output pulse) DINT Indicates relative +214748364 coordinate of 0 axis when A axis allocate to 0 axis Current position of B axis(relative coordinate, -2147483648...
  • Page 264 TrustPLC CTSC-200 Series PLC User Manual AXIS_NO Set axis number, 0/1/2/3 Byte 1: Reset complete STATUS Byte 0: Reset uncompleted ④ Explanation Use 0 axis to call this instruction. After the SET rising edge enables the external reset function and I0.2 detect the "effective reset signal", the system resets the axis 0 absolute coordinate, and also the STATUS setting reset complete.
  • Page 265 TrustPLC CTSC-200 Series PLC User Manual Calculate acceleration only when startup TA/TD changes Set axis number, AXIS_NO Byte 0/1/2/3 Enable reset bit absolute coordinate Bool SET rising edge, SET set 0, then set 1 for each call ④ Illustration If set the X-axis parameter TA=0, or the X-axis does not call this instruction, it is considered that the X-axis does not set maximum acceleration;...
  • Page 266 TrustPLC CTSC-200 Series PLC User Manual Set continuous interpolation instruction ① Function name: MC_SET_CI_MODE ② Function: set if enable continuous interpolation function ③ Parameter Value Name Description Type Note range 0: Turn off continuous Do not modify in interpolation continuous...
  • Page 267: Back To Zero Mode Illustration

    TrustPLC CTSC-200 Series PLC User Manual Back to Zero Mode Illustration 14 origin mode in all, select by your own request to precision and application Mode Definition Refer to negative origin switch and Z phase signal origin mode Refer to positive origin switch and Z phase signal origin mode...
  • Page 268 TrustPLC CTSC-200 Series PLC User Manual Origin mode 2: Refer to positive origin switch and Z phase signal origin mode The origin switch located in the positive mechanical direction. The machine moves towards the origin switch, decelerates to stop after detecting the origin switch, then reverses to exit the origin switch, finds the next Z phase signal of the motor and records it as the origin, the motor stops immediately.
  • Page 269 TrustPLC CTSC-200 Series PLC User Manual Origin mode 5: Only refer to origin mode of Z phase signal (negative back to zero) The motor moves along the negative direction from the current position and records it as the origin when the next Z phase signal is found.
  • Page 270 TrustPLC CTSC-200 Series PLC User Manual When the machine is within the origin switch range (mechanical motion trajectory 2), the origin can be found by directly running in the negative direction. When the machine is outside the origin switch (mechanical motion track 1 and 3), the machine runs in a constant direction (positive direction) toward the limit switch.
  • Page 271 TrustPLC CTSC-200 Series PLC User Manual As shown in the figure above, the mechanical slider slides in the positive limit direction (positive direction), and Z in the right position along the left side of the origin switch signal, the effective range of the origin switch signal.
  • Page 272 TrustPLC CTSC-200 Series PLC User Manual (positive direction), and Z in the right position along the right side of the origin switch signal, the effective range of the origin switch signal. When the machine is within the origin switch range (mechanical motion trajectory 2), the origin can be found by directly running in the negative direction.
  • Page 273 TrustPLC CTSC-200 Series PLC User Manual As shown in the figure above, the mechanical slider slides in the negative limit direction (negative direction), and Z in the right position along the right side of the origin switch signal, inside of the effective range of the origin switch signal.
  • Page 274 TrustPLC CTSC-200 Series PLC User Manual As shown in the figure above, the mechanical slider slides in the negative limit direction (negative direction), and Z in the left position along the right side of the origin switch signal, inside of the effective range of the origin switch signal.
  • Page 275: Examples

    TrustPLC CTSC-200 Series PLC User Manual Examples Case 1) Usage of uniaxial relative motion instruction...
  • Page 276 TrustPLC CTSC-200 Series PLC User Manual Case 2) Usage of uniaxial speed motion instruction...
  • Page 277 TrustPLC CTSC-200 Series PLC User Manual Case 3) Usage of two-axis line interpolation motion instruction...
  • Page 278 TrustPLC CTSC-200 Series PLC User Manual Case 4) Usage of two-axis arc interpolation motion instruction...
  • Page 279 TrustPLC CTSC-200 Series PLC User Manual Case 5) Usage of mixed motion control instruction The stepping motor move back and forth from point A to B. subdivide into 1000, the lead screw is 5mm, and the displacement L from A to B is 2000mm.
  • Page 280: Using Em231 Weighing Module Library Function

    TrustPLC CTSC-200 Series PLC User Manual Using EM231 Weighing Module Library Function Weight module converts the voltage signal of weighing sensor to digital AIW, the function of EM231 weight module is to change AIW to actual weight. Figure F-1: The principle of measuring weight You can obtain the linear relationship equation between weight and analog value via point a and b from above diagram,then you can get the actual weight of AIW.So as to get the...
  • Page 281 TrustPLC CTSC-200 Series PLC User Manual ② Function: Configure sensitivity, low pass filter cutoff frequency and average filter depth of sensors which connect to weighing module. ③ Parameter Value Name Description Type Note range Channel Channel number BYTE 1: Eigenvalue range 1mV/V...
  • Page 282 TrustPLC CTSC-200 Series PLC User Manual Weighing standard library ① Name: Weight_Default ② Function: Calibration, zero set and measurement ③ Parameter Value Name Description Type Note range Select mode, 0 is basic Mode mode, expansion BOOL mode Load factor setting,...
  • Page 283 TrustPLC CTSC-200 Series PLC User Manual ZeroValue Zero sampling value IN/OUT WORD 5461 Sampling value for once FirCalValue IN/OUT WORD 60074 calibration GNWeight Rough weight/net weight TareWeight Tare Status Status WORD Load factor setting parameter Parameter Factory default Note Sensitivity...
  • Page 284 TrustPLC CTSC-200 Series PLC User Manual Expansion Complete first calibration (second mode calibration weight 0)or complete first and second calibration Expansion Bit9 Low weights 1: Current weight <minimum weighing range mode Expansion Execute only in 1: Find zero and tare must be paused in...
  • Page 285: Weighing Library Mode Illustration

    TrustPLC CTSC-200 Series PLC User Manual second calibration calibration This weight value can only use for calibration records with specified Minimum digital steps above the MinWeight IN/OUT minimum weight. The weight minimum weight depends on the type of sensor. Digital...
  • Page 286 TrustPLC CTSC-200 Series PLC User Manual • Delete tare; • Read sampling value before and after filter; • Power-down alarm, line broke alarm, outrange alarm and set zero etc. 2) Expansion mode (Mode=1) (1) Call "Weight_Init", "Weight_Default" and "Weight_Extend"; (2) Supported functions: •...
  • Page 287 TrustPLC CTSC-200 Series PLC User Manual second calibration GrossWeight process GrossWeight before GWProcessValue VW25 value integer NetWeightt process NWProcessValue VW27 NetWeightt before integer value TareWeightt process TWProcessValue VW29 TareWeightt before integer value Sampling value before AnalogValueInit VW31 filter Sampling value after...
  • Page 288: Using Em277A Module

    TrustPLC CTSC-200 Series PLC User Manual Using EM277A Module 【Main feature】  Adopt a photoelectric isolation technique, high reliability and strong anti-interference ability.  Integrated terminal resistance, the bus adopt connection mode, no need dedicated network tap.  The power supply includes anti - access protection and Surge absorption function, it's suitable for bad industrial environment.
  • Page 289 TrustPLC CTSC-200 Series PLC User Manual sent to the EM277A module will be transmitted to the CTSC-200 CPU via EM277A. 【Function】 EM277A is a slave station device for MPI networks that can connect up to 6 extension modules for digital or analog I/O.
  • Page 290 TrustPLC CTSC-200 Series PLC User Manual Note A1/B1 and A2/B2 are both RS-485 electric port, consistent internal electric characters, you can choose to connect one or two group. PROFIBUS DP communication between S7-300 and EM277A of CTSC-200 PROFIBUS DP communication between S7-300 and EM 277A of CTSC-200 need S7-300...
  • Page 291 TrustPLC CTSC-200 Series PLC User Manual Figure G-2 shows an MPI network with CTSC-200 CPU and EM277A DP slave station module.  Use S7-300 master station module, PG\PC program station and Copanel HMI as MPI master station  CTSC-200 CPU is a MPI slave station ...
  • Page 292: Using Em277B Module

    TrustPLC CTSC-200 Series PLC User Manual Using EM277B Module EM277B is a modular slave station device for PROFIBUS DP network, which communicates with the DP master station.EM277B can connect up to six extension modules for digital or analog input and output.EM277B USES terminals to connect PROFIBUS network instead of standard connectors, and baud rate is automatically adjusted to be consistent with the main station.
  • Page 293: Em 277B Components And Installation Diagram

    TrustPLC CTSC-200 Series PLC User Manual EM 277B Components and Installation Diagram Figure H-2 EM 277B components ① Status LED ② Terminal resistance option switch: ON indicates with terminal resistance, OFF indicates without terminal resistance ③ Isolated signal A (network input) ④...
  • Page 294: User Guide

    TrustPLC CTSC-200 Series PLC User Manual User Guide This section introduces how to use EM277B, combined with "CPU312-1AE13 and EM277B communication" example gradually introduced EM277B hardware configuration, user programming and debugging as well as system diagnosis. Figure H-4 EM 277B installation construction...
  • Page 295 TrustPLC CTSC-200 Series PLC User Manual Components the example use Component Illustration Version of STEP 7 must support to configure DP A PG/PC with STEP7 master station For programming(download network hardware, MPI program cable program and monitor data) A DP master station system...
  • Page 296 TrustPLC CTSC-200 Series PLC User Manual Open HW-Config to configure hardware Double click the inserted 300 station “SIMATIC 300(1)” in step 2), as shown below: Figure H-6 HW-Config Interface Double click “Hardware” in picture above to open HW-config interface, set distribute I/O...
  • Page 297 TrustPLC CTSC-200 Series PLC User Manual Figure H-8 Add DP Master Station CPU In the dialog box above, set the PROFIBUS CP 342-5 interface address (as 2), and click the "New" to add a PROFIBUS connection for the DP master station. In the "Properties"...
  • Page 298 TrustPLC CTSC-200 Series PLC User Manual Figure H-10 Set CP 342-5D I/O Address Set CP 342-5 I/O address In the 【Address】 of the properties dialog box, the "Input" and "Output" start addresses are set by default (the default is 256 (16#100, the subroutine's CPLADDR parameter use this value).
  • Page 299 TrustPLC CTSC-200 Series PLC User Manual A dialog box pops up indicating that must call FC1 (DP_SEND) and send FC2 (DP_RECV). After setting CP342-5 property, a PROFIBUS DP master station system will be automatically added in the blank on the right, as shown in the figure below:...
  • Page 300 TrustPLC CTSC-200 Series PLC User Manual Figure H-14 Install GSD File Note: You could download the EM 277B GSD files (ct277B.gsd) on www.co-trust.com After installation, you can see EM277B and expansion module information in HW-Config hardware catalogue: Figure H-15 Complete GSD File Installation 2) Add EM 277B DP slave station Drag EM 277 PROFIBUS-DP from the hardware directory to the "PROFIBUS (1): DP...
  • Page 301 TrustPLC CTSC-200 Series PLC User Manual Figure H-16 Add EM 277B DP Slave Station Set slave station address Set the EM277B slave address in address under parameters of properties box. Note The valid address is 1 to 125, and is unique on PROFIBUS DP, also must be set as the address dialed by the DIP switch of EM277B module.
  • Page 302 TrustPLC CTSC-200 Series PLC User Manual slave station is completed, as shown in the following figure: Figure H-18 Complete slave station properties configuration Note: ensure that the "Hex parameter assignment" of the [Parameter Assignment] of the EM277B slave station property is set by default, as shown in the figure below (00,00,00) (double-click the EM277B icon to see), otherwise there may be a communication failure.
  • Page 303 TrustPLC CTSC-200 Series PLC User Manual Figure H-20 Add expansion modules for EM 277B ※ Download hardware configuration to CPU of DP master station Execute "Station" -> "Save and Compile" in of the HW Config interface. Till now, STEP7 has completed the hardware configuration. Before sending the configuration, confirm that you have established connection between the DP master station and PC/PG (MPI connection), then execute "PLC"...
  • Page 304 TrustPLC CTSC-200 Series PLC User Manual Figure H-21 Program interface Program function description: Execute FC1 (DP_SEND) to output CPU312 memory MB0-MB14 data to QB0-QB14 of EM277B extension module; input EM277B extension module IB0-IB14 into the MB15-MB29 memory of CPU312 by performing FC2 (DP_RECV).
  • Page 305 TrustPLC CTSC-200 Series PLC User Manual H.3.3 Diagnosis Diagnose PROFIBUS DP master/slave network through LED status, STEP 7 fault information and specific programming diagnosis. Diagnose by EM 277B The LED status for diagnosing EM277B can provide diagnostic information about connection with the main station and self-diagnosis information of EM277B firmware.
  • Page 306 TrustPLC CTSC-200 Series PLC User Manual 【Confirm fault】 Confirm faults in HW-Config due to steps below:  Open project online window through Station >Open ONLINE  Seek symbols showing diagnostic equipment state and fault condition. Press the F1 to open the help page of the diagnostic symbol to view the comments for the diagnosis.
  • Page 307: Using Em253 Motion Control Library

    TrustPLC CTSC-200 Series PLC User Manual EM253 Motion Control Library Using Function Introduction EM253 motion control library is dedicated for EM253 motion control module, able to realize multi-axis independent control. Installation Software “File” “Add/Remove Select menu item -> Libraries” find...
  • Page 308: Motion_Ctrl_Module_Lib Library" Instruction List

    TrustPLC CTSC-200 Series PLC User Manual “motion_ctrl_module_lib library” Instruction List TableI-1 Instruction list Function name Instruction name Support or not External reset coordinate MC253_EXT_RESET_EN EM253 not support enable instruction Configure motor direction MC253_INIT_DIR Supported instruction MC253_READ_POS Read position instruction Supported...
  • Page 309: Motion_Ctrl_Module_Lib" Library Instruction Illustration

    TrustPLC CTSC-200 Series PLC User Manual Initialize motion control Supported MC253_INIT module instruction must be called first Control module output Supported MC253_DO_CTRL instruction Read module input status Supported MC253_READ_DI instruction MC253_HSC_INIT Set module HSC instruction Supported MC253_READ_HSC Read module HSC instruction...
  • Page 310 TrustPLC CTSC-200 Series PLC User Manual block -> input filter -> analog, and download the system block to the PLC. Otherwise, the EM253 motion control module library instruction cannot be use (check the PLC information, where the 4 in and 4 out analog module channel is corresponding to that of the EM253 motion control module.).
  • Page 311 TrustPLC CTSC-200 Series PLC User Manual Instruction B Instruction C Instruction D Instruction E The remaining enabled instructions (instruction D/E) execute in position order when the buffer is filled with 3 portions. After the execution of instruction A, the buffer is released.
  • Page 312 TrustPLC CTSC-200 Series PLC User Manual the execution order is: instruction A -- > instruction C --> instruction B, as shown in table column 3: Instruction enable Instruction execute Instruction position order order order Instruction A Instruction B Instruction C...
  • Page 313 TrustPLC CTSC-200 Series PLC User Manual Instruction E Configure motor direction instruction ① Function name: MC253_INIT_DIR ② Function: configure motor direction Note Execute one time on first scan cycle of CPU power on ③ Parameter Value Name Description Type Note...
  • Page 314 TrustPLC CTSC-200 Series PLC User Manual ② Function: Read the absolute coordinate value of each axis. Once the origin coordinate is set, the value will calculate according to relationship between the output pulse and direction: positive rotation output a pulse: +1, while reverse output a pulse: -1.
  • Page 315 TrustPLC CTSC-200 Series PLC User Manual axis number, Unchangeable in the AXIS_NO Byte 0/1/2/3 process Minimum speed of run 1 Set minimum MIN_SPE or stop. Dword 500~200000 speed less than Unit: HZ maximum speed MAX_SP Maximum speed of run 2 Changeable in the...
  • Page 316 TrustPLC CTSC-200 Series PLC User Manual indicates the positive value direction along +214748364 greater than X-axis, number pulses negative pulse number output, final indicates the negative output pulse will be direction along subject to the new X-axis. set value. When the...
  • Page 317 TrustPLC CTSC-200 Series PLC User Manual (speed) can be changed any time. When receive the soft stop command, it will automatically slow down to stop. When receive the emergency stop command, the pulse output will stop immediately without any deceleration.
  • Page 318 TrustPLC CTSC-200 Series PLC User Manual TA/TD changes Time of ACC, from setting time to Dword 0~10000 Unmodifiable in minimum time the process Unit: ms STATUS 7 6 5 4 3 2 1 0 Bit0: Output status byte: 1 Judge Only to...
  • Page 319 TrustPLC CTSC-200 Series PLC User Manual ② Function: reset absolute coordinate Note Call the instruction when the machine moves to a certain position, which is equivalent to setting the origin of the axis at that position. Each time you call the "read absolute coordinates"...
  • Page 320 TrustPLC CTSC-200 Series PLC User Manual ③ Parameter Value Name Description Type Note range Enable reset bit Set absolute coordinate 0 at Bool SET rising edge, set SET bit 0, then set 1 for each call RESET rising edge, forbid to...
  • Page 321 TrustPLC CTSC-200 Series PLC User Manual Set maximum acceleration instruction ① Function name: MC253_SET_MAX_ACCELE ② Function: set maximum acceleration ( = MAX_SPEED/TA) (TA≠0) (if the instruction isn’t called, indicate the maximum acceleration has not been set) ③ Parameter Value Name...
  • Page 322 TrustPLC CTSC-200 Series PLC User Manual If set the X-axis parameter TA=0, or the X-axis does not call this instruction, it is considered that the X-axis does not set maximum acceleration; Otherwise, MAX_ACCELE=MAX_SPEED/TA is considered to be set as the X-axis maximum acceleration.
  • Page 323 TrustPLC CTSC-200 Series PLC User Manual ③ Parameter Value Name Description Type Note range Set axis number(2 axes for each Unmodifiable AXIS_ EM253 module, axis number Byte 0~255 in the process range decided by motion control modules number) Reference time unit 0: 1us, 1:...
  • Page 324 TrustPLC CTSC-200 Series PLC User Manual Set target position instruction ① Function name: MC253_SET_POS_PV ② Function: This instruction is used to write the absolute location of the machine to the module. For example, if the power cut off when machine runs to a certain position, save this position.
  • Page 325 TrustPLC CTSC-200 Series PLC User Manual ② Function: Configure HSC Note Execute one time on first scan cycle of CPU power on ③ Parameter Value Name Description Type Note range HSC sign(2 axes for each EM253 module, axis number Byte...
  • Page 326 TrustPLC CTSC-200 Series PLC User Manual 1—write new default 0—no update Bit6: update current value 1—write new current value 0—no update Bit7: effective bit 1—effective 0—ineffective Interrupt INT_CFG Byte reserved reserved configuration(reserved) -2147483 New current value Dword +2147483 -2147483 New default value...
  • Page 327 TrustPLC CTSC-200 Series PLC User Manual ② Function: Read HSC count status and current value ③ Parameter Name Description Type Value range HSC sign(2 axes for each EM253 module, axis number Byte 0~255 range decided motion control modules number) Status Word:...
  • Page 328 TrustPLC CTSC-200 Series PLC User Manual corresponds to Q0.0 Communication status sign STATUS Bool 1—communication timeout Note  The number of motion control module is only internally unified. If the PLC has 3 modules, among which module 0 and 2 is the motion control module, module 1 is not, then module 0 is ID0, module 1 is uncontrollable for it is not motion control module, and module 2 is ID1.
  • Page 329 TrustPLC CTSC-200 Series PLC User Manual running process of the axis port output pulse or direction according to the instruction (corresponding port is not controlled by the MC253_DO_CTRL), the port can restore normal IO functions after run (accept instruction MC253_DO_CTRL control);...
  • Page 330 TrustPLC CTSC-200 Series PLC User Manual 0/1/2/3 the process Minimum speed of run 1 Set minimum MIN_SPE or stop. Dword 500~200000 speed less than Unit: HZ maximum speed 2 Changeable in MAX_SP Maximum speed of run Dword 500~200000 the process...
  • Page 331 TrustPLC CTSC-200 Series PLC User Manual Modifiable during operation. When the new set value Output pulse. is greater than the positive output pulse number of pulses indicates the positive output, the final direction along -2147483647 output pulse will SET_PO X-axis,...
  • Page 332 TrustPLC CTSC-200 Series PLC User Manual ② Function: Find device origin by setting parameters such as homing mode. The relationship between the axis number and external reset IO signal (such as homing Z pulse): Axis 0 → I0.2 (MC253_HSC0) Axis 1 → I0.6 (MC253_HSC1)
  • Page 333 TrustPLC CTSC-200 Series PLC User Manual 1 pulse output Minimum speed MIN_SPEED DWORD 0~200000 close when speed Unit: Hz < 5Hz. SEARCH_SPE Origin search speed DWOR 0~20000 2 Unchangeable in Unit: Hz the process 3 Search speed should not be too...
  • Page 334: Using Permanent V Memory Library "Ct_Savevmem

    TrustPLC CTSC-200 Series PLC User Manual Using Permanent V Memory Library “CT_savevmem” Introduction CT_SAVEVMEM is provided to the user as a library function. It can save a segment of V memory data the user needs to permanent memory, so that the data will not lost for a long time (about a year).
  • Page 335 TrustPLC CTSC-200 Series PLC User Manual You can see newly added “ct_savevmem” under directory tree after installation: 2) Call CT_SAVEVMEM library Click “Network” where you add function block, double click“SAVE_VMEM” under “library”, it shows in “Network” Note Make sure EN is always ON before complete write, in other Word use sm0.0 or act_en to call.
  • Page 336: Using Ctsc-200 Cpu Telemaintenance

    TrustPLC CTSC-200 Series PLC User Manual Using CTSC-200 CPU Telemaintenance Introduction This chapter is to guide readers to use RS-232/PPI multi-master Cable (RS232/PPI multi-master Cable) to maintain remote PLC (including downloading, uploading and other functions) through modem and telephone network with STEP7-Micro/WIN running on...
  • Page 337 TrustPLC CTSC-200 Series PLC User Manual 2) Connect PC/PPI cable After configuring serial port, set DIP switch of PPI cable as (white means DIP switch), then connect the cable one end to the serial port of the newly configured PC, and...
  • Page 338 TrustPLC CTSC-200 Series PLC User Manual In “Modem Expansion Wizards”, select “Configure analog modem, mobile phone modem or PPI multi-master station cable” item Click “Next” configure modem, select “PPI Multi-master Cable” (show as red circle) Select “Modem Command” on interface above to enter dialog box below...
  • Page 339 TrustPLC CTSC-200 Series PLC User Manual Select “Multi-Master” mode in the red circle, AT Commands use default, click “OK” 4) Test PC/PPI cable that configured After completing the mode configuration of PC/PPI multi-station cables, back to the modem configuration screen and click the "program/test" to test the configured PC/PPI multi-station cables.
  • Page 340 TrustPLC CTSC-200 Series PLC User Manual HMI in the figure: Master can be both other main station and multi- master station, as well as none Note RS-232/PPI multiple primary device cables will be configured with a modem each time power on. Make sure the modem is also powered up before or almost at the same time as the cable is powered up.
  • Page 341 TrustPLC CTSC-200 Series PLC User Manual 2) Establish connection between modem and PC Double click red circle in figure above to enter modem connection configuration as shows below:...
  • Page 342 TrustPLC CTSC-200 Series PLC User Manual Modem Connection Select a connection with remote station Connect to(C): Phone number(P): Second Timeout(T): Connect Cancel No line for supporting modem dial! Click “Set” to add connection circuit. “Modem Connection Setting” dialog box shows as below: Click “Add”...
  • Page 343: Local Connection

    TrustPLC CTSC-200 Series PLC User Manual Add Modem Connection Wizard Local connection Name the connection, select a local modem, if you No current connection use mobile phone modem connection, choose check box. Please enter the connection name you want: Select local modem...
  • Page 344 TrustPLC CTSC-200 Series PLC User Manual Dial rule Modem Advanced The device installed following modem: Modem Connect to TP-Link ESC 5658V V92 External.. COM3 Properties Delete Cancel Application After clicking “OK”, the newly added modem is displayed in the list box under select local modem under add modem wizard.
  • Page 345 TrustPLC CTSC-200 Series PLC User Manual Add Modem Connection Wizard Number to dial You have to appoint the phone number of remote station No current connection you want to connect. Enter phone number of remote station. If you hope PC automatically ensure how to dial from di?erent position, please use 慸ial rule?
  • Page 346 TrustPLC CTSC-200 Series PLC User Manual General Connect tp(Default) Remove Current: Set as default Default: tp Dial from Dial properties Close Create multiple modem connections in the same way as above. Select the connection you want to use and click "Close". The connection information in "Communications" and "Modem Connection"...
  • Page 347 TrustPLC CTSC-200 Series PLC User Manual Modem Connection Select a connection with remote station Connect to(C): Phone number(P): 8489 Second Timeout(T): Connect Cancel Dial to T8489 Dial out Dialing… In progress… Connected Waiting for incoming information… There may be some changes in communication dialog box after getting through...
  • Page 348: L Using Ctsc-200 Storage Card And Battery Card

    TrustPLC CTSC-200 Series PLC User Manual Using CTSC-200 Storage Card and Battery Card TrustPLC CTSC-200 CPU only support CTSC-200 dedicated and battery card storage card Type Description Order No. Storage card, 64K(user program, recipe and CTS7 291-MC064 Storage card data record)
  • Page 349 TrustPLC CTSC-200 Series PLC User Manual instruction AN SM0.0 Normally close contact OR Logic out stack instruction instruction ON SM0.0 Normally open contact Output instruction immediately load instruction = Q0.0 LDI I0.0 Normally open contact AND Immediately output instruction immediately instruction =I Q0.0...
  • Page 350 TrustPLC CTSC-200 Series PLC User Manual Floating number Floating number comparison comparison (=, <, >, <=, >=, <>) OR LDRx (=,<,>,<=,>=,<>) load instruction instruction OR= 1.0, VD0 LDR= 1.0, VD0 Byte operand comparison String comparison (=,<>) load (=,<,>,<=,>=,<>) AND LDSx...
  • Page 351 TrustPLC CTSC-200 Series PLC User Manual Integer subtraction Integer divide with double instruction Integer -I 10000, VW0 DIV VW0, VD0 Integer multiply instruction Byte increasing instruction INCB *I 10000, VW0 INCB VB0 Integer division instruction Byte decreasing instruction DECB /I 10000, VW0...
  • Page 352 TrustPLC CTSC-200 Series PLC User Manual Convert Integer to string Cut bit integer instruction TRUNC ITS 10000, VB0, 10 TRUNC 1.0, VD0 Convert from double Convert from real to string Integer to Integer RTS 1.0, VB0, 10 DTI 100000, VW0...
  • Page 353 TrustPLC CTSC-200 Series PLC User Manual Logic calculate instruction Reverse byte instruction OR byte instruction INVB INVB VB0 ORB 1, VB0 Reverse Word instruction OR Word instruction INVW INVW VW0 ORW 10000, VW0 Reverse double Word OR double Word instruction...
  • Page 354: N Special Function Register

    TrustPLC CTSC-200 Series PLC User Manual Add to table instruction Last in-first out instruction LIFO ATT 10000, VW0 LIFO VW200, VW400 Seek table (=,<,>,<=, >=,<>) FNDx instruction FND=VW0,9999,VW1000 Interrupt instruction Return from interrupt CRETI ATCH Add interrupt instruction routine instruction...
  • Page 355 TrustPLC CTSC-200 Series PLC User Manual SMB0: System status bit The 8 bits of SMB0 play a special role in the system. At the end of each scan cycle, the PLC will update the 8 bits. Users can use the special functions of these bits in the program...
  • Page 356 TrustPLC CTSC-200 Series PLC User Manual SM address Function description(read only) This byte including every character of port 0 or 1 of FPORT SMB2 communication SMB3: FPORT odd-even parity error SMB3 is used to display FPORT parity errors. In FPORT communication mode, set SM3.0 1 when detecting checksum error in the received character.
  • Page 357 TrustPLC CTSC-200 Series PLC User Manual SM5.1 Set 1 when I/O bus connected too many digital I/O SM5.2 Set 1 when I/O bus connected too many analog I/O SM5.3 Set 1 when I/O bus connected too many intelligent I/O modules SM5.4~SM5.7...
  • Page 358 TrustPLC CTSC-200 Series PLC User Manual SMB20 Module 6 identification register SMB21 Module 6 error register Even byte (module ID register) format: Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 m: If there...
  • Page 359 TrustPLC CTSC-200 Series PLC User Manual Input of memory analog regulator 0. Updating it for every scan in SMB28 STOP/RUN mode Input of memory analog regulator 1. Updating it for every scan in SMB29 STOP/RUN mode SMB30 and SMB130: FPORT control register SMB30 controls FPORT 0 communication mode, and SMB130 controls FPORT 1 communication mode.
  • Page 360 TrustPLC CTSC-200 Series PLC User Manual SMW32, then store save command into SMB31. Once you issue the storage command, you cannot change the value of V storage until the CPU completes the storage operation and SM31.7 is set to 0.
  • Page 361 TrustPLC CTSC-200 Series PLC User Manual SM37.0 Reset valid control bit: 0= high level reset valid, 1=low level reset valid SM37.1 Reserved Count speed selection of orthography counter: 0=4x count speed; SM37.2 1=1x count speed SM37.3 HSC0 direction control bit: 1= addition count SM37.4...
  • Page 362 TrustPLC CTSC-200 Series PLC User Manual Count speed selection of orthography counter: 0=4x count speed; SM57.2 1=1x count speed SM57.3 HSC2 direction control bit: 1= addition count SM57.4 HSC2 update direction: 1= update direction SM57.5 HSC2 update preset value: 1=write new preset value to HSC0 SM57.6...
  • Page 363 TrustPLC CTSC-200 Series PLC User Manual SM storage), 1=multiple segment operation(envelope table involved in V storage area) SM67.6 PTO0/PWM0 mode selection: 0=PTO, 1=PWM SM67.7 PTO0/PWM0 valid bit: 1=valid SMW68 PTO0/PWM0 cycle(2~65, 535 time standard) SMW70 PWM0 pulse width (0~65, 535 time standard )
  • Page 364 TrustPLC CTSC-200 Series PLC User Manual the end of free line time is the beginning of new information. P0 inter-character/inter-message timer timeout value (represented by SMW92 ms). If the timeout, stop receiving message. Maximum characters P0 received(1~255 byte) SMB94 <Note> This area must set as maximum buffer you want, even if character count information is not used to terminate it.
  • Page 365 TrustPLC CTSC-200 Series PLC User Manual 0 = Ignore SMW90 or SMW190 1 = Use value of SMW90 or SMW190 to detect free status c/m: 0 =Internal character timer 1 = Inform timer tmr: 0 = ignore SMW92 or SMW192 1 = Terminate receiving when SMW92 or SMW192 timing timeout.
  • Page 366 TrustPLC CTSC-200 Series PLC User Manual (module Intelligent module type) Special non intelligent module(7PF) cotrust intelligent module(PID) 0: Digital intelligent 1: Analog module (module subtype) Intelligent 0: Normal intelligent module 1: Cotrust intelligent module(PID) No input AI/8DI intelligent 2AI/16DI module...
  • Page 367 TrustPLC CTSC-200 Series PLC User Manual HSC3 SMB136 HSC3 counter status SM136.0~4 Reserved SM136.5 HSC3 current count direction bit: 1=addition count SM136.6 HSC3 current value equal to preset value bit: 1=equal SM136.7 HSC3 current value more than preset value bit: 1=more than...
  • Page 368 TrustPLC CTSC-200 Series PLC User Manual SMB157 HSC5 control byte SM157.0~2 Reserved SM157.3 HSC5 direction control bit: 1= addition count SM157.4 HSC5 update direction: 1= update direction SM157.5 HSC5 update preset value: 1=write new preset value to HSC5 SM157.6 HSC5 update current value: 1=write new initial value to HSC5 SM157.7...
  • Page 369 TrustPLC CTSC-200 Series PLC User Manual SMB166 to SMB185: PTO0, PTO1 envelope definition table SMB166 to SMB185 use for display quantity of envelope step and envelope table, also the V storage table address (H224/H226L not support; H224X/H226XL support) Detailed description is shown in the following table:...
  • Page 370 TrustPLC CTSC-200 Series PLC User Manual Information SMB222 SMB272 SMB322 SMB372 SMB422 SMB472 SMB522 related ~249 ~299 ~349 ~399 ~449 ~499 ~549 specific module...
  • Page 371: Programming Cable

    TrustPLC CTSC-200 Series PLC User Manual Programming Cable CTSC-200 PLC programming cable with USB-485 port is used for CPU programing, upload, download and monitor, USB end connect to PC/PG, 485 end connect to CPU PPI port. Table O-1 Physical features of programming cable...
  • Page 372: P How To Use Programming Card

    TrustPLC CTSC-200 Series PLC User Manual How to Use Programming Card Specification Specification Portable programming card Type CTS7 291-PC001 Order No. Dimension(W×H×D) 63 mm ×33 mm × 17 mm Note:  Siemens memory card includes two functions: Data storage and portable programming, TrustPLC need use data storage card and portable programming card to complete the corresponding functions.
  • Page 373 TrustPLC CTSC-200 Series PLC User Manual Uing programming card 【Flow chart】 【Function of programming card】  Downloading function Download the STL program block, STL program library, system block and data block from MicroWIN project to the programming card. Steps: Step 1: Turn-off the power of PLC, then insert the programming card to the specified port.
  • Page 374 TrustPLC CTSC-200 Series PLC User Manual can download the program to PLC and programming card. Note: For the blocks which had not downloaded to programming card, a default block would be generated in programming card, and the default block would be uploaded to CPU.
  • Page 375 TrustPLC CTSC-200 Series PLC User Manual Light status Light-out Flashing Light-on SF light Normal Encountering an error STOP light- Orange Transferring data Normal Set the limitation of displaying times SMB100 Coverage function SMB111 Flicker Frequency: About 0.5 second (No precision requirement) ...
  • Page 376: Q Instructions Of Ethernet_Set

    TrustPLC CTSC-200 Series PLC User Manual 0 - Cover program block and data block; 1- Not cover program block, cover data block. 2 - Cover program block, not cover data block; 3 - Not cover program block and data block.
  • Page 377: Details Of Instructions

    TrustPLC CTSC-200 Series PLC User Manual Details of Instructions It’s available for free download the ETHERNET_set library file from CO-TRUST official website: www.co-trust.com. The library file includes the following parameters: Get IP address library ① Library name: GIP_ADDR ② Function: Get IP address.
  • Page 378 TrustPLC CTSC-200 Series PLC User Manual IP address, four bytes in total, IP_ADDR DWORD each byte shows the IP address from low to high. Subnet mask, four bytes in total, MASK DWORD each byte shows the subnet mask number from low to high.
  • Page 379 TrustPLC CTSC-200 Series PLC User Manual Set device name library ① Library name: SET_DEV_NAME ② Function: Set device name. IN/OU Data Parameters Name Explanation Type Enable, edge triggered. The instruction is not allowed to circularly invoke, cause set IP BOOL...
  • Page 380: Example

    TrustPLC CTSC-200 Series PLC User Manual Example The sample application of ETHERNET_SET instruction show as follows:...
  • Page 381: R Product Oder No

    TrustPLC CTSC-200 Series PLC User Manual Product Oder No. Specification Order No. TrustPLC CTSC-200 CPU224E, basic program memory 12KB, can CTS7 be extended to 16KB; Basic data memory 8KB, can be extended to 214-1AE33-0X24 108KB; 24VDC, 14DI / 10DO, Transistor output, 0.75A, one PPI...
  • Page 382 TrustPLC CTSC-200 Series PLC User Manual one Freeport, one EtherCAT port TrustPLC CTSC-200 CPU224I, basic program memory 12KB, can be extended to 16KB; Basic data memory 8KB, can be extended to CTS7 108KB ; 220VAC, 14 DI/10DO, relay output, 2A, one PPI port, one...
  • Page 383 TrustPLC CTSC-200 Series PLC User Manual 110KB; 220VAC, 24 DI/16 DO, relay outputs, 2A, two PPI ports, one Freeport TrustPLC CTSC-200 CPU226L, basic program memory 24KB, can be extended to 72K; Basic data memory 10KB, can be extended to CTS7 110KB;...
  • Page 384 TrustPLC CTSC-200 Series PLC User Manual TrustPLC CTSC-200 CPU226H, basic program memory 24KB, can be extended to 72K; Basic data memory 10KB, can be extended to CTS7 110KB; 24VDC, 14DI×24VDC, without interpolation, 10DO 216-1AH34-0B24 Transistor output, 4-axis motion control outputs, Pulse + Direction...
  • Page 385 TrustPLC CTSC-200 Series PLC User Manual TrustPLC CTSC-200 EM222 Digital output module, 8DO×24VDC, CTS7 222-1BF32 Transistor output, 0.5A TrustPLC CTSC-200 EM222 Digital output module, 16DO×24VDC, CTS7 222-1BH32 Transistor output, 0.5A TrustPLC CTSC-200 EM222 Digital output module, 32DO×24VDC, CTS7 222-1BL32 Transistor output, 0.5A...
  • Page 386 TrustPLC CTSC-200 Series PLC User Manual inputs, 0-20mA / 4-20mA, Isolation 16 bit precision, with intelligent TrustPLC CTSC-200 EM231 analog voltage input module, 8 inputs, ±2.5V,±5, V0~10V, 0~5V voltage input, and two channels to be CTS7 231-1HF32 selected, 0-20mA current input, Isolation 12 bit precision(AIW mapping) TrustPLC CTSC-200 EM231 thermocouple PID module, 4AI×TC,...
  • Page 387 TrustPLC CTSC-200 Series PLC User Manual EBH-AMS:4*12 bits precision Voltage input, 2*12 bits precision CTH2 AMS-06S1-EB voltage output EBH-AMS:4*12 bits precision Voltage input, 2*12 bits precision CTH2 AMS-06S2-EB Current output One channel RS485 communication extension board CTH2 485-01S1-EB Fittings PLC lithium battery (Apply to CTSC-100 CPU, CTSC-200 CPU)
  • Page 388 TrustPLC CTSC-200 Series PLC User Manual Address: Room 209, 210 at IC Design Industrial Park of XiLi Chaguang Road, Nanshan District, Shenzhen Hotline: 400-700-4858 E-mail: sales@co-trust.com Http: //www.co-trust.com SHENZHEN CO-TRUST TECHNOLOGY CO., LTD. Scan for more info...