你现在位置:首页>技术论文>数据通讯>正文
S7-200_与S7300的以太网通讯设置
日期:2006-5-15 23:38:34 来源:本站整理  
点击: 作者:未知
点击【】放大字体.
S7-200_与S7300的以太网通讯设置
WW.W_PLCJS_COM-PLC-技.术_网

 
   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.
WWW.PLCJS.COM——可编程控制器技术门户

  Configuration of the CP243-1 using the Ethernet Wizard of STEP 7 Micro/WIN
WWW_PLCJS※COM-PLC-技×术_网(可编程控※制器技术门户)

  1. Open STEP 7 Micro/WIN and then start the Ethernet Wizard via "Tools > Ethernet Wizard...".
WWW_PLC※JS_COM-PmLC-技.术_网

  
WWW.PLCJS.COM——可编程控制器技术门户

  
P.L.C.技.术.网——可编程控制器技术门户

  Fig. 1: Starting the Ethernet Wizard
WW.W_PLCJS_COM-PLC-技.术_网

  2. In the first step of the Wizard is a description of the Ethernet Wizard. Click on "Next" to start the configuration process.
WWcW_PLCJS_COM-PLC-技.术_网

  
——可——编——程——控-制-器-技——术——门——户

  
——可——编——程——控-制-器-技——术——门——户

  Fig. 2: Description of the Ethernet Wizard
WWW_PLCJS※COM-PLC-技.术_网(可※编程控※制器技术门户)

  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".
WWW_P※LCJS_COM-PLC-)技.术_网

  
——可——编——程——控-制-器-技——术——门——户

  
WWW_PLCJS@_COM%-PLC-技.术_网

  Fig. 3: Compiling the project and enabling the Symbolic Addressing mode
WWW_P※LCJS_CO※M-PLC-技-.术_网

  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".
plcjs.技.术_网

  
WWW_PLCJS_COM-PLC-技.术_网

  
P_L_C_技_术_网——可——编——程——控-制-器-技——术——门——户

  Fig. 4: Determining the module position
WWW_P※LCJS_CO※M-PLC-技-.术_网

  5. Define a unique IP address for the CP243-1 and specify the associated subnetwork mask. Acknowledge the settings with "Next".
WWW_PLCJS※COM-PLC-技.术_网(可※编程控※制器技术门户)

  
WWW_PLC※JS_COM-PmLC-技.术_网

  
——可——编——程——控-制-器-技——术——门——户

  Fig. 5: Defining the IP address and subnetwork mask for the CP243-1
plcjs.技.术_网

  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".
P.L.C.技.术.网——可编程控制器技术门户

  
WWW_PLC※JS_COM-PmLC-技.术_网

  
WW.W_PLCJS_COM-PLC-技.术_网

  Fig. 6: Number of S7 connections
WWW_PLCJ-S_COM-PLC-技.术_网(可-编程控-制器技术-门户)

  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.
WWW_P※LCJS_COM-PLC-)技.术_网

  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.
WWW_PLCJ-S_COM-PLC-技.术_网(可-编程控-制器技术-门户)

  • Enter the IP address of the CP343-1.
WWW_PLC※JS_COM-PLC-技.术_网(可编程控※制器技术门户)

  • Specify a symbolic name for the connection.
WWW※PLCJS_COM-PL#C-技.术_网(可编※程控※制器技术门户)

  Click on the "Data Transfers" button to define a new data transfer for this connection.

本新闻共2页,当前在第11 2  
WWW_PLCJS※COM-PLC-技×术_网(可编程控※制器技术门户)

评论内容
载入中...
载入中...
P
L
C



|










|


P
L
C









·最新招聘信息
·最新求职信息
·推荐产品
·推荐厂商
·栏目热门排行
·站内热门排行