Varec 8315 Series manual Application

Page 65

8300

8315 L&J Tankway Software Description

 

 

4.17.2Application

The LJ1000 point provides an interface to L&J MCG1000 Direct Digital Gauges. L&J Model 1000 Tank gauge transmitters are connected directly to a Model 8315 Tank Gauge Interface Module. The Model 8315 is automatically detected at startup, and an LJSCAN point is automatically created to manage the scanning task. The Module parameter determines which Model 8315 will be used. The ID must match the unit address of the MCG 1000.

Scanning begins when the Module is assigned. The DevType must match the configuration of the transmitter. Conversion from English to Metric can be performed be setting the LevelConvert and the TempConvert parameters in the LJSCAN point associated with the LJ1000 point.

Filtering is performed using the LevelFilter and TempFilter parameters of the associated LJSCAN point. If a change in level greater than the LevelFilter is read from the gauge, the Level parameter is not updated until it has stabilized. A reading is considered stable if it does not change more than the LevelFilter value for the number of readings determined by the Filter parameter. Thus, small changes (less than the LevelFilter) result in the Level being updated immediately. Large changes must pass through the filter and will not be seen until the reading stabilizes. The same strategy is applied to the Temp parameter value using the TempFilter parameter. Since the LevelFilter and TempFilter are associated with the LJSCAN point, it applies to all LJ1000 and LJ1500 points. The number of readings used in the filter algorithm can be set on an individual basis. If no filtering is desired, set the Filter parameter to 0.

A separate time-out mechanism is employed to assure that the filter does not prevent a reading from taking place. The LJSCAN parameter ScanTimeout is used to set an alarm bit in the PntStatus parameter if a good reading does not take place in a specified period of time. If there is no response from the gauge, or if there are constant parity errors, or if the level is constantly changing by a value greater than the LevelFilter, then the 0x02 bit of the PntStatus will be set after the ScanTimeout period elapses. The ScanTime parameter in the LJ1000 point is updated each time a good reading takes place. If the ScanTime differs from the Elapse parameter by more than the ScanTimeout, the 0x02 bit is set in the PntStatus.

55

Image 65
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 Applications FeaturesVersions Power Supply Specifications System DesignPower consumption Operating temperatureMechanical Construction Storage temperatureHumidity 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,F2Hard Reset Switches and IndicatorsReset push-button SW3 3.1 COM0 J7 Communications3.2 COM1 RS-232/RS-485 J5 3.3 COM1 RS232/RS-485 Selection Switch SW23.4 COM1 Hardware Handshaking Switch SW1 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 Real-Time Clock Software Features Real-Time / Multitasking ExecutiveAutomatic Fault Recovery Data Scanning Task ProtocolsDatabase Manager System TasksTankGate 8315 Software Blocks TankGate Software BlocksPoint Format Database OrganizationParameter Description Parameter ClassesData Format Description Parameter Data FormatsCommon Parameters PntStatus Parameter PntCheckSum ParameterElapse Parameter Value ParameterStandard Request-Response Format Gathering Point DataChange of State Format Change of State-Related ParametersDeadband Modbus Slave Modbus CommunicationsAddress 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 Clock CLK Configuration Parameters FunctionParameters Dynamic Parameters FunctionCommunications COM Configuration Function ParametersApplication Real 4 bytes value Floating Point Register FpregDynamic Function Parameters 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 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 Creating a Password To enter the passwordChanging the Password Changing the PasswordPC Setup Communications MenuStatus Port Communications Setup dialogTankGate search dialog Options MenuConnect Convert ViewRTU versions dialog Convert Configuration FilesExport All Import AllHelp Menu Using ViewRTUConfiguring Single Points Minimize Edit Digital Point dialogEdit Point Window Push-buttons 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 with Auto Increment Paste & DnldSet Value Export Options MenuImport Parameter Type Description ViewHide Row/Col Unhide All Creating and Editing ConnectionsTo create a Connection Displaying the Point Connections windowPoint Connections Window 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