Dispatch and Fuels Accounting IOM033GVAE1313 8310 Tank Gate Interface Installation and Operations Manual The 8310 scans up to 50 tank gauges or transmitters (via Mark/Space communications), including Varec’s 1800, 1900, 2900, 2910 and 4000 Float & Tape Transmitters DVR Firmware Version: MSTG1_11 Automation Solutions for oil & gas, defense and aviation applications
8310 TGI Copyright All rights reserved. Printed in the United States of America. Except as permitted under the United States Copyright Act of 1976, no part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means electronic, mechanical, photocopying, recording, or otherwise - without the prior written permission of the Publisher: Varec, Inc.
Tank Gate Interface Terms of Use The information provided in this document is provided "as is" without warranty of any kind. Varec, Inc. disclaim all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. In no event shall Varec, Inc. or its suppliers be liable for any damages whatsoever including direct, indirect, incidental, consequential, loss of business profits or special damages, even if Varec, Inc.
8310 TGI Safety Precaution Definitions Caution! Damage to equipment may result if this precaution is disregarded. Warning! Direct injury to personnel or damage to equipment which can cause injury to personnel may result if this precaution is not followed. Safety Precautions Read this manual carefully and make sure you understand its contents before using this product. Follow all instructions and safety guidelines presented in this manual when using this product.
Tank Gate Interface iv Installation and Operations Manual
Contents 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.1 Versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.2 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 1.3 Applications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.
Contents 4.1.8 System Tasks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.1.9 Tank Gate Interface Software Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.2 Database Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.2.1 Point Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 4.2.2 Parameter Description . . . . . . . . . . . . . . .
Tank Gate Interface 6.3.2 Select the Unit Address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 6.3.3 Wiring Up Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 6.3.4 Grounding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 6.3.5 Installing Communications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 7 Using ViewRTU . . . . . . . . . . . . . . . .
Contents viii Installation and Operations Manual
8310 TGI 1 Overview Overview The 8300 series Tank Gate Interface acts as a tank gauge interface for data acquisition and host gateway for tank farm, pipeline or refinery applications. Options are available for interfacing to nearly any brand of tank gauge equipment or technologies, making it possible to integrate float and tape transmitters, HTG, servo, magnetostrictive and radar gauges.
Overview 1.3 Tank Gate Interface Applications The 8300 series Tank Gate Interface is ideally suited for Tank Farm, Terminal, Pipeline and Refinery applications. It is an effective solution used in SCADA applications. • 1.4 Specifications 1.4.1 System Design • 16-bit processor with optional intelligent communication modules • Intelligent field device communications • 128K bytes Non-Volatile Database Memory • Serial RS-232 • Visual indication - 4 LEDs on main board indicate power and status 1.
8310 TGI Overview 1.4.7 Surge protection • 1.4.8 Gas Discharge Tubes (GDTs) and clamping diodes on all field inputs, power supply inputs and communications channels Operating temperature • 1.4.9 -40...+185 °F (-40...+85 °C) Humidity • 5...95% (non-condensing) 1.4.10 Storage temperature • -40...+212 °F (-40...100 °C) 1.4.11 Mechanical Construction • Dimensions (HxDxW) - 2.5" (64 mm) x 8.6" (220 mm) x 5.2" (133 mm) • Material - Aluminum Powder coated *Gauge/transmitter Dependent Varec, Inc.
Overview 4 Tank Gate Interface Installation and Operations Manual
8310 TGI 2 Hardware Hardware The Tank Gate Interface consists of an enclosure, motherboard, single tank gauge interface module and connectors. 2.1 Hardware Block Diagram A Tank Gate Interface hardware functional block diagram is shown below. This diagram shows the relationship between major subsystems and components in the Tank Gate Interface. The heart of the Tank Gate Interface is an Intel 80C188EB microprocessor operating at 18.432 MHz.
Hardware Tank Gate Interface HARDWARE HANDSHAKING A EARTH B NEUTRAL LINE SURGE GND RESET VFIELD + RS232 COM1 A/TXD B/RXD RS485 COM1 GND RTS CTS TXD COM 0 RXD GND VFIELD=24V +15V +5V GND AUX POWER VFIELD=48V -15V Figure 2-2: The Tank Gate Interface Motherboard Tank Gauge Interface Circuitry NOVRAM 128 K PROM 256 k Serial 1 uP Serial 0 Figure 2-3: 6 COM 0 RS-232 Tank Gate Interface Functional Block Diagram Installation and Operations Manual
8310 TGI Hardware 2.2.1 Power Supply • Unit AC Power terminal block (J2) • Surge Protection terminal block (J4) • Field Power terminal block (J3) • Auxiliary DC Power Output terminal block (J8) • AC Power fuses (500 mA - 250V 5x20 mm) (F1, F2) • Field Voltage Selection Jumper (W3) 2.2.1.1 Unit AC Input Power terminal block (J2) The Unit AC power terminal block is used to provide AC power to the Tank Gate Interface. The power requirements for the Tank Gate Interface are 100-240 VAC, 50/60 Hz.
Hardware Tank Gate Interface 2.2.1.3 Field Power (VFIELD) terminal block (J3) The Field Power terminal block, referred to as VFIELD, is used to provide power for field instruments. The output is configurable using jumpers (Jumper W3, discussed below).
8310 TGI Hardware 2.2.1.5 AC Power Fuses (F1,F2) The AC Power Fuses provide protection for the AC input power. The two fuses, F1 and F2, are rated at 500 mA, 250 V. F1 HARDWARE HANDSHAKING A EARTH B NEUTRAL LINE SURGE GND RESET VFIELD + RS232 COM1 A/TXD B/RXD RS485 COM1 GND RTS CTS TXD COM 0 RXD GND +15V +5V GND AUX POWER VFIELD=48V VFIELD=24V -15V F2 Figure 2-7: AC Power Fuse 2.2.1.
Hardware Tank Gate Interface • Re initialize System Hardware • Clear Scratch Memory • Verify Database and Re initialize if Invalid • Reset All Timers • Enable Communications HARDWARE HANDSHAKING A EARTH B NEUTRAL LINE SURGE GND RESET VFIELD + RS232 - RESET COM1 A/TXD B/RXD RS485 COM1 GND RTS CTS TXD COM 0 RXD GND VFIELD=24V +15V +5V GND AUX POWER VFIELD=48V SW3 -15V Figure 2-9: Switches SW3 on the Tank Gate Interface Motherboard 2.2.2.
8310 TGI Hardware VFIELD + - J5 A/TXD HARDWARE HANDSHAKING A EARTH B B/RXD NEUTRAL LINE SURGE GND VFIELD + RS232 COM1 A/TXD J6 B/RXD RS485 COM1 GND RTS COM1 GND RESET RTS CTS TXD COM 0 RXD CTS GND +15V +5V GND AUX POWER VFIELD=48V VFIELD=24V -15V TXD COM 0 RXD GND J7 +15V D=24V +5V AUX POW D=48V Figure 2-10: COM1 J5 Terminal Block 2.2.3.1 COM0 (J7) COM0 is an RS-232 port for use in diagnostic testing/local programming or communications to a host system.
Hardware Tank Gate Interface The choice of RS-232 or RS-485 is determined by the COM RS-232/RS-485 Selection Switch SW2. 2.2.3.3 COM1 RS232/RS-485 Selection Switch (SW2) Note COM1 is not available on the 8315 Tank Gate Interface Switch SW2 determines whether RS-232 or RS485 is used. Note that the Hardware Handshaking Switch SW1 affects the operation of COM1.
8310 TGI Hardware For RS-485, set the Hardware Handshaking Switch SW1 to the ‘A’ position. Refer to the following table:. Comm. Physical Layer Hardware Handshake SW1 Setting SW2 Setting Notes RS-232 No A UP (towards the RS-232 side) Use with a PC. Signals at terminal block J5 will be RS-232 RS-232 Yes B UP (towards the RS-232 side) Use to communicate to systems that require Request To Send (RTS) in order to transmit (Modems, Radios, etc.
Hardware Tank Gate Interface PC TANK GATE 2 TXD COM0 (RS-232) Pin Signal 2 3 RXD 5 GND RXD 3 TXD 5 GND J7 DB9 Female R5485 / R5238 Converter TANK GATE PC A A COM1 (RS485) B B GND GND J6 NOTE! Signals on RS485 / RS232 converter may have different designations. Refer to OFM manual for the converter for more information.
8310 TGI 3 8210 Varec Mark/Space Communications Interface Module 8210 Varec Mark/Space Communications Interface Module This communications interface module is the processing card that mounts on the Tank Gate Interface (TGI) motherboard. The firmware installed on this card determines which protocol is provided. 3.
8210 Varec Mark/Space Communications Interface Module Tank Gate Interface Unit ID DIP Switch (SW1) Firmware LED Indicators (D1 - D4, D14) +48V Line fuse (1A 250V TR5) (F1) External power connector (+48V) (J2) Field Wiring termination block (J3) Surge/Shield ground connector (J4) Figure 3-1: Varec Mark/Space Tank Gate Interface Module 3.1.2 ID DIP Switch (SW1) The dip switch is used for setting the ID number (1-14). The ID is a binary number representing the address of the TGI.
8310 TGI 8210 Varec Mark/Space Communications Interface Module 3.1.3 LED Indicators (D1-D4 & D14) The LED displays indicate the status of the TankGate. The LED that is adjacent to the External Power Connector indicates that external power is applied. • CPU: CPU activity • COM: Communication between the TankGate and the host system. • TXD: Transmitting data to tank gauge • RXD: Receiving data from tank gauge • +48V: Indicates +48V is present Figure 3-2: LED Indicators 3.1.
8210 Varec Mark/Space Communications Interface Module Tank Gate Interface Figure 3-4: Circuitry Connect the field wiring • Connect the wiring from the Model 8310 to the appropriate device. The Model 8310 can be connected to a variety of different transmitters. Three examples are shown below. Note! 18 Refer to your tank transmitter user’s manual for instruction on wiring the devices to the Model 8310.
8310 TGI 8210 Varec Mark/Space Communications Interface Module Figure 3-5: Whessoe Varec Model 1900 Micro 4-Wire transmitter Figure 3-6: Whessoe Varec Model 4000 ATT Figure 3-7: Gauging Systems, Inc. - System 2000TXC Transmitter Varec, Inc.
8210 Varec Mark/Space Communications Interface Module 20 Tank Gate Interface Installation and Operations Manual
8310 TGI 4 Software Description Software Description The Tank Gate Interface software platform is based on a real-time, multi-tasking operating system. The software consists of I/O scanning functions for data acquisition, a database/ database manager and communication functions for data transfer. Note Figure 4-1: 4.1 COM1 is not available on the 8315 Tank Gate Interface. Software Block Diagram Software Features 4.1.
Software Description Tank Gate Interface 4.1.4 Communications There are two communications tasks - one for each of the communication channels. COM ports 0 and1 are used to interface to external devices or host systems. Refer to the Hardware Chapter for the location of these ports. Note COM1 is not available on the 8315 Tank Gate Interface. COM0 and COM1 COM 0 and 1 can be configured for communications to Host systems using a variety of protocols.
8310 TGI Software Description 4.1.8 System Tasks System tasks include the Calendar Task, which manages Time and Date functions. Other system tasks include utility routines for checksum calculations, diagnostics, start-up and initialization. 4.1.9 Tank Gate Interface Software Blocks The user can configure pre-defined subprograms known as Software Blocks.
Software Description Tank Gate Interface Parameter Class Description Command Output command data Constant Weights & Measures parameter Scratch Temporary data that is typically hidden from the user System System data (should not be changed by the user) The user-related parameters are the Config, Command and Dynamic parameters. These parameters are available in the Edit Point window of ViewRTU. The remaining parameters are internal to the Software Block.
8310 TGI Software Description PntCheckSum Parameter The PntCheckSum is a CRC-16 checksum of the Configuration Parameters of a point. Most points have the PntCheckSum parameter; a few like the CLK (Clock) Point, DIAG (Diagnostics) Point, and the register points (BREG, IREG, and DREG) do not. Any time a Configuration Parameter is changed, the Tank Gate Interface re-calculates the checksum. The PntCheckSum is used at initialization to validate each point in the database.
Software Description Tank Gate Interface When FuelsManager is the Host system, the Change of State method has the advantage of being very efficient. Only the data that has changed is reported. Change of State is not available when using Modbus. 4.3.3 Change of State-Related Parameters In order to support the Change of State method, many points have additional configuration parameters included.
8310 TGI Software Description The Modbus Slave protocol handler is flexible, allowing the user to set options for handling several aspects of Modbus communications. The Modbus Slave uses the GWBLK Gateway Block as a lookup table for data addresses. The Gateway Block allows the user to specify data address and point reference combinations. This allows the Tank Gate Interface to be used with an existing system that is already configured.
Software Description Tank Gate Interface 4.3.5 Fixed Modbus Map For each version of the Tank Gate Interface, there is a fixed map of data registers.
8310 TGI Varec, Inc.
Software Description Tank Gate Interface In this example, the Modbus register map is configured according to the following table: Data Address Parameter Comments 100-101 MSTX.00.Level Level is in IEEE Floating point format. 102-103 MSTX.01.Level 104-105 MSTX.02.Level . . . . . . 138-139 MSTX.19.Level 200-201 MSTX.00.Temp 202-203 MSTX.01.Temp 204-205 MSTX.02.Temp . . . . . . 238-239 MSTX.19.Temp 300 MSTX.00.PntStatus 301 MSTX.01.PntStatus 302 MSTX.02.PntStatus . . .
8310 TGI 4.4 Software Description Common Software Blocks This section describes Software Blocks included with the base unit of the 8310 TGI. 4.4.1 Clock (CLK) The Clock point provides access to the System Clock. Standard time format is in the form of MM/DD/YY HH:MM:SS. Parameters The database parameters used by the CLK point are listed and described below: Configuration Parameters TZ Function Time Zone string Dynamic Parameters Function SysTime System Time in the form MM/DD/YY HH:MM:SS.
Software Description Tank Gate Interface Configuration Parameters BaudRate Function Baud Rate for communications to either the Host or Slave system. Valid values are: 1200, 2400, 2400, 9600, 19200. Changing the BaudRate parameter will immediately change the configuration of the ComPort. The default is 9600. ComParams Defines the number of data bits and the parity used by the com port.
8310 TGI Software Description 4.4.3 Floating Point Register (FPREG) The Floating Register point provides four bytes of storage in IEEE floating point format. It is often used for inter-point communications where no other means is provided.
Software Description Tank Gate Interface Configuration Parameters Function TempUnits Specifies the engineering units for the temperature data. TempUnitsSpecifies the engineering units for the temperature data. F: Fahrenheit C: Celsius The TempUnits needs to match the units specified during the gauge setup. DensityUnits Specifies the engineering units for the density data. DensityUnitsSpecifies the engineering units for the density data.
8310 TGI Software Description 4.4.5 EMU Gateway (EMUGW) The EMU Gateway point is used to manage scanning functions for the EMU point. Statistics are maintained for the communications between the Series 8130 and the tank gauging software (TankView or System IV). Special firmware is required on the 8203 Dual RS-485 Communications Interface Module to support the emulation functions.
Software Description Tank Gate Interface Dynamic Parameters Function LevelRef The reference point for level and temperature data for the tank currently requested by TankView Flags Hex value representing the operational status NumRequests Number of requests from TankView or Entis NumComErrors Number of errors Elaspe Time of last request PntCheckSum CRC-16 Checksum for point’s static Configuration Parameters.
8310 TGI Software Description Configuration Parameters DataMode Function Integer HEX value that controls the data returned to a Modbus Host 0: Use parameter values 0x01: Convert to Integer 0x02: Return 0xFF if the data is invalid. 0x04: Convert to Integer using only the Scale If the DataMode is 0x01, the PntRef data will be converted to an integer using the Offset, Scale, ValueMin and ValueMax. If the DataMode is 0x04, the Scale parameter is used to convert to an integer.
Software Description Tank Gate Interface 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.
8310 TGI Software Description Configuration Parameters Function ID Slave Address that the Modbus Slave protocol handler will respond to. The default is to match the Unit Address of the 8300 series Tank Gate Interface. Mode Operational Mode. The Mode is a hex value, with individual bits controlling various aspects of the operation of the Modbus Slave protocol handler.
Software Description Tank Gate Interface 4.4.9 Scaler Point (SCALER) The Generic Scaling point allows you to perform math functions in the 8300 series Tank Gate Interface. The SCALER point monitors one or more database reference values and performs an equation in the form: Value = Ax + By + Cz + K Note A, B, C & K are user-entered constants. Note x, y & z are inputs from other database points.
8310 TGI Software Description Dynamic Parameters PntStatus Function Byte value indicating status of point Values are: 0: No error 15: Invalid Type for PntRef 16 Invalid Number for PntRef 17 Invalid Param for PntRef 19: PntRef point does not exist 25: PntRef is not defined Elapse PntCheckSum Time the SCALER point last executed. CRC-16 Checksum of point's static Configuration Parameters Application The SCALER point allows you to perform simple math functions such as conversion of units.
Software Description 42 Tank Gate Interface Installation and Operations Manual
Varec Mark/Space Software Blocks 5 Varec Mark/Space Software Blocks This chapter describes the Software Blocks that are included in the 8310 Tank Gate Interface (Varec Mark/Space), excluding those common to all the 8300 TGI software versions. The Software Blocks are listed in alphabetical order by acronym. Common Software Blocks are described in section 4.4 on page 31.
Varec Mark/Space Software Blocks 44 Tank Gate Interface Installation and Operations Manual
5.1 Gauging Systems Inc. Model 2000 Mark/Space Interface (GS2000) The GS2000 point provides an interface to GSI 2000 Mark/Space Tank Gauge transmitters. This point provides both level and temperature data. Point and gauge status information is also available in this point block. This Software Block executes on the 8310 Tank Gate Interface. 5.1.
Tank Gate Interface Configuration Parameters Function Maxtime Specifies the maximum time (in secs) between automatic Change of State responses being sent to the Host. Report must be set to either Low or High for the Value parameter to be sent in response to a Change of State Request. A value of 0 disables this option. Non-zero values cause responses to be sent even if the value has not changed since the last message. The default is 600.
8310 TGI The Level can be offset by entering a value for the LevelOffset parameter. The LevelOffset is added to the Level after any conversion have be performed. Likewise, the TempOffset may be used to offset the Temp value. The FastScanMode parameter places the point in the Fast Scan list. Fast Scan points are scanned more frequently than other points. The Interleave, FastScanMax, and FastScanTime parameters of the MSSCAN point determine how fast scanning is performed. Varec, Inc.
Tank Gate Interface 48 Installation and Operations Manual
8310 TGI 5.2 Varec Mark Space Servo Gauge (MSSTG) The MSSTG point provides an interface to Whessoe Varec 6500 Tank Gauge transmitters as well as a Varec 6000 servo gauge emulating Mark Space communications. This point provides both level and temperature data. Point and gauge status information is also available in this point block. 5.2.
Tank Gate Interface Configuration Parameters Function Report Causes automatic notification to the Host (in response to a Change of State Request) when the Value changes State. Parameter value can be High, Low or No. Report=No disables notification. Points with Report = High will be sent before points with Report = Low. The default is High. Maxtime Specifies the maximum time (in secs) between automatic Change of State responses being sent to the Host.
8310 TGI 5.2.2 Dynamic Parameters Function GaugeStatus Byte value indicating status of the gauge. Refer to the transmitter manual for details on the GaugeStatus Elapse Time of the last Change of State. Interval This parameter displays the number of hours:minutes:seconds since the point was last updated. PntCheckSum CRC-16 Checksum for point’s static Configuration Parameters Raw1 Raw data from gauge. Value reported as hexidecimal value. Raw2 Raw data from gauge.
Tank Gate Interface 52 Installation and Operations Manual
8310 TGI 5.3 Mark Space Scanner (MSSCAN) The MSSCAN point is used in conjunction with MSTX, GS2000, and MSSTG gauge points. This point is created automatically to monitor and control the operation of the TankGate. It is not necessary to add a MSSCAN point. This point also provides dynamic and statistical data for the TankGate module and associated tank transmitters. 5.3.1 Parameters The database parameters used by the MSSCAN point are listed and described below: Varec, Inc.
Tank Gate Interface Dynamic Parameters Function NumTimeouts Number of unresponded requests issued before the scanner timed out. NumScanList Total number of MSSTG, GS2000 and MSTX points in the scan list NumFastScan Number of points in the Fast Scan List PntStatus Byte value indicating status of point Values are: 0: No error PntCheckSum 5.3.2 CRC-16 Checksum for point’s static Configuration Parameters Application The MSSCAN point monitors the status of the protocol or communications module.
8310 TGI Parameter Description NumFastScan Number of points in the Fast Scan List The number of gauges scanned during a Fast Scan Cycle is determined by the FastScanMax. If the value is 0, then all MSTX, MSSTG and GS2000 points with the FastScanMode set to Enable will be scanned. If the value is 1, then only a single gauge from the Fast Scan List will be read each time a Fast Scan Cycle is executed. The Interleave parameter controls the number of gauges read during each Normal Scan Cycle.
Tank Gate Interface 56 Installation and Operations Manual
8310 TGI 5.4 Varec Mark Space Level Transmitter (MSTX) The Varec Mark Space Level Transmitter (MSTX) point provides an interface to various Mark Space transmitters such as the Varec 1800 and 1900, as well as instruments that emulate Mark Space communications such as the 2900 FTT, 4000 ATT, 4100/4200 MFT and 4590 TSM. This point provides both level and temperature data. Point and gauge status information is also available in this point block. This point used to be designated VW1900. 5.4.
Tank Gate Interface Configuration Parameters Function TempDeadband Specifies the amount of change in the Temp that must occur for the Value to be updated each Change of State period. The default is 0.25. TempOffset Specifies the amount of offset to add to the Temp. The default is 0. Report Causes automatic notification to the Host (in response to a Change of State Request) when the Value changes State. Parameter value can be High, Low or No. Report=No disables notification.
8310 TGI 5.4.2 Dynamic Parameters Function Elapse Time of the last Change of State. Interval This parameter displays the number of hours:minutes:seconds since the point was last updated. PntCheckSum CRC-16 Checksum for point’s static Configuration Parameters Raw2 Raw data from gauge. Value reported as hexidecimal value. Raw2 Raw data from gauge. Value reported as hexidecimal value.
Tank Gate Interface 60 Installation and Operations Manual
8310 TGI 6 Installation Installation Before attempting installation, review the Safety Precautions below. Installation and maintenance personnel should become familiar with any hazards present as well as any agency requirements before working with any equipment. 6.1 General Safety Guidelines The user should follow safety guidelines provided by the Occupational Safety and Health Administration (OSHA) for additional protection.
Installation 6.3 Tank Gate Interface Installation Standard systems are shipped with the motherboard and tank gauge interface module installed. The Tank Gate Interface installation procedure includes the installation of these individual components. Tank Gate Interface installation includes the following steps: 1. Mounting the Tank Gate Interface (section 6.3.1 on page 62) 2. Selecting the Unit Address (section 6.3.2 on page 62) 3. Wiring up Power (section 6.3.3 on page 62) 4.
8310 TGI Installation 197 125 204 s Figure 6-2: Varec, Inc.
Installation Tank Gate Interface 6.3.4 Grounding To allow use in harsh industrial environments, the Tank Gate Interface incorporates ANSI/IEEE surge protection. In solid-state control systems, grounding helps limit the effects of noise due to electromagnetic interference (EMI) and provides additional surge protection when high voltage switching circuits are connected to the unit. The grounding path for the Tank Gate Interface and its enclosure is provided by the equipment grounding connector.
8310 TGI 7 Using ViewRTU Using ViewRTU 7.1 Overview This chapter describes the software used to configure the Tank Gate Interface. This chapter describes each of the menus found in the menu bar. Additionally, the chapter describes the system requirements and the installation procedure. Use this chapter in accordance with the Tank Gate Interface Software Blocks section. ViewRTU software, a Microsoft Windows application, is designed to configure and view data points in the Tank Gate Interface.
Using ViewRTU Tank Gate Interface Execute the ViewRTU program, 1. Select the ViewRTU program group from the Windows Program Manager. 2. Double-click on the icon to execute the ViewRTU application. If more than one Tank Gate Interface definition file (DVR) exists, the following dialog box is displayed. Figure 7-1: ViewRTU Version Selection dialog Each version file contains setup information that matches the firmware in the Tank Gate Interface.
8310 TGI Using ViewRTU 7.4.1 ViewRTU window This main window allows the user to perform the commands necessary to configure the Tank Gate Interface. The ViewRTU window contains the standard Windows components such as the Application Control menu, minimize/maximize icon buttons, title bar and menu bar. The System Status area Displays the system version as well as general information about the configuration file. The Tank Gate Interface file name is found in both the System Status area and the title bar.
Using ViewRTU Tank Gate Interface New The user is able to create a new configuration file by clicking on the New push-button from the tool bar or by selecting New from the File menu. When selected, a dialog box appears displaying a list of configuration definition files. The user selects the desired file from this list. Open The user is able to select an existing configuration file by clicking on the Open pushbutton from the tool bar, or by selecting Open from the File menu.
8310 TGI Using ViewRTU Figure 7-5: Dialog viewed when adding a new point Select Point to Add dialog box This dialog box displays a list of available point types, the point number, quantity and the corresponding point icon. The point icon is then added to the Point Icon Selection Area if it does not already exist. The Point Type lists the currently selected point. The user can select the desired point by selecting the point from the scroll list.
Using ViewRTU Tank Gate Interface Figure 7-7: Edit Point dialog Edit Point dialog This dialog box contains all dynamic and configurable field information. The user is able to edit point data. Exiting this dialog box returns the user to the main window. Note Several other methods can be used to display the Edit Point dialog box. These methods and other information are explained in greater detail in the Application section. Delete This option lets the user delete one point at a time.
8310 TGI Using ViewRTU 7.5.3 The Config Menu Figure 7-9: The Configuration Menu Download Database to RTU The Download Database to RTU option is used to download configuration data to the Tank Gate Interface. The following dialog box appears: Figure 7-10:Dialog used to download Tank Gate Interface data Click the Download push-button to download data to the Tank Gate Interface Upload Database from Tank Gate Interface The Upload option is used to upload configuration data from the Tank Gate Interface.
Using ViewRTU Tank Gate Interface Figure 7-12:Spreadsheet Mode Edit window Password The user can use the Password option to gain access to a protected file. Once a password has been assigned, the user must enter the password when attempting to edit the Tank Gate Interface configuration file. This password is only entered once in the duration of the ViewRTU program. To enter the password • Select Config and click on Password. • Click on the edit box in the Password dialog. Type in the password.
10 TGI Using ViewRTU Note Make sure that you write down the password and store it in a secure place. Changing the Password • Select Config and click on Modify Change Password. The Change Password dialog appears, as illustrated in ‘creating a password’. • In the Old Password edit box, enter the current password. • In the New Password edit box, enter the new password. • In the Retype New Password edit box, confirm the entry by reentering the new password. • Click on OK. Note 7.5.
Using ViewRTU Tank Gate Interface Port Communications Setup dialog This dialog box allows the user to enter the specifications of the Tank Gate Interface’s communication port. When OK is selected, the setup data is stored as the default setup next time ViewRTU is executed. Status The Status option is provided so the user is able to observe communications data. The following dialog box appears when this option is selected.
8310 TGI Using ViewRTU 7.5.5 The Options Menu Figure 7-19:The Options Menu Convert Configuration Files The Convert Configuration Files option is used once the Download Firmware option has been executed. This option converts configuration files from one version to another. When selected, the following dialog box appears. Figure 7-20:Convert ViewRTU versions dialog Convert ViewRTU versions dialog This dialog box allows the user to convert a file.
Using ViewRTU Tank Gate Interface that you organize the directories with names corresponding to the Tank Gate Interface address. If you have two Tank Gate Interface’s, use the Windows File Manager program to create subdirectories \VIEWRTU\RTU1 and \VIEWRTU\RTU2. All of the files for Tank Gate Interface #1 should be written to \VIEWRTU\RTU1; Tank Gate Interface #2’s data would go to \VIEWRTU\RTU2 and so on.
8310 TGI 7.6 Using ViewRTU Using ViewRTU By using ViewRTU, the user is able to define or modify sub-programs called Software Blocks. Software blocks are used to configure the Tank Gate Interface. Note Refer to the Tank Gate Interface Software Blocks chapter for specific examples. The chapter provides a description of the parameters for each point as well as examples of the connections to other points. Tank Gate Interface software blocks are functions that the user can configure to perform various tasks.
Using ViewRTU Tank Gate Interface 7.6.2 Configuring Single Points Configuring the point involves entering configuration parameters. In some cases, connections between points must also be required in order to perform a function. All of these steps can be implemented from the Point Connections window.
8310 TGI Using ViewRTU Edit (Digital) Point dialog This window is used to view and modify the Dynamic and Configuration parameters of the selected point. The Edit Point window is identified by the Point Description and associated current Point Number listed at the top of the window. This window contains two list boxes and a series of push-buttons. The top list box contains the configuration parameters of the point, while the bottom list box contains Dynamic and Command parameters.
Using ViewRTU Tank Gate Interface Previous The Previous push-button allows the user to step through multiple points of a point type. The user is able to view the data in the Edit Point window of the previous point. Selecting Previous at the first point number wraps to the last point number of the list. Examine The Examine push-button is used to go to the Point Connections window of the reference point in the list box.
8310 TGI Using ViewRTU To modify a value • Double-click the desired parameter to enter a new value. The following example Modify Point dialog box appears. Figure 7-25:Edit point parameter value dialog Edit point parameter value dialog From this dialog box, the user is able to enter a value for the selected parameter. The dialog box varies according to the selected parameter. In some dialog boxes the user is able to enter the name or data directly in the edit box.
Using ViewRTU Tank Gate Interface Only valid references appear in the list boxes contained in this dialog box. The new reference can then be downloaded to the Tank Gate Interface or stored locally if the Tank Gate Interface is off-line. 7.6.4 Configuring Multiple Points The spreadsheet mode is one of the methods used to configure points. This method is the most beneficial when editing and viewing multiple points of the same type.
8310 TGI Using ViewRTU Figure 7-28:Spreadsheet Mode: Entering point parameter data Spreadsheet Mode This window displays a list of all the point numbers of a selected point type. The user is able to add, configure, and edit points. The user is able to select and enter the parameters for each point or group of points. The user can also export/import files and control the selection of displayed parameters. Compare this window to the Edit Point window (see Figure 7-7 on page 70).
Using ViewRTU Tank Gate Interface The Edit Menu Figure 7-30:Spreadsheet Mode: The Edit Menu Copy The Copy option allows the user to copy data from a one or more selected cells. 1. Select one or more cells to copy. To select one or more rows, click on the number(s). To select one or more columns, click on the parameter(s). 2. Select the Copy option from the Edit menu. The selected cells outline changes from black to red. Note To undo the Copy option, press the Esc key.
8310 TGI Using ViewRTU Figure 7-31:Spreadsheet Mode: Copying and Pasting point parameter data rows. Note If the number of rows and columns in both selections do not match, the extra copied cells are truncated. Incompatible cells containing different data types are not copied; instead a warning is displayed. Paste & Dnld The Paste & Dnld option is very similar to the Paste menu selection. The only difference is that the Paste & Dnld selection downloads the updated data parameters.
Using ViewRTU Tank Gate Interface 1. Click on each desired cell or column. 2. Select Set Value from the Edit menu. The following dialog box appears: Figure 7-33:Spreadsheet Mode: Editing point parameter values using auto increment Each value in the column is incremented by one for the range of rows selected. All cells that are selected and match the data type of the value are set to the value.
8310 TGI Using ViewRTU Figure 7-35:Spreadsheet Mode: Viewing selected parameter types dialog The user is able to select any combination of parameter types. The user is able to select any combination of classifications. The classifications are described briefly below. .
Using ViewRTU Tank Gate Interface Figure 7-36:Spreadsheet Mode: Hiding columns The user can unhide a row or column by clicking on the associated ‘+’. To unhide all the rows/ columns, the user can select the Unhide All option from the Options menu. Unhide All The Unhide All option allows the user to reveal all of the rows or columns that are currently hidden. 7.6.5 Creating and Editing Connections Several methods can be used to display this window depending on the user’s current location in the program.
8310 TGI Using ViewRTU Displaying the Point Connections window. • Double-click on one of the icons to display the Point Connections window. The following example Point Connections window appears. Figure 7-38:Point Connections Window Point Connections Window This graphic display visually illustrates the reference connections of the focus point. From this display, the user is able to select reference points, create connections between these points, and enter configuration parameters.
Using ViewRTU Tank Gate Interface Note Double-left clicking on the input source or the output destination icon allows the user to step through each corresponding Point Connections window, if applicable. Note Double-right clicking on the input source or the output destination icon allows the user to view the point’s Edit Point window.
8310 TGI 8 Troubleshooting Troubleshooting 8.1 Overview This chapter describes the procedures used to isolate hardware faults. Three push-buttons and eight status Led provide verification of Tank Gate Interface proper operation. If the Tank Gate Interface is not functioning normally, the user is able to troubleshoot the device by performing one or more procedures using the three push-buttons.
Troubleshooting Tank Gate Interface 8.2.2 LED Displays under Abnormal Conditions The table below lists the abnormal conditions of the four indicator lights. From this table the user should be able to pinpoint the cause and derive a solution to the problem.
8310 TGI Troubleshooting 8.2.4 Performing a Hard Reset A ‘Hard Reset’ clears the Tank Gate Interface’s database. The following procedure describes the steps necessary to perform a Hard Reset: 1. Set the ID DIP switch to 15 (all switches Closed/On). This action initiates the Hard Reset Procedure. ID = 15 Figure 8-1: Set the ID DIP switch to 15 2.
Troubleshooting Tank Gate Interface 5. The LEDs will light (and remain steady) to indicate the address. For example, if the ID DIP Switch is set to 1, LEDS D1 will on. If the ID DIP Switch is set to 3, LEDS D1 and D2 will be on. D1 ON D2 D3 D4 ID = 1 Figure 8-4: Address indication from the LEDs 6. After 10 seconds, the address of the Tank Gate Interface will be set to the ID DIP Switch setting. The LEDS will flash for 5 seconds to indicate that the address is about to be set.
8310 TGI Varec, Inc. Troubleshooting • Replace and tighten the case cover. • Turn on power and test with PC and ViewRTU. • Close the enclosure door.
Troubleshooting 96 Tank Gate Interface Installation and Operations Manual
8310 TGI A Appendix - Order Codes Appendix - Order Codes 10 Interface Module 032 Dual RS-485 MODBUS™ Communications Interface Module 036 Dual RS-485 GSI ASCII Communications Interface Module 101 Varec Mark/Space Micro 4-wire (Varec 1800, 1900, 6500) Interface Module 111 Current Loop (Whessoe Bus) Interface Module 112 Current Loop (GPE) Interface Module 120 SAAB (TRL/2) Interface Module 140 Enraf (811, 802/812, 854, 873) Interface Module 150 L&J Tankway (MCG 1000, MCG 1500, MCG 2000) Interface Module 16
Appendix - Order Codes 98 Tank Gate Interface Installation and Operations Manual
Document Code IOM033GVAE1313 Varec, Inc. • 5834 Peachtree Corners East, Norcross (Atlanta), GA 30092 USA Tel: +1 (770) 447-9202 • Fax: +1 (770) 662-8939 www.varec.com © 2006 Varec, Inc. All Rights Reserved. This document is for information purposes only. Varec, Inc. makes no warranties, express or implied, in this summary. The names of actual companies and products mentioned herein may be the trademarks of their respective owners.