background image

Configuration 

 

5.3 Using the telecontrol instructions 

 

CP 1242-7 

46

 

Operating Instructions, 09/2011, C79000-G8976-C247-02 

CP parameter for configuring the telecontrol server 

The following parameters from the configuration of the CP 1242-7 are also required for the 

configuration of the telecontrol server: 

 

Address and port of the telecontrol server 

 

Project number 

 

Station number 

 

Slot of the CP 

 

Telecontrol password 

 

Authorized phone numbers 

 

Connection mode (permanent/temporary) 

The phone number of the SIM card of the CPU and SMS text are not configured in STEP 7 

but in the telecontrol instructions. 

5.3

 

Using the telecontrol instructions 

Configuring the instructions for GPRS communication   

The telecontrol instructions are necessary whenever process data of the station needs to be 

sent to a communications partner. If you only want to use the TeleService function, 

telecontrol instructions are not necessary. 
You will find the description of the individual telecontrol instructions and their corresponding 

system data types (data blocks) below. 
The instructions are configured in STEP 7. After linking the telecontrol library into STEP 7, 

you will find the corresponding data types (TCON_xxx, IF_CONF) in the navigation of the 

relevant controller under "PLC data types". 

Connection establishment with the "TC_CON" instruction 

Connections are established via GPRS using the "TC_CON" instruction. Note that a 

separate "TC_CON" instruction must be called for each connection. 
Once a connection is established, data can then be received with the "TC_RECV" instruction 

and/or sent with the "TC_SEND" instruction. 
A separate connection must be established for each communications partner even if 

identical blocks of data are being sent. 
After a successful transfer of the data, a connection can be terminated. A connection is also 

terminated by calling "TC_DISCON". 

Содержание SIMATIC NET S7-1200

Страница 1: ..._________ ___________________ ___________________ 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...

Страница 2: ... 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 catalo...

Страница 3: ...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 use...

Страница 4: ...ience 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 ...

Страница 5: ...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...

Страница 6: ... 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...

Страница 7: ...ansmission 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 th...

Страница 8: ...ia a master station Telecontrol mode In this configuration connections between S7 1200 stations and the telecontrol server are established in the master station The telecontrol server forwards the messages between the stations Direct communication between stations GPRS direkt mode The CP requires a fixed IP address to be assigned by the GSM network provider TeleService via GPRS A TeleService conne...

Страница 9: ...ace of the telecontrol server An engineering station for TeleService Up to 5 000 GPRS stations with a CP 1242 7 logged on with the telecontrol server You will find detailed information about the TELECONTROL SERVER BASIC application in the documentation see References in the Appendix GPRS direct This mode of the CP is used for direct communication between remote stations via the GSM network No tele...

Страница 10: ...ilability thanks to the option of connecting to a substitute telecontrol server Optimized data volume temporary connection As an alternative to a permanent connection to the telecontrol server the CP can be configured in STEP 7 with a temporary connection to the telecontrol server In this case a connection to the telecontrol server is established only when required Logging of a variety of data and...

Страница 11: ...oductive connections depends on the type of connection establishment With active connection establishment A total of maximum 4 connections Max 4 ISO ON TCP connections or Max 4 UDP connections send only or A combination of the connection types listed above With passive connection establishment Max 3 ISO ON TCP connections Note Port 30000 for ISO ON TCP For ISO ON TCP the CP does not use port numbe...

Страница 12: ...ersion V11 0 SP1 or higher For STEP 7 V11 0 SP1 you also require support package CP 1242 7 HSP0003001 To configure the module with STEP 7 version V11 0 you also require the support package HSP0003001 Install HSP0003001 in STEP 7 using the menu command Options Support packages You can install the support package from your local file system if it is already stored there or from the Internet pages of...

Страница 13: ...anual describing it are on the DVD that ships with the CP For the documentation see References Requirements for using GSM services A contract with a suitable GSM network provider The contract must allow the transfer of data using GPRS The contract must allow the assignment of public IP addresses If there is to be direct communication between GPRS stations GPRS direct mode the GSM network provider ...

Страница 14: ...ation examples Below you will find configuration examples for stations with a CP 1242 7 Sending messages by SMS 6WDWLRQ 6 ಣ ZLWK 3 ಣ 0RELOH SKRQH RU 6 ಣ VWDWLRQ 356 Figure 1 1 Sending messages by SMS from an S7 1200 station A SIMATIC S7 1200 with a CP 1242 7 can send messages by SMS to a mobile phone or a configured S7 1200 station ...

Страница 15: ...ion between station and control center In this use case data from the field is sent by the stations to the telecontrol server in the master station via the GSM network and Internet The telecontrol server is used to monitor remote stations Communication between a station and a control room with OPC client As in the first case the stations communicate with the telecontrol server Using its integrated...

Страница 16: ...G 3 DGGUHVV 6WDWLRQ 6 ಣ ZLWK 3 ಣ 6 ಣ ZLWK 3 ಣ 6WDWLRQ 1HWZRUN SURYLGHU DVVLJQV IL HG 3 DGGUHVVHV 356 Figure 1 3 Direct communication between two S7 1200 stations In this configuration two SIMATIC S7 1200 stations communicate directly with each other using the CP 1242 7 via the GSM network Each CP 1242 7 has a fixed IP address The relevant service of the GSM network provider must allow this ...

Страница 17: ... or if there is no telecontrol server in the configuration a TeleService gateway Configuration 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 GSM network The engineering station and telecontrol ser...

Страница 18: ...ection runs via the TeleService gateway The connection between the engineering station and the TeleService gateway can be local via a LAN or via the Internet 6WDWLRQ 6 ಣ ZLWK 3 ಣ QJLQHHULQJ 6WDWLRQ ZLWK 67 3 6 URXWHU QWHUQHW 7HOH6HUYLFH JDWHZD QJLQHHULQJ 6WDWLRQ ZLWK 67 3 356 QGXVWULDO WKHUQHW Figure 1 5 TeleService via GPRS in a configuration with TeleService gateway ...

Страница 19: ...dule 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 Opening the housing Open the upper or lower cover of the housing by pulling it down or up as shown in the illustration The covers extend beyond the housing to give you a grip Figure 2...

Страница 20: ...ble 2 1 LED on the front panel LED colors Name Meaning red green DIAG Basic status of the module Table 2 2 LEDs below the upper cover of the housing LED colors Name Meaning red green Network Status of the network connection green Connect Number of connections to the telecontrol server yellow green Signal quality Signal quality of the GSM network green TeleService Status of the TeleService connecti...

Страница 21: ... basic statuses of the module DIAG red green Network red green Connect green Signal quality yellow green TeleService green Meaning Power OFF green RUN without errors Telecontrol or TeleService is running green Startup STOP RUN and other statuses refer to the next table red Error Table 2 5 Display schemes for detailed module statuses DIAG red green Network red green Connect green Signal quality yel...

Страница 22: ...m yellow Medium strength GSM network 89 75 dBm yellow Weak GSM network 109 91 dBm No GSM network 111 dBm Currently no TeleService session green green TeleService session running 1 green Attempted login to TeleService session 1 When a TeleServiceconnection is being established the LED is lit for at least 10 minutes 2 3 Electrical connections Power supply The 3 pin socket for the external 24 V DC po...

Страница 23: ...a antenna is required for GPRS communication in the GSM network This is connected via the SMA socket of the CP The SMA socket is located behind the lower front cover of the CP You will find a suitable antenna for indoor and outdoor use in the section Accessories Page 85 More detailed information on the electrical connections For technical information on the electrical connections refer to the sect...

Страница 24: ...Displays and connectors 2 3 Electrical connections CP 1242 7 24 Operating Instructions 09 2011 C79000 G8976 C247 02 ...

Страница 25: ...V to 240 V devices 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 The power supply unit for the equipment power supply must comply with NEC Class 2 as described by the National Electrical Code r ANSI NFPA 70 There is an additional requirement if devices are operated with a redundant power supply If the equipment is con...

Страница 26: ...the cabinet enclosure To comply with EU Directive 94 9 ATEX95 this enclosure must meet the requirements of at least IP54 in compliance with EN 60529 WARNING Suitable cables for temperatures in excess of 70 C 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 device is operated at ambient temperatures 50 C the ...

Страница 27: ...on module is necessary A suitable device is for example the Dehn Blitzductor BVT AD 24V type no 918 402 or comparable protective element Manufacturer DEHN SÖHNE GmbH Co KG Hans Dehn Str 1 PO box 1640 D 92306 Neumarkt 3 3 Installing and commissioning the CP Prior to installation and commissioning WARNING Read the system manual S7 1200 Programmable Controller Prior to installation connecting up and ...

Страница 28: ...card in the CP Step Execution Notes and explanations 1 Release the slide for the SIM card on the bottom of the CP by gently pressing the release pin 2 Remove the slide from the housing 3 Insert the SIM card in the slide as illustrated 4 Push the slide back into the housing where it locks gently in place NOTICE Inserting and removing the SIM card Do not insert or remove the SIM card while the CP is...

Страница 29: ...nalog I Os RTD 8 I Os 70 mm 35 mm CM 1241 RS 232 and CM 1241 RS 485 30 mm 15 mm CM 1243 5 PROFIBUS master CM 1242 5 PROFIBUS slave 30 mm 15 mm Communications interfaces CP 1242 7 GPRS CP 30 mm 15 mm Width B The distance between the edge of the housing and the center of the hole in the DIN rail mounting clip DIN rail mounting clips All CPUs SMs CMs and CPs can be installed on the DIN rail in the ca...

Страница 30: ...ing Remember that the permitted temperature ranges depend on the position of the installed device Device position permitted temperature range Installation location Horizontal installation of the rack 0 C to 55 C Vertical installation of the rack 0 C to 45 C NOTICE Connection with power off Only wire up the S7 1200 with the power turned off Power supply from the power outputs of the CPU The power s...

Страница 31: ...ent of the socket for the external power supply Page 32 Connect the antenna to the SMA socket of the CP Lower surface of the CP 5 Notice Protect the antenna connector using suitable overvoltage protection equipment if the antenna cable is longer than 30 m Protect the antenna connector with suitable lightning protection if you install the antenna outdoors 6 Turn on the power supply 7 Close the fron...

Страница 32: ...tructions 09 2011 C79000 G8976 C247 02 3 4 Pin assignment of the socket for the external power supply 0 1 66 9 Figure 3 2 Socket for the external 24 VDC power supply view from above Table 3 3 Pin assignment of the socket for the external power supply Pin Labeling Function 1 L 24 VDC 2 M Ground reference for 24 VDC 3 Ground connector ...

Страница 33: ...existing connections can be interrupted by GSM network providers for maintenance purposes Connection modes GPRS direct mode There are no different connection modes in the GPRS direct mode Telecontrol mode The CP can be configured for the following connection modes Permanent connection mode There is a permanent TCP connection to the telecontrol server Following connection establishment there is a p...

Страница 34: ...porary stations connection establishment can be triggered by the following events Event on the local CPU that needs to be evaluated by the program In terms of the program two situations need to be distinguished Events that lead to a single connection establishment for example alarms or commands from the operator Expiry of an interval that leads to cyclic connection establishment for example once d...

Страница 35: ...ed in the program by calling the telecontrol instructions Request for TeleService by an engineering station The request switched by TeleService gateway does not need to be evaluated in the program 4 2 The wake up SMS Right to wake up by authorized phone numbers The CP only accepts an SMS if the sending communication partner is authorized based on its phone number These numbers are in configured fo...

Страница 36: ...all the station always connects to the main telecontrol server For TeleService connections Text for the wake up SMS message for establishing a connection to the first configured TeleService server TELESERVICE or TELESERVICE 1 Text for the wake up SMS message for establishing a connection to the second configured TeleService server TELESERVICE 2 For TeleService no extra wake up SMS needs to be sent...

Страница 37: ...he configuration data Since the system parameters of the main and substitute system can be configured in the CMT following copying no editing of the system parameters of the substitute system is necessary Log files Since the main and substitute system have different dynamic characteristics relating to their runtime response the log files have different contents in the database When you copy the da...

Страница 38: ...the substitute server in this example therefore after the following time Three times 20 s redial delay three times the connection monitoring time configured for the CP time until arrival of the TCP acknowledgment from the communications partner NOTICE Depending on your contract costs may result from each connection establishment attempt 4 5 Data management and cyclic data exchange Data storage in ...

Страница 39: ...es the new data to the image Only after the telecontrol server sends a request to the CP does the CP send all the data of the image to the telecontrol server In this case the following initial value must be assigned as the address in the memory area of the CP in the TCON_WDC data block for the RemoteWdcAddress parameter access ID W 16 FEEDDADA In this case if the CP is queried by the telecontrol s...

Страница 40: ...tablish remote connection dialog box opens 6 Make the necessary entries in this dialog You will find information on the necessary entries in the tooltips of the STEP 7 online help 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 STE...

Страница 41: ...refer to the section LEDs Page 20 STEP 7 The Diagnostics tab in the Inspector window Here you can obtain the following information on the selected module Entries in the diagnostics buffer of the CPU Information on the online status of the module STEP 7 Diagnostics functions in the Online Online and diagnostics menu Here you can obtain static information on the selected module General information o...

Страница 42: ...evice this allows simple replacement of this communications module without needing to load the project data to the station again When the station starts up again the new CP reads the project data from the CPU If you replace a module remember to take the SIM card from the old module and insert it in the new CP WARNING Read the system manual S7 1200 Programmable Controller Prior to installation conn...

Страница 43: ...ps below when configuring 1 Create a STEP 7 project 2 Insert the required SIMATIC stations 3 Insert the CPs in the relevant stations 4 Configure the inserted CPs No Ethernet network needs to be created for the GPRS communication of the CP 1242 7 A telecontrol server or a TeleService gateway cannot be configured in STEP 7 5 Save the project You will find more detailed information on configuring the...

Страница 44: ...the CP only once so that the SIM card is not locked If you change the PIN of the SIM card externally to the incorrectly configured PIN new PIN of the SIM card incorrectly entered PIN in STEP 7 the CP rejects this PIN again without checking it Solution after entering an incorrect PIN To avoid the PIN being rejected by the CP again use a PIN that is different from the incorrectly entered PIN Procedu...

Страница 45: ...resolved by DNS If you do not specify an address the DNS server address is obtained automatically from the network provider recommended procedure If you want to use a different DNS server enter its address Information for TeleService TeleService user name To authenticate the user with the CP Configuration of the CP in STEP 7 You can configure up to 10 TeleService users Entry at the engineering sta...

Страница 46: ...If you only want to use the TeleService function telecontrol instructions are not necessary You will find the description of the individual telecontrol instructions and their corresponding system data types data blocks below The instructions are configured in STEP 7 After linking the telecontrol library into STEP 7 you will find the corresponding data types TCON_xxx IF_CONF in the navigation of th...

Страница 47: ...senders you can omit entering a phone number in the PHONE_NUMBER parameter of the required data block TCON_phone When receiving messages this is then interpreted as a placeholder for all authorized connection partners Application example for the TC_CONFIG instruction With the TC_CONFIG instruction you cannot permanently overwrite the configuration data of the CP 1242 7 This can have practical appl...

Страница 48: ... DB with the structure of a system data type SDT for the connection description The required connection type is defined using a connection specific SDT TCON_ see below For each of the connection types listed above one of the following SDTs must be assigned TCON_ip_rfc TCON_IP_V4 TCON_phone TCON_WDC The ActiveEstablished parameter of these SDTs also specifies whether or not connection establishment...

Страница 49: ...t Reference to a data block for connection establishment The SDTs of the type TCON_ip_rfc TCON_IP_V4 TCON_phone or TCON_WDC specify the structure of the data block suitable for the relevant connection In the SDTs note the parameter ActiveEstablished active passive connection establishment ENO OUTPUT BOOL 0 Error 1 Error free Enable output If there is a runtime error with the instruction ENO 0 is s...

Страница 50: ... 0 0 7000H No job processing active first instruction call 0 0 7001H Job processing started first instruction call 0 0 7002H Job processing already active renewed instruction call when BUSY 1 0 1 8086H Illegal value for ID 0 1 8087H Maximum number of connections reached no further connection possible 0 1 80E3H The ID is already being used by another connection 0 1 80E6H No query in progress instru...

Страница 51: ...etailed information on the connection types in the description of the TC_CON instruction TC_DISCON terminates the connection to the telecontrol server only logically If you want the connection to the telecontrol server to be terminated physically configure the connection as a Temporary connection in the telecontrol server parameter group in STEP 7 At the TCP IP level the connection is retained Tem...

Страница 52: ...s set BUSY OUTPUT BOOL 0 Execution of the instruction not started completed or aborted 1 The instruction is executing Display of the processing status of the instruction DONE OUTPUT BOOL 0 1 The instruction executed successfully This parameter indicates whether or not the job was completed without errors For the meaning in conjunction with the parameters ERROR and STATUS refer to Codes of the inst...

Страница 53: ...eter in the called data block wrong length wrong format or invalid value Check the configuration of the TC_CON SDT 5 4 3 TC_SEND Send data via the GSM network Meaning The TC_SEND instruction allows the sending of data via programmed connections of the following types ISO ON TCP connections UDP connections SMS connections Sending of SMS messages is supported only if permitted by the configuration T...

Страница 54: ...re is a positive edge ID INPUT CONN_OUC 1 07FFh Reference to the relevant connection InterfaceID INPUT HW_ANY Reference to the interface of the local CP 1242 7 see STEP 7 CP configuration Telecontrol interface Hardware identifier LEN INPUT UINT 1 2048 Number of bytes of data to be sent maximum 2048 DATA INOUT VARIANT Address reference to the send data area of the CPU ENO OUTPUT BOOL 0 Error 1 Erro...

Страница 55: ...llowing table shows the condition codes formed based on DONE ERROR and STATUS that must be evaluated by the user program DONE ERROR STATUS Meaning 1 0 0000H Job executed without errors 0 0 7000H No job processing active first instruction call 0 0 7001H Job processing started first instruction call 0 0 7002H Job processing already active renewed instruction call when BUSY 1 0 1 8086H Illegal value ...

Страница 56: ...nt cannot be generated Check the connection partner 0 1 80F5H Invalid connection endpoint Connection establishment by TC_CON failed or Connection terminated by remote partner First call TC_DISCON 0 1 80F6H Format error of a parameter in the called data block wrong length wrong format or invalid value Check the configuration of the TC_CON SDT 5 4 4 TC_RECV Receive data via the GSM network Meaning T...

Страница 57: ...on description of TC_RECV must differ from a DB used for TC_SEND Call interface in FBD representation 7 B5 9 211B28 22 8 17 B 17 5 86 1 17 5 1B5 7 5525 1 5 5 9 B 1 22 22 22 8 17 9 5 17 25 67 786 Explanation of the formal parameters The following table explains all the formal parameters for the TC_RECV instruction Parameter Declaration Data type Possible values Description EN_R INPUT BOOL 0 Data re...

Страница 58: ...he instruction STATUS OUTPUT WORD Status code For the meaning in conjunction with the parameters DONE and ERROR refer to Codes of the instruction The codes BUSY DONE and ERROR The codes of DONE and ERROR are relevant only when BUSY 0 BUSY DONE ERROR Meaning 0 0 0 No job being executed You will find all other code combinations of DONE and ERROR in the following table The codes DONE ERROR and STATUS...

Страница 59: ... starts up again If the STEP 7 configuration data needs to be changed permanently the instruction needs to be called again each time the station restarts The CONFIG parameter points to the memory area with the configuration data The configuration data is stored in a data block DB The structure of the DB is specified by the system data type SDT IF_CONF The configuration data to be modified on the C...

Страница 60: ...utput If there is a runtime error with the instruction ENO 0 is set BUSY OUTPUT BOOL 0 Execution of the instruction not started completed or aborted 1 The instruction is executing Display of the processing status of the instruction DONE OUTPUT BOOL 0 1 The instruction executed successfully This parameter indicates whether or not the job was completed without errors For the meaning in conjunction w...

Страница 61: ...ong ID in the parameter fields of the configuration data Check the IF_CONF SDT 5 4 6 Other error messages Other error messages The following error messages are used for diagnostics purposes You can obtain more information from the Siemens hotline DONE ERROR STATUS Meaning 0 1 80E0H Internal error 5 4 7 TCON_ SDTs for the telecontrol connection establishment Parameter assignment of the system data ...

Страница 62: ... configured for the GPRS direct mode Table 5 1 Parameters of TCON_ip_rfc Byte Parameter Data type Initial value Description 0 1 InterfaceID HW_ANY Reference to the interface of the local CP 1242 7 see STEP 7 CP configuration Telecontrol interface Hardware identifier 2 3 ID CONN_OUC 1 07FFh Reference to the GPRS connection The ID is assigned and must be unique within the CPU Here the same value as ...

Страница 63: ...n partner passive connection establishment on the remote partner When ActiveEstablished 0 correspondingly passive connection establishment local active connection establishment remote System data type TCON_IP_V4 for connections to IPv4 stations This connection type is supported only for sending on UDP connections to communications partners with a fixed IP address To receive ActiveEstablished 0 mus...

Страница 64: ...ter TCON_phone Byte Parameter Data type Initial value Description 0 1 InterfaceID HW_ANY Reference to the interface of the local CP 1242 7 see STEP 7 CP configuration Telecontrol interface Hardware identifier 2 3 ID CONN_OUC 1 07FFh Reference to the GPRS connection The ID is assigned and must be unique within the CPU Here the same value as that of the ID parameter of the TC_CON instruction must be...

Страница 65: ...onfiguration Telecontrol interface Hardware identifier 2 3 ID CONN_OUC 1 07FFh Reference to the GPRS connection The ID is assigned and must be unique within the CPU Here the same value as that of the ID parameter of the TC_CON instruction must be used 4 ConnectionType BYTE W 16 0F Protocol variant 15 Fh Telecontrol connection using an IP address 5 ActiveEstablished BOOL Identifier for the type of ...

Страница 66: ... configured in the STEP 7 project Follow the steps below to create the IF_CONF 1 Create a data block of the type IF_CONF 2 Insert the header with the three general parameters see below 3 Add the required fields for the parameters to be changed see below 4 Check the length of the variable fields and if necessary correct the Length parameter Fields with strings and or arrays have a variable length 5...

Страница 67: ...int of the GSM network provider to the Internet AccesspointUser STRING 42 APN user name AccesspointPassword STRING 22 APN password Field for the parameter area CP identification Table 5 7 IF_CONF_Login Parameter Data type Initial value Description Id UINT 5 ID of the parameter field Length UINT Length of the parameter field in bytes 54 Mode UINT Validity 1 permanent 2 temporary ModemName STRING 22...

Страница 68: ...d by its DNS name the IF_CONF_TCS_Name field is used In STEP 7 the corresponding data is located in the Mode parameter area If there is more than one telecontrol server use the field once per server Table 5 9 IF_CONF_TCS_IP_V4 Parameter Data type Initial value Description Id UINT 7 ID of the parameter field Length UINT Length of the parameter field in bytes 14 Mode UINT Validity 1 permanent 2 temp...

Страница 69: ... data is located in the parameter area Modem settings Table 5 11 IF_CONF_SMS_Provider Parameter Data type Initial value Description Id UINT 10 ID of the parameter field Length UINT Length of the parameter field in bytes 28 Mode UINT Validity 1 permanent 2 temporary SMSProvider STRING 20 Node number of the SMS center SMSC of the GSM network provider with which the contract was signed for this stati...

Страница 70: ...ful connection establishment After every 3 attempts the basic value is doubled up to a maximum of 900 s Range of values 10 to 600 s If a substitute telecontrol server is configured the CP attempts to connect to it at the 4th dialin attempt Example Basic value 20 results in the following dialing intervals three times 20 s three times 40 s three times 80 s etc up to a maximum of 900 s Not relevant f...

Страница 71: ...6276 Field for the DNS configuration parameter area Table 5 16 IF_CONF_DNS Parameter Data type Initial value Description Id UINT 16 ID of the parameter field Length UINT Length of the parameter field in bytes 14 Mode UINT Validity 1 permanent 2 temporary DNS_IP 1 IP_V4 IP address of the 1st domain name system server DNS_IP 2 IP_V4 IP address of the 2nd domain name system server Field for the Time ...

Страница 72: ...vice user Parameter Data type Initial value Description UserName n STRING 22 TeleService user name Password n STRING 22 The string must be empty Diag_Allowed n BOOL Reserved cannot be set Teleserv_Allowed n BOOL Activation of the TeleService user 0 user is deactivated 1 user is activated FW_Load_Allowed n BOOL Reserved cannot be set Field for setting the parameters for TeleService access DNS name ...

Страница 73: ...located in the parameter area TeleService settings If there is more than one TeleService server use the field once per server Table 5 21 IF_CONF_TS_IF_V4 Parameter Data type Initial value Description Id UINT 21 ID of the parameter field Length UINT Length of the parameter field in bytes 14 Mode UINT Validity 1 permanent 2 temporary RemoteAddress IP_V4 IP address of the TeleService server RemotePor...

Страница 74: ...Configuration 5 4 Configuring the telecontrol instructions CP 1242 7 74 Operating Instructions 09 2011 C79000 G8976 C247 02 ...

Страница 75: ...class 10 device class B coding scheme 1 to 4 GMSK SMS Mode outgoing MO service point to point Permitted ambient conditions Ambient temperature During storage During transportation During operation with the rack installed horizontally During operation with the rack installed vertically 40 C to 70 C 40 C to 70 C 0 C to 55 C 0 C to 45 C Relative humidity at 25 C during operation without condensation ...

Страница 76: ...ss section Max cable cross section Tightening torque of the screw terminals min 0 14 mm2 AWG 25 max 1 5 mm2 AWG 15 0 45 Nm 4 lb in Electrical isolation Power supply unit to internal circuit 710 VDC for 1 minute Dimensions and weights Width Height Depth 30 mm 100 mm 75 mm Weight Net weight Weight including packaging 133 g 170 g You will find additional functions and performance data in the section ...

Страница 77: ...CP 1242 7 Operating Instructions 09 2011 C79000 G8976 C247 02 77 Dimension drawings A Note All dimensions in the drawings are in millimeters Figure A 1 CP 1242 7 front view ...

Страница 78: ...Dimension drawings CP 1242 7 78 Operating Instructions 09 2011 C79000 G8976 C247 02 Figure A 2 CP 1242 7 side view left Figure A 3 CP 1242 7 view from above ...

Страница 79: ...C RoHS EC Directive 1999 5 EC R TTE C TICK Electromagnetic compatibility EMC according to the following standards EN 61000 4 2 EN 61000 4 3 EN 61000 4 4 EN 61000 4 5 EN 61000 4 6 EN 61000 4 11 EN 61000 6 4 Use in industrial environments according to EN 61000 6 4 2007 and EN 61000 6 2 2005 Approvals issued NOTICE Issued approvals on the type plate of the device The specified approvals apply only wh...

Страница 80: ...EU directive 94 9 EC Equipment and protective systems intended for use in potentially explosive atmospheres ATEX Explosion Protection Directive EN 60079 15 2005 Type of protection n Directive 1999 5 EC of the European Parliament and of the Council of 9 March 1999 on radio equipment and telecommunications terminal equipment and the mutual recognition of their conformity R TTE The EC Declaration of ...

Страница 81: ... 60079 15 2005 Electrical apparatus for explosive gas atmospheres Type of protection n II 3 G Ex nA II T4 Over and above this the following conditions must be met for the safe deployment of the CP Install the modules in a suitable enclosure with degree of protection of at least IP54 to EN 60529 and take into account the environmental conditions for operation of the devices If the rated temperature...

Страница 82: ... m 80 AM at 1 kHz EN 61000 4 4 Fast transient bursts 2 kV 5 kHz with coupling network to AC and DC system power 2 kV 5 kHz with coupling clamp to inputs outputs EN 61000 4 5 Surge immunity power supply DC systems 2 kV common mode 1 kV push pull For DC systems DC power supplies external protection is necessary EN 61000 4 6 Conducted disturbances 150 kHz to 80 MHz 10 V RMS 80 AM at 1 kHz EN 61000 4 ...

Страница 83: ... from 5 to 8 51 Hz 10 m s2 from 8 51 to 150 Hz 1 octave minute High voltage isolation test Circuit with 24 V 5 V rated voltage 520 VDC type test of optical electrical isolation limits Protection class Protection class III according to EN 60950 1 protective conductor not required Degree of protection Mechanical protection to EN 60529 IP20 Protects against finger contact with high voltage as tested ...

Страница 84: ...Approvals CP 1242 7 84 Operating Instructions 09 2011 C79000 G8976 C247 02 ...

Страница 85: ...MR Short name Order no Explanation ANT794 4MR 6NH9 860 1AA00 Quadband antenna 900 1800 1900 MHz UMTS weatherproof for indoor and outdoor areas 5 m connecting cable connected permanently to the antenna SMA connector including installation bracket screws wall plugs You will find detailed information in the device manual You will find this on the Internet on the pages of Siemens Industrial Automation...

Страница 86: ...Support under the following entry ID 48729835 http support automation siemens com WW view en 48729835 Technical specifications of the ANT794 4MR GSM GPRS antenna ANT794 4MR Order number 6NH9860 1AA00 Mobile wireless networks GSM GPRS Frequency ranges 824 to 960 MHz GSM 850 900 1 710 to 1 880 MHz GSM 1 800 1 900 to 2 200 MHz GSM UMTS Characteristics Omnidirectional Antenna gain 0 dB Impedance 50 oh...

Страница 87: ...1 1 5 1 Return loss Tx 10 dB 14 dB Antenna gain 0 dB Impedance 50 ohms Max power 10 W Antenna cable HF cable RG 174 fixed with SMA male connector Cable length 1 2 m Degree of protection IP64 Permitted temperature range 40 C to 75 C Flammability UL 94 V2 External material ABS Polylac PA 765 light gray RAL 7035 Dimensions W x L x H in mm 70 5 x 146 5 x 20 5 Weight 130 g C 2 TS Gateway Use of TS Gate...

Страница 88: ...gateway providers are configured that are necessary for the sending of wake up SMS messages to the remote S7 stations Configuration with TeleService gateway A TeleService gateway is intended for the following telecontrol systems in which TeleService is used with GPRS Configurations without a telecontrol server In configurations without a telecontrol server a TeleService gateway is required for Tel...

Страница 89: ...et for TeleService via a TeleService gateway Engineering station connected to a LAN or with Internet access The engineering Station on which TeleService will be operated via GPRS requires STEP 7 version V11 0 SP1 or higher For STEP 7 V11 0 SP1 support package CP 1242 7 HSP0003001 is also required TeleService is started in the STEP 7 project that contains the remote station with the CP 1242 7 SIMAT...

Страница 90: ...Accessories C 2 TS Gateway CP 1242 7 90 Operating Instructions 09 2011 C79000 G8976 C247 02 ...

Страница 91: ...port automation siemens com WW view en Enter the entry ID of the relevant manual as the search item The ID is listed below some of the reference entries in brackets As an alternative you will find the SIMATIC NET documentation on the pages of Product Support 10805878 http support automation siemens com WW view en 10805878 Go to the required product group and make the following settings Entry list ...

Страница 92: ...2 2 SIMATIC NET TELECONTROL SERVER BASIC Operating Instructions Siemens AG Entry ID 42674775 http support automation siemens com WW view en 42674775 D 3 3 SIMATIC NET TS Gateway Operating Instructions Siemens AG Entry ID 48548898 http support automation siemens com WW view en 48548898 ...

Страница 93: ... news newsletter Product information Product Support Applications Tools Technical Forum Access to other features of our Service Support offer Technical Consulting Engineering Support Field Service Phone 49 0 911 895 7444 Spare parts and repairs Phone 49 0 911 895 7448 Optimization and modernization Technical Support Expert advice on technical questions with a wide range of demand optimized service...

Страница 94: ...ion and drive technology Advanced training tailored to your needs is also available In addition to our classic range of courses we also offer a combination of various training media and sequences You can for example use self study programs on CD ROM or on the Internet as preparation or to consolidate training You will find detailed information on our training curriculum and how to contact our cust...

Страница 95: ...cessor CP CP Communications processor Module for expanded communications tasks that provides the CPU with additional interface types or communications options GPRS General Packet Radio Service Packet oriented service for IP based data transmission in GSM networks GPRS data packets can also be transferred via the Internet The data is transmitted using the Internet protocols TCP IP or UDP IP GPRS di...

Страница 96: ...nication can be handled via public networks such as GSM networks or via the Internet without requiring addressing of the remote S7 stations using fixed IP addresses Telecontrol mode Mode of the CP 1242 7 for GPRS communication between a remote S7 station and the following partners Communication with a Telecontrol server Communication with other remote GPRS stations In communication with other remo...

Страница 97: ...sions 29 DNS server 45 E Electromagnetic compatibility EMC 82 EMC 82 Environmental conditions 82 Establishing TeleService connection 40 F Firmware version 3 G GPRS direct mode 9 H Hardware identifier 49 52 54 57 62 63 64 65 Hardware product version 3 Hazardous area 25 I Image 38 Inserting removing a SIM card 28 Instructions 46 L Load to device 40 Log files 37 M Main gateway 89 N NTP 10 O OPC 15 Op...

Страница 98: ...STEP 7 version 12 13 Substitute gateway 89 Support package HSP 12 13 89 T TC_CONFIG Application example 47 TCON_WDC 39 Telecontrol 15 Telecontrol mode 9 Telecontrol connection 11 Telecontrol server 9 TELECONTROL SERVER BASIC 9 TeleService 43 TeleService gateway documentation 13 TeleService via GPRS 8 17 Temporary 33 Temporary connection 10 33 Temporary station 33 Time synchronization 10 TS Gateway...

Отзывы: