1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506 |
- <!DOCTYPE html>
- <!-- saved from url=(0039)http://bbs.armfly.com/read.php?tid=3732 -->
- <html><head><meta http-equiv="Content-Type" content="text/html; charset=GBK">
- <meta charset="gbk">
- <title>MODBUS协议整理|触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind</title>
- <meta name="generator" content="phpwind v8.7(20111111)">
- <meta name="description" content="1.Modbus简介——来自维基百科Modbus是一种串行通信协议,是Modicon于1979年,为使用可编程逻辑控制器(PLC)而发表的。MODBUS是工业领域通信协议的业界标准,并且现在是工业电子设备之间相当常用的连接方式。Modbus比其他通信协议使用的更广泛的主要原因有:1.公开发表并且 ..|安富莱电子论坛">
- <meta name="keywords" content="MODBUS协议整理|触摸屏一体机 - 安富莱电子论坛">
- <!--<base id="headbase" href="http://bbs.armfly.com/">--><base href=".">
- <link rel="stylesheet" href="http://bbs.armfly.com/images/pw_core.css?20111111">
- <!--css-->
- <style type="text/css">
- /*Spacing*/
- .pdD{padding:.3em .5em}
- .pd5{padding:0 5px;}
- .pd15{padding:0 15px;}
- /*form*/
- input.btn,input.bt{cursor:pointer;padding:.1em 1em;*padding:0 1em;font-size:9pt; line-height:130%; overflow:visible;}
- input.btn{border:1px solid #ff5500;background:#ff8800;margin:0 3px;color:#fff;}
- input.bt{border:1px solid #c2d8ee;background:#fff;margin:0 3px;color:#333;}
- /*layout*/
- html{background-color:#fff;overflow-y:scroll;}
- body{font:12px/1.5 Arial; color:#333;background:#fff url(images/wind/bg.jpg) center top repeat-x;min-height:500px;}
- .wrap,#top{min-width:820px;margin:auto;}
- /*全局链接*/
- a{text-decoration:none;color:#333333;}
- a:hover,.alink a,.link{text-decoration:underline;}
- /*链接按钮*/
- .bta{cursor:pointer;color:#333333;padding:0 5px;margin:0 3px;white-space:nowrap;border:1px solid #d5e6ed;line-height:22px;background:#ffffff;}
- .bta:hover{border:1px solid #bdcfdd;text-decoration:none;}
- /*main color 数值自定义*/
- .f_one,.t_one,.r_one{background:#ffffff;}
- .f_two,.t_two,.r_two{background:#f3f9fb;}
- /*头部*/
- #head,.main-wrap,#footer,#searchA,#navA,#navB,.top{width:960px;margin:0 auto;max-width:1200px;}
- #top{height:23px;border-bottom:1px solid #fff;background:url(images/wind/topbar.png) 0 bottom repeat-x;_background:#e9f1f4;line-height:23px;overflow:hidden;}
- .top li{float:left;margin-right:10px;}
- .top a{color:#666;}
- /*导航*/
- #navA{height:35px;background-color:#176eac;}
- .navA,.navAL,.navAR,.navA li,.navA li a,#td_mymenu{background:url(images/wind/navA.png?20111111) 999em 999em no-repeat;}
- .navAL,.navAR{width:5px;height:35px;}
- .navAL{ background-position:0 -80px;_margin-right:-3px;}
- .navAR{ background-position:0 -150px;_margin-left:-3px;}
- .navA{ background-position:0 -115px;height:35px;overflow:hidden; background-repeat:repeat-x;}
- .navA ul{font-size:14px;overflow:hidden;}
- .navA li{float:left;margin-left:-1px;}
- .navA li a{float:left;color:#ffffff;padding:0 15px;height:35px;line-height:35px;outline:none;font-weight:700; background-position:0 -35px;}
- .navA li a:hover{text-decoration:none;color:#ffea00;}
- .navA .current a,.navA .current:hover a,.navA .current a:hover{background-position:center top;display:inline;text-decoration:none;text-shadow:none;}
- /*快捷导航*/
- #td_mymenu{ background-position:-20px -150px;cursor:pointer;float:right;width:75px;color:#fff;height:23px;overflow:hidden;line-height:23px;padding-left:10px;margin:5px 2px 0 0;_display:inline}
- #fast_menu .menuList{width:81px;}
- .navB,.navBbg{background:url(images/wind/navB.png) right bottom repeat-x;}
- .navBbg{padding:0;background-position:left bottom;margin-right:4px;_position:relative;}
- .navB ul{padding:4px 4px 4px 16px;}
- .navB li{float:left;height:25px;line-height:25px;margin:0 10px 0 0;}
- .navB li a{display:block;padding:0 5px; font-size:14px;}
- .navB li a:hover{ text-decoration:none;color:#014c90;}
- /*搜索*/
- #searchA{margin:0 auto 10px;height:41px;overflow:hidden;}
- #searchA,.searchA_right{background:url(images/wind/searchA.png) no-repeat;}
- .searchA_right{ background-position:right 0;height:41px;width:5px;}
- .searchA{padding:8px 0 0 55px;}
- .searchA .ip,.s_select{background:#fff url(images/wind/search_input.png) left top no-repeat;}
- .searchA .ip{width:300px;float:left;border:1px solid #dddddd;height:20px;padding:4px 5px 0;overflow:hidden;}
- .searchA .ip input{border:0;background:none;padding:0;line-height:16px; font-size:14px;width:100%;float:left;margin:0;}
- .s_select{float:left;border:1px solid #dddddd;border-left:0;margin-right:7px;width:49px; background-position:-40px 0;}
- .s_select h6{display:block;padding:0 15px 0 10px;height:24px;line-height:24px;cursor:pointer;background:url(images/wind/down.png) 35px center no-repeat;color:#666;}
- .s_select ul{ position:absolute;border:1px solid #dddddd;background:#fff;line-height:22px;width:49px;margin:24px 0 0 -1px;display:none;z-index:1;}
- .s_select ul li{padding:0 10px;cursor:pointer;white-space:nowrap;}
- .s_select ul li:hover{background:#f7f7f7;}
- .searchA button{width:45px;height:25px;border:0 none;background:url(images/wind/search_btn.png) no-repeat; font-size:14px; font-weight:700;line-height:25px;padding:0 0 3px 0;}
- .s_tags{padding:3px 0 0 30px; font-size:14px;height:20px;line-height:20px;overflow:hidden;margin:0;}
- .s_tags a{margin:0 8px 0 0;}
- /*站点信息*/
- #infobox .fr li,#breadCrumb .fr li{float:left;}
- #infobox .fr li a,#breadCrumb .fr li a{float:left;}
- /*面包屑*/
- #breadCrumb{zoom:1;margin-bottom:10px;}
- #breadCrumb em{ font-family:Simsun;margin:0 5px;}
- #breadCrumb .breadEm{float:left;width:0;position:absolute;}
- #breadCrumb img.breadHome{float:left;margin:0 5px 0 0;}
- /*站点信息*/
- .pw_ulC{padding-left:5px;}
- .pw_ulC li{float:left;border-right:1px solid #ddd;padding:0 5px;}
- .pw_ulC li em{color:#666;-webkit-transition: all 0.2s ease-out;-o-transition: all 0.2s ease-out;padding-left:5px;background:url(images/wind/colon.png) 0 5px no-repeat;margin-left:2px;}
- .pw_ulC li em a{color:#666;}
- .pw_ulC li:hover em{-webkit-transform: scale(1.5);-o-transform: scale(1.5);}
- .pw_ulC li.none{border:0;}
- /*文字广告*/
- .textMes{margin:0 auto 10px;border:1px solid #d5e6ed;border-bottom:0;background:#ffffff;}
- .textMes .tr3 td,.textMes .tr3 th{border-bottom:1px solid #d5e6ed;padding:.4em .6em;border-top:0;}
- /*中间内容*/
- #pw_content{background:#ffffff;border:1px solid #bdcfdd;border-top:2px solid #065792;}
- .t{border:1px solid #bdcfdd;padding:1px;_display:inline-block;margin-bottom:10px;background:#ffffff;}
- .tTable{margin:0 10px;}
- #pw_content .t{border:0;padding:0;margin:0;}
- /*首页热榜*/
- .newInfor{padding-bottom:10px;}
- .newInfor h4{font-weight:700;overflow:hidden;color:#666;}
- .newInfor .switchItem .view-hover,.newInfor .switchItem .view-current{min-height:240px;_height:240px;}
- .newflash{width:360px;height:240px;overflow:hidden;}
- .flashimg img{height:240px;margin-bottom:8px;}
- .flashimg p a{color:#fff;font-weight:700;text-shadow:1px 1px 0px #333;}
- .flashimg p{overflow:hidden;width:260px;bottom:4px;position:absolute;text-indent:12px;z-index:2;left:0;}
- .flashBg{ position:absolute;bottom:0;width:100%;height:27px;background:#000;filter:alpha(opacity=60);-moz-opacity:0.6;opacity:0.6; z-index:1;}
- .an{ position:absolute;right:5px;z-index:2;bottom:5px;}
- .an li{float:left;margin-left:5px;}
- .an li a{float:left;background:#fff;color:#333;overflow:hidden;line-height:16px;padding:0 3px;-webkit-transition: all 0.2s ease-out;-o-transition: all 0.2s ease-out;}
- .an li.current a,.an li a:hover{background:#ff6600;color:#fff; text-decoration:none;}
- .an li a:hover{-webkit-transform: scale(1.4);-o-transform: scale(1.4);}
- .newHotA dd{padding:5px 0;}
- .newHotA{width:500px;}
- .newHotB li{float:left;width:47.5%;padding-right:2%;line-height:22px;height:22px;overflow:hidden;}
- .newHotB li em a{ font-family:Simsun;margin-right:5px;}
- /*公告*/
- .noticebg{padding:5px 10px;}
- #notice{padding:5px;}
- #notice li{white-space:nowrap;padding-left:20px;height:18px;float:left;}
- #notice a{padding-right:.5em;}
- #notice0{height:18px;line-height:18px;overflow:hidden;background:url(images/wind/file/anc.gif) 0 0 no-repeat;}
- .noticebg_newinfo{position:absolute;top:3px;right:5px;padding:0;}
- .noticebg_newinfo #notice0{float:right;}
- /*通用标题栏*/
- .h{border-bottom:1px solid #c6d9e7;border-top:1px solid #c6d9e7;background:#eaf1f7 url(images/wind/h.png) 0 0 repeat-x;color:#1b72af;padding:5px 10px;overflow:hidden;}
- .h a{color:#1b72af}
- .h span a,.h span{color:#1b72af;}
- .closeicon{*margin-top:4px;height:10px;}
- .cate_fold{padding:0 5px 0 5px;text-decoration:none;}
- .cate_fold:hover{text-decoration:none;}
- /*内容区域顶部标题栏*/
- .hB{background:url(images/wind/hB.png) 0 bottom repeat-x;height:33px;line-height:33px;overflow:hidden;padding:0 10px;}
- /*标题栏内tab切换*/
- .tabB{margin-top:4px;height:32px;padding-left:10px;}
- .tabB li{float:left;}
- .tabB li a{font-weight:100;padding:0 15px;float:left;line-height:23px;height:27px;padding-top:2px;}
- .tabB li.current a{border:1px solid #dcdcdc;border-bottom:0;background:#ffffff;padding-top:1px; font-weight:700;}
- .tabB li a:hover{ text-decoration:none;}
- /*h2版块名,h3分类版块名*/
- h2{font-weight:700;display:inline;}
- h2 a{color:#333;}
- h3{font-weight:700;display:inline;}
- h3 a:hover{ text-decoration:none;color:#ff5500;}
- /*table表格*/
- .tr3 td,.tr3 th{border-bottom:1px dotted #ddd;}
- .tr3none th,.tr3none td{border-bottom:none;}
- .tr3 .old,.tr3 .new,.tr3 .lock{padding:10px 5px 10px 45px;color:#444;font-weight:100;height:35px;}
- .tr3 .old{background:url(images/wind/old.gif) 0 center no-repeat;}/*旧主题版块*/
- .tr3 .new{background:url(images/wind/new.gif) 0 center no-repeat;}/*新主题版块*/
- .tr3 .lock{background:url(images/wind/lock.gif) 0 center no-repeat;}/*锁定版块*/
- .tr2 td,.tr2 th{padding:5px 5px 3px;color:#666;background:#f7f7f7;border-bottom:1px solid #eaeaea;}
- .tr2 th,.tr3 th{font-weight:100;}
- .tr3 td,.tr3 th{padding:5px;}
- .thread_sort a{color:#014c90;}
- .thread_sort a.s6{color:#666;}
- td.num{color:#444; font-size:11px;-webkit-text-size-adjust:none;}
- td.num em{color:#014c90;}
- .tr3 td.subject{padding-left:10px;}
- .re{width:220px;}
- .author{width:95px;}
- .author a{color:#444;}
- .author p,.author p a{color:#999;font-size:11px;-webkit-text-size-adjust:none;}
- .view,.fNum,.fNum a,.adminlist a,.adminlist{color:#444;}
- .tr3 td.icon{padding:5px 0;}
- .adminbox{padding:0 0 0 0;margin:-3px 3px 0 0;*margin:0 0 0 -5px;}
- .tr4 td{padding:3px 5px;border-bottom:1px solid #eaeaea;border-top:1px solid #eaeaea;color:#666;background:#f3f9fb;}
- .tr4 td .current{color:#000;}
- .z tr:hover td,.z tr:hover th{background-color:#f3f9fb;}
- .bt0 td{border-top:0;}
- .tr5 td{border:0;}
- .threadCommon .tr3 td{line-height:1.3;}/*列表行高*/
- .hrA{height:1px; background:#d5e6ed;color:#d5e6ed;border:0;margin:8px 0;overflow:hidden;}
- .tpage{ font-family:Simsun;}
- .subject_t:visited{/*color:#666;*/}
- /*old table*/
- .t3 td{padding:2px 5px;}
- /*发帖回复*/
- .post,.replay{height:30px;overflow:hidden;width:74px; text-align:center; font-weight:700; font-size:14px; line-height:30px;}
- .post:hover,.replay:hover{text-decoration:none;}
- .replay{ background:url(images/wind/reply.png?101129) no-repeat;color:#d74700;}
- .post{ background:url(images/wind/post.png?101129) no-repeat;color:#fff;}
- .post:hover{color:#ffea00;}
- /*列表页分类*/
- .pw_ulA{height:auto;background:#eaf1f7;border-bottom:1px solid #c6d9e7;overflow:hidden;}
- .pw_ulA ul{padding-bottom:8px;*padding-bottom:6px;margin-left:-1px;}
- .pw_ulA li{float:left;border-left:1px solid #ccc;margin-top:8px;}
- .pw_ulA li a{line-height:14px;height:14px;padding:0 12px;float:left;color:#1b72af;font-weight:100; white-space:nowrap;}
- .pw_ulA li.current a{color:#333; font-weight:700;}
- /*版主推荐,群组列表*/
- .pw_ulB{padding:10px 0 10px 10px;}
- .pw_ulB li{line-height:22px;height:22px;overflow:hidden;}
- .pw_ulB li a{padding-left:13px;background: url(images/pwicon/related_li.gif) 0 3px no-repeat;}
- .pw_ulB li em a{padding:0;background:none;}
- .pw_ulB .adel{margin:4px 40px 0 0 ;}
- .pw_ulB .one{float:left;width:90px;margin:0 15px 0 0;}
- .pw_ulB .one p,.pw_ulB .two p{text-align:center;height:22px;overflow:hidden;}
- .pw_ulB .two{float:left;width:90px;margin:0 15px 10px 0;height:120px;}
- .pw_ulB .two a{padding-left:0;background:none;}
- /*侧栏版块列表*/
- .pw_ulD{padding:5px;}
- .pw_ulD li{padding:0 5px;line-height:22px;}
- .pw_ulD li:hover{background:#d5e6ed;}
- .pw_ulD li.current{background:#2e84c1;}
- .pw_ulD li.current a{color:#fff;}
- .pw_ulD li a:hover{ text-decoration:none;}
- .pw_ulD li del{margin-top:3px;display:none;}
- .pw_ulD li:hover del,.pw_ulD li.current del,.pw_ulD li.hover del{display:block;}
- .sideForum .pw_ulD{border-top:1px solid #d5e6ed;}
- .sideForum dt{line-height:29px;height:29px;padding:0 10px; background:url(images/wind/thread/sideForumDt.gif) right 0;cursor:pointer;overflow:hidden;}
- .sideForum dd{display:none;}
- .sideForum .one dt{background-position:right -30px; font-weight:700;}
- .sideForum .one dd{display:block;}
- /*列表侧栏*/
- .sidebar{float:left;overflow:hidden;margin-right:-1px;margin-bottom:-1px;}
- .content_thread{background:#ffffff;_float:right;}
- .sideClose .content_thread{margin:0;border:0;float:none;}
- .f_tree{background:#f3f9fb;}
- /*列表操作图标*/
- .history,.pw_ulD del,.switch,.keep,.keepOn{background:url(images/wind/thread/sideicon.gif) 9999px 9999px no-repeat;cursor:pointer;}
- .history,.pw_ulD del{float:right;width:16px;height:16px;overflow:hidden;display:block;text-indent:-2000em;}
- .history{ background-position:0 0;}
- .switch{float:left;width:9px;height:27px;display:block; text-indent:-2000em;overflow:hidden; background-position:0 -40px;margin-top:1px; position:absolute;}
- .switch:hover{ background-position:-9px -40px;}
- .sideClose .switch{background-position:-1px -68px;width:8px;}
- .sideClose .switch:hover{background-position:-10px -68px;}
- .pw_ulD del{ background-position:0 -20px;}
- .pw_ulD del:hover{ background-position:-20px -20px;}
- .keep,.keepOn{float:left;background-position:-120px 0;height:16px;margin:8px 10px 0 0;width:16px;text-indent:-2000em;overflow:hidden;}
- .keep:hover{background-position:-120px -20px;}
- .keepOn,.keepOn:hover{ background-position:-120px -40px;}
- /*侧栏收藏的版块*/
- .myForum h6{color:#666;padding:6px 10px 5px;}
- .myForum .pw_ulD li{height:22px;overflow:hidden;}
- /*列表帖子类型tab*/
- .tabA{border-bottom:1px solid #bdcfdd;height:28px;padding:0 5px;}
- .tabA ul{_position:absolute;font-size:14px;overflow:hidden;height:29px;}
- .tabA li{float:left;margin-left:5px;}
- .tabA li a{float:left;color:#014c90;line-height:1.2;padding:0 20px;overflow:hidden;border:1px solid #e4e4e4;line-height:27px;background:#f7f7f7;border-bottom:0;}
- .tabA li.current a,.tabA li.current a:hover,.tabA li a:hover{color:#333;border-color:#bdcfdd;line-height:28px;font-weight:700;background:#eaf1f7;position:relative;}
- .tabA li a:hover{ font-weight:100;line-height:27px; text-decoration:none;}
- /*帖子列表管理操作*/
- .manageCheck{border-bottom:1px solid #d5e6ed;border-top:1px solid #d5e6ed;background:#f3f9fb;padding:5px 7px;margin-top:-1px;}
- /*列表排序筛选*/
- .thread_sort span.gray{ font-family:Simsun;color:#ccc;padding:0 10px;}
- /*帖子楼层结构*/
- .floot{ table-layout:fixed;}
- .floot_left{width:160px;background:#f3f9fb;border-right:1px solid #d5e6ed; vertical-align:top;}
- .floot_leftdiv{padding:10px 10px 50px 15px;}
- .floot_right{background:#ffffff;padding:10px 20px 0;vertical-align:top;}
- .floot_bottom{vertical-align:bottom;padding:0 20px;}
- .readTop{background:#f3f9fb;}
- /*楼层间*/
- .flootbg{background:#d5e6ed;height:3px;border-top:1px solid #ffffff;border-bottom:1px solid #ffffff;overflow:hidden;table-layout:fixed;}
- /*帖子信息*/
- .tipTop{padding:0 0 10px;border-bottom:1px dotted #ccc;margin-bottom:10px;}
- /*印戳*/
- .overprint{overflow:hidden;position:absolute;margin-left:440px;margin-top:-35px;}
- .overprint_opl {height:200px;overflow:auto;}
- .overprint_opl a{display:block;float:left;padding:3px;margin:3px}
- .overprint_opl a.current{border:1px solid #ccc;padding:2px}
- .overprint_opl a:hover{border:1px solid #ddd;padding:2px;background:#f3f9fb;}
- /*帖子用户信息*/
- .honor{color:#777;overflow:hidden;line-height:1.3;}
- .user-infoWrap2 li{line-height:20px;height:20px;overflow:hidden;}
- .user-infoWrap2 li em{float:left;width:60px;}
- .user-pic{margin-left:-2px;}
- .face_img img{padding:3px;border:1px solid #d5e6ed;}
- /*帖子操作*/
- .tipBottom{padding:10px 0;border-top:1px dotted #ccc;margin-top:10px;}
- .readbot a{list-style:none;padding:0 0 0 1.5em;margin:0;float:left;cursor:pointer;background:url(images/wind/read/yin.gif) no-repeat;width:3.5em;height:16px;}
- .readbot .r-quote:hover{background-position:0 0;}
- .readbot .r-reply:hover {background-position:0 -20px;}
- .readbot .r-score:hover {background-position:0 -40px;}
- .readbot .r-keep:hover {background-position:0 -60px;}
- .readbot .r-recommend:hover {background-position:0 -160px;}
- .readbot .r-report:hover{background-position:0 -200px;}
- .readbot .r-quote {background-position:0 -80px;}
- .readbot .r-reply {background-position:0 -100px;}
- .readbot .r-score {background-position:0 -120px;}
- .readbot .r-keep {background-position:0 -140px;}
- .readbot .r-recommend {background-position:0 -180px;}
- .readbot .r-report {background-position:0 -220px;}
- /*帖子标题*/
- h1.read_h1{padding:0 20px;}
- .read_h1,.read_h1 a{font-size:16px;color:#014c90; font-weight:700;line-height:1.2;padding:0;margin:0;}
- /*帖子内容区域*/
- blockquote{margin-left:12px;}
- .tpc_content{padding:0 2px 20px;margin:0;line-height:1.8em;}
- .tpc_content font{line-height:1.5em;}
- .tpc_content a{text-decoration:none;color:#0070AF;}
- .tpc_content a:hover{text-decoration:underline}
- .tpc_content ol,.tpc_content ol li{list-style-type:decimal;}
- .tpc_content ul,.tpc_content ul li{list-style-type:disc;}
- .blockquote{zoom:1;padding:5px 8px 5px;line-height:1.3;background:#fffae1;margin:0 0 10px 0;}
- .tips{border:1px solid #bdcfdd;background:#f3f9fb;padding:3px 10px;display:inline-block;_float:left;}
- /*帖子代码*/
- .blockquote2{border: 1px solid; border-color: #c0c0c0 #ededed #ededed #c0c0c0;margin:0px;padding:0 0 0 2em;line-height:2em;overflow:hidden;background:#ffffff;margin-left:0;}
- .blockquote2 ol{margin:0 0 0 1.5em;padding:0;}
- .blockquote2 ol li{border-left:1px solid #ccc;background:#f7f7f7;padding-left:10px;font-size:12px;list-style-type:decimal-leading-zero;padding-right:1em;}
- .blockquote2 ol li:hover{background:#ffffff;color:#008ef1;}
- .blockquote2 ol li{list-style-type:decimal;}
- /*帖子引用*/
- .blockquote3{clear:left;border:1px dashed #CCC;background:#f7f7f7 url(images/blockquote3.png) right top no-repeat;padding:5px 10px;margin-left:0;}
- .blockquote3 .quote{color:#999;font-size:12px;}
- .blockquote3 .text{padding:0 10px 10px 10px; font-size:12px;}
- .blockquote3 img{ vertical-align:middle;}
- .blockquote3 span{ font-size:12px;}
- /*帖子表格*/
- .read_form td{height:20px;padding:0 5px;border-style:solid; border-width:1px;}
- /*分割线*/
- .sigline {background: url(images/wind/read/sigline.gif) left bottom no-repeat;height:16px;}
- /*帖子签名*/
- .signature {padding:10px 0 0 0;height:expression(this.scrollHeight>parseInt(this.currentStyle.maxHeight)?this.currentStyle.maxHeight:"auto");}
- /*下载*/
- .tpc_content .down{background:#f0f0f0 url(images/post/down.gif) 5px center no-repeat;padding:5px 5px 5px 30px;border: 1px solid; border-color: #cccccc #999999 #999999 #cccccc;color:#333;margin:0 10px 0 0;line-height:40px;font-size:12px;}
- .tpc_content .down:hover{ text-decoration:none;color:#ff5500;}
- /*分类信息*/
- .cates{margin:0 0 10px;border-top:1px solid #e4e4e4; font-size:12px;}
- .cates .cate-list li{line-height:1.5;font-weight:500;color:#444444;list-style:none;border-bottom:1px solid #e4e4e4;padding:5px 0;_padding:6px 0 4px;}
- .cates .cate-list em{ font-style:normal;width:100px;display:inline-block;text-align:right; font-weight:700;}
- .cates .cate-list cite{font-style:normal; display:inline-block;width:430px;vertical-align:top;font-family:Simsun;line-height:18px;}
- .cates input{ vertical-align:middle;}
- .cates .w{margin-right:10px;}
- .cates .two{background:#f7f7f7;}
- .cate_meg_player {float:right;padding:4px;background:#ffffff;border:1px solid #e4e4e4;border-top:0 none;}
- /*帖子页flash*/
- .readFlash{position:relative;height:160px;width:200px;overflow:hidden;text-align:center;line-height:160px;}
- .readFlash img{width:100%;}
- .readFlash ul {position:absolute;right:8px;bottom:8px;z-index:3;}
- .readFlash ul li {list-style:none;float:left;width:18px;height:13px;line-height:13px;text-align:center;margin-left:2px;background:#ffffff;}
- .readFlash ul li a {display:block;width:18px;height:13px;font-size:10px;color:#333333;}
- .readFlash ul li a:hover,.flash ul li a.sel {color:#fff;text-decoration:none;background:#ffa900;}
- /*友情链接*/
- .sharelink{border-bottom:1px dotted #ddd;padding:10px 0;word-break: keep-all;}
- .sharelink dt{padding-top:3px;}
- .sharelink dd a{color:#369;}
- .sharelink2{padding:10px 0 5px;*padding:10px 0;}
- .sharelink2 a{margin:0 10px 5px 0;white-space:nowrap;float:left;}
- .sharelink2 img{float:left;}
- /*生日会员*/
- .brithcache span{float:left;width:100px;line-height:22px;height:22px;overflow:hidden;}
- /*底部*/
- #footer:first-letter{text-transform:uppercase;}
- #footer img{vertical-align:top;}
- /*css3.0*/
- .history,del,.keep{-webkit-transition: all 0.2s ease-out;transition: all 0.2s ease-out;}
- /*分页-具体样式在pw_core里*/
- .pages a{border:1px solid #bdcfdd;background-color:#f9f9f9;color:#666;}
- .pages b,.pages a:hover{background-color:#72b0d7;color:#ffffff;border:1px solid #72b0d7;}
- .pages .fl{color:#666;}
- .pages input{border:1px solid #bdcfdd;}
- .pages button{background-color:#f4f8fb;color:#666;border-left:1px solid #bdcfdd;}
- /*menu*/
- .menu{position:absolute;background:#ffffff;border:1px solid #d5e6ed;}
- .menu a{display:block;padding:4px 8px;}
- /*下拉框*/
- .menu-post{border:1px solid #bdcfdd;}
- .menu-post .menu-b{background:#ffffff;border:3px solid #d5e6ed;}
- .menu_tasksA .menu-b{border-width:8px;}
- /*通用下拉外框*/
- .pw_menu{border:1px solid #bdcfdd;background:#ffffff;/*-webkit-box-shadow:2px 2px 2px #bbb;*/;}
- .pw_menuBg{padding:0 10px 10px;}
- .pw_menu h6{border-color:#bdcfdd;background:#ffffff;}
- /*下拉列表*/
- .menuList{background:#ffffff;}
- .menuList a:hover{background:#f3f9fb;}
- /*双列下拉*/
- .menuHalf{margin-right:-1px;padding:5px 0;}
- .menuHalf li{float:left;width:50%;border-right:1px dashed #d5e6ed;margin-right:-1px;}
- ul#post_typeChoose a{padding:0;}
- /*关注*/
- .follow,.following{ background:url(u/images/follow.png) no-repeat;line-height:16px;}
- .follow{padding-left:16px; background-position:-4px -43px;_background-position:-4px -40px;}
- .following{padding-left:22px; background-position:-20px -22px;}
- /*全局颜色*/
- .s1{color:#ff0000;} /*red*/
- .s2{color:#ff6600;} /*org*/
- .s3{color:#008800;} /*green*/
- .s4{color:#014c90;} /*blue*/
- .s5{color:#333333;} /*black*/
- .s6{color:#666;} /*black*/
- .s7{color:#68b;}/*min blue*/
- .gray{color:#999;}
- .gray2{color:#bbb;}
- /*自定义css*/
- </style><!--css-->
- <link id="fullscreenStyle" rel="stylesheet" href="http://bbs.armfly.com/images/fullscreen.css?20111111">
- <style>
- /*广播台*/
- .radio{height:140px;border:1px solid #bdcfdd;background:#fff url(images/bbsradio.png) left center no-repeat;min-width:800px;overflow:hidden;}
- .radioDl{padding:0 0 0 580px;margin:0;}
- .radioDl dt{margin:0 0 0 -540px;padding:0;}
- .radioDl dt .div{float:left;padding:13px 0 0 10px;}
- .radioDl dt .div p{ text-align:center;line-height:25px;}
- .radioUl {padding:7px 5px 0;}
- .radioUl li{line-height:24px;height:24px;font-size:12px;overflow:hidden;}
- .radioBg .view-hover,.radioBg .view-current{min-height:135px;_height:135px;}
- /*实名认证*/
- .certificate{ position:absolute;margin-left:0;margin-top:-2px;z-index:10;}
- /*名片*/
- .card{border:1px solid #bdcfdd;width:433px;position:absolute;margin:-9px 0 0 -16px;background:#fff;-webkit-box-shadow:4px 4px 0 #e4e4e4;-moz-box-shadow:4px 4px 0 #e4e4e4;box-shadow:4px 4px 0 #e4e4e4;z-index:9;}
- .card a{color:#014c90;}
- .card dl{padding-right:10px;}
- .card dt{width:160px;overflow:hidden;}
- .card dt .face_img{margin:8px 15px;float:left;}
- .card dt p{padding-left:15px;}
- .card dd{width:260px;padding:5px 0;float:right;}
- .card dd li{height:23px;overflow:hidden;line-height:23px;}
- .card dd.ddA{border-bottom:1px dotted #ccc;}
- .card dd.ddA span{display:inline-block;width:60px;}
- .card dd.ddB{padding:10px 0;}
- .card dd.ddB a{padding-left:20px;margin-right:16px;}
- .half li{float:left;width:49.5%;}
- .face_img:hover{text-decoration:none;}
- /*帖子结构*/
- .floot_leftdiv{overflow:hidden;}
- .readCon_right{float:right;clear:right;padding-bottom:10px;margin-left:10px;}
- .operTips{line-height:2;background:#fffeed;color:#333;}
- #read_tpc table{table-layout:fixed;}
- /*帖子管理*/
- .readAdmin{background:#f3f9fb;border:1px solid #d5e6ed;padding:5px 10px;border-bottom:0;}
- .readAdmin a{margin:0 5px;cursor:pointer;float:left;}
- .readAdmin a:hover{ text-decoration:none;color:#000;}
- .readAdmin span{color:#bbb; font-family:Simsun;padding:0 5px;float:left;}
- /*楼层信息*/
- .readNum{overflow:hidden;}
- .readNum ul{padding:7px 0;margin-left:-1px;width:160px;}
- .readNum li{float:left;width:64px;padding-left:15px;border-left:1px solid #d5e6ed;line-height:14px;}
- .readNum li em{display:block; font-weight:700;padding-bottom:3px;}
- /*楼层直达*/
- h1 a.gray{ font-size:12px; font-weight:100;font-family:Simsun;}
- .readStairs a{float:left;width:15px;height:15px;background:url(images/pwicon/read_prev.png);overflow:hidden; text-indent:-2000em;margin-top:3px;display:block;}
- .readStairs a.read_prev{margin-right:5px;}
- .readStairs a.read_next{margin-right:15px; background-position:-20px 0;}
- .readStairs{padding-top:5px;}
- .readStairs .input{width:20px;padding:1px;vertical-align:top;}
- /*用户信息*/
- .readName{padding:10px 0 0 15px;}
- .readHonor{color:#666;margin:0 0 5px;line-height:18px;width:128px;}
- .readFace img{line-height:1;display:block;border:1px solid #e4e4e4;padding:3px;background:#fff;margin-bottom:3px;}
- .readFace p img{border:0; display:inline;}
- .readLevel{line-height:25px;}
- .readLevel img{display:block;}
- .readUser_info .one{padding:0 0 5px;}
- .readUser_info .one a{color:#666;}
- .readUser_info .one a:hover{border-bottom:1px solid #ccc;}
- .readUser_info dt{width:60px;float:left;margin-right:5px;}
- .readUser_info dd{float:left;width:70px;}
- .readUser_info ul.two li{float:left;width:49.5%;height:22px;}
- .readUser_info ul.two li a{padding-left:18px;}
- .add_mes{ background:url(images/pwicon/add_mes.png) no-repeat;}
- .add_adm{ background:url(images/pwicon/add_adm.png) no-repeat;}
- .add_gag{ background:url(images/pwicon/add_gag.png) no-repeat;}
- .add_fri{ background:url(images/pwicon/add_fri.png) no-repeat;}
- .add_pro{ background:url(images/pwicon/add_pro.png) no-repeat;}
- .add_home{ background:url(images/pwicon/add_home.png) no-repeat;}
- /*楼主留言*/
- .louMes{width:300px;background:#f3f9fb;border-left:4px solid #d5e6ed;padding:10px;line-height:1.5;margin:20px 0; font-size:12px;}
- /*主楼用户操作*/
- .userOper{ text-align:center;margin:0 0 10px;}
- .userOper a{border:1px solid;border-color:#d5e6ed #bdcfdd #bdcfdd #d5e6ed;background:#f3f9fb url(images/wind/read/userOper.gif) 8px 4px no-repeat;line-height:24px;height:24px;padding:0 8px 0 28px;display:inline-block;-moz-border-radius:3px;-webkit-border-radius:3px;margin:0 1px;*font-family:Simsun;}
- .userOper a:hover{ text-decoration:none;background-color:#d5e6ed;}
- .userOper a.r_keep{ background-position:7px -25px;}
- .userOper a.r_recommend{ background-position:8px -54px;}
- .userOper a.r_dig{ background-position:8px -85px;}
- /*关联主题*/
- .related h4{display:block;padding:5px 0;border-bottom:1px dashed #e4e4e4;}
- .related ul{padding:10px 0;border-bottom:1px dashed #e4e4e4;}
- /*图片列表*/
- .imgList{margin:10px 0;}
- .imgList h4{height:25px;padding:0 10px 0 30px;line-height:25px;background:#f3f9fb url(images/wind/file/img.gif) 10px center no-repeat;;border-top:1px solid #bdcfdd;border-bottom:1px solid #d5e6ed;}
- .imgList h4 a{color:#014c90;margin:0 3px;}
- .imgList h4 a.current{color:#333; font-weight:700;}
- .imgList ul{padding-top:10px;}
- .imgList li{float:left;width:20%;padding:0 0 10px;height:125px;}
- .imgList .tac img{ width:120px;height:120px;}
- .imgList li img{ cursor:pointer;display:block}
- .imgList ul.one li{float:none;width:auto;height:auto;}
- .forbid{padding-left:20px;background:#fff url(images/pwicon/forbid.png) 0 center no-repeat;line-height:20px;height:20px;display:inline-block;height:20px;position:absolute;right:0;_right:20px;top:0;color:#ff0000;}
- /*分享*/
- .shareAll{padding:2px 20px 0;border-top:1px solid #d5e6ed;background:#f3f9fb;}
- .shareAll em{float:left;background:url(images/wind/breadEm.png) right center no-repeat;padding:5px 18px 5px 0;}
- .shareAll a{float:left;margin:6px 0 0 8px;width:16px;height:16px;display:block;overflow:hidden; text-indent:-2000em;background:url(images/pwicon/shareAll.png) no-repeat;filter:alpha(opacity=80);-moz-opacity:0.8;opacity:0.8;}
- .shareAll a:hover{filter:alpha(opacity=100);-moz-opacity:1;opacity:1;}
- /*新幻灯片*/
- .pImg_wrap{position:absolute;z-index:1002;}
- .pImg{background:#ffffff;}
- .pImg_bg{position:absolute;background:#000;width:100%;height:100%;filter:alpha(opacity=50);-moz-opacity:0.5;opacity:0.5;left:0;right:0;top:0;bottom:0;z-index:1001;}
- .bcr1,.bcr2,.bcr3,.bcr4,.pibg1,.pibg2,.pibg3,.pibg4{overflow:hidden;z-index:1005;line-height:0 }
- .bcr1,.bcr2,.bcr3,.bcr4{width:5px;height:5px;background:url(images/search/pImg.png) no-repeat;}
- .pibg1,.pibg2,.pibg3,.pibg4{ background:#ffffff;}
- .pibg1{height:5px;}
- .pibg2{width:5px;}
- .pibg3{height:5px;}
- .pibg4{width:5px;}
- .bcr1{ background-position:0 0;}
- .bcr2{ background-position:-5px 0;}
- .bcr3{ background-position:-5px -5px;}
- .bcr4{ background-position:0 -5px;}
- .pImg_close{background:url(images/search/pImg_close.png);float:right;width:15px;height:15px;text-indent:-2000em;overflow:hidden;-webkit-transition: all 0.2s ease-out;margin:3px 0 0 0;display:inline;}
- .pImg_close:hover{background-position:0 -15px;}
- .imgLoading{overflow:hidden;position:relative;}
- .imgLoading img{display:block;width:100%;height:100%;}
- .aPre,.aNext{position:absolute;background:url(images/blank.gif);width:45%;padding-bottom:5000px;margin-bottom:-5000px;}
- .aPre{cursor:url(u/images/pre.cur),auto;}
- .aNext{cursor:url(u/images/next.cur),auto;right:0;}
- /*投票*/
- .vote{font-size:12px;margin-bottom:20px;}
- .vote h4{line-height:25px;height:25px; font-weight:700;}
- .vote{line-height:1.5;}
- .vote_text{padding-top:10px;}
- .vote .vote_numline{width:300px; vertical-align:middle;}
- .vote .vote_pick{vertical-align:bottom;width:19px;}
- .vote .vote_pick input{padding:0;margin:-3px 0 0;*margin:-3px 0 0 -3px;}
- .vote .vote_result{padding:0 0 0 10px;vertical-align:bottom;width:20px;}
- .vote .vote_result div{white-space:nowrap;}
- .vote .vote_result span{padding:0 10px 0 3px;}
- .vote_part{background:#f7f7f7;padding:5px 10px;width:300px;word-break: keep-all;display:none;}
- .vote_Bot{padding:10px 0 0 0;}
- .vote_Bot .btn2{margin:0;}
- .perCent,.perValue,.perValue span{background:url(images/post/type/vote.png) repeat-x;}
- .perCent{background-color:#f0f0f0;height:12px;overflow:hidden;color:#587f02; position:relative;}
- .perValue{float:left;height:100%;background-color:#006ad7;overflow:hidden; background-position:right -24px;}
- .perValue span{float:left;height:100%;width:2px; background-position:0 -12px;}
- .perbgA{ background-position:right -48px;}
- .perbgA span{ background-position:0 -36px;}
- .perbgB{ background-position:right -72px;}
- .perbgB span{ background-position:0 -60px;}
- .perbgC{ background-position:right -96px;}
- .perbgC span{ background-position:0 -84px;}
- .perbgD{ background-position:right -120px;}
- .perbgD span{ background-position:0 -108px;}
- /*辩论*/
- .debate{margin-bottom:20px;border-bottom:1px dotted #d5e6ed;padding-bottom:20px;}
- .debate_table table,.debate_oper table{ table-layout:fixed;}
- .debate_table h4{padding:20px 0;}
- .debate_table p{padding:15px 20px;background:#f7f7f7;border:1px dashed #e4e4e4;}
- .debate_table th{background:url(images/post/type/vs.png) center center no-repeat;}
- .debate_table .s4{color:#0a6cba;}
- .de_ratio,.de_ratio span,.de_ratio div{background:url(images/post/type/debate.png) 0 0 no-repeat;}
- .debate_table td.de_ratio{width:60px;height:150px; vertical-align:bottom;}
- .de_ratio div span{height:3px;width:60px; background-position:-60px bottom; position:absolute;bottom:0;}
- .de_ratio div{width:60px;height:30%;background-position:-60px 0;overflow:hidden; position:relative;}
- .de_ratio .de_ratio_s{ background-position:-120px 0;}
- .de_ratio .de_ratio_s span{ background-position:-120px bottom;}
- .debate_oper .bt2 button{padding:0;width:74px;*width:70px;overflow:visible;}
- .debate_oper .bt2{margin:0;}
- .debate_square_btn,.debate_anti_btn,.debate_neutral_btn{height:18px;line-height:18px;}
- .debate_square_btn{border:1px solid #ee6821;}
- .debate_square_btn span{background:#ee6821;color:#fff;padding:0 .5em;}
- .debate_square_btn div,.debate_anti_btn div{cursor:pointer;padding:0 .5em;background:#fff;}
- .debate_square_btn em,.debate_anti_btn em{background:#fff;color:#333;}
- .debate_anti_btn{border:1px solid #23bceb;}
- .debate_anti_btn span{background:#23bceb;color:#fff;padding:0 .5em;}
- .debate_neutral_btn{background:#ffffee;border:1px solid #f5a25c;color:#ff6600;padding:0 10px;display:inline-block;}
- /*商品*/
- .goodsPost{padding-bottom:30px;}
- .goodsPost h5{font:bold 16px/2 Arial;}
- .goodsPost ul{border-top:1px solid #d5e6ed;}
- .goodsPost li{height:26px;line-height:26px;border-bottom:1px solid #d5e6ed;}
- .goodsPost li em{display:inline-block;width:80px;padding:0 0 0 15px; white-space:nowrap;color:#666;}
- .goodsPost li del{ font-size:14px; font-style:normal;}
- .goodsPost_player{float:left;width:200px;height:151px;padding:5px;border:1px solid #d5e6ed;}
- /*查看参与人员*/
- .partici{}
- .partici li{float:left;width:33%;line-height:25px; text-indent:1em;overflow:hidden;height:25px;}
- .partici li a{text-decoration:underline;}
- .partici li a:hover{ text-decoration:none;color:#333;}
- /*发帖来自*/
- .phone{padding-left:20px; font-size:12px;color:#666;background:url(images/pwicon/phone.png) 0 center no-repeat;margin:20px 0;}
- /*抢楼*/
- .rob_floors_win{width:113px;height:28px; text-indent:-2000em;display:block;overflow:hidden;background:url(images/pwicon/rob_floors_win.png) no-repeat;margin-bottom:10px;}
- /*回帖奖励*/
- .reply_reward{height:28px;line-height:28px;height:28px;width:120px;background:url(images/pwicon/reply_reward.png) no-repeat;}
- .reply_reward span{display:block;width:66px;height:28px;vertical-align:middle;overflow:hidden; text-indent:-2000em;float:left;}
- .reply_reward em{color:#ea5600;float:left;width:50px; text-align:center;font-style:normal;}
- /*勋章*/
- .read_medals img{margin-right:3px;}
- /*帖内置顶*/
- .read_topped{background:url(u/images/up.png) 0 center no-repeat;padding-left:14px;}
- /*标签*/
- .read_tags{background:url(images/pwicon/tags.png) 0 center no-repeat;padding-left:20px;}
- /*引用回复*/
- .quote_left{padding-left:16px;background:url(u/images/quoteA.png) 0 center no-repeat;}
- .quote_right{background:url(u/images/quoteB.png) 0 center no-repeat;padding:0 8px;}
- /*87新评分*/
- .read_score td{border-bottom:1px dashed #e4e4e4;padding:6px 0;}
- .read_score tr:hover td{background:#f3f9fb;}
- .read_score td.read_score_face{padding-left:10px;}
- .read_score td.read_score_face a{display:block;height:20px;width:20px;overflow:hidden;}
- .read_score td.read_score_time{padding-left:10px;padding-right:10px;}
- .read_score td.read_score_time .s4{ text-align:right;float:right;}
- .read_score_head{border:1px solid #e4e4e4;padding:8px 10px;background:#fff;background: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f7f7f7));background: -moz-linear-gradient(top, #ffffff, #f7f7f7);filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f7f7f7');}
- /*87新评分弹窗*/
- .read_score_pop{padding:10px 0;}
- .read_score_pop td,.read_score_pop th{padding:5px 0 5px 10px; font-size:12px;}
- .read_score_pop th{width:45px;line-height:24px; text-align:right; font-weight:100;}
- .rating_pop{padding:2px 0;}
- .rating_pop a{width:35px;display:inline-block;text-align:center;border:1px solid #c7d8e1;color:#425b79;background:#f3fafc;background: -webkit-gradient(linear, 0 0, 0 100%, from(#f8fdfe), to(#edf6f9));background: -moz-linear-gradient(top, #f8fdfe, #edf6f9);filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f8fdfe', endColorstr='#edf6f9');}
- .rating_pop a:hover{border-color:#4f8eb0;text-decoration:none;}
- .rating_pop a.less{border-color:#ecd8cf;color:#8d5230;background:#fffaf2;background: -webkit-gradient(linear, 0 0, 0 100%, from(#fffaf2), to(#fff0e6));background: -moz-linear-gradient(top, #fffaf2, #fff0e6);filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffaf2', endColorstr='#fff0e6');}
- .rating_pop a.less:hover{ border-color:#c58b69;}
- .rating_pop a.old{background:#f7f7f7;color:#999;border:1px solid #ccc; cursor:default; filter:none;}
- .rating_pop_surplus{color:#666;}
- </style>
- <!--[if IE]>
- <style>
- .readUser_info .one dt{padding-top:1px;}
- </style>
- <![endif]-->
- <link rel="icon" href="http://bbs.armfly.com/favicon.ico?v=3" type="image/x-icon">
- <script type="text/javascript" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/core.js"></script><script src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/zh_cn.js"></script>
- <script type="text/javascript" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/pw_ajax.js"></script>
- <script>
- var imgpath = 'images';
- var verifyhash = 'c4fe2bfc';
- var modeimg = '';
- var modeBase = '';
- var winduid = '2';
- var windid = 'armfly';
- var groupid = '3';
- var basename = '';
- var temp_basename = '';
- var db_shiftstyle = '2';
- var pw_baseurl = "http://bbs.armfly.com";
- function shiftStyle(){
- if(db_shiftstyle == 1){
- if (getObj('widthCfg').innerHTML=='切换到宽版') {
- if(!getObj('fullscreenStyle')) {
- var l = document.createElement('link');
- l.id="fullscreenStyle";
- l.rel="stylesheet";
- l.type="text/css";
- l.href="images/fullscreen.css";
- l.media="all";
- document.body.appendChild(l);
- }else {
- getObj('fullscreenStyle').disabled = false;
- }
- getObj('widthCfg').innerHTML='切换到窄版';
- var widthCfg = 1;
- } else {
- var widthCfg = 0;
- getObj('fullscreenStyle').disabled=true;
- getObj('widthCfg').innerHTML='切换到宽版';
- }
- SetCookie('widthCfg',widthCfg);
- if(typeof goTop!="undefined"){
- goTop.setStyle();
- }
- if(typeof messagetip!="undefined"&&typeof messagetip.db!="undefined"){
- messagetip.setStyle();
- messagetip.update();
- }
- }
- };
- </script>
- <!--[if IE 9 ]>
- <meta name="msapplication-task" content="name=网站首页; action-uri=http://bbs.armfly.com; icon-uri=favicon.ico" />
- <meta name="msapplication-task" content="name=个人中心; action-uri=u.php; icon-uri=images/ico/home.ico" />
- <meta name="msapplication-task" content="name=我的帖子; action-uri=apps.php?q=article; icon-uri=images/ico/post.ico" />
- <meta name="msapplication-task" content="name=消息中心; action-uri=message.php; icon-uri=images/ico/mail.ico" />
- <meta name="msapplication-task" content="name=我的设置; action-uri=profile.php; icon-uri=images/ico/edit.ico" />
- <![endif]-->
- <link rel="archives" title="安富莱电子论坛" href="http://bbs.armfly.com/simple/">
- <link rel="alternate" type="application/rss+xml" title="RSS" href="http://bbs.armfly.com/rss.php?fid=41">
- <script src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/zh_cn.js"></script></head>
- <body><script async="" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/init.php"></script><div id="pw_box" class="" style="position: absolute; left: -10000px; z-index: 1011;"></div>
- <div id="pw_all_tip" style="position: fixed; right: 10px; top: 0px; display: block;" data-msg="[{"num":157,"name":"站内信","url":"message.php?type=sms"},{"num":20,"name":"提到我","url":"apps.php?q=weibo&do=refer"},{"num":280,"name":"新通知","url":"message.php?type=notice"},{"num":36,"name":"新关注","url":"u.php?a=friend&type=attentioned"},{"num":0,"name":"新请求","url":"message.php?type=request"}]">
- <table><tbody><tr><td>
- <div class="pw_all_tip">
- <a href="javascript:void(0)" class="adel" id="pw_all_tclose" data-num="437">关闭</a>
- <p>157条新站内信,<a href="http://bbs.armfly.com/message.php?type=sms">查看站内信</a></p>
- <p>20条信息提到我,<a href="http://bbs.armfly.com/apps.php?q=weibo&do=refer">查看@我</a></p>
- <p>280个新通知,<a href="http://bbs.armfly.com/message.php?type=notice">查看新通知</a></p>
- <p>36个新关注,<a href="http://bbs.armfly.com/u.php?a=friend&type=attentioned">查看新关注</a></p>
- </div></td></tr></tbody></table></div>
- <div id="top">
- <div class="top cc">
- <ul>
- <li><a id="nav_key_up_72" href="http://bbs.armfly.com/m/introduce.php" title="">手机浏览</a></li>
- <li><a id="nav_key_up_60" href="http://bbs.armfly.com/sort.php" title="">统计排行</a></li>
- <div style="display: none;" class="pw_menu" id="nav_key_sub_60">
- <ul class="menuList">
- <li><a id="nav_key_up_62" href="http://bbs.armfly.com/sort.php?action=ipstate" title="">到访IP统计</a></li>
- <li><a id="nav_key_up_63" href="http://bbs.armfly.com/sort.php?action=team" title="">管理团队</a></li>
- <li><a id="nav_key_up_64" href="http://bbs.armfly.com/sort.php?action=admin" title="">管理统计</a></li>
- <li><a id="nav_key_up_65" href="http://bbs.armfly.com/sort.php?action=online" title="">在线会员</a></li>
- <li><a id="nav_key_up_66" href="http://bbs.armfly.com/sort.php?action=member" title="">会员排行</a></li>
- <li><a id="nav_key_up_67" href="http://bbs.armfly.com/sort.php?action=forum" title="">版块排行</a></li>
- <li><a id="nav_key_up_68" href="http://bbs.armfly.com/sort.php?action=article" title="">帖子排行</a></li>
- </ul>
- </div>
- </ul>
- </div>
- </div>
- <div class="tac" style="line-height:1;"><a href="http://wpa.b.qq.com/cgi/wpa.php?ln=1&key=XzgwMDEyMzMyNl8yODMwMjBfODAwMTIzMzI2XzJf" target="_blank" style="color:#FF1493;font-size:18px;">点击这里,立即和我们进行QQ联系</a></div>
- <div class="wrap">
- <div id="header">
- <div id="head" class="cc">
- <a href="http://bbs.armfly.com/"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/logo.png" class="fl" title="安富莱电子论坛"></a>
- <script>
- var userBubbleInfo = {"pw_all_tip_medal":1,"pw_all_tip_kmd":1,"pw_all_tip_AdUniversity":1,"pw_all_tip_account":1,"pw_all_tip_cloudAuthCode":1,"pw_all_tip_tucool":1,"pw_all_tip_usercard":1};
- </script>
- <dl class="login">
- <dt class="fr"><a href="http://bbs.armfly.com/u.php" hidefocus="true" class="img_50"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/none.gif" alt="armfly"></a></dt>
- <dd class="fr">
- <p class="l_info mb5"><span id="td_userinfomore" style="padding:0 5px;"><a href="http://bbs.armfly.com/u.php" class="b link_down"><span>armfly</span></a></span><span class="mr5"></span><a href="http://bbs.armfly.com/login.php?action=quit&verify=fcff3ff5" class="mr5">退出</a><span class="gray mr5">|</span><script>
- var td_userinfomore = {
- pz : 21,
- open : function() {
- getObj('td_userinfomore').className = 'current';
- if (typeof userBinding == 'object') {
- userBinding.append();
- }
- },
- close : function () {
- getObj('td_userinfomore').className = '';
- }
- };
- </script><a href="http://bbs.armfly.com/message.php" class="mr5">消息(437)</a><span id="td_profile" class="pd5"><a href="http://bbs.armfly.com/profile.php?action=modify" target="_blank" class="link_down"><span>设置</span></a></span><span class="gray mr5">|</span><a href="http://bbs.armfly.com/admin.php" target="_blank">系统设置</a></p><p>铜币:<a href="http://bbs.armfly.com/userpay.php" class="mr10">684 枚</a>威望:<a href="http://bbs.armfly.com/userpay.php" class="mr10">390 点</a>身份:<a href="http://bbs.armfly.com/profile.php?action=permission">管理员</a></p>
- </dd>
- </dl>
- <div id="menu_userinfomore" class="cc pw_menu" style="display:none;">
- <h6 style="left:-1px;right:auto;"><a href="http://bbs.armfly.com/u.php" class="b link_down"><span>armfly</span></a></h6>
- <div>
- <ul class="menu-half cc" style="width:26em;">
- <li>身份: 管理员</li>
- <li>帖子: 679</li>
- <li>今日: 0</li>
- <li>威望: 390 点</li>
- <li>铜币: 684 枚</li>
- <li>贡献值: 0 点</li>
- <li>最后登录: <span class="f10">2015-09-25</span></li>
- <li style="width:90%">登录IP: <span class="f10">27.24.213.92</span></li>
- </ul>
- <div class="userbindingMenu"></div>
- </div>
- </div>
- <div id="menu_profile" class="pw_menu" style="display:none;">
- <h6><a href="http://bbs.armfly.com/profile.php?action=modify" class="link_down"><span>设置</span></a></h6>
- <ul style="width:50px;" class="menuList">
- <li><a href="http://bbs.armfly.com/profile.php?action=modify" target="_blank">帐号</a></li>
- <li><a href="http://bbs.armfly.com/profile.php?action=privacy" target="_blank">隐私</a></li>
- <li><a href="http://bbs.armfly.com/userpay.php" target="_blank">积分</a></li>
- <li><a href="http://bbs.armfly.com/profile.php?action=permission" target="_blank">权限</a></li>
- </ul>
- </div>
- </div>
- <div class="nav_wrap">
- <div id="navA">
- <div class="navAL fl"> </div>
- <div class="navAR fr"> </div>
- <div class="navA">
- <div id="td_mymenu">快捷通道</div>
- <div id="menu_mymenu" style="display:none;">
- <div id="fast_menu" class="pw_menu">
- <ul class="menuList cc">
- <li><a href="http://bbs.armfly.com/apps.php?q=article"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/posts.png" alt="帖子">帖子</a></li>
- <li><a href="http://bbs.armfly.com/apps.php?q=medal"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/medal.png" alt="勋章">勋章</a></li>
- <li><a href="http://bbs.armfly.com/u.php?a=friend"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/friend.png" alt="关注">关注</a></li>
- <li><a href="http://bbs.armfly.com/jobcenter.php"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/jobcenter.png" alt="任务">任务</a></li>
- </ul>
- </div>
- </div>
- <ul class="cc">
- <li><a id="nav_key_up_37" href="http://www.armfly.com/" title="">安富莱官网</a></li>
- <li class="current" onmouseover="tmpHideAllCross('nav_key_sub_36',false);"><a id="nav_key_up_36" href="http://bbs.armfly.com/index.php?m=bbs" title="">技术论坛</a></li>
- <li><a id="nav_key_up_71" href="https://shop59420381.taobao.com/" title=""><u>去淘宝购买</u></a></li>
- <li><a id="nav_key_up_" href="" title=""></a></li>
- </ul>
- </div>
- </div>
- <div id="navB" style="display:none" class="pr">
- </div>
- </div>
- <script>
- var timeoutSpecifyId = {};
- var navBStyle = 'style="display:none"';
- function tmpClose(elementId) {
- timeoutSpecifyId[elementId] = setTimeout(function() {
- getObj(elementId).style.display = 'none';
- }, 100);
- }
- function tmpHideAllCross(currentSubMenuId,showNavB) {
- if(!getObj('navB')) return;
- if (showNavB) {
- getObj('navB').style.display = '';
- }
- var elements = getElementsByClassName('navB', getObj('navB'));
- if(elements.length){
- for (var i=0,len = elements.length; i<len; i++) {
- if (elements[i].id != '' && elements[i].id != currentSubMenuId) elements[i].style.display = 'none';
- }
- }
- }
- function ctrlSubMenu(parentId, subMenuId) {
- try {
- clearTimeout(timeoutSpecifyId[subMenuId]);
- tmpHideAllCross(subMenuId,true);
- getObj(subMenuId).style.display = '';
- getObj(parentId).onmouseout = function() {
- tmpClose(subMenuId);
- timeoutSpecifyId[parentId] = setTimeout(function() {
- if (navBStyle) {
- getObj('navB').style.display = 'none';
- }
- }, 100);
- getObj(parentId).onmouseout = '';
- };
- getObj(subMenuId).onmouseout = function() {
- tmpClose(subMenuId);
- if (navBStyle) {
- getObj('navB').style.display = 'none';
- }
- };
- getObj(subMenuId).onmouseover = function() {
- clearTimeout(timeoutSpecifyId[subMenuId]);
- clearTimeout(timeoutSpecifyId[parentId]);
- getObj(subMenuId).style.display = '';
- getObj('navB').style.display = '';
- };
- }catch(e){}
- }
- </script>
- <div id="searchA">
- <div class="searchA_right fr"> </div>
- <div class="searchA cc">
- <script>
- var ins_method = 'AND';
- var ins_sch_area = '1';
- var ins_time = 'all';
- var ins_fid = '41';
- </script>
- <form action="http://bbs.armfly.com/searcher.php" method="post" onsubmit="return searchInput();">
- <input type="hidden" value="c4fe2bfc" name="verify">
- <input value="2" type="hidden" name="step">
- <input value="thread" type="hidden" id="search_type" name="type">
- <div class="ip"><input id="search_input" type="text" value="搜索其实很简单!" class="gray" name="keyword" onfocus="searchFocus(this)" onblur="searchBlur(this)"></div>
- <div class="s_select" onmouseout="this.firstChild.style.display='none';" onmouseover="this.firstChild.style.display='block';"><ul onclick="getSearchType(event)"><li type="thread" style="display:none">帖子</li><li type="user">用户</li><li type="forum">版块</li></ul><h6 class="w">帖子</h6></div>
- <button type="submit" class="fl cp">搜索</button>
- </form>
- <div class="s_tags">
- <span>热搜:</span>
- <a href="http://bbs.armfly.com/searcher.php?keyword=STM32&type=thread" class="s4" target="_blank">STM32</a><a href="http://bbs.armfly.com/searcher.php?keyword=JLINK&type=thread" class="s4" target="_blank">JLINK</a><a href="http://bbs.armfly.com/searcher.php?keyword=%CA%BE%B2%A8%C6%F7&type=thread" class="s4" target="_blank">示波器</a><a href="http://bbs.armfly.com/searcher.php?keyword=ADS1256&type=thread" class="s4" target="_blank">ADS1256</a><a href="http://bbs.armfly.com/searcher.php?keyword=RA8875&type=thread" class="s4" target="_blank">RA8875</a> </div>
- </div>
- </div>
- </div>
- <div class="tac mb5">
- </div>
- <div class="main-wrap">
- <div id="main">
- <!--ads begin-->
- <!--面包屑-->
- <div id="breadCrumb" class="cc">
- <img id="td_cate" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/home.gif" title="快速跳转至其他版块" onclick="return pwForumList(false,false,null,this);" class="cp breadHome"><em class="breadEm"></em><a href="http://bbs.armfly.com/index.php?m=bbs" title="安富莱电子论坛">安富莱电子论坛</a><em>></em><a href="http://bbs.armfly.com/thread.php?fid=41">触摸屏一体机</a><em>></em><a href="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind.htm">MODBUS协议整理</a>
- </div>
- <!--广播台开始-->
- <div id="cloudwind_read_top"></div>
- <!--发帖 分页-->
- <div class="cc mb10">
- <a href="http://bbs.armfly.com/post.php?fid=41#breadCrumb" class="post fr" id="td_post" title="发帖">发帖</a>
- <a href="http://bbs.armfly.com/post.php?action=reply&fid=41&tid=3732" class="replay fr mr10" rel="nofollow">回复</a>
- <div style="padding-top:3px;"><span class="pages"><a href="http://bbs.armfly.com/thread.php?fid=41#tabA" class="w pages_pre">返回列表</a></span><span class="fl"></span></div>
- </div>
- <div id="menu_post" class="pw_menu tac" style="display:none;">
- <ul class="menuList" style="width:70px;" id="post_typeChoose">
- <li><a href="http://bbs.armfly.com/post.php?fid=41" hidefocus="true">新帖</a></li>
- <li><a href="http://bbs.armfly.com/post.php?fid=41&special=1" hidefocus="true" rel="nofollow">投票</a></li>
- </ul>
- </div>
- <!--帖子管理-->
- <script type="text/javascript">
- function replyManage(){
- /*计数获取*/
- this.checknum = function(all){
- var a = b = 0;
- var selected = '';
- var check = document.getElementsByName('selid[]');
- for (var i=0,j=check.length; i < j; i++) {
- if(!all && check[i].checked) {
- selected += '&pidarray[' + a + ']=' + check[i].value;
- a++;
- }else if(all == 1){
- check[i].checked = true;
- a++;
- }else if(all == 2){
- check[i].checked = false;
- b++;
- }else{
- b++;
- }
- }
- return new Array(a,b,selected);
- }
- this.checkinfo = '';
- this.setCounter = function(num){
- var tags = document.getElementsByTagName('span');
- for(var i=0,j = tags.length;i < j;i++){
- if(tags[i].id == 'select_count')tags[i].innerHTML = num;
- }
- }
- this.show = function(popDiv,obj){
- this.checkinfo = this.checknum(0);
- if(this.checkinfo[0] > 0){
- this.setCounter(this.checkinfo[0]);
- read.open(popDiv,obj,2);
- }else{
- read.close();
- }
- }
- this.checkall = function(obj){
- var allType = 1;//1全选,2取消全选
- if(!obj.checked)allType = 2;
- this.checkinfo = this.checknum(allType);
- this.setCounter(this.checkinfo[0]);
- }
- }
- var replyManage = new replyManage;
- </script>
- <div class="readAdmin cc">
- <a id="headtopic" onclick="return sendurl(this,1)" href="http://bbs.armfly.com/mawhole.php?action=headtopic&fid=41&seltid=3732" title="置顶帖子">置顶</a>
- <a id="rdigest" onclick="return sendurl(this,1)" href="http://bbs.armfly.com/mawhole.php?action=digest&fid=41&seltid=3732" title="精华帖子">精华</a>
- <a id="edit" href="http://bbs.armfly.com/mawhole.php?action=edit&fid=41&seltid=3732" onclick="return sendurl(this,1)" title="编辑标题颜色">加亮</a><span>|</span>
- <a id="lock" href="http://bbs.armfly.com/mawhole.php?action=lock&fid=41&seltid=3732" onclick="return sendurl(this,1)" title="锁定帖子">锁定</a>
- <a id="pushtopic" onclick="return sendurl(this,1)" href="http://bbs.armfly.com/mawhole.php?action=pushtopic&fid=41&seltid=3732" title="提前">提前</a>
- <a id="downtopic" href="http://bbs.armfly.com/mawhole.php?action=downtopic&fid=41&seltid=3732" onclick="return sendurl(this,1)" title="将帖子往后压">压帖</a><span>|</span>
- <a id="edit" href="http://bbs.armfly.com/mawhole.php?action=type&fid=41&seltid=3732" onclick="return sendurl(this,1)" title="分类帖子">分类</a>
- <a id="move" onclick="return sendurl(this,1)" href="http://bbs.armfly.com/mawhole.php?action=move&fid=41&seltid=3732" title="移动帖子">移动</a>
- <a id="copy" href="http://bbs.armfly.com/mawhole.php?action=copy&fid=41&seltid=3732" onclick="return sendurl(this,1)" title="复制帖子">复制</a>
- <a id="unit" onclick="return sendurl(this,1)" href="http://bbs.armfly.com/mawhole.php?action=unite&fid=41&seltid=3732" title="合并帖子">合并</a><span>|</span>
- <a onclick="frontAdmin._sendmsg('mode.php?m=area&q=dialog&action=pushto&fid=41&selid=3732','',this.id)" title="推送自定义信息">推送</a>
-
- <span>|</span><a id="del" href="http://bbs.armfly.com/mawhole.php?action=del&fid=41&seltid=3732" onclick="return sendurl(this,1)" title="删除帖子">删除</a>
- </div>
- <!--帖子楼层开始-->
- <script type="text/javascript">
- var readFace = {
- t1 : null,
- t2 : null,
- show : function(id) {this.t1 = setTimeout(function() {getObj(id).style.display = '';}, 400);},
- clear : function() {clearTimeout(this.t1);},
- close : function(id) {getObj(id).style.display = 'none';}
- }
- function ajaxPingcp(href) {
- ajax.send(href,'',function(){
- // console.log(ajax.runscript(ajax.request.responseText));
- /pid=(\d+)/.exec(href);
- var pid = RegExp.$1;
- if(pid == 0) pid = 'tpc';
- getObj('pingtable' + pid).innerHTML = ajax.runscript(ajax.request.responseText);
- });
- return false;
- }
- //贴子附件hover处理
- function postAttImgHover(menuid,tdid){
- var menu = getObj(menuid);
- var td = getObj(menuid);
- menu.style.display = '';
- td.parentNode.onmouseout = menu.onmmouseout = function(e) {
- menu.style.display = 'none';
- };
- menu.onmouseover = function() {this.style.display = '';}
- }
- </script>
- <div id="pw_content" class="mb10">
- <form name="delatc" method="post">
- <input type="hidden" name="fid" value="41">
- <input type="hidden" name="tid" id="tid" value="3732">
- <input type="hidden" name="hideUid" id="hideUid" value="">
- <div class="readTop">
- <table width="100%" style="table-layout:fixed;">
- <tbody><tr>
- <td class="floot_left">
- <div class="readNum">
- <ul class="cc">
- <li><em>989</em>阅读</li>
- <li><em id="topicRepliesNum">3</em>回复</li>
- </ul>
- </div>
- </td>
- <td>
- <h1 id="subject_tpc" class="read_h1">MODBUS协议整理 <a href="javascript:;" title="一键复制帖子标题和链接" onclick="copyUrl('');" class="gray w" style="color:#999;">[复制链接]</a></h1>
- </td>
- <td width="115" class="readStairs">
- <a href="http://bbs.armfly.com/link.php?action=previous&fid=41&tid=3732&fpage=0&goto=previous" class="read_prev" title="上一主题" rel="nofollow">上一主题</a>
- <a href="http://bbs.armfly.com/link.php?action=previous&fid=41&tid=3732&fpage=0&goto=next" class="read_next" title="下一主题" rel="nofollow">下一主题</a><input type="text" class="input mr5" name="floor" id="floor" onkeypress="if(event.keyCode == 13){getFloorUrl(this);return false;};" title="查看指定楼层"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/stairs.png" onclick="getFloorUrl(getObj('floor'))" class="cp" align="absmiddle" title="查看指定楼层"></td>
- </tr>
- </tbody></table>
- </div>
- <table width="100%" class="flootbg"><tbody><tr><td>
- </td></tr></tbody></table>
- <a name="tpc"></a>
- <div class="read_t" id="readfloor_tpc">
- <table width="100%" class="floot">
- <tbody><tr>
- <td rowspan="2" class="floot_left">
- <div class="readName b">
- <span class="women_ol mr5" title="在线" alt="在线">在线</span><a href="http://bbs.armfly.com/u.php?uid=2">armfly</a>
- </div>
- <div class="floot_leftdiv">
- <div class="readFace">
- <div class="fl">
- <div class="card" style="display:none" id="readFace_0" onmouseover="this.style.display='';" onmouseout="this.style.display='none';">
- <dl class="cc">
- <dt class="fl">
- <div class="cc"><a href="http://bbs.armfly.com/u.php?uid=2" class="face_img"><img class="pic" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/none.gif" width="120" height="120" border="0"></a></div>
- <p>UID:2</p>
- </dt>
- <dd class="ddA">
- <ul class="cc half">
- <li><span>注册时间</span>2012-04-30</li>
- <li><span>最后登录</span>2015-09-25</li>
- <li><span>在线时间</span>1474小时</li>
- </ul>
- </dd>
- <dd class="ddA">
- <ul class="cc half">
- <li><span>发帖</span>679</li>
- <li><a href="http://bbs.armfly.com/apps.php?q=article&uid=2" target="_blank" rel="nofollow">搜Ta的帖子</a></li>
- <li><span>精华</span><a href="http://bbs.armfly.com/searcher.php?authorid=2&digest=1" target="_blank">14</a></li>
- <li class="cc"><span>铜币</span>684</li><li class="cc"><span>威望</span>390</li><li class="cc"><span>贡献值</span>0</li><li class="cc"><span>银元</span>0</li>
- </ul>
- </dd>
- <dd class="ddB">
- <a href="http://bbs.armfly.com/u.php?uid=2" class="add_home">访问TA的空间</a><a href="javascript:;" onclick="sendmsg('pw_ajax.php?action=addfriend&touid=2')" class="add_fri">加好友</a><a href="javascript:;" onclick="sendmsg('pw_ajax.php?action=usertool&uid=2','',this.id)" class="add_pro">用道具</a>
- </dd>
- </dl>
- </div>
- </div>
- </div>
- <a href="http://bbs.armfly.com/u.php?uid=2" id="card_sf_tpc_2" class="userCard face_img">
- <img onmouseover="readFace.show('readFace_0');" onmouseout="readFace.clear()" class="pic" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/none.gif" width="120" height="120" border="0">
- </a>
- <div class="readLevel mb5"><a href="http://bbs.armfly.com/profile.php?action=permission&gid=3" rel="nofollow">管理员</a><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/21.gif"></div>
- <div class="fl" id="pw_all_tip_medal" style="display:none">
- <div style="position:absolute;z-index:99;margin-top:-50px;">
- <table><tbody><tr><td>
- <div class="pw_all_tip">
- <a href="javascript:void(0)" class="adel">关闭</a>
- <dl class="cc">
- <dt>个人中心可以申请新版勋章哦</dt>
- <dd><a href="http://bbs.armfly.com/apps.php?q=medal&a=all" class="s4 mr10" rel="nofollow">立即申请</a><a class="bb_close" href="javascript:void(0)">知道了</a></dd>
- </dl>
- </div>
- <div class="pw_all_angle_bot"></div>
- </td></tr></tbody></table>
- </div>
- </div>
- <div id="pw_all_pos_medal" style="width:0;height:0;font-size:0;line-height:0;overflow:hidden;"> </div>
- <div class="read_medals"><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/shequjumin.png" width="30" height="30" title="社区居民"></a><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/zuiaishafa.png" width="30" height="30" title="最爱沙发"></a><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/shequmingxing.png" width="30" height="30" title="社区明星"></a><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/rexinhuiyuan.png" width="30" height="30" title="忠实会员"></a><br></div>
- <div class="readUser_info cc mb10">
- <div class="one" id="basic_info_tpc">
- <dl class="cc"><dt>发帖</dt><dd>679</dd></dl>
- <dl class="cc"><dt>铜币</dt><dd>684</dd></dl><dl class="cc"><dt>威望</dt><dd>390</dd></dl><dl class="cc"><dt>贡献值</dt><dd>0</dd></dl><dl class="cc"><dt>银元</dt><dd>0</dd></dl>
- </div>
- <ul class="two cc">
- </ul>
- </div>
- </div>
- </td>
- <td class="floot_right" id="td_tpc"><a name="post_tpc"></a>
- <!--印戳-->
- <!--楼层信息及编辑-->
- <div class="tipTop s6">
- <span class="fr">
- <a href="javascript:;" onclick="window.location=('read.php?tid=3732&uid=2&ds=1&toread=1');return false;" title="只看楼主的所有帖子" class="mr5 s6">只看楼主</a>
- <a href="http://bbs.armfly.com/read.php?tid=3732&ordertype=desc&ds=1&toread=1" title="倒序阅读" class="mr5 s6" rel="nofollow">倒序阅读</a>
- <a href="javascript:;" id="usetool" onclick="sendmsg('pw_ajax.php?action=usetool','',this.id)" class="s6">使用道具</a>
- </span>
- <a class="s2 b cp" onclick="copyFloorUrl('tpc')" title="复制此楼地址">楼主</a> <span title="2014-06-22 06:47:32">发表于: 2014-06-22</span>
- , <span id="viewip_tpc_0" title="IP:61.164.214.70">来自:浙江省温州市
- </span>
- , <a href="http://bbs.armfly.com/post.php?action=modify&fid=41&tid=3732&pid=tpc&article=0#breadCrumb" id="modify_tpc" onclick="return sendurl(this,4,'',event)" title="编辑" class="s4">编辑</a>
- </div>
- <!--管理提醒-->
- <!--活动参加按钮-->
- <div id="p_tpc"></div>
-
- <!--帖子右侧(广告/动漫表情)-->
- <div class="readCon_right tar">
- </div>
- <!--content_read-->
- <div class="tpc_content">
- <div class="f14 mb10" id="read_tpc">
- <br><br><font size="6"><b><font size="5">1.Modbus简介——来自维基百科</font></b></font><br><br><br>Modbus是一种串行通信协议,是Modicon于1979年,为使用可编程逻辑控制器(PLC)而发表的。MODBUS是工业领域通信协议的业界标准,并且现在是工业电子设备之间相当常用的连接方式。Modbus比其他通信协议使用的更广泛的主要原因有:<br>1.公开发表并且无版税要求<br>2.相对容易的工业网络部署<br>3.对供应商来说,修改移动原生的位元或字节没有很多限制<br><br><br><div align="left"><b>2.MODBUS</b><b><font face="宋体 ">指令说明</font></b><b><font size="3"></font></b></div><div align="left"><b>2.1 </b><b><font face="宋体 ">读线圈寄存器</font></b><b>01H</b><b><font size="2"></font></b></div><div align="left">1) <font face="宋体 ">描述:</font></div><div align="left"><font face="宋体 ">读</font>MODBUS<font face="宋体 ">从机线圈寄存器当前状态。</font></div><div align="left">2) <font face="宋体 ">查询:</font></div><div align="left"><font face="宋体 ">例如从机地址为</font>11H<font face="宋体 ">,线圈寄存器的起始地址为</font>0013H<font face="宋体 ">,结束地址为</font>0037H<font face="宋体 ">。该次查询总共访问</font>37<font face="宋体 ">个线圈寄存器。</font></div><div align="center"><font face="宋体 ">表</font>2.1.1 <font face="宋体 ">读线圈寄存器-查询</font></div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><div align="left"> <font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">Hex<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">从机地址</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">11<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">功能码</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">01<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">寄存器起始地址高字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">寄存器起始地址低字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">13<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">寄存器数量高字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">寄存器数量低字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">25<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left">CRC<font face="宋体 ">校验高字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0E<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left">CRC<font face="宋体 ">校验低字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">84<font size="1"></font></div></td></tr></tbody></table></div><div align="left"> </div><div align="left"><br></div><div align="left"> </div><div align="left">3) <font face="宋体 ">响应</font></div><div align="left"><font face="宋体 ">响应负载中的各线圈状态与数据内容每位相对应。</font>1<font face="宋体 ">代表</font>ON<font face="宋体 ">,</font>0<font face="宋体 ">代表</font>OFF<font face="宋体 ">。若返回的线圈数不为</font>8<font face="宋体 ">的倍数,则在最后数据字节未尾使用</font>0<font face="宋体 ">代替。</font></div><div align="center"><font face="宋体 ">表</font>2.1.2 <font face="宋体 ">读线圈寄存器-响应</font></div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><div align="left"> <font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">Hex<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">从机地址</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">11<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">功能码</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">01<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">返回字节数</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">05<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">数据</font>1(<font face="宋体 ">线圈</font>0013H-<font face="宋体 ">线圈</font>001AH)<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">CD<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">数据</font>2(<font face="宋体 ">线圈</font>001BH-<font face="宋体 ">线圈</font>0022H)<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">6B<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">数据</font>3(<font face="宋体 ">线圈</font>0023H-<font face="宋体 ">线圈</font>002AH)<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">B2<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">数据</font>4(<font face="宋体 ">线圈</font>0032H-<font face="宋体 ">线圈</font>002BH)<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0E<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">数据</font>5(<font face="宋体 ">线圈</font>0037H-<font face="宋体 ">线圈</font>0033H)<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">1B<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left">CRC<font face="宋体 ">校验高字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">45<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left">CRC<font face="宋体 ">校验低字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">E6<font size="1"></font></div></td></tr></tbody></table></div><div align="left"><font face="宋体 ">线圈</font>0013H<font face="宋体 ">到线圈</font>001AH<font face="宋体 ">的状态为</font>CDH<font face="宋体 ">,二进制值为</font>11001101<font face="宋体 ">,该字节的最高字节为线圈</font>001AH<font face="宋体 ">,最低字节为线圈</font>0013H<font face="宋体 ">。线圈</font>001AH<font face="宋体 ">到线圈</font>0013H<font face="宋体 ">的状态分别为</font>ON-ON-OFF-OFF-ON-ON-OFF-ON<font face="宋体 ">。</font></div><div align="center"><font face="宋体 ">表</font>2.1.3 <font face="宋体 ">线圈</font>0013H<font face="宋体 ">到</font>001A<font face="宋体 ">状态</font></div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><div align="left">001AH<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0019H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0018H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0017H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0016H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0015H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0014H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0013H<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left">ON<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">ON<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">OFF<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">OFF<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">ON<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">ON<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">OFF<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">ON<font size="1"></font></div></td></tr></tbody></table></div><div align="left"><font face="宋体 ">最后一个数据字节中,线圈</font>0033H<font face="宋体 ">到线圈</font>0037<font face="宋体 ">状态为</font>1BH(<font face="宋体 ">二进制</font>00011011)<font face="宋体 ">,线圈</font>0037H<font face="宋体 ">是左数第</font>4<font face="宋体 ">位,线圈</font>0033H<font face="宋体 ">为该字节的最低字节,线圈</font>0037H<font face="宋体 ">至线圈</font>0033H<font face="宋体 ">的状态分别为</font>ON-ON-OFF-ON-ON<font face="宋体 ">,剩余</font>3<font face="宋体 ">位使用</font>0<font face="宋体 ">填充。</font></div><div align="center"><font face="宋体 ">表</font>2.1.4 <font face="宋体 ">线圈</font>0033H<font face="宋体 ">到线圈</font>0037<font face="宋体 ">状态</font></div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><div align="left">003AH<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0039H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0038H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0037H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0036H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0035H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0034H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0033H<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">填充</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">填充</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">填充</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">ON<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">ON<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">OFF<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">ON<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">ON<font size="1"></font></div></td></tr></tbody></table></div><div align="left"><div align="left"><b>2.2 </b><b><font face="宋体 ">读离散输入寄存器</font></b><b> 02H</b><b><font size="2"></font></b></div><div align="left">1) <font face="宋体 ">说明</font></div><div align="left"><font face="宋体 ">读离散输入寄存器状态。</font></div><div align="left">2) <font face="宋体 ">查询</font></div><div align="left"><font face="宋体 ">从机地址为</font>11H<font face="宋体 ">。离散输入寄存器的起始地址为</font>00C4H<font face="宋体 ">,结束寄存器地址为</font>00D9H<font face="宋体 ">。总共访问</font>32<font face="宋体 ">个离散输入寄存器。</font></div><div align="center"><font face="宋体 ">表</font> 2.2.1 <font face="宋体 ">读离散输入寄存器</font>——<font face="宋体 ">查询</font></div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><div align="left"> <font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">Hex<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">从机地址</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">11<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">功能码</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">02<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">寄存器地址高字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">寄存器地址低字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">C4<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">寄存器数量高字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">寄存器数量低字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">16<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left">CRC<font face="宋体 ">校验高字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">BA<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left">CRC<font face="宋体 ">校验低字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">A9<font size="1"></font></div></td></tr></tbody></table></div><div align="left"><br></div><div align="left"> </div><div align="left">3) <font face="宋体 ">响应</font></div><div align="left"><font face="宋体 ">响应各离散输入寄存器状态,分别对应数据区中的每位值,</font>1 <font face="宋体 ">代表</font>ON<font face="宋体 ">;</font>0 <font face="宋体 ">代表</font>OFF<font face="宋体 ">。第一个数据字节的</font>LSB(<font face="宋体 ">最低字节</font>)<font face="宋体 ">为查询的寻址地址,其他输入口按顺序在该字节中由低字节向高字节排列,直到填充满</font>8<font face="宋体 ">位。下一个字节中的</font>8<font face="宋体 ">个输入位也是从低字节到高字节排列。若返回的输入位数不是</font>8<font face="宋体 ">的倍数,则在最后的数据字节中的剩余位至该字节的最高位使用</font>0<font face="宋体 ">填充。</font></div><div align="center"><font face="宋体 ">表</font>2.2.1 <font face="宋体 ">读输入寄存器-响应</font></div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><div align="left"><br><font size="1"></font></div><div align="left"> <font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">Hex<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">从机地址</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">11<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">功能码</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">02<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">返回字节数</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">03<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">数据</font>1(00C4H-00CBH)<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">AC<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">数据</font>2(00CCH-00D3H)<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">DB<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">数据</font>3(00D4H-00D9H)<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">35<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left">CRC<font face="宋体 ">校验高字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">20<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left">CRC<font face="宋体 ">校验低字节</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">18<font size="1"></font></div></td></tr></tbody></table></div><div align="left"><font face="宋体 ">离散输入寄存器</font>00D4H<font face="宋体 ">到</font>00D9H<font face="宋体 ">的状态为</font>35H (<font face="宋体 ">二进制</font>00110101)<font face="宋体 ">。输入寄存器</font>00D9H<font face="宋体 ">为左数第</font>3<font face="宋体 ">位,输入寄存器</font>00D4<font face="宋体 ">为最低位,输入寄存器</font>00D9H<font face="宋体 ">到</font>00D4H<font face="宋体 ">的状态分别为</font>ON-ON-OFF-ON-OFF-ON<font face="宋体 ">。</font>00DBH<font face="宋体 ">寄存器和</font>00DAH<font face="宋体 ">寄存器被</font>0<font face="宋体 ">填充。</font></div><div align="center"><font face="宋体 ">表</font>2.2.2 <font face="宋体 ">离散输入寄存器</font>00C4H<font face="宋体 ">到</font>00DBH<font face="宋体 ">状态</font></div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><div align="left">00CBH<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00CAH<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00C9H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00C8H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00C7H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00C6H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00C5H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00C4H<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left">0<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">1<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">1<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">1<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">1<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left">00D3H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00D2H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00D1H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00D0H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00CFH<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00CEH<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00CDH<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00CCH<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left">1<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">1<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">1<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">1<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">1<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">1<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left">00DBH<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00DAH<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00D9H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00D8H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00D7H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00D6H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00D5H<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">00D4H<font size="1"></font></div></td></tr><tr><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">填充</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left"><font face="宋体 ">填充</font><font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">1<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">1<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">1<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">0<font size="1"></font></div></td><td style="border-color:#d5e6ed"><div align="left">1<font size="1"></font></div></td></tr></tbody></table></div><div align="left"><br></div><div align="left"> </div></div><br> <br> <br> <br>
- </div>
- </div>
- <!--content_read-->
- </td>
- </tr>
- <tr>
- <td class="floot_bottom">
- <!--评分-->
- <div class="read_score mb20" style="display:none" id="mark_tpc">
- <div class="read_score_head">
- <a href="http://bbs.armfly.com/masingle.php?action=pingcp&fid=41&tid=3732&pid=tpc&rpage=1" onclick="sendmsg('masingle.php?ajax=1&action=pingcp&fid=41&tid=3732&pid=tpc&rpage=1')" title="管理评分记录" class="fr s4">评分管理</a>
- 共<span class="s2 b" id="pingNum_tpc"></span>条评分<span id="pingTotal_tpc">
- </span>
- </div>
- <div id="pingtabletpc">
- <div id="createpingbox_tpc"></div>
- <table width="100%">
-
-
- </table>
- <div class="p10 cc">
-
- <input id="pingPageNum_tpc" type="hidden" value="2">
- <script>
- getObj('pingPageNum_tpc').value = 2;
- </script>
- </div>
- </div>
- <div id="w_tpc" class="c"></div>
- </div>
- <!--评分结束-->
- <div class="userOper">
- <a class="r_score" id="showping_tpc" href="http://bbs.armfly.com/operate.php?action=showping&tid=3732&pid=tpc&page=1" onclick="sendmsg('operate.php?ajax=1&action=showping&tid=3732&pid=tpc&page=1');" title="评分">评分</a>
- <a class="r_keep" href="http://bbs.armfly.com/apps.php?q=collection&a=favor&type=postfavor&ajax=1&id=3732" onclick="return ajaxurl(this)" id="favor" title="收藏为私有">收藏</a>
- <a class="r_recommend cp" onclick="sendmsg('operate.php?action=toweibo&ajax=1&type=topic&id=3732','','td_read_tpc');" title="发送到新鲜事">新鲜事</a>
- </div>
- <div id="cloudwind_read_content"></div>
- <div class="tipBottom cc">
- <div class="fl readbot">
- <a class="r-reply" title="回复此楼" href="javascript:void(0);" onclick="postreply('回 楼主(armfly) 的帖子','pw_ajax.php?action=quickpost&fid=41&tid=3732&pid=tpc&article=0&page=1');">回复</a>
- </div>
- <div class="fr">
- <a onclick="sendmsg('pw_ajax.php?action=report&type=topic&tid=3732&pid=tpc','',this.id);" title="举报此帖" href="javascript:;" class="mr5">举报</a>
- <label for="pid_tpc" class="cp"><input type="checkbox" onclick="replyManage.show('postbatch',this.id)" value="tpc" id="pid_tpc" name="selid[]" autocomplete="off">帖子操作</label>
- </div>
- </div>
- </td>
- </tr>
- </tbody></table>
- <table width="100%" style="table-layout:fixed;">
- <tbody><tr>
- <td class="floot_left">
- </td>
- <td>
- <div class="shareAll cc">
- <em>分享到</em>
- <a href="javascript:void(0)" rel="nofollow" onclick="window.open('http://share.jianghu.taobao.com/share/addShare.htm?title='+encodeURIComponent(document.title.substring(0,76))+'&url='+encodeURIComponent(location.href)+'&content=','_blank','scrollbars=no,width=960,height=680,left=75,top=20,status=no,resizable=yes'); void 0" title="淘江湖">淘江湖</a>
- <!-- 分享到新浪 -->
-
- <a rel="nofollow" href="javascript:(function(){window.open('http://v.t.sina.com.cn/share/share.php?title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(location.href)+'&source=bookmark','_blank','width=450,height=400');})()" title="新浪微博" style="background-position:0 -20px;">新浪</a>
- <!-- 分享到新浪 -->
- <a rel="nofollow" href="javascript:void(0)" onclick="window.open( 'http://v.t.qq.com/share/share.php?url='+encodeURIComponent(document.location)+'&appkey=&site=&title='+encodeURI(document.title),'', 'width=700, height=680, top=0, left=0, toolbar=no, menubar=no, scrollbars=no, location=yes, resizable=no, status=no' );" title="QQ微博" style="background-position:0 -40px;">QQ微博</a>
- <a rel="nofollow" href="javascript:void(0);" onclick="window.open('http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url='+encodeURIComponent(document.location.href));return false;" title="QQ空间" style="background-position:0 -60px;">QQ空间</a>
- <a rel="nofollow" href="javascript:d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(kaixin=window.open('http://www.kaixin001.com/~repaste/repaste.php?&rurl='+escape(d.location.href)+'&rtitle='+escape(d.title)+'&rcontent='+escape(d.title),'kaixin'));kaixin.focus();" title="开心" style="background-position:0 -80px;">开心</a>
- <a rel="nofollow" href="javascript:void((function(s,d,e){if(/renren\.com/.test(d.location))return;var f='http://share.renren.com/share/buttonshare?link=',u=d.location,l=d.title,p=[e(u),'&title=',e(l)].join('');function%20a(){if(!window.open([f,p].join(''),'xnshare',['toolbar=0,status=0,resizable=1,width=626,height=436,left=',(s.width-626)/2,',top=',(s.height-436)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else%20a();})(screen,document,encodeURIComponent));" title="人人" style="background-position:0 -100px;">人人</a>
- <a rel="nofollow" href="javascript:void(function(){var d=document,e=encodeURIComponent,s1=window.getSelection,s2=d.getSelection,s3=d.selection,s=s1?s1():s2?s2():s3?s3.createRange().text:'',r='http://www.douban.com/recommend/?url='+e(d.location.href)+'&title='+e(d.title)+'&sel='+e(s)+'&v=1',x=function(){if(!window.open(r,'douban','toolbar=0,resizable=1,scrollbars=yes,status=1,width=450,height=330'))location.href=r+'&r=1'};if(/Firefox/.test(navigator.userAgent)){setTimeout(x,0)}else{x()}})()" title="豆瓣" style="background-position:0 -120px;">豆瓣</a>
- <a rel="nofollow" onclick="(function(){var url = 'link=http://news.163.com/&source='+ encodeURIComponent('网易新闻')+ '&info='+ encodeURIComponent(document.title) + ' ' + encodeURIComponent(document.location.href);window.open('http://t.163.com/article/user/checkLogin.do?'+url+'&'+new Date().getTime(),'newwindow','height=330,width=550,top='+(screen.height-280)/2+',left='+(screen.width-550)/2+', toolbar=no, menubar=no, scrollbars=no,resizable=yes,location=no, status=no');})()" href="javascript:void(0);" title="网易微博" style="background-position:0 -140px;">网易微博</a>
- <a rel="nofollow" href="javascript:void(0);" onclick="window.open('http://apps.hi.baidu.com/share/?title='+encodeURIComponent(document.title.substring(0,76))+'&url='+encodeURIComponent(location.href));return false;" title="百度空间" style="background-position:0 -180px;">百度</a>
- <a rel="nofollow" href="javascript:void(0);" onclick="window.open('http://xianguo.com/service/submitfav/?link='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));return false;" title="鲜果" style="background-position:0 -200px;">鲜果</a>
- <a rel="nofollow" href="javascript:void(0);" onclick="window.open('http://bai.sohu.com/share/blank/add.do?link='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));return false;" title="白社会" style="background-position:0 -220px;">白社会</a>
- <a rel="nofollow" href="javascript:void(0);" onclick="window.open('http://space.feixin.10086.cn/api/share?title='+encodeURIComponent(document.title)+'&url='+encodeURIComponent(location.href));return false;" title="飞信" style="background-position:0 -240px;">飞信</a>
- </div>
- </td>
- </tr>
- </tbody></table>
- </div>
- <table width="100%" class="flootbg"><tbody><tr><td>
- </td></tr></tbody></table>
- <a name="12195"></a>
- <div class="read_t" id="readfloor_12195">
- <table width="100%" class="floot">
- <tbody><tr>
- <td rowspan="2" class="floot_left">
- <div class="readName b">
- <span class="women_ol mr5" title="在线" alt="在线">在线</span><a href="http://bbs.armfly.com/u.php?uid=2">armfly</a>
- </div>
- <div class="floot_leftdiv">
- <div class="readFace">
- <div class="fl">
- <div class="card" style="display:none" id="readFace_1" onmouseover="this.style.display='';" onmouseout="this.style.display='none';">
- <dl class="cc">
- <dt class="fl">
- <div class="cc"><a href="http://bbs.armfly.com/u.php?uid=2" class="face_img"><img class="pic" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/none.gif" width="120" height="120" border="0"></a></div>
- <p>UID:2</p>
- </dt>
- <dd class="ddA">
- <ul class="cc half">
- <li><span>注册时间</span>2012-04-30</li>
- <li><span>最后登录</span>2015-09-25</li>
- <li><span>在线时间</span>1474小时</li>
- </ul>
- </dd>
- <dd class="ddA">
- <ul class="cc half">
- <li><span>发帖</span>679</li>
- <li><a href="http://bbs.armfly.com/apps.php?q=article&uid=2" target="_blank" rel="nofollow">搜Ta的帖子</a></li>
- <li><span>精华</span><a href="http://bbs.armfly.com/searcher.php?authorid=2&digest=1" target="_blank">14</a></li>
- <li class="cc"><span>铜币</span>684</li><li class="cc"><span>威望</span>390</li><li class="cc"><span>贡献值</span>0</li><li class="cc"><span>银元</span>0</li>
- </ul>
- </dd>
- <dd class="ddB">
- <a href="http://bbs.armfly.com/u.php?uid=2" class="add_home">访问TA的空间</a><a href="javascript:;" onclick="sendmsg('pw_ajax.php?action=addfriend&touid=2')" class="add_fri">加好友</a><a href="javascript:;" onclick="sendmsg('pw_ajax.php?action=usertool&uid=2','',this.id)" class="add_pro">用道具</a>
- </dd>
- </dl>
- </div>
- </div>
- </div>
- <a href="http://bbs.armfly.com/u.php?uid=2" id="card_sf_12195_2" class="userCard face_img">
- <img onmouseover="readFace.show('readFace_1');" onmouseout="readFace.clear()" class="pic" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/none.gif" width="120" height="120" border="0">
- </a>
- <div class="readLevel mb5"><a href="http://bbs.armfly.com/profile.php?action=permission&gid=3" rel="nofollow">管理员</a><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/21.gif"></div>
- <div class="read_medals"><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/shequjumin.png" width="30" height="30" title="社区居民"></a><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/zuiaishafa.png" width="30" height="30" title="最爱沙发"></a><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/shequmingxing.png" width="30" height="30" title="社区明星"></a><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/rexinhuiyuan.png" width="30" height="30" title="忠实会员"></a><br></div>
- <div class="readUser_info cc mb10">
- <div class="one" id="basic_info_12195">
- <dl class="cc"><dt>发帖</dt><dd>679</dd></dl>
- <dl class="cc"><dt>铜币</dt><dd>684</dd></dl><dl class="cc"><dt>威望</dt><dd>390</dd></dl><dl class="cc"><dt>贡献值</dt><dd>0</dd></dl><dl class="cc"><dt>银元</dt><dd>0</dd></dl>
- </div>
- <ul class="two cc">
- </ul>
- </div>
- </div>
- </td>
- <td class="floot_right" id="td_12195"><a name="post_12195"></a>
- <!--印戳-->
- <!--楼层信息及编辑-->
- <div class="tipTop s6">
- <span class="fr">
- <a href="javascript:;" onclick="window.location=('read.php?tid=3732&uid=2&ds=1&toread=1');return false;" title="只看该作者的所有回复" class="mr5 s6">只看该作者</a>
- </span>
- <a class="s2 b cp" onclick="copyFloorUrl('12195')" title="复制此楼地址">沙发</a> <span title="2014-06-22 06:52:03">发表于: 2014-06-22</span>
- , <span id="viewip_12195_1" title="IP:61.164.214.70">来自:浙江省温州市
- </span>
- , <a href="http://bbs.armfly.com/post.php?action=modify&fid=41&tid=3732&pid=12195&article=1#breadCrumb" id="modify_12195" onclick="return sendurl(this,4,'',event)" title="编辑" class="s4">编辑</a>
- </div>
- <div class="read_h1" style="margin-bottom:10px;" id="subject_12195"></div>
- <!--管理提醒-->
- <!--活动参加按钮-->
- <div id="p_12195"></div>
-
- <!--帖子右侧(广告/动漫表情)-->
- <div class="readCon_right tar">
- </div>
- <!--content_read-->
- <div class="tpc_content">
- <div class="f14 mb10" id="read_12195">
- <br><br><font size="5"><b>2.3 读保持寄存器 03H</b></font><br><br><br>1) 说明<br>读保持寄存器。可读取单个或多个保持寄存器。<br>2) 查询<br>从机地址为11H。保持寄存器的起始地址为006BH,结束地址为006DH。该次查询总共访问3个保持寄存器。<div align="center">表2.3.1 读保持寄存器-查询</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><br> </td><td style="border-color:#d5e6ed"><br>Hex</td></tr><tr><td style="border-color:#d5e6ed"><br>从机地址</td><td style="border-color:#d5e6ed"><br>11</td></tr><tr><td style="border-color:#d5e6ed"><br>功能码</td><td style="border-color:#d5e6ed"><br>03</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器地址高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器地址低字节</td><td style="border-color:#d5e6ed"><br>6B</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器数量高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器数量低字节</td><td style="border-color:#d5e6ed"><br>03</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC高字节</td><td style="border-color:#d5e6ed"><br>76</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC低字节</td><td style="border-color:#d5e6ed"><br>87</td></tr></tbody></table></div><br><br> <br>3) 响应<br>保持寄存器的长度为2个字节。对于单个保持寄存器而言,寄存器高字节数据先被传输,低字节数据后被传输。保持寄存器之间,低地址寄存器先被传输,高地址寄存器后被传输。<div align="center">表2.3.2 读保持寄存器-响应</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><br> </td><td style="border-color:#d5e6ed"><br>Hex</td></tr><tr><td style="border-color:#d5e6ed"><br>从机地址</td><td style="border-color:#d5e6ed"><br>11</td></tr><tr><td style="border-color:#d5e6ed"><br>功能码</td><td style="border-color:#d5e6ed"><br>03</td></tr><tr><td style="border-color:#d5e6ed"><br>字节数</td><td style="border-color:#d5e6ed"><br>06</td></tr><tr><td style="border-color:#d5e6ed"><br>数据1高字节(006BH)</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>数据1低字节(006BH)</td><td style="border-color:#d5e6ed"><br>6B</td></tr><tr><td style="border-color:#d5e6ed"><br>数据2高字节(006CH)</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>数据2 低字节(006CH)</td><td style="border-color:#d5e6ed"><br>13</td></tr><tr><td style="border-color:#d5e6ed"><br>数据3高字节(006DH)</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>数据3低字节(006DH)</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC高字节</td><td style="border-color:#d5e6ed"><br>38</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC低字节</td><td style="border-color:#d5e6ed"><br>B9</td></tr></tbody></table></div><div align="center"> </div><div align="center">表2.3.3保持寄存器006BH到006DH结果</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><br>006BH<br>高字节</td><td style="border-color:#d5e6ed"><br>006BH<br>低字节</td><td style="border-color:#d5e6ed"><br>006CH<br>高字节</td><td style="border-color:#d5e6ed"><br>006CH<br>低字节</td><td style="border-color:#d5e6ed"><br>006DH<br>高字节</td><td style="border-color:#d5e6ed"><br>006DH<br>低字节</td></tr><tr><td style="border-color:#d5e6ed"><br>00</td><td style="border-color:#d5e6ed"><br>6B</td><td style="border-color:#d5e6ed"><br>00</td><td style="border-color:#d5e6ed"><br>13</td><td style="border-color:#d5e6ed"><br>00</td><td style="border-color:#d5e6ed"><br>00</td></tr></tbody></table></div><br> <br> <b><br></b><br><br><font size="5"><b>2.4 读输入寄存器 04H</b></font><br><br><br>1) 说明<br>读输入寄存器命令。该命令支持单个寄存器访问也支持多个寄存器访问。<br>2) 查询<br>从机地址为11H。输入寄存器的起始地址为0008H,寄存器的结束地址为0009H。本次访问访问2个输入寄存器。<div align="center">表2.4.1 读输入寄存器-查询</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><br> </td><td style="border-color:#d5e6ed"><br>Hex格式</td></tr><tr><td style="border-color:#d5e6ed"><br>从机地址</td><td style="border-color:#d5e6ed"><br>11</td></tr><tr><td style="border-color:#d5e6ed"><br>功能码</td><td style="border-color:#d5e6ed"><br>04</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器起始地址高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器起始地址低字节</td><td style="border-color:#d5e6ed"><br>08</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器个数高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器个数低字节</td><td style="border-color:#d5e6ed"><br>02</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC高字节</td><td style="border-color:#d5e6ed"><br>F2</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC低字节</td><td style="border-color:#d5e6ed"><br>99</td></tr></tbody></table></div><br><br> <br>3) 响应<br>输入寄存器长度为2个字节。对于单个输入寄存器而言,寄存器高字节数据先被传输,低字节数据后被传输。输入寄存器之间,低地址寄存器先被传输,高地址寄存器后被传输。<div align="center">表2.4.2 读寄存器-响应</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><br> </td><td style="border-color:#d5e6ed"><br>Hex格式</td></tr><tr><td style="border-color:#d5e6ed"><br>从机地址</td><td style="border-color:#d5e6ed"><br>11</td></tr><tr><td style="border-color:#d5e6ed"><br>功能码</td><td style="border-color:#d5e6ed"><br>04</td></tr><tr><td style="border-color:#d5e6ed"><br>字节数</td><td style="border-color:#d5e6ed"><br>04</td></tr><tr><td style="border-color:#d5e6ed"><br>数据1高字节(0008H)</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>数据1低字节(0008H)</td><td style="border-color:#d5e6ed"><br>0A</td></tr><tr><td style="border-color:#d5e6ed"><br>数据2高字节(0009H)</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>数据2低字节(0009H)</td><td style="border-color:#d5e6ed"><br>0B</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC高字节</td><td style="border-color:#d5e6ed"><br>8B</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC低字节</td><td style="border-color:#d5e6ed"><br>80</td></tr></tbody></table></div><br><div align="center">表2.4.3输入寄存器0008H到0009H结果</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><br>006BH<br>高字节</td><td style="border-color:#d5e6ed"><br>006BH<br>低字节</td><td style="border-color:#d5e6ed"><br>006CH<br>高字节</td><td style="border-color:#d5e6ed"><br>006CH<br>低字节</td></tr><tr><td style="border-color:#d5e6ed"><br>00</td><td style="border-color:#d5e6ed"><br>0A</td><td style="border-color:#d5e6ed"><br>00</td><td style="border-color:#d5e6ed"><br>0B</td></tr></tbody></table></div><br>
- </div>
- </div>
- <!--content_read-->
- </td>
- </tr>
- <tr>
- <td class="floot_bottom">
- <!--评分-->
- <div class="read_score mb20" style="display:none" id="mark_12195">
- <div class="read_score_head">
- <a href="http://bbs.armfly.com/masingle.php?action=pingcp&fid=41&tid=3732&pid=12195&rpage=1" onclick="sendmsg('masingle.php?ajax=1&action=pingcp&fid=41&tid=3732&pid=12195&rpage=1')" title="管理评分记录" class="fr s4">评分管理</a>
- 共<span class="s2 b" id="pingNum_12195"></span>条评分<span id="pingTotal_12195">
- </span>
- </div>
- <div id="pingtable12195">
- <div id="createpingbox_12195"></div>
- <table width="100%">
-
-
- </table>
- <div class="p10 cc">
-
- <input id="pingPageNum_12195" type="hidden" value="2">
- <script>
- getObj('pingPageNum_12195').value = 2;
- </script>
- </div>
- </div>
- <div id="w_12195" class="c"></div>
- </div>
- <!--评分结束-->
- <div class="tipBottom cc">
- <div class="fl readbot">
- <a class="r-reply" title="回复此楼" href="javascript:;" onclick="postreply('回 armfly 的帖子','pw_ajax.php?action=quickpost&fid=41&tid=3732&pid=12195&article=1&page=1');">回复</a>
- <a class="r-score" id="showping_12195" href="http://bbs.armfly.com/operate.php?action=showping&tid=3732&pid=12195&page=1" onclick="sendmsg('operate.php?action=showping&tid=3732&pid=12195&page=1&ajax=1')" title="评分">评分</a>
- <a class="r-recommend cp" onclick="sendmsg('operate.php?action=toweibo&ajax=1&type=reply&id=12195&tid=3732','','td_read_12195');" title="发送到新鲜事">新鲜事</a>
- </div>
- <div class="fr">
- <a href="http://bbs.armfly.com/masingle.php?action=topped&fid=41&tid=3732&pid=12195&page=1&lou=1" onclick="return sendurl(this,2)" title="帖内置顶" class="mr5">帖内置顶</a> <a onclick="sendmsg('pw_ajax.php?action=report&type=topic&tid=3732&pid=12195','',this.id);" title="举报此帖" href="javascript:;" class="mr5">举报</a>
- <label for="pid_12195" class="cp"><input type="checkbox" onclick="replyManage.show('postbatch',this.id)" value="12195" id="pid_12195" name="selid[]" autocomplete="off">帖子操作</label>
- </div>
- </div>
- </td>
- </tr>
- </tbody></table>
- </div>
- <table width="100%" class="flootbg"><tbody><tr><td>
- </td></tr></tbody></table>
- <a name="12196"></a>
- <div class="read_t" id="readfloor_12196">
- <table width="100%" class="floot">
- <tbody><tr>
- <td rowspan="2" class="floot_left">
- <div class="readName b">
- <span class="women_ol mr5" title="在线" alt="在线">在线</span><a href="http://bbs.armfly.com/u.php?uid=2">armfly</a>
- </div>
- <div class="floot_leftdiv">
- <div class="readFace">
- <div class="fl">
- <div class="card" style="display:none" id="readFace_2" onmouseover="this.style.display='';" onmouseout="this.style.display='none';">
- <dl class="cc">
- <dt class="fl">
- <div class="cc"><a href="http://bbs.armfly.com/u.php?uid=2" class="face_img"><img class="pic" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/none.gif" width="120" height="120" border="0"></a></div>
- <p>UID:2</p>
- </dt>
- <dd class="ddA">
- <ul class="cc half">
- <li><span>注册时间</span>2012-04-30</li>
- <li><span>最后登录</span>2015-09-25</li>
- <li><span>在线时间</span>1474小时</li>
- </ul>
- </dd>
- <dd class="ddA">
- <ul class="cc half">
- <li><span>发帖</span>679</li>
- <li><a href="http://bbs.armfly.com/apps.php?q=article&uid=2" target="_blank" rel="nofollow">搜Ta的帖子</a></li>
- <li><span>精华</span><a href="http://bbs.armfly.com/searcher.php?authorid=2&digest=1" target="_blank">14</a></li>
- <li class="cc"><span>铜币</span>684</li><li class="cc"><span>威望</span>390</li><li class="cc"><span>贡献值</span>0</li><li class="cc"><span>银元</span>0</li>
- </ul>
- </dd>
- <dd class="ddB">
- <a href="http://bbs.armfly.com/u.php?uid=2" class="add_home">访问TA的空间</a><a href="javascript:;" onclick="sendmsg('pw_ajax.php?action=addfriend&touid=2')" class="add_fri">加好友</a><a href="javascript:;" onclick="sendmsg('pw_ajax.php?action=usertool&uid=2','',this.id)" class="add_pro">用道具</a>
- </dd>
- </dl>
- </div>
- </div>
- </div>
- <a href="http://bbs.armfly.com/u.php?uid=2" id="card_sf_12196_2" class="userCard face_img">
- <img onmouseover="readFace.show('readFace_2');" onmouseout="readFace.clear()" class="pic" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/none.gif" width="120" height="120" border="0">
- </a>
- <div class="readLevel mb5"><a href="http://bbs.armfly.com/profile.php?action=permission&gid=3" rel="nofollow">管理员</a><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/21.gif"></div>
- <div class="read_medals"><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/shequjumin.png" width="30" height="30" title="社区居民"></a><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/zuiaishafa.png" width="30" height="30" title="最爱沙发"></a><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/shequmingxing.png" width="30" height="30" title="社区明星"></a><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/rexinhuiyuan.png" width="30" height="30" title="忠实会员"></a><br></div>
- <div class="readUser_info cc mb10">
- <div class="one" id="basic_info_12196">
- <dl class="cc"><dt>发帖</dt><dd>679</dd></dl>
- <dl class="cc"><dt>铜币</dt><dd>684</dd></dl><dl class="cc"><dt>威望</dt><dd>390</dd></dl><dl class="cc"><dt>贡献值</dt><dd>0</dd></dl><dl class="cc"><dt>银元</dt><dd>0</dd></dl>
- </div>
- <ul class="two cc">
- </ul>
- </div>
- </div>
- </td>
- <td class="floot_right" id="td_12196"><a name="post_12196"></a>
- <!--印戳-->
- <!--楼层信息及编辑-->
- <div class="tipTop s6">
- <span class="fr">
- <a href="javascript:;" onclick="window.location=('read.php?tid=3732&uid=2&ds=1&toread=1');return false;" title="只看该作者的所有回复" class="mr5 s6">只看该作者</a>
- </span>
- <a class="s2 b cp" onclick="copyFloorUrl('12196')" title="复制此楼地址">板凳</a> <span title="2014-06-22 06:53:09">发表于: 2014-06-22</span>
- , <span id="viewip_12196_2" title="IP:61.164.214.70">来自:浙江省温州市
- </span>
- , <a href="http://bbs.armfly.com/post.php?action=modify&fid=41&tid=3732&pid=12196&article=2#breadCrumb" id="modify_12196" onclick="return sendurl(this,4,'',event)" title="编辑" class="s4">编辑</a>
- </div>
- <div class="read_h1" style="margin-bottom:10px;" id="subject_12196"></div>
- <!--管理提醒-->
- <!--活动参加按钮-->
- <div id="p_12196"></div>
-
- <!--帖子右侧(广告/动漫表情)-->
- <div class="readCon_right tar">
- </div>
- <!--content_read-->
- <div class="tpc_content">
- <div class="f14 mb10" id="read_12196">
- <br><br><br><font size="5"><b>2.5 写单个线圈寄存器 05H</b></font><br><br><br>1) 说明<br>写单个线圈寄存器。<b>FF00H值请求线圈处于ON状态,0000H值请求线圈处于OFF状态</b>。05H指令设置单个线圈的状态,15H指令可以设置多个线圈的状态,两个指令虽然都设定线圈的ON/OFF状态,但是ON/OFF的表达方式却不同。<br>2) 查询<br>从机地址为11H,线圈寄存器的地址为00ACH。使00ACH线圈处于ON状态,即数据内容为FF00H。<div align="center">表2.5.1 写单个线圈-查询</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><br> </td><td style="border-color:#d5e6ed"><br>Hex</td></tr><tr><td style="border-color:#d5e6ed"><br>从机地址</td><td style="border-color:#d5e6ed"><br>11</td></tr><tr><td style="border-color:#d5e6ed"><br>功能码</td><td style="border-color:#d5e6ed"><br>05</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器地址高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器地址低字节</td><td style="border-color:#d5e6ed"><br>AC</td></tr><tr><td style="border-color:#d5e6ed"><br>数据1高字节</td><td style="border-color:#d5e6ed"><br>FF</td></tr><tr><td style="border-color:#d5e6ed"><br>数据2低字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验高字节</td><td style="border-color:#d5e6ed"><br>4E</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验低字节</td><td style="border-color:#d5e6ed"><br>8B</td></tr></tbody></table></div><br> <br><br> <br>3) 响应<div align="center">2.5.1强制单个线圈——响应</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><br> </td><td style="border-color:#d5e6ed"><br>Hex</td></tr><tr><td style="border-color:#d5e6ed"><br>从机地址</td><td style="border-color:#d5e6ed"><br>11</td></tr><tr><td style="border-color:#d5e6ed"><br>功能码</td><td style="border-color:#d5e6ed"><br>05</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器地址高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器地址低字节</td><td style="border-color:#d5e6ed"><br>AC</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器1高字节</td><td style="border-color:#d5e6ed"><br>FF</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器1低字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验高字节</td><td style="border-color:#d5e6ed"><br>4E</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验低字节</td><td style="border-color:#d5e6ed"><br>8B</td></tr></tbody></table></div><br> <br> <b><br></b><br><br><font size="5"><b>2.6 写单个保持寄存器 06H</b></font><br><br><br>1) 说明<br>写保持寄存器。注意06指令只能操作单个保持寄存器,16指令可以设置单个或多个保持寄存器。<br>2) 查询<br>从机地址为11H。保持寄存器地址为0001H。寄存器内容为0003H。<div align="center">表2.6.1 写单个保持寄存器——查询</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><br><br> </td><td style="border-color:#d5e6ed"><br>Hex</td></tr><tr><td style="border-color:#d5e6ed"><br>从机地址</td><td style="border-color:#d5e6ed"><br>11</td></tr><tr><td style="border-color:#d5e6ed"><br>功能码</td><td style="border-color:#d5e6ed"><br>06</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器地址高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器地址低字节</td><td style="border-color:#d5e6ed"><br>01</td></tr><tr><td style="border-color:#d5e6ed"><br>数据1高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>数据1低字节</td><td style="border-color:#d5e6ed"><br>01</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验高字节</td><td style="border-color:#d5e6ed"><br>9A</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验低字节</td><td style="border-color:#d5e6ed"><br>9B</td></tr></tbody></table></div><br> <br><br> <br>3) 响应<div align="center">表2.6.2 写单个保持寄存器——响应</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><br><br> </td><td style="border-color:#d5e6ed"><br>Hex</td></tr><tr><td style="border-color:#d5e6ed"><br>从机地址</td><td style="border-color:#d5e6ed"><br>11</td></tr><tr><td style="border-color:#d5e6ed"><br>功能码</td><td style="border-color:#d5e6ed"><br>06</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器地址高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器地址低字节</td><td style="border-color:#d5e6ed"><br>01</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器数量高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器数量低字节</td><td style="border-color:#d5e6ed"><br>01</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验高字节</td><td style="border-color:#d5e6ed"><br>1B</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验低字节</td><td style="border-color:#d5e6ed"><br>5A</td></tr></tbody></table></div>
- </div>
- </div>
- <!--content_read-->
- </td>
- </tr>
- <tr>
- <td class="floot_bottom">
- <!--评分-->
- <div class="read_score mb20" style="display:none" id="mark_12196">
- <div class="read_score_head">
- <a href="http://bbs.armfly.com/masingle.php?action=pingcp&fid=41&tid=3732&pid=12196&rpage=1" onclick="sendmsg('masingle.php?ajax=1&action=pingcp&fid=41&tid=3732&pid=12196&rpage=1')" title="管理评分记录" class="fr s4">评分管理</a>
- 共<span class="s2 b" id="pingNum_12196"></span>条评分<span id="pingTotal_12196">
- </span>
- </div>
- <div id="pingtable12196">
- <div id="createpingbox_12196"></div>
- <table width="100%">
-
-
- </table>
- <div class="p10 cc">
-
- <input id="pingPageNum_12196" type="hidden" value="2">
- <script>
- getObj('pingPageNum_12196').value = 2;
- </script>
- </div>
- </div>
- <div id="w_12196" class="c"></div>
- </div>
- <!--评分结束-->
- <div class="tipBottom cc">
- <div class="fl readbot">
- <a class="r-reply" title="回复此楼" href="javascript:;" onclick="postreply('回 armfly 的帖子','pw_ajax.php?action=quickpost&fid=41&tid=3732&pid=12196&article=2&page=1');">回复</a>
- <a class="r-score" id="showping_12196" href="http://bbs.armfly.com/operate.php?action=showping&tid=3732&pid=12196&page=1" onclick="sendmsg('operate.php?action=showping&tid=3732&pid=12196&page=1&ajax=1')" title="评分">评分</a>
- <a class="r-recommend cp" onclick="sendmsg('operate.php?action=toweibo&ajax=1&type=reply&id=12196&tid=3732','','td_read_12196');" title="发送到新鲜事">新鲜事</a>
- </div>
- <div class="fr">
- <a href="http://bbs.armfly.com/masingle.php?action=topped&fid=41&tid=3732&pid=12196&page=1&lou=2" onclick="return sendurl(this,2)" title="帖内置顶" class="mr5">帖内置顶</a> <a onclick="sendmsg('pw_ajax.php?action=report&type=topic&tid=3732&pid=12196','',this.id);" title="举报此帖" href="javascript:;" class="mr5">举报</a>
- <label for="pid_12196" class="cp"><input type="checkbox" onclick="replyManage.show('postbatch',this.id)" value="12196" id="pid_12196" name="selid[]" autocomplete="off">帖子操作</label>
- </div>
- </div>
- </td>
- </tr>
- </tbody></table>
- </div>
- <table width="100%" class="flootbg"><tbody><tr><td>
- </td></tr></tbody></table>
- <a name="a"></a><a name="12197"></a>
- <div class="read_t" id="readfloor_12197">
- <table width="100%" class="floot">
- <tbody><tr>
- <td rowspan="2" class="floot_left">
- <div class="readName b">
- <span class="women_ol mr5" title="在线" alt="在线">在线</span><a href="http://bbs.armfly.com/u.php?uid=2">armfly</a>
- </div>
- <div class="floot_leftdiv">
- <div class="readFace">
- <div class="fl">
- <div class="card" style="display:none" id="readFace_3" onmouseover="this.style.display='';" onmouseout="this.style.display='none';">
- <dl class="cc">
- <dt class="fl">
- <div class="cc"><a href="http://bbs.armfly.com/u.php?uid=2" class="face_img"><img class="pic" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/none.gif" width="120" height="120" border="0"></a></div>
- <p>UID:2</p>
- </dt>
- <dd class="ddA">
- <ul class="cc half">
- <li><span>注册时间</span>2012-04-30</li>
- <li><span>最后登录</span>2015-09-25</li>
- <li><span>在线时间</span>1474小时</li>
- </ul>
- </dd>
- <dd class="ddA">
- <ul class="cc half">
- <li><span>发帖</span>679</li>
- <li><a href="http://bbs.armfly.com/apps.php?q=article&uid=2" target="_blank" rel="nofollow">搜Ta的帖子</a></li>
- <li><span>精华</span><a href="http://bbs.armfly.com/searcher.php?authorid=2&digest=1" target="_blank">14</a></li>
- <li class="cc"><span>铜币</span>684</li><li class="cc"><span>威望</span>390</li><li class="cc"><span>贡献值</span>0</li><li class="cc"><span>银元</span>0</li>
- </ul>
- </dd>
- <dd class="ddB">
- <a href="http://bbs.armfly.com/u.php?uid=2" class="add_home">访问TA的空间</a><a href="javascript:;" onclick="sendmsg('pw_ajax.php?action=addfriend&touid=2')" class="add_fri">加好友</a><a href="javascript:;" onclick="sendmsg('pw_ajax.php?action=usertool&uid=2','',this.id)" class="add_pro">用道具</a>
- </dd>
- </dl>
- </div>
- </div>
- </div>
- <a href="http://bbs.armfly.com/u.php?uid=2" id="card_sf_12197_2" class="userCard face_img">
- <img onmouseover="readFace.show('readFace_3');" onmouseout="readFace.clear()" class="pic" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/none.gif" width="120" height="120" border="0">
- </a>
- <div class="readLevel mb5"><a href="http://bbs.armfly.com/profile.php?action=permission&gid=3" rel="nofollow">管理员</a><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/21.gif"></div>
- <div class="read_medals"><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/shequjumin.png" width="30" height="30" title="社区居民"></a><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/zuiaishafa.png" width="30" height="30" title="最爱沙发"></a><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/shequmingxing.png" width="30" height="30" title="社区明星"></a><a href="http://bbs.armfly.com/apps.php?q=medal" target="_blank" rel="nofollow"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/rexinhuiyuan.png" width="30" height="30" title="忠实会员"></a><br></div>
- <div class="readUser_info cc mb10">
- <div class="one" id="basic_info_12197">
- <dl class="cc"><dt>发帖</dt><dd>679</dd></dl>
- <dl class="cc"><dt>铜币</dt><dd>684</dd></dl><dl class="cc"><dt>威望</dt><dd>390</dd></dl><dl class="cc"><dt>贡献值</dt><dd>0</dd></dl><dl class="cc"><dt>银元</dt><dd>0</dd></dl>
- </div>
- <ul class="two cc">
- </ul>
- </div>
- </div>
- </td>
- <td class="floot_right" id="td_12197"><a name="post_12197"></a>
- <!--印戳-->
- <!--楼层信息及编辑-->
- <div class="tipTop s6">
- <span class="fr">
- <a href="javascript:;" onclick="window.location=('read.php?tid=3732&uid=2&ds=1&toread=1');return false;" title="只看该作者的所有回复" class="mr5 s6">只看该作者</a>
- </span>
- <a class="s2 b cp" onclick="copyFloorUrl('12197')" title="复制此楼地址">地板</a> <span title="2014-06-22 06:54:05">发表于: 2014-06-22</span>
- , <span id="viewip_12197_3" title="IP:61.164.214.70">来自:浙江省温州市
- </span>
- , <a href="http://bbs.armfly.com/post.php?action=modify&fid=41&tid=3732&pid=12197&article=3#breadCrumb" id="modify_12197" onclick="return sendurl(this,4,'',event)" title="编辑" class="s4">编辑</a>
- </div>
- <div class="read_h1" style="margin-bottom:10px;" id="subject_12197"></div>
- <!--管理提醒-->
- <!--活动参加按钮-->
- <div id="p_12197"></div>
-
- <!--帖子右侧(广告/动漫表情)-->
- <div class="readCon_right tar">
- </div>
- <!--content_read-->
- <div class="tpc_content">
- <div class="f14 mb10" id="read_12197">
- <br><br><font size="5"><b>2.7 写多个线圈寄存器 0FH</b></font><br><br><br>1) 说明<br>写多个线圈寄存器。若数据区的某位值为“1”表示被请求的相应线圈状态为ON,若某位值为“0”,则为状态为OFF。<br>2) 查询<br>从机地址为11H,线圈寄存器的起始地址为0013H,线圈寄存器的结束地址为001CH。总共访问10个寄存器。寄存器内容如下表所示。<div align="center">表2.7.1 线圈寄存器0013H到001CH</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><div align="center">001AH</div></td><td style="border-color:#d5e6ed"><div align="center">0019H</div></td><td style="border-color:#d5e6ed"><div align="center">0018H</div></td><td style="border-color:#d5e6ed"><div align="center">0017H</div></td><td style="border-color:#d5e6ed"><div align="center">0016H</div></td><td style="border-color:#d5e6ed"><div align="center">0015H</div></td><td style="border-color:#d5e6ed"><div align="center">0014H</div></td><td style="border-color:#d5e6ed"><div align="center">0013H</div></td></tr><tr><td style="border-color:#d5e6ed"><div align="center">1</div></td><td style="border-color:#d5e6ed"><div align="center">1</div></td><td style="border-color:#d5e6ed"><div align="center">0</div></td><td style="border-color:#d5e6ed"><div align="center">0</div></td><td style="border-color:#d5e6ed"><div align="center">1</div></td><td style="border-color:#d5e6ed"><div align="center">1</div></td><td style="border-color:#d5e6ed"><div align="center">0</div></td><td style="border-color:#d5e6ed"><div align="center">1</div></td></tr><tr><td style="border-color:#d5e6ed"><div align="center">0022H</div></td><td style="border-color:#d5e6ed"><div align="center">0021H</div></td><td style="border-color:#d5e6ed"><div align="center">0020H</div></td><td style="border-color:#d5e6ed"><div align="center">001FH</div></td><td style="border-color:#d5e6ed"><div align="center">001EH</div></td><td style="border-color:#d5e6ed"><div align="center">001DH</div></td><td style="border-color:#d5e6ed"><div align="center">001CH</div></td><td style="border-color:#d5e6ed"><div align="center">001BH</div></td></tr><tr><td style="border-color:#d5e6ed"><div align="center">0</div></td><td style="border-color:#d5e6ed"><div align="center">0</div></td><td style="border-color:#d5e6ed"><div align="center">0</div></td><td style="border-color:#d5e6ed"><div align="center">0</div></td><td style="border-color:#d5e6ed"><div align="center">0</div></td><td style="border-color:#d5e6ed"><div align="center">0</div></td><td style="border-color:#d5e6ed"><div align="center">0</div></td><td style="border-color:#d5e6ed"><div align="center">1</div></td></tr></tbody></table></div><br>传输的第一个字节 CDH对应线圈为0013H到001AH,LSB(最低位)对应线圈0013H,传输第二个字节为 01H,对应的线圈为001BH到001CH,LSB对应线圈001CH,其余未使用位使用0 填充。<div align="center">表2.7.1 写多个线圈寄存器——查询</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><br> </td><td style="border-color:#d5e6ed"><br>Hex</td></tr><tr><td style="border-color:#d5e6ed"><br>从机地址</td><td style="border-color:#d5e6ed"><br>11</td></tr><tr><td style="border-color:#d5e6ed"><br>功能码</td><td style="border-color:#d5e6ed"><br>0F</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器地址高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器地址低字节</td><td style="border-color:#d5e6ed"><br>13</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器数量高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器数量低字节</td><td style="border-color:#d5e6ed"><br>0A</td></tr><tr><td style="border-color:#d5e6ed"><br>字节数</td><td style="border-color:#d5e6ed"><br>02</td></tr><tr><td style="border-color:#d5e6ed"><br>数据1(0013H-001AH)</td><td style="border-color:#d5e6ed"><br>CD</td></tr><tr><td style="border-color:#d5e6ed"><br>数据2(001BH-001CH)</td><td style="border-color:#d5e6ed"><br>01</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验高字节</td><td style="border-color:#d5e6ed"><br>BF</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验低字节</td><td style="border-color:#d5e6ed"><br>0B</td></tr></tbody></table></div><br> <br><br> <br>3) 响应<div align="center">表2.7.1 写多个线圈寄存器——响应</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><br> </td><td style="border-color:#d5e6ed"><br>Hex</td></tr><tr><td style="border-color:#d5e6ed"><br>从机地址</td><td style="border-color:#d5e6ed"><br>11</td></tr><tr><td style="border-color:#d5e6ed"><br>功能码</td><td style="border-color:#d5e6ed"><br>0F</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器地址高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器地址低字节</td><td style="border-color:#d5e6ed"><br>13</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器数量高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器数量低字节</td><td style="border-color:#d5e6ed"><br>0A</td></tr><tr><td style="border-color:#d5e6ed"><br>字节数</td><td style="border-color:#d5e6ed"><br>02</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验高字节</td><td style="border-color:#d5e6ed"><br>99</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验低字节</td><td style="border-color:#d5e6ed"><br>1B</td></tr></tbody></table></div><br> <br><br> <br><br><font size="5"><b>2.8 写多个保持寄存器10H</b></font><br><br><br>1) 说明<br>写多个保持寄存器。<br>2) 查询<br>从机地址为11H。保持寄存器的其实地址为0001H,寄存器的结束地址为0002H。总共访问2个寄存器。保持寄存器0001H的内容为000AH,保持寄存器0002H的内容为0102H。<div align="center">表2.8.1 写多个保持寄存器——请求</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><br> </td><td style="border-color:#d5e6ed"><br>Hex</td></tr><tr><td style="border-color:#d5e6ed"><br>从机地址</td><td style="border-color:#d5e6ed"><br>11</td></tr><tr><td style="border-color:#d5e6ed"><br>功能码</td><td style="border-color:#d5e6ed"><br>10</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器起始地址高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器起始地址低字节</td><td style="border-color:#d5e6ed"><br>01</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器数量高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器数量低字节</td><td style="border-color:#d5e6ed"><br>02</td></tr><tr><td style="border-color:#d5e6ed"><br>字节数</td><td style="border-color:#d5e6ed"><br>04</td></tr><tr><td style="border-color:#d5e6ed"><br>数据1高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>数据1低字节</td><td style="border-color:#d5e6ed"><br>0A</td></tr><tr><td style="border-color:#d5e6ed"><br>数据2高字节</td><td style="border-color:#d5e6ed"><br>01</td></tr><tr><td style="border-color:#d5e6ed"><br>数据2低字节</td><td style="border-color:#d5e6ed"><br>02</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验高字节</td><td style="border-color:#d5e6ed"><br>C6</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验低字节</td><td style="border-color:#d5e6ed"><br>F0</td></tr></tbody></table></div><div align="center">表2.8.2保持寄存器0001H到0002H内容</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><br>地址</td><td style="border-color:#d5e6ed"><br>0001H高字节</td><td style="border-color:#d5e6ed"><br>0001H低字节</td><td style="border-color:#d5e6ed"><br>0002H高字节</td><td style="border-color:#d5e6ed"><br>0003H低字节</td></tr><tr><td style="border-color:#d5e6ed"><br>数值</td><td style="border-color:#d5e6ed"><br>00</td><td style="border-color:#d5e6ed"><br>0A</td><td style="border-color:#d5e6ed"><br>01</td><td style="border-color:#d5e6ed"><br>12</td></tr></tbody></table></div><br><br> <br>3) 响应<div align="center">表2.8.3 写多个保持寄存器——响应</div><div align="center"><table class="read_form" style="width:100%;border-color:#d5e6ed" cellspacing="0" cellpadding="0"><tbody><tr><td style="border-color:#d5e6ed"><br> </td><td style="border-color:#d5e6ed"><br>Hex</td></tr><tr><td style="border-color:#d5e6ed"><br>从机地址</td><td style="border-color:#d5e6ed"><br>11</td></tr><tr><td style="border-color:#d5e6ed"><br>功能码</td><td style="border-color:#d5e6ed"><br>10</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器起始地址高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器起始地址低字节</td><td style="border-color:#d5e6ed"><br>01</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器数量高字节</td><td style="border-color:#d5e6ed"><br>00</td></tr><tr><td style="border-color:#d5e6ed"><br>寄存器数量低字节</td><td style="border-color:#d5e6ed"><br>02</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验高字节</td><td style="border-color:#d5e6ed"><br>12</td></tr><tr><td style="border-color:#d5e6ed"><br>CRC校验低字节</td><td style="border-color:#d5e6ed"><br>98</td></tr></tbody></table></div><br> <br><br>
- </div>
- </div>
- <!--content_read-->
- </td>
- </tr>
- <tr>
- <td class="floot_bottom">
- <!--评分-->
- <div class="read_score mb20" style="display:none" id="mark_12197">
- <div class="read_score_head">
- <a href="http://bbs.armfly.com/masingle.php?action=pingcp&fid=41&tid=3732&pid=12197&rpage=1" onclick="sendmsg('masingle.php?ajax=1&action=pingcp&fid=41&tid=3732&pid=12197&rpage=1')" title="管理评分记录" class="fr s4">评分管理</a>
- 共<span class="s2 b" id="pingNum_12197"></span>条评分<span id="pingTotal_12197">
- </span>
- </div>
- <div id="pingtable12197">
- <div id="createpingbox_12197"></div>
- <table width="100%">
-
-
- </table>
- <div class="p10 cc">
-
- <input id="pingPageNum_12197" type="hidden" value="2">
- <script>
- getObj('pingPageNum_12197').value = 2;
- </script>
- </div>
- </div>
- <div id="w_12197" class="c"></div>
- </div>
- <!--评分结束-->
- <div class="tipBottom cc">
- <div class="fl readbot">
- <a class="r-reply" title="回复此楼" href="javascript:;" onclick="postreply('回 armfly 的帖子','pw_ajax.php?action=quickpost&fid=41&tid=3732&pid=12197&article=3&page=1');">回复</a>
- <a class="r-score" id="showping_12197" href="http://bbs.armfly.com/operate.php?action=showping&tid=3732&pid=12197&page=1" onclick="sendmsg('operate.php?action=showping&tid=3732&pid=12197&page=1&ajax=1')" title="评分">评分</a>
- <a class="r-recommend cp" onclick="sendmsg('operate.php?action=toweibo&ajax=1&type=reply&id=12197&tid=3732','','td_read_12197');" title="发送到新鲜事">新鲜事</a>
- </div>
- <div class="fr">
- <a href="http://bbs.armfly.com/masingle.php?action=topped&fid=41&tid=3732&pid=12197&page=1&lou=3" onclick="return sendurl(this,2)" title="帖内置顶" class="mr5">帖内置顶</a> <a onclick="sendmsg('pw_ajax.php?action=report&type=topic&tid=3732&pid=12197','',this.id);" title="举报此帖" href="javascript:;" class="mr5">举报</a>
- <label for="pid_12197" class="cp"><input type="checkbox" onclick="replyManage.show('postbatch',this.id)" value="12197" id="pid_12197" name="selid[]" autocomplete="off">帖子操作</label>
- </div>
- </div>
- </td>
- </tr>
- </tbody></table>
- </div>
- </form>
- </div>
- <!--发帖回复-->
- <div class="cc mb10">
- <a href="http://bbs.armfly.com/post.php?fid=41#breadCrumb" class="post fr" id="td_post1" title="发帖">发帖</a>
- <a href="http://bbs.armfly.com/post.php?action=reply&fid=41&tid=3732" class="replay fr mr10" rel="nofollow">回复</a>
- <div style="padding-top:3px;"><span class="pages"><a href="http://bbs.armfly.com/thread.php?fid=41#tabA" class="w pages_pre">返回列表</a></span><span class="fl"></span></div>
- </div>
- <div id="cloudwind_read_bottom"></div>
- <!--链接提醒-->
- <div id="checkurl" class="popout" style="display:none;"><table border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="bgcorner1"></td><td class="pobg1"></td><td class="bgcorner2"></td></tr><tr><td class="pobg4"></td><td><div class="popoutContent">
- <div class="popTop" id="suburl">http://bbs.armfly.com</div>
- <div class="p10">访问内容超出本站范围,不能确定是否安全</div>
- <div class="popBottom">
- <span class="btn2"><span><button type="button" id="trueurl">继续访问</button></span></span>
- <span class="bt2"><span><button type="button" onclick="closep();">取消访问</button></span></span>
- </div>
- </div></td><td class="pobg2"></td></tr><tr><td class="bgcorner4"></td><td class="pobg3"></td><td class="bgcorner3"></td></tr></tbody></table></div>
- <script type="text/javascript">
- var tid = '3732';
- var fid = '41';
- var mt;
- var totalpage = parseInt('1');
- var db_ajax = '3';
- var page = parseInt('1');
- var jurl = 'read.php?tid=3732&fpage=0&ds=1&toread=0&page=';
- var db_htmifopen = '0';
- var db_dir = '.php?';
- var db_ext = '.html';
- var db_bbsurl = 'http://bbs.armfly.com';
- var copyurl = 'MODBUS协议整理|' + location.href;
- var db_urlcheck = 'phpwind.net,phpwind.com';
- //window.onReady(userCard.init);
- function delPingLog(fid, tid, pid, pingid) {
- showDialog({type:'confirm',message:"你确定要删除这条评分动态么?",okText:'确认',onOk:function(){
- read.guide();
- ajax.send("pw_ajax.php?action=delpinglog", "fid="+fid+"&tid="+tid+"&pid="+pid+"&pingid="+pingid, function(){
- var rText = ajax.request.responseText.split(' ');
- if (rText[0] == 'success') {
- read.close();
- showDialog('success','删除评分动态成功!',2);
- var totalStr='',total=JSONParse(rText[1]);
- for(var k in total){
- totalStr+=',<span>'+k+'<span class="s2 b">'+total[k]+'</span></span>';
- }
- getObj('pingTotal_'+pid).innerHTML = totalStr;
-
- if (getObj('pingLogTr_'+pingid)) {
- getObj('pingLogTr_'+pingid).parentNode.removeChild(getObj('pingLogTr_'+pingid))
- }
- if (getObj('createpingLogTr_'+pingid)) {
- getObj('createpingLogTr_'+pingid).parentNode.removeChild(getObj('createpingLogTr_'+pingid))
- }
- if (getObj('pingNum_'+pid)) {
- var pingNums = getObj('pingNum_'+pid);
- pingNums.innerHTML = parseInt(pingNums.innerHTML) - 1;
- }
- var pingtable=getObj("pingtable"+pid);
- var tr=pingtable.getElementsByTagName("tr");
- if(tr.length<1&&getObj("mark_"+pid)){
- getObj("mark_"+pid).style.display="none";
- }
- } else {
- showDialog('error','删除评分动态出错!');
- }
- });
- }});
- }
- function showPingDelLink(trObj, isShow) {
- pingId = trObj.id.match(/\d+/i);
- linkObj = getObj("pingDel_"+pingId);
- if (linkObj) {
- linkObj.style.display = isShow ? '' : 'none';
- }
- }
- function copyFloorUrl(o) {
- var floorurl = 'http://bbs.armfly.com/read.php?tid=3732&ds=1' + (page > 1 ? '&page=' + page : '') + '#';
- if (is_ie) {
- window.clipboardData.setData("Text",floorurl+o);
- showDialog('success','已成功复制',1);
- } else {
- prompt('按下 Ctrl+C 复制到剪贴板', floorurl+o)
- }
- }
- if(getObj('bookmarkExplore')) {
- getObj('bookmarkExplore').parentNode.removeChild(getObj('bookmarkExplore'));
- }
- </script>
- <script type="text/javascript" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/pw_lwd.js"></script>
- <script type="text/javascript">
- window.onReady(function(){
- //调用气泡
- var pw_bubble=new Bubble([{"name":"pw_all_tip_medal","id":"pw_all_pos_medal"}]);
- pw_bubble.init();
- //控制多媒体播放
- var videos=getElementsByClassName("video");
- for(var i=0,len=videos.length;i<len;i++){
- (function(elem){
- toggleVideo(elem);
- })(videos[i])
- }
- })
- </script>
- <script type="text/javascript" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/message.js"></script>
- <script type="text/javascript" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/pw_search.js"></script>
- <link rel="stylesheet" href="http://bbs.armfly.com/images/post/fast_editor.css?20111111">
- <link rel="stylesheet" href="http://bbs.armfly.com/js/breeze/editor/style/style.css?20111111">
- <div class="t " style="padding-top:0;">
- <form name="FORM" method="post" action="http://bbs.armfly.com/post.php?fid=41" enctype="multipart/form-data" onsubmit="return checkpost(document.FORM);" id="anchor">
- <div id="formHiddens" style="display:none">
- <input type="hidden" name="atc_usesign" value="1">
- <input type="hidden" name="atc_convert" value="1">
- <input type="hidden" name="atc_autourl" value="1">
- <input type="hidden" value="2" name="step">
- <input type="hidden" value="" name="type">
- <input type="hidden" value="reply" name="action">
- <input type="hidden" value="41" name="fid">
- <input type="hidden" value="" name="cyid">
- <input type="hidden" value="3732" name="tid">
- <input type="hidden" name="stylepath" value="wind">
- <input type="hidden" name="ajax" value="1">
- <input type="hidden" name="verify" value="c4fe2bfc">
- <input type="hidden" value="3ce9bbbf" name="_hexie">
- <input type="hidden" value="0" name="iscontinue">
- </div>
- <input type="hidden" value="1" name="isformchecked">
- <div class="b h s5" style="border-top:0;">快速回复</div>
- <table width="100%">
- <tbody><tr class="vt t_one">
- <td class="floot_left" id="header_floot_left">
- <div class="readName" style="font:bold 12px/18px Arial;padding:10px 0 0 15px;margin-bottom:-5px;">
- </div>
- <div class="floot_leftdiv">
- <div class="face_img"><img class="pic" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/none.gif" width="120" height="120" border="0"></div>
- </div>
- </td>
- <td class="p10">
- <div class="cc mb5">
- <input type="text" maxlength="50" class="input mr10" id="atc_title" name="atc_title" value="Re:MODBUS协议整理" size="40"><span id="atc_title_warn">限100 字节</span>
- </div>
- <div style="background:#fffeed;padding:5px 10px;margin:0 0 5px;">批量上传需要先选择文件,再选择上传</div>
- <div class="B_editor B_editor_fp cc" id="fp_editor" onclick="loadEditor(event);">
- <div class="B_editor_toolbar B_editor_minitoolbar">
- <div class="B_tar">
- <a href="javascript:gotoEditor();" class="fr gotoedit" hidefocus="true">进入高级模式</a>
- </div>
- <ul><li class="edit_toolbar">
- <a href="javascript:;" class="B_ico" title="加粗" data-type="wy_boldIcon" hidefocus="true" style="display:block"><div class="B_boldIcon B_do"></div></a>
- <div class="B_icoDown" style="display: block;" data-type="wy_foreColor"><a href="javascript://" class="B_ico"><div class="B_foreColor B_do1" title="文字颜色"><span style="background-color: rgb(255, 0, 0);"></span>文字颜色</div></a><em unselectable="on" class="B_do1"></em></div>
- <a href="javascript:;" class="B_ico" title="插入链接" data-type="wy_linkIcon" hidefocus="true" style="display:block"><div class="B_linkIcon B_do"></div></a>
- <a href="javascript:;" class="B_icoBig" title="插入图片" data-type="wy_photoBtn" hidefocus="true" style="display:block"><div class="B_photoIcon B_do"></div></a>
- <a href="javascript:;" class="B_icoBig" title="插入附件" data-type="wy_fileBtn" hidefocus="true" style="display:block"><div class="B_fileIcon B_do"></div></a>
- </li></ul>
- </div>
- <textarea id="textarea" class="editorTextarea" name="atc_content" style="width:535px;*width:100%;max-width:100%;min-width:100%;height:140px;padding:0;margin:0;border:0 none;overflow:auto;" onkeydown="quickpost(event)"></textarea>
- <span id="autosave"></span><div id="menu_editor" class="wy_menu_B" style="display: none;"></div>
- </div>
- <div class="c mb10"> </div>
-
- <div class="mb15 cc">
- <span id="alreadyAtNum" class="fl at_icon" style="margin-top:2px;font-family:Simsun;">提到某人:</span>
- <div class="input_img fl">
- <span class="at_input_tip" id="at_input_tip">可@您关注的人,最多可@10人</span>
- <em class="input_down" onclick="pwSearch.selectInit(event,'popout','message.php?type=ajax','action=friend',0,changeFriendNum)">选择好友</em>
- <div id="get_friend"><input style="float:none;" type="text" max="10" name="usernames" value="" id="usernames" onblur="pwSearch.blur()" onfocus="pwSearch.init('message.php?type=ajax','action=friend','resultd',changeFriendNum)" onkeydown="pwSearch.move(event)" onkeyup="pwSearch.searchResult(event,200);" autocomplete="off" disableautocomplete=""></div>
- </div>
- </div>
-
-
- <div class="cc mb10">
- <span class="btn" style="margin:0 20px 0 0;"><span><button title="Ctrl+Enter快速发布" type="submit" name="Submit"> 发 布 </button></span></span>
-
- <label for="go_lastpage" class="s6"><input id="go_lastpage" type="checkbox" title="选定" name="go_lastpage" value="1"> 回复后跳转到最后一页</label>
-
- </div>
- </td>
- <td style="width:250px;">
- <div id="fp_face" class="fp_show">
- <div class="fp_show_tab">
- <b id="doleft" style="/*display:none*/" class="tab_left fl" onclick="PwFace.showTab(-1)" title="上一个">上一个</b>
- <b id="doright" style="/*display:none*/" class="tab_right fr" onclick="PwFace.showTab(1)" title="下一个">下一个</b>
- <ul id="face_tab"><li id="ft_wangwang" unselectable="on" class="current"><a href="javascript://" hidefocus="true" onclick="PwFace.show('wangwang');return false;">旺旺</a></li><li id="ft_default" unselectable="on" class=""><a href="javascript://" hidefocus="true" onclick="PwFace.show('default');return false;">默认表情</a></li></ul>
- </div>
- <div class="fp_show_cont">
- <div class="fp_show_height">
- <ul class="cc" id="face_main"><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(152);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/9.gif" alt=" "></a></li><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(151);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/8.gif" alt=" "></a></li><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(150);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/7.gif" alt=" "></a></li><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(149);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/6.gif" alt=" "></a></li><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(148);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/5.gif" alt=" "></a></li><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(147);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/4.gif" alt=" "></a></li><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(146);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/37.gif" alt=" "></a></li><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(145);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/36.gif" alt=" "></a></li><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(144);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/35.gif" alt=" "></a></li><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(143);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/34.gif" alt=" "></a></li><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(142);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/33.gif" alt=" "></a></li><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(141);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/32.gif" alt=" "></a></li><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(140);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/31.gif" alt=" "></a></li><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(139);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/30.gif" alt=" "></a></li><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(138);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/3.gif" alt=" "></a></li><li><a title="" href="javascript:void(0)" onmousedown="PwFace.addsmile(137);return false;"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/29.gif" alt=" "></a></li></ul>
- <div id="face_page" class="fp_show_pages cc"><b>1</b><a href="javascript:" onclick="PwFace.show('wangwang',2);return false;">2</a><a href="javascript:" onclick="PwFace.show('wangwang',3);return false;">3</a></div>
- </div>
- </div>
- </div>
- </td>
- </tr>
- </tbody></table>
- </form>
- </div>
- <script type="text/javascript">
-
- onReady(function(){
- //快速回复@功能
- if(typeof pwSearch!="undefined"){
- pwSearch.type="post";
- }
- getObj("get_friend").onclick=(getObj("at_input_tip").onclick)=function(){
- getObj("at_input_tip").style.display="none";
- setTimeout(function(){
- getObj("usernames").focus();
- },100)
- return false;
- }
-
- })
- function changeFriendNum(n){
- if(n>=1){
- getObj("alreadyAtNum").innerHTML="已提到"+n+"人:";
- }else{
- getObj("alreadyAtNum").innerHTML="提到某人:"
- }
- if(getObj("at_input_tip")){
- getObj("at_input_tip").style.display="none";
- }
- }
- document.FORM._hexie.value = '3ce9bbbf';
- var titlemax = '100';
- var postmax = '50000';
- initCheckTextNum('atc_title','atc_title_warn',titlemax);
- //initCheckTextNum('atc_content','atc_content_warn',postmax);
- var charset='gbk';
- var bbsurl ="http://bbs.armfly.com";
- var BREEZE_BASE_PATH = getBaseUrl() + 'js/breeze/';
- var editor = null;
- var attachConfig = {
- 'attachnum' : parseInt('40'),
- 'list' : {},
- 'postData' : {fid : '41'},
- 'filetype' : {"gif":5000,"png":5000,"zip":50000,"rar":50000,"jpg":5000,"txt":5000,"pdf":50000,"chm":50000}
- },
- imageConfig = {
- tabs : ['local','album','network'],
- url : 'pweditor.php?action=image',
- filetype : {"gif":5000,"png":5000,"jpg":5000}
- };
- function loadEditor(e) {
- var e = e || event;
- var o = e.srcElement || e.target;
- if (hasClass(o,'gotoedit')) {return;}
- getObj('fp_editor').onclick = null;
- loadjs('js/breeze/core/base.js', '', '', function() {
- B.require('editor.editor', 'editor.ubb', function(B){
- editor=B.editor(B.$('#textarea'), 'edit_toolbar', 'boldIcon foreColor linkIcon photoBtn fileBtn',{'currentMode' : 'UBB'});
- var s = B.hasClass(o, 'B_do') ? o.parentNode : (B.hasClass(o, 'B_do1') ? o : null);
- if(s){
- B.trigger(s,'mousedown');
- }
- });
- });
- }
- var dataStorage = {
- save : function(quick) {
- SetCookie('ds', 1);
- var title=quick?document.quickpostForm.atc_title.value:document.FORM.atc_title.value;
- var cont=quick?document.quickpostForm.atc_content.value:document.FORM.atc_content.value;
- if(cont.replace(/\s+/,"")!=""){
- localStorage.setItem('msg',cont);
- }
- if(title.replace(/\s+/,"")!=""){
- localStorage.setItem('title',title);
- }
- //如果有@权限
- if(getObj("get_friend")!=null){
- var span=getObj("get_friend").getElementsByTagName("span");
- //如果已@用户
- if(span.length>0){
- var atUserList=[];
- //遍历并保存用户
- for(var i=0,len=span.length;i<len;i++){
- var input=span[i].getElementsByTagName("input")[0];
- var uname=input.value;
- atUserList.push(uname);
- }
- //存储数据
- localStorage.setItem('atUserList',atUserList);
- }
- }
- },
- load : function() {
- document.FORM.atc_title.value = localStorage.getItem('title') || '';
- var msg = localStorage.getItem('msg');
- if (msg) {
- document.FORM.atc_content.value = msg;
- document.FORM.atc_content.focus();
- }
- SetCookie('ds', 0);
- }
- }
- function gotoEditor(quick,pid) {
- dataStorage.save(quick);
- if (pid) {
- location.href = 'post.php?fid=41&action=quote&article=1&tid=3732'+'&pid='+pid;
- } else {
- location.href = 'post.php?fid=41&action=reply&tid=3732';
- }
- }
- </script>
- <script src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/face.js"></script>
- <script type="text/javascript" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/post.js"></script>
- <script>
- document.FORM.Submit.disabled = false;
- var charset = 'gbk';
- var stylepath = 'wind';
- var cate = '0';
- var cnt = 0;
- window.onReady(function(){PwFace.init('face_tab', 'face_main', 3, 16)});
- function checkpost(obj){
- try{clearEditorDialog();}catch(e){}//关闭编辑器相关弹窗 pw_lwd.js
- //过滤描述
- if(getObj("B_qlist")){
- var B_file_desc=getElementsByClassName("B_file_desc",getObj("B_qlist"));
- for(var i=0,len=B_file_desc.length;i<len;i++){
- var qlist_li=B_file_desc[i];
- var qlist_inp=qlist_li.getElementsByTagName("input")[0];
- if(qlist_inp!=undefined&&qlist_inp.value=="请输入描述"){
- qlist_inp.value="";
- }
- }
- }
- if(getObj("B_image_tile")){
- var B_file_ip=getElementsByClassName("B_file_ip",getObj("B_image_tile"));
- for(var i=0,len=B_file_ip.length;i<len;i++){
- var B_image=B_file_ip[i];
- var B_image_inp=B_image.getElementsByTagName("input")[0];
- if(B_image_inp!=undefined&&B_image_inp.value=="请输入描述"){
- B_image_inp.value="";
- }
- }
- }
- //end
- var action = "reply";
- if(cate==1 && obj.p_type!=null && obj.p_type.value==0){
- showDlg({type:"error",message:"没有选择主题分类",onClose:function(){
- obj.p_type.focus();
- }});
- return false;
- }
- if(obj.atc_title.value==""){
- if (action != 'reply'){
- showDlg({type:"error",message:"<font color='red'>标题</font> 不能为空。",onClose:function(){
- obj.atc_title.focus();
- }});
- return false;
- }
- } else if(strlen(obj.atc_title.value)>100){
- showDlg({type:"error",message:"标题超过最大长度 <font color='red'>100</font> 个字节。",onClose:function(){
- obj.atc_title.focus();
- }});
- return false;
- }
- if(strlen(obj.atc_content.value)<2){
- showDlg({type:"error",message:"文章内容少于 <font color='red'>2</font> 个字节。",onClose:function(){
- obj.atc_content.focus();
- }});
- return false;
- } else if(strlen(obj.atc_content.value)>50000){
- showDlg({type:"error",message:"文章内容大于 <font color='red'>50000</font> 个字节。",onClose:function(){
- obj.atc_content.focus();
- }});
- return false;
- }
- obj.Submit.disabled = true;
- //显示验证码
- if (obj.name == "FORM" && getObj('fpt_check') && obj.isformchecked.value == 1) {
- read.open('fpt_check', '', 2);
- setTimeout(function(){
- getObj('input_qanswer')&&getObj('input_qanswer').focus();
- getObj('input_gdcode')&&getObj('input_gdcode').focus();
- }, 100);
- if(!is_ie6){
- var st = getPWBox().style;
- st.position = 'fixed';
- st.top = '200px';
- }
- return false;
- }
- if (obj.name == 'quickpostForm' || (obj['go_lastpage'] && false == obj['go_lastpage'].checked && 0 != obj['tid'].value)) {
- obj['type'].value = "ajax_addfloor";
- postfloor(obj);
- var topicRepliesNum = getObj('topicRepliesNum');
- if (topicRepliesNum != 'undefined') {
- topicRepliesNum.innerHTML = parseInt(topicRepliesNum.innerHTML) + 1;
- }
- return false;
- };
- try{
- if (is_ie && newAtt.aid < 2) {
- obj.encoding = "application/x-www-form-urlencoded";
- }
- }catch(e){}
- if (obj['go_lastpage'] && true == obj['go_lastpage'].checked){
- obj.target = obj['ajax'].value = obj['type'].value = '';
- obj.submit();
- return false;
- }
- ajaxSubmit(obj);
- return false;
- }
- function ajaxSubmit(obj){
- obj.Submit.disabled = true;
- ajax.send("post.php?fid=41", obj, function(){
- var changeCheck = true;
- if(undefined == ajax.request.responseText){
- showDlg({
- type: 'error',
- message: "<font color=\'red\'>附件</font> 太大或网络原因,请求超时,请稍后再试!"
- });
- obj.Submit.disabled = false;
- return false;
- }
- var rText = ajax.request.responseText.split(' ');
- if (rText[0] == 'success') {
- if (obj.name == 'quoteFORM') {
- top.window.location = top.window.location.pathname;
- }
- window.onbeforeunload = function(){};
- top.window.location = rText[1];
- obj.atc_content.value = '';
- if (typeof (obj.qanswer) != 'undefined') obj.qanswer.value = '';
- if (typeof (obj.gdcode) != 'undefined') obj.gdcode.value = '';
- obj.iscontinue.value = 0;
- if (obj.name == 'quickpostForm') closep();
- if (obj.name == 'FORM') obj.isformchecked.value = 1;
- }else if(rText[0] == 'continue'){
- changeCheck = false;
- showDlg({type:'confirm',message:rText[1],okText:'继续',onOk:function(){
- obj.iscontinue.value = 1;
- ajaxSubmit(obj);
- }});
- }else{
- if (obj.name == 'FORM') obj.isformchecked.value = 1;
- showDlg('error', rText[0]);
- }
- if (changeCheck) changeHiddenGd(obj);
- obj.Submit.disabled = false;
- return false;
- });
- }
- function postfloor(obj){
- var url = 'post.php?fid=41';
- if (obj.name == 'quickpostForm' && obj.pid.value > 0) {
- obj.action.value = 'quote';
- }
- ajax.send(url, obj, function() {
- var changeCheck = true;
- var rText = ajax.runscript(ajax.request.responseText);
- if (rText.indexOf('read_t') !== -1) {
- //快速回复弹窗位置移到底部
- if(obj.name=="quickpostForm"){
- var dd=document.documentElement;
- var db=document.body;
- var h=dd.scrollHeight-dd.clientHeight;
- var b=dd.scrollTop+db.scrollTop;//初始值
- var c=h-b;//变化量
- var d = 10,t = 0;//持续时间和增量
- var easeInOut=function(t,b,c,d){
- if ((t/=d/2) < 1) return c/2*t*t + b;
- return -c/2 * ((--t)*(t-2) - 1) + b;
- }
- var run=function(){
- if(dd.scrollTop){
- dd.scrollTop=Math.ceil(easeInOut(t,b,c,d));
- }else{
- db.scrollTop = Math.ceil(easeInOut(t,b,c,d));
- }
- if(t<d){ t++; setTimeout(function(){
- run();
- }, 40); }else{t=0;}
- }
- run();
- }
- //end
- var div=document.createElement("div");
- div.innerHTML=rText;
- document.forms['delatc'].appendChild(div);
- obj.reset();
- if(editor) editor.reset();
- if(pwSearch) pwSearch.clear();//清除@的人
- //重置图片数据
- if(typeof attachConfig!="undefined"){
- attachConfig.list={};
- }
- if(typeof uploader!="undefined"){
- uploader.data={};
- }
- //end
- loadFloor.showHidden(tid);
- obj.iscontinue.value = 0;
- read.InitMenu();
- if (obj.name == 'quickpostForm') closep();
- if (obj.name == 'FORM') obj.isformchecked.value = 1;
- if (rText.indexOf('isreplyrewardsuccess') !== -1) changeReplyRewardNum();
- //重新初始化@功能
- if(typeof uCard!="undefined"){
- uCard.init();
- }
- } else {
- var rText = ajax.request.responseText.split(' ');
- if (rText[0] == 'success') {
- window.onbeforeunload = function(){};
- top.window.location = rText[1];
- obj.atc_content.value = '';
- if (typeof (obj.qanswer) != 'undefined') obj.qanswer.value = '';
- if (typeof (obj.gdcode) != 'undefined') obj.gdcode.value = '';
- obj.iscontinue.value = 0;
- }else if(rText[0] == 'continue'){
- changeCheck = false;
- showDlg({type:'confirm',message:rText[1],okText:'继续',onOk:function(){
- obj.iscontinue.value = 1;
- ajaxSubmit(obj);
- }});
- }else{
- if(obj.name=="FORM"){
- //处理验证码输入错误的情况
- if(rText[0].indexOf("验证")!=-1&&getObj("fpt_checktip")){
- read.open('fpt_check', '', 2);
- setTimeout(function(){
- getObj("fpt_checktip").innerHTML=rText[0];
- getObj("fpt_checktip").style.display="";
- if(getObj('input_qanswer')){
- var input_qanswer=getObj('input_qanswer');
- input_qanswer.value="";
- input_qanswer.focus();
- }
- if(getObj('input_gdcode')){
- var input_gdcode=getObj('input_gdcode');
- input_gdcode.value="";
- input_gdcode.focus();
- }
- }, 100);
- if(!is_ie6){
- var st = getPWBox().style;
- st.position = 'fixed';
- st.top = '200px';
- }
- return false;
- }else{
- showDlg('error', rText[0],'');
- }
- //end
- }else{
- showDlg('error', rText[0],'',function(){
- if(obj['gdcode']){
- obj['gdcode'].value="";
- obj['gdcode'].focus();
- if(getObj("changeGdCode")){
- changeCkImage(getObj("changeGdCode"));
- }
- }
- if(obj['qanswer']){
- obj['qanswer'].value="";
- obj['qanswer'].focus();
- }
- });
- }
- if (obj.name == 'quickpostForm') {
- var pwbox = getPWBox();
- pwbox.style.display = '';
- try{
- getObj('qk_ckquestion').src = getObj('qk_ckquestion').src.replace(/t=\d+|nowtime=\d+/,'t='+new Date().getTime());
- var qk_qdcodes = getElementsByClassName('sitegdcheck', getObj('qk_ckcode'));
- for (var i = 0; i < qk_qdcodes.length; i++) {
- if (qk_qdcodes[i].src) qk_qdcodes[i].src = qk_qdcodes[i].src.replace(/t=\d+|nowtime=\d+/,'t='+new Date().getTime());
- if (typeof qk_qdcodes[i].onclick == 'function') qk_qdcodes[i].onclick();
- }
- }catch(e){}
- } else if (obj.name == 'FORM') {
- obj.isformchecked.value = 1;
- }
- }
- }
- if (changeCheck) changeHiddenGd(obj);
- cnt = 0;
- obj.Submit.disabled = false;
- obj.target = '';
-
- if (getObj('creditlocation')) {
- setTimeout(function() {
- getObj('creditlocation').parentNode.removeChild(getObj('creditlocation'));;
- },3000);
- };
- });
- }
- //End Add by liaohu for addfloor
- function checklength(theform,postmaxchars){
- if(postmaxchars != 0){
- message = '<br />系统限制最大字节数:'+postmaxchars+' 字节';
- } else{
- message = '';
- }
- showDlg({type:"warning",message:'您的信息已有字节数: <font color="red">'+strlen(theform.atc_content.value)+'</font> 字节'+message});
- }
- function addsmile(NewCode){
- getObj('textarea').value += ' [s:'+NewCode+'] ';
- }
- window.onbeforeunload = function() {
- saveData('msg', document.FORM.atc_content.value);
- }
- if (FetchCookie('ds') == 1) {
- try{dataStorage.load();}catch(e){}
- }
- function showFace() {
- var menus = getObj("face_tab").getElementsByTagName('li');
- if(menus){
- showTabBtn(menus.length);
- }
- }
- function checkGDkey(e){
- var e=e||window.event;
- var keyCode=e.keyCode||e.which;
- if(keyCode==13){
- setFormChecked();
- }
- }
- function setFormChecked() {
- document.FORM.isformchecked.value = 2;
- if (document.FORM.gdcode) document.FORM.gdcode.value = getObj('input_gdcode').value;
- if (document.FORM.qanswer) document.FORM.qanswer.value = getObj('input_qanswer').value;
- closep();
- checkpost(document.FORM);
- return true;
- }
- function changeHiddenGd(obj) {
- if (obj.name != 'FORM') return false;
- try {
- var checks = getElementsByClassName('sitegdcheck', getObj('fpt_check'));
- for (var i=0; i < checks.length; i++) {
- if (checks[i].src) checks[i].src = checks[i].src.replace(/t=\d+|nowtime=\d+/,'t='+new Date().getTime());
- if (typeof checks[i].onclick == 'function') checks[i].onclick();
- }
- } catch(e){}
- return true;
- }
- function closePopGd() {
- document.FORM.Submit.disabled = false;
- closep();
- }
- function changeReplyRewardNum() {
- var replyrewardnum = getObj('replyrewardnum'),
- leftreplyrewardnum = getObj('leftreplyrewardnum');
- if (!replyrewardnum || !leftreplyrewardnum) return false;
- var newnum = parseInt(leftreplyrewardnum.innerHTML) - parseInt(replyrewardnum.innerHTML);
- if (newnum >= 0) {
- leftreplyrewardnum.innerHTML = newnum;
- }
- return true;
- }
- window.onReady(showFace);
- </script>
- <!--快速版块浏览-->
- <div id="photo_pop_mask" onclick="readImg.hidePhoto()" class="pImg_bg" style="display:none"></div>
- <div id="photo_pop" class="pImg_wrap" style="display:none"><table border="0" cellspacing="0" cellpadding="0"><tbody><tr><td class="bcr1"></td><td class="pibg1"></td><td class="bcr2"></td></tr><tr><td class="pibg4"></td><td><div class="pImg tac">
- <div id="imgLoading" class="imgLoading" style="margin:auto;">
- <div class="aPre" id="prephoto" onclick="readImg.prevPhoto()" title="上一张"></div>
- <div class="aNext" id="nextphoto" onclick="readImg.nextPhoto()" title="下一张"></div>
- <img id="photo_path" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/watermark.jpg" align="absmiddle">
- </div>
- <div class="cc w" style="padding:10px 5px 5px;">
- <div class="fl mr10" id="photo_pop_page"></div><!--a href="javascript:;" class="fl mr20" onclick="readImg.viewAll()">原图</a-->
- <a href="javascript://" class="pImg_close" onclick="readImg.hidePhoto()">关闭</a>
- </div>
- </div></td><td class="pibg2"></td></tr><tr><td class="bcr4"></td><td class="pibg3"></td><td class="bcr3"></td></tr></tbody></table></div>
- <!--弹窗遮罩-->
- <!-- //start reply管理弹出 -->
- <div id="postbatch" style="display:none" class="popout">
- <table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td class="bgcorner1"></td><td class="pobg1"></td><td class="bgcorner2"></td></tr><tr><td class="pobg4"></td><td>
- <div class="popoutContent">
- <div>
- <div class="popTop" style="cursor:move;" onmousedown="read.move(event);">
- <a href="javascript:void(0)" class="adel" onclick="closep()">关闭</a>
- <span class="mr20">选中<span class="b s2" id="select_count">1</span>篇</span>
- </div>
- <div class="p10 cc">
- <a href="javascript:;" onclick="formclick(document.delatc,'masingle.php?action=delatc',2);return false;" class="mr5">删除</a> <a href="javascript:;" onclick="formclick(document.delatc,'operate.php?action=showping&page=1',8);return false;" class="mr5">评分</a> <a href="javascript:;" onclick="formclick(document.delatc,'masingle.php?action=shield&page=1',9);return false;" title="屏蔽单帖" class="mr5">屏蔽</a> <a href="javascript:;" onclick="formclick(document.delatc,'masingle.php?action=remind&page=1',9);return false;" title="提醒管理" class="mr5">提醒</a> </div>
- <div class="popBottom cc">
- <label class="fl"><input type="checkbox" onclick="replyManage.checkall(this);" value="" id="ajaxall" name="ajaxall">全选</label>
- </div>
- </div>
- </div>
- </td><td class="pobg2"></td></tr><tr><td class="bgcorner4"></td><td class="pobg3"></td><td class="bgcorner3"></td></tr></tbody></table>
- </div>
- <!-- //end reply管理弹出 -->
- </div></div><!--.main-wrap,#main End-->
- <div class="footer-wrap">
- <div id="bottom"></div>
- <div id="footer">
- <div class="mb5">
- <div class="bottom tac">
- <span class="mr10"><a id="nav_key_up_47" href="http://bbs.armfly.com/sendemail.php" title="">联系我们</a></span><span class="gray mr10">|</span><span class="mr10"><a id="nav_key_up_48" href="http://bbs.armfly.com/simple/" title="">无图版</a></span><span class="gray mr10">|</span><span class="mr10"><a id="nav_key_up_14" href="http://bbs.armfly.com/m/introduce.php" title="">手机浏览</a></span><span class="gray mr10">|</span><a href="http://bbs.armfly.com/job.php?action=erasecookie&verify=fcff3ff5" rel="nofollow">清除Cookies</a>
- </div>
- </div>
- <div class="f10 s6 tac">
- <p class="mb5">Powered by <a href="http://www.phpwind.net/" target="_blank" class="s4">phpwind v8.7</a> <a href="http://www.phpwind.com/certificate.php?host=bbs.armfly.com" target="_blank" rel="nofollow">Certificate</a> Copyright Time now is:09-25 07:25 <br>©2003-2011 <a href="http://bbs.armfly.com/" target="_blank">安富莱电子论坛</a> 版权所有 Gzip enabled <a href="http://www.miibeian.gov.cn/" target="_blank">鄂ICP备13004536号</a> <span id="windspend">Total 0.101580(s) query 6,</span> <span id="stats"></span>
- <script type="text/javascript" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/tongji.js"></script><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/tongji.do" border="0" width="1" height="1"><a href="http://tongji.linezing.com/report.html?unit_id=2860060" target="_blank"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/icon1.gif" border="0" alt="量子统计"></a>
- <noscript>
- <a href="http://www.linezing.com" target="_blank"><img alt="tongji" src="http://img.tongji.linezing.com/2860060/tongji.gif"/></a>
- </noscript>
- </p>
- </div>
- </div>
- </div>
- </div>
- <div style="height:25px;"> </div><link rel="stylesheet" href="http://bbs.armfly.com/images/toolbar.css?20111111">
- <div class="startbar-wrapper fixed">
- <!--[if IE 6]>
- <iframe frameborder="0" style="position:absolute;width:98%;height:25px;filter:Alpha(opacity=0);" scrolling="no"></iframe>
- <![endif]-->
- <div id="menu_forumlist" style="display:none;">
- <div class="sbar-box-a" style="width:700px;">
- <div class="sbar-title" style="cursor:pointer" onclick="try{pw_bottom.hiddenTab();read.close();}catch(e){read.close();}">
- <span class="adel">隐藏</span>
- <span id="title_forumlist" class="b">快速跳转</span>
- </div>
- <div class="sbar-box-b">
- <div class="forum-list-popout">
- <dl class="cc">
- <dt>
- <a href="http://bbs.armfly.com/index.php?cateid=1">安富莱产品和服务</a>
- </dt>
- <dd class="cc">
- <a href="http://bbs.armfly.com/thread.php?fid=2" onclick="return pwForumList(true,gIsPost,2);">STM32F103</a>
- <a href="http://bbs.armfly.com/thread.php?fid=25" onclick="return pwForumList(true,gIsPost,25);">STM32F407</a>
- <a href="http://bbs.armfly.com/thread.php?fid=42" onclick="return pwForumList(true,gIsPost,42);">STM32F429</a>
- <a href="http://bbs.armfly.com/thread.php?fid=28" onclick="return pwForumList(true,gIsPost,28);">STM32开发环境</a>
- <a href="http://bbs.armfly.com/thread.php?fid=22" onclick="return pwForumList(true,gIsPost,22);">STM8</a>
- <a href="http://bbs.armfly.com/thread.php?fid=40" onclick="return pwForumList(true,gIsPost,40);">51单片机</a>
- <a href="http://bbs.armfly.com/thread.php?fid=7" onclick="return pwForumList(true,gIsPost,7);">逻辑分析仪示波器</a>
- <a href="http://bbs.armfly.com/thread.php?fid=13" onclick="return pwForumList(true,gIsPost,13);">常用电路模块</a>
- <a href="http://bbs.armfly.com/thread.php?fid=41" onclick="return pwForumList(true,gIsPost,41);">触摸屏一体机</a>
- <a href="http://bbs.armfly.com/thread.php?fid=46" onclick="return pwForumList(true,gIsPost,46);">C++ Builder XE7</a>
- </dd>
- </dl>
- <dl class="cc">
- <dt>
- <a href="http://bbs.armfly.com/index.php?cateid=24">嵌入式软件</a>
- </dt>
- <dd class="cc">
- <a href="http://bbs.armfly.com/thread.php?fid=12" onclick="return pwForumList(true,gIsPost,12);">uCOS & ucGUI & emWin</a>
- <a href="http://bbs.armfly.com/thread.php?fid=43" onclick="return pwForumList(true,gIsPost,43);">Android & Linux & Qt & WinCE</a>
- <a href="http://bbs.armfly.com/thread.php?fid=14" onclick="return pwForumList(true,gIsPost,14);"> FreeRTOS</a>
- <a href="http://bbs.armfly.com/thread.php?fid=15" onclick="return pwForumList(true,gIsPost,15);"> RT-Thread</a>
- <a href="http://bbs.armfly.com/thread.php?fid=29" onclick="return pwForumList(true,gIsPost,29);">RL-RTX & CMSIS-RTOS RTX</a>
- <a href="http://bbs.armfly.com/thread.php?fid=30" onclick="return pwForumList(true,gIsPost,30);">embOS</a>
- <a href="http://bbs.armfly.com/thread.php?fid=31" onclick="return pwForumList(true,gIsPost,31);">TCP/IP</a>
- <a href="http://bbs.armfly.com/thread.php?fid=32" onclick="return pwForumList(true,gIsPost,32);">文件系统</a>
- <a href="http://bbs.armfly.com/thread.php?fid=33" onclick="return pwForumList(true,gIsPost,33);">数字信号处理</a>
- <a href="http://bbs.armfly.com/thread.php?fid=45" onclick="return pwForumList(true,gIsPost,45);">编程语言</a>
- </dd>
- </dl>
- <dl class="cc">
- <dt>
- <a href="http://bbs.armfly.com/index.php?cateid=34">开源项目</a>
- </dt>
- <dd class="cc">
- <a href="http://bbs.armfly.com/thread.php?fid=36" onclick="return pwForumList(true,gIsPost,36);">开源示波器</a>
- </dd>
- </dl>
- <dl class="cc">
- <dt>
- <a href="http://bbs.armfly.com/index.php?cateid=18">硬件设计</a>
- </dt>
- <dd class="cc">
- <a href="http://bbs.armfly.com/thread.php?fid=19" onclick="return pwForumList(true,gIsPost,19);">综合资料</a>
- <a href="http://bbs.armfly.com/thread.php?fid=20" onclick="return pwForumList(true,gIsPost,20);">元件和封装</a>
- <a href="http://bbs.armfly.com/thread.php?fid=21" onclick="return pwForumList(true,gIsPost,21);">PCB设计</a>
- <a href="http://bbs.armfly.com/thread.php?fid=26" onclick="return pwForumList(true,gIsPost,26);">FPGA/CPLD</a>
- </dd>
- </dl>
- <dl class="cc">
- <dt>
- <a href="http://bbs.armfly.com/index.php?cateid=10">其它</a>
- </dt>
- <dd class="cc">
- <a href="http://bbs.armfly.com/thread.php?fid=37" onclick="return pwForumList(true,gIsPost,37);">休闲</a>
- <a href="http://bbs.armfly.com/thread.php?fid=16" onclick="return pwForumList(true,gIsPost,16);">广告区</a>
- <a href="http://bbs.armfly.com/thread.php?fid=11" onclick="return pwForumList(true,gIsPost,11);">站务管理</a>
- <a href="http://bbs.armfly.com/thread.php?fid=44" onclick="return pwForumList(true,gIsPost,44);">二手交易</a>
- </dd>
- </dl>
- </div>
- </div>
- </div>
- </div>
- <div class="startbar-close fl" id="startbar-open" onclick="pw_bottom.showToolBar('open');" style="display:none" title="显示快捷栏"></div>
- <a class="startbar-open fl" id="startbar-close" onclick="pw_bottom.showToolBar('close');" title="隐藏快捷栏"></a>
- <div class="startbar" id="startbar">
- <div class="startbar-ui cc">
- <span class="fr">
- <span class="fl" style="display:none">
- <span class="app-f app-current" style="margin-right:-1px" onclick="pw_bottom.hiddenTab('pwb_friend')">在线好友</span>
- </span>
- <span class="app-f fl" id="pwb_friend">在线好友</span>
- </span>
- <span class="fr">
- <span class="fl" style="display:none">
- <span class="app-m app-m-new app-current" style="margin-left:-1px;" onclick="pw_bottom.hiddenTab('pwb_message')">消息</span>
- </span>
- <span class="app-m app-m-new fl" id="pwb_message" title="查看最新未读消息">消息</span>
- </span>
- <span class="fl">
- <span class="fl" style="display:none">
- <span class="app-butt app-current" style="margin-left:-1px;" onclick="pw_bottom.hiddenTab('pwb_app')">我的菜单</span>
- </span>
- <span class="app-butt fl" id="pwb_app">我的菜单</span>
- </span>
- <div class="app-using">
- <span>
- <span style="display:none;float:left;margin-top:-1px;">
- <a href="javascript:;" class="app-forum app-us-current" title="浏览版块" onclick="pw_bottom.hiddenTab('pwb_forumlist')">浏览</a>
- </span>
- <span id="pwb_forumlist"><a href="javascript:;" class="app-forum" title="浏览版块" style="cursor: pointer;">浏览</a></span>
- </span>
- <span>
- <span style="display:none;float:left;margin-top:-1px;">
- <a href="javascript:;" class="app-thread app-us-current" title="发帖" onclick="pw_bottom.hiddenTab('pwb_postlist')">发帖</a>
- </span>
- <span id="pwb_postlist"><a href="javascript:;" class="app-thread" title="发帖" style="cursor: pointer;">发帖</a></span>
- </span>
- <span>
- <span style="display:none;float:left;margin-top:-1px;">
- <a href="javascript:;" class="app-diary app-us-current" title="写日志" onclick="pw_bottom.hiddenTab()">写日志</a>
- </span>
- <span id="pwb_diary"><a href="javascript:;" onclick="return false;" title="日志" class="app-diary">写日志</a></span>
- </span>
-
-
- <span>
- <span style="display:none;float:left;margin-top:-1px;">
- <a href="javascript:;" class="app-photo app-us-current" title="传照片" onclick="pw_bottom.hiddenTab()">传照片</a>
- </span>
- <span id="pwb_photo"><a href="javascript:;" onclick="return false;" title="传照片" class="app-photo">传照片</a></span>
- </span>
- <div class="c"></div>
- </div>
- </div>
- </div>
- <div id="pwd_app_hidden" style="display:none;">
- <div class="sbar-title cc" style="cursor: pointer;padding:5px 10px;" onclick="pw_bottom.hiddenTab();">
- <span class="fr closeicon"><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/cate_open.gif" alt="收起"></span>
- <span class="b">我的菜单 </span>
- </div>
- <h6 class="gray">我的书签</h6>
- <div class="listAppItem">
- <ul class="cc">
- </ul>
- </div>
- <h6 class="gray" style="background:#f3f9fb;">快捷链接</h6>
- <div class="listAppItem">
- <ul class="cc">
- <li><img src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/posts.png" align="absmiddle" alt="posts"> <a href="http://bbs.armfly.com/apps.php?q=article&">我的帖子</a></li>
- </ul>
- </div>
- <div style="padding:5px 10px;border-top:1px solid #dedede;"><a href="http://bbs.armfly.com/profile.php" class="fr" target="_blank">我的设置</a><a href="">返回首页</a></div>
- </div>
- <script src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/bottom.js"></script>
- <script>
- function submitwrite(o) {
- if (getObj('writetext').value == '' || getObj('writetext').value == '想说点什么?') {
- showDialog('error','记录内容必须在3~255个字节之间');
- return false;
- }
- ajax.submit(o);
- return true;
- }
- var pw_bottom = new app_bottom({app:'pwb_app',friend:'pwb_friend',message:'pwb_message',postlist:'pwb_postlist',forumlist:'pwb_forumlist',diary:'pwb_diary',weibo:'pwb_weibo',photo:'pwb_photo'});
- </script>
- </div>
- <script type="text/javascript" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/global.js"></script>
- <script type="text/javascript" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/adminview.js"></script>
- <script type="text/javascript" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/app_global.js"></script>
- <script type="text/javascript" src="./MODBUS协议整理 触摸屏一体机 - 安富莱电子论坛 - Powered by phpwind_files/pw_jobcenter.js"></script>
- <script>
- var openmenu = {'td_u' : 'menu_u','td_sort' : 'menu_sort','nav_key_up_60' : 'nav_key_sub_60','td_userinfomore' : 'menu_userinfomore','td_profile' : 'menu_profile','td_mymenu' : 'menu_mymenu','td_post' : 'menu_post','td_post1' : 'menu_post','td_admin' : 'menu_admin'};
- var messagetip=null;
- window.onReady(function(){
- read.InitMenu();
- //消息提示
- messagetip=new messageTip(90);
- messagetip.init();
- });
- WINDOW_LOADED=1;
- </script>
- <script type="text/javascript">(function(d,t){
- var url="http://init.phpwind.net/init.php?sitehash=10AFUDAQAGCwIHVQlVBAFVUlIBVwYBBAAAW1ZTUVFUAVE&v=8.7&c=0";
- var g=d.createElement(t);g.async=1;g.src=url;d.body.insertBefore(g,d.body.firstChild);}(document,"script"));</script><div id="scrollBar" style="position: fixed; right: 5px; bottom: 75px; display: block;"><a hidefocus="true" href="javascript:void(0)">回到顶部</a></div></body></html>
|