Elsevier, Fusion Engineering and Design, 6-8(86), p. 1085-1090, 2011
DOI: 10.1016/j.fusengdes.2011.03.100
Full text: Download
This paper presents a developed, tested and integrated EPICS IOC (I/O controller) module solution for the ISTTOK tokamak machine operation and control for the vacuum and gas injection systems. The work is organized in two software layers which communicate through a serial RS-232 communication protocol. The first software layer is an EPICS IOC module running as a computer server application capable of receiving requests from remote or local clients providing driver interface to the system by forwarding requested commands and receiving system and control operation status. The second software layer is the firmware running in Microchip dsPIC microcontroller modules which performs the interface from RS-232 optical fiber serial protocol to EPICS IOC module. The dsPIC module communicates to the ISTTOK tokamak sensors and actuators via RS-485 and is programmed with a new protocol developed for this purpose that allows EPICS IOC module command sending/receiving, machine operation control and monitoring and system status information. Communication between EPICS IOC module and clients is achieved via a TCP/IP and UDP protocol referred as Channel Access. In addition, the EPICS IOC module provides user client applications access allowing operators to perform remote or local monitoring, operation and control.