EasyManua.ls Logo

Siemens S7-1200 - Page 780

Siemens S7-1200
1028 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...
Teleservice communication (SMTP email)
13.1 TM_Mail (Send email) instruction
S7-1200 Programmable controller
780 System Manual, 03/2014, A5E02486680-AG
Table 13- 4 Condition codes
STATUS
(W#16#...):
SFC_STATUS
(W#16#...):
Description
0000 - 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).
7001
-
TM_MAIL is active (BUSY = 1).
7002
7002
TM_MAIL is active (BUSY = 1).
8xxx xxxx 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.
8010 xxxx
Failed to connect: For more information about the SFC_STATUS parameter, see
the STATUS parameter of the TCON instruction.
8011 xxxx Error sending data: For more information about SFC_STATUS parameter, see
the STATUS parameter of the TSEND instruction.
8012 xxxx Error while receiving data: For more information about the SFC_STATUS
parameter, see the STATUS parameter descriptions of the TRCV instruction.
8013 xxxx Failed to connect: For more information for evaluating the SFC_STATUS
par
ameter, see the STATUS parameter descriptions of the TCON and TDISCON
instructions.
8014 - 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.
8015 - 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.
82xx, 84xx,
85xx
-
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.
8450
-
Operation does not run: Mailbox is not available; try again later.
8451
-
Operation aborted: Local error in processing, .try again later
8500 - 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.
8501 - Syntax error: Incorrect parameter or argument; you may have typed an incorrect
address in the TO_S or CC parameters.
8502 - Command is unknown or not implemented: Check your entries, especially the
parameter FROM. Perhaps this is incomplete and you have omitted the "@" or
"." characters.
8535 - SMTP authentication is incomplete. You may have entered an incorrect
username or password.
8550 - The mail se
rver 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.
8552
-
Operation aborted: Exceeded the allocated memory size; try again later.
8554
-
Transmission failed: Try again later.

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals