RevA Modbus Translator Tech Ref

Download as pdf or txt
Download as pdf or txt
You are on page 1of 53
At a glance
Powered by AI
The document provides information about the Modbus translator module including its purpose, hardware specifications, installation instructions, and configuration settings.

The Modbus translator module allows communication between Modbus serial devices and Ethernet networks by translating between the two protocols.

The hardware interface specifications include serial and network connectors, LED indicators, and a DB9F-to-TB connector.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Phone: (818) 734-5300 Fax: (818) 734-5320

-5320 Web: www.microturbine.com

Technical Reference
Modbus Translator Module (MOXA)

410078 Rev A (July 2009)

Page 1 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

TABLE OF CONTENTS
Introduction ..................................................................................................................... 4 Material Information......................................................................................................... 4 Hardware Interface .......................................................................................................... 5 Serial Connectors .................................................................................................................5 Network Connectors .............................................................................................................5 LED Indicators ......................................................................................................................6 DB9F-to-TB Connector .........................................................................................................6 Specifications .................................................................................................................. 7 Power Requirements ............................................................................................................7 Mechanical ............................................................................................................................7 Environmental Specifications................................................................................................7 Modbus Translator Installation ........................................................................................ 7 Power Connection ................................................................................................................7 Software Installation..............................................................................................................8 Modbus Translator Setup .....................................................................................................8 Changing IP Address of Ethernet Port LAN2 ..................................................................8 Configuration Settings....................................................................................................10 Modbus Translator Connections.........................................................................................12 Modbus Translator Operation ........................................................................................ 16 Modbus Introduction ...........................................................................................................16 Modbus Address .................................................................................................................16 Transaction Timing .............................................................................................................16 Data Format ........................................................................................................................17 Modbus Protocol ........................................................................................................... 17 Introduction .........................................................................................................................17 Modbus RTU Message Framing ........................................................................................18 Modbus RTU Message Content .........................................................................................18 Modbus Function and Exception Codes.............................................................................18 Supported Modbus Commands..........................................................................................19 Read Holding Registers (Function Code 03).................................................................19 Preset Single Register (Function Code 06) ...................................................................20 Preset Multiple Registers (Function Code 16) ...............................................................20 Read Registers ...................................................................................................................22 Write Registers ...................................................................................................................40 Remapping Modbus Registers ...................................................................................... 46 Troubleshooting ............................................................................................................ 48 Capstone Technical Information .................................................................................... 50 Capstone Applications ........................................................................................................50 Capstone Service................................................................................................................50 Capstone Technical Support .........................................................................................50 Capstone Technical Support (Japan) ............................................................................50 Appendix A - Modbus Translator Module Software Installation .................................... A-1 Appendix B ASCII Chart ........................................................................................... B-1
410078 Rev A (July 2009) Page 2 of 53
Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

LIST OF FIGURES
TABLE DESCRIPTION PAGE NO.

Figure 1. Modbus Terminal Block Connections.........................................................................8 Figure 2. Modbus Translator Configuration Main Web Page ....................................................9 Figure 3. LAN2 IP Address Settings Web Page ......................................................................10 Figure 4. Modbus Translator Configuration Settings Web Page .............................................11 Figure 5. Typical Modbus Translator Installation .....................................................................12 Figure 6. Modbus Connections to MicroTurbine (Model C65/C200).......................................14 Figure 7. Modbus Connections to MicroTurbine (Model C30) ................................................15 Figure A-1. Successful Log In to Modbus Translator ............................................................ A-2 Figure A-2. Files Uploaded to Modbus Translator................................................................. A-2 Figure A-3. Modbus Translator Program Installed................................................................. A-2

LIST OF TABLES
TABLE DESCRIPTION PAGE NO.

Table 1 Error Response Function Codes .............................................................................18 Table 2 Error Code Value Definitions ...................................................................................19 Table 3 Function Code 03 Command (Read Holding Registers).........................................19 Table 4 Function Code 03 Response (Read Holding Registers) .........................................20 Table 5 Function Code 06 Command and Response (Preset Single Register) ..................20 Table 6 Function Code 16 Command (Preset Multiple Registers) .......................................21 Table 7 Function Code 16 Response (Preset Multiple Registers) .......................................21 Table 8 - Holding Registers (Read Only).................................................................................22 Table 9 - Holding Register (Write Only) ...................................................................................41

410078 Rev A (July 2009)

Page 3 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Introduction
The Modbus translator is an electrical device powered from a 12 to 48 Vdc source that provides data exchange between the RS-232 port of a Capstone microturbine system and RS-485 Modbus devices. The Modbus translator uses a microprocessor to communicate with the Capstone microturbine system to provide data over a RS-485 Modbus network. Serial connector P1 of the Modbus translator is configured as the RS-232 port for connection to the microturbine, and serial connector P2 is configured as the RS-485 port for connection to the Modbus device. The Modbus translator also offers Modbus over TCP/IP functionality. This protocol is available on the LAN 2 port. The Modbus translator connects to the serial port on the User Connection Bay (UCB) of Capstone C30, C65 and C200 microturbines. The Advanced Power Server (APS) and the C1000 series controller have Modbus connectivity built in and do not require the Modbus translator. The Capstone Power Server (superseded by the APS), which is no longer manufactured, also used the Modbus translator. The Modbus translator is a self-contained pre-programmed unit, designed for instant connectivity with a Capstone MicroTurbine. There is no customer requirement to open the unit all necessary connectors are on the exterior of the unit.

Material Information
The Modbus translator is provided in two separate kits. One kit is for standard humidity environments and the other kit is for high humidity environments. Each kit contains the Modbus translator unit along with the necessary interface components. The kit part numbers and the items contained in the kits are described below.
Part Number Description Quantity

Modbus Translator Kit 527323-100 527324-100 527457-001 527458-001 527424-100 527457-001 527458-001 Modbus Translator, Programmed Cable, DB9F-DB9F, Null Modem (RS-232) Connector, DB9F-to-TB Modbus Translator, Programmed, Greased Cable, DB9F-DB9F, Null Modem (RS-232) Connector, DB9F- to-TB 1 1 1 1 1 1

Modbus Translator Kit, Greased 527422-100

410078 Rev A (July 2009)

Page 4 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Hardware Interface
Serial Connectors
The Modbus translator has two DB9 male connectors (P1 and P2) for serial connection with the microturbine and Modbus device. The protocol for each connector can be configured by software as RS-232, RS-422, or RS-485. The specifications for the connector are as follows: Serial Port Software-selectable RS-232/422/485, DB9 male Protection 15 kV built-in ESD protection for all signals Data bits 5, 6, 7, 8 Stop bit(s) 1, 1.5, 2 Parity None, Even, Odd, Space, Mark Flow Control RTS/CTS, XON/XOFF, RS-485 ADDC Speed 50 bps to 921.6 kbps; any baud rate supported.
RS-485 (4-wire) TxDA(-) TxDB(+) RxDB(+) RxDA(-) GND RS-485 (2-wire) DataB(+) DataA(-) GND

Pin 1 2 3 4 5 6 7 8

RS-232 DCD RxD TxD DTR GND DSR RTS CTS

RS-422 TxDA(-) TxDB(+) RxDB(+) RxDA(-) GND

DB9 Male
1 2 3 4 5

6 7 8 9

Network Connectors
The Modbus translator has two RJ45 connectors (LAN1 and LAN2) for connection to a network. The specifications for each connector are as follows: LAN 10/100 Mbps RJ45, auto-sensing Protection 1.5 kV built-in magnetic isolation protection.
Pin 1 2 3 4 5 6 7 8 410078 Rev A (July 2009) Signal ETx+ ETxERx+ ERx

8-Pin RJ45

Orange LED

Green LED
Page 5 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

LED Indicators
The Modbus translator has five LED indicators on the front panel and two indicators on each RJ45 connector (LAN1/LAN2). These LED indicators function as follows:
LED Name Ready P1/P2 (Tx) P1/P2 (Rx) 10 Mbps Link Location Front Panel Front Panel Front Panel Front Panel Front Panel LAN1/LAN2 LED Color Green Green Off Yellow Off Solid Orange Flashing Off 100 Mbps Link LAN1/LAN2 Solid Green Flashing Off LED Function Power is on and functioning normally. Serial port 1/2 is transmitting data. Serial port 1/2 is not transmitting data. Serial port 1/2 is receiving data. Serial port 1/2 is not receiving data. Connected to 10 Mbps Ethernet network. Ethernet packets are being transmitted or received. Not connected to network. Connected to 100 Mbps Ethernet network. Ethernet packets are being transmitted or received. Not connected to network.

DB9F-to-TB Connector
The DB9F-to-TB connector provides the Modbus RS-485 2-wire connection at its terminal block end. The terminal callouts for the connector are as follows:
Terminal 1 2 3 4 5 T+ TR+(D+) ( Used for Modbus B) R-(D-) ( Used for Modbus A) GND Signal

410078 Rev A (July 2009)

Page 6 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Specifications
Power Requirements
Power Input 12 to 48 Vdc Power Consumption 340 mA @ 12 Vdc, 4.5 W.

Mechanical
Dimensions (W x D x H) 77 x 111 x 26 mm (3.03 x 4.37 x 1.02 in) Weight 190 g (6.7 oz) Construction Material Aluminum, 1 mm Mounting DIN-rail, wall-mounting.

Environmental Specifications
Operating Temperature -10 to 60C (14 to 140F), 5 to 95% relative humidity Storage Temperature -20 to 80C (-4 to 176F), 5 to 95% relative humidity.

Modbus Translator Installation


Power Connection
See Figure 1 and connect power to the Modbus translator as follows: 1. Make sure that the Modbus translator is mounted on a well-grounded mounting surface such as a metal panel. 2. Connect the Shielded Ground (SG) terminal (see Figure 1) to an appropriate grounded metal surface. 3. Connect the 1248 Vdc positive line to the V+ terminal and the return line to the V- terminal on the terminal block. Refer to Modbus Translator Connections on page 12 for instructions to connect the Modbus translator to the microturbines User Connection Bay (UCB) 12 Vdc or 24 Vdc power output.

410078 Rev A (July 2009)

Page 7 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

SG

V V+
12-48V

Figure 1. Modbus Terminal Block Connections

Software Installation
When the Modbus is first prepared for use at the Capstone factory, the Modbus codeset is installed from a local PC to the Modbus. This installation does not need to be performed again by the user except under special circumstances. If re-programming must be performed, see Appendix A, Modbus Translator Module Software Installation, for the required steps.

Modbus Translator Setup


The following paragraphs describe how to set up the Modbus translator for use. This involves changing the IP address of Ethernet port LAN2, if necessary, and making the configuration settings for Modbus translator communication.

Changing IP Address of Ethernet Port LAN2


The factory pre-set IP addresses for the Modbus translators Ethernet ports, and their use in Capstone Modbus applications, are as follows:
Port LAN1 LAN2 IP Address 192.168.3.127 192.168.4.127 Use PC Connection Network Connection Status Do not change address. OK to change address.

Always use port LAN1 for direct connection to a PC and do not change its IP address from the factory pre-set. Always use LAN2 for the Modbus translators network connection. If the existing IP address of LAN2 is not compatible with your network, it may be necessary to change the IP address. To change the LAN2 IP address, perform the following steps. 1. Connect the Modbus translator to power as described in Power Connection on page 7. 2. Connect a cross-over Ethernet cable between the Modbus translators LAN1 port and the Ethernet port on the PC.
410078 Rev A (July 2009) Page 8 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

3. Set the IP address of the PC to be on same network as the Modbus translator as follows: a. Open the Properties window for the network connection of the PC, and then open the Internet Protocol (TCP/IP) Properties window. b. Edit the first three segments of the IP address to be the same as the Modbus translators IP address, which is 192.168.3. Then enter a unique number for the fourth segment. For example, make the PCs IP address 192.168.3.100. c. Set the subnet mask to 255.255.255.0. Leave the default gateway blank. NOTE After setting the IP address for LAN2 on the Modbus translator, reset the PC IP address to its original setting.

4. Open a Command Prompt window. 5. Ping the IP address of the Modbus translator to verify the communication link between the PC and the Modbus translator. 6. Use a web browser to navigate to IP address 192.168.3.127 (LAN1). This opens the web page shown in Figure 2. 7. Click on the link Get LAN2 Network Interface Settings. This opens a second web page with LAN2 IP address settings shown in Figure 3.

Figure 2. Modbus Translator Configuration Main Web Page

410078 Rev A (July 2009)

Page 9 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Figure 3. LAN2 IP Address Settings Web Page 8. On this web page edit the LAN2 IP, LAN2 Subnet Mask, and LAN2 Gateway fields as required. 9. Click the Update Settings button to send the configuration values to the Modbus translator. Clicking the Reset button will restore the fields to the last saved values. 10. Power off and power on the Modbus translator to record the values in memory. 11. Test the network connection through LAN2 as follows: a. Use a straight-through Ethernet cable and connect the LAN2 port to a network switch or hub. b. Use a web browser on networked PC to navigate to the IP address assigned to LAN2. The web page shown in Figure 2 should open.

Configuration Settings
Set the configuration values for the Modbus translator as follows: 1. Use a web browser to navigate to the IP address assigned to LAN2 on the Modbus translator. This opens the web page shown in Figure 2. 2. Click on the link Get Modbus Configuration Values. This opens a second web page with the Modbus ID, baud rate, and interface settings, shown in Figure 4. 3. In the Modbus ID field, type a decimal number from 1 to 247 for the address of the Modbus translator. This address must be unique and cannot be duplicated by another Modbus device.
410078 Rev A (July 2009) Page 10 of 53
Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

4. Using the Baud Rate drop-down lists, select the baud rate speed, parity, data bits, and stop bits for the RS-485 Modbus link. 5. Select RS485 2WIRE for the Modbus interface. 6. Click the Set Values button to send the configuration values to the Modbus translator. 7. Power off and power on the Modbus translator to record the values in memory.

Figure 4. Modbus Translator Configuration Settings Web Page

410078 Rev A (July 2009)

Page 11 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Modbus Translator Connections


See Figure 5 and connect the Modbus translator to the microturbine and Modbus device(s) as follows: 1. The Modbus translator can be powered from the microturbines UCB as follows: c. For model C65 or C200 microturbine see Figure 6. Connect the V+ terminal to UCB connector J16 pin 3 (+24 Vdc) and V- terminal to J16 pin 4 (Ground). Alternately, connect the V+ terminal to UCB connector J16 pin 1 (+12 Vdc) and V- terminal to J16 pin 2 (Ground). d. For model C30 microturbine see Figure 7. Connect the V+ terminal to UCB connector TB1 terminal 9 (12V POS) and V- terminal to TB1 terminal 10 (12V NEG). Alternately, connect the V+ terminal to UCB connector TB2 terminal 6 (12V POS) and V- terminal to TB2 terminal 5 (12V NEG). 2. Connect the serial cable (527457-001) between the Modbus translators RS-232 port P1 and the microturbine as follows: a. Connect Modbus translator connector P1 to C65/C200 UCB user port J5 as shown in Figure 6. To connect to the maintenance port J3, use a DB9M/DB25F adapter. b. Connect Modbus translator connector P1 to C30 UCB user port J6 as shown in Figure 7. To connect to the maintenance port J5, use a DB9M/DB25F adapter.
PC

Microturbine Modbus Translator P1 LAN1 P2 LAN2 LAN

Serial Cable 50 ft (15 m) max.

Modbus Device(s)

Figure 5. Typical Modbus Translator Installation


410078 Rev A (July 2009) Page 12 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

3. Connect the Modbus translator RS-485 port P2 to the Modbus network as follows: a. Connect the nine-pin end of the DB9F-to-TB connector (527458-001) to connector P2 on the Modbus translator. A Modbus/RTU network requires a 121-ohm resistor on both ends of the daisy-chain network. This means that if a Modbus device is connected to only one other Modbus device, it must have the terminating resistor. However, if a Modbus device is connected to two other Modbus devices, it does not need the terminating resistor.

NOTE

b. If necessary, connect a 121-ohm resistor between R+(D+) terminal 3 and R1-(D-) terminal 4 on the terminal block end of the DB9PF-to-TB connector. c. Connect the Modbus A wire to R-(D-) terminal 4 of the DB9PF-to-TB connector. d. Connect the Modbus B wire to R+(D+) terminal 3 of the DB9PF-to-TB connector. e. Connect the Modbus A and B wires to the applicable connectors on the next Modbus device. 4. To configure/monitor the Modbus translator, connect it to a PC using one of the options below. a. Use a cross-over Ethernet cable to connect the Modbus translators LAN1 RJ45 connector directly to the PCs Ethernet connector. b. Use a straight-through Ethernet cable to connect the Modbus translators LAN2 RJ45 connector to a network switch or hub.

410078 Rev A (July 2009)

Page 13 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

V V+ 12-48V

RESET

LAN1

LAN2

Ready TX P1 RX TX P2 RX

UC-7112

Plus

Universal Communicator

RS-232/422/485 P1 P2

1 2 3 4 5

A B

To Modbus Device

J7

J4 J5 User J3 Maintenance

Ethernet J2 J1

J16
GROUND 4 +24VDC 3 GROUND 2 +12VDC 1

J12 J10 J11 J15

Intra-A J6

MultiPac

Intra-B J8

Figure 6. Modbus Connections to MicroTurbine (Model C65/C200)

410078 Rev A (July 2009)

Page 14 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

V V+ RESET
12-48V

LAN1

LAN2

Ready TX P1 RX TX RX P2

Universal Communicator

UC-7112 Plus

RS-232/422/485 P1 P2

1 2

3 4 5

A B

To Modbus Device

J8

J14

J7 Maintenance

J9 User J6

Option Port

Inter-Controller

J5

J2

Ethernet

J4 J15

TB5 J16 MultiPac Intra-B

TB1 TB2

TB3 TB4 J1 J3

Intra-A

Figure 7. Modbus Connections to MicroTurbine (Model C30)

410078 Rev A (July 2009)

Page 15 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Modbus Translator Operation


After power is applied, if power source and connections are correct, the Ready LED will glow a steady green after a 25 to 30 second delay. During operation, the green P1 and P2 Tx LEDs will be on when transmitting data, and the yellow P1 and P2 Rx LEDs will be on when receiving data. Also, the LEDs on the LAN1 and LAN2 ports will be flashing if Ethernet communication on these ports is good. Refer to the following paragraphs for a general description of Modbus functions.

Modbus Introduction
A Modbus network consists of Modbus compatible devices connected in a daisy chain or straight line configuration using the RS-485 2-wire standard. A Modbus network consists of up to 32 devices with a maximum cable length of 1200 m (3937 ft). Modbus communication employs a Master to Slave method, in which one node asks a question and a second node answers. A node is a Modbus device that is connected to the network. All communication is initiated selectively by the Master to the other nodes by assigning each Slave node a unique address in the range of 1 to 247. Address 0 is a broadcast address that can be used with certain Modbus functions to allow the master to address all Slave nodes at one time.

Modbus Address
Each Modbus device responds to a single Modbus address. The address is in the range of 1 to 247, and each device must have a unique address.

Transaction Timing
Commands are processed and responded to by the Modbus translator within 50 ms. Write commands sent to the Modbus translator are confirmed within 50 ms, but updates to the Capstone MicroTurbine System may not occur for up to 500 ms. Read registers are updated by a polling operation in the converter. Several read registers may be updated by the ALLDAT command and are designated with an asterisk (*) in Table 8, RS-232 Command column. ALLDAT is sent every one second. Other Read registers are updated in a round robin fashion at varying time intervals designated in the following table. Whenever a Write command is sent, the MicroTurbine will respond, causing certain Read registers to update. This will occur within 500ms in all cases. Read Timing: 1 Response from translator: 2 Read Register update from MicroTurbine:

50 ms See Table 8

Write Timing: 1 Response from translator: 50 ms 2 Response time from MicroTurbine: Max 500 ms 3 Update to Read register in translator Max 500ms

410078 Rev A (July 2009)

Page 16 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Data Format
Information regarding states and measurements made by the MicroTurbine are placed into a set of holding registers (4XXXX). Registers are defined as READ ONLY (less than or equal to 47999) or WRITE and READ (greater than 48000) registers. Both Read and Write Registers are converted to two byte values prior to transmission with the following formula: Register Number 40001 Example: To read Register 40008, first subtract 40001 resulting in 7. Convert this to two-byte hex: 0007h. This is the register value transmitted. Similarly, when reading a Write register, such as 48507, the Register number returned would be 213Ah, which is (48507-40001 = 8506 = 213Ah) All data from the Modbus registers is returned in either word (16-bits) or long word (32bits) integer format. A long word integer format containing 2 words will always be transmitted high word first (lower address). Integer data requires either translation or conversion to engineering units. Translations are described as an integer value representing some state or level. Integers may be converted to their corresponding floating-point representation with the units conversions provided. Information to perform the translation or conversion is described for each register in the Representation field of the tables.

Modbus Protocol
Introduction
The Modbus protocol is an open standard that defines a command-response method of communicating digital information between a master and slave device. The electrical connection between devices is known as a bus. In Modbus, two types of devices attach to the bus, master and slave devices. A master device issues commands to slaves. A slave device, such as the Modbus translator device, issues responses to master commands that are addressed to them. Each bus must contain exactly one master and may contain as many slaves as the electrical standards permit. When RS-485 Modbus queries are sent to the translator board, the board responds with data it has buffered from the MicroTurbine system. Modbus commands to write registers in the translator board are immediately queued up and transmitted to the MicroTurbine system over the RS-232 network. Both origination and user responses are buffered and can be read back. The Modbus protocol specifications define two types of transmission modes: ASCII and RTU. This manual describes only the more common RTU mode.

410078 Rev A (July 2009)

Page 17 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Modbus RTU Message Framing


Each message from either a master or slave consists of a continuous stream of characters. A silent interval of 3.5 characters times (3.5 * 11 bits / 9600 bps = 3.5ms) or more separates these communication streams. A typical response from this device would be: Enable the output interface drivers (RS-485) Wait 5 character times Send the response as a continuous stream Wait 3.5 character times Disable the output interface drivers (RS-485)

Modbus RTU Message Content


The Modbus RTU message stream consists of an address byte, a function code byte, a number of message bytes, and two check bytes. The address byte, which is in the range 1 to 247, specifies the identity of the slave device. The function code byte in a master command indicates the operation that the slave is to perform. The function code byte in a slave response is the same value as the master command function code if no error occurs, otherwise it has 128 added to it. The message bytes in a command contain additional information needed to perform the command. Message bytes in a response contain the data requested if no error has occurred or a one-byte exception code upon errors. The check bytes are generated using the CRC-16 polynomial generator sequence (x16 + x15 + x2 + 1) with the remainder pre-initialized to all 1s. The least significant byte of the CRC is transmitted first.

Modbus Function and Exception Codes


The Modbus only supports the function codes shown below. Note that the values are shown in hexadecimal (base 16). The table below shows the value returned when an error occurs.
Table 1 Error Response Function Codes

Master Function Code 0316 0616 1016

Slave Error Code 8316 8616 9016

Name

Meaning

Read Holding Registers Preset Holding Registers Preset Multiple Registers

Read values from system run-time data Set control values to command system Set control values of multiple register values

The Modbus will return exception codes back to the master upon certain conditions. All function codes greater than 127 decimal (7F16) indicate a slave error response. The message byte indicates the exception code. The table below shows error code value definitions.

410078 Rev A (July 2009)

Page 18 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Table 2 Error Code Value Definitions

Code 1 2 3

Name Illegal Function Illegal Data Address Illegal Data Value

4 6

Slave Device Failure Slave Device Busy

Meaning Master command contained an unrecognized function code. Starting address is illegal. Note that some registers are read-only. Either the register count is invalid or an attempt to write an illegal register value was found. Note this can be caused by attempting to write fewer registers than are required for an operation. Some internal self-test of the device has failed. Not communicating with MicroTurbine system

Supported Modbus Commands


The Modbus supports one read and two write commands. Example transmissions are provided with the definition of each command below.

Read Holding Registers (Function Code 03)


This function reads a single or multiple holding register values. The command requires a Slave Address, Function Code, Start Address, Register Count, and CRC16. Attempting to read a non-existent or write-only register will cause an exception. The example shown in the table below shows how to read the system Power Output value starting at register 42107 and ending with 42108.
Table 3 Function Code 03 Command (Read Holding Registers)

Byte 1 2 3 4 5 6 7 8

Name Slave Address Function Code Start address high Start address low Register count high Register count low CRC-16 low CRC-16 high

Example 01 03 08 3A 00 02 XX XX

Notes

Power Output at register 42107 (4210740001 = 2106 = 083Ah)

Read 2 registers total

410078 Rev A (July 2009)

Page 19 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Table 4 Function Code 03 Response (Read Holding Registers)

Byte 1 2 3 4 5 6 7 8 9

Name Slave Address Function Code Byte Count Data high (42107) Data low (42107) Data high (42108) Data low (42108) CRC-16 low CRC-16 high

Example 01 03 04 00 00 6A AA XX XX

Notes

2 registers, 2 bytes each Power Output = 00006AAAh = 27306 decimal Applying the units conversion = 149,996 Watts

Preset Single Register (Function Code 06)


This function writes to a single register. The command requires a Slave Address, Function Code, Start Address, Data, and CRC16. Attempting to write to a read-only register will cause an exception. The example shown in the table below shows how to set the Time of Use Event value at register 48507.
Table 5 Function Code 06 Command and Response (Preset Single Register)

Byte 1 2 3 4 5 6 7 8

Name Slave Address Function Code Start address high Start address low Data high Data low CRC-16 low CRC-16 high

Example 01 06 21 3A 00 05 XX XX

Notes

Time of Use Event at register 48507 (48507-40001 = 8506 = 213Ah) Set Event to number 5

Preset Multiple Registers (Function Code 16)


This function writes to one or more contiguous registers. The command requires a Slave Address, Function Code, Start Address, Register count, Byte count, Data, and CRC16. Attempting to write to a read-only register will cause an exception. The table below shows how to enter a Time of Use Event value at register 48507.

410078 Rev A (July 2009)

Page 20 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Table 6 Function Code 16 Command (Preset Multiple Registers)

Byte 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21

Name Slave Address Function Code Start address high Start address low Register count high Register count low Byte count Data high Data low Data high Data low Data high Data low Data high Data low Data high Data low Data high Data low CRC-16 low CRC-16 high

Example 01 10 21 3A 00 06 0C 00 05 00 01 08 0F 00 01 00 02 6D 18 XX XX

Notes

Time of Use Event at register 48507 (4850740001 = 8506 = 213Ah) Writing to 6 registers (48507 48512) 6 registers, 2 bytes each Time of Use Event = 5 Event Day = 1 Sunday Event Time = 080F hex (8:15AM) Start Command = 1 Start Power Demand = 159,000 Watts = 26D18 H

Table 7 Function Code 16 Response (Preset Multiple Registers)

Byte 1 2 3 4 5 6 7 8

Name Slave Address Function Code Start address high Start address low Register count high Register count low CRC-16 low CRC-16 high

Example 01 10 21 3A 00 06 XX XX

Notes

Time of Use Event at register 48507 (4850740001 = 8506 = 213Ah) Writing to 6 registers (48507 48512)

410078 Rev A (July 2009)

Page 21 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Read Registers
All read registers associated with a write register shall be updated within 500ms of a successful Modbus write operation. This provides time for the device to issue an RS-232 operation with the MicroTurbine system and verify the change has occurred. NOTE Read registers which may be updated with the ALLDAT command are indicated by an asterisk (*) following the RS232 command in Table 8.

Two Modbus translator modes of operation are Stationary, S in Table 8, and Hybrid Electric Vehicle (HEV), H in Table 8. These modes are mutually exclusive. NOTE The character H in the Mode column of Table 8 indicates both C30 and C60/C65 HEV. If the register does not apply to C30, it is noted by N3 in parentheses. If the register does not apply to C60/C65, it is noted by N6 in parentheses.

Another mode of operation, for connections to a Capstone Power Server (CPS) is also provided. By selecting either mode (Write Register 48021), the system will provide different command options as described in the table below.
Table 8 - Holding Registers (Read Only) Register Mode Description General Communication Info 40001 S,H Selected Turbine (See Write Register 48001) 0 This Turbine/Entire System 1 Master Turbine 2 thru 10 Specific Turbine Bit 0 Unable to establish communication with the MicroTurbine system (Error = 1) 0 Display 1 User Port 2 Maintenance Port Bit 0 1: Mode Bits 0 = Stationary 1 = HEV 2 = CPS 3 = Reserved Bit 2 14: Not Used Bit 15: Comm Timeout Enable TURBNO,0 1 Representation RS232 Command Timing (Sec)

40002

S,H

Communication Status

NA

NA

40003

S,H

Control Access

CNTACC

10

40004

S,H

Communication 1 Configuration

NA

On Reg 48021 Update

User selects which mode of operation the Modbus Translator operates. Setting Bit 15 Comm Timeout Enable TM will cause a STRCMD=0 to be transmitted to the MicroTurbine system when a Modbus command has not been received within time defined by the Comm Timeout Period (addr 40005) and Start Command (addr 40101) is Start. Default setting is 0000h.

410078 Rev A (July 2009)

Page 22 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 40005

Mode S,H

Description Comm Timeout Period


2

Representation Units: 1 = 1 Seconds

RS232 Command NA

40006 40007

S,H

Password Access Level Modbus Translator Software Version Modbus Translator Software Part Number System Controls/Settings

40008 40013

0 Base 1 Protected Encoded (xx.yy) where, High Byte - (xx) Low Byte - (yy) Each byte represents an ASCII character. String is NULL terminated. 0 Stop, 1 Start

NA (prompt feedback) NA

Timing (Sec) On Reg 48022 Update NA NA

NA

NA

40101

S,H

40102

40103 40104 40105 40106

S,H S S S

Start Command (displays when the system is going to start) User Start (displays when user has commanded a start) Auto Restart Restart Delay (GC) Restart Delay (SA) Remote Start Switch Enable

CTRLDT(9)*

0 Stop, 1 Start

USRSTR

40107 40108

S S

Remote Start Input Status (UCB Start Input) Utility Connection

0 Disabled, 1 Enabled Units: 1 = 0.1 Minutes Units: 1 = 0.1 Minutes 0 User 1 Remote 2 GC User/SA Remote 3 SA User/GC Remote 0 Stop, 1 Start 0 Invalid, 1 StandAlone, 2 Grid Connect, 3 Dual Mode 0 Open, 1 Closed 0 Disabled, 1 Enabled Units: 1 = 1 Watt Units: 1 = 1 Watt Units: 1 = 0.01 index Units: 1 = 0.01 index 0 Normal 1 Medium 2 Low 0 Disabled, 1 Enabled

AUTRST RDLYGC RDLYSA STRINP

10 10 10 10

UCBSTR UTLCON

10 1

40109 40110 40111 40112 40113 40114 40115 40116 40117

S S S,H S,H S,H S,H S,H

Power Enable (SA only) Auto Load (SA only) Power Demand Store Power Demand Fuel Index 1 Fuel Index 2 Medium BTU Switch

CTRLDT(2)* AUTOLD CTRLDT(7)* PWRDST FUELI1 FUELI2 MEDBTU

1 10 1 10 10 10 10

40118

MultiPac Enable

MPENAB

10

Function is enabled when bit 15 of register 40004 is enabled. Default Comm Timeout Period is 10 seconds (can be changed at addr 48022). If the Comm Timeout Period setting exceeds 5 minutes, then the Comm Timeout Enable function will not work.

410078 Rev A (July 2009)

Page 23 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 40119 40120 40122

Mode S,H (N3) S,H (N3) S,H (N3) S S S S S S S S S S S S S S S S S S S S S S S S

Description This Turbines Number Minimum Power Minimum Power Timeout Grid Connect Relays

Representation Master: 1 Slave: 2 thru 10 Units: 1 = 1 Watt Units: 1 = 1 sec

RS232 Command STRBNO MINPWR MPWRTO

Timing (Sec) 10 10 10

40301 40302 40303 40304 40305 40306 40307 40308 40309 40310 40401 40402 40403 40404 40405 40406 40407 40408 40409 40410 40411 40412 40413 40414

Under Voltage (GC) Under Voltage Time (GC) Over Voltage (GC) Over Voltage Time (GC) Fast Under Voltage (GC) Fast Over Voltage (GC) Under Frequency (GC) Under Frequency Time (GC) Over Frequency (GC) Over Frequency Time (GC) Stand Alone Relays Output Voltage (SA) Voltage Start (SA) Voltage Ramp (SA) Under Voltage (SA) Under Voltage Time (SA) Over Voltage (SA) Over Voltage Time (SA) Output Frequency (SA) Frequency Start (SA) Frequency Ramp (SA) Under Frequency (SA) Under Frequency Time (SA) Over Frequency (SA) Over Frequency Time (SA)

Units: 1 = 1 VAC (line-toline) Units: 1 = 0.01 Seconds Units: 1 = 1 VAC (line-toline) Units: 1 = 0.01 Seconds Units: 1 = 1 VAC (line-toline) Units: 1 = 1 VAC (line-toline) Units: 1 = 0.1 Hz Units: 1 = 0.01 Seconds Units: 1 = 0.1 Hz Units: 1 = 0.01 Seconds Units: 1 = 1 VAC (line-toline) Units: 1 = 1 VAC (line-toline) Units: 1 = 1 VAC/s (line-toline) Units: 1 = 1 VAC (line-toline) Units: 1 = 0.01 Seconds Units: 1 = 1 VAC (line-toline) Units: 1 = 0.01 Seconds Units: 1 = 0.1 Hz Units: 1 = 0.1 Hz Units: 1 = 1 Hz/s Units: 1 = 0.1 Hz Units: 1 = 0.01 Seconds Units: 1 = 0.1 Hz Units: 1 = 0.01 Seconds

UNDVLT UVLTTM OVRVLT OVLTTM FSTUVL FSTOVL UNDFRQ UFRQTM OVRFRQ OFRQTM SAVOLT STVOLT STVTRT SAUVLT SAUVTM SAOVLT SAOVTM SAFREQ STFREQ STFQRT SAUFRQ SAUFTM SAOFRQ SAOFTM

10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10

410078 Rev A (July 2009)

Page 24 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register

Mode

Description Load Management Settings

Representation

RS232 Command

Timing (Sec)

40501

Load Management Mode

40502 40503 40504 40505 40506 40507 40508

S S S S S S

Meter Constant Utility Power Setpoint Load Following Response Time Minimum Power Shutoff Minimum Power Shutoff Time Time of Use Event (See Write register 48507 to Set) TOU Event Day

0 Disabled 2 Load Following 3 Time-of-Use Units: 1 = 0.001 Wh/pulse Units: 1 = 0.1 kW Units: 1 = 1 Second Units: 1 = 0.1 kW Units: 1 = 1 Minute Min: 1 Max: 20 0 Inactive 1 Sunday 7 Saturday High Byte Hour Low Byte Minute 0 Stop, 1 Start

LMMODE

10

LMMTRC LMUTPW LMRSPT LMMPWR LMPWTM N/A

10 10 10 10 10 On Reg 48507 Update On Reg 48507 Update On Reg 48507 Update On Reg 48507 Update On Reg 48507 Update 10 10 5 5 5 5 5

40509

LMTOUE(1)

40510

TOU Event Hour

LMTOUE(2)

40511

TOU Event Start Command TOU Event Power Demand

LMTOUE(3)

40512 40513 40514 40515 40551 40552 40553 40554 40555 40556 40557 40558 40559

Units: 1 = 1 Watt

LMTOUE(4)

S S S S S S S

Reverse Power Protect Reverse Power Protect Time Load Management Start/Stop Power Meter +Pwr Power Meter Pwr Power Meter +VAR Power Meter VAR

0 Disabled, 1 Enabled Units: 1 = 1 Seconds 0 Stop, 1 Start Units: 1 = 1 Watt Units: 1 = 1 Watt Units: 1 = 1 VAR Units: 1 = 1 VAR

LMRPFP LMRPTM LMDATA(0) LMDATA(1) LMDATA(2) LMDATA(3) LMDATA(4)

410078 Rev A (July 2009)

Page 25 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register

Mode

Description UCB Relays

Representation

RS232 Command N/A

Timing (Sec) On Reg 48601 Update On Reg 48601 Update

40601

40602

Relay Number (See Write register 48507 to Set) Relay Function

Min: 1 Max: 6 0 Standby 1 Run 2 Load 3 Fault 4 Standalone 5 Dual Mode 6 Disable 7 Fuel On 8 Purge 0 Open, 1 Close

OUTRLY(1)

40603

Relay Active State

OUTRLY(2)

On Reg 48601 Update 2 10

Battery Information 40701 40702 S S Battery Enabled Battery Auto Sleep 0 Disabled, 1 Enabled Units: 1 = 0.1 Hours Min: 1 = 0.1 Hours Max: 239 = 23.9 Hours 0 Disabled, 1 Enabled 0 Disabled, 1 Enabled BATENA ATOSLP

40703 40704 40705 40706 40707

S S S

Battery Charge Battery Recharge Enable (SA only) Last Equalization Charge Date

BATCHG RCHENA BATEQL

5 2 30

Word 1, High Byte Month Word 1, Low Byte Day Word 2 - Year 1 Sunday Charge Permission Day (See Write register 48507 to 2 Monday 7 Saturday Set) Charge Permission Active 0 Inactive, 1 - Active

N/A

On Reg 48707 Update On Reg 48707 Update On Reg 48707 Update On Reg 48707 Update 1 10 10 10 10 10

40708

CHGEQP(1)

40709

Charge Permission Start Time Charge Permission End Time Battery Temperature Battery Base SOC Number of Equalization Charges BCT Heatsink Temperature Battery Average Current Battery Volts

High Byte Hour Low Byte Minute High Byte Hour Low Byte Minute Units: 1 = 1 C % Battery state of charge Integer number Units: 1 = 1 C Units: 1 = 0.048828125 A Units: 1 = 0.048828125 Vdc

CHGEQP(2)

40710

CHGEQP(3)

40711 40712 40713 40714 40715 40716

S S S S, H (N3) S, H (N3) S, H (N3)

BCDAT1(0)* BCDAT1(5)* BATDAT BCDAT1(2)* BCDAT1(11)* BCDAT1(12)*

410078 Rev A (July 2009)

Page 26 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 40717 40718 40719

Mode S, H (N3) S, H (N3) S, H (N3)

Description BCT DC Bus Battery Average Power Battery State

Representation Units: 1 = 0.048828125 Vdc Units: 1 = 1.220703 Watts 0 = BATT_SA_TRANS 1 = BATT_IN_SA 2 = BATT_ENA_CHK 3 = BATT_TURN_ON 4= BATT_WAIT_FOR_OFF 5 = BATT_TURN_OFF 6 = BATT_TURN_ON_CHG 7 = BATT_START_CHG 8 = BATT_CHARGING 9 = BATT_EQCHG_UPDATE Units: 1 = 1 VDC Units: 1 = 0.01 Seconds Units: 1 = 1 VDC Units: 1 = 0.01 Seconds Units: 1 = 1 VDC Units: 1 = 1 VDC Units: 1 = 1 ADC Min: 0 = 0 ADC Max: 195 = 195 ADC

RS232 Command BCDAT1(13)* BCDAT1(14)* BCDAT1(16)*

Timing (Sec) 10 10 10

Hybrid Vehicle Relays 40801 40802 40803 40804 40805 40806 40807 H H H H H H H Under Voltage (HEV) Under Voltage Time (HEV) Over Voltage (HEV) Over Voltage Time (HEV) Fast Under Voltage (HEV) Fast Over Voltage (HEV) Battery Current Limit UNDVLT UVLTTM OVRVLT OVLTTM FSTUVL FSTOVL BATILM 10 10 10 10 10 10 10

Capstone Power Server (CPS) 40808 C Min Power Capacity, Grid Connect Min Power Capacity, Stand Alone Spinning Reserve, Grid Connect Spinning Reserve, Stand Alone Multipac Mode System Type Units: 1 = 1 Watt Min: 0 Watts Max: 2,000,000,000 Watts Units: 1 = 1 Watt Min: 0 Watts Max: 2,000,000,000 Watts Units: 1 = 1 Watt Min: 0 Watts Max: 2,000,000,000 Watts Units: 1 = 1 Watt Min: 0 Watts Max: 2,000,000,000 Watts 0 Load Balancing, 1 Max Efficiency 0 Capstone Power Server, 1 C30 MicroTurbine, 2 C60/C65 MicroTurbine MPCPGC 1

40810

MPCPSA

40812

MPSRGC

40814

MPSRSA

40816 40817

C S,H

MPMODE SYSTYP

1 1

410078 Rev A (July 2009)

Page 27 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register

Mode

Description Data Acquisition

Representation

RS232 Command ENGDT1(0)* ENGDT1(1)* ENGDT1(2)* ENGDT1(3)* ENGDT1(4)* ENGDT1(5)* ENGDT2(0)* ENGDT2(10) *

Timing (Sec) 1

42001 42002 42003 42004 42005 42006

S,H

System Date

S,H

System Time

Word 1, High Byte Month Word 1, Low Byte Day Word 2 Year Word 1 Hour Word 2, High Byte Minute Word 2, Low Byte Second Integer Fault Number 0 System Ok 1 Information 2 Warning 3 Shutdown 4 Inverter Loss 5 Warmdown 6 Estop 7 Disable Mode Bits 15-12 0 Invalid 1 Reserved 2 Standalone 3 Grid-Connect 4 Reserved State Bits 11 0 0 Not Connected 1 StandBy 2 Prepare to Start 3 Lift-off 4 Prepare to Light 5 Start Acceleration 6 Run 7 Load 8 Re-charge 9 Cooldown 10 Warmdown 11 Re-start 12 Shutdown 13 Fault 14 Disable 15 Bad Configuration 16 Download 17 Idle Re-charge

S,H S,H

High Fault Identification Number System Severity Level

1 1

42007

S,H

System State and Mode

CTRLDT(0)*

410078 Rev A (July 2009)

Page 28 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 42008 42009

Mode S,H

Description Bitmapped System State and Mode. (Only 1 bit each for Mode and State can be set at any time. Register 42009 contains the lower order bits Bit 0 through Bit 15, Bits 16 31 are in register 42008)

Representation Mode Bits 28 - 31 Bit 28 Invalid Bit 29 Reserved Bit 30 Standalone Bit 31 Grid-Connect State Bits 0 - 27 Bit 0 Not Connected Bit 1 StandBy Bit 2 Prepare to Start Bit 3 Lift-off Bit 4 Prepare to Light Bit 5 Start Acceleration Bit 6 Run Bit 7 Load Bit 8 Re-charge Bit 9 Cooldown Bit 10 Warmdown Bit 11 Re-start Bit 12 Shutdown Bit 13 Fault Bit 14 Disable Bit 15 Bad Configuration Bit 16 Download Bit 17 Idle Re-charge Units: 1 = 1 Watt Units: 1 = 0.0078125 btu/sec Units: 1 = 0.125 C Word 1 - Hours Word 2, High Byte Minutes Word 2, Low Byte Seconds Units: 1 = 2.7465820 Watts Units: 1 = 2.7465820 Watts Units: 1 = 2.7465820 Watts Units: 1 = 5.4931641 Watts Units: 1 = 1.8310547e-02 ARMS Units: 1 = 1.8310547e-02 ADC

RS232 Command CTRLDT(0)*

Timing (Sec) 1

42010 42012 42013 42014 42015

S,H S,H S,H S,H

DPC / Gen Power Wenergy TET Setpoint Combustor Time

ENGDT1(7)* ENGDT1(16)* ENGDT2(3)* ENGDT2(7)* ENGDT2(8)* ENGDT2(9)*

1 1 1 1

42101 42102 42103 42104 42105 42106 42107 42108 42109 42110

S S S S,H S, H (N6)

Phase A Power Average Phase B Power Average Phase C Power Average Power Output Output Phase A Current

INVDT2(4)* INVDT2(5)* INVDT2(6)* INVDT2(7)* INVDT1(7)*

1 1 1 1 1

410078 Rev A (July 2009)

Page 29 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 42111 42112

Mode S, H (N6)

Description Output Phase B Current

Representation Units: 1 = 1.8310547e-02 ARMS Units: 1 = 1.8310547e-02 ADC Units: 1 = 1.8310547e-02 ARMS Units: 1 = 1.8310547e-02 ADC Units: 1 = 1.8310547e-02 ARMS Units: 1 = 1.8310547e-02 ADC Units: 1 = 1.8310547e-02 ARMS Units: 1 = 1.8310547e-02 ADC Units: 1 = 1.8310547e-02 VRMS Units: 1 = 1.8310547e-02 VDC Units: 1 = 1.8310547e-02 VRMS Units: 1 = 1.8310547e-02 VDC Units: 1 = 1.8310547e-02 VRMS Units: 1 = 1.8310547e-02 VDC Units: 1 = 0.0625 Hz Units: 1 = 0.0625 Volts Units: 1 = 0.29296875 V Units: 1 = 0.004577637 A Units: 1 = 1 C Units: 1 = 0.29296875 A Units: 1 = 0.29296875 A Units: 1 = 0.29296875 V Units: 1 = 0.29296875 V Units: 1 = 0.29296875 V Units: 1 = 0.29296875 A Units: 1 = 0.29296875 V Units: 1 = 1 rpm Units: 1 = 0.29296875 A

RS232 Command INVDT1(8)*

Timing (Sec) 1

42113 42114

S, H (N6)

Output Phase C Current

INVDT1(9)*

42115 42116

S, H (N6)

Output Neutral Current

INVDT2(0)*

42117 42118

S, H (N6)

Total 3 Phase Current

Sum of currents from regs 42109 thru 42114 INVDT2(1)*

With registers listed 1

42119

S, H (N6)

Output Phase A Voltage

42120

S, H (N6)

Output Phase B Voltage

INVDT2(2)*

42121

S, H (N6)

Output Phase C Voltage

INVDT2(3)*

42122 42123 42124 42125 42126 42127 42128 42129 42130 42131 42151 42152 42153 42154 42155

S S,H S S S S S S S S S,H S,H S,H S,H

Output AC Frequency Power Supply Voltage Inverter DC Bus Inverter Direct Current Inverter Heat Sink Temperature Inverter Current Limit Inverter Quadrature Current Phase A Volt Magnitude Phase B Volt Magnitude Phase C Volt Magnitude Generator Direct Current Generator Direct Voltage Generator Speed Command Generator Quadrature Current

INVDT1(3)* CTRLDT(8)* INVDT1(0)* INVDT1(1)* INVDT2(8)* INVDT2(9)* INVDT1(2)* INVDT1(4)* INVDT1(5)* INVDT1(6)* GENDT1(0)* GENDT1(2)* GENDT1(4)* GENDT1(1)*

1 1 1 1 1 1 1 1 1 1 1 1 1 1

410078 Rev A (July 2009)

Page 30 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 42156 42157 42158 42159 42160 42161 42162 42163 42164 42165 42166 42201 42202 42203 42204 42205 42206 42207 42208 42209 42210

Mode S,H S,H S,H S,H S,H S,H S,H S,H S,H S,H S,H S,H

Description Generator Quadrature Voltage Generator Voltage Command Generator Current Limit Generator Heat Sink Temperature Brake Temperature Generator Power Out Generator Speed Generator DC Bus Voltage Generator Command Value Ambient Pressure Compressor Inlet Temperature Engine Speed Reserved Turbine Exhaust Temp Avg. Percent Fuel Command Fuel Pressure (Reserved) Present Min Power Capacity

Representation Units: 1 = 0.29296875 V Units: 1 = 0.29296875 V Units: 1 = 0.29296875 A Units: 1 = 1 C Units: 1 = 1 C Units: 1 = 2.746582 Watts Units: 1 = 1 rpm Units: 1 = 0.9765625 V Units: 1 = 0.29296875 A Units: 1 = 0.01 kPa Units: 1 = 0.125 C Units: 1 = 1 RPM

RS232 Command GENDT1(3)* GENDT1(5)* GENDT2(1)* GENDT2(2)* GENDT2(3)* GENDT2(5)* GENDT2(6)* GENDT2(7)* GENDT2(8)* ENGDT1(15) * ENGDT1(11) * ENGDT1(6)*

Timing (Sec) 1 1 1 1 1 1 1 1 1 1 1 1

S,H S,H C

Units: 1 = 0.125 C Units: 1 = 0.1% Cmd Units: 1 = 1 Watt Min: 0 Watts Max: 2,000,000,000 Watts Units: 1 = 1 Watt Min: 0 Watts Max: 2,000,000,000 Watts Units: 1 = 0.0625 psig

ENGDT1(10) * PRFUEL MPDAT1(0)

1 2 On Demand, No Refresh On Demand, No Refresh On Demand, No Refresh

42211 42212

Present Spinning Reserve

MPDAT1(1)

42213 42214

S, H (N6)

Inlet Fuel Pressure HP

SPVDAT(1)*

410078 Rev A (July 2009)

Page 31 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 42215

Mode S, H (N6)

Description SPV Injector State

Representation Model C30 MicroTurbine: 0 = Fuel Init 1 = Warm-up 2 = One Pilot 3 = Three Pilot 4 = Premix Model C60/C65 MicroTurbine: 0 = Fuel Init 2 = Injectors 1, 2 on 3 = Injectors 1, 2, 3 on 4 = Injectors 1, 2, 3, 4 on 5 = Injectors 1, 2, 3, 4, 5 on 6 = All six injectors on 9 = Light off Units: 1 = 1 F

RS232 Command SPVDAT(2)*

Timing (Sec) On Demand, No Refresh

42216

S, H (N6)

SPV Temperature

SPVDAT(3)*

42217

S, H (N6)

SPV Fuel Exit Pressure

Units: 1 = 0.0625 psig

SPVDAT(4)*

42218

S, H (N6)

SPV Position Command

Units: 1 = 0.1%

SPVDAT(0)*

42220 42221

S (N3) S (N3)

CHP Enabled CHP Mode

0=Disabled, 1=Enabled 0 = Thermal Bypass 1 = Electrical Priority 2 = Thermal Priority Units: 1 = 1 F

CHPTRU(0) CHPDAT(0)*

42222

S (N3)

CHP Water Setpoint

CHPDAT(2)*

On Demand, No Refresh On Demand, No Refresh On Demand, No Refresh 10 On Demand, No Refresh On Demand, No Refresh

410078 Rev A (July 2009)

Page 32 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 42223

Mode S (N3)

Description CHP State

Representation 0 = Inactive 1 = Wait State 2 = Water Temp Load Following 3 = Electrical Load Following 4 = Max Heat Recovery 5 = Self-test Start 6 = Self-test Recovery Direction 7 = Self-test Bypass Direction 8 = Self-test Complete 9 = Disable Wait State Units: 1 = 1 F

RS232 Command CHPDAT(1)*

Timing (Sec) On Demand, No Refresh

42224

S (N3)

CHP Water Inlet Temperature

CHPDAT(3)*

42225

S (N3)

CHP Water Outlet Temperature

Units: 1 = 1 F

CHPDAT(4)*

42226

S (N3)

CHP Board Temperature

Units: 1 = 1 F

CHPDAT(5)*

42227

S (N3)

CHP Bridge Current

Units: 1 = 0.001 A

CHPDAT(6)*

On Demand, No Refresh On Demand, No Refresh On Demand, No Refresh On Demand, No Refresh

410078 Rev A (July 2009)

Page 33 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 42228

Mode S (N3)

Description CHP Status

Representation 0 = Aux In 1 = Aux Out 2 = Flow 3 = Overtemp Core 5 = Diverter at Full Recovery 6 = Diverter at Full Bypass 7 = Moving toward Recovery 8 = Moving toward Bypass 9 = Over Current towards Recovery 10 = Over Current towards Bypass 11 = Under Current towards Recovery 12 = Under Current towards Bypass 15 = Over Current in no motion state 28 = PIC EEPROM (PM) CRC Error 29 = PIC ADC Conversion Error 30 = PIC RAM 31 = PIC Communication Timeout Units: 1 = 1 F Units: 1 = 1 rpm

RS232 Command CHPDAT(9)*

Timing (Sec) On Demand, No Refresh

42230 42241

S (N3) S (N6)

CHP Temperature Feedback RFC Command

CHPFBK(0) RFCDAT(0)*

5 On Demand, No Refresh On Demand, No Refresh On Demand, No Refresh On Demand, No Refresh On Demand, No Refresh

42242

S (N6)

RFC Mode

1 = Speed Mode 2 = Pressure Mode

RFCDAT(1)*

42243

S (N6)

RFC Pressure In

Units: 1 = 0.0625 psig

RFCDAT(2)*

42244

S (N6)

Fuel Outlet Pressure LP

Units: 1 = 0.0625 psig

RFCDAT(3)*

42245

S (N6)

HeatSink Temperature

Units: 1 = 1 F

RFCDAT(4)*

410078 Rev A (July 2009)

Page 34 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 42246

Mode S (N6)

Description RFC Speed

Representation Units: 1 = 1 rpm

RS232 Command RFCDAT(5)*

42247

S (N6)

Current Feedback

Units: 1 = 1 A

RFCDAT(6)*

42248

S (N6)

RFC Injector State

42261

S,H

LFC Pump Cmd - PWM

Current injector state set for system operation (for C30 low pressure systems only): 0 = Fuel Init 1 = Warm-up 2 = One Pilot 3 = Three Pilot 4 = Premix Units: 1 = 0.001529%

RFCDAT(7)*

Timing (Sec) On Demand, No Refresh On Demand, No Refresh On Demand, No Refresh

LFCDAT(0)*

42262

AA Pressure (psig)

Units: 1 = 0.1 psig

LFCDAT(1)*

42263

S,H

LFC Injector State

Model C30 MicroTurbine: 0 = Fuel Init 1 = Injector 1 on 2 = Injector 2 on 3 = Injector 3 on 4 = Two injectors on 5 = All three injectors on 7 = Purge no injectors on 8 = Injectors 1 and 2 on; injector 3 clogged 9 = Injectors 1 and 3 on; injector 2 clogged Model C60/C65 MicroTurbine: 0 = Fuel Init 2 = Injectors 1, 2 on 3 = Injectors 1, 2, 3 on 4 = Injectors 1, 2, 3, 4 on 5 = Injectors 1, 2, 3, 4, 5 on 6 = All six injectors on 9 = Light off 10 = Liquid fuel prime

LFCDAT(2)*

On Demand, No Refresh On Demand, No Refresh On Demand, No Refresh

410078 Rev A (July 2009)

Page 35 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 42264

Mode S,H

Description LFC Pressure Command

Representation Units: 1 = 0.0976562 psig

RS232 Command LFCDAT(3)*

42265

S,H

LFC Pressure Feedback

Units: 1 = 0.0976562 psig

LFCDAT(4)*

42266

System Prime Status

0 = Not Primed 1 = Primed

LFCDAT(6)*

42267

LFC User Initiated Prime

0=Off, 1=User Start

LFCDAT(7)*

42268

S,H

LFC Boost Pump

0=No Pump, 1=Pump present

LFCDAT(8)*

42269

S (N6)

LFC Prime State

42270

S,H

LFC Boost Pump Status

0 = Ready for prime 1 = Beginning line fill 2 = Filling lines into drain tank 3 = Pulsing priming solenoid 4 = Completing line fill 5 = Draining tank 6 = Verifying completion 7 = Priming sequence complete 0=Off, 1=On

LFCDAT(9)*

Timing (Sec) On Demand, No Refresh On Demand, No Refresh On Demand, No Refresh On Demand, No Refresh On Demand, No Refresh On Demand, No Refresh

LFCDAT(10)*

42271

S (N6)

LFC Drain Pump Status

0=Off, 1=On

LFCDAT(11)*

42272

S (N6)

LFC Prime Solenoid Status

0=Close, 1=Open

LFCDAT(12)*

On Demand, No Refresh On Demand, No Refresh On Demand, No Refresh

410078 Rev A (July 2009)

Page 36 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register

Mode

Description Fault Information

Representation

RS232 Command FLTLST

Timing (Sec) 10

46000 46001

S,H

Fault Summary Register (Bitmapped. Lower Order bits, 0 through 15 are contained in register 46001 and bits 16 31 in register 46000) Faults 1000 1031 from Fault Category 1000

46002 46003

S,H

46004 46005

S,H

Faults 1032 1063

46006 46007

S,H

Faults 1064 1095

46008 46009

S,H

Faults 1096 1127

46010 46011 46012 46013 46014 46015 46016 46017 46018 46025 46026 46033 46034 46041

S,H

Faults 2000 2031 from Fault Category 2000 Faults 2032 2063 from Fault Category 2000 Faults 2064 2095 from Fault Category 2000 Faults 2096 2127 from Fault Category 2000 Faults in Category 3000

S,H

S,H

S,H

S,H

S,H

Faults in Category 4000

S,H

Faults in Category 5000

Bit 0 Any System Fault Bit 1 Category 1000 Fault Bit 2 Category 2000 Fault Bit 20 Category 20000 Fault Bits 21 31 - Unused Bit 0 Fault 1000 Bit 1 Fault 1001 Bit 2 Fault 1002 Bit 31 Fault 1031 Bit 0 Fault 1032 Bit 1 Fault 1033 Bit 31 Fault 1063 Bit 0 Fault 1064 Bit 1 Fault 1065 Bit 31 Fault 1095 Bit 0 Fault 1096 Bit 1 Fault 1097 Bit 31 Fault 1127 Similar to registers 46002 46003 for Fault Category 1000 Similar to registers 46002 46003 for Fault Category 1000 Similar to registers 46002 46003 for Fault Category 1000 Similar to registers 46008 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000

FLTLST

FLTLST

FLTLST

FLTLST

FLTLST

FLTLST

FLTLST

FLTLST

FLTLST

FLTLST

FLTLST

410078 Rev A (July 2009)

Page 37 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 46042 46049 46050 46057 46058 46065 46066 46073 46074 46081 46082 46089 46090 46097 46098 46105 46106 46113 46114 46121 46122 46129 46130 46137 46138 46145 46146 46153 46154 46161 4617146190

Mode S,H

Description Faults in Category 6000

Representation Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Similar to registers 46002 46009 for Fault Category 1000 Fault history table containing the last 20 faults.

RS232 Command FLTLST

Timing (Sec) 1

S,H

Faults in Category 7000

FLTLST

S,H

Faults in Category 8000

FLTLST

S,H

Faults in Category 9000

FLTLST

S,H (N6) S,H

Faults in Category 10000

FLTLST

Faults in Category 11000

FLTLST

S,H

Faults in Category 12000

FLTLST

Faults in Category 13000

FLTLST

Faults in Category 14000

FLTLST

N/A

Faults in Category 15000

FLTLST

S,H

Faults in Category 16000

FLTLST

S (N3)

Faults in Category 17000

FLTLST

Faults in Category 18000

FLTLST

Faults in Category 19000

FLTLST

Faults in Category 20000

FLTLST

S,H

Fault History (20 registers)

FLTHST

410078 Rev A (July 2009)

Page 38 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 47001 47002 47003 47005

Mode S,H

Description Warranty Information Commission Date

Representation Word 1, High Byte Month Word 1, Low Byte Day Word 2 Year Word 1 Hours High Word 2 Hours Low Word 3, High Byte Minute Word 3, Low Byte Second Units: 1 = 1 Start Word 1 Hours High Word 2 Hours Low Word 3, High Byte Minute Word 3, Low Byte - Second

RS232 Command WARNTY(0)

Timing (Sec) 30

S,H

Operating Time (Hours High)

WARNTY(1)

30

47006 47007 47008 47010

S,H S (N6)

Number of Starts RFC Low psi Time

WARNTY(3) WARNTY(4)

30 30

410078 Rev A (July 2009)

Page 39 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Write Registers
Some write registers may be written into without entering a password. However, most do require password access in order to change the values. Write Registers 48001, 48003 48008, and 48021 48022 may be written without password access. All other Write Registers will require entering a valid password in register 48004 through 48008 before modifying a value. Successful entry of the password may be verified by reading back the value at register 40006 as 1, indicating protected password access has been granted. The paragraph below demonstrates how to enter a user password.

Entering a User Password


Passwords may be no more than 9 characters (see Appendix A for character - hex translation) An additional character is required for a NULL terminator (0x00) Two characters make up one 16-bit register location Passwords must be entered starting in location 48004 Fill any remaining register bytes with NULL (0x00) The example below shows how to enter the default password: Register Location 48004 48005 48006 48007 48008 Byte Contents 0x55h (U) 0x52h (R) 0x32h (2) 0x50h (P) 0x00 (NULL) 0x53h (S) 0x31h (1) 0x33h (3) 0x00h (NULL) 0x00h (NULL)

Several write registers require multiple registers to be updated simultaneously in order to complete the operation. These registers will be identified with footnotes. All values written into the write registers can be read back using the standard Modbus read procedure. This allows verification that the value that was attempted to be written into a specific register, can be read back from that register. However, this value may be different from the value of the corresponding read register, which could happen if the host device does not or was not able to accept the command issued to it. In that case, the command value remains unchanged and the corresponding read register on the Modbus translator would still contain the old value.

410078 Rev A (July 2009)

Page 40 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

WARNING

Several of the registers in this section access MicroTurbine commands that write to Non-Volatile Memory (NVM) locations. The NVM memory device has limited number of writes (10,000 writes) that can be executed before the device fails. All registers that apply (see below) are denoted with an asterisk (*) character preceding the description name.
Table 9 - Holding Register (Write Only)

Register

Mode

Description General Communication Info


3

Representation

RS232 Command TURBNO,0

48001

Selected Turbine

0 This Turbine/Entire System 1 Master Turbine 2 thru 10 Specific Turbine Send 1 to logoff Each byte represents an ASCII character for the password. String must be NULL terminated. (Default: USR123P) Each byte represents an ASCII character for the password. String must be NULL terminated. Each byte represents an ASCII character for the password. String must be NULL terminated. Send 1 to reboot system Bit 0 1: Mode Bits 0 = Stationary 1 = HEV 2 = Reserved 3 = Reserved Bit 2 14: Not Used Bit 15: Comm Timeout Enable Units: 1 = 1 Seconds Min: 1 Seconds Max: 65535 Seconds 0 Stop, 1 Start

48002 48003 48004 48008

S,H S,H

Reserved 4 Logoff 4,5 Enter Password

LOGOFF PSSWRD

48009 48013

S,H

Change Password

CPTPSW

48014 48018

S,H

*Verify Password

VPTPSW

48020 48021

S,H S,H

Reboot 1 Communication Configuration

REBOOT NA

48022

S,H

Comm Timeout Period

NA

System Controls/Settings 48101


3

S,H

*Start Command

STRCMD

Updating this parameter will make all registers reflect data from system number selected. All read registers would be invalidated until the Modbus device has been able to query data from the new turbine number. 4 Logoff command is automatically issued after 5 minutes of no Modbus communication. 5 Changes Port Access Level (see Reg 40006) so that write commands can be processed. When no Modbus communication is received within 5 minutes, the LOGOFF command will be issued. 6 Changes the password for the Enter Password (see Reg 48004 - 48008). Must be followed by a write to the Verify Password registers (see Reg 48014 48018) with the same password data. 7 Must follow a write to the Change Password registers (see Reg 48009 - 48013) to have the new password (Enter Password, see Reg 48004 48008) become valid.

410078 Rev A (July 2009)

Page 41 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 48102 48103 48104

Mode S S,H S

Description *User Start *Auto Restart *Restart Delay (GC)

Representation 0 Stop, 1 Start 0 Disabled, 1 Enabled Units: 1 = 0.1 Minutes Min: 0.0 Minutes Max: 60.0 Minutes Units: 1 = 0.1 Minutes Min: 0.0 Minutes Max: 60.0 Minutes 0 User 1 Remote 2 GC User/SA Remote 3 SA User/GC Remote 0 Invalid, 1 Stand Alone, 2 Grid Connect, 3 Dual Mode 0 Open, 1 Closed 0 Disabled, 1 Enabled Units: 1 = 1 Watt Min: 0 Watts Max: 2,000,000,000 Watts Units: 1 = 1 Watt Min: 0 Watts Max: 2,000,000,000 Watts Units: 1 = 0.01 index Min: 0.10 Max: 14.00 (see Installation Guide for details) Units: 1 = 0.01 index Min: 0.10 Max: 2.00 (see Installation Guide for details) 0 Normal 1 Medium 2 Low (see Installation Guide for details) 0 Disabled, 1 Enabled Master: 1 Slave: 2 thru 10

RS232 Command USRSTR AUTRST RDLYGC

48105

*Restart Delay (SA)

RDLYSA

48106

*Remote Start Switch Enable

STRINP

48107 48108

Reserved *Utility Connection

UTLCON

48109 48110 48111 48112 48113 48114 48115

S S S,H

Power Enable (SA only) *Auto Load (SA only) Power Demand

PWRENA AUTOLD PWRDMD

S,H

*Store Power Demand

PWRDST

S,H

*Fuel Index 1

FUELI1

48116

S,H

*Fuel Index 2

FUELI2

48117

S,H

*Medium BTU Switch

MEDBTU

48118 48119

S S

*MultiPac Enable *This Turbines Number

MPENAB STRBNO

For continuous power command updates use registers 48111 - 48112 Power Demand.

410078 Rev A (July 2009)

Page 42 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register

Mode

Description Load Management Settings

Representation

RS232 Command LMMODE

48501

*Load Management Mode

48502

*Meter Constant

48503

*Utility Power Setpoint

48504

*Load Following Response Time

48505 48506 48507

*Minimum Power Shutoff

*Minimum Power Shutoff Time

48508

9,10

Time of Use Event

0 Disabled 2 Load Following 3 Time-of-Use Units: 1 = 0.001 Wh/pulse Min: 0.000 Wh/pulse Max: 50.000 Wh/pulse Units: 1 = 0.1 kW Min: -1000.0 kW Max: +1000.0 kW Units: 1 = 1 Second Min: 1 Second Max: 120 Seconds Units: 1 = 0.1 kW Min: 0.0 kW Max: 2,000,000.0 kW Units 1 = 1 Minutes Min: 1 Minute Max: 15 Minutes Min: 1 Max: 20 Update of Holding Registers will be delayed 1 second 0 Inactive 1 Sunday 7 Saturday High Byte Hour Low Byte Minute 0 Stop, 1 Start Units: 1 = 1 Watt Min: 0 Watts Max: 2,000,000,000 Watts 0 Disabled, 1 - Enabled Units 1 = 1 Seconds Min: 1 Second Max: 120 Seconds

LMMTRC

LMUTPW

LMRSPT

LMMPWR

LMPWTM

N/A

48509

10

*TOU Event Day

LMTOUE

48510 48511

10

S S S

*TOU Event Time *TOU Event Start Command *TOU Event Power Demand

LMTOUE LMTOUE LMTOUE

10 10

48512 48513 48514 48515

S S

*Reverse Power Protect *Reverse Power Protect Time

LMRPFP LMRPTM

UCB Relays
Writing to only this register will query the information for a specific Time-of-Use event. Read registers 40508 through 40513 will be updated within 500ms with the requested information. 10 All of these registers must be written simultaneously to update a Time-of-Use event.
9

410078 Rev A (July 2009)

Page 43 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 48601
11,12

Mode

Description Selected Relay Number Min: 1 Max: 6

Representation

RS232 Command N/A

48602

12

*Relay Function

48603

12

*Relay Active State Battery Information S S Battery Enable *Battery Auto Sleep

Update of Holding Registers will be delayed 1 second 0 Standby 1 Run 2 Load 3 Fault 4 Standalone 5 Dual Mode 6 Disable 7 Fuel On 8 Purge 0 Open, 1 Close

OUTRLY

OUTRLY

48701 48702

48703 48704 48705 48706 13,14 48707

S S

Battery Charge Battery Recharge Enable (SA only) Reserved Reserved Selected Charge Permission Day

0 Disabled, 1 Enabled Units: 1 = 0.1 Hours Min: 1 = 0.1 Hours Max: 239 = 23.9 Hours 0 Disabled, 1 Enabled 0 Disabled, 1 Enabled

BATENA ATOSLP

BATCHG RCHENA

1 Sunday 2 Monday

N/A

48708 14 48709 48710 48711


14

14

S S S

*Charge Permission Active *Charge Permission Start Time. Must be earlier than 40710. *Charge Permission End Time. Must be later than 40709. Reserved

7 Saturday Update of Holding Registers will be delayed 1 second 0 Inactive, 1 Active High Byte Hour (0 23) Low Byte Minute (Ignored) High Byte Hour (0 23) Low Byte Minute (Ignored)

CHGEQP CHGEQP CHGEQP

Hybrid Vehicle Relays


Writing to only this register will query the information for a specific UCB Relay. Read registers 40601 through 40603 will be updated within 500ms with the requested information. 12 All of these registers must be written simultaneously to update UCB Relay settings. 13 Writing to only this register will query the information for a specific Charge Permission Day. Read registers 40707 through 40710 will be updated within 500ms with the requested information. 14 All of these registers must be written simultaneously to update Charge Permission Day settings.
11

410078 Rev A (July 2009)

Page 44 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Register 48807

Mode H

Description *Battery Current Limit

Representation Units: 1 = 1 ADC Min: 0 = 0 ADC Max: 195 = 195 ADC Units: 1 = 1 Watt Min: 0 Watts Max: 2,000,000,000 Watts Units: 1 = 1 Watt Min: 0 Watts Max: 2,000,000,000 Watts Units: 1 = 1 Watt Min: 0 Watts Max: 2,000,000,000 Watts Units: 1 = 1 Watt Min: 0 Watts Max: 2,000,000,000 Watts 0 Load Balancing, 1 Max Efficiency Word 1, High Byte Month Word 1, Low Byte Day Word 2 Year Word 1 Hour Word 2, High Byte Minute Word 2, Low Byte Second

RS232 Command BATILM

Capstone Power Server 48808 C Min Power Capacity, Grid Connect MPCPGC

48810

Min Power Capacity, Stand Alone

MPCPSA

48812

Spinning Reserve, Grid Connect

MPSRGC

48814

Spinning Reserve, Stand Alone

MPSRSA

48816

Multipac Mode Data Acquisition *System Date

MPMODE

49001 49002 49003 49004

S,H

DATESC

S,H

*System Time

TIMESC

410078 Rev A (July 2009)

Page 45 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Remapping Modbus Registers


In some implementations, it may be desirable to remap the Modbus register assignments. This may be done to fill in the gaps in the standard table, allowing for longer multi-byte read operations. Remap Modbus registers as follows: 1. Set the Modbus translators Modbus ID to 0 using the Configuration Management web page, as described in Configuration Settings on page 10. 2. Connect a serial null modem cable between the RS-232 port P1 on the Modbus translator and the serial port connector on a local PC. Make sure that the Capstone program RS232 is installed on the PC. 3. Open a Command Prompt window and run the RS232 program. 4. Use the commands MBASGN and MBSAVE, provided by the RS232 program, to remap the Modbus register assignments. These commands work as follows:
MBASGN <enter>: Lists all current assignments stored in memory (not NVM). MBASGN =0 <enter>: Clears all current assignments in memory (does not write to NVM). MBASGN =<new Modbus addr>, <current addr>: Assigns a new Modbus address to an existing register. MBASGN =<Modbus addr>, 0: Deletes the assignment for this Modbus register in memory. It restores the default assignment. MBASGN =<Modbus addr>: Displays the current assignment for this Modbus register. MBSAVE: Saves the current assignment list to NVM to be loaded on the next boot.

5. When all register assignments are made, type <Ctrl>C to exit the RS232 program. 6. Set the Modbus translators Modbus ID back to its original number using the Configuration Management web page, as described in Configuration Settings on page 10. 7. Power cycle the Modbus translator by removing and applying power to the unit. The Modbus address assignments must be done one register at a time. A batch file can be used to speed up the process. You can create a verified batch file for assigning the registers in a production situation by using the MBASGN command to list assignments and RS232 program's W command to save the list to disk. When a new Modbus address is assigned to a Capstone default register, the Capstone register will no longer be valid at its original address and may not be assigned to another Modbus address. In other words, it is not possible to have a Capstone default register (read or write) appear at more than one Modbus address; nor is it possible to have more than the original number of valid registers available at one time.

410078 Rev A (July 2009)

Page 46 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

When re-assigning multi-word registers, only the first register location needs be assigned; the others will follow automatically. If you try to assign a register in the middle of a multi-word bank, the program issues a warning and the command is ignored. For write registers, the multi-word banks are obvious, may be up to 6 words long, and are indicated as such in the documentation. For the read registers, the multi-word registers are only those returning pure 32-bit values and may only be 2 words long. To remap multi-word registers more than 2 words long, you must reassign each word of the multiword register. For example, the fault register 46002 must be remapped separately from register 46000 and that separately from register 46004, etc. The MBSAVE command writes the assignment list from RAM to flash memory. The next time the Modbus translator is booted the new assignments are loaded back into RAM and used. The MBASGN=0 command can be used to clear the RAM copy of the assignments; to reload the assignments from NVM use the REBOOT command. When new firmware is installed, the assignments are reset. A register re-assignment map may become invalid after a software upgrade. The registers per the new software will need to be reassigned once again after an upgrade.

NOTE

410078 Rev A (July 2009)

Page 47 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Troubleshooting
In the event that there is a Modbus problem, attempt the following solutions provided below: Symptom: Cannot communicate with the device through the Modbus translator. Solutions: Verify that the Modbus translator Ready LED is on. Verify that the microturbine is powered on. Verify that the RS-232 serial cable between the microturbine and the Modbus translator is correctly plugged into connector P1 on the Modbus translator and the UCB connector on the microturbine. Verify that the TX and RX LEDs on the Modbus translator front panel, for P1 and P2, blink occasionally. Verify that the DB9F-to-TB connector is correctly plugged into connector P2 on the Modbus translator. Verify that the RS-485 bus wires are properly terminated and the screws tightened in terminals 3 and 4 of the DB9F-to-TB terminal block. The A-Bus wire MUST connect to Terminal 4, and the B-Bus wire MUST connect to Terminal 3. Change the Modbus translator to a different address. Change the baud rates of the entire system to a slower baud to verify. It is possible that by adding a new node to the RS-485 system, a previously achieved baud rate can no longer be supported. This occurs because the length of the cable and number of nodes may have changed.

Symptom: The Ready LED on the Modbus translator is not on. Solutions: CAUTION If the power wires are hooked up backwards, permanent damage to the Modbus translator can occur.

Verify that the power is correctly hooked to the Modbus translator. The positive (+) power wire MUST connect to terminal V+. The negative (-) power wire MUST connect to terminal V-. Verify with a voltmeter, that the voltage at power terminals is DC, and is between +12.0 and +48.0 Vdc. If connected to the microturbine 12 or 24 Vdc output, verify that the microturbine is powered on.

410078 Rev A (July 2009)

Page 48 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Symptom: The TX and RX LEDs on the Modbus translator front panel, for P1 and P2, are not on. These LEDs should never be solidly on, but should blink on and off periodically. When the TX or RX LED blinks, it indicates that a valid Modbus command is being transmitted or received on the RS-485 bus. Solutions: Verify that the Ready LED is on. The TX and RX LEDs will not work if there is inadequate power to the Modbus translator. Verify that the Modbus translator baud rate is set to the same baud rate as the Modbus master system. If data rates are not the same, bit timing will be off and data will not be understood properly by the Modbus translator. If there are still communications problems, then either the address should be changed, or the host device connected to the Modbus translator is not communicating.

Symptom: Unable to retrieve a value from a read register that was previously written to a corresponding write register. Solutions: Because this is a translator, there may be a 0.5 to 1.0 second delay before the write operation is actually processed. Slow down the time between writing to the write register and attempting to read back the value from the corresponding read register. Verify that access to write to the register has been granted by reading register 40006. If a zero is read back, a password must first be entered by writing to registers 48004 through 48008. Verify that the connected port has control access by reading register 40003. A write operation may require update to multiple registers - rather than just one. If only one register is written to, the entire entry may be ignored.

410078 Rev A (July 2009)

Page 49 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Capstone Technical Information


If questions arise regarding Modbus operation for your Capstone MicroTurbine, please contact Capstone Turbine Technical Support for assistance and information.

Capstone Applications
E-mail: [email protected]

Capstone Service
Capstone Technical Support
Toll Free Telephone: (877) 282-8966 Service Telephone: (818) 407-3600 Fax: (818) 734-1080 E-mail: [email protected]

Capstone Technical Support (Japan)


Service Telephone: (818) 407-3700 Fax: (818) 734-1080 E-mail: [email protected]

410078 Rev A (July 2009)

Page 50 of 53

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Appendix A - Modbus Translator Module Software Installation


In order to install the application software on the Modbus translator, it must be connected to a PC as described in Modbus Translator Connections on page 12. Use the PC to install the software as explained in the following steps. 1. Make sure that the Modbus translator program files mbtx_install and mbtx_install.tar.gz are on the computers hard drive. 2. Open a Command Prompt window. At the command prompt, use the cd (change directory) command to navigate to the folder that contains the Modbus translator program files. 3. Enter ftp followed by the IP address of the Modbus translator. The Command Prompt window will display Connected to [IP address] when successfully connected to the Modbus translator. 4. Enter root at the User prompt and root at the Password prompt. When successfully logged in, the Command Prompt window will display the MOXA logo as shown in Figure A-1. 5. At the ftp prompt, enter the command cd /tmp, then enter the command pwd to verify that /tmp is the current directory. 6. Enter bin to let the operating system know that the file to be installed is in a binary format. 7. Enter the commands put mbtx_install followed by put mbtx_install.tar.gz to upload the Modbus translator program files. 8. Enter the command ls to verify that the files were copied successfully. See Figure A-2. 9. After the file is copied, enter the command quit. This exits the ftp mode. 10. See Figure A-3 and execute the Modbus translator program as follows: a. At the command prompt, enter the command telnet followed by the IP address of the Modbus translator. b. Enter root at the User prompt and root at the Password prompt. c. When successfully logged in, the Command Prompt window will display the MOXA logo. d. Enter the command cd /tmp, to make /tmp the current directory. e. Enter the command chmod 755 mbtx_install. This makes mbtx_install an executable file. f. Run the install program by entering the command exactly as follows: ./mbtx_install. This installs the Modbus translator program on the devices file system.

11. Enter the command exit to exit telnet. 12. Power cycle the Modbus translator by removing and applying power to the unit.
410078 Rev A (July 2009) Page A-1

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Figure A-1. Successful Log In to Modbus Translator

Figure A-2. Files Uploaded to Modbus Translator

Figure A-3. Modbus Translator Program Installed


410078 Rev A (July 2009) Page A-2

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

Capstone Turbine Corporation 21211 Nordhoff Street Chatsworth CA 91311 USA Technical Reference: Modbus Translator Module

Appendix B ASCII Chart


Decimal 48 49 50 51 52 53 54 55 56 57 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 97 98 99 100 Hexadecimal 0x30 0x31 0x32 0x33 0x34 0x35 0x36 0x37 0x38 0x39 0x41 0x42 0x43 0x44 0x45 0x46 0x47 0x48 0x49 0x4A 0x4B 0x4C 0x4D 0x4E 0x4F 0x50 0x51 0x52 0x53 0x54 0x55 0x56 0x57 0x58 0x59 0x5A 0x61 0x62 0x63 0x64 Character 0 1 2 3 4 5 6 7 8 9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z a b c d Decimal Hexadecimal Character 101 0x65 e 102 0x66 f 103 0x67 g 104 0x68 h 105 0x69 i 106 0x6A j 107 0x6B k 108 0x6C l 109 0x6D m 110 0x6E n 111 0x6F o 112 0x70 p 113 0x71 q 114 0x72 r 115 0x73 s 116 0x74 t 117 0x75 u 118 0x76 v 119 0x77 w 120 0x78 x 121 0x79 y 122 0x7A z

410078 Rev A (July 2009)

Page B-1

Capstone reserves the right to change or modify, without notice, the design, specifications, and/or contents of this document without incurring any obligation either with respect to equipment previously sold or in the process of construction.

You might also like