PVSS Help for CMS ECAL SM0 TSS

TSS - General    PVSS Application for TSS    Setup of TSS PLC with Siemens S7 Software

Frequently Asked Questions (or ... How to do it?)

 

1.  TSS  - General 

The main objective of CMS ECAL TSS for SM0 is to provide: 

·        Independent and continuous monitoring and archiving of temperature data of ECAL FE and VFE environment;

·        Continuous monitoring and archiving of Cooling System Status (cooling water flow, cooling water temperature and PLC status) and TSS System Status information for later analysis of system and detector performance;

·        Reliable hardwired interlocks to High Voltage (HV) and Low Voltage (LV) Power Supplies Systems;

·        Prompt reaction on any Alarm Situation by issuing, in a proper time sequence, warnings and Alarms to:

­        HV and LV System (hardwired interlocks),

­        Control Room Operator (soft PVSS Warning and Alarm);

·        Hardwired interface to DSS (BBL3) System for status monitoring of the TSS PLC.      

For this reason CMS ECAL TSS have appropriate interfaces to four ECAL sub-Systems: Cooling System, HV System C.A.E.N. Crate, LV System Rack and DSS BBL3 System. The stand-alone operation of the TSS system is provided by Siemens S7-300 Family PLC. The connection to the DCS monitoring computer is established via Industrail OPC Connection through the Ethernet, and monitoring application is built with PVSS II Scada Tool. The TSS organization and connections to the other ECAL systems in the case for SM0 testing during the Summer 2003. is shown in the Figure below.

NOTE FOR SHIFTERS : do not panic in case the TSS PVSS panel is not there any more, or the TSS PVSS application is not running at all. This does NOT mean that the safety system is not operating. The PLC is still operating and will switch off LV and HV in case of a problem. In order to be sure about that (when you lost the monitoring), go to the DCS rack (close to the Laser barrack), on the left of the LV rack. In the back of the rack there is the PLC, and below there is a PCB with two LEDs. If both are GREEN, everything is fine, otherwise an alarm was generated.

Figure 0.

2.  PVSS Application for TSS

The OPC Server is automatically started when you start up the PC. Status of the OPC server and OPC connection can be checked with any OPC client, e.g. with OPC Scout that can be accessed via its shortcut on the desktop: "OPC Scout.lnk". After the OPC Scout has been loaded, one should open file "SM0_TSS_OPC_Connection_3.opp" within the client (Scout). The OPC table with connections relevant for TSS (similar to the one shown on Figure 1.) should appear on the screen.

The column "Quality" in OPC table under OPC.SimaticNET group shows the quality of OPC connection. The Quality value "bad"  means that OPC connection is not established or is not functioning properly at the moment. The value Quality "good" means that the OPC connection is established properly. 

Figure 1.

After the status of OPC connection has been checked, you can close the OPC client window. On prompt: "Do you want to save your current project?" - choose: "No".

Important: PVSS should be started only if OPC server (connection) runs properly (Quality=good). 

In order to be able to start PVSS, you have to be logged into account with administrator privileges for the local machine. If you don't have these privileges with your standard NICE account, you can use generic NICE account for CMS ECAL test-beam:

Username: cmsecdcs

Password: Alison

Once you have logged into this PC with a proper account, you can start PVSS from the Start Menu in the following way:

Start Menu -> Programs -> PVSS II 2.12.1 -> PVSS Console

The panel similar to the one below should appear on the screen:

 

Figure 2.

The TSS Project from the PVSS console can be started in the following way:

  1. Select Cms_Ecal_Tss_Sm0 (or CMS_ECAL_TSS) project from the Project list in PVSS console (in Start/Terminate Tab)

  2. Press button Start and wait until the project starts up. This can take several minutes. 

  3. If all the "lamps" at the PVSS Console are green or read, but none of them is flashing red/yellow - the project is being started-up successfully. Otherwise, there has been a problem starting one of PVSS Managers (in this case you  should see log file for details). 

  4. If all the managers in the project have been started up successfully, the following TSS Panel should appear (Figure 3.):

Figure 3. 

The basic outlook of the ECAL SM TSS Monitoring Panel is shown on the Figure 3. It can be divided into 3 logical areas (see Figure 4):

  1. ECAL SM selection Area - the upper left frame of the TSS panel 

  2. TSS parameters and interlock status Area - two lower frames at the left part of the TSS panel

  3. SM temperature and sensor status monitoring Area - the right part of the TSS panel

Figure 4.

ECAL SM selection can simply be performed by left mouse button click on the desired SM "field" in the ECAL Partition Frame. Upon the click, the title of the left-frame area shows you which SM is currently selected (during the test-beam period only first two SMs will be enabled/operational). All the data displayed thereafter are related to the sensors inside the selected SM. The color of the SM "field" can be: dark green (SM selected, status: OK), light green (SM not selected, status: OK) or flashing red/yellow (status: Alarm!)

The right part of the TSS Panel contains Sensor Status Table and Trend of SM Temperatures. Sensor Status Table shows the current status of each of twin sensors in each SM module. Sensor Status string can take one of the following values:

SM Temperature Trend shows the change of the temperatures inside the SM over elapsed time. The relation Modules-Sensors is as follows (the color of the sensor number corresponds to the color of its curve in the TSS Temperature Trend):

Note: For SM0 test all the sensors have been placed inside M4 in order to monitor temperature distribution within the module. Positions of these sensors are shown on the sketch below:

               Module 4

  •                     67                    

  •                                             

  •  45          E          E               

  •                E   01   E               

  •  23          E          E               

Manipulations with the Plot and the change of time/value intervals shown in the Trend can be done by Trend Toolbar located at the upper left part of the Plot. The first button on the left side of the toolbar is "green/red" clock . It can be used to freeze the Trend and enable the change of  time/value intervals, or to "defreeze" the Trend Tool. Time/value intervals shown in the Trend can be changed with other 5 buttons on this toolbar. The function of each of these buttons is as follows:

  - decreases the time interval over which temperature values are plotted. The temperature value interval is preserved. 

- increases the time interval over which temperature values are plotted. The temperature value interval is preserved. 

  - decreases the temperature interval over which temperature values are plotted. The time value interval is preserved. 

- increases the temperature interval over which temperature values are plotted. The time value interval is preserved. 

- all temperature and time intervals are automatically adjusted to show all the data on the Plot.

 

In the case of an Alarm Situation, hardwired interlocks are issued and HV and LV systems are shutdown in a proper time sequence. A situation is considered an Alarm Situation in following cases:

  1. Temperature in any of the SM modules has reached the critical value (the critical temperature can be set-up in TSS Setup Panel under Interlock Tab). 

    ACTION:  Check the temperature Trend for recent trend of the temperatures in the SM modules and identify a faulty module. Check if HV and LV Systems have been shutdown properly. Immediately contact any ECAL DCS Expert!

     

  2. There has been a problem with either SM cooling water flow or SM cooling water temperature

    ACTION:  Check CMS_ECAL_COOLING panel for status of the Cooling System. Check if HV and LV Systems have been shutdown properly. Immediately contact a SM Cooling Experts and ECAL DCS Experts!

     

  3. There has been a problem with SM Cooling PLC. 

    ACTION:  Check CMS_ECAL_COOLING panel for status of the Cooling System. Check if HV and LV Systems have been shutdown properly. Immediately contact a SM Cooling Experts and ECAL DCS Experts!

The most important information about the Alarms can be found within "TSS Alarm Status" frame (see Figure 5.).

Figure 5.

 It contains the information about:

An example of the outlook of "Alarm Status" Frame at the moment when HV Kill signal has been issued, but not acknowledged, is shown in the Figure 6. The LV Kill signal has not been issued yet.

Figure 6.

An example of the outlook of "Alarm Status" Frame when LV Kill signal has been issued (e.g. 30 seconds after the HV Kill signal) is shown in the Figure 7.

Figure 7.

PVSS Alarms/Warnings Row

Redundant Alarm Information Messages are showed in the PVSS Alarm Row. There are two types of these messages: Incoming Alarm Message (CAME) and Outgoing Alarm Message (WENT). The messages of both of these types must be acknowledged in order to be removed from the queue. Messages are removed from the queue only if they have been acknowledged and if there are corresponding (and acknowledged) "WENT" Alarm Messages. Two examples of "CAME" and "WENT" type Alarm Messages are shown in the Figure 8.:

Figure 8.

The complete table with all pending Alarms and Warnings can be accessed from PVSS Alarm Row by "AS" button. This table can be used for preview and (eventually) for acknowledgment of all pending Alarms/Warnings.

Similar to Alarm Messages, Warning Messages are issued in the case of Warning Situations (the situation when any module temperature has reached the Warning Temperature; the warning temperature can be set-up in TSS Setup Panel under Interlock Tab). 

ACTION: Keep monitoring temperatures inside the "warning" modules closely - there might be a possibility of reaching the critical temperature and having an Alarm situation. Inform ECAL DCS Experts!

An example of such a message is given in Figure 9.:

Figure 9.

Alarm-Event-Action Flow Chart

In general, the flow chart of sequences: Alarm Situation -> Events -> Actions that can occur during SM0 testing is given in the Flow Chart 1.

Flow Chart 1.

 

3.  Setup/Monitoring of TSS PLC with Siemens STEP7 software

In order to use Siemens SIMATIC and STEP7 software for configuring and control of Siemens PLCs, one has to start SIMATIC Manager and to open appropriate project first. Siemens SIMATIC Manager can be started from the Start Menu in the following way:

Start Menu -> Simatic -> SIMATIC Manager

Upon the start-up of SIMATIC Manager, the following "New Project" dialog box will automatically appear (Figure 13.):

Figure 13.

This box should be closed with the "Cancel" button, and afterwards, an existing project should be open with the "Open" button located at the SIMATIC Manager Toolbar. After the Open button has been pressed, the following "Open Project" Dialog Box will appear (Figure 14.):

Figure 14.

The project for the control of TSS PLC for SM0 test is named "Cms_Ecal_Tss_SM0_6" and should be selected within this Dialog Box. After the OK button has been pressed, the Manager will open the (selected) TSS Project, and the Manager window will have a look as it is shown in the Figure 15.

Figure 15.

The Project browsing tree on the left-hand side of SIMATIC Manager Window helps you to select a part of the system you would like to monitor or configure. The meaning and purpose of each node of the tree is the following:

  1. "SIMATIC 300 Station" - Contains sub-nodes CPU 315-2DP and CP 343-IT, and the leaf "Hardware". This leaf can be used to access Hardware Configuration Manager (HW Config - Figure 16.) for the current project. This Manager can be used to configure all hardware components of the selected PLC system (see below).

  2. "PC Station" - Contains one sub-node "OPC Server" and one leaf "Configuration". This leaf can be used to access the Hardware Configuration Manager (HW Config) for the PC Station component configuration.

  3. "CPU 315-2DP" - Contains two sub-nodes: "Sources" and "Blocks", and one leaf "Connections". This leaf can be used to access Network Connections Configuration Manager (NetPro - Figure 17.) for the current project. This Manager can be used to configure IP addresses of Ethernet Modules for all the Stations available in the Project Tree (see: Configuring Network parameters and connections).

  4. "CP 343-IT" - (not to be used)

  5. "OPC Server" - contains the leaf "Connections" (see above).

  6. "Blocks" - Contains PLC system data, PLC Organizational Blocks (OBs), PLC Function Blocks (FBs), PLC Functions (FCs), PLC System Functions (SFCs), PLC Data Blocks (DBs) and Variable Tables (VATs) needed for proper PLC functioning. These blocks have already been downloaded into the PLC memory and should not be changed. 

WARNING!!! The PLC blocks and configuration parameters should be changed by authorized persons only!!!

 

Figure 16.

 

The node "CPU 315-2DP" in the SIMATIC Manager tree contains leaf "Connections" that can be used to access the Network Connections Configuration Manager (NetPro - Figure 17.) for the current project. This Manager is used to configure IP addresses of Ethernet Modules for all the Stations available in the Project Tree, and to perform additional parameterization of the all connections present in the system. Hereafter, only the procedure for configuration of IP addresses will be explained.

Figure 17.

 

Setting up the IP address of PLC Ethernet Communication Module (CP 343-IT)

The change of the IP address of PLC Ethernet Module is required whenever the PLC system is to be moved to a physically different network location (e.g. in the case of change of the network socket, the change of a building etc.).

This change MUST be performed AT THE OLD LOCATION with the old IP address, BEFORE the PLC has been really moved out. Once the new IP address has been downloaded to the PLC, it WILL NOT RESPOND from the old network location any more, but it will thereafter work from the new network location. 

Figure 18.

The steps of this procedure are the following:

  1. Obtain the IP address of the PLC for the new network location.

  2. In the NetPro Manager select module CP 343-1 IT within SIMATIC 300 Station.

  3. Open "Properties" of this module. The window "Properties 343-1 IT" similar to the one shown in the Figure 18. should appear on the screen.

  4. Click on the button "Properties" within "Interface" frame. The window like the one shown in the Figure 19. should appear on the screen.

  5. Enter the new IP address (and any additional network parameters) for the module in the appropriate edit-box.

  6. Close all these open windows with "OK" button and download the new configuration to the PLC (use "download" button at the Manager Toolbar).

  7. After this procedure has been completed, you can move the PLC to the new network location. The PLC will not work at the old network location any more.

Figure 19.

 

Setting up the IP address of OPC Server PC Station

The change of the IP address of OPC Server within the NetPro Manager is required whenever the PC System with OPC Server installed is to be moved to a physically different network location (e.g. in the case of change of the network socket, the change of a building etc.).

Figure 20.

The steps of this procedure are the following:

  1. Obtain the IP address of the PC with OPC Server for the new network location.

  2. In the NetPro Manager select the module "IE General" within "PC Station" (the module next to OPC Server in the Figure 17.).

  3. Open "Properties" of this module. The window "Properties IE General" similar to the one shown in the Figure 20. should appear on the screen.

  4. Click on the button "Properties" within the "Interface" frame. The window like the one shown in the Figure 19. should appear on the screen.

  5. Enter the new IP address (and any additional configuration) for the module in the appropriate edit-box.

  6. Close all these open windows with "OK" buttons and download the new configuration to the PLC (use "download" button at the Manager Toolbar).

  7. After this procedure has been completed, the OPC connection between the PLC and the PC moved to the new network location should function properly. You can check the status of this connection in the way described above.  

 

Figure 21.

 

4.  Frequently Asked Questions

TSS Monitoring Application - OPC Server and PVSS/TSS start-up

If the OPC Server is down you should start it again either by starting OPC Scout and trying to connect to the server, or by restarting the PC where OPC Server is installed (the server will be started automatically after the PC has been rebooted).

Yes. The right-click on the manager will give you the option "Start manager".

TSS Monitoring Application - How to use?

During the SM0 and SM1 testing, the only difference between the SMs inside the TSS Monitoring Application will be calibration coeficients for TSS sensors.

You can either try to find temperatures by scrolling up-down right slide bar, or by pressing 1-1 button on PVSS Trend Toolbar.

TSS Monitoring Application - Alarm and Warning Situations

The LV Kill signal should be issued ~30 seconds after the HV Kill signal. If the signal has not been sent after this time (the value of the time can be check at the TSS Parameters Frame), you should check the status of LV System and call the DCS Experts immediately.

You should immediately check the status of HV System. If it has not been shut down, you should contact the Experts and check if you should turn of the HV System manually

TSS Monitoring Application - How to set-up or re-initialize TSS

It is necessary to shutdown HV Power Supplies before LV Power Supply can be turned off in order to avoid the damage of FPPA chips on the ECAL FE boards. The time needed for HV to ramp down is approximately 30 seconds.

This action should be taken when the problem that has caused an Alarm situation has disappeared from the system.

This action should be taken only if no other way could be found to solve eventual problem in the system.

This action should be taken only if there is a real need to disable a certain sensor to generate an Alarm. This could particularly be helpful if there are some faulty sensors in the system.

TSS PLC - Siemens SIMATIC Step7 Software

The Siemens SIMATIC Step7 software should be used only in the case that some severe problems have occurred in the system, or if some hardware intervention is required. In both of these cases DSC Experts should be contacted first!