Contents

 

4.2

Possible Connection Configurations

85

 

4.3

Connections

87

 

4.3.1

Creating a New Connection

90

 

4.3.2

Connections to Partners in Other Projects

93

 

4.3.3

Further Functions

96

 

4.3.4

Connections Without Assignment

97

 

4.4

Configuring ISO Transport Connections

99

 

4.4.1

Specifying the Local Connection Endpoint

100

 

4.4.2

Specifying ISO Transport Addresses

102

 

4.4.3

Specifying ISO Transport Dynamic Properties

105

 

4.4.4

ISO Transport with the FETCH/WRITE Mode

107

 

4.4.5

Checking ISO Transport Connection Properties

109

 

4.5

Configuring ISO-on-TCP Connections Properties

110

 

4.5.1

Specifying the Local Connection Endpoint

111

 

4.5.2

Specifying ISO-on-TCP Addresses

113

 

4.5.3

ISO-on-TCP with the FETCH/WRITE Mode

116

 

4.5.4

Checking ISO-on-TCP Connection Properties

118

 

4.6

Configuring TCP Connection Properties

119

 

4.6.1

Specifying the Local Connection Endpoint

120

 

4.6.2

Specifying TCP Addresses

122

 

4.6.3

TCP with the FETCH/WRITE Mode

125

 

4.6.4

Checking TCP Connection Properties

127

 

4.7

Configuring UDP Connection Properties

128

 

4.7.1

Specifying the Local Connection Endpoint

129

 

4.7.2

Specifying UDP Addresses

131

 

4.7.3

UDP with Broadcast and Multicast

134

 

4.7.4

Checking the Properties of a UDP Connection

138

 

4.7.5

Free UDP Connection

139

 

4.8

Routing to Distribute Load

140

5

Programming FCs (Functions) and FBs for S7 Ethernet CPs

141

 

5.1

General Notes on FCs / FBs

142

 

5.2

Setting Parameters for FC Calls

145

 

5.2.1

Parameters for CP and Connection Assignment (input parameters) . . . .

145

 

5.2.2

Parameters for Specifying a CPU Data Area (input parameters)

147

 

5.2.3

Status Information (output parameters)

147

 

5.3

FCs for Configured Connections

148

 

5.3.1

FC5 AG_SEND / FC50 AG_LSEND

152

 

5.3.2

FC6 AG_RECV / FC60 AG_LRECV

161

 

5.4

FCs for Access Coordination with FETCH/WRITE

167

 

5.4.1

FC7 AG_LOCK

169

 

5.4.2

FC8 AG_UNLOCK

171

 

5.5

Numeric Data / Resource Requirements of the FCs

173

6

NCM S7 Diagnostics

175

 

6.1

Overview

176

 

6.2

Functions of NCM S7 Diagnostics

177

SIMATIC NET NCM S7 for Industrial Ethernet

11

C79000-G8976-C129–06

Page 11
Image 11
Siemens appendix Programming FCs Functions and FBs for S7 Ethernet CPs 141, 175

S7 specifications

The Siemens S7 series represents a cornerstone in the realm of programmable logic controllers (PLCs), developed by Siemens, a leading company in industrial automation. Widely used across various industries, the S7 series offers robust solutions for controlling machinery and processes, thanks to its reliable performance, flexibility, and scalable architecture.

One of the key features of Siemens S7 PLCs is the modularity of their design. Each system can be configured to meet specific application requirements due to the ability to mix various input/output modules, CPUs, and communication processors. This modular approach allows for the customization of systems to suit diverse automation tasks, providing end users with the adaptability required for modern manufacturing environments.

The S7 series encompasses several models, including the S7-1200, S7-300, and S7-1500. The S7-1200 is particularly suited for small to medium-sized applications, offering a compact design and integrated communication interfaces. In contrast, the S7-300 is designed for more extensive and complex control systems, making it ideal for large-scale industrial applications. The S7-1500 stands out with its advanced performance metrics, rich feature set, and high-speed processing capabilities, making it perfect for demanding applications that require real-time control and extensive data handling.

Siemens also emphasizes the importance of communication technologies within the S7 series. With options such as PROFINET, PROFIBUS, and EtherNet/IP, the S7 PLCs can seamlessly integrate into existing automation infrastructures, ensuring smooth data exchange between devices. The incorporation of web-based technologies and cloud connectivity further enables remote monitoring and control of systems, enhancing operational efficiency.

Another notable characteristic of Siemens S7 PLCs is the use of TIA Portal (Totally Integrated Automation Portal), an innovative software platform that simplifies the engineering process. TIA Portal allows users to program, configure, and diagnose their automation devices in a single environment, reducing setup times and improving productivity.

In conclusion, the Siemens S7 series stands out due to its modular design, range of models suitable for various applications, advanced communication technologies, and user-friendly programming software. This combination of features and characteristics makes S7 PLCs a preferred choice for industries seeking reliable and efficient automation solutions. As industrial demands continue to evolve, Siemens S7 PLCs remain at the forefront, adapting to technological advancements and setting benchmarks in the automation field.