EasyManua.ls Logo

Siemens CP 1243-7 LTE - Page 106

Siemens CP 1243-7 LTE
154 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Program blocks
5.1 Program blocks for OUC
CP 1243-7 LTE
106 Operating Instructions, 04/2017, C79000-G8976-C381-03
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.
For changing configuration data of the CP during runtime:
T_CONFIG V1.0
Program controlled configuration of the CP
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_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_IP_v4
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
Programming recommendation:
Set the parameter "WatchdogTime" from "MAIL_ADDR_PARAM" to a value higher than 3
minutes.
TMail_FQDN
For transferring e-mails addressing the e-mail server using its name (FQDN)

Table of Contents

Related product manuals