Varec 8315 Series Gathering Point Data, Standard Request-Response Format, Change of State Format

Page 37

8300

8315 L&J Tankway Software Description

 

 

4.4Gathering Point Data

For Host to TankGate communications, there are two primary methods for gathering point data. These methods are listed below:

4.4.1Standard Request-Response Format

The Host issues scan requests, and the TankGate responds with the data.

The Scan method has the advantage of being deterministic, the response time to a particular request will always be the same.

This method has the limitation that if there are many points defined in the TankGate, it often takes several requests to obtain all of the data. Most of the time data has not changed since the last request, so this results in inefficiencies in update times. This situation is often the case in systems where there are many digital points that do not change frequently.

4.4.2Change of State Format

The Host issues scan requests based on a Change of State condition. Some systems refer to this as Event Mode. The TankGate keeps track of the items that have changed since the last Host request. The Host can issue a single request of ‘tell me what has changed since my last request.’ The TankGate will respond with the results, which include addressing information about the data. In a typical system, this results in a significant improvement in the throughput rate for data.

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.4.3Change of State-Related Parameters

In order to support the Change of State method, many points have additional configuration parameters included.

Parameter

Description

 

 

Value

One of the parameters which will be returned to a Change of State request by

 

the Host. Most Software Blocks are designed so that the Value parameter is

 

the main parameter of interest.

 

 

Report

Is used for Change of State processing only

 

Causes automatic notification to the Host (in response to a Change of State

 

Request) when the Value Changes State.

 

Valid values are High, Low or No. Report=No disables notification.

 

Points with Report = High have higher priority than points with Report =

 

Low.

 

 

Maxtime

Is used for Change of State processing only

 

Specifies the maximum time (in secs) between automatic Change of State

 

data being sent to the Host in response to a Change of State Request.

 

When the Maxtime period expires, the Value to is forced appear as if it has

 

changed even if is has not, ensuring that data is sent to the host periodically.

 

Setting Maxtime to 0 disables this option. The maximum is 255 seconds.

 

 

27

Image 37
Contents Installation Operations Manual Page Copyright Disclaimer of Warranties Safety Precaution Definitions Safety Precautions Using ViewRTU InstallationTroubleshooting and maintenance OverviewContents System Information SYS Using ViewRTU Troubleshooting Versions FeaturesApplications Power Supply Specifications System DesignPower consumption Operating temperatureHumidity Storage temperatureMechanical Construction Overview TankGate Interface Hardware Motherboard Description Hardware Block DiagramTankGate motherboard Field Power Vfield terminal block J3 Unit AC Input Power terminal block J2Auxiliary DC Output Power terminal block J8 Surge Protection Surge Gnd terminal block J4Field Voltage Selection Jumper W3 AC Power Fuses F1,F2Reset push-button SW3 Switches and IndicatorsHard Reset 3.1 COM0 J7 Communications3.4 COM1 Hardware Handshaking Switch SW1 3.3 COM1 RS232/RS-485 Selection Switch SW23.2 COM1 RS-232/RS-485 J5 SW2 Set Tion Physical Handshak Ting Layer Ing Communica HardwareWith RTS / CTS RS-232J6 TankGate Communications Cable8315 L&J Tankway Interface Module Model 8315 TankGate DescriptionLED Indicators D1-D6 ID DIP Switch SW1Surge/Shield Ground Connector J4 External Power Connector +48V J2Connect the field wiring Field Wiring terminal block J38315 L&J Tankway Interface Module TankGate Interface Automatic Fault Recovery Software Features Real-Time / Multitasking ExecutiveReal-Time Clock Data Scanning Task ProtocolsDatabase Manager System TasksTankGate 8315 Software Blocks TankGate Software BlocksPoint Format Database OrganizationParameter Description Parameter ClassesCommon Parameters Parameter Data FormatsData Format Description PntStatus Parameter PntCheckSum ParameterElapse Parameter Value ParameterStandard Request-Response Format Gathering Point DataChange of State Format Change of State-Related ParametersDeadband Modbus Slave Modbus CommunicationsFunction Code Description Comments Fixed Modbus MapAddress Type Number Parameter Data Type Gwblk method 8315 L&J Tankway Software Description TankGate Interface Data Address Parameter Comments Clock CLK Configuration Parameters FunctionParameters Dynamic Parameters FunctionCommunications COM Configuration Function ParametersApplication Dynamic Function Parameters Floating Point Register FpregReal 4 bytes value API Emulator EMUByte value indicating status of point Values are Current Command Configuration Parame Function TersEMU 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 CRC-16 Checksum of points static Configuration Parameters Byte value indicating status of point Values are No errorSize Parameter Addr1 is the Data Address and PntRef1 is the correspondingInteger 2 bytes value Integer Register IregCurrent request message, displayed in hex format Modbus Gateway ModgwCurrent command. Values include Dynamic Parame Function Ters Scaler Point ScalerOutput 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 Number of gauge polls since last reset Command currently being sent to the gaugeNumber of gauge polls which resulted in an error 20 L&J Scanner LjscanOut 8315 L&J Tankway Software Description TankGate Interface Installation Safety Guidelines General Safety GuidelinesInstallation Mounting the TankGate inside the enclosure Mounting the TankGateInstalling Communications Wiring Up PowerMounting the Enclosure Select the Unit addressRS-485 Communications Power-UpInitial system verification Establishing Host CommunicationsInstallation TankGate Interface Overview Installing ViewRTUSystem Requirements Executing ViewRTUViewRTU Version Selection dialog ViewRTU Menu Bar ViewRTU windowFile Menu Point Menu Edit Select Point to Add dialog boxEdit Point selection dialog Delete Edit Point dialogPoint deletion dialog Download Database to RTU Config MenuUpload Database from TankGate Creating a Password To enter the passwordChanging the Password Changing the PasswordPC Setup Communications MenuStatus Port Communications Setup dialogConnect Options MenuTankGate search dialog Convert ViewRTU versions dialog Convert Configuration FilesExport All Import AllHelp Menu Using ViewRTUConfiguring Single Points Edit Point Window Push-buttons Edit Digital Point dialogMinimize Connections Minimizing the Edit Point WindowNext PreviousUpload To modify a ValueTo modify a value Edit point parameter value dialogTo modify a Reference Configuring Multiple PointsEdit point parameter reference dialog Adding Multiple PointsAdding Multiple Points Spreadsheet ModeEdit Menu Point MenuCopy PasteSet Value Paste & DnldSet Value with Auto Increment Import Options MenuExport Hide Row/Col ViewParameter Type Description Unhide All Creating and Editing ConnectionsPoint Connections Window Displaying the Point Connections windowTo create a Connection Using ViewRTU TankGate Interface Indicator Condition Run indicatorCommunications indicator Using the TankGate Push-buttonsLED Displays under Abnormal Conditions 1.3 TXD/RXD LEDsPress the Reset button Performing a Hard ResetSet the ID DIP switch to the desired addresses Replacing a defective component or module MaintenanceTroubleshooting TankGate Interface 102 Ordering Structure Nema 4 Enclosure Ordering Structure Remote Terminal Unit TankGateModbus Map Value12 Fpreg 3034 3094 8300 Your official representative Your offical representative