Communication Layers Protocol Commands Results Command Specs Command Framework Database Access PVSS Server TOC ,
FEE Server (DIM - Server on RCU - Card) PVSS Server (DIM - Server) FEE Client (DIM - Client) InterCom Layer (Application layer) Database Access PVSS Client (DIM - Client) Communication Layers , V 1.0 (Darmstadt / Worms)
Command IDBlock Nr.Nr. of Words Command Word 1 Command Word 2 … MarkerChecksum Command IDBlock Nr.Nr. of Words Command Word 1... End Marker Word SW HW Protocol for RCU-specific Commands Version 1.1 (Bergen / Worms) ,
Command IDBlock Nr.Nr. of Words Status Word Result Word 1 … MarkerChecksum Command IDBlock Nr.Nr. of Words Status Word Result Word... End Marker Word SW HW Protocol for RCU-specific Results Version 1.1 (Bergen / Worms) ,
IdentifierMeaning 0001Single read: - address word 0010Single write: - address word - Data 0011Multiple read - address word - number of data words to read 0100Multiple write - address word - number of data words - data word 1 : - data word N 0101Random read - address word 1 - address word 2 : - address word N 0110Random write - address word 1 - data word 1 - address word 2 - data word 2 : - address word N - data word N Possible Commands: (TPC-RCU) Version 1.1 (Bergen / Worms) ,
switch (*cmndID[i]) { // commmand is single read ( ) case (SINGLE_READ): // fill in one register read code length = single_read((input + 4), result); break; //command is single write case (SINGLE_WRITE): // fill in one register write code length = single_write((input + 4), result); break; //... default: assert(false); } Command Framework ,
Database Access embedded SQL (e.g. SAP-DB) precompiler OR ODBC Driver (Linux, Unix, Windows) Interface has to be defined (see meeting on Thursday at GSI) ,
PVSS Server State monitoring DIM Services Physical parameter alarm State configuration DIM Command (down) Acknowledge via DIM Service (up) database access (read / write) ,