SM2130B-C2H2,SM2130B-C2H2

气体 3
UserManual / SM2130B-C2H2RS485interfaceprotectiontypeacetylenegassensor UserManual FileVersion:V21.3.24 SM2130B-C2H2usingthestandardRS485busMODBUS-RTUprotocol,easyesstoPLC,DCS andotherinstrumentsorsystemsformonitoringacetylenestatequantities.Theinternaluseof high-precisionsensingcoreandrelateddevicestoensurehighreliabilityandexcellentlong-term stability,canbecustomizedRS232,RS485,CAN,4-20mA,DC0~5V\10V,ZIGBEE,Lora,WIFI,GPRSand otheroutputmethods. TechnicalParameters Technicalparameter Parametervalue ShanghaiSonbestIndustrialCo.,Ltd Page1 SM2130B-C2H2UserManual / Brand SONBEST Testrange 0~5000ppm Testuracy ±7%FS CommunicationInterface RS485 Defaultbaudrate 96008n1 Power DC9~24V1A Runningtemperature -40~80°
C Workinghumidity 5%RH~90%RH Wiringinstructions Anyincorrectwiringcancauseirreversibledamagetotheproduct.Pleasecarefullywirethecableas followsinthecaseofpowerfailure,andthenconnectthecabletoconfirmthecorrectnessandthenuseit again. ID Corecolor Identification Note
1 Red V+ Power+
2 Green V- Power-
3 Yellow A+ RS485A+
4 Blue B- RS485B- Inthecaseofbrokenwires,wirethewiresasshowninthefigure.Iftheproductitselfhasnoleads,the corecolorisforreference. CommunicationProtocol TheproductusesRS485MODBUS-RTUstandardprotocolformat,alloperationormands arehexadecimaldata.Thedefaultdeviceaddressis1whenthedeviceisshipped,thedefaultbaudrateis 9600,8,n,
1 1.ReadData(Functionid0x03) Inquiryframe(hexadecimal),sendingexample:Query1#device1data,theputersendsthe command:010300000001840A. DeviceID Functionid StartAddress DataLength CRC16 01 03 0000 0001 840A Forthecorrectqueryframe,thedevicewillrespondwithdata:010302007979A6,theresponse formatisparsedasfollows: DeviceID Functionid DataLength 数据
1 CheckCode 01 03 02 0079 79A6 DataDescription:Thedatainmandishexadecimal.Takedata1asanexample.0079is convertedtoadecimalvalueof121.Ifthedatamagnificationis100,theactualvalueis121/100=1.21. Othersandsoon.
2.DataAddressTable Address StartAddress Description Datatype Valuerange 40001 0000 1#acetyleneregisterReadonly 0~65535 40101 0064 modelcode read/write 0~65535 40102 0065 totalpoints read/write 1~20 40103 0066 DeviceID read/write 1~249 40104 0067 baudrate read/write 0~
6 ShanghaiSonbestIndustrialCo.,Ltd Page2 SM2130B-C2H2UserManual / 40105 0068 mode read/write 1~
4 40106 0069 protocol read/write 1~10 3readandmodifydeviceaddress
(1)Readorquerydeviceaddress Ifyoudon'tknowthecurrentdeviceaddressandthereisonlyonedeviceonthebus,youcanusethe commandFA0300640002905FQuerydeviceaddress. DeviceID Functionid StartAddress DataLength CRC16 FA 03 0064 0002 905F FAis250forthegeneraladdress.Whenyoudon'tknowtheaddress,youcanuse250togetthereal deviceaddress,0064isthedevicemodelregister. Forthecorrectmand,thedevicewillrespond,forexampletheresponsedatais:010302 07123A79,theformatofwhichisasshowninthefollowingtable: DeviceID Functionid StartAddress ModelCode CRC16 01 03 02 553C0001 3A79 Responseshouldbeinthedata,thefirstbyte01indicatesthattherealaddressofthecurrentdeviceis, 553Cconvertedtodecimal20182indicatesthatthecurrentdevicemainmodelis21820,thelasttwobytes 0001Indicatesthatthedevicehasastatusquantity.
(2)Changedeviceaddress Forexample,ifthecurrentdeviceaddressis1,wewanttochangeto02,mandis:01060066 0002E814. DeviceID Functionid StartAddress Destination CRC16 01 06 0066 0002 E814 Afterthechangeisessful,thedevicewillreturninformation:020600660002E827,itsformat isparsedasshowninthefollowingtable: DeviceID Functionid StartAddress Destination CRC16 01 06 0066 0002 E827 Responseshouldbeinthedata,afterthemodificationisessful,thefirstbyteisthenewdevice address.Afterthegeneraldeviceaddressischanged,itwilltakeeffectimmediately.Atthistime,theuser needstochangethemandofthesoftwareatthesametime. 4ReadandModifyBaudRate
(1)Readbaudrate Thedevicedefaultfactorybaudrateis9600.Ifyouneedtochangeit,youcanchangeitordingto thefollowingtableandthemunicationprotocol.Forexample,readthecurrentdevice's baudrateID,mandis:01030067000135D5,itsformatisparsedasfollows. DeviceID Functionid StartAddress DataLength CRC16 01 03 0067 0001 35D5 Readthebaudrateencodingofthecurrentdevice.Baudrateencoding:1is2400;2is4800;3is9600; 4is19200;5is38400;6is115200. Forthecorrectmand,thedevicewillrespond,forexampletheresponsedatais:010302 0003F845,theformatofwhichisasshowninthefollowingtable: DeviceID Functionid DataLength RateID CRC16 01 03 02 0003 F845 codedordingtobaudrate,03is9600,iethecurrentdevicehasabaudrateof9600.
(2)Changethebaudrate ShanghaiSonbestIndustrialCo.,Ltd Page3 SM2130B-C2H2UserManual / Forexample,changingthebaudratefrom9600to38400,iechangingthecodefrom3to5,the commandis:010600670005F8160103006600016415. DeviceID Functionid StartAddress TargetBaudRateCRC16 01 03 0066 0001 6415 Changethebaudratefrom9600to38400,changingthecodefrom3to5.Thenewbaudratewilltake effectimmediately,atwhichpointthedevicewillloseitsresponseandthebaudrateofthedeviceshould bequeriedordingly.Modified. 5ReadCorrectionValue
(1)ReadCorrectionValue Whenthereisanerrorbetweenthedataandthereferencestandard,wecanreducethedisplayerror byadjustingthecorrectionvalue.Thecorrectiondifferencecanbemodifiedtobeplusorminus1000,that is,thevaluerangeis0-1000or64535-65535.Forexample,whenthedisplayvalueistoosmall,wecan correctitbyadding100.mandis:0103006B0001F5D6.Inmand100ishex0x64If youneedtoreduce,youcansetanegativevalue,suchas-100,correspondingtothehexadecimalvalueof FF9C,whichiscalculatedas100-65535=65435,andthenconvertedtohexadecimalto0xFF9C.The correctionvaluestartsfrom006B.Wetakethefirstparameterasanexample.Thecorrectionvalueisread andmodifiedinthesamewayformultipleparameters. DeviceID Functionid StartAddress DataLength CRC16 01 03 006B 0001 F5D6 Forthecorrectmand,thedevicewillrespond,forexampletheresponsedatais:010302 0064B9AF,theformatofwhichisasshowninthefollowingtable: DeviceID Functionid DataLength Datavalue CRC16 01 03 02 0064 B9AF Intheresponsedata,thefirstbyte01indicatestherealaddressofthecurrentdevice,and006Bisthe firststatequantitycorrectionvalueregister.Ifthedevicehasmultipleparameters,otherparameters operateinthisway.Thesame,thegeneraltemperature,humidityhavethisparameter,thelightgenerally doesnothavethisitem.
(2)Changecorrectionvalue Forexample,thecurrentstatequantityistoosmall,wewanttoadd1toitstruevalue,andthecurrent valueplus100correctionmandis:0106006B0064F9FD. DeviceID Functionid StartAddress Destination CRC16 01 06 006B 0064 F9FD Aftertheoperationisessful,thedevicewillreturninformation:0106006B0064F9FD,the parameterstakeeffectimmediatelyafteressfulchange. Disclaimer Thisdocumentprovidesallinformationabouttheproduct,doesnotgrantanylicensetointellectual property,doesnotexpressorimply,andprohibitsanyothermeansofgrantinganyintellectualproperty rights,suchasthestatementofsalestermsandconditionsofthisproduct,otherissues.Noliabilityis assumed.Furthermore,panymakesnowarranties,expressorimplied,regardingthesaleanduse ofthisproduct,includingthesuitabilityforthespecificuseoftheproduct,themarketabilityorthe infringementliabilityforanypatent,copyrightorotherintellectualpropertyrights,etc.Product specificationsandproductdescriptionsmaybemodifiedatanytimewithoutnotice. ContactUs Company:ShanghaiSonbestIndustrialCo.,Ltd ShanghaiSonbestIndustrialCo.,Ltd Page4 SM2130B-C2H2UserManual / Address:Building8,No.215Northeastroad,BaoshanDistrict,Shanghai,ChinaWeb:Web:SKYPE:soobuuEmail:sale@Tel:86-021-51083595/66862055/66862075/66861077 ShanghaiSonbestIndustrialCo.,Ltd Page5

标签: #软件 #cable #concern #职位 #courage #cda #linux #campus