Presentation on theme: "EPICS Noboru Yaamamoto Jan 27, 2009 for EPICS seminar at RRCAT, Indore Installing EPICS."— Presentation transcript:
EPICS Noboru Yaamamoto Jan 27, 2009 for EPICS seminar at RRCAT, Indore Installing EPICS
EPICS EPICS Supports a Standard Control System Architecture Workstations(OPI): Sun Hp DEC/Alpha Silicon Graphics PC OS: Unix(incl. Linux and Darwin), Some Windows I/O Controllers(IOC): VME,VXI PCI, Workstations OS: vxWorks, Unix, Windows RTEMS, RTLinux, L4 linux Field I/O Remote and Local I/O Buses: Control Net, PCI, CAN-Bus, Industry Pack, VME, VXI, PCI, ISA, CAMAC, GPIB, Profibus, Bitbus, Serial, Allen-Bradley, Modbus, Yokogawa, G-3, Ethernet/IP Field I/O Site LAN/WAN Field I/O
EPICS Ingredient of the system IOC CPU Running VxWorks RTEMS Unixen(inc. Linux & Darwin) Windows Network TCP/IP & UDP/IP based network OPI/Development machines Unix CPU Linux MacOSX(Darwin) BSD Windows PC Cygwin/gcc MS Visual C++
EPICS Field IO VME/VXI PCI Canbus AB Serial GP-IB USB Network Including Ethenert CAMAC,.....
EPICS Software Base Database CA lib CA Server Tools for Application development Extensions Display manager Gateway Uses configuration files Modules Device support Sequencer
EPICS How to Install? From source Get Source code, compile and install Not so difficult on Linux Use distributions: Code collections from base, modules, extensions & elsewhere synApps: Beamline support code packaged (APS) LivEPICS: Linux Live CD that includes EPICS (INFN) MacOSX: CA Client Installer for Mac OS X Leopard (ORNL) Win32: Extensions programs built for Microsoft systems TIS-4000: Commercial SCADA software based on early version of EPICS EPICS on Ubuntu/SL4 Live CD (KEK) And others.
EPICS How to Get Software Go “EPICS Home page” http://www.aps.anl.gov/epics/ http://www.aps.anl.gov/epics/ Then download Most software covered by EPICS Open Licence http://www.aps.anl.gov/epics/license/open.php Base: base-3.14.10is latest We will use 3.14.9 in this seminar, though. Extensions: Configuration files EDM and/or EDM Channel Archiver Gateway Any other you want to try Modules Soft Sequencer AsynDriver HW Any other device support
EPICS 3 rd Party tools Standard tools Perl 5. GNU Make Optional VxWorks Ask WindsRiver or its agent RTEMS http://www.aps.anl.gov/epics/base/RTEMS/tutorial/
EPICS Environment Variables Refer to base/startup/Site.cshrc or Site.profile EPICS_HOST_ARCH You must make sure it is defined when you buid EPICS tools. - - Linux-x86 Darwin-ppc Cygwin-x86 win32-x86 win32-x86-borland
EPICS Building Base Go to base directory Cd base/ Run make Env EPICS_HOST_ARCH=linux-x86 make install Wait for a while Mileage may vary Check base/lib and base/bin directory
EPICS Building Extensions Go to exstensions directory Cd extensions/ Read the document for each product and follow the instruction. Run make Env EPICS_HOST_ARCH=linux-x86 make install Wait for a while Mileage may vary Check base/lib and base/bin directory
EPICS Learning Curve The Learning Curve for EPICS can be steep Installing EPICS Setting up the application environment to automatically build databases Setting up the IOC to boot from the workstation Installing the new drivers Choosing and learning which client tools to use Knowledge of how to debug the application - is needed by everyone Learning to use the process database This learning curve can be eased by receiving training from other laboratories, having one of your employees work and train at an EPICS site, or reading the documents and using the software support document to determine the collaboration member supporting your platform.