EtherCAT (Ethemet Control Automation Technology)是一种用于工业自动化的实时以太网现场总线协议.通过使用OPC (Object Linking and Embedding for Process Control) Gateway驱动程序实现了EPICS(Experimental Physics and Industrial Control System) IOC (Input/Output Controller)与EtherCAT设备的通信,从而使EtherCAT成为加速器控制系统中对实时性要求很高的高速控制系统的一种解决方案.在简要介绍EPICS、EtherCAT、OPC及OPC Gateway的基础上,对使用OPC Gateway驱动程序实现EPICS IOC与EtherCAT设备通信进行了测试.结果表明,EPICS IOC可通过OPC Gateway驱动程序与EtherCAT设备正常通信.