Gpls Vme Module: A Diagnostic and Display Tool For Nsls Micro Systems
Gpls Vme Module: A Diagnostic and Display Tool For Nsls Micro Systems
Gpls Vme Module: A Diagnostic and Display Tool For Nsls Micro Systems
GPLS VME MODULE: A DIAGNOSTIC AND DISPLAY TOOL FOR NSLS MICRO SYSTEMS*
S.Ramamoorthy, J.D.Smith, BNL, Upton, NY
Abstract
The General Purpose Light Source VME module is an integral part of every front-end micro in the NSLS control system. The board incorporates features such as a video character generator, clock signals, time-of-day clock, a VME bus interrupter and general-purpose digital inputs and outputs. This module serves as a valuable diagnostic and real-time display tool for the micro development as well as for the final operational systems. This paper describes the functions provided by the board for the NSLS micro control monitor software.
1 INTRODUCTION
The front-end computers that interface with the hardware in the NSLS control system [ l ] are VME-based microprocessor systems. The minimum requirements to configure a system are a CPU board with Ethernet controller (68k series: Motorola mvme162 or power PC series: Motorola mv1603, mv1604, mv230x are used at present), one megabyte battery-backed-up memory board and a General Purpose Light Source board (referred to as GPLS board). Additional boards are dictated by the specific hardware or equipment to be controlled andor monitored. These systems are driven by real-time software known as the NSLS Control Monitor [2],[3]. This paper describes the hardware features of the GPLS board and how the software uses the various components.
2 HARDWARE DESCRIPTION
The GPLS board in use since 1987, was originally developed by the NSLS controls and diagnostic groups to provide bus interrupter and ASCII video display functions. As some of the components used by the board have become obsolete, a new GPLS board has been redesigned by Apogee Lab Inc.[4], following the specifications from the NSLS controls group. The new board (Apogee Lab: Model number VME-TVI) provides new features such its a time code reader and generator and enhanced video functions. The board can be accessed through an extended (A32:D16/DOS) or a standard (A24:D16/D08) address space of a VME-bus slave interface. The main components of the board are an interrupt generator, a video generator, a timer module and general-purpose inputs and outputs.
*Work performed under the auspices of U.S.Dept. of Energy under the contact no: DE-AC02-98CH10886.
690
Authorized licensed use limited to: NATIONAL INSTITUTE OF TECHNOLOGY WARANGAL. Downloaded on November 5, 2009 at 05:28 from IEEE Xplore. Restrictions apply.
3 SOFTWARE INTERFACE
The control monitor software uses VxWorks which is a commercial real-time operating system. The software consists of a set of system tasks, interrupt handlers, application specific modules and hardware drivers. The system software is standard for all micros and manages the system hardware (GPLS board, etc.), communications, command decoding, etc. It provides system timing, and uses real-time OS primitives to synchronize and coordinate the activities of other tasks. This module isolates all the kernel specifics and system hardware interfacing from application modules and provides services to them for real-time control.
69 1
Authorized licensed use limited to: NATIONAL INSTITUTE OF TECHNOLOGY WARANGAL. Downloaded on November 5, 2009 at 05:28 from IEEE Xplore. Restrictions apply.
Proceedings of the 1999 Particle Accelerator Conference, New York, 1999 radio broadcast at 60 kHz. The system module reads the three timer-registers every 250 milliseconds, decodes the Time-of-Day information and makes it available to other tasks. In addition, the time registers can be used to time a code segment (with an accuracy of + or - 4 microseconds) and display the value on a video page. The time data is also used to time stamp data or an event such as an occurrence of an alarm.
4 CONCLUSIONS
The use of the GPLS board timers for system timing and interrupts by the software makes the porting of software to different VME-based CPU boards and to different realtime operating systems very easy. The video display serves as a great debugging tool during program development. The fast display of signal values and hardware status on TV without any load on the network are widely used for diagnostics and general monitoring by engineers, operators and physicists.
6. REFERENCES
[I] J.D.Smith, S.Ramamoorthy,Y.Tang.Nucl.Inst. and M e t h h Phys. Res, A32 (1994) 114. [2] SRamamoorthy, J.D.Smith, Proc.IEEE PAC 1993, 1849. [3] http://www.nsls.bnl.gov/Systems/Controls. [4] Apogee Lab Inc.,Dickerson Rd, Unit3/4, North Wales, PA19454. [5] Users Manual for TimeNideolIntermpt Module Model VME-TVI.
5 ACKNOWLEDGEMENT
The authors wish to thank Gary Frisbie for his technical support during the testing of the boards and to Dave Grebe of Apogee Lab for his constructive suggestions.
692
Authorized licensed use limited to: NATIONAL INSTITUTE OF TECHNOLOGY WARANGAL. Downloaded on November 5, 2009 at 05:28 from IEEE Xplore. Restrictions apply.