Download presentation
Presentation is loading. Please wait.
Published byAshley Lyons Modified over 9 years ago
1
Communication Layers Protocol Commands Results Command Specs Command Framework Database Access PVSS Server TOC 2003-06-03, http://www.ztt.fh-worms.de
2
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 2003-06-03, http://www.ztt.fh-worms.de V 1.0 (Darmstadt / Worms)
3
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 0 8 1624 31 HW 31 24 168 0 Protocol for RCU-specific Commands Version 1.1 (Bergen / Worms) 2003-06-03, http://www.ztt.fh-worms.de
4
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 0 8 1624 31 HW 31 24 168 0 Protocol for RCU-specific Results Version 1.1 (Bergen / Worms) 2003-06-03, http://www.ztt.fh-worms.de
5
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) 2003-06-03, http://www.ztt.fh-worms.de
6
switch (*cmndID[i]) { // commmand is single read (0001 0000) 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 2003-06-03, http://www.ztt.fh-worms.de
7
Database Access embedded SQL (e.g. SAP-DB) precompiler OR ODBC Driver (Linux, Unix, Windows) Interface has to be defined (see meeting on Thursday 2003-06-05 at GSI) 2003-06-03, http://www.ztt.fh-worms.de
8
PVSS Server State monitoring DIM Services Physical parameter alarm State configuration DIM Command (down) Acknowledge via DIM Service (up) database access (read / write) 2003-06-03, http://www.ztt.fh-worms.de
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.