回复:315-2DP CPU 能运行多少个PID呢?

qzcq

  • 帖子

    795
  • 精华

    5
  • 被关注

    29

论坛等级:侠圣

注册时间:2005-11-03

白金 白金 如何晋级?

发布于 2010-11-09 11:27:35

5楼

For selecting a CPU, you have to estimate the calculation time and memory requirements for your program. A PID controller takes about 0.8 ms in an S7-416 CPU and needs about 6K of storage + 600 bytes for every instance. If you use a cycle of 1 second this means that you could get a maximum of 500/0.8 = 625 controllers in this cycle (without any other logic!!!). If you go for a 5 second cycle, this would of course be 5 times more. The memory required for this 625 controllers would be 6K + 625*600 = 372K, again without any other program parts. If you take a slower CPU, the execution time of the PID block is bigger, so less would fit in the same cycle. If you are going to automate a process plant with the CPU, I would opt for the PCS7 engineering toolkit, as this offers more convenient ways to design process automation programs with CFC,SFC and SCL programming languages and PID controllers ready made with more options than the bare PID algorithm of the FB41 (auto/manual, internal/external setpoints, engineering units, alarm limits, etc...).
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-300/400

共有54710条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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