Technical data
SINAUT TD7 software package for the CPU
2.6 Blocks for optional expansion
Software
System Manual, 07/2009, C79000-G8976-C222-07
317
2.6.10 DB SMS_Data
Function
DB SMS_Data contains all data and SMS texts needed by the SMS typical FB SMS_Control
to send and manage SMS messages. This data block can be conveniently configured by the
user with the SINAUT ST7 configuration tool and filled out with the required data and texts
Using the information contained in DB SMS_Data, the user can read the current status
separately for each SMS message and determine when the most recent message was last
transmitted as an incoming or outgoing message (when a time stamp is being used) and, if
the messages require acknowledgment, when the most recent acknowledgement occurred.
Structure of DB SMS_Data
The DB consists of a body with globally required information and one or more sections called
SMS objects that contain the data required for each SMS message. The data of an SMS
object are defined in UDT125 ShortMessageObject that is contained in the TD7 library.
The global information in the body of the DB includes:
● The SINAUT subscriber number of the main SMS control center (main SMS-C) and
possibly a backup SMS control center.
● The telephone number of the main mobile phone and, if available, the telephone number
of the backup mobile phone.
● The start address of the contiguous bit array (digital inputs, memory bits or data bits). If a
bit in this field changes, the corresponding SMS message is sent.
Structure of an SMS object
The structure of an SMS object is defined in UDT125 ShortMessageObject. A
ShortMessageObject is included in DB SMS_Data for each bit in the defined bit array.
The information stored here includes the following:
● The text of the SMS message to be sent
● When the most recent SMS was sent with an incoming or outgoing message
● The current typical-internal processing status of the SMS message
● The current processing status of the SMS message on the TIM / SMS-C, including the
time stamp of the most recent status message and ID number assigned by the TIM (TIM
ID) that allows the diagnostic buffer entries to be referenced (on the TIM and CPU)
● Various entries required by the typical for organizing processing
Each SMS object consists of a maximum of 82 data word (with a maximum of 122
characters of text). The structure is as follows:










