Sierra 241-VTP, 240-VTP instruction manual Control Register Definitions

Page 88

Appendix E MODBUS Commands

Series 24-HP Instruction Manual

Discrete Input Definitions

The status of the three alarms may be monitored via the Modbus Read Discrete Input command (function code 02). The value returned indicates the state of the alarm, and will be 1 only if the alarm is enabled and active. A zero value is trans- mitted for alarms that are either disabled or inactive,

Registers

Variable

Function Code

10001

Alarm #1 state

02

10002

Alarm #2 state

02

 

 

 

10003

Alarm #3 state

02

 

 

 

Control Register Definitions

Address

0

1

2

The only writeable registers in this implementation are the Reset Exception Status, Reset Meter and Reset Totalizer functions, which are implemented as ”coils” which may be written with the Write Single Coil command (function code 05) to address 8 through 10, respectively, (register #00009 through #00011). The value sent with this command must be either 0x0000 or 0xff00, or the meter will re- spond with an error message; the totalizer will be reset or exception status cleared only with a value of 0xff00.

Error Responses

If an error is detected in the message received by the unit, the function code in the response is the received function code with the most significant bit set,

Exception

 

Code

Description

01

Invalid function code — function code not supported by device

02

Invalid data address — address defined by the start address and number of registers

 

is out of range

03Invalid data value — number of registers = 0 or >125 or incorrect data with the Write Single Coil command

and the data field will contain the exception code byte, as follows:

If the first byte of a message is not equal to the unit’s Modbus ad- dress, if the unit detects a parity error in any character in the re- ceived message (with even or odd parity enabled), or if the mes- sage CRC is incorrect, the unit will not respond.

E-6

IM-24-HP

Image 88
Contents Models 240-VT, 240-VTP, 241-VT, 241-VTP Customer Notice Copyright Sierra InstrumentsTable of Contents Troubleshooting and Repair Figures TablesTable of Contents Introduction Using This ManualInnova-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 Overview InstallationFlow 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 InstallationMounting Position Series 241 Insertion Flow Meter InstallationIsolation 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 Example 1 Flange Style Meters Installing Flow Meters with a Packing Gland ConnectionExample 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 AdjustmentWiring Connections Input Power ConnectionsAC Power Wiring 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 Flow Meter Display/Keypad Operating InstructionsSierra 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 Appendix C Fluid Calculations Calculations for Steam T & PDensity 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