Download User manual for the MODBUS TCP INTERFACE DELPHYS MP & elite
Transcript
User manual for the MODBUS TCP INTERFACE DELPHYS MP & elite - DELPHYS MX & elite UPS/NTA GB/MODBUS TCP.AA 31/10/2006 MODBUS TCP FOREWORD We thank you for the trust you have in Socomec Sicon's Uninterruptible Power Systems. This equipment is fitted with up to date technology and power semiconductors (IGBT) including a digital microcontroller. Our equipment complies with standard IEC EN 62040-2. CAUTION: “This is a product for restricted sales distribution to informed partners. Installation restrictions or additional measures may be needed to prevent disturbances”. SOCOMEC SICON UPS reserves the right to make any changes to data without prior notice. SAFETY REQUIREMENTS Using conditions: Do read carefully this manual before using. Whatever the repairs, they must be made only by authorised staffs which have been suitably trained. UPS using conditions Respect the safety requirements. Do read carefully the operating instructions of the UPS prior to any intervention. For an optimal operation, it is recommended to maintain the ambient temperature and humidity of the UPS environment below the values specified by the manufacturer. This equipment meets the requirements of the European directives applied to this product. As a consequence, it is labelled as follows: ENVIRONMENT CONCERNED REGULATION Recycling of electrical products and equipment Provision is made in European countries to break up and recycle materials making up the system. The various components must be disposed of in accordance with the legal provisions in force in the country where the system is installed. UPS/NTA GB/MODBUSTCP.A Page 1 / 26 MODBUS TCP CONTENTS FOREWORD ................................................................................................................................................................1 SAFETY REQUIREMENTS..........................................................................................................................................1 ENVIRONMENT CONCERNED REGULATION ..........................................................................................................1 1. INTRODUCTION ......................................................................................................................................................3 2. INSTALLATION OF THE MODBUS TCP PCB ........................................................................................................4 3. DEFAULT SETTING OF THE MODBUS TCP INTERFACE....................................................................................7 4. MODBUS TCP DATA MAP IN A SINGLE UNIT ......................................................................................................8 5. MODBUS TCP DATA MAP IN PARALLEL SYSTEMS ..........................................................................................15 ANNEXE 1: SETTING OF THE INTERFACE USING DIGI DEVICE DICOVERY© ..................................................23 ANNEXE 2: MODBUS TCP IDA SPECIFICATION ....................................................................................................26 UPS/NTA GB/MODBUSTCP.A Page 2 / 26 MODBUS TCP 1. INTRODUCTION General DELPHYS MX and DELPHYS MP equipment can be provided with a MODBUS TCP type interface for direct UPS connection to the Ethernet. This manual describes the features of the connection as well as the data available through the network. Ethernet Interface The interface proposes 2 types of connection: - the « real port »mode, for which the host detects the communication as a standard serial port. - the full TCP mode as per specifications « modbus-ida ». This document does not describe the way the MODBUS TCP protocol is managed. For further details, please visit the official website www.modbus-ida.org. A summary of IDA specifications can be found at the end of the document. The MODBUS TCP protocol for DELPHYS MX and MP equipment uses Input Registers -3- with a 16 bit coding for data reading and Write single Registers -6- for UPS management. The data field is composed of words with a most significant byte (MSB) and a less significant byte (LSB) read as follows: DATA (WORD) MSB b7 b15 LSB b0 b7 b0 b0 Data decoding Binary data They consist of the status and alarms of the UPS. Each bit of each word corresponds to a data. When set at 1 in a word, the bit means the status or alarm is active. Analogue data (measurement and counter data) They consist of a 16-bit word. Some values are expressed in decimals bearing a sign or not (i.e. 0 to 65535 or -32767 to 32767) or in hexadecimal coding (0x0000 to 0xFFFF). UPS/NTA GB/MODBUSTCP.A Page 3 / 26 MODBUS TCP 2. INSTALLATION OF THE MODBUS TCP PCB Location of the com-slots The « com-slots » includes all communication interfaces and is located in the lower right corner of the UPS. Slots 5 and 6 are dedicated to MODBUS TCP interfaces. Slots 1 to 4 are used for alarm transfer PCBs (ADC) including 3 input and 4 output data that are settable. Installation of the MODBUS TCP interface The interface must first be installed in the appropriate slot and fastened to the « com-slots » using 2 screws. DELPHYS MX and DELPHYS MP can include 2 independent MODBUS TCP interfaces. JBUS interface in a parallel system There is only one MODBUS TCP interface in a parallel system. It is not necessary to add an interface in the « com-slots » of the UPS units or modules. Data related to modules or UPS units can be accessed using a specific addressing 1. 1 Please refer to section 5 UPS/NTA GB/MODBUSTCP.A Page 4 / 26 MODBUS TCP Setting by default of the serial connection (compulsory step) Baudrate: Parity: Data: Stop: Slave: 9600 bauds none 8 bits 1 bit 1 Serial connection parameters are programmed using the control panel o the graphic touch screen. If this function can not be accessed, default parameters are then used. The connection must be set as conditions mentioned above. If need be, the configuration can be modified through the user interface. Configuration screen of the control panel J B U S P R O G R A MM I N G 1 b a u d r a t e : 9 6 0 0 p a r i t y : N O N E s l a v e : 0 0 1 C O N N E C T I O N Ð Select the appropriate field using the ENTER key. It is also used for accessing the configuration of the second connection. Parameters are selected using the upward and downward scrolling keys. Configuration screen of the graphic touch screen: Parameters of MODBUS TCP 1 are affected to the interface installed in slot 5. Parameters of MODBUS TCP 2 are affected to the interface installed in slot 6. The activation of serial connections is programmed by the Servicing department during UPS commissioning or PCB installation. UPS/NTA GB/MODBUSTCP.A Page 5 / 26 MODBUS TCP Description of LEDs Yellow LED RJ45: ON: Blinking: OFF: Line detected Searching line (If any WiFi option) No EThernet line Green LED RJ45: ON: OFF: Blinking: No traffic MODBUS TCP Traffic Interface green LED TX ON: when transmitting data Interface green LED RX ON: when receiving data LED 5V iso Interface live Features IEEE 802.3 10/100Base-T 10/100Mbps (auto sensing) mode Half-duplex & Full-duplex (auto sensing) RJ-45 UPS/NTA GB/MODBUSTCP.A Page 6 / 26 MODBUS TCP 3. DEFAULT SETTING OF THE MODBUS TCP INTERFACE Default setting DHCP mode by default. No IP address set by default Mode MODBUS TCP Port TCP 502 Configuration software Configuration tools are to be installed on a PC with WINDOWS. The setup programme is on the CD provided with the interface. A new programme group has been created. Searching the UPSs connected to the Ethernet The utility program « Digi Device Discovery » is for viewing the IP and MAC addresses of each UPS. Accessing http pages Data related to connection and module setting can be accessed using the web interface. The « home page » can be opened either by means of the « Discovery » utility or the Internet browser by selecting the IP address indicated by the « Discovery »utility. Access to pages is protected by a « login » and a password. Login by default: root Password: dbps Downloading firmware By default the module is programmed with the firmware for the MODBUS TCP function. In case of « real port » mode, the firmware on the CD must first be downloaded. For any other configurations, please refer to the DIGI® manual available on the CD. UPS/NTA GB/MODBUSTCP.A Page 7 / 26 MODBUS TCP 4. MODBUS TCP DATA MAP IN A SINGLE UNIT General data map § DATA MAP 1 2 3 4 5 6 7 8 UPS Identification Date and time of UPS UPS configurations Status (96 bits) Alarms (64 bits) Measurements Commands Permission Commands Start register Hexa Decimal 0x1000 4096 0x1360 4960 0x10E0 4320 0x1020 4128 0x1040 4160 0x1060 4192 0x15C0 5568 0x15B0 5552 Length in words 12 4 32 6 4 48 2 1 JBUS Function function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) 6 write register How to read data: Identification, status and alarm data maps must be read completely (start register and length in words). Measurement data map can be read word by word or by set of words, but without exceeding the length of the data map (from 0x1060 to 0x108F). Incoming data structure: Example with 6 words 1 2 3 4 MSB 0 LSB 0 MSB 1 WORD 0 LSB 1 5 6 7 8 9 10 11 12 MSB 2 LSB 2 MSB 3 LSB 3 MSB 4 LSB 4 MSB 5 LSB 5 WORD 1 WORD 2 WORD 3 WORD 4 WORD 5 b15 b0 b15 b0 b15 b0 b15 b0 b15 b0 b15 S15 A15 S00 A00 S31 A31 S16 A16 S47 A47 S32 A32 S63 A63 S48 A48 S79 S64 S95 M00 M01 M02 M03 M04 b0 S80 M05 (Snn index of status, Ann index of alarms, Mnn index of measurements) ‘Concentrator Mode’ in a parallel system The MODBUS TCP data map above can also be used in a parallel system. Binary data of each module or UPS unit are indeed combined to get a "virtual" single system. Logic combination ‘OR’ is used except for data S00, S05, S15, A02, A07 and A31 that are defined in a different way depending on the redundancy conditions of the parallel system Binary data S00 S05 S15 A02 A07 A31 UPS/NTA GB/MODBUSTCP.A Logic combination in a redundant system OR AND AND AND AND AND Logic combination in a non redundant system AND OR OR OR OR OR Page 8 / 26 MODBUS TCP UPS IDENTIFICATION: Start register 0x1000, 12 word reading CODE DESCRIPTION ADDRESS Data type UPS CODE Number of words 1 word I00 0x1000 Digital value I01 UPS power 1 word 0x1001 Digital value I02 I03 Number of module Serial number over 10 characters 1 word 5 words 0x1002 0x1003 Digital value 1 word = 2 ASCII codes 1 1 1 1 0x1008 0x1009 0x100A 0x100B I04 I05 I06 I07 Not Not Not Not used used used used word word word word 0 0 0 0 by by by by Comments 515 = DELPHYS MX 516 = DELPHYS MX elite In kVA * 10 5000 for a 500kVA UPS 1 LSB = 1st character MSB = 2nd character Code of origin:CCCCCCAaYYYXXXXXXNNn Code read:aXXXXXNNn default default default default DATE & TIME OF THE UPS: Start register 0x1360, 4 word reading CODE DESCRIPTION ADDRESS Type Minutes / seconds Number of words 1 D00 Comments 0x1360 Byte value D01 Hours / day 1 0x1361 Byte value D02 Month / day of the week 1 0x1362 Byte value D03 Year 1 0x1363 Direct value MSB = minutes LSB = seconds MSB = day LSB = hours MSB = month LSB = day of the week 1=Monday 7=Sunday 00 = 2000 UPS CONFIGURATION: Start register 0x10E0, 32 word reading Code T00 T01 T02 T03 T04 T05 T06 TO7 T08 T09 T10 T11 T12 T13 DESCRIPTION Nominal start input voltage Nominal start output voltage Nominal input frequency Nominal output frequency Version T14 Redundancy level T15 T16 .. T31 Reserved Nominal battery capacity Number of battery elements Reserved Reserved Reserved Working mode Unit V V Hz Hz whole* 100 Ah * 10 Bit field value ADDRESS 0x10E0 0x10E1 0x10E2 0x10E3 0x10E4 0x10E5 0x10E6 0x10E7 0x10E8 0x10E9 0x10EA 0x10EB 0x10EC 0x10ED 0x10EE 0x10EF 0x10F0 COMMENTS 100 = V1.00 3000 = 300Ah Value set at 0xFFFF (-1) Value set at 0xFFFF (-1) b0 = not used b1 = with battery b2 = Gen Set present b3 = ’energy saver’ enabled 0 = without 1 = N+1 100 Value set at 0xFFFF (-1) Reserved UPS/NTA GB/MODBUSTCP.A 0x10FF Page 9 / 26 MODBUS TCP STATUS DATA MAP: Start register 0x1020, 6 word reading CODE S00 S01 S02 S03 S04 S05 S06 S07 S08 S09 S10 S11 S12 S13 S14 S15 DESCRIPTION Rectifier input supply ON Inverter ON Rectifier ON Load protected by inverter Load on automatic bypass Load on battery Remote controls disabled Eco-mode ON S16 S17 S18 S19 S20 S21 S22 S23 S24 S25 S26 S27 S28 S29 S30 S31 S32 S33 S34 S35 S36 S37 S38 S39 S40 S41 S42 S43 S44 S45 S46 S47 S48 S49 S50 S51 S52 S53 S54 S55 S56 S57 S58 S59 S60 S61 S62 S63 Battery test programming enabled Battery test failed Battery discharged BIT 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ADDRESS 0x1020 0x1020 0x1020 0x1020 0x1020 0x1020 0x1020 0x1020 0x1020 0x1020 0x1020 0x1020 0x1020 0x1020 0x1020 0x1020 Battery near end of back up time Battery OK 0 1 0x1021 0x1021 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0x1021 0x1021 0x1021 0x1021 0x1021 0x1021 0x1021 0x1021 0x1021 0x1021 0x1021 0x1021 0x1021 0x1021 0x1022 0x1022 0x1022 0x1022 0x1022 0x1022 0x1022 0x1022 0x1022 0x1022 0x1022 0x1022 0x1022 0x1022 0x1022 0x1022 0x1023 0x1023 0x1023 0x1023 0x1023 0x1023 0x1023 0x1023 0x1023 0x1023 0x1023 0x1023 0x1023 0x1023 0x1023 0x1023 Bypass input supply ON Battery charge activated Rectifier input frequency out of tolerance UPS in parallel configuration Unit operating (available or connected) Auxiliary input 1 activated Auxiliary input 2 activated Auxiliary input 3 activated Auxiliary input 4 activated Commands control table Operating on Emergency Get Maintenance mode activated End of first maintenance period COMMENTS 0 = controls enabled if function available IMMINENT stop and end of back up time No alarm and battery circuit closed Set at 1 Set at 0 in single systems IN1 ADC IN2 ADC IN3 ADC IN1 ADC At 1 PCB PCB PCB PCB slot slot slot slot 1 or 2 1 or 2 1 or 2 3 …/… UPS/NTA GB/MODBUSTCP.A Page 10 / 26 MODBUS TCP …/… CODE S64 S65 S66 S67 S68 S69 S70 S71 S72 S73 S74 S75 S76 DESCRIPTION Boost charge ON Inverter switch closed Bypass breaker closed Maintenance bypass breaker closed General maintenance bypass breaker closed Output breaker closed Q21 closed Q22 closed Unit operating Normal Mode ON S77 S78 S79 S80 S81 S82 S83 S84 S85 S86 S87 S88 S89 S90 S91 S92 S93 S94 S95 BIT 0 1 2 3 4 5 6 7 8 9 10 11 12 ADDRESS 0x1024 0x1024 0x1024 0x1024 0x1024 0x1024 0x1024 0x1024 0x1024 0x1024 0x1024 0x1024 0x1024 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0x1024 0x1024 0x1024 0x1025 0x1025 0x1025 0x1025 0x1025 0x1025 0x1025 0x1025 0x1025 0x1025 0x1025 0x1025 0x1025 0x1025 0x1025 0x1025 COMMENTS Either on inv or bypass No Eco-mode or ‘energysaver’ Status with no description are not managed by DELPHYS MX. UPS/NTA GB/MODBUSTCP.A Page 11 / 26 MODBUS TCP ALARM DATA MAP: Start register 0x1040, 4 word reading CODE A00 DESCRIPTION General alarm BIT 0 ADDRESS 0x1040 A01 Battery failure 1 0x1040 A02 A03 A04 A05 A06 A07 A08 A09 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 A20 A21 A22 A23 A24 A25 A26 A27 A28 A29 A30 A31 A32 A33 A34 A35 A36 A37 A38 A39 A40 A41 A42 A43 A44 A45 A46 A47 A48 A49 A50 A51 A52 A53 A54 A55 A56 A57 A58 A59 A60 A61 A62 A63 UPS overload 2 0x1040 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0x1040 0x1040 0x1040 0x1040 0x1040 0x1040 0x1040 0x1040 0x1040 0x1040 0x1040 0x1040 0x1041 0x1041 0x1041 0x1041 0x1041 0x1041 0x1041 0x1041 0x1041 0x1041 0x1041 0x1041 0x1041 0x1041 0x1041 0x1041 0x1042 0x1042 0x1042 0x1042 0x1042 0x1042 0x1042 0x1042 0x1042 0x1042 0x1042 0x1042 0x1042 0x1042 0x1042 0x1042 0x1043 0x1043 0x1043 0x1043 0x1043 0x1043 0x1043 0x1043 0x1043 0x1043 0x1043 0x1043 0x1043 0x1043 0x1043 0x1043 Control failure (electronic, com, supply…) Rectifier input supply out of tolerance Bypass input supply out of tolerance Temperature out of tolerance Maintenance bypass closed Battery charger failure Improper condition of use (maintenance BYP alarm) Overload timeout blocking inverter Microprocessor control system failure PLL fault Rectifier input supply fault Rectifier general alarm Inverter general alarm Battery charger general alarm Bypass general alarm Imminent stop General alarm Unit 1 External alarm e-Service Servicing alarm Automatic and manual transfer disabled Automatic transfer disabled Battery room alarm Maintenance bypass alarm Battery discharged Synoptic and options general alarm Rectifier fault – critical alarm Inverter fault – critical alarm ESD activated Battery circuit open By-pass fault COMMENTS Activated if at least one alarm is present battery failure, technical plant, circuit open Critical alarm ctrl PCB Ambient temperature Q5 closed Q3 and Q5 closed Imminent stop and overload Prev alarm ctrl PCB ACS source fault Rotation, ventil, temp. Ventil., temp., sensor Ventil, temp Alarm to be set NOT AVAILABLE Alarms with no description are not managed by DELPHYS MX. UPS/NTA GB/MODBUSTCP.A Page 12 / 26 MODBUS TCP MEASUREMENT DATA MAP: Start register 0x1060, 48 word reading Code M00 M01 M02 M03 M04 M05 M06 M07 M08 M09 M10 M11 M12 M13 M14 M15 M16 M17 M18 M19 M20 M21 M22 M23 Description Output load rate phase 1 Output load rate phase 2 Output load rate phase 3 UPS load rate Battery capacity Battery capacity Bypass input voltage phase 1 Bypass input voltage phase 2 Bypass input voltage phase 3 Output voltage phase 1 Output voltage phase 2 Output voltage phase 3 Unit % % % % % Ah*10 V V V V V V Output current phase 1 Output current phase 2 Output current phase 3 Bypass input frequency Output frequency Positive battery voltage (+) Negative battery voltage (-) Internal temperature Remaining back up time A*10 A*10 A*10 Hz*10 Hz*10 V*10 V*10 °C Minutes M24 M25 M26 M27 M28 M29 M30 M31 M32 M33 M34 M35 M36 M37 M38 M39 M40 M41 M42 M43 M44 M45 M46 M47 Battery current Positive rectifier voltage (+) Negative rectifier voltage (-) Rectifier input voltage phase 1 Rectifier input voltage phase 2 Rectifier input voltage phase 3 UPS output power Output apparent power ph1 Output apparent power ph2 Output apparent power ph3 UPS/NTA GB/MODBUSTCP.A +/- A*10 V V V V V kW*10 kVA*10 kVA*10 kVA*10 ADDRESS 0x1060 0x1061 0x1062 0x1063 0x1064 0x1065 0x1066 0x1067 0x1068 0x1069 0x106A 0x106B 0x106C 0x106D 0x106E 0x106F 0x1070 0x1071 0x1072 0x1073 0x1074 0x1075 0x1076 0x1077 0x1078 0x1079 0x107A 0x107B 0x107C 0x107D 0x107E 0x107F 0x1080 0x1081 0x1082 0x1083 0x1084 0x1085 0x1086 0x1087 0x1088 0x1089 0x108A 0x108B 0x108C 0x108D 0x108E 0x108F COMMENTS Value set at 0xFFFF if single-phase Value set at 0xFFFF if single-phase Value set at 0xFFFF if single-phase Value set at 0xFFFF if single-phase Value Value Value Value Value set set set set set at at at at at 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF if single-phase if single-phase (-1) (-1) (-1) Value set at 0xFFFF if single-phase Value set at 0xFFFF if single-phase Value set at 0 Ambient temperature Calculated when operating from the battery Value set at 0xFFFF (-1) Value set at 0xFFFF (-1) Value set at 0xFFFF (-1) Value Value Value Value set set set set at at at at 0 0xFFFF (-1) 0xFFFF (-1) 0xFFFF (-1) Value Value Value Value Value set set set set set at at at at at 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF if single-phase if single-phase (-1) (-1) (-1) Page 13 / 26 MODBUS TCP CONTROL PERMISSION DATA MAP: Start register 0x15C0, 2 word reading CODE C00 C01 C02 C03 C04 C05 C06 C07 C08 C09 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19 C20 C21 C22 C23 C24 C25 C26 C27 C28 C29 C30 C31 DESCRIPTION Eco-mode enabled normal Mode enabled Automatic Bypass transfer enabled Inverter transfer enabled Battery test enabled BIT 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 ADDRESS COMMENTS 0x15C0 0x15C0 0x15C0 0x15C0 0x15C1 SENDING CONTROLS TO THE UPS: Write register at the address 0x15B0 Function 6 is used to send controls to the UPS. Before sending any remote control to the UPS, the serial interface must be set in 'remote' mode using the device/user interface; Local controls on the control panel or on the graphic touch screen are no more accessible. The list of controls below is for checking if the control selected is possible or not. If the control is sent to the UPS while not enabled, the system will ignore it. List of controls available Code C03 C04 C10 C11 C16 Control Eco-mode Normal mode Automatic bypass transfer Inverter transfer Battery test UPS/NTA GB/MODBUSTCP.A Value 0x0003 0x0004 0x000A 0x000B 0x0010 ADDRESS 0x15B0 0x15B0 0x15B0 0x15B0 0x15B0 COMMENTS Page 14 / 26 MODBUS TCP 5. MODBUS TCP DATA MAP IN PARALLEL SYSTEMS Reminder In a parallel system, there is only one MODBUS TCP interface. Access to data specific to each module or UPS unit is determined by the addresses indicated in the 2 following tables. The interface is located in the ‘com-slots’ of the central cabinet (CC) for a central bypass system or in the ‘com-slots’ of unit 1 for a modular system (see figure below). How to read data: The identification, status and alarm data map must be read completely (start register and length in word). The measurement data map can be read word by word or by set of words without exceeding the length of the data map. (from 0x60 to 0x8F). Incoming data structure: Example of 6 words - 12 bytes 1 2 3 4 MSB 0 LSB 0 MSB 1 WORD 0 LSB 1 5 6 7 8 9 10 11 12 MSB 2 LSB 2 MSB 3 LSB 3 MSB 4 LSB 4 MSB 5 LSB 5 WORD 1 WORD 2 WORD 3 WORD 4 WORD 5 b15 b0 b15 b0 b15 b0 b15 b0 b15 b0 b15 S15 A15 S00 A00 S31 A31 S16 A16 S47 A47 S32 A32 S63 A63 S48 A48 S79 S64 S95 M00 M01 M02 M03 M04 b0 S80 M05 (Snn index of status, Ann index of alarms, Mnn index of measurements) UPS/NTA GB/MODBUSTCP.A Page 15 / 26 MODBUS TCP JBUS data map in a central bypass system (CC) DATA MAP UPS identification UPS configurations Date and time of UPS Status CC (96 bits) Alarms CC (64 bits) Measurements CC Status module 1 (96 bits) Alarms module 1 (64 bits) Measurements module 1 Status module 2 (96 bits) Alarms module 2 (64 bits) Measurements module 2 Status module 3 (96 bits) Alarms module 3 (64 bits) Measurements module 3 Status module 4 (96 bits) Alarms module 4 (64 bits) Measurements module 4 Status module 5 (96 bits) Alarms module 5 (64 bits) Measurements module 5 Status module 6 (96 bits) Alarms module 6 (64 bits) Measurements module 6 Control permission Controls Start register 0x8000 0x80E0 0x8360 0x8020 0x8040 0x8060 0x2020 0x2040 0x2060 0x3020 0x3040 0x3060 0x4020 0x4040 0x4060 0x5020 0x5040 0x5060 0x6020 0x6040 0x6060 0x7020 0x7040 0x7060 0x15C0 0x15B0 Word length 12 32 4 6 4 48 6 4 48 6 4 48 6 4 48 6 4 48 6 4 48 6 4 48 2 1 JBUS function function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) 6 write register JBUS data map in a modular system DATA MAP UPS identification UPS configurations Date and time of UPS System output measurements Status module 1 (96 bits) Alarms module 1 (64 bits) Measurements module 1 Status module 2 (96 bits) Alarms module 2 (64 bits) Measurements module 2 Status module 3 (96 bits) Alarms module 3 (64 bits) Measurements module 3 Status module 4 (96 bits) Alarms module 4 (64 bits) Measurements module 4 Status module 5 (96 bits) Alarms module 5 (64 bits) Measurements module 5 Status module 6 (96 bits) Alarms module 6 (64 bits) Measurements module 6 UPS/NTA GB/MODBUSTCP.A Start register 0x1000 0x10E0 0x1360 0x8060 0x2020 0x2040 0x2060 0x3020 0x3040 0x3060 0x4020 0x4040 0x4060 0x5020 0x5040 0x5060 0x6020 0x6040 0x6060 0x7020 0x7040 0x7060 Word length 12 32 4 48 6 4 48 6 4 48 6 4 48 6 4 48 6 4 48 6 4 48 JBUS function function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) function 3 (reading) Page 16 / 26 MODBUS TCP UPS IDENTIFICATION: Start register 0x1000 or 0x8000, 12 word reading CODE DESCRIPTION ADDRESS Type UPS CODE Number of WORDS 1 word I00 0x1000 Digital value I01 UPS Power 1 word Digital value I02 I03 Module number Serial number (10 characters) 1 word 5 words Digital value 0x1002 0x1003 I04 I05 I06 I07 Not Not Not Not used used used used 1 1 1 1 word word word word 0x1008 0x1009 0x100A 0x100B Comments Digital value 1 word = 2 ASCII codes At At At At 0 0 0 0 by by by by 1018 = DELPHYS MX MODULAR 1019 = DELPHYS MX // common by-pass 1020 = DELPHYS MX elite modular 1021 = DELPHYS MX elite // by-pass In kVA * 10 8000 for a 800kVA system Depends on the address LSB = 1st character MSB = 2nd character The code includes part of the last 10 characters of the serial number displayed default default default default DATE & TIME OF THE UPS: Start register 0x1360 or 0x8360, 4 word reading CODE DESCRIPTION Addresses Type Minutes / seconds Number of words 1 D00 0x1360 Byte value D01 Hours / day 1 0x1361 Byte value D02 Month / day of week 1 0x1362 Byte value D03 year 1 0x1363 Direct value Comments MSB = minutes LSB = seconds MSB = day LSB = hours MSB = month LSB = day of the week 1=Monday 7=Sunday 00 = 2000 UPS CONFIGURATION: Start register 0x10E0 or 0x80E0, 32 word reading Code T00 T01 T02 T03 T04 T05 T06 TO7 T08 T09 T10 T11 T12 T13 DESCRIPTION Nominal start input voltage Nominal start output voltage Nominal input frequency Nominal output frequency Version T14 Redundancy level T15 T16 .. T31 Not used Not used Nominal battery capacity Number of battery elements Not used Not used Not used Working mode UPS/NTA GB/MODBUSTCP.A Unit V V Hz Hz whole* 100 Ah * 10 Bit field value ADDRESS 0x10E0 0x10E1 0x10E2 0x10E3 0x10E4 0x10E5 0x10E6 0x10E7 0x10E8 0x10E9 0x10EA 0x10EB 0x10EC 0x10ED 0x10EE 0x10EF 0x10F0 COMMENTS 100 = V1.00 3000 = 300Ah Value set at 0xFFFF (-1) Value set at 0xFFFF (-1) b0 = auto start enabled b1 = with battery b2 = Gen Set present b3 = ’energy saver’ enabled 0 = without 1 = N+1 100 Value set at 0xFFFF (-1) 0x10FF Page 17 / 26 MODBUS TCP Comments In the following MODBUS TCP data map, only the less significant byte is mentioned, knowing that the most significant byte of the address depends on the number of the module or UPS unit. Symbol ‘X’ in the corresponding columns, i.e central bypass ‘CC’, ‘Module’ or ‘Unit’ indicates if the information is available on the equipment (Unit means UPS unit in a parallel modular system). Please refer to §4.4 for further details on each status. STATUS DATA MAP: Start register 0x20, 6 word reading CODE S00 S01 S02 S03 S04 S05 S06 S07 S08 S09 S10 S11 S12 S13 S14 S15 S16 S17 S18 S19 S20 S21 S22 S23 S24 S25 S26 S27 S28 S29 S30 S31 S32 S33 S34 S35 S36 S37 S38 S39 S40 S41 S42 S43 S44 S45 S46 S47 DESCRIPTION Rectifier input supply ON Inverter ON Rectifier ON Load protected by inverter Load on automatic bypass Load on battery Remote controls disabled Eco-mode ON2 Battery Battery Battery Battery test failed discharged near end of back up time OK Inverter synchronised with bypass input Charger ON Not used Bypass input supply ON Battery charge activated Rectifier input frequency out of tolerance UPS in parallel configuration Unit 1 operating Unit 2 operating Unit 3 operating Unit 4 operating Unit 5 operating Unit 6 operating Auxiliary input 1 activated Auxiliary input 2 activated Auxiliary input 3 activated Auxiliary input 4 activated Commands control table Contract e-Service activated Automatic report e-Service activated Operating on Emergency Get BIT 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 LSB 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x20 0x21 0x21 0x21 0x21 0x21 0x21 0x21 0x21 0x21 0x21 0x21 0x21 0x21 0x21 0x21 0x21 0x22 0x22 0x22 0x22 0x22 0x22 0x22 0x22 0x22 0x22 0x22 0x22 0x22 0x22 0x22 0x22 CC X Unit X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X Module X X X X X X X X X …/… 2 If available UPS/NTA GB/MODBUSTCP.A Page 18 / 26 MODBUS TCP …/… CODE DESCRIPTION BIT S48 S49 S50 S51 S52 S53 S54 S55 S56 S57 S58 S59 S60 S61 S62 S63 S64 S65 S66 S67 S68 S69 S70 S71 S72 S73 S74 S75 S76 S77 S78 S79 S80 S81 S82 S83 S84 S85 S86 S87 S88 S89 S90 S91 S92 S93 S94 S95 Maintenance mode activated End of first maintenance period Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Boost charge ON ACS synchronisation reference Inverter switch closed 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Maintenance bypass breaker closed General maintenance bypass breaker closed Output breaker closed Q21 closed Q22 closed Unit operating Mode ‘energy saver’ activated Mode normal activated Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used Not used low ADDRESS 0x23 0x23 0x23 0x23 0x23 0x23 0x23 0x23 0x23 0x23 0x23 0x23 0x23 0x23 0x23 0x23 0x24 0x24 0x24 0x24 0x24 0x24 0x24 0x24 0x24 0x24 0x24 0x24 0x24 0x24 0x24 0x24 0x25 0x25 0x25 0x25 0x25 0x25 0x25 0x25 0x25 0x25 0x25 0x25 0x25 0x25 0x25 0x25 CC Module Unit X X X X X X X X X X X X X X X X X X X X X X X X X X X X if function is available UPS/NTA GB/MODBUSTCP.A Page 19 / 26 MODBUS TCP ALARMS: Start register 0x40, 4 word reading CODE A00 A01 A02 A03 A04 A05 A06 A07 A08 A09 A10 A11 A12 A13 A14 A15 A16 A17 A18 A19 A20 A21 A22 A23 A24 A25 A26 A27 A28 A29 A30 A31 A32 A33 A34 A35 A36 A37 A38 A39 DESCRIPTION General alarm Battery failure UPS overload BIT 0 1 2 LSB 0x40 0x40 0x40 CC X Control failure (electronic, com, supply…) Rectifier input supply out of tolerance Bypass input supply out of tolerance Temperature out of tolerance Maintenance bypass closed 4 5 6 7 8 0x40 0x40 0x40 0x40 0x40 X X X X X Improper condition of use (maintenance BYP alarm) Overload timeout blocking inverter Microprocessor control system failure – preventive alarm 1 2 3 0x41 0x41 0x41 X PLL fault Rectifier input supply fault Rectifier general alarm – preventive alarm 5 6 7 0x41 0x41 0x41 Inverter general alarm – preventive alarm Battery charger general alarm 9 10 0x41 0x41 Bypass general alarm – preventive alarm 13 0x41 Imminent stop General alarm Unit General alarm Unit General alarm Unit General alarm Unit General alarm Unit General alarm Unit External alarm 15 0 1 2 3 4 5 6 0x41 0x42 0x42 0x42 0x42 0x42 0x42 0x42 10 11 12 13 14 15 0 1 2 3 4 0x42 0x42 0x42 0x42 0x42 0x42 0x43 0x43 0x43 0x43 0x43 6 0x43 10 11 14 0x43 0x43 0x43 1 2 3 4 5 6 X Module X X X Unit X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X A40 A41 A42 A43 A44 A45 A45 A47 A48 A49 A50 A51 A52 A53 A54 A55 A56 A57 A58 A59 A62 General alarm E-Service Loss of redundancy * Servicing alarm Automatic and manual transfer disabled Automatic transfer disabled Battery room alarm Maintenance bypass alarm Battery discharged Insufficient resources Synoptic and options general alarm Rectifier fault – critical alarm Inverter fault – critical alarm ESD activated Battery circuit open By-pass fault – critical alarm X X X X X X X X X X X X X X X X X X X X X X X X X X For further details, please refer to the data map of a single unit (§1.5) If the function is available UPS/NTA GB/MODBUSTCP.A Page 20 / 26 MODBUS TCP MEASUREMENT DATA MAP: Start register 0x60, 48 word reading Code Description MO0 M01 M02 M03 M04 M05 M06 M07 M08 M09 M10 M11 M12 M13 M14 M15 M16 M17 M18 M19 M20 M21 M22 M23 M24 M25 M26 M27 M28 M29 M30 M31 M32 M33 M34 M35 M36 M37 M38 M39 M40 M41 M42 M43 M44 M45 M46 M47 Output load rate phase 1 Output load rate phase 2 Output load rate phase 3 UPS load rate Battery capacity Battery capacity Bypass input voltage phase 1 Bypass input voltage phase 2 Bypass input voltage phase 3 Output voltage phase 1 Output voltage phase 2 Output voltage phase 3 % % % % % Ah*10 V V V V V V Output current phase 1 Output current phase 2 Output current phase 3 Bypass input frequency Output frequency Positive battery voltage (+) Negative battery voltage (-) Internal temperature Remaining back up time Battery current A*10 A*10 A*10 Hz*10 Hz*10 V*10 V*10 °C Minutes +/- A*10 Positive rectifier voltage (+) Negative rectifier voltage (-) Rectifier input voltage phase 1 Rectifier input voltage phase 2 Rectifier input voltage phase 3 UPS output power Output apparent power ph1 Output apparent power ph2 Output apparent power ph3 Unit V V V V V V V kW*10 kVA*10 kVA*10 kVA*10 low ADDRESS 0x60 0x61 0x62 0x63 0x64 0x65 0x66 0x67 0x68 0x69 0x6A 0x6B 0x6C 0x6D 0x6E 0x6F 0x70 0x71 0x72 0x73 0x74 0x75 0x76 0x77 0x78 0x79 0x7A 0x7B 0x7C 0x7D 0x7E 0x7F 0x80 0x81 0x82 0x83 0x84 0x85 0x86 0x87 0x88 0x89 0x8A 0x8B 0x8C 0x8D 0x8E 0x8F COMMENTS Value set at 0xFFFF if single-phase Value set at 0xFFFF if single-phase Value set at 0xFFFF if single-phase Value set at 0xFFFF if single-phase Value Value Value Value Value set set set set set at at at at at 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF if single-phase if single-phase (-1) (-1) (-1) Value set at 0xFFFF if single-phase Value set at 0xFFFF if single-phase Value set at 0 Value set at 0 Value set at 0xFFFF (-1) Value set at 0xFFFF if single-phase Value set at 0xFFFF if single-phase Value Value Value Value Value set set set set set at at at at at 0xFFFF 0xFFFF 0xFFFF 0xFFFF 0xFFFF if single-phase if single-phase (-1) (-1) (-1) Rectifier and battery measurements are not available in the data map of the central bypass cabinet. UPS/NTA GB/MODBUSTCP.A Page 21 / 26 MODBUS TCP CONTROL PERMISSION DATA MAP: Start register 0x15C0, 2 word reading CODE C00 C01 C02 C03 C04 C05 C06 C07 C08 C09 C10 C11 C12 C13 C14 C15 C16 C16 C16 C16 C16 C16 DESCRIPTION Eco-mode enabled Mode normal enabled Transfer to automatic by-pass enabled Transfer to inverter enabled Battery Battery Battery Battery Battery Battery test test test test test test module module module module module module 1 2 3 4 5 6 enabled enabled enabled enabled enabled enabled BIT 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 0 0 0 0 0 ADDRESS COMMENTS 0x15C0 0x15C0 0x15C0 0x15C0 0x25C1 0x35C1 0x45C1 0x55C1 0x65C1 0x75C1 SENDING OF COMMANDS TO THE UPS: write register at the address 0x15B0 Function 6 is used to send controls to the UPS. Before controlling the UPS, the serial interface must be set in remote mode using the user/device interface. Local controls on the control panel or on the graphic touch screen are no more accessible. The control data map of controls makes it possible to check if the control selected is enabled or not. If not enabled and sent to the UPS, the control is ignored and not executed by the system. Controls are intended for the whole system - which explains why address 0x15B0 is used, with the exception of the battery test control which is specific to each module or UPS unit. List of controls available Code C03 C04 C10 C11 C16 C16 C16 C16 C16 C16 Control Eco-mode Normal mode Automatic bypass transfer Inverter transfer Battery test module 1 Battery test module 2 Battery test module 3 Battery test module 4 Battery test module 5 Battery test module 6 UPS/NTA GB/MODBUSTCP.A Write register 0x0003 0x0004 0x000A 0x000B 0x0010 0x0010 0x0010 0x0010 0x0010 0x0010 ADDRESS 0x15B0 0x15B0 0x15B0 0x15B0 0x25B0 0x35B0 0x45B0 0x55B0 0x65B0 0x75B0 COMMENTS Page 22 / 26 MODBUS TCP ANNEXE 1: SETTING OF THE INTERFACE USING DIGI DEVICE DICOVERY©3 Search window for UPSs connected to the network Access to WEB pages Network setting Network settings: To set a specific IP address 3 Digi is a registered brand. UPS/NTA GB/MODBUSTCP.A Page 23 / 26 MODBUS TCP Access to HTTP pages Login: Password: root dbps Home Page: UPS/NTA GB/MODBUSTCP.A Page 24 / 26 MODBUS TCP Updating of the firmware: ) Indicate directory of binary file to be downloaded. Version of firmware: MODBUS TCP: 82001164.bin REAL PORT: 82000856_F5.bin Click on opens an on-line help window and a link to DIGI site if necessary. After completing the downloading process, click on Reboot. Wait for at least 1 minute before trying to access the interface. Problem during downloading process: If the following screen appears during downloading, it is necessary to download the POST version of the firmware (available on the CD) as well as the firmware. UPS/NTA GB/MODBUSTCP.A Page 25 / 26 MODBUS TCP ANNEXE 2: MODBUS TCP IDA specification The JBUS frames below are only examples: REQUEST BY MASTER IN MODE JBUS/MODBUS RTU Original frame: 01 03 1034 0003 40C5 Encapsulated frame: 0046 0000 0006 01 03 1034 0003 where: 0046 0000 0006 corresponds to the transaction number corresponds to the protocol identifier corresponds to the number of bytes (length of the message) Note: The CRC is suppressed in the encapsulated JBus frame. REPLY OF THE UPS IN MODE JBUS/MODBUS RTU: Original frame: 01 03 06 0002 0184 0000 1960 Encapsulated frame: 0046 0000 0009 01 03 06 0002 0184 0000 where: 0046 0000 0006 corresponds to the transaction number corresponds to the protocol identifier corresponds to the number of bytes (length of the message) Note: The CRC is suppressed in the encapsulated JBus frame. UPS/NTA GB/MODBUSTCP.A Page 26 / 26