Varec 8315 Series manual Software Features Real-Time / Multitasking Executive, Real-Time Clock

Page 31

8300

8315 L&J Tankway Software Description

 

 

4 8315 L&J Tankway Software Description

The TankGate 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.

Figure 4-1: Software Block Diagram

4.1Software Features

4.1.1Real-Time / Multitasking Executive

The operation of the TankGate is based on a highly reliable, field-proven real-time multitasking executive. It provides task switching based on real-time events and interrupts, message passing and task priorities. Its capabilities also include timed suspension of tasks, queue handlers and interrupt processing tasks.

4.1.2Real-Time Clock

Integral to the real-time executive is the system’s real-time clock. All timed events of the TankGate are coordinated by this clock. In addition to the real-time executive interaction, all field data scanning is coordinated by the real-time clock.

4.1.3Automatic Fault Recovery

The TankGate has a watchdog timer that is periodically strobed by the microprocessor. Should the processor suffer a lapse due to hardware or software failure, the watchdog timer will time out and the TankGate will then be reset and normal operation will resume.

21

Image 31
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