Siemens SIMATIC NET S7-1200 Manuel utilisateur

CP 1242-
7
_
_________________
_
_
_________________
_
_
_________________
_
_
_________________
_
_
_________________
_
_
_________________
_
_
_________________
_
_
_________________
_
_
_________________
_
_
_________________
_
_
_________________
_
_
_________________
_
SIMATIC NET
S7-1200 - Telecontrol
CP 1242-7
Operating Instructions
09/2011
C79000-G8976-C247-02
Preface
Application and properties
1
Displays and connectors
2
Installing, connecting up and
commissioning
3
Notes on operation
4
Configuration
5
Technical specifications
6
Dimension drawings
A
Approvals
B
Accessories
C
References
D
Training, Service & Support
E

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
Order number: C79000-G8976-C247
Ⓟ 10/2011
Copyright © Siemens AG 2011.
Technical data subject to change

CP 1242-7
Operating Instructions, 09/2011, C79000-G8976-C247-02 3
Preface
Validity of this manual
This document contains information on the following product:
CP 1242-7
Order number 6GK7 242-7KX30-0XE0
Hardware product version 1, firmware version V1.0
The device is the communications processor for data transmission using GPRS for the
SIMATIC S7-1200.
Figure 1 CP 1242-7
At the top right behind the hinged cover of the module housing, you will see the hardware
product version printed as a placeholder "X" (for example X 2 3 4). In this case, "X" would be
the placeholder for hardware product version 1.
Product name
In this document, the term "CP" is also used instead of the full product name "CP 1242-7".

Preface
CP 1242-7
4 Operating Instructions, 09/2011, C79000-G8976-C247-02
Purpose of the manual
This manual describes the properties of this module and supports you when installing and
commissioning the device.
The necessary configuration steps are described in the form of an overview.
You will also find instructions for operation and information about the diagnostics options of
the device.
New in this issue
Editorial revision
Replaced documentation
This manual replaces the manual release 07/2011.
Required experience
To install, commission and operate the CP, you require experience in the following areas:
● Automation engineering
● Setting up the SIMATIC S7-1200
● SIMATIC STEP 7 (ab V11)
● Data transmission using GPRS and the Internet
Further information
You will find an overview of further reading and references in the Appendix of this manual.
You will also find information about training, Service & Support and who to contact in the
Appendix of this manual.
License conditions
NOTICE
Open source software
Read the license conditions for open source software carefully before using the product.
The acceptance of the disclaimers of liability and warranty it contains is a clear precondition
of the use of open source software.
You will find license conditions in the document "Readme_OSS_CM-CP-1200_74.pdf" on
the supplied data medium with the product documentation.

CP 1242-7
Operating Instructions, 09/2011, C79000-G8976-C247-02 5
Table of contents
Preface ...................................................................................................................................................... 3
1 Application and properties ......................................................................................................................... 7
1.1 Connecting the S7-1200 to a GSM network ..................................................................................7
1.2 Applications....................................................................................................................................8
1.3 Modes and communications partners of the CP 1242-7 ...............................................................9
1.4 Other properties of the CP...........................................................................................................10
1.5 Performance data ........................................................................................................................10
1.6 Requirements for operation .........................................................................................................12
1.7 Configuration examples ...............................................................................................................14
2 Displays and connectors.......................................................................................................................... 19
2.1 Opening the housing....................................................................................................................19
2.2 LEDs ............................................................................................................................................20
2.3 Electrical connections ..................................................................................................................22
3 Installing, connecting up and commissioning........................................................................................... 25
3.1 Important notes on using the device............................................................................................25
3.2 Warning overvoltage protection ...................................................................................................27
3.3 Installing and commissioning the CP...........................................................................................27
3.4 Pin assignment of the socket for the external power supply .......................................................32
4 Notes on operation .................................................................................................................................. 33
4.1 Connection modes and connection establishment ......................................................................33
4.2 The wake-up SMS .......................................................................................................................35
4.3 Main and substitute telecontrol server.........................................................................................36
4.4 Redial delay (STEP 7) .................................................................................................................38
4.5 Data management and cyclic data exchange..............................................................................38
4.6 Calling a TeleService connection.................................................................................................39
4.7 Diagnostics...................................................................................................................................41
4.8 Downloading firmware .................................................................................................................41
4.9 Module replacement ....................................................................................................................42
5 Configuration ........................................................................................................................................... 43
5.1 Configuration in STEP 7 ..............................................................................................................43
5.2 Information required for configuration..........................................................................................43

Table of contents
CP 1242-7
6 Operating Instructions, 09/2011, C79000-G8976-C247-02
5.3 Using the telecontrol instructions ................................................................................................ 46
5.4 Configuring the telecontrol instructions....................................................................................... 47
5.4.1 TC_CON: Establish connection via the GSM network................................................................ 47
5.4.2 TC_DISCON: Terminate connection via the GSM network ........................................................ 51
5.4.3 TC_SEND: Send data via the GSM network............................................................................... 53
5.4.4 TC_RECV: Receive data via the GSM network.......................................................................... 56
5.4.5 TC_CONFIG: Transferring configuration data to a GPRS communications module.................. 59
5.4.6 Other error messages ................................................................................................................. 61
5.4.7 TCON_...: SDTs for the telecontrol connection establishment ................................................... 61
5.4.8 IF_CONF: SDT for telecontrol configuration data ....................................................................... 66
6 Technical specifications........................................................................................................................... 75
A Dimension drawings ................................................................................................................................ 77
B Approvals................................................................................................................................................. 79
C Accessories ............................................................................................................................................. 85
C.1 Antennas ..................................................................................................................................... 85
C.2 TS Gateway ................................................................................................................................ 87
D References .............................................................................................................................................. 91
E Training, Service & Support..................................................................................................................... 93
Glossary .................................................................................................................................................. 95
Index........................................................................................................................................................ 97

CP 1242-7
Operating Instructions, 09/2011, C79000-G8976-C247-02 7
Application and properties 1
1.1 Connecting the S7-1200 to a GSM network
IP-based WAN communication via GPRS
Using the CP 1242-7 communications processor, the S7-1200 SIMATIC controller can be
connected to GSM networks. The CP 1242-7 allows WAN communication from remote
stations with a control center and inter-station communication.
The CP 1242-7 supports the following services for communication via the GSM network:
● GPRS (General Packet Radio Service)
The packet-oriented service for data transmission "GPRS" is handled via the GSM
network.
● SMS (Short Message Service)
The CP 1242-7 can receive and send SMS messages. The communications partner can
be a mobile phone or an S7-1200.
The CP 1242-7 is suitable for use in industry worldwide and supports the following frequency
bands:
● 850 MHz
● 900 MHz
● 1 800 MHz
● 1 900 MHz
In countries in which the CP is approved, you will find this on the Internet on the pages of
Siemens Automation Customer Support under the following entry ID:
45605894 (http://support.automation.siemens.com/WW/view/en/45605894)
On the Internet page, select the "Entry list" tab and the "Certificates" entry type.
Note
No CDMA mode
The CP is not suitable for GSM networks in which the code multiplex method "Code Division
Multiple Access" (CDMA) is used.