首页 | 本学科首页   官方微博 | 高级检索  
     

基于MODBUS通讯的信号采集卡的设计
引用本文:程胜勇,刘暾东.基于MODBUS通讯的信号采集卡的设计[J].现代电子技术,2005,28(20):25-26,31.
作者姓名:程胜勇  刘暾东
作者单位:厦门大学,福建,厦门,361005
基金项目:福建省青年科技人才创新项目(2004J020)
摘    要:在分布式数据采集与监测系统中,往往需要实时采集远程被控对象的各种参数,并与上位控制中心进行数据交换.本文介绍了基于MODBUS通讯协议的信号采集卡硬件和软件设计.其硬件主要分为信号采集和通信2部分.本卡主要采集各种数字量,如按键是否按下,继电器是否闭合等.由于PC机串行口最大传输距离仅为50~100 ft,因此采用RS 485总线实现数据的远程传输.软件部分采用C语言编写下位机程序,而上位机界面的搭建选用VB.该采集卡可以运用到许多实际的工控场合.

关 键 词:RS  485总线  MODBUS协议  信号采集  通信
文章编号:1004-373X(2005)20-025-02
收稿时间:2005-06-29
修稿时间:2005-06-29

Design of Signal Collection Card Based on MODBUS Communication
CHENG Shengyong,LIU Dundong.Design of Signal Collection Card Based on MODBUS Communication[J].Modern Electronic Technique,2005,28(20):25-26,31.
Authors:CHENG Shengyong  LIU Dundong
Affiliation:Xiamen University, Xiamen, 361005 ,China
Abstract:In distributed data collection and supervision systems,it is needed to collect the parameters of the controlled object and exchange datas with master control center.The paper introduces hardware and software design of signal collection card which is based on MODBUS protocol.The hardware is mainly composed by two parts,signal collection and communication.This card mainly collects digital datas,such as states of buttons or relays,and so on.Because the max transport distance of serial port of PC is only 50~100 ft,so RS485 Bus is used to realize the remote data transmission.The software of slave computer is programmed by C;while the interface of master computer is built by VB.The card could be applied to many industrial control occasions.
Keywords:RS485 Bus  MODBUS protocol  signal collection  communication
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号