106BTeleservice communication (SMTP e-mail)
13.1 TM_Mail transfer e-mail instruction
S7-1200 Programmable controller
System Manual, 11/2011, A5E02486680-05
631
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 e-mail 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 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
parameter, 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.
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 e-mail server does not
support the LOGIN authentication process. Check the parameters of TM_MAIL.
Try to send an e-mail 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 server cannot be reached, or you have no access rights. You may have
entered an incorrect username or password or of 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.