PA-Appendix3-Modbus-Serial-Protocol-definition-A1

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

版本日期文档名称文档编号页码A12013年4月16日《ISCS与PA系统接口设计文件-附件3》ISCS-PAICDAppendixA11/53无锡地铁2号线综合监控系统WUXILINE2ISCSPROJECT附附件件三三::MMooddbbuuss串串口口协协议议描描述述IISSCCSS--PPAAIINNTTEERRFFAACCEECCOONNTTRROOLLDDEEFFIINNIITTIIOONNAAPPPPEENNDDIIXX33MMOODDBBUUSSSSEERRIIAALLPPRROOTTOOCCOOLLDDEEFFIINNIITTIIOONN版本日期文档名称文档编号页码A12013年4月16日《ISCS与PA系统接口设计文件-附件3》ISCS-PAICDAppendixA12/53TableofContents目录APPENDIX3MODBUSSERIALPROTOCOLDEFINITION附录三MODBUS串行协议定义.......5A3.1INTRODUCTION简介..................................................................................................................5A3.2INTERFACEDESCRIPTION接口描述........................................................................................7A3.3EXCHANGES信息交换...............................................................................................................8A3.4FRAMEFORMAT结构模式.........................................................................................................9A3.4.1THEADDRESSFIELD地址字段........................................................................................9A3.4.2THEFUNCTIONCODEFIELD功能码字段......................................................................9A3.4.3DATAFIELD数据字段......................................................................................................11A3.4.4THECRCFIELD(CYCLICREDUNDANCYCHECKCRC字段(循环冗余校验码)..11A3.4.5DETAILSONTHEBYTEANDWORDFORMATE位和字节格式的详细情况...............12A3.4.5.1BYTE字节....................................................................................................................................12A3.4.5.1.1BYTEFORMATE字节的格式...............................................................................................12A3.4.5.1.2BYTETRANSMISSION字节传输........................................................................................12A3.4.5.2WORDword..................................................................................................................................14A3.4.5.2.1WORDFORMATEword格式................................................................................................14A3.4.5.2.2WORDTRANSMISSIONword传送........................................................................................14A3.5MESSAGETYPES信息类型.......................................................................................................14A3.5.1QUARYTOREADNWORDS(IN)查询读取Nword(包含).....................................16A3.5.1.1FORMATOFTHEMASSAGE(QUERYANDRESPONSE)消息格式(查询和响应)........16A3.5.1.2FORMATEOFTHEDATAINTHERESPONSEMESSAGE数据响应消息的格式...............17A3.5.2QUERYTOWRITENWORDS(OUT)查询写出Nword(输出).....................................18A3.5.2.1FORMATOFTHEDATAINTHEQUERYMESSAGE数据查询信息的格式........................18A3.5.2.2FormatoftheDATAintheResponsemessage数据信息的反应格式.........................................19A3.5.3RESPONSEMESSAGEWITHEXCEPTIONCODE消息响应的异常代码......................20A3.5.3.1FORAMTOFTHEMESSAGE(EXCEPTIONRESPONSE)消息(异常反应)的格式..........21A3.5.3.2FORMATOFTHEDATAINTHEEXCEPTIONRESPONSEMESSAGE数据异常响应消息的格式21A3.6ERRORS错误.............................................................................................................................23A3.6.1GENERAL一般错误.........................................................................................................23A3.6.2COMMUNICATIONERROR通讯错误.............................................................................23A3.6.3MESSAGEERROR信息错误.............................................................................................24A3.6.4CRCCALCULATION循环冗余码校检的计算.................................................................25A3.7MONITORINGANDCONTROLDATAIDENTIFICATION监控数据和控制数据...................................28A3.7.1DATAFLOWS数据流........................................................................................................37A3.7.2CONTROLDATAFLOWFROMOCC来自OCC的控制数据流....................................37A3.7.3PATABLEASSIGNMENTPA任务表...................................................................................38A3.7.3.1PAHOLDINGREGISTERFORCONTROLCOMMAND(FUNCTIONCODE=0x10)PA控制命令的保持存储器(功能码=0x10).......................................................................................................................38A3.7.3.2PAINPUTREGISTERFORSTATUSMONITORING(FUNCTIONCODE=0x04)PA状态监控的输入存储器(功能码=0x04)...............................................................................................................................38A3.7.3.3ZONEIDTABLE区域编号表.......................................................................................................40A3.7.3.4MESSAGEIDTABLE消息编号表...............................................................................................42A3.7.3.5PriorityTABLE优先级编号表(MFT编号)..............................................................................42A3.7.3.6PASIGNALSOURCEID语音信号源编号................................................................................43A3.7.3.7CyclicBroadcast循环广播.............................................................................................................44版本日期文档

1 / 53
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功