Communication
11.2 PROFINET
S7-1200 Programmable controller
892 System Manual, V4.2, 09/2016, A5E02486680-AK
DONE, BUSY and ERROR parameters
The output parameters DONE, BUSY and ERROR are each displayed for only one cycle if
the status of the BUSY output parameter changes from "1" to "0".
The following table shows the relationship between DONE, BUSY, and ERROR. Using this
table, you can determine the current status of the instruction "TMAIL_C and when the
sending of the e-mail is complete.
The job is being processed.
1 0 0 Job successfully completed.
0 0 1 The job ended with an error. The cause of the error can be
found in the STATUS (Page 892) parameter.
0 0 0 The "TMAIL_C" instruction was not assigned a (new) job.
The following table shows the return values of TMAIL_C at the STATUS parameter:
Return val-
ue
STATUS*
(W#16#...):
0000 The processing of TMAIL_C was
completed without errors.
Error-free completion of TMAIL_C does not
mean that the e-mail sent will necessarily
arrive.
Incorrectly entering the recipient addresses
does not generate a status error of the
TMAIL_C instruction. In this case, there is no
guarantee that the e-mail will be sent to other
recipients, even if these were entered correct-
TMAIL_C is active (BUSY = 1).
First call: Job triggered.
TMAIL_C is active (BUSY = 1).
Intermediate call: Job already active.
8xxx The processing of TMAIL_C was
completed with an error code of the
communication instructions called
For detailed information, refer to the STATUS
parameter descriptions for the TCON,
TDISCON, TSEND and TRCV (Page 857)
communication instructions.
8010 Error during connection establishment You will find further information on evaluation
in the SFB_STATUS parameter of the instance
data block. The error code displayed at the
SFB_STATUS parameter is explained in the
STATUS parameter description for the TCON
(Page 857) instruction.
8011 Error sending the data You will find further information on evaluation
in the SFB_STATUS parameter of the instance
data block. The error code displayed at the
SFB_STATUS parameter is explained in the
STATUS parameter description for the TSEND