回复:应用探讨——PLC间的以太网通信,选择TCP/IP还是S7

凡烨

  • 帖子

    119
  • 精华

    1
  • 被关注

    1

论坛等级:游侠

注册时间:2009-05-12

普通 普通 如何晋级?

发布于 2011-04-25 11:40:31

216楼

先把倒数第二个问题的答案公布一下:
其实在任何一个400CP卡手册中都有如下说明:
8.6 Recommendations for use with a high communications load
Overview
When using the CP described here, the points below will help you to avoid overload situations on your CPU.
In particular when you replace an older CP with the CP described here and are then confronted with overload problems, you should check your application for the pitfalls outlined below.
Known problems
1. The functions for sending and receiving (FC5/FC6, FC50/60 or FC53/63) are often called cyclically in OB1. This leads to constant communication between the CPU and CP. As a result, other types of communication such as PG functions cannot be executed or only very slowly.
2.HMI systems access data of the CPU too often using S7 functions. This slows down communication generally and can lead to lack of resources on the CPU if SEND/RECEIVE FCs are called in OB1 cyclically (effect: reduced data throughput or increased reaction time).
Remedy
The recommendations below will help to avoid these situations:
1, Do not call communication blocks cyclically in OB1!
Communication should be called time-controlled in a suitable cyclic-interrupt OB. The call interval of this OB should be significantly higher than the average cycle time of OB1.
2, You should set a minimum cycle time that is higher than the average runtime of OB1. This frees resources for communication on the CPU. This is, for example,a remedy for existing applications when communication already takes place cyclically in OB1.
3, If necessary, reduce the time taken for communication processing on the CPU by changing the parameters set for “cyclic load due to communication”in the properties dialog of the CPU.
在家做试验很难,不过现场到碰见好几次。


管理员注:本帖已被纳入此次探讨发帖整理,请点此详阅
来自西门子技术支持!
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

通信与网络组件

共有4510条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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