Varec 4000 manual Character Data

Page 59

4000

Modbus Implementation

 

 

9.5.2Integer Data

Hexadecimal representation

4124Decimal equivalent: 16,676

The data returned for data address 56 is 16,676 (4124 Hex). This value must be scaled using the following formula to give it meaning.

If a variable goes out-of-bounds (outside the minimum or maximum scale points), a value equal to the maximum Modbus integer + 1 is returned. Writing to dynamically calculated parameters has no effect on those parameters.

9.5.3Character Data

Character data, such as software version, are returned in registers in ASCII data format. Each Modbus register represents two ASCII characters.

The following communication example shows the character data "ATT-" read from the ATT.

Host Request

 

 

 

 

 

 

Address

Function

Start Reg

Start Reg

# of Reg

# of Reg

Error

 

 

Code

H

L

H

L

Check

 

 

 

 

 

 

 

 

 

01

03

00

1E

00

02

XX

 

 

 

 

 

 

 

 

 

ATT Response

 

 

 

 

 

 

Address

Function

Byte

Data

Data

Data

Data

Error

 

code

Count

MSB

LSB

MSB

LSB

Check

 

 

 

 

 

 

 

 

01

03

04

41

54

54

2D

XX

 

 

 

 

 

 

 

 

Hexadecimal representation 41 54 54 2D

ASCII representation: ATT-

49

Image 59
Contents Installation Operations Manual Page Copyright Disclaimer of Warranties Safety Precaution Definitions Safety Precautions Tank Gauge Transmitter Introduction Tank Gauge Transmitter Glossary Tank Gauge Transmitter Viii Introduction Using This ManualConstruction ConfigurationOperation Installation Part Number Gauge Adapter Kit Mounting the EquipmentConnecting Input Power WiringATT Wiring Wiring PreparationTerminal Block One TB1 Terminal Block Two TB2 Connecting Host CommunicationTypical EIA485 Wiring ATT EIA485 WiringTypical EIA485 System Wiring Typical Mark/Space Field Wiring ATT Mark/Space WiringInstallation Checkout Connecting the RTDConnecting the Handheld Terminal Wiring CompletionFunction Key Description ConfigurationConfiguration Parameters 1200 Hand Held TerminalTerminal Mode Configuration 1200 Hand Held Terminal Terminal Mode OperationMenu Operation Main Menu Description Main MenuSummary Menu Description Summary MenuConfiguration Menu Description Configuration MenuHost Menu Description Host MenuQuick Setup Host Configuration Imperial Fractional 1900 Quick Setup DefaultsGeneral Configuration Imperial Decimal 1900 Quick Setup Defaults 3 0-20 Meter 1900 Quick Setup Defaults 4 0-30 Meter 1900 Quick Setup Defaults 8 0-30 Meters 1800 Series Transmitter Quick Setup Imperial Fractional 1800 Series Transmitter Quick SetupImperial Decimal 1800 Series Transmitter Quick Setup 7 0-20 Meters 1800 Series Transmitter Quick SetupImperial Modbus Quick Setup Defaults Metric Modbus Quick Setup Defaults Battery Replacement Maintenance and TroubleshootingMaintenance Error Message Description TroubleshootingATT Error Status Conditions Status Condition Description ATT Configuration Error CheckingATT Status Conditions Host Communication Loopback Tests Model 1200 Error MessagesEnvironmental SpecificationsSpecifications and Physical Characteristics Input PowerLevel Measurement Agency Acronym Requirement Safety Agency ApprovalsIntrinsic Safety Explosion ProofMajor System Assemblies and Components Assembly/Component Part NumberCommunications Order CodesOrder Codes CPU Board Theory of OperationHost Communications Interfaces Back-up BatteryStatus Inputs and Outputs Atti Communications PortHost Communication Encoder Battery BackupTemperature Measurement Number Exception Mark/Space Host InterfaceFunction Number Compatibility with Varec Tank Polling Unit Modbus Support over Mark/Space Host InterfaceTheory of Operation Model 4040 Display Unit ATT Family of ProductsDigital Inputs Relay SpecificationsModel 4050 Digital Input/Output Unit Digital OutputsImplementation Modbus ImplementationIntroduction Modbus Implementation Term Definition Functions and Data FormatsInteger Registers ATT Response Integer DataHost Request Character Data Packed Bit Data Coded DataFloating Point Data Floating-Point RegistersFloating-Point Data Two 16-bit Registers FormatOne 32-bit Register Format Exception Response Reason Status BitsStatus Bit Data Exception ResponsesHardware Implementation Data Out of RangeLoopback Test Register Number Type Description Integer Register MapRegister Number Sw Ver0-1 Noise Reject Type Status Bit Register Map Floating Point Register MapModbus Implementation 10.3 4000LJFMO Optional Interfaces10.1 4000TIFMO 10.2 4000GEFMO10.6 4000GMFMO 10.5 4000WBFMOAdv Hi Level GlossaryDband TSU Tank Gauge Transmitter 4000 Your official representative Your offical representative