回复:应用探讨——西门子指针编程使用探讨

火麒麟

西门子1847工业学习平台

  • 帖子

    571
  • 精华

    18
  • 被关注

    20

论坛等级:侠圣

注册时间:2006-09-21

普通 普通 如何晋级?

发布于 2011-12-22 09:12:39

139楼

quote:以下是引用yiutyi在2011-12-20 15:24:57的发言:
手册中这段写的很有意思:

Parameter Transfer
The parameters of a block are transferred as a value. With function blocks a copy of the actual
parameter value in the instance data block is used in the called block. With functions a copy of the
actual value lies in the local data stack. Pointers are not copied. Prior to the call the INPUT values are
copied into the instance DB or to the L stack. After the call the OUTPUT values are copied back into
the variables. Within the called block you can only work on a copy. The STL instructions required for
this are in the calling block and remain hidden from the user.


这个不新鲜,论坛里也讨论过多次了,但我觉得还不足以解释我的疑惑,自己的悟性比较差,再慢慢领会吧,谢谢youhm和yiutyi大侠。
业精于勤,行成于思
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-300/400

共有54616条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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