Varec 8315 Series Size Parameter, Addr1 is the Data Address and PntRef1 is the corresponding

Page 56

8315 L&J Tankway Software Description

TankGate Interface

 

 

 

 

 

 

 

 

 

 

Configuration Parameters

Function

 

 

 

 

 

 

Addr1

Addr1 is the Data Address and PntRef1 is the corresponding

 

 

PntRef1

database parameter that will be used for a response. The default

 

 

Size1

Size is 1. See the discussion below for more detail on the Size

 

 

Filter1

 

 

Addr10

parameter.

 

 

PntRef10

The Filter is used to determine if the data is valid. The PntStatus of

 

 

Size10

the point specified by the PntRef is read and if there are bits set

 

 

Filter10

 

 

 

that match the Filter, the source data is considered invalid. The

 

 

 

output registers will be set to the value determined by the

 

 

 

CommFailValue.

 

 

 

 

 

 

 

 

 

 

Dynamic Parameters

Function

 

 

 

 

 

 

PntStatus

Byte value indicating status of point Values are:

 

 

 

0: No error

 

 

 

 

 

 

PntCheckSum

CRC-16 Checksum of point's static Configuration Parameters

 

 

 

 

 

4.12.2Application

The GWBLK point is a look-up table used by the Modbus Slave protocol handler. Up to sixteen address-point reference pairs may be used per GWBLK point. Multiple GWBLK points may be used if necessary. The Addr parameter specifies the data address. The corresponding PntRef parameter specifies the database parameter for the request. The Gateway Block point allows the user to use the TankGate easily in retro-fit applications. It is not necessary to re-configure an existing HMI or Host system. The user can configure the TankGate to match the addresses used in the Host system.

When the Modbus Slave protocol handler receives a request, it searches the GWBLK points to determine if any of the Addr parameters match the request. If a match is found, the data referenced by the PntRef parameter will be used for the response.

There are three data modes: DataMode=0, which returns the data in the default format, and DataMode=1, which returns the data in an integer format. DataMode=1 will scale IEEE floating point data to an integer value, using the Offset, Scale, ValueMin and ValueMax parameters. If DataMode = 4, the data wil be scaled to an integer by multiplying the data value times the Scale parameter.

The DataMode can also control if the data is changed to 0xFFFF if the data is invalid. The Filter parameter is compared to the PntStatus of the PntRef parameter. If bits in the PntStatus match bits in the Filter, the data is considered invalid and the a read from a modbus host will result in the data being set to 0xFFFF.

When Block Read or Write requests are received, then the way in which the Modbus Slave protocol handler responds is determined by the Size parameter.

4.12.3Size Parameter

A range of addresses can be specified by setting the Size parameter. This sets the indexing mode to Number Indexing, which means that Block Read/Write requests from the Hosts are handled by stepping through the points number by number. For example, if Addr1 is 100, and PntRef1 is WV1900.00.RawValue, then a Block Read to address 100 with a length of 8 will return the values, WV1900.00.RawValue, WV1900.01.RawValue, .. WV1900.07.RawValue. Setting the Size to 1 does not limit the read to 1 parameter, rather it indicates that block operations will be processed by stepping through points by incrementing the number, starting with parameter specified by the PntRef.

46

Installation and Operations Manual

Image 56
Contents Installation Operations Manual Page Copyright Disclaimer of Warranties Safety Precaution Definitions Safety Precautions Installation Using ViewRTUTroubleshooting and maintenance OverviewContents System Information SYS Using ViewRTU Troubleshooting Applications FeaturesVersions Specifications System Design Power SupplyPower consumption Operating temperatureMechanical Construction Storage temperatureHumidity Overview TankGate Interface Hardware Hardware Block Diagram Motherboard DescriptionTankGate motherboard Unit AC Input Power terminal block J2 Field Power Vfield terminal block J3Auxiliary DC Output Power terminal block J8 Surge Protection Surge Gnd terminal block J4AC Power Fuses F1,F2 Field Voltage Selection Jumper W3Hard Reset Switches and IndicatorsReset push-button SW3 Communications 3.1 COM0 J73.2 COM1 RS-232/RS-485 J5 3.3 COM1 RS232/RS-485 Selection Switch SW23.4 COM1 Hardware Handshaking Switch SW1 Communica Hardware SW2 Set Tion Physical Handshak Ting Layer IngTankGate Communications Cable With RTS / CTS RS-232J68315 L&J Tankway Interface Module Description Model 8315 TankGateID DIP Switch SW1 LED Indicators D1-D6External Power Connector +48V J2 Surge/Shield Ground Connector J4Field Wiring terminal block J3 Connect the field wiring8315 L&J Tankway Interface Module TankGate Interface Real-Time Clock Software Features Real-Time / Multitasking ExecutiveAutomatic Fault Recovery Protocols Data Scanning TaskDatabase Manager System TasksTankGate Software Blocks TankGate 8315 Software BlocksDatabase Organization Point FormatParameter Description Parameter ClassesData Format Description Parameter Data FormatsCommon Parameters PntCheckSum Parameter PntStatus ParameterElapse Parameter Value ParameterGathering Point Data Standard Request-Response FormatChange of State Format Change of State-Related ParametersDeadband Modbus Communications Modbus SlaveAddress Type Number Parameter Data Type Fixed Modbus MapFunction Code Description Comments Gwblk method 8315 L&J Tankway Software Description TankGate Interface Data Address Parameter Comments Configuration Parameters Function Clock CLKParameters Dynamic Parameters FunctionConfiguration Function Parameters Communications COMApplication Real 4 bytes value Floating Point Register FpregDynamic Function Parameters Emulator EMU APIByte value indicating status of point Values are Configuration Parame Function Ters Current CommandEMU Gateway Emugw Hex representation of the request sent by the hostDisplays the tank number of the currently selected tank Gauging Systems Inc. Model 2000 Interface GS2000 Last message. The maximum is 255 seconds. The default is Raw2 Gateway Block Gwblk Byte value indicating status of point Values are No error CRC-16 Checksum of points static Configuration ParametersSize Parameter Addr1 is the Data Address and PntRef1 is the correspondingInteger Register Ireg Integer 2 bytes valueModbus Gateway Modgw Current request message, displayed in hex formatCurrent command. Values include Scaler Point Scaler Dynamic Parame Function TersOutput value for the Scaler point Value = Ax + By + Cz + KValue parameter converted to Integer format System Information SYS 17 L&J MCG1000 Tank Gauge LJ1000 PntStatus will be set to indicate the failure Application 18 L&J MCG1500 Tank Gauge LJ1500 Task on the Motherboard determines that the Model 8315 has 8315 L&J Tankway Software Description TankGate Interface 19 L&J MCG2000 Tank Gauge LJ2000 Enables the watchdog task on the Motherboard. The watchdog 8300 Command currently being sent to the gauge Number of gauge polls since last resetNumber of gauge polls which resulted in an error 20 L&J Scanner LjscanOut 8315 L&J Tankway Software Description TankGate Interface General Safety Guidelines Installation Safety GuidelinesInstallation Mounting the TankGate Mounting the TankGate inside the enclosureWiring Up Power Installing CommunicationsMounting the Enclosure Select the Unit addressPower-Up RS-485 CommunicationsInitial system verification Establishing Host CommunicationsInstallation TankGate Interface Installing ViewRTU OverviewSystem Requirements Executing ViewRTUViewRTU Version Selection dialog File Menu ViewRTU windowViewRTU Menu Bar Point Menu Edit Point selection dialog Select Point to Add dialog boxEdit Point deletion dialog Edit Point dialogDelete Upload Database from TankGate Config MenuDownload Database to RTU To enter the password Creating a PasswordChanging the Password Changing the PasswordPC Setup Communications MenuPort Communications Setup dialog StatusTankGate search dialog Options MenuConnect Convert Configuration Files Convert ViewRTU versions dialogExport All Import AllUsing ViewRTU Help MenuConfiguring Single Points Minimize Edit Digital Point dialogEdit Point Window Push-buttons Minimizing the Edit Point Window ConnectionsNext PreviousTo modify a Value UploadTo modify a value Edit point parameter value dialogConfiguring Multiple Points To modify a ReferenceEdit point parameter reference dialog Adding Multiple PointsSpreadsheet Mode Adding Multiple PointsPoint Menu Edit MenuCopy PasteSet Value with Auto Increment Paste & DnldSet Value Export Options MenuImport Parameter Type Description ViewHide Row/Col Creating and Editing Connections Unhide AllTo create a Connection Displaying the Point Connections windowPoint Connections Window Using ViewRTU TankGate Interface Run indicator Indicator ConditionUsing the TankGate Push-buttons Communications indicatorLED Displays under Abnormal Conditions 1.3 TXD/RXD LEDsPerforming a Hard Reset Press the Reset buttonSet the ID DIP switch to the desired addresses Maintenance Replacing a defective component or moduleTroubleshooting TankGate Interface 102 Ordering Structure Remote Terminal Unit TankGate Ordering Structure Nema 4 EnclosureModbus Map Value12 Fpreg 3034 3094 8300 Your official representative Your offical representative