Programming Sms Messages Via Ouc - Siemens S7-1200 TELECONTROL Operating Instructions Manual

Hide thumbs Also See for S7-1200 TELECONTROL:
Table of Contents

Advertisement

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.
After a successful transfer of the data, a connection can be terminated. A connection is also
terminated by calling "TDISCON".
Note
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 TDISCON. Make sure that
you take this into account in your programming.
5.2

Programming SMS messages via OUC

Transferring e-mails / SMS messages via OUC or telecontrol communication
The event-driven sending of e-mails or SMS messages using telecontrol communication is
configured in STEP 7 in the message editor, refer to the section Messages (Page 83). No
program blocks are required for this.
You only require the program blocks and system data types (SDTs) described below to
transfer SMS messages using Open User Communication (OUC).
Programming SMS messages
Sending SMS messages to one partner
To do this, create the following blocks or system data types (alternatives):
● TCON + TDISCON + TSEND + TCON_Phone
● TSEND_C + TCON_Phone
Receiving SMS messages from one partner
To do this, create the following blocks or system data types (alternatives):
● TCON + TDISCON + TRCV + TCON_Phone
● TRCV_C + TCON_Phone
If you do not program a phone number in the "PhoneNumber" parameter of the
TCON_Phone system data type, the CP cannot receive any SMS messages.
CP 1242-7 GPRS V2
Operating Instructions, 10/2016, C79000-G8976-C311-02
Programming the program blocks
5.2 Programming SMS messages via OUC
95

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S7-1200 - telecontrolCp 1242-7 gprs v2

Table of Contents