回复:关于使用全局变量和指针

yanxiao

版主

  • 帖子

    12146
  • 精华

    46
  • 被关注

    183

论坛等级:至圣

注册时间:2003-06-06

钻石 钻石 如何晋级?

发布于 2008-02-26 22:57:40

0楼

至少S7200在手册的附录中这样写到:
Effect of Indirect Addressing
Table F-2 shows the time required for executing the logic, or function, of the instruction when you use direct addressing of the operands and constants.
When instructions use indirectly addressed operands, the execution time for the instruction increases by 14 μs for each indirectly addressed operand used in the instruction.
使用指针间址,额外浪费14us的时间。感觉多了点。大概是因为S7200是解释执行的,间址效率不高。
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-200

共有33257条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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