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

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

  • 刘波 ,
  • 孔祥成
展开
  • 中国科学院高能物理研究所, 北京 100049

收稿日期: 2004-11-09

  修回日期: 2004-12-07

  网络出版日期: 2005-11-15

Development of Serial Port Device Driver under EPICS

  • LIU Bo ,
  • KONG Xiang-Cheng
Expand
  • Institute of High Energy Physics, Chinese Academy of Sciences, Beijing 100049, China

Received date: 2004-11-09

  Revised date: 2004-12-07

  Online published: 2005-11-15

摘要

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

本文引用格式

刘波 , 孔祥成 . EPICS下串口通信驱动程序的开发[J]. 中国科学院大学学报, 2005 , 22(6) : 690 -694 . DOI: 10.7523/j.issn.2095-6134.2005.6.005

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.

参考文献

[1] ?? Xu SF,Zhao JJ.EPICS implementation on l inux platform.Atomi c Energy Science and Technology,2003,37(4):358~361( in Chinese).

[2] ?? http://www.aps.anl.gov/epics/.

[3] http://www.lightsource.ca/machine/controlinstrumentations.php.

[4] ?? Stevens WR.Advanced Programming in the UNIX Environment.Boston:Addison-Wesley,1992.

文章导航

/