Manual

Programming FCs (Functions) and FBs for S7 Ethernet CPs
157
SIMATIC NET NCM S7 for Industrial Ethernet
C79000-G8976-C129–06
Note
For entries coded with 8Fxx
H
in STATUS, refer to the information in the STEP 7
Standard and System Functions reference manual. The chapter describing error
evaluation with the RET_VAL output parameter contains detailed information.
To find out which SFCs are used and are relevant for error evaluation, display the
properties dialog of the FC described here in the “Calls” tab.
Table 5-2 AG_SEND / AG_LSEND Codes
DONE ERROR STATUS Meaning
1 0 0000 H Job completed without error.
0 0 0000 H No job being executed.
0 0 8181H Job active.
0 1 7000H This code is possible only with the S7-300: the FC was called
with ACT=0; the job has not yet been processed.
0 1 8183H No configuration or the ISO/TCP service has not yet started on
the Ethernet CP.
0 1 8184H System error.
0 1 8185H LEN parameter longer than SEND source area.
0 1 8186H ID parameter invalid. ID!=1,2 to 64.
0 1 8302H No receive resources on the destination station; the receiving
station cannot process received data quickly enough or has not
prepared any receive resources.
0 1 8304H The connection is not established. The send job should only be
attempted again after waiting for at least 100 ms.
0 1 8311H The destination station cannot be obtained under the specified
Ethernet address.
0 1 8312H Ethernet error on the CP.
0 1 8F22H Source area invalid, for example:
Area does not exist in the DB
LEN parameter < 0
0 1 8F24H Area error reading a parameter.
0 1 8F28H Alignment error reading a parameter.
0 1 8F32H Parameter contains a DB number that is too high.
0 1 8F33H DB number error.
0 1 8F3AH Area not loaded (DB).
0 1 8F42H Timeout reading a parameter from the I/O area.
0 1 8F44H Address of the parameter to be read is disabled in the access
track.