EasyManua.ls Logo

Siemens SIMATIC NET S7-300 - Page 187

Siemens SIMATIC NET S7-300
317 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...
7 Programming FCs (Functions) and FBs for S7 Ethernet CPs
A-187
S7-CPs for Industrial Ethernet Configuring and Commissioning
Release 01/2007
C79000-G8976-C182-07
7.2.3 Status Information (output parameters)
For status evaluation, the following parameters must be evaluated in the user
program:
DONE or NDR
These parameters (DONE with send jobs and NDR with receive jobs) signal
(successful) completion of the job.
ERROR
This indicates that the job could not be executed error-free.
STATUS
This parameter supplies detailed information about the execution of the job.
Status codes can be returned during execution of the job (DONE=0 and
ERROR=0).
Evaluating Status Codes
Remember that the status codes DONE, NDR, ERROR, STATUS are updated at
each block call.
Status Codes during CP Startup
With a complete restart or restart of the Ethernet CP (after activating a switch on
the module), the output parameters of the FC are reset as follows:
DONE = 0
NDR = 0
ERROR = 0
STATUS = 8180
H
for AG_RECV / AG_LRECV or 8181
H
for AG_SEND
/AG_LSEND

Table of Contents

Other manuals for Siemens SIMATIC NET S7-300

Related product manuals