Bronkhorst RS232 interface Bedienungsanleitung Seite 10

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 42
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 9
BRONKHORST®
Page10RS232interface 9.17.027
3 FLOWBUSPROTOCOLDESCRIPTION
3.1 GENERAL
Onthe highest supported communication level, you may use DDEchannels for Windows applicationprograms with
thisfacility.Onalowercommunicationlevel,youcanusetheFLOWB32.DLL,forchangingparametervalues.
ToreadandwriteparametervaluesfromortoFLOWBUSdevicesdirectlythroughtheavailableinterfacesthere
isa
special protocol for messages between these devices. When operating a FLOWBUS system with a HOST computer,
youneedtoknowthismessageprotocolifyouchoosetodrivetheinterfacesdirectly.
When you use a type of RS232/FLOWBUS interface (baud rate up to 38K4) you may
first have to initialise the
interface.ThiscanbedonebymeansofsendingsomeASCIIstringstotheinterfacethroughRS232.
Seealsoparagraph“InitialisingRS232/FLOWBUSinterface”
TherearetwodifferentcommunicationprotocolsforthePCandtheRS232HOST:
anASCIIprotocolforcommunicationthatiscompatiblewithexistingFLOWBUSapplications.
Thisprotocolservesonlyonemaster/slavedialogatatime.
anenhancedbinaryprotocolthatsupportsconcurrentsendingofmessagestodifferentnodes.Thisprotocol
containsamessagesequencenumberandservesmorethanonemaster/slavedialogsatatime.
TheRS232HOSTmoduleautomaticallyrecognisestheprotocolusedbythePCandadaptsitsbehaviourtothe
protocolin
use.Thetypeofprotocolisdeterminedbythefirstcharacterofamessage.
Thefirstcharacteris‘:’ (0x3A) existingtypeofmessage.
ThefirstcharacterisDLE (0x10) enhancedtypeofmessage.
ViatheFLOWBUSDLL(FLOWB32.DLL)thePCdetermineswhichprotocolisinuse.
Thecommunicationrelationisalwaysmaster(PC)andslave(HOST).TheHOSTwillalwaysrespondonarequestfrom
thePC.
3.2 INITIALISATIONOFLOCALHOSTINTERFACESONMULTIBUSINSTRUMENTS
WhenyouuseadigitalinstrumentwithRS232interface,baudrateisfixedon38K4baudandnospecialinitialisationis
needed.ThroughtheseriallineconnectedtoaCOMportofyourcomputerortoaPLCyouhavetocommunicatewith
theinstrumentusingtheFLOWBUSprotocol.
Eachinstrumenthasitsownnodeaddress(3...120).Ifyouwanttosend
amessage totheinstrumentyouhave toknowthisnodeaddress. However,if yousend a messagetonode address
128theinstrument willalwaysrespondto your message.On a pointtopointconnection likeRS232
it is theeasiest
way to make the communication work under all circumstances (it is independent of the real node address of the
instrument).
Seitenansicht 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 41 42

Kommentare zu diesen Handbüchern

Keine Kommentare