Siemens NCM S7 appendix NDR Error Status, LEN Output INT

Models: NCM S7

1 255
Download 255 pages 41.39 Kb
Page 189
Image 189

Programming FCs (Functions) and FBs for S7 Ethernet CPs

Parameter

Declara-

Type

Possible

 

Remarks

 

tion

 

Values

 

 

 

 

 

 

 

LEN

OUTPUT

INT

On ISO

Specifies the number of bytes accepted from

 

 

 

Transport and

the Ethernet CP and entered in the data area.

 

 

 

ISO-on-TCP:

S Note the block type:

 

 

 

1,2...8192

S7-300

 

 

 

On UDP:

 

With older versions of FC AG_RECV (up

 

 

 

 

to V3.0), the data area is always

 

 

 

1,2...2048

 

restricted to a maximum of 240 bytes.

 

 

 

 

 

The current versions allow up to 8192

 

 

 

 

 

bytes (2048 bytes for UDP).

 

 

 

 

S7-400

 

 

 

 

 

With FC AG_RECV, the data area is

 

 

 

 

 

restricted to a maximum of 240 bytes.

 

 

 

 

 

 

Condition Codes

The following table shows the codes formed by the DONE, ERROR and STATUS parameters that must be evaluated by the user program.

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-3 AG_RECV / AG_LRECV Codes

NDR

ERROR

STATUS

 

Meaning

 

 

 

 

 

1

0

0000 H

 

New data accepted.

 

 

 

 

 

0

0

8180H

 

There are not yet any data available.

 

 

 

 

 

0

0

8181H

 

Job active.

 

 

 

 

 

0

1

8183H

 

No configuration or the ISO transport service has not yet started

 

 

 

 

on the Ethernet CP.

 

 

 

 

 

0

1

8184H

 

System error (the source data area is incorrect).

 

 

 

 

 

0

1

8185H

 

Destination buffer (RECV) is too short.

 

 

 

 

 

0

1

8186H

 

ID parameter invalid.

 

 

 

 

ID != 1,2....16 (S7-300).

 

 

 

 

ID != 1,2....64.(S7-400)

 

 

 

 

 

SIMATIC NET NCM S7 for Industrial Ethernet

189

Release 6/2003

 

 

C79000–G8976–C129–07

Page 189
Image 189
Siemens NCM S7 appendix NDR Error Status, LEN Output INT

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.