ALMA Control SW & ACS Ralph Marson (NRAO). ALMA Project ACS Course, June 22 – July 3 2003, Garching, Germany Physical Layout of the M&C network.

Slides:



Advertisements
Similar presentations
Computer System Laboratory
Advertisements

ESO - Tokyo July, 2005 ALMA Common Software Training- Course Session 1b Distributed Systems G.Chiozzi.
11: IPv6 Routing Table and Static Routes
Contents o Introduction o Characteristics of Constructor. o Types of constructor. - Default Constructor - Parameterized Constructor - Copy Constructor.
The subnet /28 has been selected to be further subnetted to support point-to-point serial links. What is the maximum number of serial links.
Slide 2-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 2 Using the Operating System 2.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv4 Introduction to Networks.
Protocol Configuration in Horner OCS
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing and Switching Essentials.
11/15/2005Comp 120 Fall November Seven Classes to Go! Questions! VM and Making Programs Go.
ECE Department: University of Massachusetts, Amherst ECE 354 Spring 2006 Lab 2: Capturing and Displaying Digital Image.
I/O Tanenbaum, ch. 5 p. 329 – 427 Silberschatz, ch. 13 p
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—3-1 Frame-Mode MPLS Implementation on Cisco IOS Platforms Monitoring Frame-Mode MPLS on Cisco.
ALMA Real Time Control System Jeff Kern Ralph Marson, Thomas Juerges.
1 Version 3.1 Module 4 Learning About Other Devices.
Computer Systems Week 10: File Organisation Alma Whitfield.
DAN ISASTERREAETWORK. DAN Goal: Goal: To be able to monitor, track the progress and guide Aid workers and casualties in a Disaster Area site. To be able.
Programming Languages and Paradigms Object-Oriented Programming.
Application Protocol for Veris E30 Panel-board Monitoring System Jaein Jeong UC Berkeley LoCal Workshop Oct 5 th, 2009.
Input and Output Computer Organization and Assembly Language: Module 9.
Segmentation & O/S Input/Output Chapter 4 & 5 Tuesday, April 3, 2007.
Input/ Output By Mohit Sehgal. What is Input/Output of a Computer? Connection with Machine Every machine has I/O (Like a function) In computing, input/output,
ACS Error System Using it in JAVA Sohaila Lucero NRAO.
MICROPROCESSOR INPUT/OUTPUT
Chapter 5 Section 2 : Storage Networking Technologies and Virtualization.
CS 390- Unix Programming Environment CS 390 Unix Programming Environment Topics to be covered: Distributed Computing Fundamentals.
1-1 NET+OS Software Group Flash API Multiple flash memory bank support New Flash API introduction Detailed Flash API Function presentation Supporting.
Proposal.: Communication protocol and Device description for Home Automation Control Submitted By: China March 2006 Proposal: JTC1 SC25 WG1 HES communication.
Ch.2 – Introduction to Routers
Storing and Organizing Data. Why Do I Need to Understand How Data Is Represented? In order to install, program,maintain, and troubleshoot today’s PLCs,
ACS Error System APIs: C++ Bogdan Jeram European Southern Observatory July 2005ESO.
AtacamaLargeMillimeterArray ACS Training Developing Python Components.
ACS Component Simulator J. Ibsen European Southern Observatory Garching – January 2007ESO.
ECE 371 – Unit 9 Interrupts (continued). Example Set up Two Interrupt Request Inputs: –Port H[0] Set Interrupt Flag on “0” to “1” transition (rising edge)
Agilent Technologies Copyright 1999 H7211A+221 v Capture Filters, Logging, and Subnets: Module Objectives Create capture filters that control whether.
Institute of Technology Sligo - Dept of Computing Sem 2 Chapter 12 Routing Protocols.
Creational Pattern: Factory Method At times, a framework is needed to standardize the behavior of objects that are used in a range of applications, while.
ESO - Garching 23 June – 02 July, 2003 ACS Course Transparent XML De-/Serialization in Java H. Sommer.
Property interfacing to Hardware: DevIO ACS Development Team.
Tokyo July, 2005 Introduction to ACE Bogdan Jeram European Southern Observatory.
IT Ess I v.4x Chapter 1 Cisco Discovery Semester 1 Chapter 3 JEOPADY Q&A by SMBender, Template by K. Martin.
Concurrency, Processes, and System calls Benefits and issues of concurrency The basic concept of process System calls.
Chapter 13 – I/O Systems (Pgs ). Devices  Two conflicting properties A. Growing uniformity in interfaces (both h/w and s/w): e.g., USB, TWAIN.
Ch.2 – Introduction to Routers CCNA 2 version 3.0 Rick Graziani Cabrillo College.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 4 Learning About Other Devices.
+ Routing Concepts 1 st semester Objectives  Describe the primary functions and features of a router.  Explain how routers use information.
AtacamaLargeMillimeterArray ACS Training Using the Python Error System.
.NET Mobile Application Development XML Web Services.
بسم الله الرحمن الرحيم MEMORY AND I/O.
CS-280 Dr. Mark L. Hornick 1 Sequential Execution Normally, CPU sequentially executes instructions in a program Subroutine calls are synchronous to the.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
© 2002, Cisco Systems, Inc. All rights reserved..
ECE 456 Computer Architecture Lecture #9 – Input/Output Instructor: Dr. Honggang Wang Fall 2013.
Bill SahrEVLA Advisory Committee Meeting September 8-9, EVLA Monitor & Control.
Media Access Control
LonWorks Introduction Hwayoung Chae.
© 2002, Cisco Systems, Inc. All rights reserved..
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
S ALVATORE DI G IROLAMO (TA) Networks and Operating Systems: Exercise Session 1.
Sem 2 v2 Chapter 12: Routing. Routers can be configured to use one or more IP routing protocols. Two of these IP routing protocols are RIP and IGRP. After.
Module 5: Common Type System
IST 202 Chapter 4.
Direct Attached Storage and Introduction to SCSI
The Hardware Interface
BACI Properties Mount2 example
Outline Device Management Device Manager Design Buffering
Chap 1. Getting Started Objectives
Chap 4. Programming Fundamentals
C Language B. DHIVYA 17PCA140 II MCA.
Presentation transcript:

ALMA Control SW & ACS Ralph Marson (NRAO)

ALMA Project ACS Course, June 22 – July , Garching, Germany Physical Layout of the M&C network

ALMA Project ACS Course, June 22 – July , Garching, Germany AMB Characteristics 1Mbit/sec data rate –Leads to a theoretical maximum cable length of 35m 29-bit addressing –Split into 11-bit (2048) node address and 18-bit (256k) monitor/control point address Broadcast mechanism and serial numbers allow automatic device discovery and identification. All hardware devices are passive and only speak when requested (response in 150 micro-seconds) –This leads to deterministic communications.

ALMA Project ACS Course, June 22 – July , Garching, Germany Control SW use of ACS Uses the “bag of properties” paradigm. Begins with an Interface Control document (ICD), which is a binding agreement describing the M&C interface of the hardware (next two slides). Assign one or more properties for each monitor or control point (show slide) Implement each property, perhaps using a customized device IO classes. (show C++ implementation).

ALMA Project ACS Course, June 22 – July , Garching, Germany Monitor Point description (summary) Table 1: Summary of Monitor Points NameRelative CAN Address (hex) Data Size (bytes) Sugested Interval (secs) Timing Event related? GET_COMP_STATE0x No GET_CONTROL_BOX_TEMP0x No GET_CROSSHEAD_CURRENT0x No GET_ELEC_CAGE_TEMP0x No GET_FAN_AIR_TEMP0x No GET_FAN_MOTOR_TEMP0x No GET_FRIDGE_DRIVE_STATE0x No

ALMA Project ACS Course, June 22 – July , Garching, Germany Monitor Point description (details) GET_COMP_STATE Relative CAN Address0x DescriptionGet current state of the helium compressor system. On power up or when power is cycled, the helium compressors will be in a state determined by a front-panel switch. This monitor point returns that state, independent of the SET command of the same name. Suggested Interval300 secs TE RelatedNo Data1 byte: (ubyte) bit 0: 0 -> The compressor is off 1 -> The compressor is running bits 1 – 7: Unused and always set to zero

ALMA Project ACS Course, June 22 – July , Garching, Germany IDL file #include "enumpropMACRO.idl" #pragma prefix "ALMA" module ticsFECOMP { // A baci enum for compressor and fridge drive states enum DriveState { DISABLED, ENABLED }; ENUM(DriveState); interface Fecomp : AMBSI::AmbsiNode { // hecomp-specific monitor points readonly attribute RODriveState get_comp_state; readonly attribute RODriveState get_fridge_state; readonly attribute ACS::ROpattern get_status; readonly attribute ACS::ROdouble get_gm_return_pressure;

ALMA Project ACS Course, June 22 – July , Garching, Germany Example1::Example1(PortableServer::POA_ptr poa, const ACE_CString& name) :TICS_Device_i(poa, name) { // getExampleStatus property getExampleStatus_mp = new ROpattern(name+":getExampleStatus", getCOB()); ACSDO_PROPERTY(getExampleStatus, getExampleStatus_mp); // getPowerState property Constructor Member function ACS::ROpattern_ptr Example1:: getExampleStatus(CORBA::Environment& ACE_TRY_ENV = TAO_default_environment ()) ACE_THROW_SPEC ((CORBA::SystemException)) { if (getExampleStatus_mp == 0) return ACS::ROpattern::_nil(); ACS::ROpattern_var prop = ACS::ROpattern::_narrow(getExampleStatus_mp->getCORBAReference(), ACE_TRY_ENV); return prop._retn(); }

ALMA Project ACS Course, June 22 – July , Garching, Germany Include class fecompState: public devIOCAN { public: fecompState(const ACE_CString & name, ambSimpleCANNode *Node) : devIOCAN(name, Node) {}; virtual void writePattern(long value, int &errcode, unsigned long long &timestamp); virtual long readPattern(int &errcode, unsigned long long &timestamp); };

ALMA Project ACS Course, June 22 – July , Garching, Germany Implementation long fecompState::readPattern(int &errcode, unsigned long long &timestamp) { unsigned char uch[8]; int data_len; errcode = m_Node->Read(m_RCA, data_len, uch, timestamp); if (uch[0] == 0) { return ticsFECOMP::DISABLED; } else { return ticsFECOMP::ENABLED; } }

ALMA Project ACS Course, June 22 – July , Garching, Germany Device communication Uses a specialized Device IO class (devIOCAN) Derive a specific class containing custom conversions or status bit interpretation. This leads to many small classes and a lot of code duplication.

ALMA Project ACS Course, June 22 – July , Garching, Germany Demo of objexp & antMount GUI