计算机工程与设计
計算機工程與設計
계산궤공정여설계
Computer Engineering and Design
2015年
11期
2910-2914
,共5页
卢伟%孟婥%孙以泽%朱荷蕾%李培兴
盧偉%孟婥%孫以澤%硃荷蕾%李培興
로위%맹작%손이택%주하뢰%리배흥
传感器数据传输%可靠性%返回码%陷阱程序%数据跳动范围%软件看门狗
傳感器數據傳輸%可靠性%返迴碼%陷阱程序%數據跳動範圍%軟件看門狗
전감기수거전수%가고성%반회마%함정정서%수거도동범위%연건간문구
sensor data transmission%reliability%return code%trap program%range of data beating%software watchdog
为提高棉麻纤维纱线晶变改性成套装备传感器数据传输可靠性,设计基于以太网的传感器数据传输可靠性方案。上位机根据通讯过程中下位机的返回码判断数据传输过程是否正常;在可能出故障的地方设置陷阱程序,对故障定位;在通讯正常时,须判断数据跳动范围是否超限。在PLC控制器中,设计软件看门狗程序,监控数据传输故障。现场运行结果表明,该方案能及时准确识别各种数据传输故障,提高了传感器数据传输的可靠性。
為提高棉痳纖維紗線晶變改性成套裝備傳感器數據傳輸可靠性,設計基于以太網的傳感器數據傳輸可靠性方案。上位機根據通訊過程中下位機的返迴碼判斷數據傳輸過程是否正常;在可能齣故障的地方設置陷阱程序,對故障定位;在通訊正常時,鬚判斷數據跳動範圍是否超限。在PLC控製器中,設計軟件看門狗程序,鑑控數據傳輸故障。現場運行結果錶明,該方案能及時準確識彆各種數據傳輸故障,提高瞭傳感器數據傳輸的可靠性。
위제고면마섬유사선정변개성성투장비전감기수거전수가고성,설계기우이태망적전감기수거전수가고성방안。상위궤근거통신과정중하위궤적반회마판단수거전수과정시부정상;재가능출고장적지방설치함정정서,대고장정위;재통신정상시,수판단수거도동범위시부초한。재PLC공제기중,설계연건간문구정서,감공수거전수고장。현장운행결과표명,해방안능급시준학식별각충수거전수고장,제고료전감기수거전수적가고성。
To improve the data transmission reliability of complete sets of equipment in the cotton and linen fiber yarn crystal change modification ,a sensor data transmission reliability scheme was designed based on Ethernet .The upper computer judged whether data transmission process was normal according to the return code .Trap program was set to locate the fault in where might be out of order .Whether the range of data beating was normal was judged .A watchdog program was designed to monitor data transmission fault in the PLC controller .The scheme can timely and accurately identify all kinds of data transmission faults in real application ,and improves the reliability of the sensor data transmission .