Siemens SIMATIC S7 System Manual page 629

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Parameter and type
CC
SUBJECT
TEXT
ATTACHMENT
DONE
BUSY
ERROR
STATUS
ADDR_MAIL_SERVER
WATCH_DOG_TIME
USERNAME
PASSWORD
FROM
SFC_STATUS
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
Data types
IN
String
IN
String
IN
String
IN
Variant
OUT
Bool
OUT
Bool
OUT
Bool
OUT
Word
Static
DWord
Static
Time
Static
String
Static
String
Static
String
Static
Word
106BTeleservice communication (SMTP e-mail)
13.1 TM_Mail transfer e-mail instruction
Description
CC copy to recipient addresses (optional): STRING data
with a maximum length of 240 characters
Subject name of the e-mail: STRING data with a maximum
length 240 characters.
Text message of the e-mail (optional): STRING data with a
maximum length of 240 characters.
If this parameter is an empty string, then the e-mail will be
sent without message text.
Pointer to e-mail attachment data: Byte, word, or double
word data with a maximum length of 65534 bytes.
If no value is assigned, then the e-mail sent without an
attachment.
0 - Job not yet started or still executing.
1 - Job was executed error-free.
0 - No operation in progress
1- Operation in progress
The ERROR bit =1 for one scan, after the last request was
terminated with an error. The error code value at the
STATUS output is valid only during the single scan where
ERROR = TRUE.
Return value or error information of the TM_MAIL
instruction.
IP address input parameter of the mail server: Specify as a
data word in HEX format, for example: IP address =
192.168.0.200.
ADDR_MAIL_SERVER = DW#16#C0A800C8, where:
192 = 16#C0,
168 =16#A8
0 = 16#00 and
200 = 16#C8
The maximum time allowed for TM_MAIL to establish a
server connection. If this time is exceeded, then TM_MAIL
execution ends with an error.
The actual time delay until TM_MAIL ends and the error is
issued may exceed the WATCH_DOG_TIME, because of
the additional time required for the disconnect operation.
At first you should set a time of 2 minutes. This time can be
much smaller for an ISDN phone connection.
Mail account user name: STRING data with a maximum
length 180 characters.
Mail server password: STRING data with a maximum length
180 characters.
Sender address:
STRING with a maximum length of 240 characters
Execution condition code of the called communication
blocks
629

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1200

Table of Contents