UserGuideDDEserverPartNumber:SSP-9000-0610IssueNumber:1P3DUW#RI=SAFETYINFORMATIONGeneralPersonssupervisingandperformingtheelectricalinstallationormaintenanceofaDriveand/oranexternalOptionUnitmustbesuitablyqualifiedandcompetentintheseduties.TheyshouldbegiventheopportunitytostudyandifnecessarytodiscussthisUserGuidebeforeworkisstarted.ThevoltagespresentintheDriveandexternalOptionUnitsarecapableofinflictingasevereelectricshockandmaybelethal.TheStopfunctionoftheDrivedoesnotremovedangerousvoltagesfromtheterminalsoftheDriveandexternalOptionUnit.Mainssuppliesshouldberemovedbeforeanyservicingworkisperformed.Theinstallationinstructionsshouldbeadheredto.Anyquestionsordoubtshouldbereferredtothesupplieroftheequipment.ItistheresponsibilityoftheownerorusertoensurethattheinstallationoftheDriveandexternalOptionUnit,andthewayinwhichtheyareoperatedandmaintainedcomplieswiththerequirementsoftheHealthandSafetyatWorkActintheUnitedKingdomandapplicablelegislationandregulationsandcodesofpracticeintheUKorelsewhere.TheDrivesoftwaremayincorporateanoptionalAuto-startfacility.Inordertopreventtheriskofinjurytopersonnelworkingonornearthemotororitsdrivenequipmentandtopreventpotentialdamagetoequipment,usersandoperators,allnecessaryprecautionsmustbetakenifoperatingtheDriveinthismode.TheStopandStartinputsoftheDriveshouldnotbereliedupontoensuresafetyofpersonnel.IfasafetyhazardcouldexistfromunexpectedstartingoftheDrive,aninterlockshouldbeinstalledtopreventthemotorbeinginadvertentlystarted.UseofsoftwaretoolswithdrivesItispossiblewhenusinganysoftwaretoolthatcancommunicatewithdrivetoinadvertentlycausethedrivetostartifthehardwiredsafetyinterlocksonaproperlyinstalledsystemareinastatewhichallowsthedrivetoenable.Itistheresponsibilityoftheuserofthissoftwaretoensurethatthedriveandassociatedmachineryareinasafestatebeforeusingthesoftwareinanywaywherecommunicationsarepossible.AboutprogrammingexamplesAnyexampleprogramsandprogramsegmentsinthismanualorprovidedonaccompanyingdiskettesareincludedsolelyforillustrativepurposes.Duetothemanyvariablesandrequirementsassociatedwithanyparticularinstallation,ControlTechniquesPLCcannotassumeresponsibilityorliabilityforactualusebasedontheexamplesanddiagrams.Itisthesoleresponsibilityofthesystemdesignerutilisingthesoftwaretoappropriatelydesigntheendsystemandtomakesafetyprovisionsfortheendequipmentasisusualandcustomaryinindustrialapplicationsasdefinedinanycodesorstandardswhichapply.NOTE:Theprogrammingexamplesshowninthismanualareillustrativeonly.Propermachineoperationisthesoleresponsibilityofthesystemintegrator.PREFACEThismanualexplainshowtousetheDDEserversoftware.Copyright©1999ControlTechniquesPLC,TheGroPoolRoadNewtownPowysUKSY163AJ.Allrightsreserved.Nopartofthispublicationmaybereproduced,transmitted,transcribed,storedinaretrievalsystem,ortranslatedintoanylanguageorcomputerlanguage,inanyformbyanymeans,electronic,mechanical,magnetic,optical,chemical,manualorotherwise,withouttheprioragreementandwrittenpermissionofControlTechniquesPLC.InformationinthisdocumentissubjecttochangewithoutnoticeanddoesnotrepresentacommitmentonthepartofControlTechniquesPLC.Windows95 ,Windows98 ,Windows2000andWindowsNT areregisteredtrademarksofMicrosoftCorporation.DeviceNetisatrademarkofOpenDeviceNetVendorsAssociation(ODVA).Cscape,CsCAN,andSmartStackaretrademarksofHornerAPG,LLC.Forusermanualupdates,yournearestControlTechniquesDriveCentre.GENERALINFORMATIONThemanufactureracceptsnoliabilityforanyconsequencesresultingfrominappropriate,negligentorincorrectinstallationoradjustmentoftheoptionaloperatingparametersoftheequipmentorfrommismatchingtheDrivewiththemotor.ThecontentsofthisUserGuidearebelievedtobecorrectatthetimeofprinting.Intheinterestsofacommitmenttoapolicyofcontinuousdevelopmentandimprovement,themanufacturerreservestherighttochangethespecificationoftheproductoritsperformance,orthecontentsoftheUserGuide,withoutnotice.Allrightsreserved.NopartofthisUserGuidemaybereproducedortransmittedinanyformorbyanymeans,electricalormechanicalincludingphotocopying,recordingorbyanyinformationstorageorretrievalsystem,withoutpermissioninwritingfromthepublisher.Copyright:©May00ControlTechniquesSSPDAuthor:AledHughes&AndrewMascordIssueCode:1PREVISIONSTOTHISMANUALContents1Introduction71.1Overview71.2NetworkInterfaceCardsforCTNet71.3ActivatingtheDDEServersoftware71.4CTNetDDEConfiguration7283UsingtheDDEServer94DDEStatisticsWindow105VBAExampleCode116VisualBasic5ExampleCode127Troubleshooting13AppendixACTNetPCCardsInstallation14A.1CTNetPCISACardInstallation14A.2CTNetPCMCIACardInstallation14A.3CTNetNetworkConnections-PCISACard15A.4CTNetNetworkConnections-PCMCIA15IssueNumber:1P71Introduction1.1OverviewTheCTNetDDEServersoftwareprovidesstandardMicrosoftWindowsDDE(DynamicDataExchange)serverfunctionality,thusenablingotherprogramthathaveaDDEinterfacetocommunicatewithControlTechniquesDrives.AtypicaluseoftheserveristogetdataintoaSCADAsystem,butcanalsoincludegettingdataintoofficeprogramssuchasExcelforanalysisorgraphicaldisplay,youcaneventalktotoaworddocument.TheDDEServercanbeusedtocommunic