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

Hubs & controllers telecontrol/lte
Hide thumbs Also See for S7-1200:
Table of Contents

Advertisement

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 86). 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.
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.
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" parameter of
the TCON_PHONE block, the asterisk acts as a placeholder for all authorized phone
numbers with this phone number body.
You configure the phone numbers authorized for access to the CP in STEP 7 in the
"Security" parameter group of the CP.
Message text to be sent in the "DATA" parameter
You enter the message text as a string in the "DATA" parameter of TSEND or TSEND_C.
A message can contain up to 160 characters. If the message text contains more than 160
characters, the text is distributed over two or more SMS messages.
Reading out the message text from the "DATA" parameter
To receive an SMS message, program the message text to be read out in the TRCV /
TRCV_C in the "DATA" parameter via a data block of the data type "Struct".
CP 1243-7 LTE
Operating Instructions, 01/2015, C79000-G8976-C381-01
Programming the program blocks
5.2 Programming SMS messages via OUC
93

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cp 1243-7

Table of Contents