Displaying report 1-1 of 1.
Reports until 14:16, Wednesday 01 April 2015
H1 CDS
daniel.sigg@LIGO.ORG - posted 14:16, Wednesday 01 April 2015 (17612)
Medm screens for the EtherCAT system

Patrick T, Daniel S

This was a long time coming, but we finally have an automatic medm/adl generator for the EtherCAT system. For each data structure in TwinCAT, we generate 3 screens:

The attached screen shot shows a couple of examples for the x end station. The screen at the lower left is the overview screen accessible from the sitemap under the SYS button. The two screen at the top left are record and error screens for H1:ALS-X. All fields are substructures which link to other screens. The two screens to the right show the record and error screens for H1:ALS-X_REFL_LOCK. The fields represent mbbi, ao, ao, ao, (substructure link), bi, longin, bo, longout, and longout EPICS records in this order. The errors are individual messages with no further links. 

The generation is done in two steps:

For this to work Patrick had to modify how the error messages are stored in the TwinCAT code. We now have a constant array of strings containing them rather than hardcoded in the code. There is one of these for each structure type which gets written to a separate file with extension exp. This change should be transparent.

The updated code and scripts have been installed in the x end station. Screens are available for all stations, but for the vertex and y end they could be slightly out of synchronization until we upgrade them as well.

Images attached to this report
Displaying report 1-1 of 1.