Do you have a question about the CTH200 Series and is the answer not in the manual?
Questions and answers
Summary of Contents for COTRUST CTH200 Series
Page 1
CTH200 Series PLC User Manual Edition: V1.10 Release date: 06/2019 Shenzhen Co-trust Technology Co.,Ltd...
Page 2
You are not authorized to duplicate, excerpt the document in whole or in part or transfer it in any form or by any means without prior written authority from COTRUST. Offenders will be liable for damages. All rights, including rights created by patent grant or registration of a utility model or design, are reserved.
Safety Guidelines Only qualified person are allowed to install, operate and maintenance on CTH200 Series PLC. Qualified persons are defined as persons who are authorized to commission, ground, tag circuits, equipment, and systems in accordance with established safety practices and standards.
Precautions for Installation Do not install PLC at places with: dust, smut, conductive dust, corrosive gas, combustible gas, vibration and shock. Do not expose the PLC in environment like high temperature, moisture condensation and raining. Thunder strike, fire or disoperation can also cause product damage. Prevent the metal filing and cable outlet falling into the PLC ventilation hole when wiring and tightening the screws, for it may cause fire, failure and misoperation.
Chapter 4 introduces the specifications of CTH200 series PLC; Chapter 5 describes the networks and communication protocols of CTH200 series PLC; Chapter 6 illustrates the main features of CTH200 series PLC by some examples; Chapter 7 describes the Power budget calculation of CTH200 system;...
Reversion History Date Version Reversion description Delete original chapter 5.1 and 5.2. Add chapter 5.5, 5.6 and 5.7. Add chapter 4.7.4. attach the order info of the PN module June 2019 V1.10 and components in appendix Q ...
Catalogue Copyright ................................II Safety Guidelines ............................III Precautions for Use ........................... III Precautions for Installation ........................IV Precautions for Wiring ..........................IV Operation and Maintenance ........................IV Product Discard ............................IV Preface ................................V Reversion History ............................VI Product Overview ............................. 1 CPU Introduction ..........................
Page 8
4.3.2 Digital Output Modules Specifications ................45 4.3.3 Digital Input/Output Module Specifications................ 48 Analog Expansion Modules Specification ..................52 4.4.1 Analog Input Module Specification ..................53 4.4.2 Analog Output Module Specification ................. 61 4.4.3 Analog I/O Modules Specifications ..................63 Thermocouple and RTD Expansion Module Specifications ............
Page 9
6.3.4 UDP_PPI Slave Address Mapping .................. 143 Analog I/O Expansion Board ....................... 143 6.4.1 Installation Notes ......................143 6.4.2 Expansion Board Access Address .................. 143 Recipe and Data Log ........................145 6.5.1 Recipe ..........................145 6.5.2 Data Log .......................... 153 Power Budget ............................
Page 10
SM253 Motion Control Library ......................274 Introduction ........................274 Installation Instruction ...................... 274 sm253_motion_ctrl_lib Instruction List ................275 sm253_motion_ctrl_lib Library Instruction Explanation ........... 276 Debugging Example ......................300 Instructions of ETHERNET_SET ....................305 Instruction ........................305 Instruction Explanation ....................305 Example ..........................
CTH200 Series PLC User Manual Product Overview CTH200 series PLC is a kind of automatic controller product introduced by COTRUST, which aiming at the rapidly developing OEM market in China. Fuled by the abundant experience of COTRUST engineers and the quick response to marketing demand of industry 4.0, it owns traits from rich-model to Ethernet to excellent performance.
Page 12
Product Overview Table 1-1 CTH200 CPU Specifications Order number CPU H224 12KB program/8KB data, 24VDC power supply, 14DI/10DO transistor-source outputs, 0.5A, 1 PPI port, 1 freeport, 1 CTH2 214-1AD33-0X24 Ethernet port,3x50KHz motion outputs CPU H224 12KB program/8KB data, 220VAC power supply, CTH2 214-1BD33-0X24 14DI/10DO relay outputs, 2A, 1 PPI port, 1 freeport, 1 Ethernet port CPU H226L 12KB program/8KB data,24VDC power supply,...
CTH200 Series PLC User Manual Integrated parameter self-tuning fuzzy logic algorithm and temperature control PID library, with high accuracy and dynamic performance Build-in plenty of integrated functions with simplified programming and flexible control High-speed closed loop can be delivered to support some high-speed system application ...
Product Overview The analog I/O expansion board has 2x12 bits voltage inputs and 1x12 bit voltage/current input. Maximum System Configuration Up to 7 expansion modules per PLC connection Digital image register: 128DI/128DQ for H224/H226L; 640DI/640DQ for H224X/H226XL/H228XL, in which including private image for CAN communication. ...
CPU can be accessed as slave by other devices, equivalently a slave connection for the CPU itself. Standards and Specifications CTH200 series PLC have been approved for various international and industrial standards, the specifications for operating environment are shown as table 1-4: Table 1-4 Standards and specifications of CTH200 series PLC...
Page 18
Product Overview DC input short-interrupt Short-interrupt: 10ms and voltage change Voltage change: 80%~120%, 100ms IEC61000-4-29 Antidumping vibration Power line: 1KV wave Digital I/O(0(24V or higher): 1KV IEC61000-4-12 EMC – conduction and radiated emission Measuring distance: 10m Radiation(noise) EMI 30MHz~230MHz, < 40dB(uV/m) peak value EN55011, type A 1 group 230MHz~1000MHz, <...
AC Power Figure 2-1 Power up the CTH200 Warning Don’t install and wire the CTH200 series PLC with power on, faulty operation can cause serious damage for machines and personal death. Ensure disconnecting power while install or disassemble any electric device.
Getting Started Figure 2-2 Cable connection between CTH200 PLC and PC PLC connection with net cable Figure 2-3 illustrates how to use standard net cable to connect CTH200 PLC with PC. Figure 2-3 connection between CTH200 PLC&PC using net cable MagicWorks PLC to start MagicWorks PLC software, select “File ->New”...
CTH200 Series PLC User Manual 2.2.1 Serial Port Communication Mode The steps for PPI communication with MagicWorks PLC: 1. Click the “Set PG/PC Interface” in the “Communications” screen. Select the interface, the default is “PC/PPI Cable (PPI)”. Figure 2-5 MagicWorks PLC serial port communication interface 2.
Switch PLC to STOP when the communication protocol had changed previously. 2) Check the drive The cable provided by COTRUST must have matched drive, please obtain the drive from the following site: http://www.co-trust.com 3) Check the communication settings ...
Page 23
CTH200 Series PLC User Manual Figure 2-6 MagicWorks PLC Ethernet communication interface 3. Establish communication with CTH200 PLC: Double-Click the Refresh icon in the following dialog, MagicWorks PLC will search for and show the connected CTH200 PLC. Users can choose the CTH200 station and click OK after searching. If the MagicWorks PLC hasn not found the CTH200 CPU, please check wring first and then validate the Communication settings, after which repeat the above steps.
Getting Started Step 1 Step 2 Step 3 2.2.3 Modify IP Address in System Block After establishing communication connection, you can modify the IP address of CPU through the System Block in MagicWorks PLC. Note: downloading the System Block into PLC to make the modification effective. Then you need to search PLC again to establish connection (refer to chapter 2.2.2 Ethernet Communication Mode)
CTH200 Series PLC User Manual interval. This example uses the ladder diagram editor to enter the program, and describes the program compilation, download and operation process. Pictures below shows the ladder diagram and statement list to explain logic relationship in the program.
Getting Started Figure 2-8 Program editor 2.3.2 Compiling 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 can click the prompt to view details Figure 2-9 Program compile result Save project:...
CTH200 Series PLC User Manual 2.3.3 Downloading in toolbar or select the menu command “PLC -> Download” to Click the download icon download the program into CTH200, as shown in Figure 2-11 and 2-12. CTH200 PLC support read/write online, which means user can write instructions or parameters into PLC during Running, without switching to STOP.
Getting Started 2.3.4 Running MagicWorks PLC can switch the CTH200 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”. 1) Click the RUN icon 2) Click Yes to enter RUN mode and the CPU would execute program, Q0.0-Q0.7 will light on circularly at 1s interval, which means left shaft the value circularly in Q memory.
Make room for heat dissipation and wiring CTH200 series PLC are designed with natural ventilation and heat dissipation, with at least 30mm space above and below the module. Distance between the front plane and back plane must be at least 80mm.
Page 30
If you need an external 24VDC power supply, make sure that the power supply is not connected in parallel to the sensor power supply of the CTH200 series CPU. To improve electrical noise protection, please connect to the common terminal (M) of different power sources.
Both PLC and expansion modules have mounting holes, which can be installed at back plane conveniently. The following figure shows the Installation Dimension for all PLC and expansion modules. Figure 3-2 CTH200 PLC Installation Dimension (unit: mm) Table 3-1 Dimensions of CTH200 series PLC and expansion modules L1(mm) L2(mm) CPU H224/H224X CPU H226X/H226XL 196.5...
Installation Installation Method CTH200 PLC 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. Warning Don’t assemble and disassemble the CTH200 PLC and related devices with power, otherwise can cause electric shock or malfunction, even serious damage, injury or death.
CTH200 Series PLC User Manual Disassemble CPU or expansion modules 1) Remove the power of CTH200 CPU. 2) Dismantle all cables and wires on module. 3) Open the front cover to pull up the extended flat cable from neighbor expansion module if there has one.
Installation operator and device. Warning The control equipment may cause the misoperation of the equipment it controls, which may lead to death or serious personal injury and equipment damage. Therefore, the TrustPLC CTH200 system must have the emergency stop function, electromechanical interlock or other redundant safety facilities independent of the CTH200 system.
Page 35
CTH200 Series PLC User Manual Figure 3-5 Suppression Circuit for an AC Load...
Technical Specifications Technical Specifications CTH200 series PLC and the expansion modules enjoys different 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 ~ 28.8V Operation 0 ~ 55℃...
Page 37
CTH200 Series PLC User Manual Boolean execution 0.22µs 0.15µs speed Float execution 12µs 8µs speed H224X: 12+4KB User Program 8+4KB H226XL: 24+48KB H228XL: 48+24+24KB H224X: 8+100KB Data space H226XL/H228XL: 10+100KB Data hold with Max.8KB, permanent Max. 10KB, 200 hours power-off...
Page 38
Technical Specifications Analog with bits None None potentionmeter resolution Real-time clock Built-in with resolution of ±120s/m. Supported. Users can choose to “overwrite/not overwrite” the Program Card program/data blocks. Battery Card Supported Memory Card Supported 256 in all 512 in all 1ms: 4 1ms: 4 Timer...
Page 39
CTH200 Series PLC User Manual Transmission speed 10Mbps/100Mbps self-adaption Self-adaption cross-connect Industrial Ethernet interface RJ45 (10/100Mbps) Protocol type UDP_PPI, MODBUS_TCP, Ethernet PC Searching PLC and downloading configuration via Ethernet Configuration method port Connections (Max.) Up to 8 UDP and 6 TCP connections for each PLC...
Page 40
Technical Specifications Configurable, H224/H226L support 3.4ms and 6.4ms; Input filter H224X/H226XL/H228XL support 0.2ms, 0.4ms, 0.8ms, 1.6ms, 3.2ms, 6.4ms, 12.8ms, default as 6.4ms Isolation (field to logic) 500VAC for 1 minute Isolation groups Refer to wiring diagrams Inputs simultaneously Max Cable Unshielded 300 m for normal inputs length Shielded...
Page 41
CTH200 Series PLC User Manual Specifications of program and data memory Table4-2-6 Program Specifications of CTH200 PLC Items Description Instructions Basic instruction set for CTH200 MagicWorks PLC/Step7 MicroWIN Software (Program for using Ethernet port is only supported with MagicWork PLC)
Page 42
Technical Specifications Bit address range V0.0~V8191.7 V0.0~V8191.7 V0.0~V10239.7 Byte address VB0~VB8191 VB0~VB8191 VB0~VB10239 range Word address VW0~VW8190 VW0~VW8190 VW0~VW10238 range DWord address VD0~VD8188 VD0~VD8188 VD0~VD10236 range Access Immediate /direct/indirect access Data hold Power-down data retention is not supported Special memory (SM) H224/H226L H224X/H226XL/H228XL Storage...
Page 43
CTH200 Series PLC User Manual DWord address AC0~AC3 range Access Direct access Data hold Not support Sequence Control Relay (S) Storage (bytes) Bit address range S0.0~S31.7 Byte address SB0~SB31 range Word address SW0~SW30 range DWord address SD0~SD28 range Access Direct /indirect access...
Page 45
CTH200 Series PLC User Manual Retention at power down About 100h (typical at 25℃) Resolution Bias <120s each month Read clock Read via TODR/TODRX instruction or software Set clock Set via TODW/TODWX instruction or software General clock format (8 bytes)
Figure 4-14 CTH2 218-3BX33-0X60 relay output 4.2.3 Definition of Communication Port CTH200 series PLC, with RS485 interface and standard Ethernet port, supports both serial and Ethernet communication, definition of these two port shows as below: Table 4-2-12 Definition of standard RS485 communication port...
Technical Specifications Table 4-2-14 RJ45 Ethernet port RJ45 Connector Pin Number Signal Definition Data send positive Data send negative Data receive positive TERM TERM Data receive negative TERM TERM Note Define RS485 signal of some meters as A-positive, B-negative. Positive to positive and negative to negative when wiring (universal).
CTH200 Series PLC User Manual Digital Expansion Modules Specifications CTH200 series PLC are equipped with variety of digital expansion modules, including input, output and I/O modules. Table 4-3-1 CTH200 series PLC digital expansion modules order info Expansion modules Order No.
Page 54
Technical Specifications Signal "1" 15~30V Signal "0" 0~5V Isolation Optical (galvanic, 500VAC, last within 1 minute field to logic) Isolation points for each Group Input delay (max.) 4.5ms Leakage current 1mA AC (max.) Maximum Cable length Unshielded 300m Shielded 500m Output on simultaneously 40℃...
Page 59
CTH200 Series PLC User Manual field to logic) Isolation Groups 4 points 8 points Input delay (max.) 4.5ms Leakage current 1mA AC (max.) Output on simultaneously 40℃ 50℃ Output Counts Type Solid MOSFET Output Voltage Rated load Voltage 24VDC Range 20.4~28.8VDC...
Page 60
Technical Specifications Wiring diagram SM223 digital I/O module(CTH2 223-1BF32) SM223 digital I/O module (CTH2 223-1BH32) S M 2 2 3 D C /D C C TH 2 2 2 3 - 1 B H 3 2 CTH2 223-1BH接 线 图 SM223 digital I/O module (CTH2 223-1BL32) Relay Output Table 4-3-6 Digital I/O modules Specifications...
Page 61
CTH200 Series PLC User Manual +5VDC current 58mA 89mA 150mA L+ current output 9mA per point when switch on L+ Voltage 20.4-28.8VDC Input Counts Type Drain/Source Input voltage Range 24VDC Max. Permitted 30VDC voltage Surge voltage 35VDC, 0.5s Logic "1"...
CTH200 Series PLC User Manual Table 4-4-1 Analog expansion modules order info. Expansion modules Order No. SM231 analog input module, 4 inputs, 0~20mA current or±5V, CTH2 231-0HC32 ±2.5V, 0~0V, 0~5V voltage input, isolated 12 bits precision SM231 high precision analog input module, 8 inputs, voltage...
Page 64
Technical Specifications Voltage (bipolar) 2.5mV(±5V range); 1.25mV(±2.5V range) 5μA(0~20mA range) Current Analog to digital < 300μs conversion time Analog input step 1.5ms response Common mode 40dB, DC 60Hz rejection Signal voltage plus common mode voltage Common mode voltage must be ≤ 12V ≥10MΩ...
Page 65
CTH200 Series PLC User Manual value, select the sampling times above 64. Calibration steps: 1) Cut off external power of modules, configure DIP switch to select needed range. 2) Connect CPU with module power, wait for 15min above. 3) Use a transmitter, a voltage input source or a current input source to add the zero signal to module input.
Page 66
Technical Specifications Table 4-4-4 SM231-0HF analog input module specifications Features Dimension (W×H×D) 71.3 × 96 × 62mm 24V power , ON: Normal, OFF: Faulted Power +5VDC Consumption 87mA 50mA L+ Coil Voltage 20.4~28.8VDC Power consumption 2.5W Analog Input Counts Isolation (field to logic) Opto-couplers isolation, 500V AC for 1 minute Type Differential...
Page 67
CTH200 Series PLC User Manual Range selection and software configuration 【Range selection switch position】 【Range selection】 The following table shows how to set the range of SM231 8AI with DIP switch. Use 1, 2 and 3 to select the analogy input range which can be set to the same.
Page 68
VW398 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 SM231 8AI modules in your system, the SM231 8AI module cannot be installed in the first position (Slot 0), otherwise it will not work properly.
Page 69
CTH200 Series PLC User Manual Isolation Field to logic 500V AC Field to 24VDC 500V AC 24VDC to logic 500V AC Wiring diagram Range selection and software configuration 【Range selection switch position】 【Range Selection】 The following table shows how to set the range of SM231 8AI with DIP switch. Use 1, 2 and 3 to select the analogy input range which can be set to the same.
CTH200 Series PLC User Manual A/D Converter resolution Unipolar 12bits, Bipolar 11bits+sign bit Measure principle successive approximation Measuring error 0.5% (max) Simulate input addressing AIW Wiring diagram SM231 high precision AI module (CTH2 231-5HF32) <Note> Short connect the unused terminal in the figure above, for F+ and F-.
Page 72
Technical Specifications Modules SM232: 2 AQ × 12 bits SM232: 4 AQ × 12 bits Order No. CTH2 232-0HB32 CTH2 232-0HD32 Features Dimension (W×H×D) 46 × 96 × 62mm 71.3 × 96 × 62mm 24V indicator, ON: Normal, OFF: Faulted Power consumption +5VDC current 87mA...
CTH200 Series PLC User Manual Output Data Format Notice The 12 bits of the digital-to-analog converter (DAC) readings are left-justified in the output data word format. The MSB is the sign bit: zero indicates a positive data word value. The four trailing zeroes are truncated before being loaded into the DAC registers.
Page 74
Technical Specifications Current input 0~20mA Data word Format (Full-Scale) Unipolar 0~32000 Bipolar -32000~32000 Input Resolution Voltage input 2.5mV(0~10V range); 1.25mV(0~5V range) (Unipolar) Voltage input 2.5mV(±5V range); 1.25mV(±2.5V range) (bipolar) 5μA(0~20mA range) Current input Analog to digital < 300μs conversion time Analog input step 1.5ms response...
Page 75
CTH200 Series PLC User Manual Wiring diagram SM235 analog hybrid I/O module (CTH2 235-0KD32) Curr ent i np ut mod e Voltag e inpu t mode - B - C - D- × SM2 35 AI4 /AQ1 12 Bit 2 35 -0 KD 32...
Page 76
Technical Specifications 【Range and gain selection】 Table 4-4-14 shows how to configure the SM235 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. Table 4-4-16 shows how to select unipolar/bipolar (SW6), GAIN (SW4 and SW5) and attenuation (SW1, SW2 and SW3).
CTH200 Series PLC User Manual Notice The 12 bits of the analog-to-digital converter (ADC) readings are left-justified in the data word format. The MSB is the sign bit: zero indicates a positive data word value. In the unipolar format, the three trailing zeros cause the data word to change by a count of eight for each one-count change in the ADC value.
Technical Specifications SM231 hybrid temperature input module, 2NTC/PT100, 2 points 0~20mA current or ± 5V, ± 10V, 0~10V, 0~5V voltage input, CTH2 231-7ND32 isolated 16 bits precision SM231 thermal resistance temperature input module, 8NTC/PT100, CTH2 231-7NF32 isolated 16 bits precision 4.5.1 RTD Module Specifications Table 4-5-2 RTD modules specifications...
Page 79
CTH200 Series PLC User Manual Common mode >120dB@120VAC rejection Input resolution Temperature 0.1℃/0.1℉ Voltage 15bits plus sign Σ-Δ Measuring principle Module update time: 425ms 825ms All channels Wire length to sensor Max 100m 20Ω, 2.7Ω for Cu Wire loop resistance...
Page 80
Technical Specifications Table 4-5-3 RTD module diagnostic messages Range 24V power Type Channel Data SF LED 24V LED status bit failure No power module 32766 32767(Upscale) Disconnection Flash -32768(Downscale) Out of temperature 32767(Upscale) Flash range -32768(Downscale) <Note> For relevant error code of each Module, please check the SMB8~21 according to modules sequence.
Page 81
CTH200 Series PLC User Manual You can either directly connect the thermal resistance sensor to the SM231 module of CTH200 or use expansion wiring. The shielded wire, connect it to the ground point of PIN1-4 on signal connector if you use, can reach the best noise resistance.
Page 82
2-Wire in application which not emphasis accuracy. 【RTD module Configuration】 SM231 module allows CTH200 series PLC to connect with multiple thermal resistance sensor. Use DIP switches to select RTD type, wiring method, temperature scale and burnout direction. The DIP switches are located on the bottom of the module as shown in Figure bellow. For the DIP switch settings to take effect, you need to power cycle the PLC and/or the user 24V power supply.
CTH200 Series PLC User Manual 10000Ω Pt 0.003850 10Ω Cu 0.004270 150Ω FS Resistance 300Ω FS Resistance 600Ω FS Resistance Table 4-5-6 DIP switch settings Calibration Scale Unit Wiring method Upscale (+3276.7 Celsius (℃) 3-wire degrees) Downscale (-3276.8 Fahrenheit (℉)
Page 84
Technical Specifications Σ-Δ Transfer principle Module update time: All 425ms 825ms channels Wire length to sensor Max. 100m Conductor loop resistance Max. 100Ω Suppression 85dB@ 50Hz/60Hz/400Hz interference Data word format Voltage: -27648~+27648 >1MΩ Input impedance Max. Input voltage 30VDC Input Filter attenuation -3dB@ 21kHz Basic error 0.1% FS(voltage)
Page 85
CTH200 Series PLC User Manual No power 32766 32767 (Upscale) Open Wire Flash -32768 (Downscale) Temperature 32767 (Upscale) Flash Outrange -32768 (Downscale) <Note> For relevant error code of each Module, please check the SMB8~21 according the modules sequence. Table 4-5-9 SMB8~21 Diagnose information...
Page 87
CTH200 Series PLC User Manual DIP switch and software configuration ● DIP switch configuration SM231 TC module enjoys 7 types thermocouple: J, K, E, N, S, T and R. It has a convenient isolated interface and allow to connect micro analog signal (range ±80mV), All TC on module must be the same type and it’s better to use isolated TC sensor.
VW394 VW396 VW398 As COTRUST TD2X and SIEMENS TD200 have address fixed at VW0, if you need to use TD2X/TD200 and SM231 8TC Module simultaneously, the SM231 8TC module cannot be installed at Slot 0, or it cannot operate normally.
Page 89
CTH200 Series PLC User Manual Table 4-5-13 SM231-7ND module specifications Order No. CTH2 231-7ND32 Features Dimension (W×H×D) 71.3 × 96 × 62mm 24VDC indicator: ON=No fault, OFF=No 24VDC power LED indicator SF Indicator: ON=Module fault, Flash=Out range or disconnect, OFF=No fault...
Page 90
Technical Specifications Input impedance Voltage input>10MΩ; Current input=250Ω; NTC input>10MΩ Max. Input voltage 30VDC(detect), 5VDC(source) Input Filter attenuation -3dB@21kHz Basic error 0.1%FS(resistance) Repeatability 0.05%FS Addressing method Application Environment ■ Temperature: horizontal installation 0-55℃, vertical installation 0-45℃ ■ Humidity: 95% Non - Condensing Usage SM231 NTC can be used for expanding CTH200 CPU analog measurement, connecting with CPU by Bus interface.
Page 91
【Obtain input values】 1) You can read 2 bytes of input data per channel from the user program or Configuration software (such as MagicWorks PLC of Cotrust or MicroWIN of Siemens). 2) NTC full scale reading: -400~1200(R25=10K B=3950), Temperature range: -40.0~120.0℃;...
Page 92
Technical Specifications L+ voltage range 20.4~28.8VDC Power dissipation 1.8W Input Pt100: α=3850PPm/3920PPM/3850.55PPM/3916PPM/3902PM Input type NTC: R25=10k/B=3950 or R25=10k/B=3435 Pt100: -50℃~800℃ NTC(R25=10k/B=3950): -40℃~120℃ Temperature scale range NTC(R25=10k/B=3435): -40℃~150℃ <Note> Error when exceeding this range, refer Table 4-30 for Diagnostic details. Counts 8PT100/8NTC Plug-in I/O terminal Power isolation...
VW396 VW398 Notice As COTRUST TD2X and SIEMENS TD200 have address fixed at VW0, if you need to use TD2X/TD200 and SM231 8AI Module simultaneously, the SM231 8AI module cannot be installed at Slot 0, or else it cannot operate.
Page 95
CTH200 Series PLC User Manual 【Usage specifications】 Insulation thermocouple should be used to achieve good immunity from interference Use Shielded wire, grounded, as signal line. GND terminal must be connect to the ground. Short unused channels to eliminate the Break line fault alarm...
Page 96
Technical Specifications Temperature resolution 15bits + sign bit Input Filter attenuation -3dB@ 21kHz Basic error 0.1% FS(voltage) Repeatability 0.05% FS Cold junction error ±1.5℃ Diagnostic program LED: EXTF, SF PID features PID algorithm PID+FUZZY parameter adaptive tuning Sampling time Min output pulse width 10ms PID Type P, PI, PD, PID...
Page 97
CTH200 Series PLC User Manual output address Table 4-6-4 PID parameter output (Module to CPU) Items Address Value range Actual value Actual temperature VW A -2000~13000 -200~1300 degrees Status word VW A+2 PID Analog output VW A+4 -32000~32000 Table 4-6-5 PID parameter input (CPU to Module)
Page 98
Technical Specifications Calculating the address of last PID loop on the second expansion module SM231-7TF. According to the above statement: S=1, C=7 A Address, A=2048 + 1 * 256 + 16 * 7 = 2416 X Address, X=2048 + 1 * 256 + 12 = 2316 Y Address, Y=2048 + 1 * 256 + 13 = 2317 Set or read out the parameter values according to the following parameter address descriptions: VW2544...
Page 99
CTH200 Series PLC User Manual 【DIP Configuration】 SM231 TC module, supports J/K-type thermocouple, provide a 6-bit DIP switch to set measurement Unit, Cold-junction compensation and open-circuit fault direction. As with SM231 8TC, it detect open-wire forcely. 6-bit DIP switch is located below the module as shown in the following figure. SW1~SW2 are unused, SW3 for TC type, SW4 for open-wire detect direction, SW5 for measurement Unit, SW6 for Cold-junction enable.
Page 101
CTH200 Series PLC User Manual Table 4-6-8 231-7HF32 current PID module specifications Features Dimension(W x H x D) 120.5 x 80 x 62 mm Weight 210 g Insert I / O terminal Power consumption Bus(5 V DC) 87 mA 37 mA Power 1.8 W...
Page 102
Technical Specifications Table 4-6-9 DIP switch configuration Range Resolution 0~20mA 0.1℃/F 4~20mA 0.1℃/F (default) PID address and parameter configuration Table 4-6-10 PID address computation Address name Formula Note PID parameter address A=(2048+S*256)+16*C PID positive pulse output S = Slot No. (0~6) X=(2048+S*256)+12 address C = Channel No.
Page 103
CTH200 Series PLC User Manual V( A+130).3 Unused V( A+130).4 Integral works Integral not work V( A+130).5 Differential works Differential not work Filter the actual temperature Not filter the actual V( A+130).6 value, enhance Interference temperature value immunity PID pulse...
CTH200 Series PLC User Manual Communication Module Specifications Table 4-7-1 Communication modules Order info Modules Order No. SM277A Profibus DP slave interface module, 12M, optoelectronic CTH2 277-0AA32 isolation SM277B Profibus DP slave module, 1.5M, optoelectronic isolation CTH2 277-0AB32 SM277C CAN slave module, with 8DI/6DO, optoelectronic isolation,...
Page 106
Technical Specifications 3 ~ 12Mbps 100m Network performance Station address 0 ~ 126 (setting by DIP switch) Max stations per segment Max stations per 126, up to 125 SM277 stations network MPI connections Total 6, 2 reserved (1 used for PG, the other used for OP) 24VDC Power requirement Voltage range 20.4 ~ 28.8VDC (class 2 or PLC sensor power)
Technical Specifications Table 4-7-4 Terminal resistance setting Terminal resistance Meaning Located on the last node of network Not Located on the last node of network 4.7.2 SM277B DP Slave Module Specifications Table 4-7-5 SM277B modules specifications General Order No. CTH2 277-0AB32 Dimension (W×H×D) 71.3 ×...
Page 109
CTH200 Series PLC User Manual Max output current at 5V 660mA Wiring diagram SM277B PROFIBUS DP slave module (CTH2 277-0AB32) Set PROFIBUS address You can use DIP switch to set PROFIBUS address. Cut-off and recycle the power of SM277B module to make them effective after you change the address.
Page 111
CTH200 Series PLC User Manual General Order No. CTH2 277-0AC32 Dimension (W×H×D) 71.3 × 96 × 62 mm Digital input Ports 2 RJ45 port for CANopen Rated input voltage 24VDC Type Source/Drain (IEC class 1 source point) Max continuous voltage...
Page 112
Technical Specifications DIP switch configuration Table 4-7-9 DIP switch configuration of SM277-0AC32 SM277-0AC32 DIP switch Switch Usage Node In binary: 1 - lowest bit, 7 - highest bit address Note: 0 - global address, 0 is not allowed during operation. In binary: 8 - lowest bit, 10 - highest bit DIP setting Baud rate...
CTH200 Series PLC User Manual SM 277C status LED can be used to diagnose the CANopen master-slave network. Switch on the power of SM 277C, “ON” LED (Green) for the power would light on. If the BF and SF LED remain OFF, indicate the SM 277C works normal, on or flash mean fault in hardware configuration or wiring.
Technical Specifications Protocol type CTH200 PLC self-defined 4MHZ bus protocol configuration Analog IO max configuration is 64AI/32AQ each slave bus Digital IO max configuration is 256DI/256DQ Topological structure Support stellate, tree form, linetype and annular structure PROFINET communication port Communication port One double RJ45 port Transmission speed of Ethernet is 10Mbps Data transmission speed...
Page 115
CTH200 Series PLC User Manual Isolation Field to Logic 500VAC Field to 24VDC 500VAC 24V to Logic 500VAC Common mode >120dB@120VAC rejection Resolution performance Temperature effect on ≤±0.1μV/K zero Measurement principle Σ-Δ Cable length to senor Max. 500 m Noise rejection...
Technical Specifications Wiring Diagram SM231 weighing module (CTH2 231-7WA32) Motion Control Module Specifications Table 4-9-1 Specifications of motion control module Order number CTH2 253-1BH32 General 24VDC input Input counts Type Drain/Source (IEC class1/Drain) Rated voltage 24 VDC at typical 5mA Maximum Continuous 30 VDC permissible voltage...
Page 117
CTH200 Series PLC User Manual < 1ms(I0.3, I0.7) Connection of 2 Wire Proximity Sensor (Bero) Permissible leakage current Isolation (Field to Logic) Optical Isolation (Galvanic) 500 VAC for 1 minute HS input rate 200KHz(single/dual phase) (I0.0, I0.4) HSC Logic 1=16~26 VDC 200KHz (A/B phase) (I0.0 &...
Technical Specifications Unshielded 150m Caution DO commands executing would be delayed a while during communication transfer; if there is only one SM253 motion control module attach after the CPU, the delay time for DO from enable to execute is about 780μs; if there are 5 motion control modules, the delay time would be 930μs.
CTH200 Series PLC User Manual resolution, 1*12bits voltage/current output resolution EBH-AMS-06 Analog I/O Expansion Board,4*12bits voltage CTH2 AMS-06S1-EB resolution, 2*12bits voltage output resolution EBH CAN master communication Expansion Board, 1Mbps, CTH2 CAN-01S1-EB optoelectronic isolation 4.10.1 Analog Expansion Board Specifications Analog Expansion Board EBH-AMS-03/EBH-AMS-06 can be used with CTH200 modules by invoking in the CTH200_CPU expansion slot.
Page 120
Technical Specifications Data word format for 0 to +32000 full-scale Resolution 12bits Voltage 5.00μA Voltage 5.00μA LSB value Current 2.50mV Isolation None Accuracy Voltage ±3% full-scale Current ±2% full Current ±2% full Worst case (0-55゜) scale scale Voltage ±1% full scale Current ±1% full Current ±1% full Typical (25゜)
CTH200 Series PLC User Manual Table 4-10-4 AMS-06 Terminal definition Terminal Signal definition Terminal Signal definition Output V0/I0 Analog Input B+ Output V1/I1 Analog Input C+ Ground GND-M Analog Input D+ Analog Input A+ Ground GND-M <Note> A+/B+/C+/D+ are voltage inputs for positive or negative voltage, V1 must be connected with Terminal 3, D+ connected with Terminal 8.
4.10.3 Circuit Guidance Expansion Board Specifications Circuit guidance expansion board, one of the CTH200 series PLC expansion boards, is used to detect the connection and charging status between charging piles and charging gun or car, which can be used to control the charging speed. Suitable both for AC and DC charging.
Page 123
CTH200 Series PLC User Manual Filter Combined hardware filter with software one Power supply With 5V DC power supply for modules Input features Type Single-ended input(Unipolar/bipolar) Counts Full-scale voltage 0 ~ +12V Max input voltage +30V DC ≥100K Input resistance...
Page 124
Technical Specifications Table 4-10-8 terminal definition Definition Definition +12V Diagram CTH2 PWM-04S1-EB expansion board suits for AC and DC charging guidance 1) Diagram below shows the function of AC charging guidance: +12V as the output port (1K resistance connected); PWM output ±12V, pulse changeable PWM; CC detect the status of cable connection (0X12--disconnected, 0X00--connected);...
Page 125
CTH200 Series PLC User Manual 2) Diagram below shows the function of DC charging guidance: CC detect the connection status of DC charging cable, 12V means disconnected (0X12), CC will detect 6V(status 0X06) when connect 1K resistance; CC detect 4V(status 0X04) when S3 closed.
5. Press the left-side of the cover plate inclining, fit it onto CPU again. Notice CTH200 series CPU all support Analog I/O expansion board, but only H224X, H226XL and H228XL support CAN-01. CAN-01 can be used for CPU directly, but Analog I/O expansion board can be used for CPU only by invoking ExBoard_H200 library or special memory.
CTH200 Series PLC User Manual Communication Protocol and Networking Mode CTH200 series PLC support various ways of network communication, from normal serial port communication to Ethernet. Supporting communication protocols including PPI, MPI, Freeport, CANopen, Ethernet, profibus-DP and PROFINET. Choose protocol in your need, see chapter Communicate with CTH200 for specific communication mode and connection.
Communication Protocol and Networking Mode Programming cable DP cable The following example is multiple masters with multiple slaves. Programming PG/PC and HMI as Masters, CTH200 PLC as Slaves. Figure 5-2 Multi masters PPI network The following example is multiple CTH200 CPUs interconnection, which using NETR/NETW instructions to achieve network communication.
CAN-01S1-EB) on CPU(H224X/H226XL/H228XL) to be CAN master in the CTH200 CANopen communication system, which could exchange data with remote CAN slave(CTH2 277-0AC32) and its expansion boards as well as communicate with servo(COTRUST E10) or frequency converter supporting CANopen communication.
Specifications. Ethernet Communication CTH200 series PLC support various ways of communication, from Ethernet to Modbus TCP and UDP/PPI to telecommunications, monitor and data exchange using Mico. CTH200 series PLC, which could communicate with other CPU modules, HMI or PC, support Modbus/TCP, UDP/PPI protocols for local Ethernet communication as well as remote program and monitor by Mico, a cloud platform where you can real-time view the status of remote devices.
CTH200 Series PLC User Manual With high reliability, CPU, as a slave of some master, enable to connect to PROFIBUS field bus to exchange data fast and in real time as well as operate alone by DP slave module. Figure 5-9 and 5-10 show the profibus-DP network architecture of SM277A and SM277B DP slave respectively.
Page 132
Expansion Modules(up to 8) S M277PN Profinet communication S M277PN Expansion Modules(up to 8) Figure 5-10 PROFINET network architecture Refer to CTH200 series profinet slave module user manual for More details and example of PROFINET communication module. Download address: http://www.co-trust.com/Download/index.html...
CTH200 Series PLC User Manual Applications Examples in this chapter show you the various ways of communication the CTH200 series PLC supported. CANopen Communication Example in this section shows you the data transmission via CANopen communication. 6.1.1 Components This example use CAN master expansion Board to build CANopen network consisting of slave modules.
Applications Figure below shows how to connect CANopen bus with CPU terminal: Figure 6-2 CANopen bus connection Note: Please short-connect 2 with 3 when matching with terminal resistance 6.1.3 Operating Steps CANopen network configuration 1. Open the EasyCAN configuration interface Figure 6-3 EasyCAN configuration page 2.
Page 135
CTH200 Series PLC User Manual Figure 6-4 Add master station Then, double-click the master CPU H226XL in slot 1, an information dialog would pop-up, shown in the following figure. Set Baud Rate 1000kbps, select CPU for Master Type, 1 for Node ID and check the “Use CAN Bus”...
Page 136
Applications connected with CAN BUS automatically. Figure 6-6 Add slave 2) Setting slave parameters Double-click the icon below CAN BUS to pop-up the Slave Info Dialog. Figure 6-7 Configure slave Here you can set the following slave parameters: ■ Slave Name: Name of the Slave (Default as SM277C, CT E10 or OTHERS). ■...
Page 137
CTH200 Series PLC User Manual Figure 6-8 Configure slave Modify the I/O Configuration MagicWorks PLC V2.08 and above supports user-defined Start Address for I/O and adds V Memory image to allow users select Memory image. Double-click the non-blank line to pop-up...
Page 138
Applications Analog Input: Image to CPU AI Memory and V Memory; Analog Output: Image to CPU AQ Memory and V Memory; Table 6-2 Valid address range for Memories Memory Address range IB16~IB79 QB16~QB79 AIW64~AIW386 AQW64~AQW386 VB0~Vmax Important Note: For specified modules, the I/O Type and Length cannot be modified unless the module type is Universal Module.
Page 139
CTH200 Series PLC User Manual Figure 6-11 I/O configuration I/O: Set the Read/Write attribute for parameters. Start • Address: set the Start address for parameters. • Length: use Default value, not editable. • Unit: use Default value, not editable. End: Use the value calculated by system.
Page 140
Applications Figure 6-12 Configure third-party slave Modify IO Configuration Double click any parameter in the module list, the following dialog appears: Figure 6-13 I/O configuration I/O: Set the Read/Write attribute for parameters. Index(Hex): Main index for selected slave parameter. Sub-Index(Hex): Sub index for selected slave parameter. Start...
Page 141
SMB information area would display : 0x7 configuration parameter error; For details of Cotrust Servo Drives, please visit at http://www.co-trust.com 4. Connection and Configuration of Hardware Connect CPU H226XL with PC by using communication cable (the USB end connects to the USB socket of PC, the RS485 end connects to the RS485 port of CPU H226XL).
Page 142
Applications 1000 DIP11 (Terminal resistance): Set as ON only if the device is the last one in the device ring. DIP12: Reserved. Attach the SM223 8DI/8DO, SM221 8DI and SM231 AI2*16BIT modules after the extended port of SM277C. Then check and confirm the wiring correctly. ...
Instruction pulse/CANopen communication LED Warning LED Warning LED Diagnose by MagicWorks PLC CTH200 series PLC is allocated with 100 bytes SM. Users can get error information by viewing status bytes. The meaning of CAN site status word is shown in the following table:...
Applications Table5-22 CAN station status table Byte Address distribution Status value explanation 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 SMB551-SMB582: 0x01: Disconnect communication status of 1~32 0x04: Stop slave station(Node ID from 0x05: Run...
Network Connection Connect Program device with CTH200 PLC by standard network cable, then use the CT_Modbus_TCP library from COTRUST to program the Modbus master (CTH200): . 0 . 1 . 2 . 3 . 4 . 5 . 6 . 7 .
Applications 6.2.3 Operating Steps Step 1: Connection Connect PC with Modbus_TCP master with a standard network cable. Step 2: Set Communications Create a new project in MagicWorks PLC and add a CTH200 station, refer to chapter Communicate with CTH200 PLC Communication Settings to establish a communication connection between CTH200 PLC and PC.
Page 147
CTH200 Series PLC User Manual Count WORD No. of elements (1-120 words or 1-1920bits) LocalDataptr DWORD Local data pointer (such as &VB1000) Done BOOL Done flag (0 = Undone; 1 = Done) Active BOOL Instruction activation (0 = Active; 1 = Inactive)
Applications Modbus_TCP address from 40001 in the state table of MagicWorks PLC. Same content with data in the memory for Modbus_TCP master means successful Modbus TCP communication. 6.2.4 ModBus TCP Slave Address Mapping ModBus address is consist of Data Type and 5~6 character values of the offset. The first 1 or 2 is Data Type, others are values conforming to the data type.
CTH200 Series PLC User Manual Notice For details about how to use NETW/NETR Wizard, please refer to “MaigcWorks PLC user Manual”. The related Manuals and Library files downloaded address: http://www.co-trust.com. 6.3.1 Components Table 6-5 UDP_PPI example components Components Description Program Device Installed with MagicWorks PLC (V2.08 and above), used for CTH200 PLC...
Page 150
Applications Using a standard cable to connect the PC with UDP_PPI master (CTH200). Step 2: Set communication Create a new project in MagicWorks PLC and add a CTH200 station, refer to chapter Communicate with CTH200 PLC Communication Settings to establish a communication connection between CTH200 PLC and PC.
Page 151
CTH200 Series PLC User Manual Network1: Write the 200 bytes data of the UDP_PPI master (started from: VB312) into UDP_PPI slave(IP: 10.1.3.251, started from: VB101).
Page 152
Applications Network2: Read the 200 bytes data from the UDP_PPI slave (IP: 10.1.3.251, started from: VB101) into UDP_PPI master (started from: VB22) . 2) Program the UDP_PPI master by NETR/NETW-UDP instruction Wizard Select “wizard” in the subordinate options of CTH200, then double click “NETR/W-UDP wizard” to open a dialog box for configuration.
Address Image for slave is direct mapping. Analog I/O Expansion Board CTH200 series CPU can be equipped with Analog I/O Expansion Board. The board embedded in to master CPU via bus connection. It provides collected analog signals, processing results and...
Page 154
Applications A+ input SMW116 Module type SMB114 B+ input SMW118 Module status SMB115 VO output SMW124 4AI/2AQ: SMW116 for AIW0, SMW118 for AIW2, SMW120 for AIW4, SMW122 for AIW6, SMW124 for AQW0, SMW126 for AQW2 Function Image address Function Image address A+ input SMW116 V0/I0 output...
CTH200 Series PLC User Manual Example Ladder diagram STL and program comments LD SM0.0 CALL ExBoard_WriteAq, 0, VW1360, MB15 CALL Exboard_ReadAi, 0, MB16, VW1362 CALL Exboard_ReadAi, 1, MB17, VW1364 // enable the board to program // call the ExBoard_WriteAq, write the AQ of...
Page 156
Applications Reci pe De fi nition : Donu ts Rec ipe D efini tion: Cook ie s Memo ry Cartridge Oatmeal Bu tter Suga r Whi te suga r C hocol ate Chi p Bu tter 8 oz . Whi te suga r 6 oz. C ook Ti me C ook Ti me 9 mi nutes Get Recipe...
Page 157
CTH200 Series PLC User Manual Example of Recipe Definition -- Cookies Chocolate_Chip Sugar Filed Name Data Type Comment (recipe 0) (recipe 1) Butter Byte Ounces White_Sugar Byte Ounces Brown_Sugar Byte Ounces Eggs Byte each Vanilla Byte Teaspoon Flour Byte Ounces...
Page 158
Applications 4. Click “Next” to create and edit recipes for this recipe definition. Figure 6-17 Defining Recipes Use as many rows as necessary to define all data fields in the recipe. You can have up to four different recipe definitions. The number of recipes for each definition is limited only by the available space within the memory card.
Page 159
CTH200 Series PLC User Manual Figure 6-18 Creating and Editing Recipes Allocating Memory In the interface of “Allocate Memory” you can assign the V memory’s beginning address where you start to store the recipes read from memory card. You can either select the V memory address yourself or use the one, with correct length as well as unused, recommended by recipe wizard.
Page 160
Applications Project Components The different components to be added to project are listed in the “Project Components” page as figure 6-20, click “Finish” to add. Each recipe configuration owns a unique name with recipe set name(RCPx) at the end in project tree. Figure 6-20 Project Components Using the Symbol Table Create a symbol table using general value to indicate recipe for each recipe set.
Page 161
CTH200 Series PLC User Manual Downloading the Project with a Recipe Configuration To download a project which contains a recipe configuration, following the steps below. See Figure 6-22. 1. Select File > Download. 2. Ensure to check the Program Block, Data Block, and Recipes boxes in the dialog.
Page 162
Applications Instructions Created by the Recipe Wizard RCPx_Read Subroutine The Subroutine RCPx_READ created by the Recipe Wizard is used to read an individual recipe from the memory card to the specified area in V memory. The x in the RCPx_READ instruction means the recipe set number of the recipe that you want to read.
CTH200 Series PLC User Manual 6.5.2 Data Log MagicWorks PLC provides the Data Log Wizard to store process measurement data into memory card. Moving process data to the memory card frees V memory addresses that would otherwise be required to store this data With this feature, you can permanently reserve the process data log, contains a time date stamp, in program control.
Page 164
Applications some process events that record a set of process data. The organization of this data is defined by the data log wizard. 2. A data log record is a single row of data written into data log. Using the Data Log Wizard The Data Log Wizard can configure four data logs at most, which is used to: 1.
Page 165
CTH200 Series PLC User Manual Figure 6-25 Data Log Options Data log is a circular queue (when full, a new record will replace the oldest one). You must specify the maximum number of records, which is 65534 and default as 1000, stored in the data log.
Page 166
Applications Figure 6-26 Define the Data Log Allocating Memory area The data log wizard creates a block, a storage address where data log record stored before write into memory card, in the V memory area of PLC. Assign beginning address for the V memory area where you put configuration.
Page 167
CTH200 Series PLC User Manual Figure 6-27 Allocate Memory Project Components Different components to be added into your project are listed in “Project Components”, as figure 6-28. Click “Finish” to complete the data log wizard and add these components to project. Each data log construction owns a unique name with data log set(DATx) attached at the end.
Page 168
Applications Figure 6-29 Symbol Table Downloading a Project with Data Log Configuration Download a project with data log to CPU before using the record. If a project has a data log configuration, the download window has the option of “Data Log” checked by default. Notice When you download a project with data log, the existing log in the memory card will lost.
Page 169
CTH200 Series PLC User Manual log name, date and time, to store into data log catalogue. You can decide, by right click to choose, whether to automatically start the application relevant to CSV extension name when data log has been read successfully. The catalogue of data log would be assigned in the process of installation.
Page 170
Applications Figure 6-31 Edit Existing Data Log Configurations Instruction Created by the Data Log Wizard The Data Log Wizard will add a subroutine Instruction in your project. DATx_WRITE Subroutine The subroutine DATx_WRITE is used to write current value of data log domain into memory card. Picture below shows this subroutine.
CTH200 Series PLC User Manual Power Budget CTH200 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.
Power Budget 5VDC Power Table 7-1 5VDC power consumption table 5VDC current offered Expansion 5VDC current CPU and DP module for expansion IO (mA) module (mA) SM 221-1BF SM 221-1BH SM 221-1BL SM 222-1BF SM 222-1BH SM 222-1BL SM 222-1HF SM 222-1HH SM 223-1BF SM 223-1BH...
Power Budget Power Calculation Example Use following design methods to determine how many power configurations can be provided by the ontology unit power supply. Table 7-3 shows power calculation of CTH200 PLC, including: CPU H224X SM223 module, and SM223-1PH32 has 8DC inputs/8 relay outputs ...
CTH200 Series PLC User Manual Fault Diagnosis CPU execute the following operations when faulted: 1)Get into STOP Mode 2)Light the SF/DIAG (Red) LED and STOP indicator up 3)Disconnect the outputs Check the following conditions first: CTH200 CPU and expansion modules are powered normally.
Page 176
Fault Diagnosis 0x08 Maximum user subroutine nesting level exceeded 0x09 Simultaneous execution of XMT/RCV instructions on Port 0 Attempt to redefine a HSC by executing another HDEF 0x0A instruction for the same HSC 0x0B Simultaneous execution of XMT/RCV instructions on Port 1 0x0C Reserved 0x0D Reserved 0x0E...
Page 177
CTH200 Series PLC User Manual 0x99 Too many hidden program segments (HIDE instructions) 0x9A Attempt to switch to Freeport mode while in a user interrupt Illegal index (string operation in which a starting position value of 0x9B 0 is specified)
CTH200 Series PLC User Manual Appendix Using CT-MODBUS Master and Slave Libraries CT_MODBUS library 4 libraries in all, which is master and slave libraries for PORT0 and PORT1. CT_MODBUS function mainly used for Siemens CPU program and data. CT_MODBUS function block is built-into the CPU, not require data space, provided for user as a set of functions.
Page 180
Appendix 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 function block will shows in “Network”:...
CTH200 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 182
Appendix MagicWorks PLC or SETP7-Micro/WIN, FPORT communication. The MBUS_INIT controls Port is set to Modbus is still PPI. 2) All SM corresponding to selected FPORT 3) Occupy 92 byte program space ※ Steps use Modbus slave station protocol in CTH200 program 1) MBUS_INIT can be used to initialize or modify Modbus communication parameters when there are only one loop cycle.
Page 183
CTH200 Series PLC User Manual with pulses, or only execute during the first cycle. Parameter Explanation Type Value range Note address Select communication protocol: Input 1 defines Port as the Modbus protocol Mode enables defines Port as the PPI and disables Modbus protocol.
Page 184
Appendix Parameter explanation: Parameter Value Explanation Type Note address range When MBUS_SLAVE respond to Modbus request Done Done output service request, Done output disconnect. Error output byte contains Error Valid only when Done is Error the result of the execution of Byte code on.
Page 185
CTH200 Series PLC User Manual ※ MBUS_INIT parameter configuration explanation Addr Set slave station address 1 Baud Set baud rate 115200 Parity Set parity no-parity Delay Set delay time 0ms MaxIQ Set maxIQ 64 I/O(000001-0000064 and 010001-010064) MaxAI Set maxAI 32 analog inputs(030001-030032)
Page 186
Appendix Parameter explanation: Parameter Explanation Type Value range Note address Use pulse trigger for First R/W request bit each request. Set slave station Slave Byte 1~247 address 0~read Operation order Byte 1~write 00000 xxxx— on-off output 10000 to 1xxxx-- Select data type of on-off input Addr DWord...
CTH200 Series PLC User Manual Using CTH200 CPU Expansion Program Space Function Introduction The dynamic library function block is a special function provided by CTH200 CPU to expand the user programming program space and increase program privacy. It is an independent program block which is downloaded to PLC in advance and compiled to the program when the application is downloaded.
Page 188
Appendix Note Make sure only to download program block when download dynamic library. PPI connection CT LIB2 Download another dynamic library named ct_lib2 to PLC the same way. 【Use Dynamic Library】 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.
CPU power off, maximum data keep time up to 100 hours, the data storage capacity is 100 k bytes. COTRUST has provided library instructions for this data 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.
Appendix You can see new ext_mem library under directory tree “Libraries” after installation. 【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】...
CTH200 Series PLC User Manual 【Use WriteExtVMem to write data to expansion data space】 Parameter Value Explanation Type Note address range Write memory DWORD Such as: &VB0,&IB0 length(byte ) Return value indicate if Offset DWORD 0-102399 it write successfully Write memory...
Appendix Using PID Control Library of CTH200 PLC 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 193
CTH200 Series PLC User Manual You can see new PID_T library under directory tree “Libraries” after installation. ※ Call PID_T library Click “network” to add a function block, then double-click “ ” to get the function PID_T block in “network”. As the following figure: 【PID_T library function explanation】...
Page 194
Appendix 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 Self-tuning TUNING_K DWord, float...
Page 195
CTH200 Series PLC User Manual Control word bit address definition: 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...
Appendix Application program Explanation PID_T parameter explanation Parameter Address or Explanation 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 Set from 1, reset after setting. VW14 Kp, setting value will automatically write to this variable after setting, users can adjust...
Page 197
CTH200 Series PLC User Manual Library download address: www.co-trust.com Note Apply to CTS7 231-7TD32, CTS7 231-7TF32 modules; Use SM231-7TD32 and SM231-7TF32 will occupy some V memory area, do not use V memory area when programming Siemens CPU222 cannot use the library for data space restriction 【Installation】...
Page 198
Appendix ※ Call PID_Setting library Click “network” to add a function block, then double-click “ ” to get the function block in PID_Setting “network”. As the following figure: ※ 【PID_setting 】 library function explanation Address parameter explanation Parameter Explanation Type Value range Note address...
Page 199
CTH200 Series PLC User Manual constant variable Word, int, Unit: s constant 0~3600 variable Heating Heating-output Cooling Cooling-output Measurement( feedback Word, variable -2000~32767 Unit: 0.1℃ value) Only define heat analog Word, int, output: 0-32000. PID_out output variable Cool output: -32000~32000 ※...
Page 200
Appendix • PID parameter input(CPU to modules) Items Address Value set range Actual value Setting VW A+128 0~13000 0~1300 temperature When VB A+130 bit = 0 V( A+130).0 PID stop, no output PID run Integral always work, Kp Integral separate V( A+130).1 do not self-tuning self-tuning...
Page 201
CTH200 Series PLC User Manual 【Example】 System description This routine sets the parameters of the first PID loop (channel 0) of SM231-7TD expansion module (slot 0). Call PIDSetting to set the loop parameters, no need to calculate the PID parameter address, just input the slot and channel number where the loop is, and then enable Run to run the loop.
Appendix Using Motion Control Library “motion_ctrl_lib” Introduction The motion_ctrl_lib library is used for CTH200 PLC. 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.
CTH200 Series PLC User Manual Instructions Explanation 【Motion axes with the CPU I/O】 CPU type CPU H224/H226L CPU H224X/H226XL/H228XL Output Q0.0 Q0.1 Q0.2 Q0.0 Q0.1 Q0.2 Q0.3 Pulse_0 Pulse_1 Pulse_2 Pulse_0 Pulse_1 Dir_0 Dir_1 Motion control I/O Notice Pulse_0 --------0 axis pulse output; Dir_0 ------0 axis direction output;...
Page 204
Appendix Two axis circular interpolation Nonsupport Support MC_CIRCLE_R relative motion instruction Two axis circular interpolation Nonsupport Support MC_CIRCLE_A absolute motion instruction Set continuous interpolation MC_SET_CI_MODE Nonsupport Support function instruction 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) Axis 1 ——I1.0 (HSC1, SM47.0)
Page 205
CTH200 Series PLC User Manual stroke limit input CW counterclockwise LIMIT_SW-CW BOOL stroke limit input HOMING_SW Origin signal input BOOL Unchangeable in the AXIS_NO Axis number BYTE process 7 6 5 4 3 2 1 0 Signal type: Bit0: Counterclockwise...
Page 206
Appendix configuration error other parameters, it will 0—Parameter nearest configuration normal reasonable value Bit1: Run sign automatically. 1—Running Report parameter 0—Do not run failure if TA=0 and the Bit2: Completion sign maximum acceleration 1—Instruction is not set; TD the same execution completed 0—Instruction execution...
Page 207
CTH200 Series PLC User Manual Axis 0 ——I0.2 (HSC0, SM37.0) Axis 1 ——I1.0 (HSC1, SM47.0) Axis 2 ——I1.4 (HSC2, SM57.0) Axis 3 ——I0.5 (HSC4, SM147.0) ③ Parameter Name Description Type Value range SET rising edge, set external reset Bool Range: 0~1...
Page 208
Appendix ② Function: Read the absolute coordinate value of each axis. Once the origin coordinate is set, the value will be calculated according to the relationship between output pulse and direction: positive rotation output one pulse: +1, and reverse rotation output a pulse: -1. What you end up with is an absolute coordinate with the set point as the origin.
Page 209
CTH200 Series PLC User Manual the X-axis, and the negative pulse number indicates negative direction along the X-axis. Set maximum acceleration instruction ① Function name: MC_SET_MAX_ACCELE ② Function: Set maximum acceleration(= MAX_SPEED/TA)(TA≠0)(no call indicates no setting for acceleration) ③ Parameter...
Page 210
Appendix ② 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 deceleration time setting, the output pulse will gradually accelerate to the largest speed, when the pulse number is ready to run, cut down pulse frequency automatically, to prevent vibration or jammed caused by too much inertia when start or stop the machine.
Page 211
CTH200 Series PLC User Manual 1—Valid, axis occupied other instruction 0—Invalid, executing instruction or execution done. Modifiable during operation. When the value Output pulse. greater than positive output pulse number pulses indicates the positive output, the final output direction along...
Page 212
Appendix ② Function: Use for single - axis point - to - point control (fixed-point instead of fixed - length). One call for fixed pulse output, through the maximum and minimum speed and deceleration time setting, the output pulse will gradually accelerate to the largest speed, when the pulse number is ready to run, cut down pulse frequency automatically, to prevent vibration or jammed caused by too much inertia when start or stop the machine.
Page 213
CTH200 Series PLC User Manual output the pulse until it complete. Changeable in the process; if TA=0, no Time of ACC/DEC, Dword 0~10000 Unit: ms settings for acceleration. 1 Run only when RUN =1 and E_STOP =0. Run enable bit...
Page 214
Appendix X-axis. set value. When the new set value is less than the number of output pulses, the pulse output will be stopped immediately Absolute coordinate of -2147483648 This instruction no ACT_PO current axis (1 pulse 1 DInt error and set the axis units coordinate) +2147483647 number correctly.
Page 215
CTH200 Series PLC User Manual Full-circle sign Unchangeable in FULL Bool 1-Full-circle the process 0-Arc Interpolation A axis number. Interpolation requires two axes, the virtual A-axis and B-axis. Map to the 0, 1, 2, 3 axes of the Unchangeable in A_AXIS IN actual output.
Page 216
Appendix Arc radius There positive negative. Positive number: 1 Unmodifiable in indicates the arc trajectory with the process radian less than 180° . Negative RADIUS IN Dint |R| <3 x 10^6 2 Unit: pulse, number: indicates Transform with trajectory with a radian greater actual radius than 180°...
Page 217
CTH200 Series PLC User Manual 7 6 5 4 3 2 1 0 Output status byte: Bit0: Parameter configuration Bit0: error sign 1. Judge Only to 1—parameter configuration error axis parameter 0—Parameter configuration 2. No error normal reported for other...
Page 218
Appendix ② Function: Circular interpolation between any two axes (set points as absolute coordinates). ③ Parameter Name Description Type Value range Note 1 Run only when Emergency stop bit E_STOP =0. E_STOP BOOL 1: Valid, 0: Invalid When E_STOP=1, RUN reset internal.
Page 219
CTH200 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. If FULL = 0, indicates destination coordinate(relative origin)
Page 220
Appendix 1 Set minimum speed less than maximum speed 2 Changeable in the process Minimum speed of run or MIN_SPE 3 Recommend stop. Dword 0~200000 Unit: HZ MIN_SPEED ≥500. Or the pulse output will complete minimum speed limit (usually 500) at the end of the deceleration.
Page 221
CTH200 Series PLC User Manual 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 error 0—parameter reported for other configuration normal parameters, it will...
Page 222
Appendix ②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. E_STOP Bool 1: Valid, 0: Invalid When E_STOP=1, RUN reset internal. Full-circle sign Unchangeable in FULL...
Page 223
CTH200 Series PLC User Manual 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 coordinate (use for...
Page 224
Appendix at the end of the deceleration. Write MAX_SPEED to realize the soft stop function (the output pulse deceleration stops). Then the enable bit RUN no reset; If write speed back to a large one, output the pulse until it complete.
Page 225
CTH200 Series PLC User Manual do not completed Bit3: Busy sign 1—Valid, axis occupied other instruction 0—Invalid, executing instruction or execution done. Current position of A axis(relative coordinate, -2147483648 ACT_A_PO actual output pulse) DINT Indicates relative +2147483647 coordinate of 0 axis when...
Page 226
Appendix ③ Parameter Name Description Type Value range Note only when RUN =1 E_STOP Emergency stop bit BOOL E_STOP 1: Valid, 0: Invalid When E_STOP=1, reset internal. Full-circle sign Unchangeable 1-full-circle Bool FULL in the process 0-Arc Interpolation A axis number.
Page 227
CTH200 Series PLC User Manual Determine arc third point of axis A coordinate. If FULL = 0, it is also the terminal -2147483648 A_END_POS coordinate. (used DINT determine arc or circle at +2147483647 three points, relative coordinate) Determine arc third point of axis B coordinate.
Page 228
Appendix only when startup and TA/TD changes 1. Run only when RUN =1 and E_STOP 2. RUN reset IN/OU Run enable bit BOOL internal when 1: Valid run complete. 3. When E_STOP=1, RUN reset internal. 7 6 5 4 3 2 1 0 Bit0: Output status byte: 1.
Page 229
CTH200 Series PLC User Manual Indicates relative coordinate of 1 axis when B axis allocate to 1 axis ACT_SPEED Current actual speed Dword 0~200000 Speed control instruction ① Function name: MC_SPEED_CTL ② Function: Control the frequency of uniaxial output pulse, the output pulse frequency (speed) can be changed any time.
Page 230
Appendix 1. Run only when RUN =1 and Emergency stop bit E_STOP =0. E_STOP BOOL 1: valid, 0: invalid 2. When E_STOP=1, RUN reset internal. Soft stop bit1: valid SOFT_S 0: invalid Bool Output pulse decelerate to stop when receive the instruction Pulse direction bit Unmodifiable in Bool...
Page 231
CTH200 Series PLC User Manual 7 6 5 4 3 2 1 0 Bit0: Output status byte: 1 Judge Only to Bit0: parameter configuration error axis parameter sign error 1—parameter configuration error reported for other 0—parameter configuration normal parameters, it will...
Page 232
Appendix Two-axis line interpolation relative motion instruction ① Function name: MC_LINE_R ② Function: Line interpolation between any two axes or any plane area (set points as relative coordinates). ③ Parameter Name Description Type Value range Note 1 Run only when Emergency stop bit E_STOP BOOL...
Page 233
CTH200 Series PLC User Manual axes of the actual output. This parameter sets which axis the B axis maps to. 1 Set minimum speed less than maximum speed 2 Changeable in the Minimum speed of process MIN_SPE run or stop.
Page 234
Appendix 7 6 5 4 3 2 1 0 Output status byte: Bit0: parameter configuration error sign 1—Parameter Bit0: configuration error 1 Judge Only to axis 0—Parameter parameter configuration normal 2 No error reported Bit1: Run sign for other parameters, 1—Running will set to the 0—Do not run...
Page 235
CTH200 Series PLC User Manual ① Function name: MC_LINE_A ② Function: Line interpolation between any two axes or any plane area (set points as absolute coordinates). ③ Parameter Value Name Description Type Note range 1 Run only when E_STOP =0.
Page 236
Appendix 1 Set minimum speed less than maximum speed 2 Changeable in Minimum speed of run or the process MIN_SPEE stop. Dword 0~200000 3 Recommend Unit: HZ MIN_SPEED ≥500. Or the pulse output will complete minimum speed limit (usually 500) at the end of the deceleration.
Page 237
CTH200 Series PLC User Manual 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 error 0—Parameter reported for other...
Page 238
Appendix ②Function: Set if enable external IO reset absolute coordinate Note: Correspondence of 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) Axis 3 ——I0.5 (HSC4, SM147.0) ③ Parameter Value Name Description...
Page 239
CTH200 Series PLC User Manual Set maximum acceleration instruction ① Function name: MC_SET_MAX_ACCELE ② Function: Set maximum acceleration (= MAX_SPEED/TA; TA≠0), if the instruction isn’t called, then the maximum acceleration has not been set. ③ Parameter Value Name Description Type...
Page 240
Appendix If the PTP instruction run at the maximum acceleration, call MC_SET_MAX_ACCELE instruction on the coaxes to set the maximum acceleration (the parameter TA of MC_SET_MAX_ACCELE instruction cannot be 0, otherwise cannot obtain the maximum acceleration), and simultaneously set the parameter TA of PTP instruction to 0. If the maximum acceleration is not set and the PTP instruction TA=0, the alarm parameter fails on the PTP instruction.
CTH200 Series PLC User Manual L -------Absolute value on coordinate actual point, unit: mm; S -------Lead screw on motion axis, unit: mm; M------- The subdivision of the stepping driver or the resolution of the servo drive (the number of pulses required for each turn of the motor);...
Page 242
Appendix The origin switch located in the negative 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 243
CTH200 Series PLC User Manual The origin switch located in the positive mechanical direction. The machine moves towards the origin switch, decelerates to stop after detecting the origin switch, and then reverses to exit the origin switch. Find and record origin switch signal falling edge as the origin, and the motor stops immediately.
Page 244
Appendix This interval indicates the effective range of origin switch input detection Mechanical slider Mechanical trajectory Start position Mechanical trajectory 2 Mechanical trajectory 3 phase signal Origin switch signal Positive drive limit signal As shown in the figure above, the mechanical slider slides in the positive limit direction (positive direction), and Z in the left position along the left side of the origin switch signal, that is, outside the effective range of the origin switch signal.
Page 245
CTH200 Series PLC User Manual direction), and Z in the left 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 246
Appendix 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 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 247
CTH200 Series PLC User Manual 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. When the machine is outside of the origin switch (mechanical motion track 1 and 3), the machine runs in a constant direction (positive direction) toward the limit switch.
Page 248
Appendix 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. 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.
CTH200 Series PLC User Manual direction), and Z in the left position along the left side of the origin switch signal, inside of 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 250
Appendix Case 2) Using uniaxial speed motion instruction...
Page 251
CTH200 Series PLC User Manual Case 3) Using two-axis line interpolation motion instruction...
Page 252
Appendix Case 4) Using two-axis arc interpolation motion instruction...
Appendix Using SM231 Weighing Module and the Library Weighing module converts the voltage signal of weighing sensor to digital AIW, the function of SM231 weight module is to turn it into 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 diagram above, then you can get the actual weight of AIW.
Page 255
CTH200 Series PLC User Manual ① Name: Weight_Config ② Function: Set channel numbers and its starting address ③ Parameter Name Type Range Default Description BYTE Enable end Set startup address pointer to store parameter table, refer to parameter ParaListBase DWORD table below for detailed info.
Page 256
Appendix Status_I VB41 "Weight_Init" status byte Status_D VW42 "Weight_Default" status word Status_E VB44 "Weight_Extend" status byte InternalVariable1 VB45 Internal variable 1 AQWx VW46 L area backup AQWx2 VW48 L area backup LB21_D VB50 Weight_Default L area backup LB57_D VB51 Weight_Default L area backup LB58_D VB52 Weight_Default L area backup...
Page 257
CTH200 Series PLC User Manual Note: Call this instruction by SM0.0 Refer to F.2 Weighing Library Mode Explanation for parameter explanation about sensitivity, LPS cutoff frequency and average filter depth. Weighing standard library ① Name: Weight_Default ② Function: Calibration, zero set and measurement ③...
Page 258
Appendix Status note: Name Range Description Basic/expansion 0: Module power normal, 1: Module no power. Bit0 Power-down alarm mode When Bit0=1, sampling value is 0xFFFF Sensor connection normal, sensor Basic/expansion Bit1 Break line alarm disconnect mode When Bit1=1, sampling value is 0xFFFE 1: Rough weight≥rated weight, sampling value is Outrange alarm Basic mode...
Page 259
CTH200 Series PLC User Manual ② Function: Realize second calibration, set minimum weight, digital phase step, pause status detection and preset tare. ③ Parameter Value Name Description Type Note range Second calibration, SecCalibrate effective in rising BOOL edge TarePreset Preset tare...
Appendix Bit3 Pause range must>0 Pause range error Bit4 Preset tare outrange Preseted tare cannot be negative or outrange Bit5 Reserved Bit6 Pause Ensure pause status Bit7 Illegal channel Weighing Library Mode Explanation This section shows important parameters of each instruction and operation notes. 1.
Page 261
CTH200 Series PLC User Manual Filter can smooth the weighing value and resist disturbance. The last weight is an average of n measurements; 50Hz sample frequency means weigh every 20 ms. For example, filter depth n=10 represents taking 10 measurements for average value and recalculate every 20ms.
Page 262
Appendix • Trace zero Tare Packing material Weight of commodity that is the weight of transport package. For example, GNweight value is the weight of car before weighing which turn to 0 after SeekTare breakover by uprising edge, and Tareweight replace the GNweight value before. Weighing after loading with cargo, the GNweight value is net weight.
Page 263
CTH200 Series PLC User Manual The similarity and differentia between preset tare in Weight_Extend and tare in Weight_Default: Differentia: TareInput can be random set to be displayed tare value, no matter you put an object or not. GNweight owns value to tarring which is GNweight value only when object put inWeight_Default instruction.
Appendix SM277A 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 265
CTH200 Series PLC User Manual SM277A is a slave station device for MPI networks that can connect up to 6 extension modules for digital or analog I/O. As MPI slave station, the SM277A module can be run at any MPI baud rate between 9.6K and 12M.
Page 266
Appendix configuration in STEP7, no need to configure and program the communication in CTH200 system, just sort out the data to be communicated and store it in the V storage area corresponding to the hardware I/O address of S7-300 configuration SM277A slave station. Write program to call FC1 (DP_SEND) and FC2 (DP_RECV) in OB1, DP master can read and write from the slave station data to achieve S7-300 and CTH200 CPU communication.
Page 267
CTH200 Series PLC User Manual PG/PC S7 300 MPI network ..Expansion mod ules SM277A Figure G-2 MPI network example Use S7-300 master station module, PG\PC program station and Copanel HMI as MPI master station CTH200 CPU is a MPI slave station ...
Appendix SM277B Module SM277B, connect with 6 digital or analog I/O expansion modules at most, is a modular slave station device for PROFIBUS DP network, which could communicate with DP master station. With terminal connecting PROFIBUS network instead of standard connectors, the baud rate is automatically adjusted to be consistent with the main station.
CTH200 Series PLC User Manual Components of SM277B Figure H-2 SM277B structure ① Status LED ② Terminal resistance option switch: ON indicates with terminal resistance, OFF indicates without terminal resistance ③ Isolated signal A (network input) ④ Isolated signal B (network input) ⑤...
Page 270
Appendix PG/PC DP master P ROF IBUS connection ..Expansion modules SM277B Figure H-3 SM277B network structure Components in this example Components Explanation 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 271
CTH200 Series PLC User Manual Figure H-4 Insert SIMATIC 300 Station 3) Open HW-Config to configure hardware Double click the inserted 300 station “SIMATIC 300(1)” in step 2), as shown below: Figure H-5 HW-Config Interface Double click “Hardware” in picture above to open HW-config interface, set distribute I/O (DP)
Page 272
Appendix Figure H-6 Add Guide Rail 5) Add Power Supply (optional) Add power to guide rail. The power can only be placed in the first slot of the rack. 6) Add DP master station CPU and PROFIBUS connection (CP 342-5) Drag the CPU of the DP master station actually used in the hardware directory to the second slot of the guide rail or double click to add it, then drag the CP 342-5 actually used in the hardware directory to the fourth slot of the guide rail, as shown in the figure below:...
Page 273
CTH200 Series PLC User Manual Figure H-8 Master Station Network Setting Click “OK” to add the CPU and PROFIBUS connections of DP master station. After confirmation, set the data I/O address and working mode of CP 342-5d. Double-click CP342-5 on the guide rail, and the properties dialog box pops up, as shown below:...
Page 274
Appendix Figure H-10 Set CP 342-5D Work Mode 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: Figure H-11 CP 342-5D Attribute Set 1) Import GSD file of SM277B First use of SMC277B, you must import GSD file involving device information in STEP 7,...
Page 275
CTH200 Series PLC User Manual Figure H-12 Import GSD File Figure H-13 Install GSD File Note Visit http://www.co-trust.com to download GSD file of SM277B. You can see information of SM277B and its expansion module in “HW-Config” directory as figure below:...
Page 276
Appendix 2) Add SM 277B DP slave station Drag SM 277 PROFIBUS-DP from the hardware directory to the "PROFIBUS (1): DP master station system (180)". As shown in the figure below, set the SM277B slave station and network in the property dialog box that pops up. Figure H-15 Add SM 277B DP Slave Station Set slave station address Set the SM277B slave address in address under parameters of properties box.
Page 277
CTH200 Series PLC User Manual Click the [Network Settings] of this dialog box, and set "Transmission Rate" (default as 1.5Mbps) and "Profile" (set as "DP"). Then the addition and configuration of SM277B slave station is completed, as shown in the following figure: Figure H-17 slave station properties configuration Note: ensure that the "Hex parameter assignment"...
Page 278
Appendix Figure H-19 Add expansion modules for SM 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 279
CTH200 Series PLC User Manual Figure H-20 Program interface Program function description: Execute FC1 (DP_SEND) to output CPU312 memory MB0-MB14 data to QB0-QB14 of SM277B extension module; input SM277B extension module IB0-IB14 into the MB15-MB29 memory of CPU312 by performing FC2 (DP_RECV).
Page 280
Appendix H.3.3 Diagnosis Diagnose PROFIBUS DP master/slave network through LED status, STEP 7 fault information and specific programming diagnosis. Diagnose by SM 277B The LED status for diagnosing SM277B can provide diagnostic information about connection with the main station and self-diagnosis information of SM277B firmware. After connecting SM 277B power supply, the LED indicator marked "ON"...
Page 281
CTH200 Series PLC User Manual 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.
Appendix Permanent V Memory Library “CT_savevmem” Introduction CT_SAVEVMEM serves as a library function to save a segment of V memory data which users need into permanent memory for a long time (about one year). Note Apply to save parameters, do not save too often. Do not set power-off hold in the system block for the permanent storage V memory address to be used.
Page 283
CTH200 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 completing write, in other Word use sm0.0 or act_en to call.
Appendix SM253 Motion Control Library Introduction SM253 motion control library is dedicated for SM253 motion control module, able to realize multi-axis independent control. Installation Instruction “File” “Add/Remove Libraries” Select menu item -> find library file “motion_ctrl_module_lib.ctmwl”: View catalogue where you save library files, select “motion_ctrl_module_lib” and click “Add”: Click “OK”...
CTH200 Series PLC User Manual sm253_motion_ctrl_lib Instruction List Table J-1 Library instruction list Function name Instruction name Support or not External reset coordinate MC253_EXT_RESET_EN SM253 not support enable instruction Configure motor direction MC253_INIT_DIR Support instruction MC253_READ_POS Read position instruction Support...
Appendix Control module output Support MC253_DO_CTRL instruction Read module input status Support MC253_READ_DI instruction MC253_HSC_INIT Set module HSC instruction Support MC253_READ_HSC Read module HSC instruction Support Uniaxial absolute motion Support MC253_PTP_A instruction MC253_HOMING Homing instruction Support sm253_motion_ctrl_lib Library Instruction Explanation For Micro/Win programming, the instruction format of the operation control module is the same as that of CPU, but differ in the instruction library.
Page 287
CTH200 Series PLC User Manual analog module channel is corresponding to that of the SM253 motion control module.). 3 Communication status bit SM253 newly increased all the communication bit other than MC253_INIT, the status bit will alarm to indicate communication fault and then you should check if the bus connection is normal or the analog filter of motion control channel has been cleared.
Page 288
Appendix 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. As the program scans from top to bottom, instruction D obtains the buffer first. Instruction E obtains the buffer after instruction C finishes executing and releases the buffer.
Page 289
CTH200 Series PLC User Manual Instruction C Instruction D Instruction E After instruction A completes execution and releases the buffer, enable instruction E first, then it obtains the buffer; Instruction D acquires the buffer after instruction C completes execution and releases the buffer.
Page 290
Appendix ② Function: configure motor direction Note Execute one time on first scan cycle of CPU power on ③ Parameter Value Name Description Type Note range Configure effective level when the direction signal is positive. DIR=1, set motor forward when Default: corresponding direction...
Page 291
CTH200 Series PLC User Manual No error status Absolute coordinate output for this ACT_P -2147483648~ current axis(1 pulse Dint instruct, axis +2147483647 indicate 1 unit coordinate) number must set correctly. Communication status STAT sign bit Bool 1: communication timeout Uniaxial relative motion instruction ①...
Page 292
Appendix 1: valid RUN =1 and E_STOP =0. 2 RUN reset internal when run complete. 3 When E_STOP=1, RUN 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 axis configuration error parameter 0—parameter...
Page 293
CTH200 Series PLC User Manual current axis (1 pulse 1 error and set the axis units coordinate) +2147483647 number correctly. Note: this value may be a little off actual ACT_SPE one, at most 5K, Current run speed Dword 500~200000 related to...
Page 294
Appendix ③ Parameter Value Name Description Type Note range 1 Run only when RUN =1 and E_STOP =0. 2 RUN reset Run enable bit BOOL internal when run 1: Valid complete. 3 when E_STOP=1, RUN reset internal. 1 Run only when Emergency stop bit E_STOP =0.
Page 295
CTH200 Series PLC User Manual 7 6 5 4 3 2 1 0 Bit0: Output status byte: 1 Judge Only to Bit0: parameter configuration error axis parameter sign 2 No error reported 1—Parameter configuration error other 0—Parameter configuration normal parameters, it will...
Page 296
Appendix ③ Parameter Value Name Description Type Note range Enable reset bit Set absolute coordinate 0 at Bool SET rising edge, set SET 0, then set 1 for each call Set axis number(2 axes for each EM253 module, axis AXIS_NO number range decided by Byte 0~255...
Page 297
CTH200 Series PLC User Manual then set 0 for each call Set axis number(2 axes for each EM253 module, axis AXIS_NO number range decided by Byte 0~255 motion control modules number) Status bit: 7 6 5 4 3 2 1 0 Bit0: Reset status sign bit 1—Reset complete...
Page 298
Appendix ② 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 Description Type Note range Maximum speed of Modifiable in the MAX_SPE long-axis run Dword 0~200000 process...
Page 299
CTH200 Series PLC User Manual Set an appropriate acceleration to limit the acceleration of each instruction on an axis. Such as PTP instruction, set AXIS_NO=0, MIN_SPEED=1000, MAX_SPEED=11000, TA=500, then in theory the acceleration of PTP motion is 20HZ/ms (= (MAX_SPEED-MIN_SPEED)/TA); if...
Page 300
Appendix modules number) Reference time unit 0: 1us, 1: Unmodifiable Byte 0.5ms in the process Unmodifiable CYCLE Pulse period Word 2~65535 in the process Unmodifiable DUTY Pulse duty factor Word 0~65535 in the process Enable run Bool Output status byte: Bit0: ...
Page 301
CTH200 Series PLC User Manual ② 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. When next time power up, it can be written back to the module, so that the starting point of counting the module absolute position is consistent with the machine actual starting point, no need to return to the origin.
Page 302
Appendix ② 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 0~255 range decided by motion control modules number) Not support all, refer to...
Page 303
CTH200 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 304
Appendix ③ 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: 7 6 5 4 3 2 1 0 Bit0: Communication status bit 1—Communication timeout Bit1~Bit4: reserved Bit5: current count direction bit STATUS...
Page 305
CTH200 Series PLC User Manual 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 306
Appendix Initialize motion control module instruction ① Function name: MC253_INIT ② Function: Initialize the system control variable of motion control module ③ Parameter: NONE Uniaxial relative motion instruction ① Function name: MC253_PTP_R ② Function: Used for uniaxial point - to - point control (uniaxial fixed - length drive). Call one time output fixed pulse, by setting the maximum, minimum speed and deceleration time, the output pulse will gradually accelerate to the largest speed, when the pulse number is ready to run, cut down pulse frequency automatically to prevent vibration or jammed due to...
Page 307
CTH200 Series PLC User Manual Unit: ms process; if TA=0, no settings for acceleration. 1 Run only when RUN =1 and E_STOP =0. 2 RUN reset Run enable bit BOOL internal when run 1: Valid complete. 3 when E_STOP=1, RUN reset internal.
Page 308
Appendix When new value is less than output pulses number, the pulse output will stopped immediately This instruction no Absolute coordinate of -2147483647 error and set the ACT_PO current axis (1 pulse 1 DInt axis number units coordinate) +2147483647 correctly. Note: this value may be a little off ACT_SPE...
Page 309
CTH200 Series PLC User Manual Value Name Description Type Note range 1 Run only when Emergency stop bit E_STOP =0. E_STOP BOOL 1: Valid, 0: Invalid When E_STOP=1, RUN reset internal. LIMIT_SW_CC CCW limit switch BOOL LIMIT_SW-CW CW limit switch...
Appendix Time of ACC/DEC. Changeable in the DWORD 0~10000 Unit: ms process 1 Run only when Enable run bit E_STOP =0. BOOL 1: Valid When E_STOP=1, RUN reset internal. ④ Explanation The program detect each input by scanning (the Z phase is not affected by this), so when the switch value changes and process not in time, there may be some delay.
Page 311
CTH200 Series PLC User Manual Q0.0 is pulse output, Q0.1 is direction output 【Program Block】...
EtherNET PLC without stopping CPU, as well as remote program and monitor PLC via MICO. Instruction Explanation It’s available for free download the ETHERNET_set library file from COTRUST official website: www.co-trust.com. The library file includes the following parameters: Get IP address library ①...
Page 316
Appendix Data Parameters Name IN/OUT Explanation Type Enable, edge triggered. The instruction is not allowed to circularly invoke, cause set IP BOOL and EPPROM has limits for number times, EtherNET communication would be failed due to frequently write. IP address, four bytes in total, IP_ADDR DWORD each byte shows the IP address...
CTH200 Series PLC User Manual Status word Bit0=1, means set successful. STATUS BYTE Bit1=1, means length error. Bit2=1, means save failed. Bit3 means illegal character. Cautions: It’s available for you to set IP via TD4S except the library. If you use TD4S to set IP, please use static IP in the TCP/IP port of system block, which is not allowed to select automatic acquisition IP address mode, otherwise the setting would not be effect.
CTH200 Series PLC User Manual Instruction Set Table L-1 CTH200 instruction set Bit logic instruction Normally open contact load AND load instruction instruction LD SM0.0 Normally open contact AND OR load instruction instruction A SM0.0 Normally open contact OR Logic into stack instruction instruction O SM0.0...
Page 321
CTH200 Series PLC User Manual Double Word move Move byte immediately write MOVD instruction instruction MOVD 100000,VD0 BIW VB0, QB0 Floating number move MOVR instruction SRCP Recipe to storage card MOVR 1.0,VD0 Block move byte instruction LRCP Load recipe from storage card...
Page 322
Appendix /R 1.0, VD0 instruction EXP 1.0, VD0 circuit calculate SQRT Square root instruction instruction PID VB0, 1 Sine calculate instruction SIN 1.0, VD0 Convert instruction Convert from byte Convert from Double Integer Integer to real number BTI 1, VW0 DTR 100000, VD0 Convert from Integer to Convert from Double Integer...
Page 323
CTH200 Series PLC User Manual TODW VB0 TODWX VB0 Shift cycle instruction Left shift byte Left rotation Word SLB VB0, 4 RLW VW0, 8 Left shift Word Left rotation double Word SLW VW0, 8 RLD VD0, 16 Left shift double Word...
Page 324
Appendix TOF T37, 10000 CITIM VD0, VD100 String instruction Concatenation string Get string length instruction SLEN SCAT instruction SLEN"1234567890", VB0 SCAT"1234567890", VB0 Seek string string Copy string instruction instruction SCPY SFND SCPY"1234567890", VB0 SFND"12345678890", "321", Copy substring from string Seek a character in string instruction instruction SSCPY...
CTH200 Series PLC User Manual FPORT send instruction Set port instruction FPORT receive instruction Get port address instruction Network read instruction Read module information NETR EBUSR instruction Network write instruction Write module information NETW EBUSW instruction Ethernet read function EBUSGETDI...
Dimension (W×H×D) 63 mm ×33 mm × 17 mm Remarks: CTH200 series PLC realize data storage and portable programming by corresponding card. CTH200 series PLC do not support third-party memory card. H228XL do not support CTSC 291-PC001 V1.0(version 128K) 【Security】...
Page 327
CTH200 Series PLC User Manual 【Functions】 ※ Download Download the STL programming block and library, system block and data block of microwin project into programming card storage. Steps: Step 1: First cut the PLC power off, then insert the programming card to the specific port.
Page 328
Appendix Note: For the block that didn’t download to programming card, it will generate a default one which would upload to CPU when needed. Step 4: If programming card is invalid, the system would enter in common mode. Step 5: If you need to set the limit use times of programming card, set by modify value of SMB100 before downloading any block for the default is no limit(the value of SMB100 is 0) Step 6: If you don’t want the the programming block or data block of aimed PLC to be covered, set by modify the value of SMB111 for the default is cover all.
Page 329
CTH200 Series PLC User Manual Flash frequency: About 0.5s(accuracy is not required) ※ Upload All the blocks in programming card can be uploaded to CPU to update the EPROM. Steps: Steps 1: First cut the PLC power off, then insert the programming card to the specific port.
Appendix Definition of lights status Lights FLASH RUN light(green) Loading program Normal SF light Normal Error SMB101 Left times can be used(including this time), display 255 if there is no limit. Flash frequency: about 0.5s(accuracy is not required) ※ Limit of using times for programming card You can set the limit of using times for programming card, which minus one every time the uploading complete.
Page 331
1. Please change battery card in same specification. Be careful in case to damage other components. And save data before changing. 2. The use method of COTRUST memory card is same as SIMENS’. Use it to store user program, recipe and data record, but for CTH200 the contents in storage card will not...
Appendix Special Function Register 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 to achieve some common operations, the details shows as following table: SMB0 bit Function description(read only)
Page 333
CTH200 Series PLC User Manual communication mode for program easy to read. Detailed description shows as following table: SM2 bit Function description(read only) SMB2 This byte includes every character of port 0 or 1 in FPORT communication SMB3: FPORT odd-even parity error SMB3 is used to display FPORT parity errors.
Page 334
Appendix SMB6: CPU identification register SMB6 is CPU identification (ID) register, use for identify CPU type, as detailed in the following table: SM address Function description(read only) SMB6 CPU ID register SM6.0~SM6.3 Reserved Use for identifying CPU type 0000: CPU212, CPU222; 0010: CPU214, CPU224; SM6.4~SM6.7 0110: CPU221;...
Page 335
CTH200 Series PLC User Manual Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 m: If there tt: Module type a: I/O type ii: Inputs qq: Outputs is module 00—Non-intelligent 0—Digital 00—No input 00—No output...
Page 336
Appendix SMB30 and SMB130: FPORT control register SMB30 controls FPORT 0 communication mode, and SMB130 controls FPORT 1 communication mode. You can write and read between SMB30 and SMB130 which can be used to set operation mode of FPORT communication and provide the choice between the FPORT and the protocols supported by the system.
Page 337
CTH200 Series PLC User Manual SM address Function description SMB31 Permanent storage command register Data size to be saved SM31.0~SM31.1 00 =Byte; 01 =Byte; 10 =Word; 11 =Double Word SM31.2~SM31.6 Preserved, always 00000 Store into permanent storage, S7-200 reset the bit after each storage operation.
Page 338
Appendix HSC0 new initial value, set SM37.6 as 1 after write new value into SMD38 SMD38, then the current value will be updated HSC0 new preset value, set SM37.5 as 1 after write new value into SMD42 SMD42, then the current value will be updated HSC1 SMB46 HSC1 counter status...
Page 339
CTH200 Series PLC User Manual <Note> 1)The counter status bit is only valid in interrupt program triggered by HSC event. 2)Do not reset new current value in program when using the HSC external reset interrupt event, and re-enable the counter in the interrupt program connected to the event, which will result serious errors.
Page 340
Appendix SM76.7 PTO1 free bit: 0=PTO busy, 1=PTO free SMB77 Control pulse string output and PWM of Q0.1 SM77.0 PTO1/PWM1 update cycle: 1=write new cycle SM77.1 PWM1 update pulse width: 1=write new pulse width SM77.2 PTO1 update pulse quantity: 1=write new pulse quantity PTO1/PWM1 reference time unit: 0=1 μs/grid, 1=1 ms/grid SM77.3 Synchronous...
Page 341
CTH200 Series PLC User Manual Receiving information status byte format: Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 n = 1: Receive user order to stop receiving information r = 1: Input parameter error or no start or end condition result in information receiving end...
Page 342
(module Special non intelligent module(7PF) type) cotrust intelligent module(PID) 0: Digital intelligent 1: Analog module (module subtype) 0: Normal intelligent Intelligent module 1: Cotrust intelligent module(PID) No input AI/8DI intelligent 2AI/16DI II(inputs) module 4AI/32DI Intelligent Reserved module No output 1AO/8DO...
Page 343
CTH200 Series PLC User Manual SMB115: Expansion board status SMB115 = 0x0: Module no error 0x255: Expansion board visit error Others: Expansion board internal diagnosis SMW116 to SMW126: Expansion board analog mapping area Corresponding relation of mapping area: Expansion board Analog mapping area SMW116 corresponds to AIW0;...
Page 344
Appendix SM146.7 HSC4 current value more than preset value bit: 1=more than SMB147 HSC4 control byte Reset valid control bit: 0= high level reset valid, 1=low level reset SM147.0 valid SM147.1 Reserved Count speed selection of orthography counter: 0=4x count speed; SM147.2 1=1x count speed SM147.3...
Page 345
CTH200 Series PLC User Manual PTO0 envelope termination: 0=no error, 1=terminate for incremental SM66.4 error PTO0 envelope termination: 0=terminate not by user command; SM66.5 1=terminate by user command PTO0 pipe overflow(clear by system when using external envelope, SM66.6 or by user program): 0=no overflow, 1=overflow SM66.7...
Page 346
Appendix SM195: Communication status SM195.6 SM195.6=1 after CPU connect to remote server, or set as 0 Control whether heartbeat packets are sent in TCP_Modbus SM195.7 communication over time. SM195.7=1, heartbeat packet sent out after communication timeout; Otherwise do not send; Default is 0. SMB200 to SMB549: Intelligent module status SMB200 to SMB549 reserve storage intelligent expansion module information, detailed description is shown in the following table:...
CTH200 Series PLC User Manual Product Oder Info. Table P-1 Products Oder info Specifications Order No. CPU H224 12KB program space/8KB data space, 24VDC 14DI/10DO transistor source outputs, 0.5A, one PPI, one Freeport, CTH2 214-1AD33-0X24 one EtherCAT port, 3*50KHz motion control output...
Need help?
Do you have a question about the CTH200 Series and is the answer not in the manual?
Questions and answers