Legal informationUse of application examplesApplication examples illustrate the solution of automation tasks through an interaction of several components inthe form of text, graphics and/or software modules. The application examples are a free service by Siemens AGand/or a subsidiary of Siemens AG ("Siemens"). They are non-binding and make no claim to completeness orfunctionality regarding configuration and equipment. The application examples merely offer help with typicaltasks; they do not constitute customer-specific solutions. You yourself are responsible for the proper and safeoperation of the products in accordance with applicable regulations and must also check the function of therespective application example and customize it for your system.Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the applicationexamples used by technically trained personnel. Any change to the application examples is your responsibility.Sharing the application examples with third parties or copying the application examples or excerpts thereof ispermitted only in combination with your own products. The application examples are not required to undergo thecustomary tests and quality inspections of a chargeable product; they may have functional and performancedefects as well as errors. It is your responsibility to use them in such a manner that any malfunctions that mayoccur do not result in property damage or injury to persons.Disclaimer of liabilitySiemens shall not assume any liability, for any legal reason whatsoever, including, without limitation, liability forthe usability, availability, completeness and freedom from defects of the application examples as well as forrelated information, configuration and performance data and any damage caused thereby. This shall not apply incases of mandatory liability, for example under the German Product Liability Act, or in cases of intent, grossnegligence, or culpable loss of life, bodily injury or damage to health, non-compliance with a guarantee,fraudulent non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for damagesarising from a breach of material contractual obligations shall however be limited to the foreseeable damagetypical of the type of agreement, unless liability arises from intent or gross negligence or is based on loss of life,bodily injury or damage to health. The foregoing provisions do not imply any change in the burden of proof toyour detriment. You shall indemnify Siemens against existing or future claims of third parties in this connectionexcept where Siemens is mandatorily liable.By using the application examples you acknowledge that Siemens cannot be held liable for any damage beyondthe liability provisions described.Other informationSiemens reserves the right to make changes to the application examples at any time without notice. In case ofdiscrepancies between the suggestions in the application examples and other Siemens publications such ascatalogs, the content of the other documentation shall have precedence.The Siemens terms of use (https://support.industry.siemens.com) shall also apply.Security informationSiemens provides products and solutions with Industrial Security functions that support the secure operation ofplants, systems, machines and networks.In order to protect plants, systems, machines and networks against cyber threats, it is necessary to implement –and continuously maintain – a holistic, state-of-the-art industrial security concept. Siemens’ products andsolutions constitute one element of such a concept.Customers are responsible for preventing unauthorized access to their plants, systems, machines and networks.Such systems, machines and components should only be connected to an enterprise network or the Internet ifand to the extent such a connection is necessary and only when appropriate security measures (e.g. firewallsand/or network segmentation) are in place.For additional information on industrial security measures that may be implemented, please visitSiemens’ products and solutions undergo continuous development to make them more secure. Siemens stronglyrecommends that product updates are applied as soon as they are available and that the latest product versionsare used. Use of product versions that are no longer supported, and failure to apply the latest updates mayincrease customer’s exposure to cyber threats.To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed at
S7 通信定义:通过 PROFIBUS 或 PROFINET/工业以太网在 SIMATIC CPU 之间进行 SIMATIC 同构数据交换。S7 通信可以通过控制器在 PROFINET 和 PROFIBUS 之间路由数据。通过 S7 通信可将现有 S7-300/400 连接到 S7-1200/1500 或将现有的系统迁移到S7-1200/1500 之上。建议:请使用开放式通信在 S7-1200/1500 之间进行数据交换,由此可使用通用的以太网标准。使用 BSEND 和 BRCV 进行协调数据传输BSEND 将数据发送到伙伴控制器中 BRCV 类型的指令中。由于 BSEND 和 BRCV 对数据传输进行了协调,因此 BSEND/BRCV 可在已组态的 S7 连接中发送非常大的数据量。BSEND 对要发送的数据区域进行分段,并将每个分段分别发送给伙伴。由 BRCV 对接收到的发送段进行应答。如果 BRCV 已应答收到完整数据区域,则可以启动新的 BSEND 发送作业。使用 USEND 和 URCV 进行不协调的数据传输USEND 将数据发送到伙伴控制器中 URCV 类型的指令中。URCV 收到数据后不应答。数据传输未与伙伴控制器进行协调。也就是说:在 URCV 将所有数据写入目标区域之前,USEND 可以覆盖接收数据。如果 USEND 覆盖数据,则接收方将发出错误消息。
连接类型概述自动连接用于基本通信,例如针对用于工程作业或 HMI 编程设备的控制器,系统将保持自动连接。编程连接编程连接非常灵活。使用 TSEND_C 和 TRCV_C 进行通信。系统自动打开和关闭连接。或者它们使用 SIMATIC S7-300/400 的指令 TCON、TDISCON、TSEND 和 TRCV。编程连接可用于例如分散连接等应用。● 断开连接后,连接资源可继续使用。● 在 RUN 的用户程序中建立和删除编程连接。配置连接如果连接断开,控制器将自动重新连接。在 SIMATIC STEP 7 的网络视图中创建并配置连接。● 连接资源始终保持繁忙状态。● 在 STOP 中建立连接