www.Siargo.com
MF4700UserManual
21
|
Page
5.5.5.Registers
The
product(MF5000)hasmultipleregistersavailablefortheassignmentofthevariousfunctions.Withthese
functions,theusercan obtain thedata fromthe products, suchasproductaddressand flowratesfromthe
registers,orsettheproductfunctionsbywritingthecorrespondingparameters.
Thecurrentlyavailableregistersarelisted
inthefollowingtable,andtheregistersmaybecustomizedupon
contactthemanufacturer.WhereR:read;W:write‐only;W/R:readandwrite.
Note:Atthetimeofshipping,thewriteprotectionfunctionisenabledexceptforaddressandbaudrate.
Oncethe usercompletes theregistervaluechange,
thewrite protectionwillbeautomaticallyenabled
onceagaintopreventincidentaldataloss.
Table5.6:Registers
Functions Description Register Modbus
reference
Address Productaddress(R/W) 0x0001 40002(0x0001)
Flowrate Currentflowrate(R) 0x0002~0x0003 40003(0x0003)
Totalizer1 Totalizeroraccumulatedflow
rate
(R)
0x0004~0x0005 40005(0x0005)
Totalizer2 Totalizeroraccumulatedflowrate(R) 0x0004~0x0006 40005(0x0005)
Baudrate Communicationbaudrate(R/W) 0x0015 40022(0x0015)
Gasconversionfactor Gasconversionfactor(R/W) 0x0016 40023(0x0016)
Responsetime Responsetimeorsamplingtime(R/W)
0x0017 40024(0x0017)
Offsetreset Resetorcalibrateoffset(R/W) 0x0027 40040(0x0027)
Highflowalarm Sethighflowratealarm(R/W) 0x0031 40050(0x0031)
Lowflowalarm Setlowflowrate
alarm(R/W)
0x0033
40052(0x0033)
Writeprotect Disableaspecificparameterentry(W) 0x0014 40021(0x0014)
Thedetailedinformationofeachregisterisdescribedbelow:Y:enabled;N:disabled
Address 0x0001
Write Y
Read Y
Description Addressoftheproduct
Valuetype UINT16
Notes
Valuesfrom1to255exceptfor157(0x9d).
0isthebroadcastaddress.
Flowrate 0x0002~0x00o3
Write N
Read Y
Description Currentflowrate
Valuetype UINT16
Notes
Flowrate=[value(0x0002)*65536+value(ox0003)]/1000
e.g.:foraflowrateof123.456SLPM,theuserwillread“1(0x0001)”from
register0x0002and“57920(0xE240)”fromregister0x0003,therefore
Currentflowrate=(1*65536+57920)/1000=123.456