Bronkhorst RS232 interface Manuel d'utilisateur Page 19

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 42
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 18
BRONKHORST®
Page19RS232interface 9.17.027
3.9 INITIALISINGRS 232/FLOWBUSINTERFACE
If you use a RS232/FLOWBUS interface for communication (without the microswitch and 2 LED’s), note that this
moduleisnotpartofthe(FLOWBUS)tokenringnetwork,directlyatpowerup.Thismeansthatitisalwaysnecessary
to reinitialise the module when power has been
interrupted! This is not the case whenusing an RS232/FLOWBUS
interfacewithmicroswitch,redLED,greenLEDandRJ45connector forFLOWBUS. Bymeansoftheswitchyoumay
force the interface to find a free address on the FLOWBUS once. You may skip the initialisation and
start directly
sendingmessages.
Alsowhenusingdigital(Multibus)instrumentswithRS232directlyontheinstrumentitisnotneededtoinitialise(give
a free nodeaddress to) the instrument on the FLOWBUS because instrument is not physically connected to the
FLOWBUS, but only uses the same protocol.
You may start directly sending your messages to the instrument on
either the nodeaddress of the instrument in its memory e.g. node 3 (selective response) or to nodeaddress 128
(alwaysresponse).
AtpowerupsituationyoucancommunicatewiththeRS232interfaceonlyattheRS232sidevia
node0.Togetpartof
theFLOWBUS you have to sendan init command, send the network parameters PNA, SNA, NNA, LNA and BM and
sendaresetcommand.FromthismomenttheinterfaceispartoftheFLOWBUS.Ensurethemodulegetsafreeand
uniqueaddress
onthebus,2 modulesonthesameaddresswillcausecommunicationproblems.Whenyouaresure
that there are no more interfaces in the system, simply force the RS232/FLOWBUS interface to address 1. This
addressisreservedfor an interface. PCsupportsoftware (FLOWB32.DLL)willsearchfora
freeaddressonwhich the
interfacewillbeinstalled.
FollowthestepsbelowtorealisecorrectinitialisationforthisinterfaceviaRS232:
InitialisationRS232interface(neededforFLOWBUS/RS232interfaceswithoutswitchandLED’sonly)
Send Response Comment
:050001000A49\r\n Initinstructionfornode0process0.
:04000000XX\r\n Noerror.
:050001000101\r\n PNA=PrimaryNodeAddress=1
:04000000XX\r\n Noerror.
:05000100027F\r\n SNA=SecondaryNodeAddress=127
:04000000XX\r\n Noerror.
:050001000302\r\n NNA=NextNodeAddress=2
:04000000XX\r\n Noerror.
:050001000420\r\n LNA=LastNodeAddress=32(dependsonsystemsize)
:04000000XX\r\n Noerror.
:050001000502\r\n BM=BusManagement=67
67=everythingautomatically(autoarbitration+gapskipping)
3=autoarbitration
2=alwaysbusmaster
1=temporary
Inoldersystems:whennoR/CmodulesinsystemmakeBM=2,
whenR/Cmodulesinsystem(alreadybusmasterspresent)
than
makeBM=1;otherwisemake=67
:04000000XX\r\n Noerror.
:050001000A52\r\n Resetinstructionformodule;fromthismomentonmodulewillbe
activeonFLOWBUSatnodeaddress=PNA
:04000000XX\r\n Noerror.
Sometimesitcouldbenecessarytorepeatthefirstinstruction.Waitapprox.2secondsbefore
sendingthenextcommand.
XXmeans:don’tcare
Vue de la page 18
1 2 ... 14 15 16 17 18 19 20 21 22 23 24 ... 41 42

Commentaires sur ces manuels

Pas de commentaire