Black Box GEH-6510 manual Communications Server to Device

Page 59

When you have checked all of the above, restart the client and switch to the Server’s program window. Make sure I/O Traffic Display is on; various messages should be appearing in the window. This indicates that the client and the Server are communicating.

If nothing appears in the Server’s window, try using WWLogger to track your error messages. The most probable error message indicates that the item used with one or more tagnames is unrecognized by the Server. Tagnames use specific naming conventions when accessing data from a Server, and deviation from these conventions can cause errors.

If a device you want data from is not available to any client software, make sure that any device you wish to see data from is Active. The Activate checkbox in the Server’s Device Configuration dialog box determines whether client software can see the device or not. Devices whose Activate checkbox is empty will not be available to client programs.

Communications – Server to Device

This section addresses communications between the PMCS DDE Server and a device.

When attempting to establish communication, if no data appears in the client’s window, check the WWLogger for error messages. For example, one of the most common error messages is:

TIME-OUT COMn: DeviceName

This message indicates a problem between the Server and a device on comm port n named DeviceName. In most cases, either the Server is not communicating through the communication port or the device is not responding.

First, ensure that the RS-485 communication port configured for use with the topic matches the physical port the device is connected to. Second, check for other programs that may be accessing the port, such as other DDE Servers or terminal monitors. Shut down any such programs. Third, verify that the communication port is operating correctly in Windows. If the communications port is not operating correctly, the WWLogger may show a message “Unable to Open Port.”

To verify that the communication port is working properly in Windows, shut down the Server and start the Windows Terminal program. Configure the Terminal program to use the same communication port and settings (baud rate, parity, etc.). Use a null-modem cable to connect to another computer’s port running a Terminal program with the same settings. See if characters can be sent between the two computers. If you don’t have two computers but the computer you are using has another port available, connect the two communication ports, start two Terminal programs (each set to its own port) and try communicating between them. Alternatively, connect an external modem to the communication port in question and see if you can dial out with it.

NOTE: Remember, two devices cannot share interrupts (IRQs). Make sure the communication port you are using has a unique IRQ assigned.

If the communication port is working properly, look for problems on the device side. Potential problems in this area could be, but are not limited to, cabling, baud rate, parity, stop bits, faulty device communication port, and improper addressing of a Modbus Concentrator or Ethernet Gateway.

56 Chapter Five - Troubleshooting

DDE Server User’s Guide

Image 59
Contents Power Leader TM DMMS425 Back to Main Menu Contents Glossary of Terms This page left blank intentionally Welcome Chapter One IntroductionAbout NetDDE About DDEServer with OPC Interfaces InstallationAbout the Pmcs DDE Server EI User’s onlyChapter 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 DevicesWhat’s Next NetworksPmcs DDE Server Client ApplicationsIntroduction First-Time ConfigurationDevice Configuration Chapter Three Getting StartedWhat’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 Utility Automatic NetDDE Setup VNDDE.EXEOverview Results Tips on using VNDDE.EXEVNDDE.EXE Error Messages Additional Help Manual NetDDE SetupTrouble-Shooting VNDDE.EXE VNDDE.EXE FAQ’sChapter 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 ToolbarsStop Server MenuRun Exit View MenuSuspend Protocol/Resume Protocol Print I/O TrafficColor Traffic DisplayDisplay Add Device BackgroundRegister groups for display Clear DisplayDelete Port Statistics Configure MenuConfiguration Save Display To FilePorts 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 Device Type Information ModifyDelete Activate checkboxGeneric Comm Interface DDE Server User’s Guide Chapter Four Menus and Toolbars Active Links Reports MenuToolbar Help MenuWWLogger Chapter Five TroubleshootingTrouble-Shooting the Pmcs DDE Server 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 Modifying a Register Group Modifying an Invalid Register BlockDeleting an Invalid Register Block Deleting a Register GroupImporting or Exporting a Register Group MnemonicsImporting or Exporting Mnemonics Adding a MnemonicModifying a Mnemonic Deleting a MnemonicValid Data Time-out Protocol Timer TickOptimizing Server Performance Server Operational ParametersSlow Poll Count Pmcs DDE Server .ini FileCommunication Time-out TimeDownLoad Period Maximum Query RetriesDead Device Scan Interval SleepTime For ExceptionUIHide ExitDisableData-Addressing Conventions Appendix a Register Addressing ConventionsData Types Standard Data OrganizationLong Words and Special Numbers Special Naming ConventionsExamples 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