An Overall Structure of the PANDA Hydrogen Targets Slow Control National Centre for Nuclear Research, Poland An Overall Structure of the PANDA Hydrogen Targets Slow Control Vienna Meeting, 18th of April 2013 Arkadiusz Chlopik 1 Stefan-Meyer-Institut OeAW, April 18, 2013
National Centre for Nuclear Research, Poland Program P0 on PC (target platform) Programming language? Tasks of the programm? Full target logic or only communication with cRIO? GUI? Challenge: has to provide multi-user access (remote desktop not applicable)! Arkadiusz Chlopik 2 Stefan-Meyer-Institut OeAW, April 18, 2013
National Centre for Nuclear Research, Poland Tasks of LabVIEW programm LV1 on the CompactRIO CPU? Full target logic or only communication with FPGA and target PC? Tasks of LabVIEW programm LV2 on the CompactRIO FPGA? Complete target logic or only realtime control of safety relevant systems? Arkadiusz Chlopik 3 Stefan-Meyer-Institut OeAW, April 18, 2013
National Centre for Nuclear Research, Poland Communication (1) between CA Server and programm P0? Communication (2) between LabVIEW programm LV1 on the CompactRIO CPU and the programm P0 Communication (3) between LabVIEW programm LV2 on the CompactRIO FPGA and the LabVIEW programm LV1 on the CompactRIO CPU? Arkadiusz Chlopik 4 Stefan-Meyer-Institut OeAW, April 18, 2013
National Centre for Nuclear Research, Poland CompactRIO Chassis NI 9074 8 slots 2 x 10BaseT and 100BaseTX Ethernet (100m/segment) Integrated controller Spartan-3 FPGA with 46080 logic cells High-Speed PCI bus between Real-Time Processor and Reconfigurable FPGA Arkadiusz Chlopik 5 Stefan-Meyer-Institut OeAW, April 18, 2013
National Centre for Nuclear Research, Poland 3 PCI Bus 2 Ethernet 1 ? (explanation on next slides) LV2 only real-time control of safety relevant systems LV1 partial logic and communication with FPGA and target PC Arkadiusz Chlopik 6 Stefan-Meyer-Institut OeAW, April 18, 2013
LabVIEW EPICS I/O Servers National Centre for Nuclear Research, Poland LabVIEW EPICS I/O Servers LabVIEW Datalogging and Supervisory Control (DSC) Module and the LabVIEW Real-Time Module act as Channel Access (CA) clients through I/O servers. Use the EPICS Client I/O servers to monitor and update process variables (PVs) that an input/output controller (IOC) or Channel Access server (CAS) publishes using the CA network protocol. With EPICS Server I/O servers, LabVIEW acts as a server that uses the Channel Access (CA) network protocol. Use EPICS Server I/O servers to publish shared variables by using the CA network protocol. An EPICS Server I/O server is a Channel Access server (CAS). You can create an EPICS Server I/O server to publish local and remote shared variables and CompactRIO I/O variables (IOVs). Arkadiusz Chlopik 7 Stefan-Meyer-Institut OeAW, April 18, 2013
National Centre for Nuclear Research, Poland Program P0 on PC (target platform) LabVIEW programming language Incorporates full target logic and communication with cRIO LabVIEW GUI Arkadiusz Chlopik 8 Stefan-Meyer-Institut OeAW, April 18, 2013
National Centre for Nuclear Research, Poland Program P0 on PC (target platform) Communication with cRIO Diagnostics, Services, Reprogramming LabVIEW GUI Arkadiusz Chlopik 9 Stefan-Meyer-Institut OeAW, April 18, 2013
Literature National Centre for Nuclear Research, Poland Introduction to EPICS http://www.ni.com/white-paper/14144/en How LabVIEW Uses I/O Servers http://www.ni.com/white-paper/13865/en Interactively Configuring EPICS I/O Servers http://www.ni.com/white- paper/14149/en Creating EPICS Client I/O Servers (DSC Module or Real-Time Module) http://zone.ni.com/reference/en-XX/help/371618H- 01/lvmve/using_epics_s_serv/ Using the LabVIEW Shared Variable http://www.ni.com/white-paper/4679/en Sharing Data Using Shared Variables (Real-Time Module) http://zone.ni.com/reference/en-XX/help/370622K- 01/lvrtconcepts/rt_projectvariable/ Experimental Physics and Industrial Control System http://www.aps.anl.gov/epics/index.php Arkadiusz Chlopik 10 Stefan-Meyer-Institut OeAW, April 18, 2013