EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 892

Siemens SIMATIC S7-1200
1614 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...
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.
DONE
BUSY
ERROR
Description
0
1
0
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.
STATUS parameter
The following table shows the return values of TMAIL_C at the STATUS parameter:
Return val-
ue
STATUS*
(W#16#...):
Explanation
Notes
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-
ly.
7001
TMAIL_C is active (BUSY = 1).
First call: Job triggered.
7002
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
internally.
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
(Page 857) instruction.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals