Siemens S7-1200 TELECONTROL Operating Instructions Manual page 94

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

Advertisement

Programming the program blocks
5.1 Program blocks for OUC
● TSEND V4.0 / TRCV V4.0
– Sending and receiving data via TCP or ISOonTCP
– Sending and receiving SMS messages
● TMAIL_C V4.0
Sending e-mails
To transfer encrypted e-mails with this block, the precise time of day is required on the
CP. Configure the time-of-day synchronization.
The program block can be found in STEP 7 in the "Instructions > Communication > Open
User Communication" window.
Connection descriptions in system data types (SDTs)
For the connection description, the blocks listed above use the parameter CONNECT (or
MAIL_ADDR_PARAM with TMAIL_C). The connection description is stored in a data block
whose structure is specified by the system data type (SDT).
Creating an SDT for the data blocks
Create the SDT required for every connection description as a data block (global DB).
You generate the SDT type by entering the name e.g. "TCON_Param" or "TCON_Phone") in
the "Data type" box manually in the declaration table of block instead of selecting an entry
from the "Data type" drop-down list. The corresponding SDT is then created with its
parameters.
Using the SDT
● TCON_Param
For transferring frames via TCP
● TADDR_Param
For transferring frames via UDP
● TCON_IP_RFC
For transferring frames via ISO-on-TCP (direct communication between two S7-1200
stations)
● TCON_Phone
For transferring SMS messages
● TMail_V4
For transferring e-mails addressing the e-mail server using an IPv4 address
● TMail_V6
For transferring e-mails addressing the e-mail server using an IPv6 address
You will find the description of the SDTs with their parameters in the STEP 7 information
system under the relevant name.
You will find notes on programming SMS messages in the section Programming SMS
messages via OUC (Page 95).
94
Operating Instructions, 10/2016, C79000-G8976-C311-02
CP 1242-7 GPRS V2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S7-1200 - telecontrolCp 1242-7 gprs v2

Table of Contents