高温计通用协议 Data format UPP(Universal Pyrometer Protocol)

网上没有这个协议的中文,刚好用到了,也通讯成功了,把这个协议在这里写写。
这个pdf中有UPP的介绍。

Via interface and suitable communication software or via “Test” function of the InfraWin
software (section “pyrometer parameters”) commands can be exchanged directly with the
pyrometer.
The data exchange occurs in ASCII format with the following transmission parameters:
The data format is: 8 data bits, 1 stop bit, even parity (8,1,e)
The device responds with the entry of a command with: output (e.g. the measuring value) + CR
(Carriage Return, ASCII 13), with pure entry commands with “ok” + CR. With invalid commands
the instruments answers with „no“ + CR.
Every command starts with the 2-digit device address AA (e.g. “00”). This is followed by 2 small
command letters (e.g. “em” for level of emissivity H), finished with CR
This is followed, if necessary for that command, by the ASCII parameter “X”. If this parameter
“X” is omitted, then the device resets with the current parameter.
Example: Entry: “00em“ + CR!
The emissivity setting of the device with the address 00 is returned
Answer: “0970“ + CR! means emissivity = 0.970 or 97.0%

端口设置:8数据位,1停止位,偶校验,<8,1,e>,还要设置波特率
通讯格式:
AAemXXX+CR
AA表示设备地址,eg:00
em为指令
XXX为一个数
CR是回车
设要发送的指令为:00em010+CR
则16进制指令为:30 30 65 6D 30 31 30 0D

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值