Sierra 241-VTP, 240-VTP instruction manual An attempt to read registers that don’t exist

Page 90

Appendix E MODBUS Commands

Series 24-HP Instruction Manual

 

 

A typical response from the device is as follows: *note these are the older register definitions

01 04 18 00 00 03 E8 00 00 7A 02 6C 62 00 00 41 BA 87 F2 3E BF FC 6F 42 12 EC 8B 4D D1

01 Device address

04 Function code

18 Number of data bytes = 24

00 00 03 E8 Serial number = 1000 (unsigned long)

00 00 7A 02 Totalizer = 31234 lbm (unsigned long)

6C 62 00 00 Totalizer units = “lb” (string, unused characters are 0)

41 BA 87 F2 Mass flow rate = 23.3164 lbm/sec (float)

3

3E BF FC 6F Volume flow rate = 0.3750 ft /sec (float)

42 12 EC 8B Pressure = 36.731 psia (float)

4D D1 CRC

An attempt to read register(s) that don’t exist

01 04 00 00 00 50 F1 D2

01 Device address

04 Function code 4 = read input register

00 00 Starting address

00 50 Number of registers = 80

F0 36 CRC

results in an error response as follows:

01 84 02 C2 C1

01 Device address

84 Function code with most significant bit set indicates error response

02 Exception code 2 = invalid data address

C2 C1 CRC

Request the state all three alarms:

01 02 00 00 00 03 38 0B

01 Device address

02 Function code 2 = read discrete inputs

00 00 Starting address

00 03 Number of inputs = 3

38 0B CRC

and the unit responds with:

01 02 01 02 20 49

01 Device address

02 Function code

01 Number of data bytes = 1

02 Alarm #2 on, alarms #1 and #3 off

20 49 CRC

To reset the totalizer:

01 05 00 00 FF 00 8C 3A

E-8

IM-24-HP

Image 90
Contents Models 240-VT, 240-VTP, 241-VT, 241-VTP Customer Notice Copyright Sierra InstrumentsTable of Contents Troubleshooting and Repair Figures TablesTable of Contents Using This Manual IntroductionInnova-MassMulti-Parameter Vortex Mass Flow Meters Receipt of System Components Technical AssistanceHow the Innova-Mass Vortex Mass Flow Meter Operates Velocity MeasurementVortex Shedding Frequency Vortex Frequency SensingFlow Velocity Range Gas LiquidTemperature Measurement Reynolds Number Range for the Innova-MassFlow Meter Configurations Pressure MeasurementFlow Meter Electronics Installation Installation OverviewFlow Meter Installation Requirements Unobstructed Flow Requirements Series 240 In-Line Flow Meter Installation Flange Bolt SpecificationsWafer-Style Flow Meter Installation Wafer-Style Flow Meter InstallationFlange-Style Flow Meter Installation Flange-Style Flow Meter InstallationSeries 241 Insertion Flow Meter Installation Mounting PositionIsolation Valve Selection Cold Tap Guidelines Hot Tap Guidelines FlowFlow Meter Insertion Use the Correct Insertion FormulaInstalling Flow Meters with a Compression Connection ExampleInsertion Procedure for Meters with a Compression Connection Installing Flow Meters with a Packing Gland Connection Example 1 Flange Style MetersExample 2 NPT Style Meters Flow Meter with Permanent Insertion Tool 10. Flow Meter with Removable Insertion Tool 11. Insertion Calculation Meters without Insertion Tool Installation Adjusting Meter Orientation Display/Keypad Adjustment All MetersEnclosure Adjustment Series 240 Only 13. Enclosure Viewing AdjustmentAC Power Wiring Wiring ConnectionsInput Power Connections DC Power WiringMA Output Connections 16. Load Resistance Versus Input VoltagePulse Output Connections 20. Isolated Pulse Output with External Power Supply Alarm Output Connections 23. Isolated Alarm Output with External Power SupplyRemote Electronics Wiring 25. Isolated Alarm Output Using Meter Provided Power SupplyOptional Input Electronics Wiring Optional Energy EMS Input Electronics WiringPage Operating Instructions Flow Meter Display/KeypadSierra Run Mode Screens Start-UpUsing the Setup Menus Programming the Flow MeterOutput Menu TimeConstSec XxxxExample for Setting an Output First, set the desired units of measurementExample for Changing a Run Mode Display Item Display MenuAlarms Menu Example for Setting an AlarmExample for Setting the Totalizer Totalizer #1 MenuTotalizer #2 Menu Configuration Energy Menu For EMS Energy Meters OnlyFluid Menu Units Menu Example for Setting the Time Time & Date MenuDiagnostics Menu Calibration Menu Password Menu Troubleshooting and Repair Hidden Diagnostics MenusColumn One Hidden Diagnostics Values IM-24-HP A2D Ref. Resistor = Factory Use Only Analog Output Calibration Troubleshooting the Flow Meter Symptom Output at no Flow Symptom No Output Symptom Meter Displays Temperature Fault Electronics Assembly Replacement All Meters Pressure Sensor Replacement Appendix a Product Specifications Appendix a Specifications Appendix a Specifications Cnpt IP66, Nema Page Appendix B Glossary C DK L S T Page Density Appendix C Fluid CalculationsCalculations for Steam T & P ViscosityCalculations for Gas Real Gas and Other Gas Density for real gases is calculated from the equationCalculations for Liquid Page Appendix D Hart Commands with DD Menu PV AOAppendix D Hart Commands without DD Menu PV AO PV LRV URVAppendix E Modbus Communication Applicable Flow Meter ModelsModbus Order Register Definitions Appendix E Modbus Commands Following registers contain the display units strings Control Register Definitions Examples An attempt to read registers that don’t exist 8C 3A CRC not the correct CRC EJS-02-06-07 Appendix E Modbus Commands