K-WANG

+086-15305925923
Service expert in industrial control field!
NameDescriptionContent
Adequate Inventory, Timely Service
pursuit of excellence 
Ship control system
Equipment control system
Power monitoring system
Current position:
新闻动态
newS
   
Brand

SIEMENS SIMATIC S7-300 Beginner's Guide

From: | Author:Wang | Time :2026-01-26 | 260 visit: | 🔊 Click to read aloud ❚❚ ▶ | Share:

SIEMENS SIMATIC S7-300 Beginner's Guide

The Siemens SIMATIC S7-300 Beginner's Guide (version 04/2007) takes conveyor belt motor control as an example and provides a detailed introduction to the entry-level operation of adapting CPU 312C (order number 6ES7312-5BE03-0AB0). The core process includes preparing a PC (installing STEP 7 Lite V3.0+SP2 and PC Adapter USB driver), installing wiring hardware components, configuring control in STEP 7 Lite, downloading programs, and executing test runs. The entire process must comply with electrical safety regulations and support motor start, direction switching, and stop functions. The overall operation time is about 1 hour, suitable for users with Windows operation and electrical basic knowledge.


Basic information of the document

Core positioning: A beginner's guide to S7-300 for beginners, explaining the complete process of PLC from hardware installation to program operation through an example of conveyor motor control

Key adaptation: Only applicable to CPU 312C (order number 6ES7312-5BE03-0AB0), requires SIMATIC Micro Memory Card (MMC), starting firmware version V2.6

Safety reminder: Clearly distinguish the four levels of "danger/warning/caution/attention" safety, emphasize that only qualified professionals are allowed to operate, and comply with safety standards such as IEC 204


Preparation in advance

Skill Requirements

Proficient in operating Microsoft Windows operating system

Master the basic knowledge of electronic and electrical engineering

List of Materials and Tools (Core Components)

|Category | Project | Order Number (Siemens) | Quantity | Remarks|

|Core module | CPU 312C | 6ES7312-5BE03-0AB0 | 1 | Integrated DI10/DO6, requires MMC card|

|Power Supply | Power Module | 6ES7307-1EA00-0AA0 | 1 | Provides DC 24V power supply|

|Installation accessories | Installation track | 6ES7390-1AB60-0AA0 | 1 | M6 screw is required to fix the grounding|

|Connection accessories | PC Adapter USB | 6ES7972-0CB20-0XA0 | 1 | MPI interface with driver program for connecting PC and CPU|

|Front connector | Screw type multi terminal front connector | 6ES7392-1AM00-0AA0 | 1 | Compatible with CPU wiring|

|Control element | Instantaneous contact switch | - | 4 | 24V/2A, used for motor start stop and commutation|

|Software | STEP 7 Lite | - | 1 | V3.0+SP2, available for free download|

|Tools | Screwdrivers, wire strippers, crimping tools, etc. | - | Several | Market procurement, including 3.5mm/4.5mm blade screwdrivers|

|Cable | Grounding cable (10mm ²), flexible cable (1mm ²), etc. | - | As needed | Grounding cable needs to be compatible with M6 screws|


Core operational process (step-by-step)

1. Prepare PC (software and interface settings)

Install STEP 7 Lite: from the official website( http://support.automation.siemens.com )Download and follow the wizard to complete the installation

Install PC Adapter USB driver: Insert the driver CD and follow the prompts to install

Set PG/PC interface: Select "PC Adapter (MPI)", configure USB connection, enable MPI communication between PC and CPU

2. Hardware installation and wiring

Installation track: fixed with 2 M6 screws, grounding cable cross-sectional area ≥ 10mm ², leaving a gap of ≥ 40mm above and below the track (for heat dissipation and operation)

Installation module: First install the power module (fixed by hand), then install the CPU 312C, and insert the front connector (not locked temporarily, convenient for wiring)

Wiring operation:

Prepare the cable: Cut it to the desired length, strip off the insulation layer, and put on a 6mm insulation ring

Wiring sequence: power supply → CPU 312C → momentary contact switch (connected to DI terminal) → motor (connected to DO terminal, optional)

Key requirement: Cut off the power before wiring, and set the line voltage selector correctly

Hardware debugging:

Connecting PC and CPU: Connect PC Adapter and PC with USB cable

Power on test: Insert the MMC card, set the CPU to STOP mode, and turn on the power (power DC24V LED lights up, CPU DC5V and STOP LED lights up)

Test wiring: Press the momentary contact switch and observe whether the corresponding CPU input LED lights up (such as the input 0.0 terminal LED corresponding to the start switch)

3. Software Configuration (STEP 7 Lite)

Open project: Start STEP 7 Lite and open the instance project "converyor.k7p"

Create module configuration:

New S7-300 station, automatically generate 4 installation tracks

Insert the power module (such as 6ES7307-1BA00-0AA0) and CPU 312C, and it will automatically display in the hardware view and configuration table

Set CPU parameters: Set the reserved bit storage quantity to "0" to avoid motor runaway startup after power failure

Establish online connection: When STEP 7 Lite starts, it automatically attempts to connect and the status bar displays "STOP" (connection successful) or "Disconnected" (manual connection required)

Download configuration: First, perform a CPU memory reset (delete old programs/configurations), then download a new configuration and check the consistency of offline/online configurations

4. Program operation and test run

Open program: The program in the project is stored in OB1 (Organizational Block 1), written using ladder logic (LAD), and includes 4 network segments (clockwise/counterclockwise/start/stop)

Download project: Download hardware configuration and OB1 program to CPU 312C, confirm to overwrite existing configuration/program

Test Run:

Switch CPU mode: Set the mode switch to "RUN", and the RUN LED will change from flashing to constantly on

Functional testing:

Start: Press the green momentary contact switch, input 0.0 LED briefly on, output 0.3 LED constantly on (motor ready)

Clockwise rotation: Press and hold the corresponding switch, input 0.2 LED lights up, output 0.0 LED lights up

Counter clockwise rotation: Press and hold the corresponding switch, input 0.3 LED lights up, output 0.5 LED lights up

Stop: Press the red momentary contact switch, input 0.1 LED briefly on, output 0.3 LED off


  • ABB UUD148AE02 3BHE014185R0002 Current Transducer Control Board for PCS6000
  • Triconex 3382 EPI Enhanced Pulse Input Module 6 Channel 0.5 Hz to 32 kHz TMR
  • HIMA HIMatrix F60DO801 982200112 Safety Digital Relay Output Module
  • ABB DSQC 658 3HAC025779-001 DeviceNet Master Slave Single Communication Board for IRC5 Robot Controller
  • ABB HIEE305098R0001 UNS 0007A-P V1 Firing Board 1400V HIEE410730P201 PCB
  • ABB P8151B Plantguard Communications Interface Module for Industrial Safety Control Systems
  • ABB PM904F 3BDH001002R0001 AC 900F Controller CPU Module
  • WOODWARD 8446-1019 RP-3000 Remote Panel for easYgen-3000 Generator Controller
  • WOODWARD 8444-1067 MFR 300 Multifunction Relay and Electrical Power Monitoring Device
  • WOODWARD 9907-1106 CPC-II Current-to-Pressure Converter
  • WOODWARD 5437-1119 ProTech-GII Overspeed Protection Spare Module
  • WOODWARD 9907-1183 505 Enhanced Digital Turbine Controller 24V
  • WOODWARD 3522-1004 EM-Driver for EM-80 and EM-300 Electric Actuators
  • WOODWARD 9907-1106 CPC-II Current-to-Pressure Converter
  • WOODWARD 5437-1119 ProTech-GII Overspeed Protection Spare Module
  • Hirschmann OZD PROFI 12M G12 G11-1300 G11 - PROFIBUS Fiber Optic Module Optical Converter
  • HIRSCHMANN RPS 60 fast ship - RPS60 Redundant Power Supply Industrial Switch Power Module
  • HIRSCHMANN brand new RS20-1600T1T1SDAUHC HIRSCHMANN switchgear - 16-Port DIN Rail Industrial Ethernet Switch
  • Hirschmann Brand New HIRSCHMANN MSM401T1T1T1TZ9HH9E99 Switch - Industrial Ethernet Switch Module
  • Hirschmann NEW Hirschmann OZD-PROFI-12M-G12 - PROFIBUS Fiber Optic Module Optical Converter
  • Hirschmann OZD PROFI 12M G11 PRO Industrial Switch NEW - PROFIBUS PRO Fiber Optic Module Optical Converter
  • Hirschmann IEC 61131-2 (DHL or Fedex) #H740EE DX - IEC 61131-2 Industrial Ethernet Switch
  • Hirschmann OZD Professional 12M G12 Optical Converter Fast Shipping via - PROFIBUS Fiber Optic Converter Module
  • Hirschmann New HIRSCHMANN switch RS20-0800M2M2SDAEHC09.1.00(no box) - 8-Port DIN Rail Industrial Ethernet Switch
  • HIRSCHMANN RSB20-0800S2S2SAABHH HIRSCHMANN ORIGINAL MANUFACTURER SHED FEB - 8-Port DIN Rail Industrial Ethernet Switch
  • Hirschmann NEW Hirschmann MM3-4FXM2 Switch Module - MICE Fiber Media Module Industrial Switch Module
  • Hirschmann Brand New OZD Profi 12M G12 Hirschmann Optical Converter - PROFIBUS Fiber Optic Converter Module
  • HIRSCHMANN switch MM4-4TX/SFP - MICE Media Module 4xTX with SFP Slot
  • Hirschmann New Hirschmann OZD Profi 12M G12-1300 PRO OZD-PROFI-12M-G12-1300-PRO - PROFIBUS 1300nm PRO Fiber Optic Module Optical Converter
  • Hirschmann New Hirschmann OZD-PROFI-12M-G12-1300-PRO 943906321 - PROFIBUS 1300nm PRO Fiber Optic Module Optical Converter
  • Hirschmann New In Box HIRSCHMANN MM3-4FXS2 Switch Module - MICE Singlemode Fiber Media Module Industrial Switch Module
  • HIRSCHMANN OZD Profi 12M G12-1300 PRO Photoelectric conver DHL shipping - PROFIBUS 1300nm PRO Fiber Optic Converter Module
  • HIRSCHMANN RS20-0800S2T1SDAUHC industrial switch us free tax - 8-Port DIN Rail Industrial Ethernet Switch
  • Hirschmann New In Box HIRSCHMANN MM3-4FXM2 MICE Media Module - MICE Fiber Media Module Industrial Switch Module
  • HIRSCHMANN SPIDER-PL-20-05T1999999TWVHHHH switch #TX - 5-Port Spider DIN Rail Industrial Ethernet Switch
  • HIRSCHMANN - NEW * MANAGED 16 PORT ETHERNET SW. 24VDC,392.0 MA INPUT - 16-Port 24VDC Managed Industrial Ethernet Switch
  • HIRSCHMANN EAGLEONE-0200T1T1SDDUY0000HHE05.3.03 HIRSCHMANN - Industrial Security Router Network Security Gateway
  • Hirschmann iVISOR PSV3/1 System Amplifier KRUGER - Crane System Amplifier Sensor Signal Amplifier Module
  • Hirschmann New Hirschmann MM3-2FXS2/2TX1 FedEx or DHL - MICE Fiber/Copper Hybrid Media Module Industrial Switch Module
  • Hirschmann NEW Hirschmann OZD-PROFI-12M-G12 free ship - PROFIBUS Fiber Optic Module Optical Converter
  • HIRSCHMANN MACH104-20TX-FR-L3P Industrial Ethernet switch brand new - 20-Port MACH104 Workgroup Industrial Ethernet Switch
  • HIRSCHMANN ASGE2 / ASGE 2 / ENT 10512-R OYDE-S KYDE-S - Modular Ethernet Concentrator with Power and Optical Modules
  • Hirschmann New HIRSCHMANN Eagleon-0200M2M2SDDZ90000HHE05.3.03 - Industrial Security Router Network Security Gateway
  • Hirschmann Used Hirschmann MM2-4FXM3 MM2-4FXM3 Plc Module lw - MICE Fiber Media Module Industrial Switch Module
  • Hirschmann OZD Profi 12M G12 Photoelectric Converter New - PROFIBUS Fiber Optic Converter Module
  • Hirschmann CHD 2000 SI Digital Satellite Signal Processing Module 1.07 - Digital Satellite Signal Processing Module Broadcast PCB
  • HIRSCHMANN MM2-4XT1 module Fast Shipping Via/ - MICE Media Module Industrial Switch Module
  • Hirschmann New Hirschmann OZD PROFI 12M G12 Switches fast shipping - PROFIBUS Fiber Optic Module Optical Converter
  • Hirschmann OZD-PROFI-12M-G12-1300-PRO New Hirschmann OZDPROFI12MG12 1300PRO - PROFIBUS 1300nm PRO Fiber Optic Module Optical Converter
  • HIRSCHMANN Switch RS20-0800S2S2TDHPHH09.1.00 - 8-Port DIN Rail Industrial Ethernet Switch
  • HIRSCHMANN exchange board OZD PROFI 12M G11 Fast delivery/1 - PROFIBUS Fiber Optic Module Optical Converter
  • Hirschmann Brand New Hirschmann OZD Profi 12M G11 PRO Switche Fast Shipping - PROFIBUS PRO Fiber Optic Module Optical Converter
  • Hirschmann New HIRSCHMANN switch EAGLEONE-0200M2M2SDDZ90000HHE05.3.03 - Industrial Security Router Network Security Gateway
  • Hirschmann OZD PROFI 12M G11 PRO Hirschmann fibre optic module brand new - PROFIBUS PRO Fiber Optic Module Optical Converter
  • Hirschmann MM2-4FXM3 HIRSCHMANN Industrial Switch MM2-4FXM3 - MICE Fiber Media Module Industrial Switch Module
  • BELDEN RS20-2400M2T1SDAPEH05.0.02 / RS202400M2T1SDAPEH05002 - 24-Port DIN Rail Industrial Ethernet Switch
  • Hirschmann New Hirschmann OZD-PROFI-12M-G12-1300-PRO 943906321 #Z - PROFIBUS 1300nm PRO Fiber Optic Module Optical Converter
  • Hirschmann OZD Profi 12M G12 Hirschmann industrial switch Brand New - PROFIBUS Fiber Optic Module Optical Converter
  • Hirschmann New In Box HIRSCHMANN MSM401T1T1T1TZ9HH9E99 Switch - Industrial Ethernet Switch Module
  • HIRSCHMANN CSE 2000 Channel Processing Unit 9555137 5V1 17A Max 150W - Crane Channel Processing Unit Control Module
  • BELDEN RS20-1600T1T1SDAPEH09.0.00 / RS201600T1T1SDAPEH09000 - 16-Port DIN Rail Industrial Ethernet Switch
  • Hirschmann New HIRSCHMANN Switch RS20-0800M4M4SDAE - 8-Port DIN Rail Industrial Ethernet Switch
  • BELDEN MAR1040-4C4C4C4C9999EMMHR / MAR10404C4C4C4C9999EMMHR (BRAND NEW) - Industrial Ethernet Switch DIN Rail Device
  • BELDEN OCTOPUS 8M (GM) / OCTOPUS8MGM - 8-Port IP67 Managed Octopus Rugged Industrial Switch
  • HIRSCHMANN SPIDER 4TX/1FX-SM EEC Expedited Shipping - 4xTX 1xSM-FX Extended Temp Spider DIN Rail Switch
  • BELDEN RS20-1600T1T1SDAEHH01.0.00 / RS201600T1T1SDAEHH01000 - 16-Port DIN Rail Industrial Ethernet Switch
  • Hirschmann New In Box HIRSCHMANN MSM40-C1C1C1C1SZ9HH9E99.9 Switch Media Module - Industrial Ethernet Switch Media Module
  • Hirschmann RS200440M2MSDAEH03102 New NFP - DIN Rail Industrial Ethernet Switch
  • BELDEN RS2-TX/TX / RS2TXTX - Dual Copper DIN Rail Industrial Ethernet Switch
  • HIRSCHMANN EAGLE ONE - Industrial Security Router Network Security Gateway
  • BELDEN RS30-1602T1T1SDAE / RS301602T1T1SDAE - 16-Port DIN Rail Industrial Ethernet Switch
  • Hirschmann RS20-0800T1T1SDAEHH09.0.00 Rail Switch - New No Box - 8-Port DIN Rail Industrial Ethernet Switch
  • Hirschmann MS20-1600SAEEHC09.1.00 Industrial Switch Brand NEW - 16-Port Modular Industrial Ethernet Switch
  • Hirschmann OZD Profi 12M G12-1300 Pro Fiberoptic Module Profibus 943 906-321 - PROFIBUS 1300nm PRO Fiber Optic Module Optical Converter
  • HIRSCHMANN SPIDER 4TX/1FX-SM EEC Industrial switch module Fastshipping DHL - 4xTX 1xSM-FX Extended Temp Spider DIN Rail Switch Module
  • HIRSCHMANN MM3-4FXM2 MICE Media Module 1-Year Warranty Expedited Shipping - MICE Fiber Media Module Industrial Switch Module
  • HIRSCHMANN switch MS4128-L2P #YY - Power MICE Switching Module Industrial Switch Module
  • HIRSCHMANN M4-8TP-RJ45 brand new switch Express - 8-Port RJ45 MACH4000 Gigabit Switch Module
  • BELDEN ECFL-4 / ECFL4 - 4-Port Fiber Ethernet Interface Module Communication Card
  • Hirschmann FOR Hirschmann RS2-4TX/1FX-SM EEC Via #T9074 YS - 4xTX 1xSM-FX Extended Temp DIN Rail Industrial Switch
  • Hirschmann TOFINO TOFINOXE-0200T1T1TDDZ9000BTAT03.1.00 Xenon Security Appliance - Tofino Industrial Cybersecurity Firewall ICS Gateway
  • HIRSCHMANN Original HIRSCHMANN switch RSB20-0800T1T1TAABHH - 8-Port DIN Rail Industrial Ethernet Switch
  • BELDEN 942 133-271 / 942133271 - Octopus Rugged Industrial Ethernet Switch
  • HIRSCHMANN ECFL4-BFOC 943 357-021 HIRSCHMANN, Ethernet 10 BASE-FL Multimode BFOC 4 Ports .. - 10BASE-FL 4-Port Multimode BFOC Fiber Ethernet Module
  • BELDEN MM2-2FXM3/2TX1 / MM22FXM32TX1 - MICE Fiber/Copper Hybrid Media Module Industrial Switch Module
  • BELDEN MM2-4FXM3 / MM24FXM3 - MICE Fiber Media Module Industrial Switch Module
  • BELDEN RS30-1602T1T1SDAP / RS301602T1T1SDAP - 16-Port DIN Rail Managed Industrial Ethernet Switch
  • BELDEN 1TX/1FX SM EEC / 1TX1FXSMEEC - 1xTX 1xSM-FX Extended Temp DIN Rail Industrial Switch
  • Hirschmann New Hirschmann OZD Profi 12M G12 Photoelectric Converter by Fedex or DHL - PROFIBUS Fiber Optic Converter Module
  • HIRSCHMANN MM3-4FXM2 MICE Media Module - MICE Fiber Media Module Industrial Switch Module
  • Hirschmann SPIDER 4TX/1FX-SM EEC Optoelectronic switch Brand new with box #pass - 4xTX 1xSM-FX Extended Temp Spider DIN Rail Switch
  • HIRSCHMANN SPIDER 4TX/1FX-SM EEC Industrial Switch Module NEW FedEx or DHL - 4xTX 1xSM-FX Extended Temp Spider DIN Rail Switch Module
  • Hirschmann ENT 10515-R AC 743 970-213 EINSCHUBNETZTEIL NEW - AC Power Supply Module Industrial Communication Parts
  • Hirschmann RS20-2400T1T1SDAEHH09.1.00 - 24-Port DIN Rail Industrial Ethernet Switch
  • Hirschmann MS4128-L2P New NFP - Power MICE Switching Module Industrial Switch Module
  • BELDEN MS20-0800SAAE / MS200800SAAE - 8-Port Modular Industrial Ethernet Switch
  • HIRSCHMANN OZD profi 12M G12 Industrial switch DHL Fast delivery - PROFIBUS Fiber Optic Module Optical Converter
  • BELDEN RSR20-0800M4M4T1SKKHPHH06.0.01 / RSR200800M4M4T1SKKHPHH06001 - 8-Port RSR20 Managed DIN Rail Industrial Ethernet Switch
  • BELDEN RS20 / RS20 - DIN Rail Industrial Ethernet Switch
  • BELDEN BRS20-8TX / BRS208TX - 8-Port Bobcat DIN Rail Industrial Ethernet Switch
  • BELDEN RSR20-0800M4M4T1-UKKHPHH09.0.00 / RSR200800M4M4T1UKKHPHH09000 - 8-Port RSR20 Managed DIN Rail Industrial Ethernet Switch
  • BELDEN MS20-1600SAAEHH07.1.05 / MS201600SAAEHH07105D TESTED CLEANED) - 16-Port Modular Industrial Ethernet Switch
  • BELDEN RS20-0400M2M2SDAEHH08.0.01 / RS200400M2M2SDAEHH08001 - 4-Port DIN Rail Industrial Ethernet Switch
  • Hirschmann RS20-0800T1T1SDAUHH fast ship - 8-Port DIN Rail Industrial Ethernet Switch
  • Hirschmann MILITARY GROVE ATEC AT422-T CRANE CONTROL BOARD 9333103789 HIRSCHMANN MANITOWOC - Crane Control Board Electronic Control Module
  • Hirschmann MS4128 - Power MICE Switching Module Modular Industrial Switch
  • Hirschmann New In Box HIRSCHMANN MSM401T1T1T1TZ9HH9E99 Switch - Industrial Ethernet Switch Module
  • BELDEN 943761101 / 943761101 - Industrial Ethernet Switch Communication Module
  • Hirschmann OZD Genius G12-1300 Hirschmann bus transceiver brand new - GENIUS Bus 1300nm Fiber Optic Transceiver Module
  • BELDEN RS20-0800T1T1SDAEHH07.1.05 / RS200800T1T1SDAEHH07105 - 8-Port DIN Rail Industrial Ethernet Switch
  • HIRSCHMANN RS20-0800M4M4SDAP NSMP - 8-Port Managed DIN Rail Industrial Ethernet Switch
  • Hirschmann RS30 Rail Switch Hirschmann RS30-08020606SDAPHH06.0.01 - DIN Rail Industrial Ethernet Switch
  • HIRSCHMANN MODULAR CONCENTRATOR ETHERNET ASGE-2-E-AC / ASGE 2 E AC - Modular Ethernet Concentrator AC Chassis Module
  • Hirschmann Octopus OS20 OS20-001000T5TAFUHB - 10-Port Octopus Rugged Industrial Ethernet Switch
  • Hirschmann OZD PROFI 12M G11 PRO Hirschmann Photoelectric converter Brand By DHL - PROFIBUS PRO Fiber Optic Converter Module
  • BELDEN RS20-0800T1T1SDAEEH08.0.05 / RS200800T1T1SDAEEH08005 - 8-Port DIN Rail Industrial Ethernet Switch
  • Hirschmann Brand New MACH1130 Hirschmann Industrial Switches - MACH1130 Industrial Ethernet Switch Rackmount Switch
  • Hirschmann OZD Profi 12M G12 Hirschmann Photoelectric Converter - PROFIBUS Fiber Optic Converter Module
  • HIRSCHMANN exchange board RS20-0800T1T1SDAEHH09.1.00 Fast delivery/1 - 8-Port DIN Rail Industrial Ethernet Switch
  • PAT Hirschmann M1079 LMTV WRECKER GROVE CRANE PAT DS50A2 WEIGHT OVERLOAD 7-486-100081 12423880 - Crane Weight Overload Sensor Load Moment Indicator Parts
  • Hirschmann New In Box HIRSCHMANN MM3-4FXM2 MICE Media Module - MICE Fiber Media Module Industrial Switch Module
  • Hirschmann ECFL2-BFOC - BFOC Fiber Interface Ethernet Module Communication Card
  • Hirschmann RS20-1600M2T1TDAEHH06.0.01 Rail Switch - 16-Port DIN Rail Industrial Ethernet Switch
  • Hirschmann RS20-0400M2M2TDAEHC07.1.01 Tested in Good Condition - 4-Port DIN Rail Industrial Ethernet Switch
  • HIRSCHMANN BRS20-1200ZZZZ-STCY99HHSES RAIL SWITCH NEW! - DIN Rail Industrial Ethernet Switch
  • HIRSCHMANN SPIDER-PL-20-04T1M29999TWVHHHH brand new Industrial Switche - 4-Port Spider DIN Rail Industrial Ethernet Switch
  • Hirschmann EBMM EBMM-BFOC Mint Condition - BFOC Fiber Media Module Industrial Switch Module
  • HIRSCHMANN exchange board RS30-0802O6O6SDAEHH09.1.00 Fast delivery/1 - DIN Rail Industrial Ethernet Switch