
PtP coupling and configuration of CP
340
SIMATIC
S7-300
PtP coupling and configuration of
CP 340
Manual
_________________
Preface
_________________
Product Description
Basic Principles of Serial
_________________
Data Transmission
_________________
Starting up the CP 340
_________________
Mounting the CP 340
Configuring and
_________________
Parameterizing the CP 340
Communication using
_________________
function blocks
_________________
Startup
_________________
Diagnostics with the CP 340
Programming Example for
_________________
Standard Function Blocks
_________________
Technical Specifications
_________________
Connecting Cables
Accessories and Order
_________________
Numbers
_________________
Literature on SIMATIC S7
1
2
3
4
5
6
7
8
9
A
B
C
D
04/2011
A5E00369892-03

Legal information
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
CAUTION
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
NOTICE
indicates that an unintended result or situation can occur if the relevant information is not taken into account.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Siemens AG
Industry Sector
Postfach 48 48
90026 NÜRNBERG
GERMANY
A5E00369892-03
Ⓟ 06/2011
Copyright © Siemens AG 2011.
Technical data subject to change

Preface
Purpose of the manual
This manual explains how to establish and operate a point-to-point connection.
Content of the manual
This manual describes the hardware and software of communication processor CP 340, and
its implementation into the S7-300 automation system. It consists of an instruction section
and also contains reference material (appendices).
Topics covered:
● The basics of point-to-point connections with the CP 340
● Starting up the CP 340
● Mounting the CP 340
● Communication via the CP 340
● Troubleshooting
● Application example
● Features and technical specifications
Scope of the manual
The manual is relevant for:
Product Order number From edition
CP 340-RS 232C 6ES7 340-1AH02-0AE0 01
CP 340-20mA-TTY 6ES7 340-1BH02-0AE0 01
CP 340-RS 422/485 6ES7 340-1CH02-0AE0 01
Note
The description of the CP 340 communication processor contained in this manual is correct
at the date of publication. We reserve the right to describe changes to module functionality in
a Product Information.
PtP coupling and configuration of CP 340
Manual, 04/2011, A5E00369892-03
3

Preface
Certifications
You can find detailed information about certificates, approvals and standards in the manual
S7-300 Automation System; S7-300 Module Specifications
.
Assistance in using the manual
This manual has the following features to help you to find the information you need quickly:
● In the chapters, the information in the left-hand column of each page summarizes the
content of each section.
● Following the appendices, a glossary defines important technical terms used in the
manual.
● At the end of the manual a comprehensive index facilitates quick access to information
relating to specific subjects.
Additional assistance
Please contact your local Siemens representative if you have any queries about the products
described in this manual.
Conventions
● You will find contact details for your representative at:
http://www.siemens.com/automation/partner
● You will find the guide to the technical documentation for the individual SIMATIC products
and systems at:
http://www.siemens.com/simatic-doku
● You will find the online catalog and online ordering system at:
http://www.siemens.com/automation/mall
The abbreviation CP 340 is used in this manual when information applies to all three module
variants: CP 340-RS 232C, CP 340-20mA TTY and CP 340-RS 422/485.
PtP coupling and configuration of CP 340
4 Manual, 04/2011, A5E00369892-03