计算机应用与软件
計算機應用與軟件
계산궤응용여연건
COMPUTER APPLICATIONS AND SOFTWARE
2015年
6期
182-184,191
,共4页
划膜仪%RS485%Modbus 通信协议%MPC82G516A%ADUM1301
劃膜儀%RS485%Modbus 通信協議%MPC82G516A%ADUM1301
화막의%RS485%Modbus 통신협의%MPC82G516A%ADUM1301
Dispenser instrument%RS485%Modbus communication protocol%MPC82G516A%ADUM1301
为了满足工业划膜设备接入工控网络的要求,设计了基于 RS-485和 Modbus 协议的通信模块。详细规划模块的组成,介绍软件工作流程。针对仪器自身特点设计通信软件,并通过 Modbus 协议实现数据传输和仪器控制。重点是线路加入数字隔离器ADUM1301保证仪器的安全性,并利用诊断计数器更加便捷地进行通信状态和错误的管理。实验证明:模块实现了上位机对划膜仪的精准控制和可靠通信,并使其容错处理和抗干扰性能都优于之前。
為瞭滿足工業劃膜設備接入工控網絡的要求,設計瞭基于 RS-485和 Modbus 協議的通信模塊。詳細規劃模塊的組成,介紹軟件工作流程。針對儀器自身特點設計通信軟件,併通過 Modbus 協議實現數據傳輸和儀器控製。重點是線路加入數字隔離器ADUM1301保證儀器的安全性,併利用診斷計數器更加便捷地進行通信狀態和錯誤的管理。實驗證明:模塊實現瞭上位機對劃膜儀的精準控製和可靠通信,併使其容錯處理和抗榦擾性能都優于之前。
위료만족공업화막설비접입공공망락적요구,설계료기우 RS-485화 Modbus 협의적통신모괴。상세규화모괴적조성,개소연건공작류정。침대의기자신특점설계통신연건,병통과 Modbus 협의실현수거전수화의기공제。중점시선로가입수자격리기ADUM1301보증의기적안전성,병이용진단계수기경가편첩지진행통신상태화착오적관리。실험증명:모괴실현료상위궤대화막의적정준공제화가고통신,병사기용착처리화항간우성능도우우지전。
To satisfy the requirement of industrial dispenser instruments accessing to the network,we designed the RS-485 and Modbus protocol-based communication module.The constitution of the module was planned in detail,and the work flow of software was introduced as well.According to the characteristics of the instrument its own we designed the communication software,and realised the data transmission and instrument control through Modbus protocol.Emphasis was put on adding the digital isolator ADUM1301 to circuit to guarantee the security of instrument,and the diagnostic counter was employed to manage the status and error of communication more conveniently.Practice proved that the module realised precise control and reliable communication of PC on the dispenser instrument,and the fault tolerance and anti-disturbance performance were all better than before.