![](/images/backgrounds/157579/bg9d.png)
Programming FCs (Functions) and FBs for S7 Ethernet CPs
157
SIMATIC NET NCM S7 for Industrial Ethernet
C79000-G8976-C129–06
NoteFor entries coded with 8FxxH in STATUS, refer to the information in the STEP 7Standard and System Functions reference manual. The chapter describing errorevaluation with the RET_VAL output parameter contains detailed information.To find out which SFCs are used and are relevant for error evaluation, display theproperties dialog of the FC described here in the “Calls” tab.Table 5-2 AG_SEND / AG_LSEND Codes
DONE ERROR STATUS Meaning1 0 0000 H Job completed without error.
0 0 0000 H No job being executed.
0 0 8181HJob active.
0 1 7000HThis code is possible only with the S7-300: the FC was called
with ACT=0; the job has not yet been processed.
0 1 8183HNo configuration or the ISO/TCP service has not yet started on
the Ethernet CP.
0 1 8184HSystem error.
0 1 8185HLEN parameter longer than SEND source area.
0 1 8186HID parameter invalid. ID!=1,2 to 64.
0 1 8302HNo receive resources on the destination station; the receiving
station cannot process received data quickly enough or has not
prepared any receive resources.
0 1 8304HThe connection is not established. The send job should only be
attempted again after waiting for at least 100 ms.
0 1 8311HThe destination station cannot be obtained under the specified
Ethernet address.
0 1 8312HEthernet error on the CP.
0 1 8F22HSource area invalid, for example:
Area does not exist in the DB
LEN parameter < 0
0 1 8F24HArea error reading a parameter.
0 1 8F28HAlignment error reading a parameter.
0 1 8F32HParameter contains a DB number that is too high.
0 1 8F33HDB number error.
0 1 8F3AHArea not loaded (DB).
0 1 8F42HTimeout reading a parameter from the I/O area.
0 1 8F44HAddress of the parameter to be read is disabled in the access
track.