Siemens Simantic Net NCM for Industrial Ethernet S7 User Manual

Page 157

Advertising
background image

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

8181

H

Job active.

0

1

7000

H

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

8183

H

No configuration or the ISO/TCP service has not yet started on
the Ethernet CP.

0

1

8184

H

System error.

0

1

8185

H

LEN parameter longer than SEND source area.

0

1

8186

H

ID parameter invalid. ID!=1,2 to 64.

0

1

8302

H

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

8304

H

The connection is not established. The send job should only be
attempted again after waiting for at least 100 ms.

0

1

8311

H

The destination station cannot be obtained under the specified
Ethernet address.

0

1

8312

H

Ethernet error on the CP.

0

1

8F22

H

Source area invalid, for example:

Area does not exist in the DB

LEN parameter < 0

0

1

8F24

H

Area error reading a parameter.

0

1

8F28

H

Alignment error reading a parameter.

0

1

8F32

H

Parameter contains a DB number that is too high.

0

1

8F33

H

DB number error.

0

1

8F3A

H

Area not loaded (DB).

0

1

8F42

H

Timeout reading a parameter from the I/O area.

0

1

8F44

H

Address of the parameter to be read is disabled in the access
track.

Advertising