EasyManuals Logo

Siemens SIMATIC ET 200SP Function Manual

Siemens SIMATIC ET 200SP
362 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
Page #88 background imageLoading...
Page #88 background image
Open User Communication
6.8 Setting up communication via e-mail
Communication
Function Manual, 11/2019, A5E03735815-AH
87
6.8 Setting up communication via e-mail
Setting up a connection for e-mail via the user program
For communication using e-mail, you need to create the data block of the relevant system
data type yourself, assign parameters and call the instruction directly. This procedure is
introduced below.
Procedure for setting up communication using e-mail
A CPU can send e-mails. To send e-mails from the user program of the CPU, use the
TMAIL_C instruction.
Requirement: The SMTP server can be reached via the IPv4 network.
1. Configure an S7-1500 automation system with CPU in the network view of the Devices &
networks editor of STEP 7.
2. Assign parameters to the instruction TMAIL_C, for example enter the subject of the e-mail
in Subject.
3. In a global data block create a variable of the type TMAIL_v4, TMAIL_v6 (only
CP 1543-1) or TMAIL_FQDN (only CP 1543-1).
4. Set the connecting parameters of the TCP connection in the variable in the "Start value"
column. Enter the IPv4 address of the mail server, for example, for the
"MailServerAddress" (for TMAIL_v4)
Note
Connection parameter Interface ID
Note that you can enter t
he value "
0
" for the interface ID with instruction version V5.0 or
higher of the instruction TMAIL_C in the data type TMAIL_V4_SEC. In this case, the CPU
itself searches for a suitable local CPU interface.
Interconnect the variable to the MAIL_ADDR_PARAM parameter of the TMAIL_C
instruction.
5. Download the hardware configuration and user program to the CPU.
Additional information
The STEP 7 online help describes:
The system data types
The instructions for open communication
The connection parameters

Table of Contents

Other manuals for Siemens SIMATIC ET 200SP

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC ET 200SP and is the answer not in the manual?

Siemens SIMATIC ET 200SP Specifications

General IconGeneral
System TypeDistributed I/O System
MountingDIN Rail
Communication ProtocolPROFINET, PROFIBUS
IP RatingIP20
CategoryI/O Systems
Supply Voltage24 V DC
ModularityYes
Hot SwappingYes
Storage Temperature-40°C to +70°C
Digital InputsYes
Digital OutputsYes
Analog InputsYes
Analog OutputsYes
Communication InterfacePROFINET, PROFIBUS
Number of ModulesUp to 64
Relative Humidity5 to 95% (non-condensing)
Operating Temperature-25°C to +60°C

Related product manuals