Use Case: Perform
Standard Commands
Description:
Process standard command
Role(s)/Actor(s):
Primary: PRIMA Metrology Control System
Secondary: Beam Alignment, Metrology Measurement and Light Source
Stabilization sub-systems
Priority: Critical
Performance: up
to some minutes
Frequency: At
any time
Preconditions:
- Processes ready to receive commands
Basic Course:
- Receive new standard command
Exception Course: Receive failed
Exception Course: Not a standard command
- Send the command to all dependent sub-systems
ONLY for the commands OFF,
INIT,
STANDBY,
ONLINE,
STOP/BREAK,
EXIT/KILL and
SELFTST
Wait for those devices to reply
Exception Course: Send failed
- Process command:
Standard Commands:
- Subflow: Command OFF
- Subflow: Command INIT
- Subflow: Command STANDBY
- Subflow: Command ONLINE
- Subflow: Commands STOP|BREAK
- Subflow: Commands EXIT|KILL
- Subflow: Command SIMULAT
- Subflow: Command STOPSIM
- Subflow: Command SELFTST
- Subflow: Command TEST
Query & Tool Commands:
- Subflow: Command STATE
- Subflow: Command STATUS
- Subflow: Command VERSION
- Subflow: Command GETINIT
- Subflow: Command GETSIM
- Subflow: Command VERBOSE
- Subflow: Command GETVERB
- Subflow: Command DEBUG
- Subflow: Command GETDEBU
- Subflow: Command TRACE
- Subflow: Command GETTRA
Exception Course: Command failed
- Return OK reply
Subflow:
Command OFF
- Set process to Loaded, ready to receive commands.
Postcondition: State is LOADED - Idle Not Initialized.
Subflow:
Command INIT
- Initialize processes
Postcondition: State is LOADED - Idle Initialized.
Subflow:
Command STANDBY
- Set processes in Stand-By
Postcondition: State is STANDBY -
Idle or Monitoring.
Subflow:
Command ONLINE
- Set processes On-Line
Postcondition: State is ONLINE -
Idle or Monitoring.
Subflow:
Commands STOP | BREAK
- Stop any on-going activity
Postcondition: State is unchanged -
Sub-state is Idle or
Monitoring.
Subflow:
Commands EXIT | KILL
- Terminate process
Postcondition: State is OFF -
Idle
The process is terminated.
Subflow:
Command SIMULAT
- Set the process to simulation mode
Postcondition: State is LOADED - Idle Not Initialized.
Subflow:
Command STOPSIM
- Set the process back to normal mode
Postcondition: State is LOADED - Idle Not Initialized.
Subflow:
Command SELFTST
- Performs a selftest
Postcondition: State is unchanged - Sub-state is
Idle or
Monitoring.
Subflow:
Command TEST
- Performs complete system tests
Postcondition: State is LOADED - Idle Not Initialized.
Subflow:
Command STATE
- Return current state (evt. with sub-state)
Postcondition: State is unchanged.
Subflow:
Command STATUS
- Return current system status
Postcondition: State is unchanged.
Subflow:
Command VERSION
- Return module version
Postcondition: State is unchanged.
Subflow:
Command GETINIT
- Return the Initialization status:
Not Initialized|Initializing|Initialized
Postcondition: State is unchanged.
Subflow:
Command GETSIM
- Return simulation flag
Postcondition: State is unchanged.
Subflow:
Command VERBOSE
- Set verbose mode On|Off
Postcondition: State is unchanged.
Subflow:
Command GETVERB
- Return verbose mode
Postcondition: State is unchanged.
Subflow:
Command DEBUG
- Set debug flag On|Off
Postcondition: State is unchanged.
Subflow:
Command GETDEBU
- Return debug flag
Postcondition: State is unchanged.
Subflow:
Command TRACE
- Set trace flag On|Off
Postcondition: State is unchanged.
Subflow:
Command GETTRA
- Return trace flag
Postcondition: State is unchanged.
Exception Course: Receive failed
Exception Course: Not a standard
command
Exception Course: Command failed
Postconditions:
- Module in requested state - sub-state.
Issues to be Determined or Resolved:
Notes: see lsf
Last modified: Wed Feb 26 10:11:07 MET 2003