Varec 8315 Series manual Gateway Block Gwblk, Parameters

Page 55

8300

8315 L&J Tankway Software Description

 

 

4.12 Gateway Block (GWBLK)

The Gateway Block point is used for compatibility with Modbus Master devices. Rather, the user configures a GWBLK to function as a look-up table. The GWBLK point lets the user specify which point references will respond to data addresses in the request from a Host. The GWBLK point contains a cross-reference table for database parameters and data addresses.

4.12.1Parameters

The database parameters used by the GWBLK point are listed and described below:

Configuration Parameters

Function

 

 

Tag

A Tag can contain 15 bytes of data and can include any printable

 

ASCII character. Tags can be used to identify points indicating the

 

use of the point such as “Modbus Slave” or “Register Value1.” The

 

default tag is set to “GWBLK.00”

 

 

Protocol

Protocol that the GWBLK point is used with. Valid values are

 

Modbus Slave

 

 

ComPort

Bit mask to enable address referencing. If a bit corresponding to

 

the com port, then address referencing is enabled for the channel.

 

The default is 0xFF (all COM ports)

 

 

DataMode

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.

 

 

Offset

Input range Offset used for scaling the output to an integer value

 

when DataMode=1.

 

 

Scale

Input range Scale used for scaling the output to an integer value.

 

When DataMode=1.

 

 

ValueMin

Ouptut range Offeet used for scaling the output to an integer value

 

when DataMode=1.

 

 

ValueMax

Output range Scale used for scaling the output to an integer value

 

when DataMode=1.

 

 

CommFailValue

Value to set all of the output registers to when there is a

 

communications or other failure. The CommFailValue works in

 

conjuction with the Filter values. If the PntStatus of the PntRef has

 

bits set that match the Filter, the reference value is declared invalid

 

and the output value will be set to the CommFailValue. This mode

 

is overridden by DataMode = 0x02.

 

 

45

Image 55
Contents Installation Operations Manual Page Copyright Disclaimer of Warranties Safety Precaution Definitions Safety Precautions Overview InstallationUsing ViewRTU Troubleshooting and maintenanceContents System Information SYS Using ViewRTU Troubleshooting Versions FeaturesApplications Operating temperature Specifications System DesignPower Supply Power consumptionHumidity Storage temperatureMechanical Construction Overview TankGate Interface Hardware Motherboard Description Hardware Block DiagramTankGate motherboard Surge Protection Surge Gnd terminal block J4 Unit AC Input Power terminal block J2Field Power Vfield terminal block J3 Auxiliary DC Output Power terminal block J8Field 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 System Tasks ProtocolsData Scanning Task Database ManagerTankGate 8315 Software Blocks TankGate Software BlocksParameter Classes Database OrganizationPoint Format Parameter DescriptionCommon Parameters Parameter Data FormatsData Format Description Value Parameter PntCheckSum ParameterPntStatus Parameter Elapse ParameterChange of State-Related Parameters Gathering Point DataStandard Request-Response Format Change of State FormatDeadband 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 Dynamic Parameters Function Configuration Parameters FunctionClock CLK ParametersCommunications COM Configuration Function ParametersApplication Dynamic Function Parameters Floating Point Register FpregReal 4 bytes value API Emulator EMUByte value indicating status of point Values are Hex representation of the request sent by the host Configuration Parame Function TersCurrent Command EMU Gateway EmugwDisplays 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 Addr1 is the Data Address and PntRef1 is the corresponding Byte value indicating status of point Values are No errorCRC-16 Checksum of points static Configuration Parameters Size ParameterInteger 2 bytes value Integer Register IregCurrent request message, displayed in hex format Modbus Gateway ModgwCurrent command. Values include Value = Ax + By + Cz + K Scaler Point ScalerDynamic Parame Function Ters Output value for the Scaler pointValue 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 20 L&J Scanner Ljscan Command currently being sent to the gaugeNumber of gauge polls since last reset Number of gauge polls which resulted in an errorOut 8315 L&J Tankway Software Description TankGate Interface Installation Safety Guidelines General Safety GuidelinesInstallation Mounting the TankGate inside the enclosure Mounting the TankGateSelect the Unit address Wiring Up PowerInstalling Communications Mounting the EnclosureEstablishing Host Communications Power-UpRS-485 Communications Initial system verificationInstallation TankGate Interface Executing ViewRTU Installing ViewRTUOverview System RequirementsViewRTU 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 passwordCommunications Menu Changing the PasswordChanging the Password PC SetupStatus Port Communications Setup dialogConnect Options MenuTankGate search dialog Import All Convert Configuration FilesConvert ViewRTU versions dialog Export AllHelp Menu Using ViewRTUConfiguring Single Points Edit Point Window Push-buttons Edit Digital Point dialogMinimize Previous Minimizing the Edit Point WindowConnections NextEdit point parameter value dialog To modify a ValueUpload To modify a valueAdding Multiple Points Configuring Multiple PointsTo modify a Reference Edit point parameter reference dialogAdding Multiple Points Spreadsheet ModePaste Point MenuEdit Menu CopySet 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 indicator1.3 TXD/RXD LEDs Using the TankGate Push-buttonsCommunications indicator LED Displays under Abnormal ConditionsPress 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