Epics@GSI Webhome

HADES Slow Control: Hadcon1 based systems

Introduction

Description of the systems controlled via EPICS IOCs running on HadCon1 (a.k.a. HadShoPoMo) systems at HADES

Code Repository

  • IOC code
    • streamHadcon
      • CVS Root: :ext:hadaq@lx-pool:/misc/hadesprojects/daq/cvsroot
      • CVS Module: hadcon/epics_apps/streamHadcon
    • startup Procedures
      • CVS Root: :ext:hadaq@lx-pool:/misc/hadesprojects/daq/cvsroot
      • CVS Module: EPICS/startupProcedures/hadcon/EPICS/startupProcedures

Detectors/Systems and Task

  • RPC
    • LV Power Supply
    • Gas System Monitor
  • MDC / HADES global
    • temperatures
    • pressure sensors
    • pressure sensor and relay output
  • ...

Detectors/Systems

Tasks

  • 1-wire bus
    • temperature readout
    • ADC readout
    • switches
  • Atmel
    • ADC readout
    • Relay settings
  • Atmel CANbus

Detectors/Systems vs. Tasks

HADCon assignments

  • defined in startupProcedures and matched by the IOC code

Magnet hall sensor readout
  code version
etrax225 merged 3.1
MDC temperatures
  code version
etrax231  
MDC gas system flow meters
  code version  
etrax221 merged 3.1   connected to OWADC1 no. IV
MDC pressure sensors
  code version
etrax236
MDC LV switches
  code version
etrax204 4.3.2
MDC pressure sensor and relay output
  code version
etrax201
RPC gas system monitor
  code version
etrax208
RPC LV
  code version  
etrax239 4.3.2 Sector 1
etrax207 Sector 2
etrax230 Sector 3
etrax232 Sector 4
etrax233 Sector 5
etrax222 Sector 6
SHOWER ???
  code version
etrax202

IOCs

binary

  • identical for all hadcons

startup cmd file

st.cmd
sources st_${HOSTNAME}.cmd for host specific database

database

  • makes extensive use of template/substition functionality of EPICS
  • mainly connects via streamDev protocol functions to the API of Hadcon's micro controler
    • using as asyn port hadcon's internal serial interface device /dev/ttyS1 connected to the μC
  • takes care of non-conflicting access to the μC
    • hadcon_global_scan.template, which calls task specific "globals" initiating the read/write action
      • hadcon_atmel_adc_global.template
    • or special tasks:
      • RPC gas system monitor:
        • hadcon_global_scan_rpc_gas_system.template
    • ...
  • other global, singular to the host, templates/db
    • hadcon_global.db
    • hadcon_debug_global.db
    • hadcon_show_global.db

streamDev2 protocols

Tarball

-- -- PeterZumbruch - 03 Apr 2012
Topic revision: r14 - 2013-03-21, PeterZumbruch
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback | Legal notice | Privacy Policy (german)