S7-200_与S7300的以太网通讯设置-PLC技术网(www.plcjs.com)-可编程控制器技术门户


S7-200_与S7300的以太网通讯设置

 (点击题目可以 在互联 网中搜索该题 目的相关内容)
日期:2006-5-15 23:38:34     来源:   作者: 点击:
点击【 大  中  小 】,可以选择字体的大小,以便你阅读.
S7-200_与S7300的以太网通讯设置
 
   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 Micro/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 the S7-300 using a sample configuration with CPU 226, CP243-1, CPU 315-2DP and CP343-1.
  Configuration of the CP243-1 using the Ethernet Wizard of STEP 7 Micro/WIN
  1. Open STEP 7 Micro/WIN and then start the Ethernet Wizard via "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 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 automatically 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 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 connection 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 from 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 for the connection.
  Click on the "Data Transfers" button to define a new data transfer for this connection.

本新闻共2页,当前在第11 2  

上一篇: PLC及PC与RFID射频识别读写器串行通讯的实现
下一: VB接收到PLC的十六进制码如何转为10进制码?