回复:请教几个块比较中遇到的问题

jack586

  • 帖子

    243
  • 精华

    1
  • 被关注

    19

论坛等级:侠客

注册时间:2008-05-26

普通 普通 如何晋级?

发布于 2013-09-22 22:51:43

3楼

问题4的解答
"Compare Blocks" Dialog Box
The blocks to be compared may be:

· In different projects

· On a programming device / PC and a programmable controller

· On different programmable controllers.

Type of comparison

· Select ONLINE / Offline to compare blocks on the programming device / PC with blocks on a programmable controller (SIMATIC S7).
Click "Select" to navigate to the desired location.

· Select Path 1 / Path 2 to compare blocks in different paths.
Path 1 is defined by the block folder which was selected or the folder in which the blocks were selected when you opened the dialog box.
You then define path 2 by selecting blocks or a block folder in a project window.
Click "Select" to navigate to the desired location.

Note: Using the key combination ALT + F6, you can toggle between the dialog box and the project window.

· Select the option "Including SDBs" if you want to compare system data blocks as well.

· Select whether you want to "Execute code comparison" " or "Compare time stamp only".

· If the "Execute code comparison" check box is selected, you can then specify whether you want a "Detailed Comparison" to be performed. If so, you can select the "Including blocks created in different programming languages" check box to compare blocks created in different programming languages (i.e. STL, FBD ....). In this case, the blocks are compared based on STL. If this option is not selected, then only detailed comparison of the blocks concerned will be carried out.

· In the detailed comparison, in addition to the run-time relevant parts of the blocks (interface and code) any changes in the names in local variables and parameter names are displayed.

· If the "Compare time stamp only" check box is selected, STEP 7 compares the time stamps of the blocks being compared. If the time stamps are the same, then STEP 7 assumes that the interfaces are equal to each other.
If the time stamps are different, then STEP 7 compares the block structures until it finds the first difference in their data structures. If the data structures are the same in the sections, then STEP 7 compares the initial value and the current values. All differences are displayed.

Compare:

Click the "Compare" button to start the comparison. The results of the comparison are displayed in the "Compare Blocks – Results" dialog box.

See also:

Comparing Blocks
菜鸟,向大家多学习。
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-300/400

共有54618条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

快扫描右侧二维码晒一晒吧!

再发帖或跟帖交流2条,就能晋升VIP啦!开启更多专属权限!

  • 分享

  • 只看
    楼主

top
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。