Beijer-electronics AN-BEI-H2-038 Manuale Utente Pagina 13

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 14
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 12
APPLICATIONNOTEANBEIH2038 Date:15/02/12
ANBEIH2038ModbusRTUControlandRegisterMapping
13
ModbusExceptionResponseTelegrams:
Undersomecircumstances,thedrivemayreplywithanExceptionResponse(error)inresponsetoarequesttelegramsentfrom
thenetworkmaster,forexamplewherethemastertriestoreadaregisterwhichdoesnotexist.ExceptionResponseswhichcan
begeneratedbythedrivearelistedbelow:‐
ExceptionCode1:InvalidRequest
Returnedunderthefollowingconditions
NetworkMastersendsanunsupportedModbuscommand(e.g.ReadCoils).
RuncommandissuedtodrivewhilstthedriveisnotsetforModbusControlMode(e.g.P112<>4).
Runcommandissuedtodriveswhilstthedriveis
notenabled(e.g.DigitalInput1isopen).
Runcommandissuedtodrivewhilstthedriveisinatrippedcondition.
ExceptionCode2:InvalidModbusregister
Returnedunderthefollowingconditions
NetworkMasterattemptstoreadorwritearegisterthatdoesnotexistwithinthedrive.
ExceptionCode3:RegisterValueOutofRange
Returnedunderthefollowingconditions
NetworkMasterattemptstowriteaholdingregisterwithavalueoutsidetherangeoftheregister
ExceptionCode6:DriveBusy
Returnedunderthefollowingconditions
Drivebusyduetointernaldatatransfer.
TheNetworkMastershouldresendthemessageafteradelay
Dataflowexample:
Readdatafromregister6:
Request:[01] [03][00][05] [00][01][94][0B]
 (DriveAddr)(Command)(Regstartaddr)(No.ofRegisters)(Checksum)
Reply:[01] [03][02] [00][00][B8][44]
 (DriveAddr)(Command)(Noofdatabytes)(Data) (Checksum)
Note:Theactualstartaddressofregister
6is5.Alldatain[]isin8bitsHexformat.
Writestartcommandtotheregister1(supposeP12=3,P15=0anddigitalinput1isclosed):
Request:[01] [06][00][00] [00][01][48][0A]
 (DriveAddr)(Command)(Regaddr)
(Datavalue)(Checksum)
Reply:[01] [06][00][00] [00][01][48][0A]
 (DriveAddr)(Command)(Regaddr)(Datavalue)(Checksum)
Note:Theactualaddressofregister1onthedatalinkis0.Alldatain[]isin8bitsHexformat.
Replycanbeerrormessage
dependingondriveparametersettingsanddigitalinputstatus.
Vedere la pagina 12
1 2 ... 8 9 10 11 12 13 14

Commenti su questo manuale

Nessun commento

JBL Głośniki dokujące podręczniki użytkownika

Zaczynanie od A

Kliknij na poniższy alfabet, aby przejść do pełnej listy modeli zaczynających się od tej litery

Modele Rodzaj dokumentu
AIR
Instrukcja Właściciela   JBL OnBeat Air, 15 strony