Benutzeranleitung / Produktwartung GEH-6510 des Produzenten Black Box
Zur Seite of 92
DDE Server User’s Guide • • • • i POWER LEADER TM PMCS Network and Device Configurator DDE Server User’s Guide GEH-6510 GE Power Management Control System 6.
ii • • • • DDE Server User’s Guide Notice The information cont ained in this docum ent is subject to change w ithout n otice. GE makes n o warran ty of an y kind w ith regard to this m aterial, including , but not limited to, the im plied w arranties of m erchantability and fitness for a particular pu rpose.
DDE Server User’s Guide • • • • iii Back to Main Menu Contents Chapter One - Introduction 1 Welcome .................................................................................................................................... 1 About DDE .
iv • • • • DDE Server User’s Guide Sys tem Menu.................................................................................................................... ........ 33 Server Menu......................................................
DDE Server User’s Guide • • • • v (This page left blank intentionally ).
DDE Server User’s Guide Chapter One - Introduction • • • • 1 Chapter One - Introduction Welcom e The PMCS Network and Device C onfigu rator w ith DDE Server is th e heart of a POWER LEA DER .
2 • • • • Chapter One - Introduction DDE Server User’s Guide A bout DDE DDE is the acrony m for Dyn am ic Data Exchan ge, a com m unication s protocol that allow s in dependen tly devel oped Microsof t Window s 2000 SP2 program s to sh are data and inst ructions w ith each other.
DDE Server User’s Guide Chapter One - Introduction • • • • 3 A bout the PMCS DDE Serv er The PMCS Dy nam ic Data Exchan ge (DDE) S erver is a Window s 2000 S P2 application that allow s other Window s 2000 SP2 applications to acces s data from GE devices an d third- party devices .
4 • • • • Chapter One - Introduction DDE Server User’s Guide Although you do not ne ed to know the dir ector y structure to use t he PMCS D DE Server, y ou shou ld know where the f iles are located on y our hard driv es so that y ou do not accidentally m ove or erase them .
DDE Server User’s Guide Chapter One - Introduction • • • • 5 Running PM CS DDE Server as an NT Service The DDE Server (as w ell as other PMCS Serv ers su ch as Even t Server and Waveform Server) can be s et to run as an NT Service, rather than as an application.
DDE Serv er User’s Guide Chapter Two - Overvi ew • • • • 7 Chapter Two - Overview A bout PMCS GE’s P ower Mana gement Contro l System consists o f four b asic pa rts: the p ower- management de vices, the network c onnect ing the de vices to the ho st, the P MCS DDE Server softw are, and the client applications .
8 • • • • Chapter Two - Overvi ew DDE Serv er User’s Guide Figure 2. PMC S DDE Ser ver : EI Protocol RS- 485 configurations. The differences betw een the th ree versions of the Serv er are mi nor and, except w here noted th e softw are is func tionall y i dentical.
DDE Serv er User’s Guide Chapter Two - Overvi ew • • • • 9 Dev ices Power-m anagement devices are prim arily m easurem ent devi ces – they m easure a w ide variet y of pow er-relat ed data or control data describin g w hat is happen ing at a device.
10 • • • • Chapter Two - Overvi ew DDE Serv er User’s Guide Netw orks The netw ork consis ts of an in terface at the h ost PC and the cables connectin g the various dev ices to the h ost. There are phy sical requirem ents and lim itations to th e netw orks, wh ich are ex plain ed in GEH- 6502, POWER L EADER Network Architecture Guide .
DDE Serv er User’s Guide Chapter Three - Getting Started • • • • 11 Chapter Three - Getting Started Introduction In this ch apter, w e’ll explain how to config ure the PMCS DDE Serv er for.
12 • • • • Chapter Three - Getting Started DDE Serv er User’s Guide After th is inform ation is entered into the Serv er, the Server k now s w hich data y ou want, how often you want it , and where to ge t it. Launching the Progra m First, let’s launch the program.
DDE Serv er User’s Guide Chapter Three - Getting Started • • • • 13 • Toolb ar — Located beneath the m enu bar. These con trol button s provide point- and-click access to com monly used con trols. These controls are discussed in more detail in the follow ing sections .
14 • • • • Chapter Three - Getting Started DDE Serv er User’s Guide Configuring Communication ports NOTE: If your ho st is running o n an Ethe rnet ( TCP /IP ) pl atfor m, see the Ethernet Users Only note at the end of this section. The softw are (Modbus versi on) su pports u p to 256 RS- 485 ports.
DDE Serv er User’s Guide Chapter Three - Getting Started • • • • 15 We want to confi gure co mm unicati on po rts, so clic k on the Ports button. Thi s brings up the Comm unication Port Conf iguration dialog box : Step 2. Select the comm un ication port to conf igure f rom th e Com Port pull- dow n list at the top of the di alog box .
16 • • • • Chapter Three - Getting Started DDE Serv er User’s Guide Clicking o n the Ports button in the Ethernet v ersion of the softw a re displays a slightly different Port Configuration dialog box: Because the ports are n ot part of the h ost PC hardw are, they are considered v irtual ports.
DDE Serv er User’s Guide Chapter Three - Getting Started • • • • 17 Type a valid IP addr ess into the IP Address field. This is the address of the hardware gatew ay serv icing y our serial devices. En ter an appropriate po rt num ber in the TCP Port field.
18 • • • • Chapter Three - Getting Started DDE Serv er User’s Guide The Configured Virtual Ports box lists all the ports available to be co nfigu red with proper Ethernet address ing inform ation. Each port represents a ph y sical device on the Ether net net work.
DDE Serv er User’s Guide Chapter Three - Getting Started • • • • 19 Type a valid IP add ress into the IP Address field. This is the network address of the devic e to which you ar e assigning a por t. Click OK to accept the settings an d return to the m ain server conf iguration dialog.
20 • • • • Chapter Three - Getting Started DDE Serv er User’s Guide Because this is our first f oray into device setup, there w ill b e no devices listed in the Configured Devices box (the exam ple above sh ow s a few devices already config ured – they w on’ t appear in y our dialog box .
DDE Serv er User’s Guide Chapter Three - Getting Started • • • • 21 than 2 0 characters lo ng (8 characters i f used with a thir d-party HMI client). Only alpha nume ric char acter s and unders cores a re perm itted; the topic nam e cannot include s p aces or special characters, such as: + * / /, ? () “ ‘.
22 • • • • Chapter Three - Getting Started DDE Serv er User’s Guide When the Server is in Run m ode, the Suspend Protocol menu item is available. Suspend Proto col permits you to pause the operation of the Server w ithout breaking the DDE links established by client applications.
DDE Serv er User’s Guide Chapter Three - Getting Started • • • • 23 If y ou don’ t see the dev ice you ’re interes ted in, press th e Add Device button. If the desired device is listed in the Devices for Display list box, select it by h ighligh ting the name and clic king OK or by dou ble-cl ickin g on t he nam e.
24 • • • • Chapter Three - Getting Started DDE Serv er User’s Guide in the Devices for Dis play list at the left. Sim ply click on a register group to select it for displa y.
DDE Serv er User’s Guide Chapter Three - Getting Started • • • • 25 “trust” th is share before any client applications w ill be able to request data from the shared application.
26 • • • • Chapter Three - Getting Started DDE Serv er User’s Guide Results To check the results o f running the utility, use the Micro soft DDE Share to ol, DDESHARE.EXE, w hich should be located in the win nts ystem 3 2 directory. Three shares w ill be created, GE32MODB|* GE32EIND| * an d GE32MT CP|* .
DDE Serv er User’s Guide Chapter Three - Getting Started • • • • 27 NDDE Error # : <message> Errors and error m ess ages are def ined by the NetDDE A PI Trouble-Shooting VNDDE.EXE Problem: T he messages NDDE Error 1: Access is denied and NDDE Error 24: Cannot bi nd to DSD M s ervice are displayed.
28 • • • • Chapter Three - Getting Started DDE Serv er User’s Guide 3. The DDE Shares dialog box sh ow s the av ailable DDE Shares: Click the Add a Share.
DDE Serv er User’s Guide Chapter Three - Getting Started • • • • 29 Enter the Old Style Application Name as GE 32MODB (or GE32MTCP, GE32E IND ) and the Topic Name as * . Leave th e New Style and Static text fields blank . Check th e Allow start a pplication checkbox , and select the Grant acces s to all item s radio but ton.
30 • • • • Chapter Three - Getting Started DDE Serv er User’s Guide Select Everyone and s et Type of Access to Full Control (default is R ead and Link ).
DDE Serv er User’s Guide Chapter Three - Getting Started • • • • 31 (This page left blank intentionally ).
DDE Server User’s Guide Chapter Four - Menus and Toolbars • • • • 33 Chapter Four - Menus and Toolbars In this ch apter, w e’ll exam ine each men u and toolbar item in detail, describing its functions an d options.
34 • • • • Chapter Four - Menus and Toolbars DDE Server User’s Guide Serv er Menu The Server pu ll- dow n m en u is s how n below. De scripti ons of the Server options follow. Run NOTE: The Server automatically goes into Run m ode w hen the application is started.
DDE Server User’s Guide Chapter Four - Menus and Toolbars • • • • 35 Suspend Protocol/ Resume Protocol This menu item is enable d when the Serve r star ts running. Suspend Pro tocol and Resum e Protocol are mutually exclusive options. One or the other is displayed on the Server m enu , depending on the cu rrent state of the program .
36 • • • • Chapter Four - Menus and Toolbars DDE Server User’s Guide I/O Traffic Display When the Server is running a nd clie nt app licat ions ar e req uesting d ata, you may view the sendin g and receiv ing of Modbus packets . This is usef ul f or checking w hat is happ ening on t he network o r for debuggi ng any prob lems.
DDE Server User’s Guide Chapter Four - Menus and Toolbars • • • • 37 Select the ty pe of message f rom the list box and click on th e Select Color button to select a color.
38 • • • • Chapter Four - Menus and Toolbars DDE Server User’s Guide All the cu rrently activ e devices are displayed in the Device List box. Select an y of the devices f or traffic dis play by hig hligh ting the dev ice and selectin g the OK button or by dou ble-cl ickin g on the devi ce nam e.
DDE Server User’s Guide Chapter Four - Menus and Toolbars • • • • 39 Save D isplay To File Selecting this m enu option saves the I/O traffic buf fer to a file. You are prompted to enter the file n ame to w hich the buff er is to be stored. T he default file n ame is iotraffic.
40 • • • • Chapter Four - Menus and Toolbars DDE Server User’s Guide There are two option s available f rom th e Configure menu: Co nfigure a nd Gene ric COM Interf ace. Configure Selecting this option brings up the Configurat ion dialog box .
DDE Server User’s Guide Chapter Four - Menus and Toolbars • • • • 41 First, select the comm un ications port to be co nfig ured, using th e pull-down list next to COM Port : Now f ill in the appropriate settings in the Param eters area, as described below .
42 • • • • Chapter Four - Menus and Toolbars DDE Server User’s Guide Ports (Ethe rnet only) Ethernet Gateway User s If your ho st software is running o n an Ether net-ba sed P C, you may be using a specia l Ethernet device calle d the Eth ernet Gate w ay t o comm unicate to y our RS- 485 ports.
DDE Server User’s Guide Chapter Four - Menus and Toolbars • • • • 43 Enter the IP Address of th e Ethernet Gatew ay that hous es the ph y sical RS -485 port you’ re associating w ith y our virtual port. Next, en ter the num ber of the Gatew ay RS- 485 port to be associat ed w ith y o ur vi rtual port .
44 • • • • Chapter Four - Menus and Toolbars DDE Server User’s Guide Because the ports are n ot part of the h ost PC hardw are, they are considered v irtual ports. A virtu al port ref ers to a si ngl e RS- 485 port on a partic ular h ardw are gatew ay.
DDE Server User’s Guide Chapter Four - Menus and Toolbars • • • • 45 Type a valid IP addr ess into the IP Address field. This is the address of the hardware gatew ay serv icing y our serial devices. En ter an appropriate po rt num ber in the TCP Port field.
46 • • • • Chapter Four - Menus and Toolbars DDE Server User’s Guide The Configured Virtual Ports box lists all the ports available to be co nfigu red with proper Ethernet address ing inform ation. Each port represents a ph y sical device on the Ether net net work.
DDE Server User’s Guide Chapter Four - Menus and Toolbars • • • • 47 Type a valid IP add ress into the IP Address field. This is the network address of the devic e to which you ar e assigning a por t. Click OK to accept the settings an d return to the m ain server conf iguration dialog.
48 • • • • Chapter Four - Menus and Toolbars DDE Server User’s Guide The PMCS DDE Server doesn’ t just look at in dividual dev ices directly ; instead it uses a more flexibl e virtua l add ressing sc heme, which looks a t topics at particu lar addresses.
DDE Server User’s Guide Chapter Four - Menus and Toolbars • • • • 49 Enter th e scan in terval t o be assign ed to the dev ice (defau lt is 1000). The scan interval is the targ et time in milliseconds at w hich the current devi ce will be scann ed; it is the scan time w hich could be achieved u nder optimal circu m stances.
50 • • • • Chapter Four - Menus and Toolbars DDE Server User’s Guide Generic Comm Interface The second option available f rom the Configure pull-down m enu is the Generic C o mm In t e r fa c e . Select this option to o pen the G eneric Com m unications Interface w in dow , show n below .
DDE Server User’s Guide Chapter Four - Menus and Toolbars • • • • 51 5. If desired, s et the Tim eout va lue. 6. Select the Modbus Packet button to f orm at y our m essag e. The Modbus Packet w in dow allow s y ou to f ormat a Modbu s packet autom aticall y.
52 • • • • Chapter Four - Menus and Toolbars DDE Server User’s Guide Reports Menu The Reports pull -dow n menu is s how n bel ow . Descri ptions of th e reports opti ons follow. The options available on this m enu perm it several kin ds of reports to b e gener ated a nd save d as .
DDE Server User’s Guide Chapter Four - Menus and Toolbars • • • • 53 Help Menu The Hel p pull -dow n m enu is sh ow n bel ow . The options are all stan dard Window s functio ns. Contents brings up a listing of all th e topics for which help is available.
54 • • • • Chapter Five - Troubleshooting DDE Server User’s Guide Chapter Five - Troubleshooting Trouble-Shooting the PMCS DDE Serv er This section pro vides y ou with some sim ple steps that can be taken to isolate and correct comm unication problem s.
DDE Server User’s Guide Chapter Five - Troubleshooting • • • • 55 Communications – Client to Serv er This section explain s the m ost com m on error situation s that can occur w hen attempting to establish DDE conversations between client applications and the PMCS DDE Server.
56 • • • • Chapter Five - Troubleshooting DDE Server User’s Guide When y ou have ch ecked all of th e above, restart th e client and s w itch to the Serv er’s program w indow . Make sure I/O Traffic Displa y is on; var ious messages should b e appearing in th e w indow .
DDE Server User’s Guide Chapter Five - Troubleshooting • • • • 57 If th e device is an EPM 3710 or 3720, check to m ake su re the dev ice is se t to 32-bit mode, w ith invalid objects set to yes and passw ord protection set t o no . These settings mu st be m ade at the device itself .
58 • • • • Chapter Five - Troubleshooting DDE Server User’s Guide Trouble-Shooting Flow chart The flow chart below m ay help y ou qu ickly isolate problems and direct y ou to solutions. I f you w ork thro ugh the flowchart and still exp erience d ifficulty, refer to the Troubleshooting chart in the next section .
DDE Server User’s Guide Chapter Five - Troubleshooting • • • • 59 Trouble-Shooting Char t The follow ing table lis ts a variety of com m on problem s, possi ble causes an d recomm ended solutions. Error Condition Possible Caus e Solution Many devic e tim e-out e rrors.
60 • • • • Chapter Five - Troubleshooting DDE Server User’s Guide Could not fin d register grou p with nam e CPML3720WFRReg, s o DDE ex ecute failed. This is a device- type con figu ration problem . Please check that y o u hav e the correct GE32MODB.
DDE Server User’s Guide Chapter Five - Troubleshooting • • • • 61 • Parameters pas sed w ith th e execute com m and are not proper. Ref er to the Server interf ace specification s for correct param eter sy ntax and range . • The execute com m and string has som e extra s pace characters.
62 • • • • Chapter Five - Troubleshooting DDE Server User’s Guide Server logs this error and contin ues w ith the n ext packet of data to the sam e device. • Acknowledge — The slave device has accepted the request an d is processing it, but will require a long time to do so.
DDE Server User’s Guide Chapter Five - Troubleshooting • • • • 63 • The communicatio n por t doe s not exi st on the PC runni ng the DDE Server.
64 • • • • Chapter Five - Troubleshooting DDE Server User’s Guide The Waveform Client has passed an out- of- range valu e for th e PML3720 w avef orm recorder depth param eter.
DDE Server User’s Guide Chapter Five - Troubleshooting • • • • 65 (This page left blank intentionally ).
66 • • • • Chapter Six - Adv anced Options DDE Serv er User’s Guide Chapter Six - Advanced Options Warning CAUTION : For advanced u sers only ! These advanced options are for experts on ly !.
DDE Serv er User’s Guide Chapter Six - A dvanced Options • • • • 67 Step 3. Next, select the gen eric device from the Configured Device Types list, and click the Function Codes button t o add the f unct ions codes support ed by this device type.
68 • • • • Chapter Six - Adv anced Options DDE Serv er User’s Guide Function Codes Click on this button to attach or detach fun ction codes to a device type. You will need the dev ice’s Modbus R TU protocol specificat ion to kn ow the correct codes to add for the n ew device t ype.
DDE Serv er User’s Guide Chapter Six - A dvanced Options • • • • 69 NOTE: You c annot d elet e functio n cod es if any user-c onfigure d re gister gr oup e xists for this device ty pe. To d elete already added function codes, y ou should first delete all the register groups calling on those fu nctions.
70 • • • • Chapter Six - Adv anced Options DDE Serv er User’s Guide Adding a Register Group Click this button to add a new register group. The Select Register Group Type dialog box appears: Enter the Register G roup nam e.
DDE Serv er User’s Guide Chapter Six - A dvanced Options • • • • 71 The PMCS DDE Se rver su pports both decim al and h exadecim al address form ats. Select the ty pe of addressi ng y ou w ish to use (ref er to the device u ser m anual if y ou are unsu re) by click ing eith er the Decim al or Hexadecim al radio butt on.
72 • • • • Chapter Six - Adv anced Options DDE Serv er User’s Guide read. This is useful f or registers w ith setting s of a m ore permanen t nature, w hich need to be read but are unlik ely to chang e. Invalid Register Blocks A regi ster block con sists of a contigu ous piece of a dev ice’s m emory th at contains many points of d ata.
DDE Serv er User’s Guide Chapter Six - A dvanced Options • • • • 73 Ad d Click this button to access th e Add Invalid Register Range dialog box. Enter the start and end addresses for the invalid block, follow ing th e addressing conve ntions.
74 • • • • Chapter Six - Adv anced Options DDE Serv er User’s Guide Enter the new name in the Register Group field, th en click OK to accept or C ancel to back out of th is dial og box. Importing or Exporting a Register Group Click on one of thes e button s to im port or export a register g roup.
DDE Serv er User’s Guide Chapter Six - A dvanced Options • • • • 75 Adding a Mnemonic Click the Add butt on to add a m nem oni c. The Add/Modif y Mnemonics dialog box appears: Enter the Mn e m oni c Na m e . You m ay use u p to 20 alphanu m eric characters, but n o embedded s paces or special characters, s uch as + * / /, ? () “ ‘.
76 • • • • Chapter Six - Adv anced Options DDE Serv er User’s Guide Optimizing Serv er Performance Netw orks vary w idely f rom on e to anoth er.
DDE Serv er User’s Guide Chapter Six - A dvanced Options • • • • 77 When either the Protocol Tim er Tick or the Valid Data Tim e-out fields have been changed, th e OK button is enabled. It is disabled until any changes are m ade. Click on this bu tton to accept chan ges.
78 • • • • Chapter Six - Adv anced Options DDE Serv er User’s Guide Maximum Query Retries This is the nu m ber of tim e-outs that m ust be en count ered from a device bef ore the Server declares the dev ice dead. The default v alue is 5. Increasing this valu e increases the lengt h of tim e before a dev ice is declared dead.
DDE Serv er User’s Guide Chapter Six - A dvanced Options • • • • 79 can be chan ged on a dev ice-by -device bas is by altering the Ti m eDownLoad Peri od parameter for an individual device in the .ini f ile. The value should be entered in milliseconds.
80 • • • • Appendix A – Register A ddressing Conv entions DDE Serv er User’s Guide Appendix A – Register Addressing Conventions Data-A dd ressing Conventions The PMCS DDE Server is capable of in terpreting both decima l and hexa decimal addresses.
DDE Serv er User’s Guide A ppendix A – Register A ddressing Conventions • • • • 81 t represents the type of data, if there are any special conventions. See the follow ing section “Special Naming Conventions” for details. A indicates that the data is an Array .
82 • • • • Appendix A – Register A ddressing Conv entions DDE Serv er User’s Guide Examples Here are som e exam ples of dif feren t ty pes of reg ister nu m bers: Register number Represent.
DDE Serv er User’s Guide A ppendix A – Register A ddressing Conventions • • • • 83 Individual Bits In Registers Individu al bits in reg isters are read- only . They can be read as discrete/integ er tags by using the fo llowing not ation ( expl ained benea th): R indicates a Register address follows.
84 • • • • Appendix A – Register A ddressing Conv entions DDE Serv er User’s Guide Register Array For mat If m ultiple data items are being requested from a sin gle topic, it is more ef ficient to request a block of contiguous reg isters than to place m ultiple requests for single registers .
DDE Serv er User’s Guide A ppendix A – Register A ddressing Conventions • • • • 85 (This page left blank intentionally ).
DDE Serv er User’s Guide Glossary of Terms • • • • 87 Glossary of Terms Terms You Should Know Applicati on Name – The n am e of th e DDE Serv er program . This i s su pplied by the DDE client to establish a DDE conversation w ith a DDE Serv er application.
88 • • • • Glossary of Terms DDE Serv er User’s Guide Protocol Ti mer Ti ck – The time in terval at w hich th e Server execu tes DDE protocol; how often the Server listen s for an in coming m essage from a dev ice or transmits a mes sage to a dev ice.
DDE Server User’s Guide Index • • • • 89 Index C client, 2 client-server, 2 Config ure m enu, 37 D DDE, 2, 3 DDE Server, 1 DDE Serv er ic on, 10 Dynamic Data Exchange (DDE) Server, 3 E Ether.
GE Industrial Systems General Electric Company 41 Woodford Ave., Plainville, CT 06062 GEH-6510 R13 0302 © 2001-2002 General Electric Company.
Ein wichtiger Punkt beim Kauf des Geräts Black Box GEH-6510 (oder sogar vor seinem Kauf) ist das durchlesen seiner Bedienungsanleitung. Dies sollten wir wegen ein paar einfacher Gründe machen:
Wenn Sie Black Box GEH-6510 noch nicht gekauft haben, ist jetzt ein guter Moment, um sich mit den grundliegenden Daten des Produkts bekannt zu machen. Schauen Sie zuerst die ersten Seiten der Anleitung durch, die Sie oben finden. Dort finden Sie die wichtigsten technischen Daten für Black Box GEH-6510 - auf diese Weise prüfen Sie, ob das Gerät Ihren Wünschen entspricht. Wenn Sie tiefer in die Benutzeranleitung von Black Box GEH-6510 reinschauen, lernen Sie alle zugänglichen Produktfunktionen kennen, sowie erhalten Informationen über die Nutzung. Die Informationen, die Sie über Black Box GEH-6510 erhalten, werden Ihnen bestimmt bei der Kaufentscheidung helfen.
Wenn Sie aber schon Black Box GEH-6510 besitzen, und noch keine Gelegenheit dazu hatten, die Bedienungsanleitung zu lesen, sollten Sie es aufgrund der oben beschriebenen Gründe machen. Sie erfahren dann, ob Sie die zugänglichen Funktionen richtig genutzt haben, aber auch, ob Sie keine Fehler begangen haben, die den Nutzungszeitraum von Black Box GEH-6510 verkürzen könnten.
Jedoch ist die eine der wichtigsten Rollen, die eine Bedienungsanleitung für den Nutzer spielt, die Hilfe bei der Lösung von Problemen mit Black Box GEH-6510. Sie finden dort fast immer Troubleshooting, also die am häufigsten auftauchenden Störungen und Mängel bei Black Box GEH-6510 gemeinsam mit Hinweisen bezüglich der Arten ihrer Lösung. Sogar wenn es Ihnen nicht gelingen sollte das Problem alleine zu bewältigen, die Anleitung zeigt Ihnen die weitere Vorgehensweise – den Kontakt zur Kundenberatung oder dem naheliegenden Service.