Hamilton Sundstrand Company Fuel Metering Valves eXVG Supplementary Manual

Modbus communication for gas fuel metering valves

Advertisement

Quick Links

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.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Fuel Metering Valves eXVG and is the answer not in the manual?

Questions and answers

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.
  • Page 2: Preface

    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.
  • Page 3: Table Of Contents

    Table of Contents PREFACE... 2 Table of Contents... 3 Serial Communication ... 4 Baud Rate... 4 Parity bit... 4 Start and Stop Bits ... 4 Electrical Interface Standards ... 4 XVG/eXVG Modbus Communication Default Settings... 5 Protocol ... 5 General Modbus Frame... 5 Modbus Transactions ...
  • Page 4: Serial Communication

    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.
  • Page 5: Xvg/Exvg Modbus Communication Default Settings

    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...
  • Page 6: Modbus Transactions

    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.
  • Page 7: Modbus Functions

    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.
  • Page 8: Write Single Register (0X06)

    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)
  • Page 9: Write Multiple Registers (0X10)

    Example: Request to write 0x03 to register 2. Request 01 06 00 01 00 03 98 0B Function 06 Register Address Hi 00 Register Address Lo 01 Register Value Hi 00 Register Value Lo 03 CRC 98 0B Table 9: Modbus Function 06 – Example 7.4.3 Write Multiple Registers (0x10) Request message: SLAVE ADDRESS + FUNCTION CODE + STARTING ADDRESS + QUANTITY...
  • Page 10: Diagnostics (0X08) (Loopback)

    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 &...
  • Page 11: Rs-232 Connection (For Xvg/Exvg With Rs-232 Interface)

    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 12: General Setup Parameters

    9.1.1 General Setup Parameters Register XVG/eXVG Parameter Number Name 3500 IDM_MODE 3501 IDM_PROTOCOL 3502 IDM_DEMANDSRC 3503 IDM_DIGCMDEN 3504 IDM_SOLMAXAMPS 3505 IDM_CURVOLTCFG 3506 IDM_DEMANDOFFST 3507 IDM_POSINTTBLEN 3508 IDM_LVDTPHASE 3509 IDM_AOPOLARITY 3510 IDM_MINDEMAND 3511 IDM_VERSION 3512 IDM_CONFIGNO 3513 IDM_VOLTRANGE 3514 IDM_FLTTM3VOLT3 3515 IDM_FLTTMINPRES 3516 IDM_FLTTMOUTPRES...
  • Page 13 Register XVG/eXVG Parameter Number Name 3521 IDM_FLOWCTRLEN 3522 IDM_FLTTMCURRENT 3523 IDM_FLTTMTMPSHUT 3524 IDM_SOLIMAX 3525 IDM_AO0CFG 3526 IDM_AO1CFG 3527 IDM_AO2CFG 3528 IDM_SELFCALENABLE 3529 IDM_DPENABLE 3530 IDM_FLTTMPOS15V 3531 IDM_FLTTMNEG15V 3532 IDM_FLTTMTEMPAMB 3533 IDM_FLOWCALCURVE 3534 IDM_ELECTINTRFC 3535 IDM_FLANGEACC 3536 IDM_LVDTEXSCALE 3537 IDM_OCT 3538 IDM_CLTHRESH 3539 IDM_DJSUMDB...
  • Page 14 Register XVG/eXVG Parameter Number Name 3541 IDM_PARITY 3542 IDM_RXMSGTMOUT 3543 IDM_MODELNO[0] 3544 IDM_MODELNO[1] 3545 IDM_MODELNO[2] 3546 IDM_MODELNO[3] 3547 IDM_MODELNO[4] 3548 IDM_MODELNO[5] 3549 IDM_MODELNO[6] 3550 IDM_MODELNO[7] 3551 IDM_MODELNO[8] 3552 IDM_MODELNO[9] 3553 IDM_MODELNO[10] 3554 IDM_MODELNO[11] 3555 IDM_MODELNO[12] 3556 IDM_MODELNO[13] 3557 IDM_MODELNO[14] 3558 IDM_MODELNO[15] 3559 IDM_PARTNO[0]...
  • Page 15 Register XVG/eXVG Parameter Number Name 5508 5509 IDM_SETUPCHECK 5510 5511 IDM_SHUTDNFLTS 5512 5513 IDM_FAULTOUTCFGL 5514 5515 IDM_TAT 5516 5517 IDM_TITHRESH 7500 7501 IDM_LVDTGAIN 7502 7503 IDM_LVDTOFFSET 7504 7505 IDM_ADCAGAIN 7506 7507 IDM_ADCAOFFSET 7508 7509 IDM_OUTPUTGAIN 7510 7511 IDM_ADCBGAIN 7512 7513 IDM_ADCBOFFSET 7514 7515 IDM_DMD420GAIN...
  • Page 16 Register XVG/eXVG Parameter Number Name 7578 7579 IDM_INPRESOFF 7580 7581 IDM_OUTPRESGAIN 7582 7583 IDM_OUTPRESOFF 7584 7585 IDM_TEMPSENSEGAIN 7586 7587 IDM_TEMPSENSEOFF 7588 7589 IDM_VOLTS3GAIN3 7590 7591 IDM_VOLTS3OFF3 7592 7593 IDM_CURSENSEGAIN 7594 7595 IDM_CURSENSEOFF 7596 7597 IDM_OUTPUTOFF 7598 7599 IDM_TEMPCOMPFCT 7600 7601 IDM_MINIPFLOWCTRL 7602 7603 IDM_AUTOZEROTOL...
  • Page 17: Position Interpolation Parameters

    Register XVG/eXVG Parameter Number Name 7650 7651 IDM_AO0CUROFF 7652 7653 IDM_AO0VOLTGAIN 7654 7655 IDM_AO0VOLTOFF 7656 7657 IDM_AO1CURGAIN 7658 7659 IDM_AO1CUROFF 7660 7661 IDM_AO1VOLTGAIN 7662 7663 IDM_AO1VOLTOFF 7664 7665 IDM_AO2CURGAIN 7666 7667 IDM_AO2CUROFF 7668 7669 IDM_AO2VOLTGAIN 7670 7671 IDM_AO2VOLTOFF 7672 7673 IDM_AI0VOLTGAIN 7674 7675 IDM_AI0VOLTOFF...
  • 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...
  • Page 19: Stroke Position Parameters

    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.
  • Page 20: Cda-Pressure Ratio Parameters

    Register XVG/eXVG Parameter Number Name 5950 5951 IDM_PRTBL0 5952 5953 IDM_PRTBL1 5954 5955 IDM_PRTBL2 5956 5957 IDM_PRTBL3 5958 5959 IDM_PRTBL4 5960 5961 IDM_PRTBL5 5962 5963 IDM_PRTBL6 5964 5965 IDM_PRTBL7 5966 5967 IDM_PRTBL8 5968 5969 IDM_PRTBL9 9.1.5 CdA-Pressure Ratio Parameters Table values are (CdA value multiplied by 2 Register XVG/eXVG Parameter Number...
  • Page 21 Register XVG/eXVG Parameter Number Name 6050 6051 IDM_CDATBLPR1S10 6052 6053 IDM_CDATBLPR1S11 6054 6055 IDM_CDATBLPR1S12 6056 6057 IDM_CDATBLPR1S13 6058 6059 IDM_CDATBLPR1S14 6060 6061 IDM_CDATBLPR2S0 6062 6063 IDM_CDATBLPR2S1 6064 6065 IDM_CDATBLPR2S2 6066 6067 IDM_CDATBLPR2S3 6068 6069 IDM_CDATBLPR2S4 6070 6071 IDM_CDATBLPR2S5 6072 6073 IDM_CDATBLPR2S6 6074 6075 IDM_CDATBLPR2S7...
  • Page 22 Register XVG/eXVG Parameter Number Name 6144 6145 IDM_CDATBLPR4S12 6146 6147 IDM_CDATBLPR4S13 6148 6149 IDM_CDATBLPR4S14 6150 6151 IDM_CDATBLPR5S0 6152 6153 IDM_CDATBLPR5S1 6154 6155 IDM_CDATBLPR5S2 6156 6157 IDM_CDATBLPR5S3 6158 6159 IDM_CDATBLPR5S4 6160 6161 IDM_CDATBLPR5S5 6162 6163 IDM_CDATBLPR5S6 6164 6165 IDM_CDATBLPR5S7 6166 6167 IDM_CDATBLPR5S8 6168 6169 IDM_CDATBLPR5S9...
  • Page 23: Flow Limiting Mode Parameters

    Register XVG/eXVG Parameter Number Name 6238 6239 IDM_CDATBLPR7S14 6240 6241 IDM_CDATBLPR8S0 6242 6243 IDM_CDATBLPR8S1 6244 6245 IDM_CDATBLPR8S2 6246 6247 IDM_CDATBLPR8S3 6248 6249 IDM_CDATBLPR8S4 6250 6251 IDM_CDATBLPR8S5 6252 6253 IDM_CDATBLPR8S6 6254 6255 IDM_CDATBLPR8S7 6256 6257 IDM_CDATBLPR8S8 6258 6259 IDM_CDATBLPR8S9 6260 6261 IDM_CDATBLPR8S10 6262 6263 IDM_CDATBLPR8S11...
  • Page 24: Real Time Parameters

    Register XVG/eXVG Parameter Number Name 7544 7545 IDM_BACKPRES0 7546 7547 IDM_BACKPRES1 7548 7549 IDM_BACKPRES2 7550 7551 IDM_BACKPRES3 7552 7553 IDM_BACKPRES4 7554 7555 IDM_MINFLOWLIM0 7556 7557 IDM_MINFLOWLIM1 7558 7559 IDM_MINFLOWLIM2 7560 7561 IDM_MINFLOWLIM3 7562 7563 IDM_MINFLOWLIM4 7564 7565 IDM_MAXFLOWLIM0 7566 7567 IDM_MAXFLOWLIM1 7568 7569 IDM_MAXFLOWLIM2...
  • Page 25 Register XVG/eXVG Parameters Number Name 3014 IDM_ADCINPRES 3015 IDM_ADCAI0 3016 IDM_ADCOUTPRES 3017 IDM_ADCAI1 3018 IDM_ADCDELTAPRES 3019 IDM_ADCAI2 3020 IDM_ADCGASTEMP 3021 IDM_ADCAI3 3022 IDM_ADCSOLTEMP 3023 IDM_ADCAI4 3024 IDM_ADCMOTORCUR 3025 IDM_ADCAI5 3026 IDM_FFAULTFLGS 3027 IDM_FVERSION 3028 IDM_FRUNTMMINS 3029 IDM_FRUNTMSECS 3030 IDM_SETUPERROR 3031 IDM_TESTFLAGS 3032 IDM_FMODE...
  • Page 26 Register XVG/eXVG Parameters Number Name 3042 IDM_DOUT1 3043 IDM_FRECORDNO 3044 IDM_FFAULTCODE 3045 IDM_FRECORDS 3046 IDM_ADCA0 3047 IDM_ADCA1 3048 IDM_ADCA2 3049 IDM_ADCA3 3050 IDM_ADCA4 3051 IDM_ADCA5 3052 IDM_ADCA6 3053 IDM_ADCA7 3054 IDM_ADCB0 3055 IDM_ADCB1 3056 IDM_ADCB2 3057 IDM_ADCB3 3058 IDM_ADCB4 3059 IDM_ADCB5 3060 IDM_ADCB6...
  • Page 27 Register XVG/eXVG Parameters Number Name 3073 IDM_ADCB3GAINOFF 3074 IDM_ADCB4GAINOFF 3075 IDM_ADCB5GAINOFF 3076 IDM_ADCB6GAINOFF 3077 IDM_ADCB7GAINOFF 3078 IDM_ADCB5A 3079 IDM_ADCB5B 3080 IDM_ADCB5C 3081 IDM_ADCCALLOW 3082 IDM_ADCCALHI 3083 IDM_SOLDUTY 3084 IDM_LOOPCNT 3085 IDM_BUFINDEX1 3086 IDM_BUFINDEX2 3087 IDM_ADCBUFVAL 3088 IDM_DEMANDSTATUS 3089 IDM_AOUT0PWMCTS 3090 IDM_AOUT1PWMCTS 3091 IDM_AOUT2PWMCTS...
  • Page 28 Register XVG/eXVG Parameters Number Name 3099 IDM_TESTSTR[0] 3100 IDM_TESTSTR[1] 3101 IDM_TESTSTR[2] 3102 IDM_TESTSTR[3] 3103 IDM_TESTSTR[4] 3104 IDM_TESTSTR[5] 3105 IDM_TESTSTR[6] 3106 IDM_TESTSTR[7] 3107 IDM_TESTSTR[8] 3108 IDM_TESTSTR[9] 3109 IDM_TESTSTR[10] 3110 IDM_TESTSTR[11] 3111 IDM_TESTSTR[12] 3112 IDM_TESTSTR[13] 3113 IDM_TESTSTR[14] 3114 IDM_TESTSTR[15] IDM_AO0CHCFG 3115 IDM_AO1CHCFG 3116 IDM_AI0CHCFG 3117...
  • Page 29 Register XVG/eXVG Parameters Number Name 5014 5015 IDM_LVDTSCALEFCT 5016 5017 IDM_RUNTMHRS 5018 5019 IDM_FLOCTLPOSOUT 5020 5021 IDM_TOTALHRS 5022 5023 IDM_TOTHRSIG 5024 5025 IDM_FLOWLIMPOS 5026 5027 IDM_FTOTALHRS 5028 5029 IDM_FRUNTMHRS 5030 5031 IDM_ADCSTATFLGS 5032 5033 IDM_FAULTLATCHL 5034 5035 IDM_FAULTFLAGSL 5036 5037 IDM_TRS 5038 5039 IDM_OCC...
  • Page 30 Register XVG/eXVG Parameters Number Name 5056 5057 IDM_OPS 5058 5059 IDM_FS 5060 5061 IDM_MCS 5062 5063 IDM_DJS 7000 7001 IDM_POSININCHES 7002 7003 IDM_INPUTPRES 7004 7005 IDM_OUTPUTPRES 7006 7007 IDM_OUTPCORRECT 7008 7009 IDM_MEASFLOW 7010 7011 IDM_CDAOUT 7012 7013 IDM_MEASUREDCDA 7014 7015 IDM_GASTEMP 7016 7017 IDM_VOLTS3PT3...
  • Page 31: Write Modbus Application

    Register XVG/eXVG Parameters Number Name 7072 7073 IDM_FVOLTSNEG15 7074 7075 IDM_TEMPAMB 7076 7077 IDM_AUTOADCAGAIN 7078 7079 IDM_AUTOADCBGAIN 7080 7081 IDM_AUTOADCAOFF 7082 7083 IDM_AUTOADCBOFF 7084 7085 IDM_VOLTSPOS15 7086 7087 IDM_VOLTSNEG15 7088 7089 IDM_XMEAS 7090 7091 IDM_XCMD 7092 7093 IDM_XERR 7094 7095 IDM_INTXERR 7096 7097 IDM_VCMD...
  • Page 32: Real-Time Status & Parameters Upload Procedure

    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.
  • Page 33: Accessing Fault Records Procedure

    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.
  • Page 34: Change Gas Constant R And K Procedure

    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.
  • Page 35: Download Parameters

    - 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.

This manual is also suitable for:

Fuel metering valves xvgExvgXvg

Table of Contents

Save PDF