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

基于EPICS的慢速设备异步控制应用研究
引用本文:郭帆,蒋薇,杨兴林,章林文.基于EPICS的慢速设备异步控制应用研究[J].强激光与粒子束,2017,29(7):075102.
作者姓名:郭帆  蒋薇  杨兴林  章林文
作者单位:1.中国工程物理研究院 流体物理研究所, 四川 绵阳 621 900
摘    要:针对直线感应加速器控制系统大多数前端设备为带通讯接口的慢速设备的实际情况,采用异步通讯模块Asyn和基于字节的模块StreamDevice相结合的方法实现该类设备在实验物理与工业控制系统(EPICS)架构下的分布式控制。系统中使用的国产或自行研制的设备的命令格式不是SCPI格式,而控制系统常需要在一个I/O命令中写入多个参数(PV),而StreamDevice协议中,多个PV设置无法在一个协议函数中实现。采用EPICS实时数据库的Calcout记录作为多参数输入容器,将多个PV组成一个结构化数组,从而实现多个PV变量的同时设置。同样,针对多参数同时读取的情形,使用waveform记录在一次读入操作中能获取多个PV变量的值。

关 键 词:直线感应加速器    EPICS    慢速设备控制    多字节写入    多字节读取
收稿时间:2017-01-18

Applications of asynchronous slow devices control system based on EPICS
Institution:1.Institute of Fluid Physics,CAEP,P.O.Box 919-106,Mianyang 621900,China
Abstract:For the fact that most of the front-end devices are slow devices with communication port in the control system of Linear Induction Accelerator (LIA), this paper combines synchronous communication module Asyn with StreamDevice module to realize the distributed control of these devices based on the EPICS architecture. The multi-parameter input and output methods are proposed based on SCPI and non-SCPI commands. The command format supported by domestic devices is not SCPI, and it is usually needed to read or write multiple PVs in one I/O command, but the protocol in StreamDevice does not support. In this paper, Calcout record is used to combine several PVs in to a structured array to implement setting multiple PVs at one time, and waveform record is used to implement reading multiple PVs at one time.
Keywords:
本文献已被 CNKI 等数据库收录!
点击此处可从《强激光与粒子束》浏览原始摘要信息
点击此处可从《强激光与粒子束》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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