电源协议pComm Protocol DescriptionmcuWord文件下载.docx

上传人:b****7 文档编号:22103038 上传时间:2023-02-02 格式:DOCX 页数:127 大小:73.55KB
下载 相关 举报
电源协议pComm Protocol DescriptionmcuWord文件下载.docx_第1页
第1页 / 共127页
电源协议pComm Protocol DescriptionmcuWord文件下载.docx_第2页
第2页 / 共127页
电源协议pComm Protocol DescriptionmcuWord文件下载.docx_第3页
第3页 / 共127页
电源协议pComm Protocol DescriptionmcuWord文件下载.docx_第4页
第4页 / 共127页
电源协议pComm Protocol DescriptionmcuWord文件下载.docx_第5页
第5页 / 共127页
点击查看更多>>
下载资源
资源描述

电源协议pComm Protocol DescriptionmcuWord文件下载.docx

《电源协议pComm Protocol DescriptionmcuWord文件下载.docx》由会员分享,可在线阅读,更多相关《电源协议pComm Protocol DescriptionmcuWord文件下载.docx(127页珍藏版)》请在冰豆网上搜索。

电源协议pComm Protocol DescriptionmcuWord文件下载.docx

4.1.3.6InitialStatusResponse2forMCU13

4.1.3.7InitialStatusRequest313

4.1.3.8InitialStatusResponse3foral175NT14

4.1.3.9InitialStatusResponse3forMCU14

4.1.3.10InitialStatusRequest415

4.1.3.11InitialStatusResponse4foral175NT15

4.1.3.12InitialStatusResponse4forMCU15

4.1.4Ack_/Nack_/Next_16

4.1.4.1Ack_16

4.1.4.2Nack_16

4.1.4.3Next_16

4.2AlarmSetupanddisplay17

4.2.1AlarmsetupforAL175NT17

4.2.2AlarmsetupforMCU18

4.3BatteryBoost21

4.3.1Manualboost21

4.3.2Autoboost21

4.4BatterySetupUserDefinition22

4.5BatteryTestControl22

4.6BatteryTestDataDisplay23

4.7BatteryTestSetup26

4.7.1Standardbatterytestsetup26

4.7.2Simplifiedbatterytestsetup26

4.8ResetBatteryTestResults27

4.9BatteryType27

4.10Calibration-BatteryCurrent28

4.11Calibration-OutputVoltage28

4.12Calibration–SymmetryVoltage29

4.13Calibration-RectifierCurrent29

4.14Calibration-TemperatureCompensatedCharging29

4.15Chargecurrentlimitation30

4.16DisplayLog31

4.17EditSiteInfo32

4.17.1SiteInfoforal175NT32

4.17.2SiteInfoforMCU33

4.18EraseLog34

4.19LoginPassword34

4.20Modemcallbacksetup34

4.21OutputControl35

4.22ResetActiveAlarms36

4.23SetLevels36

4.23.1Setlevelsforal175NT36

4.23.2SetlevelsforMCU37

4.24SetPassword38

4.25Setsystemon/off39

4.26SetTimeandDate`39

4.27Statuspolling40

4.27.1StatusResponsefromal175NT40

4.27.2StatusResponsefromMCU41

4.28SystemConfiguration43

4.28.1Systemconfigurationforal175NT43

4.28.2SystemConfigurationforMCU44

4.29SwReset46

4.30Temperaturecompensatedcharging47

4.31TestOperation–Testofalarmrelays47

4.31.1TestRelaysCommandforal175NT47

4.31.2TestRelaysCommandforMCU48

4.32EditConfigurableInputText49

4.33SymmetryMeasurementConfiguration50

4.34SymmetryDataDisplay51

4.35SlowCurrentWalkinConfiguration51

4.36Loggingofvalues52

5APPENDIX54

5.1Signaloverview,sortedbysignalnumber54

5.2Signaloverview,sortedbysignalname56

DOCUMENTCHANGERECORD

Rev.

Date

Pagesaffected

Natureofrevision

1

23.09.2001

All

Initialissue.ThisdocumentisdevelopedfromTE-241241.000-B4-1PcommprotocoldescriptionforAL175/AL4000–PC

2

14.11.2001

ChangedsignalnamesforspesificMCUmessages.Generalcorrections

3

21.01.2002

10

AddednewdatafieldinPong_message;

ProtocolLevelString,tomakePong_messageequalforallsystem.

4

02.10.2002

UpdatedProtocollevelinPong-messagefrom2to3.Newmessages(SymmetryCfg,SymmetryMonitorandSetPar2Cfgmessage)andadditionalfieldsinexistingmessagesforversion2.0of402040.003.RenamedBattSymm1CalCmd_toBattSymmCalCmd_

5

24.03.2003

10,19,40

AddedoneextraalarminAlCfgandStatusRsp.UpdatedProtocollevelinPong-messagefrom3to4.

6

03.06.2003

ChangedConfInp1-5Enable.UpdatedProtocollevelinPong-messagefrom4to5.

7

27.06.2003

UpdatedProtocollevelinPong-messagefrom5to6.Addednewmessages;

SlowCurrWalkInCfg,ValueLogResetCmd,ValueLogReqandValueLogRsp.

8

21.11.2003

UpdatedProtocollevelinPong-messagefrom6to7.Addednewmessages:

TestInfoReq2_,TestInfoRsp2_,TestInfoReset_,SimplifiedTestCfg_AlCfgPLUS2_,SystemCfgPLUS2_.

1Introduction

1.1Scopeandfieldofapplication

Thisdocumentdescribestheprotocolsusedbetween:

WinPower(pCommProtocol)–AL175NT

WinPower(pCommProtocol)–MCU

1.2Purpose

ThepurposeofthisdocumentistospecifythemessagesequencesandmessagedefinitionsusedinthecommunicationprotocolbetweentheWinPowerpcapplicationandAL175NT/MCUpowersupplysystem.

Themessagesthataresimilarforthetwosystemshavethesamesignalnumber.WhenMCUwasdeveloped,somechangeswasdoneinthepcommprotocol.Allthemessagesthatwerechangedresultedinadoublesetofmessages(differentsignalnumbersanddatavaluesinal175NTandMCU)forthatparticularcommand.Allthechanges(expandationofexistingmessagesandnewmessages).ThemessagesinMCUthatdiffersfromthemessagesinal175NThavegotnewsignalnumbers,andthemessagesforal175NThavekepttheoldsignalnumberstokeeptheWinpowersystemcompatiblewitholdal175NTsystems.Changesbetweenthetwosystemsaremarkedinthedatafieldswithlightgrey.

1.3DefinitionsandAbbreviations

MDUModularDistributionUnit

MSCMessageSequenceCharts

OSIOpenSystemsInterconnection

pCommPowerSystemCommunications

PRSPowerRackSystem

TTLTransistor-TransistorLogic

1.4References

2Documentoverview

Thefirstpartofthisdocumentdescribesthemessagesequencesbetweenthedifferentmodulesingeneral,thenadetailedsignaldescriptionofeachmessageisfollowing.

2.1General

ThepCommprotocol[TBD]

Thevoltagerangesspecifiedinsomeofthemessages,aredefinedwithrespectto48Vsystems.Tocalculatethesamerangesfordifferentsystemsthefollowingconversionhastobedone:

-24Vsystem:

Divideby2

-12Vsystem:

Divideby4

-60Vsystem:

Multiplyby5/4

Example48Vsystem:

Data

HiAlarm

WORD

5000-6000d

HighBatteryalarm(V)**

Example24Vsystem:

2500-3000d

ThesoftwareinAL175cannotstorefloatingpointvariables.Todealwiththis,thevariablesthatrequirebettersolutionaremultipliedbyafactorofnx10,wherenisthenumberofdecimalpoints.Theseplacesarenotedwithone*prdecimal.

2.1.1Bitsandbyteorder

Theorderofbitsandbytesiscommonforthedifferentmessagedefinitions.

Thetransmittedmessageswillhavethefollowingorderofthebitandbytes:

Bit0-7willcontaintheleastsignificantbyte

Bit8-16willcontainthemostsignificantbyte

msblsbmsblsb

15

14

13

12

11

9

Mostsignificantbyte

leastsignificantbyte

Transmittedfirst

3GeneralMessageFORMATS

3.1PC-Link

AllmessagessentfromthepcapplicationtoAL175NT/MCUandreversehaveastandardmessageformat.

FirstSOH(1byte)thenamessageHeader(6bytes),nextaDatapart(varyingsize)andlastaControlfield(2bytes).

TheSOHbyteisnotspecifiedintheheaderslaterinthisdocument.Theheaderis7bytestotally.

Header

Control

SOH

FC

DA

SA

Length

STX

Data(255bytesmax)

FCS

SOH=Code01hforStartOfHeader

Length=Lengthofuserdatafield

FC=FrameControl

STX=ASCII02h,usedforsynchronization

DA=DestinationAddress

FCS=FrameCheckSequence,CRC(16bit)

SA=SourceAddress

Signal:

SignalName_

PC-Link

Class

Name

Type

Position

Range

Description

Value

Frame

Bit0-7

00-FF

Signalnumberinhex

Bit8-11

0-F

Qualityofsignal(QoS)

Bit8=0:

Unacknowledge

Bit8=1:

Acknowledge

Bit9=0:

Withoutdata

Bit9=1:

Withdata

Bit10=0:

Priorityqueue

Bit10=1:

Imm.Resp.

Bit11:

Notused

Bit12-15

Priority

2h=High

8h=Normal

Dh=Low

BYTE

Destinationaddress(DA)

WinPower

AL175NT

AL4000

MCU

Sourceaddress(SA)

Lengthofuserdatafieldinbytes.

Maxnumberofbytes:

255

ASCII02h,usedforsynch.

02h

Data

7-n

Signalnooftherespondedmsg

n-n+2

0000-FFFF

FrameCheckSequence(FCS)

3.1.1

FrameControl(FC)

Theframecontrolfieldisatwobytelargebinaryencodedfieldusedforidentifyingthesignalprimitive,priorityandqualityofsignal.

15-12

11-8

7-0

Priority0-F

QoS0-F

Signal00-FF

Priority=Prioritysequence,0hhighest,Fhlowest(values2,8,D)

QoS=QualityofSignal,Acknowledged,Immediateresponseetc.

Signal=Signalidentifier

3.1.1.1Priority

Thefollowingprioritiesareused:

High=2h

Normal=8h

Low=Dh

Bydefaultpriorityis“Normal”.

3.1.1.2Qualityofsignal(QoS)

Thequalityofsignalparameterindicateshowtooperateonthedatawhenreceivingamessageframe.

Bit3

Acknowledge=1,Unacknowledge=0

Bit2

Withdata=1,Withoutdata=0

Bit1

Immediateresponse(destructive)=1,Priorityqueue=0

Bit0

Reservedforlaterimplementations

TheImmediateresponseQoSwilltriggerdestructivemode.Thiswillimplythatqueuedentrieswithsameprioritywillbedestroyed.

InitiallywewillnotusetheQoSbitsandthiswordwillbehardcodedto0(zero).

ThatmeansQualityofSignalwillbe:

Unacknowledge=0

Withoutdata=0

Priorityqueue=0

3.1.1.3Signalidentifier

Thesignalidentifierparametersarelistedinchapter4.33

3.1.2Address(SA,DA)

Addressesarerepresentedas8-bitShortInt/Byte,withrangesfrom1to

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 解决方案 > 学习计划

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1