Varec 4000 manual Coded Data, Packed Bit Data

Page 60

Modbus Implementation

Tank Gauge Transmitter

 

 

9.5.4Coded Data

Coded data represents a table look-up value. Data written to these registers must be a valid table entry. Invalid data may cause a Configuration Error to occur. The following example shows coded data at data address 20 (0014 Hex) representing level units. The value 2 (0002 Hex) returned from the ATT corresponds to level units = FT-IN-16TH.

Host Request

Address

Function

Start Reg

Start Reg

# of Reg

# of Reg

Error

 

Code

H

L

H

L

Check

 

 

 

 

 

 

 

01

03

00

14

00

01

XX

 

 

 

 

 

 

 

ATT Response

 

 

 

 

 

Address

Function

Byte

Data

Data

Error

 

 

code

Count

MSB

LSB

Check

 

 

 

 

 

 

 

 

01

03

02

00

02

XX

 

 

 

 

 

 

 

 

Hexadecimal representation 0002 (decimal 2)

Level unit table representation: FT-IN-16TH

9.5.5Packed Bit Data

Packed bits represent 16 individual status bits packed into one register. The status bits have been packed this way for systems that prefer handling only register information. These bits may also be read or written individually using a bit command. The bits within the packed registers are grouped by data or function type. The following communication example of packed bits shows alarm status information at data address 5 (0005 Hex) returned by the ATT.

Host Request

Address

Function

Start Reg

Start Reg

# of Reg

# of Reg

Error

 

Code

H

L

H

L

Check

 

 

 

 

 

 

 

01

03

00

05

00

01

XX

 

 

 

 

 

 

 

ATT Response

 

 

 

 

 

Address

Function

Byte

Data

Data

Error

 

 

code

Count

MSB

LSB

Check

 

 

 

 

 

 

 

 

01

03

02

00

01

XX

 

 

 

 

 

 

 

 

Note! Bit #0 is ON indicating a critical low level Alarm

50

Installation and Operations Manual

Image 60
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 Using This Manual IntroductionConfiguration OperationConstruction Installation Mounting the Equipment Part Number Gauge Adapter KitWiring ATT WiringWiring Preparation Connecting Input PowerConnecting Host Communication Terminal Block One TB1 Terminal Block Two TB2ATT EIA485 Wiring Typical EIA485 WiringTypical EIA485 System Wiring ATT Mark/Space Wiring Typical Mark/Space Field WiringConnecting the RTD Connecting the Handheld TerminalWiring Completion Installation CheckoutConfiguration Configuration Parameters1200 Hand Held Terminal Function Key DescriptionTerminal Mode Configuration Terminal Mode Operation 1200 Hand Held TerminalMenu Operation Main Menu Main Menu DescriptionSummary Menu Summary Menu DescriptionConfiguration Menu Configuration Menu DescriptionHost Menu Host Menu DescriptionQuick Setup Imperial Fractional 1900 Quick Setup Defaults General ConfigurationHost Configuration Imperial Decimal 1900 Quick Setup Defaults 3 0-20 Meter 1900 Quick Setup Defaults 4 0-30 Meter 1900 Quick Setup Defaults Imperial Fractional 1800 Series Transmitter Quick Setup Imperial Decimal 1800 Series Transmitter Quick Setup7 0-20 Meters 1800 Series Transmitter Quick Setup 8 0-30 Meters 1800 Series Transmitter Quick SetupImperial Modbus Quick Setup Defaults Metric Modbus Quick Setup Defaults Maintenance and Troubleshooting MaintenanceBattery Replacement Troubleshooting ATT Error Status ConditionsError Message Description ATT Configuration Error Checking ATT Status ConditionsStatus Condition Description Model 1200 Error Messages Host Communication Loopback TestsSpecifications Specifications and Physical CharacteristicsInput Power EnvironmentalLevel Measurement Safety Agency Approvals Intrinsic SafetyExplosion Proof Agency Acronym RequirementAssembly/Component Part Number Major System Assemblies and ComponentsOrder Codes CommunicationsOrder Codes Theory of Operation CPU BoardBack-up Battery Status Inputs and OutputsAtti Communications Port Host Communications InterfacesEncoder Battery Backup Temperature MeasurementHost Communication Mark/Space Host Interface Function NumberNumber Exception Modbus Support over Mark/Space Host Interface Compatibility with Varec Tank Polling UnitTheory of Operation ATT Family of Products Model 4040 Display UnitRelay Specifications Model 4050 Digital Input/Output UnitDigital Outputs Digital InputsModbus Implementation IntroductionImplementation Modbus Implementation Functions and Data Formats Integer RegistersTerm Definition Integer Data Host RequestATT Response Character Data Coded Data Packed Bit DataFloating-Point Registers Floating-Point DataTwo 16-bit Registers Format Floating Point DataOne 32-bit Register Format Status Bits Status Bit DataException Responses Exception Response ReasonData Out of Range Loopback TestHardware Implementation Integer Register Map Register Number Type DescriptionRegister Number Sw Ver0-1 Noise Reject Type Floating Point Register Map Status Bit Register MapModbus Implementation Optional Interfaces 10.1 4000TIFMO10.2 4000GEFMO 10.3 4000LJFMO10.5 4000WBFMO 10.6 4000GMFMOGlossary Adv Hi LevelDband TSU Tank Gauge Transmitter 4000 Your official representative Your offical representative