Programming FCs (Functions) and FBs for S7 Ethernet CPs

Note

For entries coded with 8FxxH 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 6-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.

 

 

 

 

0

1

8F7FH

Internal error, e.g. illegal ANY reference.

 

 

 

e.g. parameter LEN=0

 

 

 

 

180

 

 

SIMATIC NET NCM S7 for Industrial Ethernet

 

 

Release 6/2003

C79000–G8976–C129–07

Page 180
Image 180
Siemens NCM S7 appendix 8F3AH, 8F7FH

NCM S7 specifications

Siemens NCM S7, which stands for Siemens Network Control Module for the S7 series, represents a significant advancement in industrial automation technology. This robust control system is designed to enhance productivity and efficiency in various manufacturing processes. Its primary purpose is to facilitate seamless communication between field devices and higher-level control systems, ensuring that processes run smoothly and effectively.

One of the main features of the Siemens NCM S7 is its exceptional connectivity. The module is equipped with integrated network capabilities that support various communication protocols such as Ethernet, Profibus, and Profinet. This versatility allows it to work with a wide variety of devices, enabling data exchange across different automation levels. The ability to connect to cloud services is another standout feature, allowing users to access real-time data remotely for monitoring and analytics.

The NCM S7 also boasts advanced data processing capabilities. With powerful processing units, it can execute complex control algorithms and manage large volumes of input and output data in real time. This is essential for industries that require precise control over their processes, such as automotive, food and beverage, and pharmaceuticals. The system’s high-speed memory and processing speed ensure that it can handle demanding tasks without lag.

In terms of technology, the Siemens NCM S7 leverages state-of-the-art cybersecurity features. As industrial control systems increasingly become targets for cyber threats, the NCM S7 incorporates advanced security protocols to safeguard sensitive data and ensure the integrity of the control processes. This includes features such as secure communication channels and user authentication.

Another key characteristic of the NCM S7 is its flexibility. The system can be easily scaled and adapted to meet the specific needs of various applications. Users can increase the number of input/output channels or integrate additional modules without significant downtime. This adaptability makes the NCM S7 an ideal choice for both small-scale operations and large industrial environments.

Moreover, the user-friendly interface simplifies configuration and programming tasks, allowing engineers and technicians to set up and troubleshoot the system with ease. Siemens has also invested in comprehensive support and training resources to help users maximize the system’s potential.

In conclusion, the Siemens NCM S7 stands out as a pivotal element in modern industrial automation. With its robust connectivity, advanced data processing capabilities, cybersecurity features, and flexibility, it empowers businesses to optimize their production processes and embrace the future of Industry 4.0.