Package: Enclosure Control System

Description:  Control of the Enclosure shells and monitoring of the Anemometers.

Package name: ecs

Inheritance:  LCU Server Framework <<SubSystem>>lsfSERVER

Controlled HW Devices: 

Controlled SW Devices: None

Deployment:  AT Control WS: atecswsControl Auxiliary LCU: atecsServer

Use Case diagram: 

Class diagram: 

Architecture: 

As of the current issue of the ICD [AD 20] and described in ICD Enclosure, the architecture of this sub-system is described below. The enclosure package has a WS and a LCU part. The WS part is responsible for coordination with other WS packages. The LCU part takes care of the real-time functions.

The LCU Software Device is instantiated from the LCU Server Framework lsf.
The sub-class <<SW Device>>atecsServer:lsfSERVER is composed of one instance of the serial communication class <<PLC Device>>enclosure:lsfSERIAL, one instance of the device <<PLC Device>>anemometer:lsfSERIAL and of one instance of the monitor device <<Task Device>>monitor:lsfTASKDEV.

The hardware is driven via the RS232 serial communication port /tyCo3 available on the LCU Transition Module.
The details of the communication protocol are described in the Siemens 3964 PLC User Manual [AD 29].

The Software Device atecsServer provides the following Specific Commands for the control of the enclosure sub-system:

 

Commands OPEN / CLOSE / GETWIND

These 3 commands are transient instances resp. of the classes:
<<Control>>ecsOPEN:lsfCOMMAND_HANDLER,
<<Control>>ecsCLOSE:lsfCOMMAND_HANDLER,
<<Control>>ecsGETWIND:lsfCOMMAND_HANDLER.

They invoke the inherited methods lsfRS232::lsfSerialWrite() and lsfRS232::lsfSerialRead().

Command Definition Table:  atecsServer.cdt

Command Interpreter Table:  atecsServer.cit

Reuse from VLT TCS:  New package; The implementation of the communication protocol is provided by the VLT module plccom.

Issues to be Determined or Resolved: None

Notes: There is a manual way to close the enclosure, overriding the software control. However, it remains strictly forbidden to attempt to close the enclosure if the telescope is in upper position and the Altitude axis is above 20 degrees elevation; the enclosure shells would collide with the telescope top-ring.

For safety, the PLC implements an algorithm that automatically closes the enclosure shells whenever the wind speed exceeds 18m/s. This state is reflected in the status. In addition, a special is set that informs timely of the imminent closing.

Last modified: Thu Jun 28 11:31:45 UTC 2001