Black Box GEH-6510 manual Register Array Format

Page 87

Register Array Format

If multiple data items are being requested from a single topic, it is more efficient to request a block of contiguous registers than to place multiple requests for single registers. This is referred to as register array format. The register array format is used for the following applications:

to read a block of register values into a column of cells in a worksheet (such as Microsoft Excel).

to pass waveform data to a client application (refer to GEH-6509, PMCS DDE Server Interface Reference, for details)

The rules for register arrays are as follows:

1.A register array, or series of consecutive registers, can be treated as a block of numeric values. Up to 100 sixteen-bit registers or 50 thirty- two-bit registers can be read as a block. Enter the starting register address, and append it with type specifier “A”, followed by the length field. For example, the register address R30501A12 accesses registers 501 through 512 as a block.

2.When the DDE Server returns a new value for a register array to the client, it is in the form of a character string containing a value for each register, separated by a carriage return.

For example, for R30021A6, the values returned might look like this: 50<cr><lf>

17<cr><lf>

0<cr><lf>

5<cr><lf>

1007<cr><lf>

20<cr><lf>

NOTE: All arrays must be terminated by a null character (ASCII 0).

3.When the client application writes a value to a register array, it must be in the form of a character string containing a value for each register in the array. The register values can be separated by commas, tabs, spaces, carriage returns or line feeds. For example, for R40001A6, the value string could be written:

1,2,3,4,5,6 or 1<tab>2<tab>3<tab>4<tab>5<tab>6 or

1 2 3 4 5 6

84 Appendix A – Register Addressing Conventions

DDE Server User’s Guide

Image 87
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 Automatic NetDDE Setup VNDDE.EXE OverviewUtility Tips on using VNDDE.EXE VNDDE.EXE Error MessagesResults 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 ToolbarsServer Menu RunStop Exit View MenuSuspend Protocol/Resume Protocol Print I/O TrafficTraffic Display DisplayColor Add Device BackgroundClear Display DeleteRegister groups for display 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 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 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 ParametersPmcs DDE Server .ini File Communication Time-outSlow Poll Count TimeDownLoad Period Maximum Query RetriesDead Device Scan Interval SleepTime For ExceptionUIHide 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