For the connection partner, select the "(unspecified)" type.

These connections must now be configured. To do so, you must first define in the

"Properties - S7 connection" mask (see Figure 7) whether your S7-300 or S7-400

system is to act as an active or passive participant. If your S7-300 or S7-400 system

is to communicate with an S7-200 system, also define whether your system is

to be operated as a client or server. If you would like to operate your S7-300 or S7-

400 system as a client, enable the "Active connection generation" entry. Your system

will be operated as a server if the entry is not enabled. Then make the settings

necessary to process your S7 connection with the TCP/IP protocol. To do so, select

the "TCP/IP" item. To establish the TCP/IP connection with your partner, also

specify the partner’s IP address.

 

Fig. 7. "Properties – S7 connection" dialog

Finally, in the "Address details" dialog, define the communication end points

("TSAPs") to be used. The TSAP of a connection in the S7-200 system is found in

the STEP 7 Micro/WIN 32 in the dialog in which you configured the inpidual connections,

under the "Local properties" entry. Enter the communication end point

specified there in the fields provided for the partner’s TSAP in the "Address details"

dialog. The communication end point assigned for the connection in your S7-300 or

S7-400 system is found in the same dialog under the "Local" entry in the "TSAP"

field. Enter the value specified there in STEP 7 Micro/WIN 32 in the dialog from

which you retrieved the communication end point used there. The value needs to

be entered in the "Remote properties" entry in the "TSAP" field in that dialog.

S7-300 system as client

If you would like to operate an S7-300 system as a client, i.e. if you have enabled

the "Active connection generation" item in the "Properties - S7 connection" dialog,

then you cannot directly use the TSAP specified in STEP 7 in the "Local" entry in

STEP 7 Micro/WIN 32 as a connection end point for your S7-300 system. You must

first transform this TSAP according to the following rules:

1st byte of TSAP:

Taken over from STEP 7, "Address details" dialog, "Local" entry, "TSAP" field.

2nd byte of TSAP:

Derived from the rack and position of your Ethernet communications processor in

your S7-300 system.

The number of the rack in which your Ethernet communications processor is inserted

in your S7-300 system is specified in the first 3 bits.

The remaining 5 bits contain the position of your Ethernet communications processor

in your S7-300 system.

These two values are found in the STEP 7 HWConfig program package.

Example:

A CP 343-1 is inserted in your S7-300 system in position 4 in rack 0. When you

configure a connection with STEP 7, a value of 10.02 is displayed as the local

TSAP. In STEP 7 Micro/WIN 32, you must use a TSAP of 10.04 for the communication

end point in the S7-300 system (1st byte (here: 10) is taken over, 2nd byte is

derived from the rack (here 0) and the position (here 4)).

Attention

The definitions for the communication end points ("TSAPs") in STEP7 and in

STEP 7 Micro/WIN 32 must be mutually compatible. No client services operated

from communication partners are allowed to a CP’s client connection. A clear client-

server connection is indispensable.

Free connections

上一篇:振动台实验和动态响应地震后的钢筋混凝土建筑英文文献和中文翻译
下一篇:机床结构动态性能预测英文文献及中文翻译

开关电源水冷却系统英文文献和中文翻译

减数分裂和基因重组英文文献和中文翻译

太阳能最大功率点追踪和...

移动码头的泊位分配问题英文文献和中文翻译

虚拟船舶装配集成建模方...

中学生科学探究中对等论...

车辆路面相互作用动力学英文文献和中文翻译

淮安市老漂族心理与休闲体育现状的研究

浅谈动画短片《天降好运》中的剧本创作

大学生就业方向与专业关系的研究

弹道修正弹实测弹道气象数据使用方法研究

小学《道德与法治》学习心得体会

组态王文献综述

人事管理系统开题报告

紫陵阁

适合宝妈开的实体店,适...

林业机械作业中的安全性问题【2230字】