欢迎访问中国科学院大学学报,今天是

中国科学院大学学报 ›› 2005, Vol. 22 ›› Issue (6): 690-694.DOI: 10.7523/j.issn.2095-6134.2005.6.005

• 论文 • 上一篇    下一篇

EPICS下串口通信驱动程序的开发

刘波, 孔祥成   

  1. 中国科学院高能物理研究所, 北京 100049
  • 收稿日期:2004-11-09 修回日期:2004-12-07 发布日期:2005-11-15

Development of Serial Port Device Driver under EPICS

LIU Bo, KONG Xiang-Cheng   

  1. Institute of High Energy Physics, Chinese Academy of Sciences, Beijing 100049, China
  • Received:2004-11-09 Revised:2004-12-07 Published:2005-11-15

摘要:

介绍了在基于Linux的EPICS系统下开发RS232串口通信驱动程序的过程,并以BEPCII实验电子枪控制系统中使用的OMRON CQM1 PLC为实例,分析了针对该设备的EPICS驱动程序,包括其层次结构和具体实现代码.提出了利用已完成的通用串口通信驱动程序,开发其他串口通信设备的EPICS设备支持程序的构想。

关键词: 实验物理和工业控制系统, 串口通信, 设备驱动

Abstract:

This paper introduces the development of RS232 communication driver under EPICS based on Linux platform.The work is based on the control system of BEPCII experimental electron gun.OMRON CQM1 PLC is taken as the example device.Its EPICS driver is analyzed in detail,including the driver's hierarchical structure and particular implementation codes.The plan of developing EPICS device support programs of other devices based on this universal serial port communicat ion driver is in progress.

Key words: EPICS, serial port communication, device driver

中图分类号: