The CARESS Accelerator Division safety system is supposed to repeatedly broadcast its current state (via RS-232) to a special 116 card. The 116 card buffer up the following information, which we can find:
The database mapping is to have one device for each AART. The 'group' and AART number are baked into the SSDN. We currently believe that there is need for only a few such devices.
The alternative database mappings which we are not implementing at this time are:
It would not be difficult to implement these alternative mappings if they become desirable.
|0||OID = 5C (hex)|
Where GGGGG is the CARESS group number and AAAAAAA is the AART number.
Currently we only support the reading property, which returns either 1 or 2 words, depending upon what you requested of 'DPREQ'.
WORD 0: AART DATA READ BY CAMAC F(0)A(2) WORD 1: S-O-S BIT READ BY CAMAC F(0)A(3) (OPTIONAL) THE S-O-S BIT APPEARS IN THE HIGH ORDER BIT OF WORD 1.
The 'Frequency Time Descriptor', or the data return period, which you specify in the 'DPREQ' call should approximately match the CARESS to 116 card update period. The front end checks the F(0)A(1) data refresh counter at the same rate as your data return period. The front end will return stale data for only a few return periods, after which it returns an error status until more data appears.