104报文分析

  • 格式:doc
  • 大小:29.50 KB
  • 文档页数:5

下载文档原格式

  / 6
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

主站端104报文实例分析

卢才云2007-6-30

1 全遥信

以下是总召唤后子站回答的遥信报文:

2007-06-28 12:41:16 <<<遥信68 4d 5a a8 80 00 01 c0 14 00 09 00 01 00 00 00 00 00 00 01 01 00 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 01 01 00 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 01 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 00 00

2007-06-28 12:41:16 <<<遥信68 4d 5c a8 80 00 01 c0 14 00 09 00 41 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 01 01 00 00 01 00 00 00 00 00 00 00 00 01 01 00 00

以上黑色下划线部分为信息体首地址字节,底字节在前,高字节在后,表示该帧报文是从第几个遥信开始的;蓝色下划线部分为各信息体字节。如第一帧01 00 00表示该帧报文是从第一个遥信开始的,第二帧41 00 00表示是从第65个遥信开始的。后面每个字节表示一个遥信的状态,01表示该点遥信为真,00表示该点遥信为假。每帧遥信报文包含的遥信个数:65-1=64(第二帧第一个遥信的地址-第一帧第一个遥信的地址)。

注意:信息体首地址只是对应于第几个遥信,需要将其点号减1才对应我们RTU中该遥信点的地址。

下面以分析第二帧遥信报文为例:

2007-06-28 12:41:16 <<<遥信68(启动字符)4d(字节长度,不包括启动字节和本字节)5c a8 80 00 01(不带时标单点遥信帧类别) c0(可变结构限定词1100 0000,b7=1表示信息体排序方式为按地址顺序排列,b6-b0=100 0000表示信息体个数为64) 14(传送原因20,响应总召唤) 00 09 00 41 00 00(65,该帧遥信报文从第65个遥信开始) 01(表示第65个遥信为真) 00 00(表示第67个遥信为假) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 01 01 00 00 01 00 00 00 00 00 00 00 00 01 01 00 00(表示第128个遥信为假)

2 全遥测

以下是总召唤后子站回答的遥测报文:

2007-06-28 12:41:16 <<<遥测68 8d 54 a8 80 00 15 c0 14 00 09 00 01 07 00 0c 08 13 08 0d 08 f7 0d f9 0d ed 0d 0c 08 13 08 0e 08 f8 0d fa 0d ef 0d 0d 08 12 08 0f 08 f7 0d f8 0d f0 0d 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 01 00 00 00 01 00 00 00 00 00 0e06 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fe 0f 02 00 00 00 00 00 00 00 00 00 00 00 00 00 3a 0d 02 00 b5 07 be 07 b3 07 63 0d 5d 0d 56 0d b7 07 bd 07 b3 07

2007-06-28 12:41:16 <<<遥测68 8d 56 a8 80 00 15 c0 14 00 09 00 41 07 00 67 0d 5c 0d 58 0d ba 07 bd 07 b3 07 65 0d 5e 0d 5a 0d ba 07 bd 07 b3 07 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 2d 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 be 04 01 00 c2 04 19 00 4a 04 18 00 ba 04

以上黑色下划线部分为信息体首地址字节,底字节在前,高字节在后,表示该帧报文是从第几个遥测开始的;蓝色下划线部分为各信息体字节。如第一帧01 07 00表示遥测传送基址为701(六进制),也表示该帧报文是从第1个遥测开始的,第二帧41 07 00表示是从第65个遥测开始的。后面每两个字节表示一个遥测的源码值,底字节在前,高字节在后,b0-b13为数据位(满码值以4095上送)。每帧遥测报文包含的遥测个数:65-1=64(第二帧第一个遥测的地址-第一帧第一个遥测的地址)。

下面以分析第二帧遥测报文为例:

2007-06-28 12:41:16 <<<遥测68 8d(字节长度) 56 a8 80 00 15(不带品质描述的测量值帧类别) c0 14(传送原因20,响应总召唤) 00 09 00 41 07 00 67 0d(第65个遥测) 5c 0d(第66个遥测) 58 0d ba 07 bd 07 b3 07 65 0d 5e 0d 5a 0d ba 07 bd 07 b3 07 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 2d 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 be 04 01 00 c2 04 19 00 4a 04 18 00 ba 04(第128个遥测)