Black Box GEH-6510 Maximum Query Retries, Dead Device Scan Interval, SleepTime For Exception

Page 81

Maximum Query Retries

This is the number of time-outs that must be encountered from a device before the Server declares the device dead. The default value is 5.

Increasing this value increases the length of time before a device is declared dead. Decreasing this value causes a device to be declared dead sooner. The tradeoff is that increasing the value may cause wasted time in scanning devices that are dead, while decreasing the scan time may cause devices to be declared dead prematurely and result in error messages.

Dead Device Scan Interval

The Dead Device Scan Interval is the interval in milliseconds at which the Server will scan a device it has declared dead, to see if it has come back on-line. Reducing this value devotes more time to scanning dead devices for recovery, which means that less time is available to scan live devices. Increasing this value means that devices that may have recovered and come back on-line may not be scanned in time to respond to a client’s request for data.

The default Dead Device Scan Interval is 120,000 milliseconds.

SleepTime For Exception 5

SleepTime For Exception 6

Occasionally, when a power-management device is performing a very processor- intensive computation, the device will reply to queries from the DDE Server with an exception code of Acknowledge or Slave Device Busy. These exception codes can be roughly interpreted as a message from the device saying “Give me a moment to finish what I’m doing and then I can help you.”

The SleepTime for Exception X is the length of time in milliseconds that the Server will allow a device to complete its tasks before the Server again begins processing packets addressed to that device. The count begins from the time the Server receives the exception code.

SleepTime values are supported for Exception Code 5, Acknowledge, and for Exception Code 6, Slave Device Busy. The default value for both SleepTime parameters is 1000 milliseconds.

When a device responds with Exception 5, Acknowledge, it is essentially saying “I have received and accepted the command, now give me some time to go and execute it.” The Server will allow the SleepTime interval to elapse, then send the next packet addressed to the device.

When a device responds with Exception 6, Slave Device Busy, it is essentially saying, “I cannot accept any commands now, please ask again later.” The Server will allow the SleepTime interval to elapse, then re-send the same packet to the device.

SleepTime intervals apply only to the device in question. While the Server notes a device as sleeping, it carries on its business with the remaining devices on the network without interruption.

TimeDownLoad Period

The PMCS DDE Server performs automatic time synchronization by periodically sending a time sync message to each device on the network. By default, this message is sent every 15 minutes (900,000 milliseconds) for the Modbus Concentrator, every 5 seconds for the Modbus Monitor, and every 24 hours for all other devices. This

78 Chapter Six - Advanced Options

DDE Server User’s Guide

Image 81
Contents Power Leader TM DMMS425 Back to Main Menu Contents Glossary of Terms This page left blank intentionally Welcome Chapter One IntroductionAbout NetDDE About DDEAbout the Pmcs DDE Server InstallationEI User’s only Server with OPC InterfacesChapter One Introduction DDE Server User’s Guide Running Pmcs DDE Server as an NT Service About Pmcs Chapter Two OverviewChapter Two Overview DDE Server User’s Guide Sample register map DevicesPmcs DDE Server NetworksClient Applications What’s NextDevice Configuration First-Time ConfigurationChapter Three Getting Started IntroductionWhat’s on the DDE Server Screen? Launching the ProgramMenu Conventions Menu BarConfiguring Communication ports EPM 7700 Xpress Card or Xplex 1620 Max Server Users Ethernet Users OnlyChapter Three Getting Started DDE Server User’s Guide Modbus TCP/IP Server Users Chapter Three Getting Started DDE Server User’s Guide Configuring the Devices Device Name Topic Com Port Starting the ServerDisplaying I/O Traffic DDE Server User’s Guide Chapter Three Getting Started NetDDE Setup Automatic NetDDE Setup VNDDE.EXE OverviewUtility Tips on using VNDDE.EXE VNDDE.EXE Error MessagesResults Trouble-Shooting VNDDE.EXE Manual NetDDE SetupVNDDE.EXE FAQ’s Additional HelpChapter Three Getting Started DDE Server User’s Guide DDE Server User’s Guide Chapter Three Getting Started Chapter Three Getting Started DDE Server User’s Guide This page left blank intentionally System Menu Chapter Four Menus and ToolbarsServer Menu RunStop Suspend Protocol/Resume Protocol View MenuPrint I/O Traffic ExitTraffic Display DisplayColor Add Device BackgroundClear Display DeleteRegister groups for display Configuration Configure MenuSave Display To File Port StatisticsPorts Modbus or EI ConfigureDDE Server User’s Guide Chapter Four Menus and Toolbars Ethernet Gateway Users Ports Ethernet onlyEPM 7700 Xpress Card or Xplex 1620 Max Server Users Chapter Four Menus and Toolbars DDE Server User’s Guide Modbus TCP/IP Server Users Chapter Four Menus and Toolbars DDE Server User’s Guide Device Info AddChapter Four Menus and Toolbars DDE Server User’s Guide Delete ModifyActivate checkbox Device Type InformationGeneric Comm Interface DDE Server User’s Guide Chapter Four Menus and Toolbars Active Links Reports MenuToolbar Help MenuChapter Five Troubleshooting Trouble-Shooting the Pmcs DDE ServerWWLogger Communications Client to Server Communications Server to Device NetDDE Trouble-Shooting Trouble-Shooting Flowchart Error Messages Trouble-Shooting ChartCServerAppOnDeleteDev Invalid toolkit index Device device name Active Failed to delete itemlogical device handle, Protocol Handle No Write to Individual Discrete Bits Device type device type name is not a valid type for topic This page left blank intentionally Device Type Information Adding Generic Devices Chapter Six Advanced OptionsAdd Default Type Function Codes Register Map Type Code Type of Register Supported Function Codes Use Adding a Register GroupDDE Server User’s Guide Chapter Six Advanced Options Invalid Register Blocks Deleting an Invalid Register Block Modifying an Invalid Register BlockDeleting a Register Group Modifying a Register GroupImporting or Exporting a Register Group MnemonicsModifying a Mnemonic Adding a MnemonicDeleting a Mnemonic Importing or Exporting MnemonicsOptimizing Server Performance Protocol Timer TickServer Operational Parameters Valid Data Time-outPmcs DDE Server .ini File Communication Time-outSlow Poll Count Dead Device Scan Interval Maximum Query RetriesSleepTime For Exception TimeDownLoad PeriodUIHide ExitDisableData-Addressing Conventions Appendix a Register Addressing ConventionsData Types Standard Data OrganizationSpecial Naming Conventions ExamplesLong Words and Special Numbers XnnnnDL-B Individual Bits In RegistersRegister Array Format This page left blank intentionally Terms You Should Know Glossary of TermsGlossary of Terms DDE Server User’s Guide Index GE Industrial Systems