Configuring The Telecontrol Instructions; Tc_Con: Establish Connection Via The Gsm Network - Siemens SIMATIC NETS7-1200 Operating Instructions Manual

Telecontrol cp 1242-7
Hide thumbs Also See for SIMATIC NETS7-1200:
Table of Contents

Advertisement

Note the maximum number of parallel connections in the section Performance data
(Page 10).
NOTICE
Connection abort
If an existing connection is aborted by the communications partner or due to disturbances
on the network, the connection must also be terminated by calling "TC_DISCON". Make
sure that you take this into account in your programming.
Sending/receiving SMS messages with several senders/recipients
If you want to send an identical SMS message to several recipients, you need to establish a
connection to each recipient.
If you want to receive SMS messages from different 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 applications if you want to activate a TeleService
partner temporarily by setting an input and this partner is disabled in the default
configuration.
5.4

Configuring the telecontrol instructions

5.4.1

TC_CON: Establish connection via the GSM network

Meaning
The TC_CON instruction allows an S7-1200 with a CP 1242-7 to establish a connection of
the following types:
● ISO-ON-TCP
● UDP
CP 1242-7
Operating Instructions, 09/2011, C79000-G8976-C247-02
Connection partner is a CP 1242-7.
ISO-ON-TCP connections are used only in "GPRS direct" mode.
Any connection partner is possible.
5.4 Configuring the telecontrol instructions
Configuration
47

Advertisement

Table of Contents
loading

Table of Contents