回复:怎样OPC 客户端opc scout 寻址访问FDL网络

N

  • 帖子

    767
  • 精华

    10
  • 被关注

    46

论坛等级:侠士

注册时间:2004-06-04

普通 普通 如何晋级?

发布于 2013-09-22 11:21:53

3楼

你的Item写的不对吧?
Receive variables
SR:[MyConnection]receive,w4,6
receive,w4,6
6 data words starting at offset 4 in the receive buffer.
SR:[MyConnection]receive,dword7
receive,dword7
A double word starting at offset 7 in the receive buffer
SR:[MyConnection]receive,REAL0,2
receive,REAL0,2
An array with 2 floating-point values starting at offset 0 in the receive buffer.
Example of transferring data that has not necessarily changed (see "receivedata"):
SR:[MyConnection]receivedata,w4,6
receivedata,w4,6
6 data words starting at offset 4 in the receive buffer.
OPC process variables for SIMATIC NET
2.7 Open communication services (SEND/ RECEIVE)
Industrial Communication with PG/PC Volume 2 - Interfaces
196 Programming Manual, Release 06/2011, C79000-G8976-C197-10
Send variables
SR:[MyConnection]send30,dword7
send30,dword7
A double word starting at byte 7 in a 30byte long send buffer. If the default for the size of the
send buffer is not 30, the variable accesses a separate buffer.
SR:[MyConnection]send,B20,6
send,B20,6
An array with 20 bytes starting at offset 6 in a send buffer with default size. The default size
of the send buffer is specified in the configuration.
SR:[MyConnection]send8,DINT0
send8,DINT0
A signed double word starting at address 0 in a send buffer with the size 8.
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

通信与网络组件

共有4545条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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