C1K(S)-3C20KS-RS232通讯协议

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

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

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

资源描述

1OF1UPSRS2322OF2Hardware:BAUDRATE............:2400bpsDATALENGTH.........:8bitsSTOPBIT..............:1bitsPARITY...............:NONEA.COMMUNICATIONPROTOCOL:1StatusInquiry:Computer:QcrUPS:UPSstatusdatastream,suchasMMM.MNNN.NPPP.PQQQRR.RS.SSTT.TUcrUPSstatusdatastream:(a)Startbyte:((b)I/Pvoltage:MMM.MMisanintegernumberrangingfrom0to9.TheunitisVolt.(c)I/Pfaultvoltage:NNN.NNisanintegernumberrangingfrom0to9.TheunitisVolt.**ForONLINEUPS**ItspurposeistoidentifyashortdurationutilityfailwhichcauseONlineUPStogotoBatterymode.Ifthisoccursinputvoltagewillappearnormalatquerypriortofailandwillstillappearnormalatnextquery.TheI/Pfaultvoltagewillholdutilityfailvoltagetillnextquery.Afterquery,theI/PvoltagewillbesameasI/Pvoltageuntilnextutilityfailoccurs.(d)O/Pvoltage:PPP.PPisanintegernumberrangingfrom0to9.TheunitisVolt.(e)O/Pload:QQQForOff-lineUPS:QQQisapercentofmaximumVA,notanabsolutevalue.ForOn-lineUPS:QQQismaximumofW%orVA%.VA%isapercentofmaximumVA.W%isapercentofmaximumrealpower.3OF3(f)I/Pfrequency:RR.RRisanintegernumberrangingfrom0to9.TheunitisHZ.(g)Batteryvoltage:SS.SorS.SSSisanintegernumberrangingfrom0to9.Foron-lineunitsbatteryvoltage/cellisprovidedintheformS.SS.ForstandbyunitsactualbatteryvoltageisprovidedintheformSS.S.UPStypeinUPSstatuswilldeterminewhichreadingwasobtained.(h)Temperature:TT.TTisanintegernumberrangingfrom0to9.Theunitisdegreeofcentigrade.(i)UPSStatus:UUisonebyteofbinaryinformationsuchasb7b6b5b4b3b2b1b0.Wherebnisabinarynumber0or1.UPSstatus:BitRemarks71:UtilityFail(Immediate)61:BatteryLow51:Bypass/BoostActive41:UPSFailed31:UPSTypeisStandby(0isOn-line)21:TestinProgress11:ShutdownActive0Reserved(always0)(j)StopByte:crExample:Computer:QcrUPS:(208.4140.0208.403459.92.0535.0UcrLetUis00110000Means:I/Pvoltageis208.4V.I/Pfaultvoltageis140.0V.4OF4O/Pvoltageis208.4V.O/Ploadis34%.I/Pfrequencyis59.9HZ.Batteryvoltageis2.05V.Temperatureis35.0degreesofcentigrade.UPStypeison-line,UPSfailed,Bypassactive,andShutdownnotactive.(2)StatusInquiry:Computer:Q1crUPS:UPSstatusdatastream,suchas(MMM.MNNN.NPPP.PQQQRR.RS.SSTT.Tb7b6b5b4b3b2b1b0crThebinarycodeismodifiedto8bytesASCIIcodeforavoidingthebinarycodeconfusedwithASCIIcontrolcode.Betweeneachdatastreamaddonespaceforthedataseparation.Example:Computer:Q1crUPS:(208.4140.0208.403459.92.0535.000110000crMeans:I/Pvoltageis208.4V.I/Pfaultvoltageis140.0V.O/Pvoltageis208.4V.O/Ploadis34%.I/Pfrequencyis59.9HZ.Batteryvoltageis2.05V.Temperatureis35.0degreesofcentigrade.UPStypeison-line,UPSfailed,Bypassactive,andShutdownnotactive.ShutDownCommand:Computer:SncrUPS:ShutUPSoutputoffinnminutes.(a)TheUPSoutputwillbeoffinnminutes,eveniftheutilityispresent.(b)Butifthebatteryunderoccurbeforenminutes,theoutputisturnedoffimmediately.(c)AfterUPSshutdown,thecontrollerofUPSmonitorstheutility.Iftheutilityisthere,theUPSwillwaitingfor10secondsandconnecttheutilitytooutput.(d)nisanumberrangingfrom.2,.3,...,01,02,..,to10.Forexample:S.3cr---shutoutputoffin(.3)minutes

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

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

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

×
保存成功