Siemens S7-1200 TELECONTROL Operating Instructions Manual

Siemens S7-1200 TELECONTROL Operating Instructions Manual

Hide thumbs Also See for S7-1200 TELECONTROL:
Table of Contents
SIMATIC NET
S7-1200 - TeleControl
CP 1242-7 GPRS V2
Operating Instructions
10/2016
C79000-G8976-C311-02
___________________
Preface
___________________
Application and functions
___________________
LEDs and connectors
Installation, connecting up,
___________________
commissioning
___________________
Configuration and operation
Programming the program
___________________
blocks
___________________
Diagnostics and upkeep
___________________
Technical specifications
___________________
Dimension drawings
___________________
Approvals
___________________
Accessories
___________________
References
1
2
3
4
5
6
7
A
B
C
D
Table of Contents
loading

Summary of Contents for Siemens S7-1200 TELECONTROL

  • Page 1 ___________________ Preface ___________________ Application and functions ___________________ SIMATIC NET LEDs and connectors Installation, connecting up, ___________________ commissioning S7-1200 - TeleControl CP 1242-7 GPRS V2 ___________________ Configuration and operation Programming the program ___________________ blocks Operating Instructions ___________________ Diagnostics and upkeep ___________________ Technical specifications ___________________ Dimension drawings...
  • Page 2 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.
  • Page 3: Preface

    Preface Validity of this manual This document contains information on the following product: CP 1242-7 GPRS V2 Article number 6GK7 242-7KX31-0XE0 Hardware product version 1 Firmware version V2.1.77 Communications processor for connection of the SIMATIC S7-1200 via GSM mobile wireless networks Figure 1 CP 1242-7 GPRS V2...
  • Page 4 ● Editorial revision Replaced manual issue Release 01/2015 Current manual release on the Internet You will also find the current version of this manual on the Internet pages of Siemens Industry Online Support: Link: (https://support.industry.siemens.com/cs/ww/en/ps/15921/man) Required experience To install, commission and operate the CP, you require experience in the following areas: ●...
  • Page 5 You will find license conditions in the following document on the supplied data medium: ● OSS_CP124x7_86.pdf Firmware The firmware is signed and encrypted. This ensures that only firmware created by Siemens can be downloaded to the device. Security information Siemens provides products and solutions with industrial security functions that support the secure operation of plants, systems, machines and networks.
  • Page 6 Explanations of many of the specialist terms used in this documentation can be found in the SIMATIC NET glossary. You will find the SIMATIC NET glossary on the Internet at the following address: Link: (https://support.industry.siemens.com/cs/ww/en/view/50305045) Training, Service & Support You will find information on Training, Service & Support in the multi--language document "DC_support_99.pdf"...
  • Page 7: Table Of Contents

    Table of contents Preface ..............................3 Application and functions ........................9 Connecting the S7-1200 to a GSM network ................9 Communications services ....................... 10 Other services and properties ....................11 Performance data and configuration limits ................13 Requirements for operation ....................15 Configuration examples ......................
  • Page 8 Table of contents 4.9.4.2 Partner for inter-station communication ................. 56 4.9.5 Communication with the CPU ....................57 4.9.6 Security ..........................59 4.9.6.1 E-mail configuration ....................... 60 4.9.7 Data points ..........................61 4.9.7.1 Configuring data points and messages ................. 61 4.9.7.2 Datapoint types ........................
  • Page 9: Application And Functions

    ● 1 900 MHz You will find the countries in which the CP is approved on the Internet on the pages of Siemens Industry Online Support. Link: (www.siemens.com/mobilenetwork-approvals) On the Internet page, select the "Entry list" tab and the "Certificates" entry type.
  • Page 10: Communications Services

    Application and functions 1.2 Communications services Communications services The CP 1242-7 GPRS V2 is intended for use in an industrial environment. The following applications are supported by the CP: Telecontrol communication The following applications are possible if telecontrol communication is enabled in the configuration of the CP.
  • Page 11: Other Services And Properties

    Application and functions 1.3 Other services and properties S7 communication Reading / writing data from / to a CPU via the mobile wireless network is possible if S7 communication is enabled in the configuration of the CP. The following instructions are supported: ●...
  • Page 12 Application and functions 1.3 Other services and properties ● Time-of-day synchronization – When telecontrol communication is enabled, the CP obtains its local time of day as UTC time from the partner (TCSB). The time of day can be read from the CPU. The mechanisms are described in the STEP 7 information system.
  • Page 13: Performance Data And Configuration Limits

    Application and functions 1.4 Performance data and configuration limits Security functions of the CP The CP supports the following Security functions: ● Encrypted telecontrol communication You configure the interval of the key exchange between the CPU and telecontrol server in STEP 7 in the parameter group "Ethernet interface (X1) >...
  • Page 14 Application and functions 1.4 Performance data and configuration limits The maximum number can be divided up as follows: ● S7 connections: Maximum 8 – (PUT/GET) ● OUC connections: Maximum 8 – TCP connections – ISO-on-TCP connections – UDP connections ● Additional free resources for S7 or OUC connections: Maximum 6 Number of connections to NTP servers ●...
  • Page 15: Requirements For Operation

    Application and functions 1.5 Requirements for operation The send buffer has a maximum size of 64 000 events divided into equal parts for all configured communications partners. The size of the frame memory can be set in STEP 7. See also section Process image, type of transmission, event classes, triggers (Page 70). Messages: E-mail / SMS Up to 10 messages can be configured in STEP 7 and sent as e-mails or SMS messages.
  • Page 16 Application and functions 1.5 Requirements for operation Software for telecontrol communication and TeleService The CP is configured in "Telecontrol" mode. ● For the telecontrol communication The telecontrol server requires the "TCSB" (TeleControl Server V3) software in the master station. ● For TeleService For TeleService a switching station is required between the CP and the engineering station (with STEP 7 in the version specified above).
  • Page 17: Configuration Examples

    Application and functions 1.6 Configuration examples Configuration examples Below, you will find configuration examples for stations with a CP 1242-7 GPRS V2. SMS messages and e-mails Figure 1-1 Sending messages by SMS from an S7-1200 station The CP can send SMS messages to a mobile phone or a configured S7-1200 station and receive from these nodes.
  • Page 18 Application and functions 1.6 Configuration examples E-mails The CP can send e-mails to a PC with an Internet connection or a mobile phone. The mechanisms for this are as follows: ● E-mails generated and sent as the result of an event. For a description of the configuration, refer to the sections Configuring data points and messages (Page 61), Messages (Page 83) and E-mail configuration (Page 60).
  • Page 19 Application and functions 1.6 Configuration examples ● Communication between a station and a control room with OPC client The station communicates with the telecontrol server. Using its integrated OPC server, the telecontrol server exchanges data with the OPC client of the control room. The OPC client and telecontrol server can be located on a single computer, for example when TCSB is installed on a control center computer with WinCC.
  • Page 20 Application and functions 1.6 Configuration examples TeleService with telecontrol server The connection runs via the telecontrol server. ● The engineering station and telecontrol server are connected via the Intranet (LAN) or Internet. ● The telecontrol server and remote station are connected via the Internet and via the mobile wireless network.
  • Page 21 Application and functions 1.6 Configuration examples TeleService with TeleService gateway (via LAN) The connection between the engineering station and S7 station is via the TeleService gateway. The engineering station is connected to the TeleService gateway via LAN. Figure 1-5 TeleService via the mobile wireless network with TeleService gateway - connection via CP 1242-7 GPRS V2 Operating Instructions, 10/2016, C79000-G8976-C311-02...
  • Page 22 Application and functions 1.6 Configuration examples TeleService with TeleService gateway (via the Internet) The connection between the engineering station and S7 station is via the TeleService gateway. The engineering station is connected to the TeleService gateway via the Internet. Figure 1-6 TeleService via the mobile wireless network with TeleService gateway - connection via the Internet CP 1242-7 GPRS V2...
  • Page 23: Leds And Connectors

    LEDs and connectors Opening the housing Location of the display elements and the electrical connectors The LEDs for the detailed display of the module statuses are located behind the upper cover of the module housing. The socket for the power supply is located on the top of the module. The connector for the external antenna is located on the bottom of the module.
  • Page 24: Leds

    LEDs and connectors 2.2 LEDs LEDs LEDs of the module The CP has the following LEDs for displaying the status: ● "DIAG" LED on the front panel The "DIAG" LED that is always visible shows the basic statuses of the module. ●...
  • Page 25 LEDs and connectors 2.2 LEDs The LEDs indicate the operating and communications status of the module according to the following scheme: DIAG NETWORK CONNECT SIGNAL TELE- Meaning QUALITY SERVICE (red / green) (red / green) (green) (yellow / (green) green) Display of the basic statuses of the module Power OFF Startup...
  • Page 26 LEDs and connectors 2.2 LEDs DIAG NETWORK CONNECT SIGNAL TELE- Meaning QUALITY SERVICE (red / green) (red / green) (green) (yellow / (green) green) Telecontrol configuration exists, partner not reachable, CPU in RUN mode flashing green Telecontrol configuration exists, partner not reachable, CPU in STOP mode flashing green...
  • Page 27: Electrical Connections

    LEDs and connectors 2.3 Electrical connections Electrical connections 2.3.1 Wireless interface Wireless interface for the mobile wireless network An extra antenna is required for communication in the mobile wireless network. This is connected via the SMA socket of the CP. The SMA socket is located behind the lower front cover of the CP.
  • Page 28 LEDs and connectors 2.3 Electrical connections CP 1242-7 GPRS V2 Operating Instructions, 10/2016, C79000-G8976-C311-02...
  • Page 29: Installation, Connecting Up, Commissioning

    Installation, connecting up, commissioning Important notes on using the device Safety notices on the use of the device Note the following safety notices when setting up and operating the device and during all associated work such as installation, connecting up or replacing the device. Overvoltage protection NOTICE Protection of the external power supply...
  • Page 30: Notes On Use In Hazardous Areas According To Atex / Iecex

    Installation, connecting up, commissioning 3.1 Important notes on using the device WARNING The equipment is designed for operation with Safety Extra-Low Voltage (SELV) by a Limited Power Source (LPS). This means that only SELV / LPS complying with IEC 60950-1 / EN 60950-1 / VDE 0805-1 must be connected to the power supply terminals.
  • Page 31: Notices Regarding Use In Hazardous Areas According To Ul Hazloc

    Installation, connecting up, commissioning 3.2 Installing the CP and commissioning WARNING If the cable or conduit entry point exceeds 70 °C or the branching point of conductors exceeds 80 °C, special precautions must be taken. If the equipment is operated in an air ambient in excess of 50 °C, only use cables with admitted maximum operating temperature of at least 80 °C.
  • Page 32 Installation, connecting up, commissioning 3.2 Installing the CP and commissioning Configuration One requirement for the commissioning of the CP is the completeness of the STEP 7 project data (see below). You should also read the section "Configuration and operation (Page 37)". Inserting the SIM card Note Inserting and removing the SIM card...
  • Page 33 Installation, connecting up, commissioning 3.2 Installing the CP and commissioning Dimensions for installation Figure 3-1 Dimensions for installation of the S7-1200 Table 3- 1 Dimensions for installation (mm) S7-1200 devices Width A Width B * CPU 1211C, CPU 1212C 90 mm 45 mm (Examples) CPU 1214C...
  • Page 34 Installation, connecting up, commissioning 3.2 Installing the CP and commissioning Procedure for installation and commissioning NOTICE Installation location The module must be installed so that its upper and lower ventilation slits are not covered, allowing adequate ventilation. Above and below the device, there must be a clearance of 25 mm to allow air to circulate and prevent overheating.
  • Page 35 Installation, connecting up, commissioning 3.2 Installing the CP and commissioning Note Turning off the station when plugging/pulling the CP Do not only turn off the power supply to the CP. Always turn off the power supply for the entire station. Table 3- 2 Procedure for installation and connecting up Step...
  • Page 36 Installation, connecting up, commissioning 3.2 Installing the CP and commissioning CP 1242-7 GPRS V2 Operating Instructions, 10/2016, C79000-G8976-C311-02...
  • Page 37: Configuration And Operation

    ● Keep the firmware up to date. Check regularly for security updates of the firmware and use them. ● Check regularly for new features on the Siemens Internet pages. – Here you will find information on network security: Link: (http://www.siemens.com/industrialsecurity) –...
  • Page 38 Configuration and operation 4.2 Security recommendations – You will find an introduction to the topic of industrial security in the following publication: Link: (http://w3app.siemens.com/mcms/infocenter/dokumentencenter/sc/ic/InfocenterLangu agePacks/Netzwerksicherheit/6ZB5530-1AP02- 0BA4_BR_Network_Security_en_112015.pdf) Physical access Restrict physical access to the device to qualified personnel. APNs from mobile wireless providers.
  • Page 39 Configuration and operation 4.2 Security recommendations ● Only use passwords with a high password strength. Avoid weak passwords for example "password1", "123456789" or similar. ● Make sure that all passwords are protected and inaccessible to unauthorized personnel. See also the preceding section for information on this. ●...
  • Page 40: Configuration In Step 7

    Configuration and operation 4.3 Configuration in STEP 7 Protocol / function Port number (pro- Default of the port Port status Authentication tocol) S7 and online 102 (TCP) Open when the Open after configuration connections function is ena- bled. SMTP 25 (TCP) Closed Open after configuration can be set...
  • Page 41: Information Required For Configuration

    Configuration and operation 4.4 Information required for configuration 4. Create PLC tags for the input and output data to be transferred in the CPUs. 5. Insert the CPs in the relevant stations. 6. Configure the CPs including the data points and any messages (e-mail / SMS). Note Changing the project number or station number for the entire STEP 7 project If you change the project number or the station number in the "CP identification"...
  • Page 42 Configuration and operation 4.4 Information required for configuration Note Configured PIN and PIN on the SIM card must match. If you enter the PIN of the SIM card of the CP incorrectly during STEP 7 configuration and download the station, the CP stores the wrong PIN. An incorrectly entered PIN is transferred by the CP only once so that the SIM card is not locked.
  • Page 43: Connection Establishment

    Configuration and operation 4.5 Connection establishment CP parameter for configuring the telecontrol server The following parameters from the STEP 7 configuration of the CP are also required for the configuration of the telecontrol server: ● Address and port of the telecontrol server ●...
  • Page 44: Acknowledgment

    Configuration and operation 4.6 Acknowledgment ● Connections with direct communication (Open User Communication) and S7 communication Connections are established as soon as the corresponding program blocks are called on the CPU. This also applies to the situation when a different S7 station sends data. In this case, the corresponding receive blocks are called by the receiving station.
  • Page 45 Configuration and operation 4.8 Time-of-day synchronization ● An asterisk (*) after a phone number body authorizes connection establishment for all nodes connected to the body (extension numbers). Example: +49123456* authorizes +49123456101, +49123456102, +49123456207 etc. Note No wake-up without an authorized phone number If the "Authorized phone numbers"...
  • Page 46: Time-Of-Day Synchronization

    Configuration and operation 4.8 Time-of-day synchronization Time-of-day synchronization With applications that require time-of-day synchronization (e.g. telecontrol), you need to synchronize the time of day of the CP regularly. If you do not synchronize the time of day of the CP regularly, there may be deviations of several seconds per day in the time information of the CP.
  • Page 47 Configuration and operation 4.8 Time-of-day synchronization ● Telecontrol communication not enabled The time of day of the CP can only be synchronized with NTP mechanisms: – Security functions enabled: The time-of-day synchronization is configured in the "Security" parameter group. NTP and NTP (secure) are available as the synchronization methods.
  • Page 48: Step 7 Configuration

    Configuration and operation 4.9 STEP 7 configuration Forwarding the time from the CP to the CPU Note Forwarding the time to the CPU Depending on the firmware version of the modules involved, the time-of-day of the CP is forwarded to the CPU in different ways: •...
  • Page 49: Mobile Wireless Communications Settings

    Configuration and operation 4.9 STEP 7 configuration "Communication types" parameter group ● Enable telecontrol communication Enables communication with a Telecontrol server on the CP. To use telecontrol communication, the you also need to enable the Security functions. To use TeleService via the mobile wireless network you need to enable this function. ●...
  • Page 50: Ethernet Interface (X1)

    Configuration and operation 4.9 STEP 7 configuration "Teleservice settings" parameter group In this parameter group, you specify the connection parameters for the TeleService server(s). 4.9.3 Ethernet interface (X1) The Ethernet interface The CP does not have a physical Ethernet interface. In STEP 7, the Ethernet interface is used as a placeholder for the configuration of various address and monitoring parameters.
  • Page 51 Configuration and operation 4.9 STEP 7 configuration ● TCP connection monitoring time Function: If there is no data traffic within the TCP connection monitoring time, the CP sends a keepalive to the communications partner. Default setting: 180 s. Permitted range: 1...65535 s. –...
  • Page 52 Configuration and operation 4.9 STEP 7 configuration Ethernet interface(X1) > Advanced options > Transfer settings ● Connection establishment delay The settings made here apply to the connection to the telecontrol server. The reconnection delay is the waiting time between repeated attempts to establish the connection by the CP when the telecontrol server is not reachable or the connection has aborted.
  • Page 53: Partner Stations

    Configuration and operation 4.9 STEP 7 configuration ● Watchdog monitoring time With the watchdog cycle, the CP checks the connection to the telecontrol server. The watchdog cycle is the interval without data exchange between the CP and telecontrol server after which the CP sends a watchdog frame to the telecontrol server. The watchdog cycle is only configured with TCSB (parameter "Keepalive monitoring time").
  • Page 54 Configuration and operation 4.9 STEP 7 configuration Partner stations > "Telecontrol server > "Connection to partner" ● Partner IP address IP address or host name (FQDN) of the telecontrol server. This can, for example, also be the FQDN of a DynDNS service. If the CP is connected to a TCSB redundancy group (TCSB V3), here configure the public IP address of the DSL router via which the telecontrol server can be reached from the Internet.
  • Page 55 Configuration and operation 4.9 STEP 7 configuration ● TCP keepalive monitoring time If the value configured here differs from the value configured in the Ethernet interface parameter group, the monitoring time of the "Partner stations" parameter group is used. After sending a keepalive, the CP expects a reply from the communications partner within the keepalive monitoring time.
  • Page 56: Partner For Inter-Station Communication

    Configuration and operation 4.9 STEP 7 configuration 4.9.4.2 Partner for inter-station communication Inter-station communication In this table, you specify the communications partners of the CP for inter-station communication. The communications partner is a CP in the partner S7 station. Connections for inter-station communication run via the telecontrol server. Note the special features when configuring the data points for inter-station communication in the section Partner stations (Page 82).
  • Page 57: Communication With The Cpu

    Configuration and operation 4.9 STEP 7 configuration Access ID The access ID of the partner CP is displayed here. The Access ID (DWORD) is formed from the hexadecimal values of project number, station number and slot: Bits 0 to 7: Slot Bits 8 to 20: Station number Bits 21 to 31: Project number 4.9.5...
  • Page 58 Configuration and operation 4.9 STEP 7 configuration CP time ● CP time to CPU Using this function, the CP can synchronize the CPU clock. You will find details in the STEP 7 information system. CP diagnostics In the parameter group "CP diagnostics", you have the option of reading out advanced diagnostics data from the CP using PLC tags.
  • Page 59: Security

    Configuration and operation 4.9 STEP 7 configuration ● Date of last successful logon to network PLC tag (data type DTL) for the date on which the CP last logged in to the mobile wireless network. ● Date of last unsuccessful logon to network PLC tag (data type DTL) for the date on which the CP was last unable to log in to the mobile wireless network.
  • Page 60: E-Mail Configuration

    Configuration and operation 4.9 STEP 7 configuration 4.9.6.1 E-mail configuration Configuring e-mails in STEP 7 In the "E-mail configuration" entry, you configure the protocol to be used and the data for access to the e-mail server in STEP 7. In the message editor ("Messages" entry in STEP 7), you configure the individual e-mails, see section Messages (Page 83).
  • Page 61: Data Points

    Configuration and operation 4.9 STEP 7 configuration 4.9.7 Data points 4.9.7.1 Configuring data points and messages Data point-related communication with the CPU No program blocks need to be programmed for the telecontrol CPs with data point configuration to transfer user data between the station and communications partner. The data areas in the memory of the CPU intended for communication with the communications partner are configured data point-related on the CP.
  • Page 62 Configuration and operation 4.9 STEP 7 configuration Figure 4-1 Configuring data points and messages By double-clicking on the entry, the data point or message editor. Using the two entries to the right above the table, you can switch over between the data point and message editor.
  • Page 63 Configuration and operation 4.9 STEP 7 configuration Assigning data points to their data source After creating it, you assign a new data point to its data source. Depending on the data type of the data point a PLC tag can serve as the data source. For the assignment you have the following options: ●...
  • Page 64 Configuration and operation 4.9 STEP 7 configuration ● Showing / hiding columns You call this function using the shortcut menu that opens when you click on a column header with the right mouse key. ● Copying, pasting, cutting and deleting objects If you click in a parameter box of an object in the table with the right mouse key, you can use the functions named with the shortcut menu (copy, paste, cut, delete).
  • Page 65 Configuration and operation 4.9 STEP 7 configuration Editing the data point information You can edit the data point information in an exported CSV file. This allows you to use this file as a configuration template for many other stations. If you have a project with many stations of the same type, you can copy the CSV file with the data points of a fully configured CP for other as yet unconfigured stations and adapt individual parameters to the particular station.
  • Page 66 Configuration and operation 4.9 STEP 7 configuration If the names of the PLC tags in the CP into which the import is made have different names than in the CP that exported, the corresponding data points cannot be assigned to your PLC tags.
  • Page 67: Datapoint Types

    Configuration and operation 4.9 STEP 7 configuration Character set for data point names When you create a data point, a preset name "DataPoint_n" is adopted. In the data point table and in the "General" tab of the data point you can change the name of the data point. When assigning names only ASCII characters from the band 0x20 ...
  • Page 68: Status Ids Of Data Points

    Configuration and operation 4.9 STEP 7 configuration Block of data (ARRAY) With the ARRAY data type, contiguous memory areas up to a size of 64 bytes can be transferred. The following S7 data types are compatible components of ARRAY: ● Byte, USInt (total of up to 64 per data block) ●...
  • Page 69: Data Point Index

    Configuration and operation 4.9 STEP 7 configuration Generation of events if a data point status changes With data points that were configured as an event, the change to the status bit of the status identifiers described below also leads to an event being generated. Example: If the value of the status "RESTART"...
  • Page 70: Process Image, Type Of Transmission, Event Classes, Triggers

    Configuration and operation 4.9 STEP 7 configuration Structure of the CPU scan cycle The cycle (including the pause) with which the CP scans the memory area of the CPU is made up of the following phases: ● High-priority read jobs The values of input data points with the scan priority "High-priority"...
  • Page 71 Configuration and operation 4.9 STEP 7 configuration ● Triggered: event The values of data points configured as an event are also entered in the image memory of the CP. The value of the event is sent unsolicited to the communications partner if this function is enabled by the master.
  • Page 72 Configuration and operation 4.9 STEP 7 configuration Types of transmission / event classes The following types of transmission are possible: ● Transfer after call The current value of the data point is entered in the image memory of the CP. New values of a data point overwrite the last stored value in the image memory.
  • Page 73: Trigger" Tab

    Configuration and operation 4.9 STEP 7 configuration ● Event trigger The value of the data point is transferred when a configurable trigger signal is fired. As the trigger signal, the edge change (0 → 1) of a trigger bit is evaluated that is set by the user program.
  • Page 74: Threshold Value Trigger

    Configuration and operation 4.9 STEP 7 configuration Resetting the trigger tag in the bit memory area / DB: If the memory area of a trigger tag is in the bit memory or in a data block, the CP resets the trigger variable itself to 0 (zero) as soon as the value of the data point has been transferred.
  • Page 75 Configuration and operation 4.9 STEP 7 configuration For the time sequence of the analog value preprocessing refer to the section Analog value preprocessing (Page 76). Threshold value trigger Function If the process value deviates by the amount of the threshold value, the process value is saved.
  • Page 76: Analog Value Preprocessing

    Configuration and operation 4.9 STEP 7 configuration Table 4- 3 Example of the integration calculation of a threshold value configured with 2.0 Time [s] Process value Current process Absolute deviation Integrated devia- stored in the value from the stored tion (calculation cycle) send buffer value...
  • Page 77 Configuration and operation 4.9 STEP 7 configuration Sequence of the analog value preprocessing options The values of analog inputs configured as an event are processed on the CPU according to the following scheme: Figure 4-5 Sequence of the analog value preprocessing CP 1242-7 GPRS V2 Operating Instructions, 10/2016, C79000-G8976-C311-02...
  • Page 78 Configuration and operation 4.9 STEP 7 configuration The 500 millisecond cycle is started by the integrative threshold value calculation. In this cycle, the values are saved even when the following preprocessing options are enabled: ● Unipolar transfer ● Fault suppression time ●...
  • Page 79 Configuration and operation 4.9 STEP 7 configuration The calculation of a new mean value is then started. If the analog value remains in the overflow or underflow range, one of the two values named is again saved as an invalid mean value and sent when the next message is triggered.
  • Page 80 Configuration and operation 4.9 STEP 7 configuration Input modules The suppression is adjusted to analog values that are acquired directly by the S7 analog input modules as raw values. These modules return the specified values for the overflow or underflow range for all input ranges (also for live zero inputs). An analog value in the overflow range (32767 / 7FFF ) or underflow range (-32768 / 8000 is not transferred for the duration of the fault suppression time.
  • Page 81 Configuration and operation 4.9 STEP 7 configuration Set limit value 'low' / Set limit value 'high' Requirements for the function ● Configuration of the threshold trigger for this data point ● PLC tag in the bit memory operand area or data area The analog value data point must be linked to a PLC tag in the bit memory or data area (data block).
  • Page 82: Partner Stations

    Configuration and operation 4.9 STEP 7 configuration Range Raw value (16 bits) of the PLC tag Module output [mA] Measuring range [%] Decimal Hexadecimal 0 .. 20 -20 .. +20 4 .. 20 (unipolar) (bipolar) (life zero) Nominal range (bipolar) 27648 6C00 0000...
  • Page 83: Messages

    Configuration and operation 4.9 STEP 7 configuration Partner number (inter-station communication) Specify the partner CP for inter-station communication for the selected data point by selecting the partner number from the drop-down list. The partners you specified in the table of the "Partner stations" > "Partner for inter-station communication"...
  • Page 84 Configuration and operation 4.9 STEP 7 configuration Triggering sending of messages You configure the triggering of the individual messages (e-mail, SMS message) in the "Trigger" tab of the message editor with the parameter "E-mail trigger". One of the following events triggers sending of the message: ●...
  • Page 85 Configuration and operation 4.9 STEP 7 configuration Enable identifier for processing status If this option is enabled in STEP 7, a status is output on the CP that provides information about the processing status of the sent message. The status is written to a PLC tag of the type DWORD.
  • Page 86: Access To The Web Server

    Configuration and operation 4.10 Access to the Web server Status Meaning 8419 The channel was interrupted and cannot be used before the connection is terminated. 8420 Certificate chain from the server could not be verified with the root certificate of the CP. 8421 Internal error occurred.
  • Page 87: Teleservice

    Configuration and operation 4.11 TeleService 4.11 TeleService 4.11.1 Configuration of the TeleService access Configuration for using TeleService To meet the requirements for using the TeleService functions for the CP, you need to make the necessary settings at the following points in STEP 7. "Communication types"...
  • Page 88 Configuration and operation 4.11 TeleService 3. In the "User" tab create a user that will later be allowed to execute the TeleService functions for the CP. Configure the following parameters: – User name Assign the name of the user that will have TeleService rights. You require the user name at the start of a TeleService session.
  • Page 89: Establishment Of A Teleservice Connection

    Configuration and operation 4.11 TeleService ● An asterisk (*) after a phone number body authorizes connection establishment for all nodes connected to the body (extension numbers). Example: +49123456* authorizes +49123456101, +49123456102, +49123456207 etc. Note No wake-up without an authorized phone number If the "Authorized phone numbers"...
  • Page 90 Configuration and operation 4.11 TeleService Note No TeleService connection establishment using "Online" > "Go online" If you attempt to establish a TeleService connection by selecting the CPU and then selecting the menu or shortcut menu command "Online" > "Connect online", STEP 7 will automatically attempt to connect via Ethernet.
  • Page 91 Configuration and operation 4.11 TeleService Information in the "Establish remote connection via telecontrol" dialog. In this dialog, enter the data previously configured in STEP 7 under the following headings: ● Telecontrol server / TeleService gateway... Selection whether the TeleServiceTeleService switching station is located on the PC of the engineering station or in the network or can be reached via the Internet.
  • Page 92 Configuration and operation 4.11 TeleService Terminate TeleService connection On completion of the TeleService session, terminate the TeleService connection again using the "Disconnect" button. The connection is terminated after approximately 5 minutes. User data connections and TeleService Connections between a CP and telecontrol server for transferring user data are not interrupted by a TeleService connection.
  • Page 93: Programming The Program Blocks

    Programming the program blocks Program blocks for OUC Using the program blocks for Open User Communication (OUC) The instructions (program blocks) listed below are required for direct communication between S7 stations via the mobile wireless network. In contrast to other communication types, Open User Communication does not need to be enabled in the configuration of the CP because corresponding program blocks need to be created for this.
  • Page 94 Programming the program blocks 5.1 Program blocks for OUC ● TSEND V4.0 / TRCV V4.0 – Sending and receiving data via TCP or ISOonTCP – Sending and receiving SMS messages ● TMAIL_C V4.0 Sending e-mails To transfer encrypted e-mails with this block, the precise time of day is required on the CP.
  • Page 95: Programming Sms Messages Via Ouc

    Programming the program blocks 5.2 Programming SMS messages via OUC Connection establishment and termination Connections are established using the program block TCON. Note that a separate program block TCON must be called for each connection. A separate connection must be established for each communications partner even if identical blocks of data are being sent.
  • Page 96 Programming the program blocks 5.2 Programming SMS messages via OUC Receiving SMS messages from several partners As an alternative, you can create a separate block set for each partner as described above for 1 partner or a single block set with the following special feature in the TCON_PHONE block: If you enter an asterisk (*) after the phone number body in the "PhoneNumber"...
  • Page 97 Programming the program blocks 5.2 Programming SMS messages via OUC The received data of every SMS message gas the following structure: ● DTL 12 bytes for the time stamp of the received SMS message (time stamp from the network) ● String[22] String of 22 bytes for the phone number of the sender (+ 2 byte string header) ●...
  • Page 98: Tc_Config For Changing Configuration Data Of The Cp

    Programming the program blocks 5.3 TC_CONFIG for changing configuration data of the CP TC_CONFIG for changing configuration data of the CP Meaning With the program block TC_CONFIG , you can modify parameters of a the CP configured in STEP 7. The configured values are not overwritten retentively. The overwritten values remain valid until TC_CONFIG is called again or until the station starts up again (cold restart after cycling power).
  • Page 99 Programming the program blocks 5.3 TC_CONFIG for changing configuration data of the CP Explanation of the formal parameters The following table explains all the formal parameters for the TC_CONFIG instruction Parameter Declaration Data type Possible values Description INPUT BOOL 0, 1 The processing of the block is started and the status codes initialized on a rising edge.
  • Page 100: If_Conf: Sdt For The Configuration Data Of The Cp

    Programming the program blocks 5.4 IF_CONF: SDT for the configuration data of the CP The codes DONE, ERROR and STATUS The following table shows the condition codes formed based on DONE, ERROR and STATUS that must be evaluated by the user program. DONE ERROR STATUS...
  • Page 101 Programming the program blocks 5.4 IF_CONF: SDT for the configuration data of the CP 1. Create a data block of the type "global DB" with block access "Standard". 2. Create a structure (data type "Struct") in the table of the parameter configuration of the You can specify any name.
  • Page 102 Programming the program blocks 5.4 IF_CONF: SDT for the configuration data of the CP "APN settings" In STEP 7, the corresponding data is located in the "Mobile wireless communications settings" parameter area. Table 5- 3 IF_CONF_APN Parameter Data type Initial value Description UINT ID of the parameter field...
  • Page 103 Programming the program blocks 5.4 IF_CONF: SDT for the configuration data of the CP "SMSC" In STEP 7, the corresponding data can be found in the parameter area "Mobile wireless communications settings" > "Services and settings". Table 5- 6 IF_CONF_SMS_Provider Parameter Data type Initial value...
  • Page 104 Entry of the Public Land Mobile Network (PLMN) of the network provider consisting of Mobile Country Code (MCC) and Mobile Network Code (MNC). Example (test network of Siemens AG): 26276 TeleService access (DNS name / IP address of the server) Access data of the TeleService server (switching station).
  • Page 105: Diagnostics And Upkeep

    Diagnostics and upkeep Diagnostics options The following diagnostics options are available: LEDs of the module For information on the LED displays, refer to the section LEDs (Page 24). STEP 7: The "Diagnostics" tab in the Inspector window Here, you can obtain the following information on the selected module: ●...
  • Page 106 Diagnostics and upkeep 6.1 Diagnostics options ● Industrial Remote Communication Here, you obtain specific information on the mobile wireless interface and other parameters of the CP. The entry job has the following subentries: – Partner Information about the address settings of the partner, connection statistics, configuration data of the partner and other diagnostics information.
  • Page 107 Diagnostics and upkeep 6.2 Firmware download ● Date and time of the last dial-in to the mobile wireless network The data is specified in the ISO 8601 format ("Attach: YYYY-MM-DD hh:mm:ss"). If the time-of-day of the CP has not been synchronized at the time of the dial-in, the time of the measurement since the beginning of the default time-of-day of the CP (01.01.2009) is transferred.
  • Page 108: Firmware Download

    New firmware versions of the CP If a new firmware version is available for the module, you will find this on the Internet pages of Siemens Industry Online Support under the following address: 45605894 (http://support.automation.siemens.com/WW/view/en/45605894) There are three different ways of loading a new firmware file on the CP: ●...
  • Page 109 Diagnostics and upkeep 6.2 Firmware download Downloading the firmware via the Web server of the CPU Follow the steps below to connect to the Web server of the CPU from the engineering station and to download the CP's new firmware file to the station. Requirements in the CPU configuration 1.
  • Page 110 Diagnostics and upkeep 6.2 Firmware download 5. Download the certificate to your PC by clicking the "Install certificate ..." button. The certificate is loaded on your PC. You will find information on downloading a certificate in the help of your Web browser and in the STEP 7 information system under the key words "HTTPS"...
  • Page 111: Module Replacement

    Diagnostics and upkeep 6.3 Module replacement Module replacement Module replacement WARNING Read the system manual "S7-1200 Programmable Controller" Prior to installation, connecting up and commissioning, read the relevant sections in the system manual "S7-1200 Programmable Controller" (refer to the documentation in the Appendix).
  • Page 112 Diagnostics and upkeep 6.3 Module replacement CP 1242-7 GPRS V2 Operating Instructions, 10/2016, C79000-G8976-C311-02...
  • Page 113: Technical Specifications

    Technical specifications Technical specifications of the CP Table 7- 1 Technical specifications Technical specifications Product type designation CP 1242-7 GPRS V2 Article number 6GK7 242-7KX31-0XE0 Frequency bands GSM (850/900 MHz) GPRS DCS (1800 MHz) PCS (1900 MHz) Wireless interface Antenna connector Quantity Design SMA socket...
  • Page 114 Technical specifications 7.1 Technical specifications of the CP Technical specifications Current consumption (typical) From 24 VDC (external) 75 mA From the S7-1200 backplane 150 mA Effective power loss (typical) From 24 VDC (external) 1.8 W From the S7-1200 backplane 0.5 W Permitted ambient conditions Ambient temperature During operation with the rack...
  • Page 115: Pin Assignment Of The Socket For The External Power Supply

    Technical specifications 7.2 Pin assignment of the socket for the external power supply Pin assignment of the socket for the external power supply Figure 7-1 Socket for the external 24 VDC power supply (view from above) Table 7- 2 Pin assignment of the socket for the external power supply Labeling Function + 24 VDC...
  • Page 116 Technical specifications 7.2 Pin assignment of the socket for the external power supply CP 1242-7 GPRS V2 Operating Instructions, 10/2016, C79000-G8976-C311-02...
  • Page 117: Dimension Drawings

    Dimension drawings Note All dimensions in the drawings of the CP are in millimeters. Figure A-1 Front view CP 1242-7 GPRS V2 Operating Instructions, 10/2016, C79000-G8976-C311-02...
  • Page 118 Dimension drawings Figure A-2 Side view left Figure A-3 From above CP 1242-7 GPRS V2 Operating Instructions, 10/2016, C79000-G8976-C311-02...
  • Page 119: Approvals

    Directive of the European Parliament and of the Council of 8 June 2011 on the restriction of the use of certain hazardous substances in electrical and electronic equipment The EC Declaration of Conformity is available for all responsible authorities at: Siemens Aktiengesellschaft Process Industries and Drives Process Automation...
  • Page 120 You can see the current versions of the standards in the IECEx certificate that you will find on the Internet at the following address: Link: (https://support.industry.siemens.com/cs/ww/en/ps/15921/cert) You should also note the information in the document "Use of subassemblies/modules in a Zone 2 Hazardous Area"...
  • Page 121 Approvals ● EN 61000-6-2 Electromagnetic compatibility (EMC) - Part 6-2: Generic standards - Immunity for industrial environments R&TTE The CP meets the requirements of the EC directive 1999/5/EC "Radio equipment and telecommunications terminal equipment" according to the requirements of article 3 (1) a, 3 (1) b and 3 (2).
  • Page 122 Approvals ● EN 61000-6-3+A1+AC Electromagnetic compatibility (EMC) - Part 6-3: Generic standards - Emission standard for residential, commercial and light-industrial environments ● EN 61000-6-4+A1 Electromagnetic compatibility (EMC) - Part 6-4: Generic standards - Emission standard for industrial environments ● EN 55022+AC Class A / B Information technology equipment - Radio disturbance characteristics - Limits and methods of measurement ●...
  • Page 123 Approvals RoHS The CP meets the requirements of the EU directive 2011/65/EC on the restriction of the use of certain hazardous substances in electrical and electronic equipment. Applied standard: ● EN 50581 cULus Underwriters Laboratories Inc. meets ● Underwriters Laboratories, Inc.: UL 61010-1 (Safety Requirements for Electrical Equipment for Measurement, Control, and Laboratory Use - Part 1: General Requirements) ●...
  • Page 124 SIMATIC NET products are regularly submitted to the relevant authorities and approval centers for approvals relating to specific markets and applications. If you require a list of the current approvals for individual devices, consult your Siemens contact or check the Internet pages of Siemens Industry Online Support: Link: (https://support.industry.siemens.com/cs/ww/en/ps/15921/cert)
  • Page 125: Accessories

    You will find detailed information in the documentation of the device. You will find this on the Internet on the pages of Siemens Industry Online Support at the following address: Link: (https://support.industry.siemens.com/cs/ww/en/view/23119005) TS Gateway...
  • Page 126 Accessories C.2 TS Gateway What is a TeleService gateway? A TeleService gateway is a PC on which the "TS Gateway" software is installed. A TeleService gateway is not configured in STEP 7. What functions does the TeleService gateway provide? The TeleService gateway has the following functions: ●...
  • Page 127 Accessories C.2 TS Gateway Range of performance of a TS Gateway Number of simultaneous TeleService connections: 1 If the requirements for availability are higher, you can install two TeleService gateways. If the connection cannot be established via one gateway, you can establish the TeleService connection via the second gateway.
  • Page 128 Accessories C.2 TS Gateway CP 1242-7 GPRS V2 Operating Instructions, 10/2016, C79000-G8976-C311-02...
  • Page 129: References

    References Where to find Siemens documentation ● Article numbers You will find the article numbers for the Siemens products of relevance here in the following catalogs: – SIMATIC NET - Industrial Communication / Industrial Identification, catalog IK PI – SIMATIC - Products for Totally Integrated Automation and Micro Automation, catalog...
  • Page 130 References SIMATIC NET CP 1242-7 GPRS V2 Operating Instructions Siemens AG Link: (https://support.industry.siemens.com/cs/ww/en/view/109476700) SIMATIC NET TS Gateway (Version V3) Operating Instructions Siemens AG Link: (https://support.industry.siemens.com/cs/ww/en/view/107535103) SIMATIC NET TeleControl Server Basic (Version V3) Operating Instructions Siemens AG Link: (https://support.industry.siemens.com/cs/ww/en/ps/15918/man) SIMATIC NET...
  • Page 131: Index

    Index Authorized phone number, 17 Image memory, 71 Authorized phone numbers, 44 IMEI, 3 Importing a certificate - e-mail, 60 Inserting/removing a SIM card, 32 Instructions (OUC), 93 Inter-station communication, 10, 18 CDMA, 9 Inter-station communication - configuration, 56 Conditional spontaneous, 73, 74 IP configuration, 11 Connection interrupted, 43 Consistent data area, 14...
  • Page 132 Index S7 connections, 13 Enable, 49 Safety notices, 29 Security, 13 Send buffer, 14, 71 Service & Support, 6 SIMATIC NET glossary, 6 Configuration (telecontrol communication), 83 Number of messages, 15 Programming (OUC), 93 SMTPS, 60 SSL/TLS, 60 STARTTLS, 60 Static values, 70 STEP 7 - version, 15 TCSB, 4...

This manual is also suitable for:

S7-1200 - telecontrolCp 1242-7 gprs v2

Table of Contents