Siemens S7-1200 System Manual page 780

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

Advertisement

Teleservice communication (SMTP email)
13.1 TM_Mail (Send email) instruction
Table 13- 4
Condition codes
STATUS
SFC_STATUS
(W#16#...):
(W#16#...):
0000
-
7001
-
7002
7002
8xxx
xxxx
8010
xxxx
8011
xxxx
8012
xxxx
8013
xxxx
8014
-
8015
-
82xx, 84xx,
-
85xx
8450
-
8451
-
8500
-
8501
-
8502
-
8535
-
8550
-
8552
-
8554
-
780
Description
The TM_MAIL operation completed without error. This zero STATUS code does
not guarantee that an email was actually sent (See the first item in the note
following this table).
TM_MAIL is active (BUSY = 1).
TM_MAIL is active (BUSY = 1).
The TM_MAIL operation was completed with an error in the internal
communication instruction calls. For more information about the SFC_STATUS
parameter, see the descriptions of the STATUS parameter of the underlying
PROFINET open user communication instructions.
Failed to connect: For more information about the SFC_STATUS parameter, see
the STATUS parameter of the TCON instruction.
Error sending data: For more information about SFC_STATUS parameter, see
the STATUS parameter of the TSEND instruction.
Error while receiving data: For more information about the SFC_STATUS
parameter, see the STATUS parameter descriptions of the TRCV instruction.
Failed to connect: For more information for evaluating the SFC_STATUS
parameter, see the STATUS parameter descriptions of the TCON and TDISCON
instructions.
Failed to connect: You may have entered an incorrect mail server IP address
(ADDR_MAIL_SERVER) or too little time (WATCH_DOG_TIME) for the
connection. It is also possible that the CPU has no connection to the network or
the CPU configuration is incorrect.
Invalid pointer for ATTACHMENT parameter: Use a variant pointer with a data
type and length assignment. For example, "P#DB.DBX0.0" is incorrect and
"P#DB.DBX0.0 byte 256" is correct.
The error message comes from the mail server and corresponds to error number
"8" of the SMTP protocol. See the second item in the note following this table.
Operation does not run: Mailbox is not available; try again later.
Operation aborted: Local error in processing, .try again later
Command syntax error: The cause may be that the email server does not
support the LOGIN authentication process. Check the parameters of TM_MAIL.
Try to send an email without authentication. Try replacing the parameter
USERNAME with an empty string.
Syntax error: Incorrect parameter or argument; you may have typed an incorrect
address in the TO_S or CC parameters.
Command is unknown or not implemented: Check your entries, especially the
parameter FROM. Perhaps this is incomplete and you have omitted the "@" or
"." characters.
SMTP authentication is incomplete. You may have entered an incorrect
username or password.
The mail server cannot be reached, or you have no access rights. You may have
entered an incorrect username or password or your mail server does not support
log in access. Another cause of this error could be an erroneous entry of the
domain name after the "@" character in the TO_S or CC parameters.
Operation aborted: Exceeded the allocated memory size; try again later.
Transmission failed: Try again later.
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG

Advertisement

Table of Contents
loading

Table of Contents