回复:CP340在线求救

pullmezxb

  • 帖子

    59
  • 精华

    0
  • 被关注

    3

论坛等级:游民

注册时间:2005-02-28

普通 普通 如何晋级?

发布于 2007-01-10 00:10:40

0楼

从我的电磁流量计通讯说明书上看到,变送器有四种模式: 1、监视模式(Monitor-Mode);2、编程模式(Programming-Mode);3、错误消息(Error Messages);4、终端模式(Terminal-Mode)。
我只要读取仪表的数据是不是就在监视模式操作就行了。
In the Monitor-Mode the parameters can be viewed. The third column in the following tables (No. of Data Bytes) defines the number of data bytes which are outputted by the particular command.
A Monitor-Command is transmitted in the following format: SOH M A1 A0 K1 K0 CR LF
SOH Start of Header
M ASCII ´M´ for Monitor-Mode
A1 A0 Two character Instrument Address
K1 K0 Function Characters (see Table)
CR Carriage Return
LF Line Feed
The converter responds: SOH K1 K0 D7 ... D0 CR LF
SOH Start of Header
K1 K0 Function Characters (see Table)
D7...D0 Maximum eight data bytes (Number see Table)
CR Carriage Return
LF Line Feed

现在仪表的地址我可以在现场设置为0和1,累计流量的功能码为Z>,累计流量为7个字节。
大家就这个情况给我看看吧!
西门柔,你的问题解决了吗,是怎么解决的?

工控菜鸟!
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-200

共有33257条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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