background image

 

 

 

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

.

 

 

Summary of Contents for Fuel Metering Valves eXVG

Page 1: ...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 reprod...

Page 2: ...ollowing precautions must be considered when writing your own Modbus application for XVG eXVG operations Adhere to the tables of registers provided and their allowable data ranges Do not attempt to wr...

Page 3: ...10 8 1 RS 232 Connection for XVG eXVG with RS 232 interface 11 8 2 RS 485 Connection for XVG eXVG with RS 485 interface 11 9 XVG eXVG Modbus Parameters 11 9 1 Setup Parameters 11 9 1 1 General Setup...

Page 4: ...default parity setting is Even 4 Start and Stop Bits The start bit informs the receiving device that a character is coming a stop bit indicates that a character is completed The start bit is always 0...

Page 5: ...ed to them However all slaves will perform the action requested by a broadcast message but responses are not returned XVG eXVG Modbus conforms to standard Modbus protocol and support Modbus Remote Ter...

Page 6: ...ister Types Each Modbus register in the XVG eXVG is identified by its 4 digit number address With XVG eXVG the term register refers to both Modbus Holding Registers read write and Modbus Input registe...

Page 7: ...0 support broadcast message 7 4 1 Read Registers 0x03 Request message SLAVE ADDRESS FUNCTION CODE STARTING ADDRESS QUANTITY OF REGISTERS CRC Request Length Valid Value Slave Address 1 Byte 0 to 247 Fu...

Page 8: ...n 03 Example 7 4 2 Write Single Register 0x06 Request message SLAVE ADDRESS FUNCTION CODE REGISTER ADDRESS REGISTER VALUE CRC Request Length Valid Value Slave Address 1 Byte 0 to 247 Function code 1 B...

Page 9: ...Function code 1 Byte 0x10 Starting Address 2 Bytes 0x0000 to 0xFFFF Quantity of Registers 2 Bytes 1 to 123 0x7B Bytes count 1 Byte 2xN Registers Values 2xN Bytes value CRC 2 Bytes 0x0000 to 0xFFFF N Q...

Page 10: ...ADDRESS FUNCTION CODE SUB FUNCTION CODE DATA CRC Request Length Valid Value Slave Address 1 Byte 0 to 247 Function code 1 Byte 0x08 Sub function 2 Bytes 0x00 Data Any value CRC 0x0000 to 0xFFFF Table...

Page 11: ...EL GND Optional SERIAL RTN 41 WHT ORN GRN Table 15 RS 485 Interface Connection 9 XVG eXVG Modbus Parameters 9 1 Setup Parameters Set up parameters are write able parameters used to setup and control a...

Page 12: ...ble 1 Enable U16 0 3508 IDM_LVDTPHASE W4 LVDT phase Range 0 32 U16 8 3509 IDM_AOPOLARITY W4 Analog Output Polarity Bit0 Bit2 AO0 AO2 0 Positive 1 Negative U16 0 3510 IDM_MINDEMAND W4 700 if IDM_MODE 0...

Page 13: ...SIA and higher 0 show actual flow on all pressures except reverse flow conditions 1 pressure differential less than 3 0 PSIA will report 0 PPH flow U16 1 3530 IDM_FLTTMPOS15V W4 Positive 15V source fa...

Page 14: ...egister contains one ASCII representation of one character string Model number has maximum 16 characters ASCII 3559 IDM_PARTNO 0 W4 1 3560 IDM_PARTNO 1 W4 2 3561 IDM_PARTNO 2 W4 3 3562 IDM_PARTNO 3 W4...

Page 15: ...loat 0 7514 7515 IDM_DMD420GAIN W4 4 20mA Demand Input Gain Obsolete Float 1 016 7516 7517 IDM_DMD420OFF W4 4 20mA Demand Input Offset Obsolete Float 0 7518 7519 IDM_CONSTR W0 R Gas Constant must be n...

Page 16: ...range 0 99 1 09 Float 1 7610 7611 IDM_AI0CUROFF W4 AI0 Current Offset range 122 6 to 146 6 Float 0 7612 7613 IDM_AI1CURGAIN W4 AI1 Current Gain range same as AI0 Float 1 7614 7615 IDM_AI1CUROFF W4 AI1...

Page 17: ...IDM_AI3VOLTGAIN W4 AI3 Voltage Gain range 1 03 1 05 Float 1 7686 7687 IDM_AI3VOLTOFF W4 AI3 Voltage Offset range 122 6 to 146 6 Float 0 7688 7689 IDM_AI4VOLTGAIN W4 AI4 Voltage Gain range 1 03 1 05 F...

Page 18: ...32 231632 5626 5627 IDM_POSTBL13 W2 Counts 921 8750 5 4mA Demand U32 236000 5628 5629 IDM_POSTBL14 W2 Counts 938 9375 5 5mA Demand U32 240368 5630 5631 IDM_POSTBL15 W2 Counts 956 0000 5 6mA Demand U32...

Page 19: ...tion Table lists default values of fifteen stroke positions that will be used in CdA values calculation Table values are stroke value 224 Register Number XVG eXVG Parameter Name Write Access Correspon...

Page 20: ...722416 6008 6009 IDM_CDATBLPR0S4 W4 0 150811017 U32 2530189 6010 6011 IDM_CDATBLPR0S5 W4 0 199957013 U32 3354722 6012 6013 IDM_CDATBLPR0S6 W4 0 250204027 U32 4197727 6014 6015 IDM_CDATBLPR0S7 W4 0 317...

Page 21: ...070996 U32 303181 6092 6093 IDM_CDATBLPR3S1 W4 0 034645021 U32 581247 6094 6095 IDM_CDATBLPR3S2 W4 0 051371992 U32 861879 6096 6097 IDM_CDATBLPR3S3 W4 0 095315993 U32 1599137 6098 6099 IDM_CDATBLPR3S4...

Page 22: ...83 U32 784301 6186 6187 IDM_CDATBLPR6S3 W4 0 082584977 U32 1385546 6188 6189 IDM_CDATBLPR6S4 W4 0 123016 U32 2063866 6190 6191 IDM_CDATBLPR6S5 W4 0 167436004 U32 2809110 6192 6193 IDM_CDATBLPR6S6 W4 0...

Page 23: ...2 W4 0 043686986 U32 732946 6276 6267 IDM_CDATBLPR9S3 W4 0 073494017 U32 1233025 6278 6269 IDM_CDATBLPR9S4 W4 0 107271016 U32 1799709 6280 6281 IDM_CDATBLPR9S5 W4 0 150669992 U32 2527823 6282 6283 IDM...

Page 24: ...Parameters Real time parameters are status parameters that show the operation status of the XVG eXVG Most of the real time parameters are read only Register Number XVG eXVG Parameters Name Write Acce...

Page 25: ...16 3030 IDM_SETUPERROR RO Setup Validation Error Code 0 No Errors U16 3031 IDM_TESTFLAGS W3 Test Flags SW debug use only U16 3032 IDM_FMODE RO Fault Report Variable not used U16 3033 IDM_CALFLAGS W1 C...

Page 26: ...CB2 RO ADC Channel B2 reading in counts U16 3057 IDM_ADCB3 RO ADC Channel B3 reading in counts U16 3058 IDM_ADCB4 RO ADC Channel B4 reading in counts U16 3059 IDM_ADCB5 RO ADC Channel B5 reading in co...

Page 27: ...85 IDM_BUFINDEX1 W0 Advanced diagnostics histogram bucket index and ADC channel index U16 3086 IDM_BUFINDEX2 W0 ADC buffer index U16 3087 IDM_ADCBUFVAL RO ADC input buffer array value for test ADCBUFV...

Page 28: ...3 0to 5V When reading an invalid setup returns 99 An invalid write returns SETUPERROR 9001 U16 3116 IDM_AO1CHCFG W2 Analog output channel 1 electrical configuration selector Can be used to automatica...

Page 29: ...LAGSL RO Active Faults Bit0 3 3V Bit1 Tracking Bit2 GasTemp Range Bit4 Input Pressure Bit5 Output Pressure Bit6 LVDT Bit7 Setup Bit8 Flow Setup Bit10 Overpressure Bit11 GasTemp shutdown Bit12 15V supp...

Page 30: ...d Max Flow Limit Float 7028 7029 IDM_FLOWLIMRNG RO Calculated Flow Limiting Range Float 7030 7031 IDM_FLOWRNGSCALR RO Flow Range Scaler Max Flow Max Counts Float 7032 7033 IDM_SOLTEMP RO Solenoid Temp...

Page 31: ...S RO Measured velocity in 0 0001sec Float 7102 7103 IDM_GASTEMPC RO Gas temperature in Celsius includes TempOff used for LVDT position compensation analog output Float 7104 7105 IDM_MOTORCUR RO Motor...

Page 32: ...r permission will result in response error messages It is the user s responsibility to handle the error appropriately and determine whether to resend the message or halt the operation Following are a...

Page 33: ...Log Fault Code of fault log record U16 RO 3045 IDM_FRECORDS Fault Log Number of faults in fault log record U16 RO 3094 IDM_TESTCTRL Use to trigger EEPROM tasks sets bits in ETFLAGS Fully functional u...

Page 34: ...as Constant must be non zero default is Air 53 34 Float W0 7520 IDM_CONSTK K Gas Constant must be non zero default is Air 1 4 Float W0 Table 25 Parameters for Gas Constant R and K Perform the followin...

Page 35: ...the new values to the registers Perform Save Parameters routine 10 5 Re Assign Device Address Procedure Register Number XVG eXVG Parameter Name Description Type Write Access 3005 IDM_SETUPCONNECT Set...

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

Reviews: