ImageVerifierCode 换一换
格式:DOC , 页数:12 ,大小:809.50KB ,
文档编号:1107971      下载积分:2.5 文币
快捷下载
登录下载
邮箱/手机:
温馨提示:
系统将以此处填写的邮箱或者手机号生成账号和密码,方便再次下载。 如填写123,账号和密码都是123。
支付方式: 支付宝    微信支付   
验证码:   换一换

优惠套餐
 

温馨提示:若手机下载失败,请复制以下地址【https://www.163wenku.com/d-1107971.html】到电脑浏览器->登陆(账号密码均为手机号或邮箱;不要扫码登陆)->重新下载(不再收费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录  
下载须知

1: 试题类文档的标题没说有答案,则无答案;主观题也可能无答案。PPT的音视频可能无法播放。 请谨慎下单,一旦售出,概不退换。
2: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
3: 本文为用户(淡淡的紫竹语嫣)主动上传,所有收益归该用户。163文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(点击联系客服),我们立即给予删除!。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

1,本文(S7-200-与S7300的以太网通讯.doc)为本站会员(淡淡的紫竹语嫣)主动上传,163文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
2,用户下载本文档,所消耗的文币(积分)将全额增加到上传者的账号。
3, 若此文所含内容侵犯了您的版权或隐私,请立即通知163文库(发送邮件至3464097650@qq.com或直接QQ联系客服),我们立即给予删除!

S7-200-与S7300的以太网通讯.doc

1、Entry ID: 17369594 Date: 10/16/2003 QUESTION:QUESTION: How do I configure an S7 connection for data communication between an S7-200 and an S7-300 via Ethernet? ANSWER:ANSWER: The configuration of an S7 connection between an S7-200 and an S7-300 via Ethernet has to be done on the one hand in STEP 7 M

2、icro/WIN with the Ethernet Wizard for the S7- 200 and on the other in NetPro for the S7-300. For the Ethernet communication between the two stations you need communication processors and CPUs that support S7 communication. In this entry we have explained all the settings required for the S7-200 and

3、the S7-300 using a sample configuration with CPU 226, CP243-1, CPU 315-2DP and CP343-1. Configuration of the CP243Configuration of the CP243- -1 using the Ethernet Wizard of STEP 7 Micro/WIN1 using the Ethernet Wizard of STEP 7 Micro/WIN 1. Open STEP 7 Micro/WIN and then start the Ethernet Wizard vi

4、a Tools Ethernet Wizard. Fig. 1: Starting the Ethernet Wizard 2. In the first step of the Wizard is a description of the Ethernet Wizard. Click on Next to start the configuration process. Fig. 2: Description of the Ethernet Wizard 3. In the window that is displayed you are informed that your STEP 7

5、Micro/WIN project must be compiled and be in Symbolic Addressing mode. Acknowledge the message with Yes. Fig. 3: Compiling the project and enabling the Symbolic Addressing mode 4. If you are connected with the CP243-1 in your S7-200 station, you can determine the module position of the CP243-1 autom

6、atically via the Read Modules button. You can also enter the module position manually. Click on Next. Fig. 4: Determining the module position 5. Define a unique IP address for the CP243-1 and specify the associated subnetwork mask. Acknowledge the settings with Next. Fig. 5: Defining the IP address

7、and subnetwork mask for the CP243-1 6. In our example we need an S7 connection for communication to the S7-300. So, for Number of connections to configure for this module you enter 1. Click on Next. Fig. 6: Number of S7 connections 7. The dialog for configuring the S7 connection opens. The S7 connec

8、tion can be configured as a client or server connection. In our example we have used a client connection for the data transfer, i.e. the S7 connection is set up actively by the CP243-1. Enter the TSAP for connection identification between the two stations. The first part of the TSAP (xx.) is taken f

9、rom 10 + connection number, and the second part (.xx) of the TSAP is taken from the rack number and the slot of the CP343-1. In our example the TSAP is 10.07, i.e. the connection number = 0, the rack number = 0 and the slot of the CP = 7. Enter the IP address of the CP343-1. Specify a symbolic name

10、for the connection. Click on the Data Transfers button to define a new data transfer for this connection. Fig. 7: Connection configuration 8. In order to read data from the S7-300 you select Read data from the remote server connection. Enter the number of data bytes to be read from the server and sp

11、ecify where this data is located in the S7-300. Define a storage area in the S7-200 for the data read. Assign a symbolic name for the data transfer. Acknowledge the settings with OK. Fig. 8: Configuring the data transfer 9. Since the configuration of the CP243-1 module may no longer be changed, you

12、select the setting with CRC protection. You can specify the Keep Alive Interval with the default time. Click on Next. Fig. 9: CRC protection and Keep Alive Interval 10. Select a free address area for storing the configuration. Fig. 10: Selecting a storage area for the configuration 11. Close the Eth

13、ernet Wizard with Finish. The Ethernet Wizard generates the project components required. Fig. 11: Closing the Ethernet Wizard 12. In the main program (MAIN (OB1) you add the call of the ETH0_CTRL (communication setup) and the call of the ETH0_XFR (read data packages). The parameters Chan_ID and Data

14、 of the ETH0_XFR block can be selected with a right-click. Fig. 12: Adding the program code in the main program 13. Save the configuration and load it in the S7 200. Configuring an unspecified S7 connection in NetProConfiguring an unspecified S7 connection in NetPro 1. Open your STEP 7 project with

15、the configured SIMATIC S7-300 station and switch to NetPro via Options Configure Network. Fig. 13: Starting NetPro 2. Mark the CPU in the SIMATIC S7-300 station and create a connection via Insert New Connection. Fig. 14: Inserting a new connection 3. Select an unspecified S7 connection as connection

16、 type. Fig. 15: Creating an unspecified S7 connection 4. The Properties Dialog for the S7 connection opens. Remove the check mark for Establish an active connection, because the connection is set up by the S7-200. For the partner address you enter the IP address of the S7-200. Then click on Address

17、Details. Fig. 16: Properties of the S7 connection 5. The partner TSAP settings must match the local settings in Fig. 7. However, the local TSAP is calculated differently than for the S7-200. Local TSAP = 10 + Connection Number . Rack Number + Slot of the CPU. The correct TSAP in this mask is therefo

18、re 10.02. Fig. 17: Specification of the address details 6. Save and compile the configuration. Then download the complete S7-300 station from NetPro. 7. Switch to the block folder. Create DB11 with a sufficient data length, because this contains the data for the communication (Fig. 8). Download this also into the controller. 8. Configuration is now completed. You can now monitor the Receive data area (here: VB1000) online via the status table in STEP 7 Micro/WIN and check whether a data transfer is being made.

侵权处理QQ:3464097650--上传资料QQ:3464097650

【声明】本站为“文档C2C交易模式”,即用户上传的文档直接卖给(下载)用户,本站只是网络空间服务平台,本站所有原创文档下载所得归上传人所有,如您发现上传作品侵犯了您的版权,请立刻联系我们并提供证据,我们将在3个工作日内予以改正。


163文库-Www.163Wenku.Com |网站地图|