Summary of Contents for Hamilton Sundstrand Company Fuel Metering Valves eXVG
Page 1
User Manual MODBUS Communication For XVG/eXVG Gas Fuel Metering Valves SD-6021 Rev 1 September 2008 Precision Engine Controls Corporation claims proprietary rights to the information disclosed herein. This document is furnished in confidence on the express understanding that neither it nor any reproduction thereof will be disclosed to others or used for the purpose of manufacture or procurement.
PREFACE The purpose of this manual is to enable users to: Understand the basics of XVG/eXVG Modbus communications via standard definitions, interfaces, and protocols. Setup Modbus communication with a network of one or more XVG/eXVGs. It is expected that the user have sufficient knowledge of serial communication and Modbus protocol.
Serial Communication The primary interface used for XVG/eXVG is serial communication, which is the exchange of data one-bit-at-a time, sequentially, on a single data line or channel. XVG/eXVG can communicate either in PECC (a propriety standard protocol) or Modbus protocol via the serial interface. Baud Rate Baud rate is the speed at which a data line changes its state or the number of times per second the line changes state.
Follow RS232 and RS485 standards for wiring and biasing of the communication bus. XVG/eXVG Modbus Communication Default Settings The default settings for XVG/eXVG Modbus communication are as follows: - Baud Rate: 19200 - Parity Mode: Even - Number of Start Bits: 1 - Number of Stop Bits: 1 - Device Address: 1 Protocol...
Modbus Transactions The slave’s response message is also constructed using Modbus protocol. It contains fields confirming the action taken, any data to be returned, and an error– checking field. If an error occurred in receipt of the message, or if the slave is unable to perform the requested action, the slave will construct an error message and send it as its response.
Modbus Functions The following Modbus functions are supported by the XVG/eXVG: - Read Registers (0x03) - Write Single Register (0x06) - Write Multiple Registers (0x10) - Diagnostics (0x08) Query Data sub-function (0x00) The master can address individual slaves, or can initiate a broadcast message (using device address 0) to all slaves.
Example: Request to read holding registers 108 - 110 Request 01 03 00 6B 00 03 74 17 Slave Address 01 Function 03 Starting Address Hi 00 Starting Address Lo 6B Number of Registers Hi 00 Number of Registers Lo 03 CRC 7417 Table 6: Modbus Function 03 - Example 7.4.2 Write Single Register (0x06)
Starting Address Hi 00 Starting Address Lo 01 Quantity of Registers Hi 00 Quantity of Registers Lo 02 Byte Count 04 Registers Value Hi 00 Registers Value Lo 0A Registers Value Hi 01 Registers Value Lo 02 CRC 9230 Table 12: Modbus Function 16 – Example 7.4.4 Diagnostics (0x08) (Loopback) Request &...
RS-232 Connection (for XVG/eXVG with RS-232 interface) PC COM Port (DB9M Connector) Signal Pin # SERIAL RX SERIAL TX SERIAL RTN Table 14: RS-232 Interface Connection RS-485 Connection (for XVG/eXVG with RS-485 interface) PC COM Port XVG/eXVG Terminal Through RS232- RS485 Converter Pin # TD(B)+...
Page 18
The position interpolation feature is enabled / disabled via the IDM_POSINTTBLEN setup parameter. The valve will ignore this data in this table and assume a linear stroke profile when IDM_POSINTTBLEN is disabled. Valid Parameter Interpolation Table values are in the range of 683.0-3413.0, values are in fixed point IQ8 format (count value multiplied by 2 Register XVG/eXVG Parameter...
Register XVG/eXVG Parameter Number Name 5670 5671 IDM_POSTBL35 5672 5673 IDM_POSTBL36 5674 5675 IDM_POSTBL37 5676 5677 IDM_POSTBL38 5678 5679 IDM_POSTBL39 5680 5681 IDM_POSTBL40 5682 5683 IDM_POSTBL41 5684 5685 IDM_POSTBL42 Table 17: Position Interpolation Table Parameters 9.1.3 Stroke Position Parameters For XVG/eXVG low measurement and flow control accuracy improvement, the CdA values are calculated based not only stroke position (using stroke- CdA interpolation table) but also on pressure ratio condition.
Only one host master can send request message at a time. Each XVG/eXVG unit on the same network must have a unique address. Adhere to the tables of registers provided and their allowable data range. Do not attempt to write to any register if you are not sure of the consequence. Do not write to registers that are for options your XVG/eXVG does not have.
All XVG/eXVG parameters can be uploaded using Modbus Read Registers function then convert the results into appropriate number representation for display and monitoring. Model number and part number need to be converted into ASCII character string. All registers are readable, choose whichever parameters are of interest and read them.
Perform the following steps to retrieve the fault records: 1. Read register 3045, IDM_RECORDS, to get the current number of fault records available in the XVG/eXVG. The records are named 0, 1, 2, .. , n-1. Maximum n = 16. 2.
- Write 2 to register 3005. Valve will close and reset. 6. To restore the previous R and K values, write the value of R to register 7518 and the value of K to 7520. In case the old values are forgotten and the new values have not been saved to the valve, reset the valve by turning power off then on to restore R and K.
Page 36
6. Write 32 to register 3033. Wait 100 milliseconds. 7. Write 1 to register 3005. Wait 100 milliseconds. 8. Write 2 to register 3005. Valve will close, reset and assume new address.
Need help?
Do you have a question about the Fuel Metering Valves eXVG and is the answer not in the manual?
Questions and answers