您好,欢迎访问三七文档
当前位置:首页 > 电子/通信 > 综合/其它 > 上位机通讯协议(RTU)
1上位机通讯协议采用主从应答式通讯方式,采用RS232通讯接口,支持RS232通讯和MODEM专线和拨号通讯;波特率支持1200、2400、4800、9600,每帧10位(1位起始位、8位数据、1位停止位)。1、RTU下传报文:取定值取遥测量1取遥测量2取遥信量遥调遥控10EBH0EBH0EBH0EBH0EBH0EBH2090H090H090H090H090H090H30EBH0EBH0EBH0EBH0EBH0EBH4090H090H090H090H090H090H5002H002H002H002H002H002H6ADDRADDRADDRADDRADDRADDR7053H04DH04EH040H041H042H8LGLGLGLGLGLG9SUMLSUMLSUMLSUMLDATADATA10SUMHSUMHSUMHSUMHSUMLSUML11003H003H003H003HSUMHSUMH003H003H*ADDR:直流电源地址。*LG:ADDR之后,SUM之前的数据总数。*SUM:ADDR之后,SUM之前的数据代数和,SUML为低位,SUMH为高位。2、直流电源上传传报文:ACK报文NAK报文送定值送遥测量1送遥测量2送遥信量10EBH0EBH0EBH0EBH0EBH0EBH2090H090H090H090H090H090H30EBH0EBH0EBH0EBH0EBH0EBH4090H090H090H090H090H090H5002H002H002H002H002H002H6ADDRADDRADDRADDRADDRADDR7006H015H053H04DH04EH040H8LGLGLGLGLGLG9SUMLSUMLDATADATADATADATA10SUMHSUMHSUMLSUMLSUMLSUML11003H003HSUMHSUMHSUMHSUMH12003H003H003H003H22.110A系统定值定义:1交流过压值LV0.133浮充电压LV0.12交流过压值H34浮充电压H3交流欠压值LV0.135均充电压LA0.14交流欠压值H36均充电压H5合母过压值LV0.137合母限流LA0.16合母过压值H38合母限流H7控母过压值LV0.139控母限流L0.18控母过压值H40控母限流H9合母欠压值LV0.141扩展1路上限L0.110合母欠压值H42扩展1路上限H11控母欠压值LV0.143扩展1路下限L0.112控母欠压值H44扩展1路下限H13电池容量LAh0.145扩展2路上限L0.114电池容量H46扩展2路上限H15电池限流值LA0.147扩展2路下限L0.116电池限流值H48扩展2路下限H17均浮充转换值LA0.149扩展3路上限L0.118均浮充转换值H50扩展3路上限H19均充间隔时间L小时0.151扩展3路下限L0.120均充间隔时间H52扩展3路下限H21电池温度系数LV/℃0.153扩展4路上限L0.122电池温度系数H54扩展4路上限H23电池欠压值LV0.155扩展4路下限L0.124电池欠压值H56扩展4路下限H25单体电池过压值LV0.0157扩展5路上限L0.126单体电池过压值H58扩展5路上限H27单体电池欠压值LV0.0159扩展5路下限L0.128单体电池欠压值H60扩展5路下限H29单体电池差压值LV0.0161扩展6路上限L0.130单体电池差压值H62扩展6路上限H31控母电压LV0.163扩展6路下限L0.132控母电压H64扩展6路下限H序号名称单位系数序号名称单位系数32.2系统遥测量1定义:1一路A相电压LV0.129扩展测量2路L0.12一路A相电压H30扩展测量2路H3一路B相电压LV0.131扩展测量3路L0.14一路B相电压H32扩展测量3路H5一路C相电压LV0.133扩展测量4路L0.16一路C相电压H34扩展测量4路H7二路A相电压LV0.135扩展测量5路L0.18二路A相电压H36扩展测量5路H9二路B相电压LV0.137扩展测量6路L0.110二路B相电压H38扩展测量6路H11二路C相电压LV0.139扩展测量7路L0.112二路C相电压H40扩展测量7路H13交流电流LA0.141备用14交流电流H42备用15合母电压LV0.143备用16合母电压H44备用17控母电压LV0.145备用18控母电压H46备用19合母电流LA0.147备用20合母电流H48备用21控母电流LA0.149备用22控母电流H50备用23电池电流LA0.124电池电流H25环境温度L℃0.126环境温度H27扩展测量1路L0.128扩展测量1路H序号名称单位系数序号名称单位系数42.3系统遥测量2定义:1一组电池温度L℃0.141二组电池温度L℃0.12一组电池温度H42二组电池温度H3一组01节电压LV0.0143二组01节电压LV0.014一组01节电压H44二组01节电压H5一组02节电压LV0.0145二组02节电压LV0.016一组02节电压H46二组02节电压H7一组03节电压LV0.0147二组03节电压LV0.018一组03节电压H48二组03节电压H9一组04节电压LV0.0149二组04节电压LV0.0110一组04节电压H50二组04节电压H11一组05节电压LV0.0151二组05节电压LV0.0112一组05节电压H52二组05节电压H13一组06节电压LV0.0153二组06节电压LV0.0114一组06节电压H54二组06节电压H15一组07节电压LV0.0155二组07节电压LV0.0116一组07节电压H56二组07节电压H17一组08节电压LV0.0157二组08节电压LV0.0118一组08节电压H58二组08节电压H19一组09节电压LV0.0159二组09节电压LV0.0120一组09节电压H60二组09节电压H21一组10节电压LV0.0161二组10节电压LV0.0122一组10节电压H62二组10节电压H23一组11节电压LV0.0163二组11节电压LV0.0124一组11节电压H64二组11节电压H25一组12节电压LV0.0165二组12节电压LV0.0126一组12节电压H66二组12节电压H27一组13节电压LV0.0167二组13节电压LV0.0128一组13节电压H68二组13节电压H29一组14节电压LV0.0169二组14节电压LV0.0130一组14节电压H70二组14节电压H31一组15节电压LV0.0171二组15节电压LV0.0132一组15节电压H72二组15节电压H33一组16节电压LV0.0173二组16节电压LV0.0134一组16节电压H74二组16节电压H35一组17节电压LV0.0175二组17节电压LV0.0136一组17节电压H76二组17节电压H37一组18节电压LV0.0177二组18节电压LV0.0138一组18节电压H78二组18节电压H序号名称单位系数序号名称单位系数539一组19节电压LV0.0179二组19节电压LV0.0140一组19节电压H80二组19节电压H2.410A系统遥信量定义:6字节位内容报警字节位内容报警BIT0交流一路停电YBIT0合母过压YBIT1交流一路欠压YBIT1合母欠压YBIT2交流一路过压YBIT2控母过压YBIT3交流一路工作NBIT3控母欠压YBIT4交流二路停电YBIT4电池欠压YBIT5交流二路欠压YBIT5电池均充NBIT6交流二路过压YBIT6交流防雷故障YBIT7交流二路工作NBIT7BIT0控制开关01故障YBIT0控制开关09故障YBIT1控制开关02故障YBIT1控制开关10故障YBIT2控制开关03故障YBIT2控制开关11故障YBIT3控制开关04故障YBIT3控制开关12故障YBIT4控制开关05故障YBIT4控制开关13故障YBIT5控制开关06故障YBIT5控制I段开关跳闸YBIT6控制开关07故障YBIT6控制II段开关跳闸YBIT7控制开关08故障YBIT7控母总开关跳闸YBIT0控制开关17故障YBIT0合闸开关01故障YBIT1控制开关18故障YBIT1合闸开关02故障YBIT2控制开关19故障YBIT2合闸开关03故障YBIT3控制开关20故障YBIT3合闸开关04故障YBIT4控制开关21故障YBIT4合闸开关05故障YBIT5控制开关22故障YBIT5合闸开关06故障YBIT6控制开关23故障YBIT6合闸开关07故障YBIT7控制开关24故障YBIT7合闸I段开关跳闸YBIT0合闸II段开关跳闸YBIT0交流通讯故障YBIT1合母总开关跳闸YBIT1直流通讯故障YBIT2电池开关1故障YBIT2电池巡检1通讯故障YBIT3电池开关2故障YBIT3电池巡检2通讯故障YBIT4电池熔断器1故障YBIT4通用检测通讯故障YBIT5电池熔断器2故障YBIT5BIT6电池熔断器3故障YBIT6BIT7直流接地故障YBIT7BIT01#模块通讯故障YBIT09#模块通讯故障YBIT12#模块通讯故障YBIT110#模块通讯故障YBIT23#模块通讯故障YBIT211#模块通讯故障YBIT34#模块通讯故障YBIT312#模块通讯故障YBIT45#模块通讯故障YBIT413#模块通讯故障YBIT56#模块通讯故障YBIT514#模块通讯故障YBIT67#模块通讯故障YBIT615#模块通讯故障YBIT78#模块通讯故障YBIT716#模块通讯故障Y109567812437字节位内容报警字节位内容报警BIT01#模块关机NBIT09#模块关机NBIT12#模块关机NBIT110#模块关机NBIT23#模块关机NBIT211#模块关机NBIT34#模块关机NBIT312#模块关机NBIT45#模块关机NBIT413#模块关机NBIT56#模块关机NBIT514#模块关机NBIT67#模块关机NBIT615#模块关机NBIT78#模块关机NBIT716#模块关机NBIT01#模块故障YBIT09#模块故障YBIT12#模块故障YBIT110#模块故障YBIT23#模块故障YBIT211#模块故障YBIT34#模块故障YBIT312#模块故障YBIT45#模块故障YBIT413#模块故障YBIT56#模块故障YBIT514#模块故障YBIT67#模块故障YBIT615#模块故障YBIT78#模块故障YBIT716#模块故障YBIT0一组01#电池过压YBIT0一组09#电池过压YBIT1一组02#电池过压YBIT1一组10#电池过压YBIT2一组03#电池过压YBIT2一组11#电池过压YBIT3一组04#电池过压YBIT3一组12#电池过压YBIT4一组05#电池过压YBIT4一组13#电池过压YBIT5一组06#电池过压YBIT5一组14#电池过压YBIT6一组07#电池过压YBIT6一组15#电池过压YBIT7一组08#电池过压YBIT7一组16#电池过压YBIT0一组17#电池过压YBIT0一组01#电池过低YBIT1一组18#电池过压YBIT1一组02#电池过低YBIT2一组19#电池过压YBIT2一组03#电池过低YBIT3BIT3一组04#电池过低YBIT4BIT4一组05#电池过低YBIT5BIT5一组06#电池过低YBIT6BIT6一组07#电池过低YBIT7BIT7一组08#电池过低YBIT0一组09#电池过低YBIT0一组17#电池过低YBIT1一组10#电池过低YBIT1一组18#电池过低YBIT2一组11#电池过低YBIT2一组19#电池过低YBIT3一组12#电池过低YBIT3BIT4一组13#电池过低YBIT4BIT5一组14#电池过低YBIT5BIT6一组15#电池过低YBIT6BIT7一组16#电池过低YBIT7111214132019151617188字节位内容报警字节位内容报警BIT0一组01#电池超差YBIT0一组09#电池超差YBIT1一组02#电池
本文标题:上位机通讯协议(RTU)
链接地址:https://www.777doc.com/doc-2808877 .html