1、4.1.3.6 Initial Status Response 2 for MCU 134.1.3.7 Initial Status Request 3 134.1.3.8 Initial Status Response 3 for al175NT 144.1.3.9 Initial Status Response 3 for MCU 144.1.3.10 Initial Status Request 4 154.1.3.11 Initial Status Response 4 for al175NT 154.1.3.12 Initial Status Response 4 for MCU 1
2、54.1.4 Ack_/Nack_/Next_ 164.1.4.1 Ack_ 164.1.4.2 Nack_ 164.1.4.3 Next_ 164.2 Alarm Setup and display 174.2.1 Alarm setup for AL175NT 174.2.2 Alarm setup for MCU 184.3 Battery Boost 214.3.1 Manual boost 214.3.2 Auto boost 214.4 Battery Setup User Definition 224.5 Battery Test Control 224.6 Battery Te
3、st Data Display 234.7 Battery Test Setup 264.7.1 Standard battery test setup 264.7.2 Simplified battery test setup 264.8 Reset Battery Test Results 274.9 Battery Type 274.10 Calibration - Battery Current 284.11 Calibration - Output Voltage 284.12 Calibration Symmetry Voltage 294.13 Calibration - Rec
4、tifier Current 294.14 Calibration - Temperature Compensated Charging 294.15 Charge current limitation 304.16 Display Log 314.17 Edit Site Info 324.17.1 Site Info for al175NT 324.17.2 Site Info for MCU 334.18 Erase Log 344.19 Login Password 344.20 Modem call back setup 344.21 Output Control 354.22 Re
5、set Active Alarms 364.23 Set Levels 364.23.1 Set levels for al175NT 364.23.2 Set levels for MCU 374.24 Set Password 384.25 Set system on/off 394.26 Set Time and Date 394.27 Status polling 404.27.1 Status Response from al175NT 404.27.2 Status Response from MCU 414.28 System Configuration 434.28.1 Sys
6、tem configuration for al175NT 434.28.2 System Configuration for MCU 444.29 Sw Reset 464.30 Temperature compensated charging 474.31 Test Operation Test of alarm relays 474.31.1 Test Relays Command for al175NT 474.31.2 Test Relays Command for MCU 484.32 Edit Configurable Input Text 494.33 Symmetry Mea
7、surement Configuration 504.34 Symmetry Data Display 514.35 Slow Current Walk in Configuration 514.36 Logging of values 525 APPENDIX 545.1 Signal overview, sorted by signal number 545.2 Signal overview, sorted by signal name 56DOCUMENT CHANGE RECORDRev.DatePages affectedNature of revision123.09.2001A
8、llInitial issue. This document is developed from TE-241241.000-B4-1 Pcomm protocol description for AL175/AL4000 PC214.11.2001Changed signal names for spesific MCU messages. General corrections321.01.200210Added new data field in Pong_ message; Protocol Level String, to make Pong_message equal for al
9、l system.402.10.2002Updated Protocol level in Pong-message from 2 to 3. New messages (SymmetryCfg, Symmetry Monitor and SetPar2Cfg message) and additional fields in existing messages for version 2.0 of 402040.003. Renamed BattSymm1CalCmd_ to BattSymmCalCmd_524.03.200310,19,40Added one extra alarm in
10、 AlCfg and StatusRsp. Updated Protocol level in Pong-message from 3 to 4. 603.06.2003Changed ConfInp1-5Enable. Updated Protocol level in Pong-message from 4 to 5.727.06.2003Updated Protocol level in Pong-message from 5 to 6. Added new messages;SlowCurrWalkInCfg, ValueLogResetCmd, ValueLogReq and Val
11、ueLogRsp. 821.11.2003Updated Protocol level in Pong-message from 6 to 7. Added new messages: TestInfoReq2_, TestInfoRsp2_, TestInfoReset_, SimplifiedTestCfg_ AlCfgPLUS2_, SystemCfgPLUS2_.1 Introduction 1.1 Scope and field of applicationThis document describes the protocols used between:WinPower (pCo
12、mm Protocol) AL175NTWinPower (pComm Protocol) MCU1.2 PurposeThe purpose of this document is to specify the message sequences and message definitions used in the communication protocol between the WinPower pc application and AL175NT/MCU power supply system. The messages that are similar for the two s
13、ystems have the same signal number. When MCU was developed, some changes was done in the pcomm protocol. All the messages that were changed resulted in a double set of messages (different signal numbers and data values in al175NT and MCU) for that particular command. All the changes (expandation of
14、existing messages and new messages). The messages in MCU that differs from the messages in al175NT have got new signal numbers, and the messages for al175NT have kept the old signal numbers to keep the Winpower system compatible with old al175NT systems. Changes between the two systems are marked in
15、 the data fields with light grey. 1.3 Definitions and AbbreviationsMDU Modular Distribution UnitMSC Message Sequence ChartsOSI Open Systems Interconnection pComm Power System CommunicationsPRS Power Rack SystemTTL Transistor - Transistor Logic1.4 References2 Document overviewThe first part of this d
16、ocument describes the message sequences between the different modules in general, then a detailed signal description of each message is following. 2.1 GeneralThe pComm protocol TBDThe voltage ranges specified in some of the messages, are defined with respect to 48V systems. To calculate the same ran
17、ges for different systems the following conversion has to be done: - 24V system : Divide by 2- 12V system : Divide by 4- 60V system: Multiply by 5/4Example 48V system:DataHiAlarmWORD5000-6000d High Battery alarm (V) *Example 24V system:2500-3000d The software in AL175 can not store floating point va
18、riables. To deal with this, the variables that require better solution are multiplied by a factor of nx10, where n is the number of decimal points. These places are noted with one * pr decimal.2.1.1 Bits and byte orderThe order of bits and bytes is common for the different message definitions.The tr
19、ansmitted messages will have the following order of the bit and bytes:Bit 0-7 will contain the least significant byteBit 8-16 will contain the most significant bytemsb lsb msb lsb15141312119Most significant byte least significant byte Transmitted first3 General Message FORMATS3.1 PC-LinkAll messages
20、 sent from the pc application to AL175NT/MCU and reverse have a standard message format.First SOH (1 byte) then a message Header (6 bytes), next a Data part (varying size) and last a Control field (2 bytes).The SOH byte is not specified in the headers later in this document. The header is 7 bytes to
21、tally.HeaderControlSOHFCDASALengthSTXData (255 bytes max)FCSSOH = Code 01h for Start Of HeaderLength = Length of user data fieldFC = Frame ControlSTX = ASCII 02h, used for synchronizationDA = Destination AddressFCS = Frame Check Sequence, CRC (16 bit)SA = Source AddressSignal:SignalName_PC-LinkClass
22、NameTypePositionRangeDescriptionValueFrameBit 0-700-FFSignal number in hexBit 8-110-FQuality of signal (QoS)Bit 8=0:UnacknowledgeBit 8=1: AcknowledgeBit 9=0: Without dataBit 9=1: With dataBit 10=0: Priority queueBit 10=1: Imm. Resp.Bit 11: Not usedBit 12-15Priority2h = High8h = NormalDh = LowBYTEDes
23、tination address (DA)WinPowerAL175NTAL4000MCUSource address (SA)Length of user data field in bytes.Max number of bytes: 255ASCII 02h, used for synch.02hData 7-nSignal no of the responded msgn-n+20000-FFFFFrame Check Sequence (FCS)3.1.1 Frame Control (FC)The frame control field is a two byte large bi
24、nary encoded field used for identifying the signal primitive, priority and quality of signal.15-1211-87-0Priority 0-FQoS 0-FSignal 00-FFPriority = Priority sequence, 0h highest, Fh lowest (values 2, 8, D)QoS = Quality of Signal, Acknowledged, Immediate response etc.Signal = Signal identifier3.1.1.1
25、PriorityThe following priorities are used:High = 2hNormal = 8hLow = DhBy default priority is “Normal”.3.1.1.2 Quality of signal (QoS)The quality of signal parameter indicates how to operate on the data when receiving a message frame.Bit 3Acknowledge = 1, Unacknowledge = 0Bit 2With data = 1, Without
26、data = 0Bit 1Immediate response (destructive) = 1, Priority queue = 0Bit 0Reserved for later implementationsThe Immediate response QoS will trigger destructive mode. This will imply that queued entries with same priority will be destroyed.Initially we will not use the QoS bits and this word will be hardcoded to 0 (zero).That means Quality of Signal will be: Unacknowledge = 0 Without data = 0 Priority queue = 03.1.1.3 Signal identifierThe signal identifier parameters are listed in chapter 4.33 3.1.2 Address (SA, DA)Addresses are represented as 8-bit ShortInt/Byte, with ranges from 1 to
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1