BRONKHORST FlowDDE User manual

Instruction manual
FlowDDE
Doc. no.: 9.17.067F Date: 14-01-2016
ATTENTION
Please read this instruction manual carefully before installing and operating the instrument.
Not following the guidelines could result in personal injury and/or damage to the equipment.
HeadOffice:Nijverheidsstraat1a,NL‐7261AKRuurlo,TheNetherlands,Tel.+31573458800,info@bronkhorst.com

BRONKHORST®
Page2FlowDDE 9.17.067
Disclaimer
Theinformationinthismanualhasbeenreviewedandisbelievedtobewhollyreliable.Noresponsibility,however,is
assumedforinaccuracies.Thematerialinthismanualisforinformationpurposesonly.
Copyright
Allrightsreserved.Thisdocumentationisprotectedbycopyright.
Subjecttotechnicalandopticalchangesaswellasprintingerrors.Theinformationcontainedinthisdocumentis
subjecttochangeatanytimewithoutpriornotification.Bronkhorst®reservestherighttomodifyorimproveits
productsandmodifythecontentswithoutbeingobligedtoinformanyparticularpersonsororganizations.Thedevice
specificationsandthecontentsofthepackagemaydeviatefromwhatisstatedinthisdocument.
Symbols
Importantinformation.Discardingthisinformationcouldcauseinjuriestopeopleordamagetothe
Instrumentorinstallation.
Helpfulinformation.Thisinformationwillfacilitatetheuseofthisinstrument.
Additionalinfoavailableontheinternetorfromyourlocalsalesrepresentative.

BRONKHORST®
Page3FlowDDE 9.17.067
Tableofcontents
1GENERALPRODUCTINFORMATION....................................................................................................4
1.1INTRODUCTION.............................................................................................................................................4
1.2REFERENCESTOOTHERAPPLICABLEDOCUMENTS...................................................................................................4
1.2.1Manualsanduserguides.........................................................................................................................4
1.2.2Technicaldrawings..................................................................................................................................4
1.2.3Softwaretooling......................................................................................................................................4
1.3SUPPORTEDINSTRUMENTS...............................................................................................................................5
1.4SYSTEMREQUIREMENTS..................................................................................................................................5
1.5INSTALLATIONANDSTARTUP............................................................................................................................5
1.5.1Startupoptions.......................................................................................................................................5
2INTERFACES........................................................................................................................................6
2.1RS232/FLOW‐BUSINTERFACE.......................................................................................................................6
2.1.1D‐connectorforRS232.............................................................................................................................6
2.2RS232ONMULTIBUSINSTRUMENT....................................................................................................................7
2.2.1Applications,e.g.EL‐FLOW......................................................................................................................7
3PARAMETERINFORMATION...............................................................................................................8
4OPERATION......................................................................................................................................10
4.1BASIC:COMMUNICATIONTOINSTRUMENTSANDSERVINGCLIENTAPPLICATIONS..........................................................10
4.1.1Communicationsettings........................................................................................................................10
4.1.2Opencommunication.............................................................................................................................11
4.1.3Closecommunication.............................................................................................................................11
4.2CONFIGURATION.........................................................................................................................................11
4.3SETTINGS...................................................................................................................................................12
4.3.1Polltime.................................................................................................................................................12
4.3.2Systemsettings......................................................................................................................................12
4.3.3Simulationmode....................................................................................................................................13
4.4VIEWANDEDITPARAMETERS..........................................................................................................................13
4.4.1Viewparametersandvalues..................................................................................................................13
4.4.2Editparameters.....................................................................................................................................14
4.5TESTCOMMUNICATION.................................................................................................................................14
4.5.1TestFLOW‐BUSandDDE........................................................................................................................14
4.5.2TestProPar............................................................................................................................................15
4.6SERVICELOG..............................................................................................................................................15
5DDECOMMUNICATIONBYCLIENTS..................................................................................................16
5.1BASICPARAMETERCOMMUNICATION...............................................................................................................16
5.2SPECIALOPTIONS.........................................................................................................................................16
5.2.1Channel0...............................................................................................................................................16
5.2.2Parameter0...........................................................................................................................................16
5.2.3Servertopic............................................................................................................................................17
6FLOWDDETECHNICALDETAILS.........................................................................................................18
7SERVICE............................................................................................................................................19

BRONKHORST®
Page4FlowDDE 9.17.067
1GENERALPRODUCTINFORMATION
1.1 INTRODUCTION
ThismanualwillexplaintheoperationofthesoftwaretoolFlowDDE.IthasbeenwrittenbasedonFlowDDEV4.67,but
shouldbesuitedforformer(andfuture)versionsaswell,althoughfunctionalitymaydifferfromwhatisdescribed.
FlowDDEisaDynamicDataExchange(DDE)server,aneasyconnectionbetweenWindowsapplicationsanddigital
Bronkhorst1)instruments.DDEprovidesabasiclevelofinterprocesscommunicationbetweenWindowsapplications.
ByusingDDEcommands,sentbysoftwaretoFlowDDE,datacanbesenttoorrequestedfromdigitalinstruments.
FlowDDEhandlesallcommunicationtotheinstrumentsandprovidesthedatatoapplications.
ExamplesofapplicationswithDDEcommunicationareMicrosoftExcelandLabVIEW(NationalInstruments).Several
Bronkhorst®applicationsrequireFlowDDEforcommunicationtotheinstrument(s),e.g.FlowPlotandFlowView.
1)Bronkhorst:ThisincludesBronkhorstHigh‐TechB.V.andM+WInstrumentsGmbH.
1.2 REFERENCESTOOTHERAPPLICABLEDOCUMENTS
Manualsandguidesfordigitalinstrumentsaremodular.Generalinstructionsgiveinformationaboutthefunctioning
andinstallationofinstruments.Operationalinstructionsexplaintheuseofthedigitalinstrumentsfeaturesand
parameters.Fieldbusspecificinformationexplainstheinstallationanduseofthefieldbusinstalledontheinstrument.
1.2.1 Manualsanduserguides
Operationinstructionsdigitalinstruments (documentnr.9.17.023)
FLOW‐BUSinterface (documentnr.9.17.024)
Profibus‐DPinterface (documentnr.9.17.025)
DeviceNetinterface (documentnr.9.17.026)
Modbusslaveinterface (documentnr.9.17.035)
RS232interfacewithFLOW‐BUSprotocol (documentnr.9.17.027)
EtherCATinterface (documentnr.9.17.063)
PROFINETinterface )documentnr.9.17.095)
1.2.2 Technicaldrawings
Hook‐updiagramlaboratory‐styleMBCRS232+analog(documentnr.9.16.062)
Hook‐updiagramindustrialstyleMBCRS232+analog(documentnr.9.16.051)
Hook‐updiagramCORI‐FLOWRS232+analog (documentnr.9.16.044)
Hook‐updiagramLIQUI‐FLOWL30digitalRS232+analog(documentnr.9.16.073)
1.2.3 Softwaretooling
FlowPlot(documentnr.9.17.030)
Allthesedocumentscanbefoundat:
http://www.bronkhorst.com/en/downloads

BRONKHORST®
Page5FlowDDE 9.17.067
1.3 SUPPORTEDINSTRUMENTS
AllFLOW‐BUSinstrumentsandinstrumentswithRS232communication,withthefollowinglimitations:
RS232/FLOW‐BUSinterface:16‐bitisnotsupportedand32‐bitfirmware>=4.09only
Digitalmassflowmeters/controllerswithoutRS232communication:firmware>=V5.xxonly
Digitalreadoutcontrolmodules(E‐7000):firmware>=V3.xxonly
1.4 SYSTEMREQUIREMENTS
Processorx86orx64700MHzorhigher
Memory(RAM)64MB
Harddisk20MBavailablediskspace
Display800x600orhigherresolution,256colorsormore
ConnectionsRS232portwithFIFObuffers
OperatingsystemWindows2000,XP,Vista(x86orx64)or7(x86orx64)
Thedigitgroupingsymbolofcurrencymustalwaysdifferfromthenumber’sdecimalsymbol.Having
equalsymbolsisnotvalid(notjustinthissituation,butalsoinothersituations)andwillprobablycause
otherproblemsaswell.SeeMicrosoft’sKB198098.
Toavoidcommunicationerrors,itisadvisedtouseaserial(RS232)portwithhardwarebufferoverrun
detection.FewUSB‐RS232convertershavethisfeature,bute.g.theDigituspartno.DA‐70156has.
1.5 INSTALLATIONANDSTARTUP
Followon‐screeninstructionswheninstallingFlowDDE.
FlowDDEwillbeinstalledinC:\ProgramFiles\Bronkhorst\FlowDDE32.
StartFlowDDEthroughtheStartmenu:Start>>(All)Programs>>Bronkhorst>>FlowDDEV4.67.
C:\ProgramFilesisasystemfolderandisfollowedby(x86)on64‐bitWindowsversionsandmaydiffer
onnon‐EnglishWindowsversions.
1.5.1 Startupoptions
Insomesituations,itisconvenientthatFlowDDEbehavesdifferentlyorperformsanactionafterstartup.The
followingstartupoptionsareavailable:
FlowDDE/o opencommunicationtoFLOW‐BUS
FlowDDE/s startsimulationmode
FlowDDE/d acceptallFLOW‐BUSconfigurationchangesonopencommunication
FlowDDE/q disablepopupmessageboxes
FlowDDEC:\client.exestarttheclientapplicationC:\client.exe(usuallyincombinationwith/o)

BRONKHORST®
Page6FlowDDE 9.17.067
2INTERFACES
2.1 RS232/FLOW‐BUSINTERFACE
TheRS232/FLOW‐BUSinterfaceisaninterfacebetweentheFLOW‐BUSandtheRS232V24serial(computer)port.It
willeitherbesuppliedasaseparateenclosedunitwithaFLOW‐BUSconnectorandaRS232connectororasan
integral14TEmoduleofyourE‐7000orE‐8000readoutandcontrolsystem.Theconverterofferscommunicationwith
abaudrateupto38400baud.Communicationsoftwaresupportisavailable.
Communicationsettingsare:38400,n,8,1.
2.1.1 D‐connectorforRS232
ThefemaleRS232(x)(subminiature9‐pin)D‐connectorhasthefollowingpinconfiguration:
Pinnumber Description
1
2
3
4
5
6
7
8
9
notconnected
TXD
RXD
notconnected
0Vd
DTR
CTS
RTS
Shield

BRONKHORST®
Page7FlowDDE 9.17.067
2.2 RS232ONMULTIBUSINSTRUMENT
TheRS232interfaceonamultibusinstrumentcanbeconnectedtoanyRS232V24serial(computer)port.Makesure
torespectthehook‐updiagram.Bronkhorst®offersspecialcablesforcommunication,separatingtheRS232linesfrom
thepowerandanalogin‐andoutput.Onthe9‐pinmaleD‐subconnectoroftheinstrumentRXandTXareavailableon
pin6andpin1.
SerialRS232communicationonamultibusinstrumentwithRS232canbetreatedasaFLOW‐BUSsystemwithone
instrumentandaFLOW‐BUS/RS232interface.IncaseaFLOW‐BUSfieldbusconnectionispresent,otherinstruments
connectedtotheFLOW‐BUScanbecommunicatedwithaswell.
RS232communicationispossibleby:
9‐pinSubD‐connector (non‐IP65instruments,e.g.EL‐FLOW)
8‐pinDINconnector(IP65instruments,e.g.CORI‐FLOW)
Fortheexactconnectionspleaseadviseyourhook‐updiagram.
2.2.1 Applications,e.g.EL‐FLOW
FLOW
mass flow meter/controller
Power
Supply
InstrumentsuppliedthroughtheD‐subDB‐9connector
FLOW
massflow meter/controller
Forpropercableinstallationpleaseconsulttheapplicablehook‐updiagrammentionedinparagraph
1.2.2
Bydefault,theinterfaceofferscommunicationatabaudrateof38400baud.Oninstrumentsthatoffer
thepossibilitytochangetheRS232baudrate,thebaudratemaybeconfigureddifferently.Seethe
technicaldocumentationofyourinstrumentwhichbaudratesaresupported.

BRONKHORST®
Page8FlowDDE 9.17.067
3PARAMETERINFORMATION
FLOW‐BUSisusedforparametervalueexchangebetweeninstrumentsandoperationmodules(keyboardorPC‐
interface).ParameterinformationconsistsofseveralpropertiesforbehaviourwithintheFLOW‐BUSsystem.Inthe
‘parameterproperties’tableyouwillfindalistofparametersandtheirproperties.Inthe‘parametervalues’table,the
valuesaredescribedmoredetailed.Thislistconsistsmostlyofparametersformodesettings.
Propertydescriptioninparameterpropertiestable
ItemDescription
Parameter(DDE)Uniqueparameternumber(alsousedforDDE‐communication:P(x)).
NameNameoftheparameter,usedforparameteridentification.
ProcessProcesswhereparameterisusedonFLOW‐BUSmodule, usedforcommunicationdirectlythrough
RS232.Whenemptyinthetable,theprocesshastobedeterminedfromtheFLOW‐BUSsystem
information(forparameterslocatedinmorethanoneprocess,e.g.setpoint,measure).
FBnr(parameter)ParameternumberinprocessonFLOW‐BUSmodule, usedforcommunicationdirectlythrough
RS232.
TypeVariabletypeoftheparameter
c(unsigned)char1bytevalue0..255whenStrLenis0
cstringMultiplebyteswhenStrLenisotherthan0
i(unsigned)integer2bytesvalue0..65535
ffloat4bytesvalue+‐1.18E‐38..+‐3.39E+38(IEEE‐floatingpointnotation)
l(unsigned)long4bytesvalue0..4294967295
datatypes>1byteareMSBfirst.
StrLenLengthofstringinbytes(characters)usedincombinationwithTypecforstrings
‐2indicatesthatastringiszero‐terminated,notdefinedinlength,butuntilthefirst0‐char.
XindicatesastringwithalengthofXbytes
0meansnoinforequired(notastringtypeparameter)
MinMinimumvalueofparameterallowedwhenparameterisread/written.Thevaluewillbechecked
onthislimit(errorwhenoutoflimit).
MaxMaximumvalueofparameterallowedwhenparameterisread/written.Thevaluewillbechecked
onthislimit(errorwhenoutoflimit).
ReadIndicationifparameterisallowedtobereadviaFLOW‐BUS.
WriteIndicationifparameterisallowedtobewrittenviaFLOW‐BUS.
PollIndicationifparametershouldbepolledcontinuouslybyFlowDDE inordertokeepthe(changing)
parametervalueuptodate.
AdvancedIndicationifparameterisforadvancedusersonly.Thesearemainlyparametersfor
maintenance/service.
SecuredIndicationifparameterissecuredforusethroughFLOW‐BUS.Readingthisparameterispossible,
butchangingitneedsspecialhandling.
HighsecurityIndicationifparameterishighlysecured(onlyfewparameters).Readingthisparameterispossible,
butchangingitneedsspecialhandling.
DescriptionShortdescriptionaboutthe meaningofparameterorwhere itisusedfor.
DDEstrParameterDDEstring(max.10characters).Thisbecomesthe DDEvaluewhenparameterisnot
availableoninstrument.Also:untilFlowDDEV4.58usedforparameteridentification.
Changingparametervaluesispossiblewhenaparameterisnotread‐onlyandnotsecured.Therange
andtypeofparametersaredescribedinthetables.Whenparametervaluesareoutofrangetheywill
beeither'clipped'onthenearestvalueallowedoryouwillgetanerrormessage:'parametervalue
error'.
(FlowDDE)Parameternumbers:
Allparameterinformationisreferencedtotheparameternumber.Thisisauniquenumberforaparametertoavoid
redundancy.ThesenumbersareneededforDDEcommunicationonly.

BRONKHORST®
Page9FlowDDE 9.17.067
ForcommunicationwithFLOW‐BUSthroughotherwaysthanDDE,directlyviaRS232ASCII‐stringsorviaC‐libraries,
usetheparameternumbersfortheFLOW‐BUSmodules(incolumnFBnrofParameterpropertiestable).Alsoyouwill
needtoknowthenodeaddressoftheinstrumentontheFLOW‐BUS,theprocessnumberandtheparameternumber
ontheinstrument.
ThenodeaddressisthenodeaddressoftheinstrumentontheFLOW‐BUS.RS232interfacesacceptnodeaddress128.
Whensendingmessagestonodeaddress128,themessagewillalwaysbeaccepted,regardlessthetruenodeaddress
oftheinstrumentonthebus.
Theprocesscanbefoundintheparametertableorhastobedeterminedwhennothingisfilledin.Inthatcase,the
processnumbermostoftenis1,butondeviceswithe.g.multiplesensorchannels,theprocesswillbe1forthefirst
channel,2forthesecond,andsoonupto32.Onthesemodulesalsoprocess33,65and65aremultipliedinthisway.
Itisimportanttoknowthatnotallparametersareavailableonall(FLOW‐BUS)instruments.
Formoredetailsaboutparametersandtheiruseseealsothetechnicaldocumentationofyour
instrument.TheBronkhorst®softwareapplicationFlowDDEalsogivesanoverviewofwhichparameters
areavailableonwhichdevices.

BRONKHORST®
Page10FlowDDE 9.17.067
4OPERATION
4.1 BASIC:COMMUNICATIONTOINSTRUMENTSANDSERVINGCLIENTAPPLICATIONS
OnceFlowDDEhasbeenstarted,themainwindowwillappear.Itconsistsofamenubar,aninformationlineanda
messagessection.
InthemessagessectionthegeneralproceduretostartservingclientapplicationswiththeFlowDDEserverisdescribed
infoursteps:
1. ConnectaninstrumenttoaCOMportofthePC
2. Setthecommunicationsettings
3. Startthecommunication
4. WaituntilFlowDDEisready
Usingtheinformationofchapter2and/orthehook‐updiagram,physicallyconnecttheinstrumenttotheCOMportof
thePC.
4.1.1 Communicationsettings
Beforecommunicationtotheinstrument(s)canbemade,the
communicationsettingshavetobecorrectlyconfigured.
OpenthecommunicationsettingsfromthemenuCommunication>>
Communicationsettings…orbypressingF2.Thewindowshownat
therighthandsidepopsup.
AtInterface,theCOMportandthebaudratecanbeselected.For
mostinterfaces,thedefaultbaudrateis38400.
AtFLOW‐BUSsomesettingsfortheFLOW‐BUSinterfacecanbeset.
Thedefaultvalues(Autobusmaster+optimizeandbothprocessand
parameterchainingenabled)shouldonlybechangedincasethese
optionsarenotsupported,i.e.onlyforlegacyinterfaces.
OnOKthesettingsareaccepted,whereasonCancelFlowDDEretains
itssettings.
Inthemainwindow,theactualcommunicationsettingsareshown
belowthemenubar,nexttotheinterfacestatus.

BRONKHORST®
Page11FlowDDE 9.17.067
4.1.2 Opencommunication
Oncethecommunicationsettingsarecorrectlyconfigured,thecommunicationtotheinstrumentscanbestartedand
instrumentvaluescanbeusedbyclientapplications.
Fromthemenu,clickCommunication>>OpencommunicationorpressF3.NowFlowDDEwilltrytomakea
connectiontotheFLOW‐BUSinterface.Onceaconnectionisestablished,FlowDDEwillinitializetheinterfacewhen
neededandscantheconnectedFLOW‐BUSwhenpresent.WhentheFLOW‐BUSconfigurationisdifferentthanthe
previousconfiguration,FlowDDEshowsawarning.Toallconnectedinstrumentsachannelnumberisassignedandfor
eachchanneltheapplicableparameterDDEitemsarecreated.TheseparameterDDEitemsaretobeusedbyclient
applications.
AfterallDDEitemsarecreated,FlowDDEstartspollingseveralparametersfromallinstrumentsperiodically.TheDDE
valuesoftheseparametersareupdatedaftereachpoll,soclientsdon’tneedtoactivelyrefreshthesebeforeusing.
Fromnowon,FlowDDEisreadyforanyclient.FlowDDEcanbeminimizedandactsassilentlyasaserveruntilthe
communicationisclosed.
4.1.3 Closecommunication
Communicationtotheinstrumentcanbestoppedby,fromthemenu,Communication>>ClosecommunicationorF4.
Pollingisstopped,allDDEitemsareterminatedandclientscannolongersetorgetparametervalues.
4.2 CONFIGURATION
WhencommunicationisopenedandFlowDDEhasscannedtheFLOW‐BUSsystem,theFLOW‐BUSconfigurationcan
beviewed:FLOW‐BUS>>ConfigurationorF5.
Thefollowingwindowisshown.
Onthelefthandside,allinstrumentsconnectedtotheFLOW‐BUSareshown,orderedbytheirassignedchannel.In
thisexample,twodigitalcontrollers(channel1and2)andoneRS232/FLOW‐BUSinterfacewith4real‐timechannels
(channel3to6)areconnected.
Ontherighthandside,thetopframeismeanttoaddlegacymodulestotheFLOW‐BUS.Toaddsuchamodule,
connectthemoduletotheFLOW‐BUS,pressSearchandfollowon‐screeninstructions.
CommunicationclosesautomaticallywhenFlowDDEisclosed.

BRONKHORST®
Page12FlowDDE 9.17.067
AtDeviceinformationinformationabouttheselectedchannelinthelistonthelefthandsideisshown.Nodeshows
thecurrentnodeaddressoftheinstrument.ThenodeaddressofaninstrumentcanbechangedbypressingChange
andenteringthenewnodeaddress.Formulti‐channeldevices,e.g.anRS232/FLOW‐BUSinterface,theprocessofthe
channelisshownatProcess.
ThecheckboxPollindicatesthatselectedparameters–thosemarkedPollintheparameterlist–fromthischannelare
polledbyFlowDDEwhenthecommunicationisopen.
AnycommentsabouttheinstrumentcanbeenteredintheInfofield.ThesecommentsarestoredbetweenFlowDDE
sessionsaslongastheFLOW‐BUSconfigurationisnotchanged.
Theconfigurationwindowallowsbasictestingofaselectedinstrument.TheMeasureispolledandaSetpointcanbe
writtenatOperationtest.
4.3 SETTINGS
TooptimizeFlowDDEforyourapplicationortocontrolresources,thebehaviourofFlowDDEcanbeconfigured.The
settingsaredividedintotwocategories:polltimeandsystemsettings.
4.3.1 Polltime
ParametersofwhichthevaluemaychangefrequentlyarereadbyFlowDDEperiodically.
ThoseparametersaremarkedPollintheparameterlist.Howoftentheseparameters
arepolled,isdeterminedbythepolltime.Thelowerthepolltime,themoreoftenthe
parametersareread,butthehighertheCPUloadbecomes.
ThepolltimecanbechangedatServer>>Polltime.Thewindowattherighthandside
popsup.Itcontainsthreesettings:
Polltime:thetimebetweentwopollrequests.
Batchofchannels:thenumberofchannelsthatarepolledatonce.Thenextpolltimethenextbatchis
polled.ThispreventshighCPUloadsduetomanychannelsbeingpolled,butreducestheactualpolltimeper
channelasthetotalnumberofchannelsisdividedbythebatchofchannels.
Real‐timepolltime:thepolltimefortherealtimechannelsincaseanRS232/FLOW‐BUSinterfaceboxis
usedwithreal‐timepollingenabled.Thisrequiresspecialconfiguration,usedbye.g.FlowPlot.
4.3.2 Systemsettings
OthersettingsthanrelatedtothepolltimeareavailablebyServer>>Settings.
Thebasicsettingsare:
Retrynetworkaccess:numberoftimesareadorwrite
requestisretriedafterafailure.
Pollparametersoninitialization:afteropening
communicationallparametersofalldevicesareread,
sotheinitialDDEvalueisfilled.
Suppresscompatibilityerrors:olderinstrumentdon’t
havethelatestparameters.Readerrorsrelatedtonon‐
existingparametersaresuppressed.
Hideadvancedparameters:hideadvancedparameters
inparameterslistsandFlowDDEwindows.Fornormal
instrumentoperations,thehiddenparametersarenot
needed.Formaintenanceorservice,theseparameters
maybeneededvisibleandthisoptioncanbedisabled.
Althoughtheseparametersarehidden,theycanstillbe
reachedviaDDE.
TrimCRLFfromreceivedDDEvalue:someWindows
applicationssendacarriagereturnandlinefeedwith
eachDDEcommand.FlowDDEcanremovethem.For
binaryparameters,thiswillnothappen.

BRONKHORST®
Page13FlowDDE 9.17.067
Showdate,time,msec.inmainwindowofFlowDDEforeachline.
Severaladvancedsettingsareavailablefortroubleshootingpurposes.Someapplicationsdonotsupportenabling
thesesettings.Ifyouexperienceproblems,disabletheseoptions:
Enableindirectpolling:eachFLOW‐BUSinstrumentkeepstrackofwhichparametersarechangedbyitselfor
anyotherinstrument.Parameter81showstheprocessinwhichaparameterischanged.Whenthisoptionis
enabled,FlowDDEreadsparameter81andpollstheprocessesthatarechanged,soapplicationsdon’tneed
topolltheparametersthemselves.Note:thisoptionslowsdowncommunication,asmuchmoredataisread
fromtheFLOW‐BUS.
Enablecommunicationtounavailableparameters:DDEitemsarecreatedforparametersabovenumber237
whentheinstrumentdoesnotcontaintheparameter.Closeandopenthecommunicationafterchangingthis
setting.
Ignoredatabaserestrictions:FlowDDEdoesn’tgenerateerrorsbasedontheparameterinformationinits
database(seechapter3and6),butreadsandwritesallcommandtotheinstrument.Whentheinstrument
returnsanerror,thaterrorisshown.
4.3.3 Simulationmode
InsimulationmodeonlyDDE‐communicationwithavirtualsystemstoredinthedatabaseispossible.Thiscanbeused
whenyoudon’thaveaFLOW‐BUSsystemavailable.ParametervaluescanbereadandwritethroughDDEbyyour
client.Onlycontrollersaresimulatedinthismode.Sendingasetpointwillresultinthesamevalueformeasureaftera
fewseconds.
Simulationstart‐up:
- Start‐upFLOWDDE.EXE,byclickingtheicon
- Select[Server][Simulate]
- Waituntilmessage"Simulation=ON"
‐Start‐upyourclientapplication
4.4 VIEWANDEDITPARAMETERS
AllparametersanyBronkhorst®instrumentcanhavearestoredinthedatabaseofFlowDDE,whichisusedforcorrect
communicationtotheinstruments.Thecontentsofthisdatabasecanbeviewedandedited.
4.4.1 Viewparametersandvalues
Thelistofparametersanditspropertiesasdescribedinchapter3canbeviewedbyInfo>>Parameterlist.The
meaningofthevaluesofseveralparameters,canbeviewedbyInfo>>Parametervaluelist.
Toviewtheparametersthatamodule(instrument)canhave,opentheViewmodules/parameterswindowfromthe
FLOW‐BUSmenu.SelectthecorrectmoduleandclicktheViewparametersbutton.

BRONKHORST®
Page14FlowDDE 9.17.067
4.4.2 Editparameters
AttheParameterssection,allpropertiesofparametercanbeviewedandchanged.Itisnotadvisedtochange
anything,butforperformanceimprovementitcanbeusefultoremoveaparameterfromthepolllistorfromDDEat
all.Thesetwooptionsaredescribedhere.
Tochangeapropertyofacertainparameter,
findthecorrectparameternumber,eitherby
theSelectbuttonsorbyenteringitsnumberin
thefieldbelowitandpressingSearch.The
propertiesareshownnow.
TostopFlowDDEpollingtheparameterinits
pollsequence,uncheckthePollcheckbox.(To
startpollingaparameter,checkit.)Tostore
thenewvalue,changetheparameternumber
orclosethewindowandanswerthequestion
byYes.
RemovingaparameterfromDDEmeansthat
clientapplicationscannotreachitandFlowDDE
doesnotreadtheparametervaluefromthe
instrument.ToremoveaparameterfromDDE,
unchecktheAvailableatDDEcheckbox.By
defaultallparametersareavailable(checked).
ChangingparameterinformationcannotbeundoneotherthanbyreinstallingFlowDDE!
Unlessyouarefullyawareoftheeffect,pleasedoNOTmakeanychanges!
4.5 TESTCOMMUNICATION
Formaintenanceandserviceoperations,itisoftenrequiredtoreadfromorwritetoacertainparameter.FlowDDE
containstwotestfacilities:onetotestFLOW‐BUSandDDEcommunicationandonetotestlowerlevelProPar
communication.
4.5.1 TestFLOW‐BUSandDDE
OpentheFlowDDEtestformfromthemenuFLOW‐BUS>>TestFLOW‐BUSandDDEorF6.Thefollowingwindow
appears.

BRONKHORST®
Page15FlowDDE 9.17.067
Thewindowconsistsoftwosections.AttheTestFLOW‐BUSsectionparameterscanbereadandwrittendirectlyto
theinstrument,regardlessoftheDDEbehaviourthataseparatepollcommandisrequiredtoreadaparametervalue
andonlychangesarewrittentotheinstrument.TheDDEvalueisupdatedonread,butnotonwrite.
Onthecontrary,attheTestDDEsectionparameterscanbereadandwrittenlikeanyDDEclientwoulddo.Pressing
ReadshowsthecurrentvalueattheDDElevel,buttheactualinstrumentvalueisnotreadandmaybedifferent.At
WritethevalueiswrittentotheDDEleveland,becauseofthenatureofDDE,onlyifitisdifferentthantheprevious
value,thevalueiswrittentotheinstrument.
AttheTestDDEsectionlinks
toclientapplications,e.g.
MicrosoftExcel,canbeeasily
made.Selectthechannel
andparametertowhicha
linkistobemade.
PressCopylinktocopythe
linktotheclipboard.Inthe
clientapplication,usethe
PasteSpecialoptionand
selectPastelinktopastethe
link(e.g.PasteSpecialin
MicrosoftExcel,seeimage).
Anyparametervaluechange
willbesenttotheclient
application.
Theotherwayaroundis
possibleaswell.Copyalink
fromanyapplication(e.g.
copyacellfromExcel).Inthetestform,pressPaste.Anychangeintheapplication’sfieldresultintheparameter
valueinFlowDDEtobeupdated.Notethatwhenthecommunicationisclosed,alllinkswillbeterminatedandwillnot
berestoredwhenthecommunicationisopenedagain.
DisablestandardpollingtemporarilystopsFlowDDEfrompollingtheselectedparametersandonlythereadactionsin
thistestform(oranyclient)areperformedontheinstrument.
4.5.2 TestProPar
Forlowleveltestingpurposes,FlowDDEcontainstheTestProparform,in
whichindividualFLOW‐BUSmessagesmaybereadandwrittentoan
instrument.ThisformreplacestheformerDLLtestapplication.
Thisformcanonlybeopenedwhenthecommunicationisclosedby
Communication>>TestPropParorShift+F6.Usingthisform,messagescan
besentatthenode/process/parameterlevel,soevenparametersthatare
notintheFlowDDEdatabasecanbereadand/orwritten.
AssoonastheReadorWritebuttonispressedforthefirsttime,the
communicationisopened.Whenthewindowisclosed,thecommunication
isclosedaswell.
4.6 SERVICELOG
Incaseofproblemswithyourinstrument(s)andyouneedtocontactanexpert(e.g.Bronkhorst®Support),all
parametervaluesofyourinstrumentcanbeloggedtoafile.Tocreatesuchaservicelog,clickFile>>Servicelogor
Ctrl+Landenterthefilename.

BRONKHORST®
Page16FlowDDE 9.17.067
5DDECOMMUNICATIONBYCLIENTS
5.1 BASICPARAMETERCOMMUNICATION
ClientapplicationscommunicatetotheFlowDDEserverbyusingDDEmessages.Beforemessagescanbeexchanged,a
DDElinkhadtobemade.ADDElinkconsistsofthreeparts:theserver,thetopicandanitem.Forseparationthe
characters'|'and'!'maybeused,soaDDElinkine.g.MicrosoftExcelbecomesServer|Topic!Item.
ForstandardinstrumentparametersandtheFlowDDEserver,theseare:
Server:FlowDDEorFlowDDE2
Topic:C(X) forchannelX
Item:P(Y) forparameterY
AnexampleofaDDElinkinaMicrosoftExcelcellis=FlowDDE|’C(1)’!’P(8)’toreadparameter8ofchannel1.
5.2 SPECIALOPTIONS
5.2.1 Channel0
SpecialcommandscanbesenttoFlowDDEbymeansofthecommandchannel0,C(0).Thischannelisnotrelatedto
anyFLOW‐BUSinstrument,butisforFlowDDEcontrolonly.Channel0containsP(0),P(1)andP(2)itemsonly.
P(0)isthecommandparameter.WriteanumbertoP(0)willtriggerFlowDDEtoreadallparametervaluesfromoneor
morechannelsandupdatetheparametervaluesattheDDElevel.Toreadasmalleramountofparameters,parameter
groupscanberead.Whichparametersareinwhichgroupcanbefoundintheparameterlist.
C(0)!P(0)=X readvaluesofallparametersofchannelX
C(0)!P(0)=X.Y readvaluesofallparametersingroupYofchannelX
C(0)!P(0)=‐1 readvaluesofallparametersofallchannels
OtherspecialactionscanbetriggeredbyP(0):
C(0)!P(0)=‐2 openalogfile,readallparametervaluesonallchannels,andclosethefile.
C(0)!P(0)=‐3 bringthemainwindowtothefront
C(0)!P(0)=‐4 bringtheFLOW‐BUSconfigurationwindowtothefront
C(0)!P(0)=‐6 bringthePolltimewindowtothefront
C(0)!P(0)=‐7 bringtheSystemsettingswindowtothefront
C(0)!P(0)=‐8 restartthecommunication
C(0)!P(0)=‐9 terminateFlowDDE
C(0)!P(0)=‐10 minimizeFlowDDE
P(1)isthereadstatusinformationchannel.WhenFlowDDEisreadingdatafromtheFLOW‐BUS,allstatus/error
messageswillbesendtothisparameter.Whenthevalueofthisparameteris0,everythingisOK,otherwisewill
containthestatus/errormessage.
P(2)isthewritestatusinformationchannel.WhenaclientapplicationsendsdatatoFlowDDEandFlowDDEsendsthe
valuestotheFLOW‐BUS,anystatus/errormessageswillbesendtothisparameter.Whenthevalueofthisparameter
is0,everythingisOK,otherwisewillcontainthestatus/errormessage.
5.2.2 Parameter0
Similartothewayparameter0ofchannel0canbeusedtoreadparametersfromanychannel,parameter0ofany
channelcanbeusedtoreadparametersfromthatchannel:
C(X)!P(0)=Y readvalueofparameterYofchannelX
C(X)!P(0)=Y‐Z readvaluesofparametersYtoZofchannelX
C(X)!P(0)=GROUPYreadvaluesofallparametersingroupYofchannelX
C(X)!P(0)=ALL readvaluesofallparametersofchannelX

BRONKHORST®
Page17FlowDDE 9.17.067
Anycombinationoftheaboveisvalidbyseparatingthepartsbyacomma,e.g.C(X)!P(0)=1‐10,20,GROUP3willread
parameters1to10,20andallparametersingroup3ofchannelX.
5.2.3 Servertopic
InformationabouttheFlowDDEserver,severalsettingsandFLOW‐BUSconfigurationinformationcanbeobtainedby
clientsthroughtheservertopic.
Theservertopichasseveralitems:
Server!ProductNameFlowDDEorFlowDDE2
Server!FlowDDEVersionVersionofFlowDDE
Server!DatabaseVersionVersionofFlowDDEdatabase(FlowDDE.mdb)
Server!FLOWBUSDLLVersionVersionofFlowb32.dll
Server!Status StatusofFlowDDE
Server!ComStatusStatusofFlowDDE–Idle,Normalpolling,Simulation,ScanningFLOW‐BUS
Server!OpenCom Communicationstatus/command–0=close,1=open
Server!MaxChan MaximumchannelnumberinFLOW‐BUSconfiguration
Server!MaxNode MaximumnodeaddressinFLOW‐BUSsystem
Server!MaxPar MaximumparameternumberinFlowDDEdatabase
Server!SelChan Selectchannelforchangingpollingmode–0=allchannels
Server!Polling Pollingstatus/commandforchannelsetbySelChan–0=dis‐,‐1=enabled
Server!PollTime Polltimeintervalforpolledparameters(notreal‐time)
Server!PollBatch Numberofchannelstopoll
Server!RTPIntervalPolltimeintervalforreal‐timechannels
Server!InterfaceChanChannelnumberofinstrumentwhichcommunicateswithFlowDDE
Server!Interface Communicationinterface,e.g.COM1
Server!Baudrate RS232communicationbaudrate

BRONKHORST®
Page18FlowDDE 9.17.067
6FLOWDDETECHNICALDETAILS
Inthefollowingdiagram,thecommunicationfromaDDEclienttotheinstrumentisschematicallydrawn.The
FlowDDEapplicationmakesuseoftheFlowb32.dllandtheparameterdatabase.
ADDEclientcommunicatestoFlowDDEusingDDEmessages.FlowDDEusestheparameterdatabaseforparameter
informationandtheFlowb32.dlltoperformthelowlevelcommunicationtotheFLOW‐BUS.TheFlowb32.dllhas
methodstoeasilysendorrequestaparametervaluetoacertainnode,processandparameterandtogetthe
answers.Fromthecallstothesemethods,itconstructstherequiredFLOW‐BUSmessagesinthebinaryProPar
protocol,sendsthesemessagesandreceivesandinterpretstheanswersfromtheinstruments.
Includedinthe
FlowDDEinstallation
FlowDDEapplication
DDEclient
Flowb32.dll
RS232/FLOW‐BUSinterface
ormultibusinstrument
FlowDDE
parameterdatabase
DDEmessages
ProPar(binary)
callstoDLL

BRONKHORST®
Page19FlowDDE 9.17.067
7SERVICE
ForcurrentinformationonBronkhorst®andserviceaddressespleasevisitourwebsite:
http://www.bronkhorst.com
Doyouhaveanyquestionsaboutourproducts?OurSalesDepartmentwillgladlyassistyouselectingtherightproduct
foryourapplication.Contactsalesbye‐mail:
Forafter‐salesquestions,ourCustomerServiceDepartmentisavailablewithhelpandguidance.TocontactCSDbye‐
mail:
Nomatterthetimezone,ourexpertswithintheSupportGroupareavailabletoansweryourrequestimmediatelyor
ensureappropriatefurtheraction.Ourexpertscanbereachedat:
+31859021866
Table of contents
Popular Server manuals by other brands

Exsys
Exsys EX-6124PoE manual

Bosanova
Bosanova WTC-600 Specifications

VSCOM
VSCOM NetCom 111 Quick installation guide

HPE
HPE ProLiant MicroServer Gen10 Plus user guide

Moxa Technologies
Moxa Technologies NPort IA5150A Quick installation guide

i3 International
i3 International SRX-Pro Server quick start guide