Siemens S7-1200 TELECONTROL Operating Instructions Manual page 97

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

Advertisement

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)
● String[160]
String of 160 bytes for the message text (+ 2 byte string header)
● Byte
Status of the SMS message
If more than one SMS message is received the status of every SMS is stored in this
status byte:
– 0 = Invalid
When receiving multiple SMS messages, per SMS message the structure requires memory
space of 200 bytes.
Length information at "LEN" and "DATA" for the blocks "TRCV" / "TRCV_C"
When receiving SMS messages via the blocks TRCV or "TRCV_C" if you enter length
information in the "LEN" parameter, this can lead to incorrect information in the data storage
of the received information.
Recommendation: Set LEN = 0 and enter the length information in the "DATA" parameter.
Character set for the SMS text
The CP supports the following ASCII character set (hexadecimal value and character name)
for SMS message texts:
● 0x0A
LF (line feed)
● 0x0D
CR (carriage return)
● 0x20
Space
● 0x21 ... 0x5A
! " # $ % & ' ( ) * + , - . / 0 1 2 3 4 5 6 7 8 9 : ; < = > ? @ A B C D E F G H I J K L M N O P
Q R S T U V W X Y Z
● 0x61 ... 0x7A
a b c d e f g h i j k l m n o p q r s t u v w x y z
CP 1242-7 GPRS V2
Operating Instructions, 10/2016, C79000-G8976-C311-02
1 = Unread
2 = Read
Programming the program blocks
5.2 Programming SMS messages via OUC
97

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S7-1200 - telecontrolCp 1242-7 gprs v2

Table of Contents