ConOpSys V2970  P004.07
ANVILEX control operating system
Function_Block_Liquid_Cooling_System.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file Function_Block_Liquid_Cooling_System.h
3 //! @URL $HeadURL: https://192.168.3.4:8443/svn/P004_07/ConOpSys/Blocks/Function_Block_Liquid_Cooling_System.h $
4 //! @author $Author: minch $ (ANVILEX GmbH)
5 //! @version $Revision: 2621 $
6 //! @date $Date: 2021-05-05 02:35:08 +0500 (Mi, 05 Mai 2021) $
7 //! @brief Liquid cooling system class header file.
8 //! @attention
9 //!
10 //! COPYRIGHT(C) 2015 ANVILEX GmbH
11 //!
12 //! Redistribution and use in source and binary forms, with or without
13 //! modification, are permitted provided that the following conditions are met:
14 //!
15 //! 1. Redistributions of source code must retain the above copyright notice,
16 //! this list of conditions and the following disclaimer.
17 //!
18 //! 2. Redistributions in binary form must reproduce the above copyright notice,
19 //! this list of conditions and the following disclaimer in the documentation
20 //! and/or other materials provided with the distribution.
21 //!
22 //! 3. Neither the name of ANVILEX nor the names of its contributors may be
23 //! used to endorse or promote products derived from this software without
24 //! specific prior written permission.
25 //!
26 //! THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27 //! AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28 //! IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29 //! ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
30 //! LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31 //! CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32 //! SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33 //! INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34 //! CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35 //! ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 //! POSSIBILITY OF SUCH DAMAGE.
37 //------------------------------------------------------------------------------
38 
39 //------------------------------------------------------------------------------
40 // Protecting header files from mutual, recursive inclusion.
41 //------------------------------------------------------------------------------
42 
43 #pragma once
44 
45 //------------------------------------------------------------------------------
46 // Include standard libraries header files
47 //------------------------------------------------------------------------------
48 
49 //------------------------------------------------------------------------------
50 // Include thrid party header files
51 //------------------------------------------------------------------------------
52 
53 //------------------------------------------------------------------------------
54 // Include ConOpSys header files
55 //------------------------------------------------------------------------------
56 
57 #include "Function_Block_Base.h"
58 
59 //------------------------------------------------------------------------------
60 // Include ConOpSys application header files
61 //------------------------------------------------------------------------------
62 
63 //------------------------------------------------------------------------------
64 // Class declaration
65 //------------------------------------------------------------------------------
66 
67 //! @brief Liquid cooling system class, type 1
69 {
70 
71  //----------------------------------------------------------------------------
72  // Public defines, methods and variables
73  //----------------------------------------------------------------------------
74 
75  public:
76 
77  //!-------------------------------------------------------------------------
78  //! @brief Class constructor method.
79  //! @note None
80  //! \par Override
81  //! Not allowed
82  //! @attention Don't call this method directly.
83  //--------------------------------------------------------------------------
84 
86 
87  //!-------------------------------------------------------------------------
88  //! @brief Class destructor method.
89  //! @note None
90  //! \par Override
91  //! Not allowed
92  //! @attention Don't call this method directly.
93  //--------------------------------------------------------------------------
94 
96 
97  //!-------------------------------------------------------------------------
98  //! @brief Function block initialisation method.
99  //! @note None
100  //! @return None
101  //! \par Override
102  //! Not allowed
103  //! @attention None
104  //--------------------------------------------------------------------------
105 
106  virtual VOID Init();
107 
108  //!-------------------------------------------------------------------------
109  //! @brief Function block processing method.
110  //! @note None
111  //! @return None
112  //! \par Override
113  //! Not allowed
114  //! @attention None
115  //--------------------------------------------------------------------------
116 
117  virtual VOID Execute();
118 
119  //!-------------------------------------------------------------------------
120  //! @brief Send information about Function block over communication link protocol
121  //! @note This method sends information about Function block over specified communication link protocol.
122  //! @param [in] TProtocol_Base *object_Protocol - Pointer to the communication link protocol
123  //! @return None
124  //! \par Override
125  //! Not allowed
126  //! @attention None
127  //--------------------------------------------------------------------------
128 
129  virtual VOID Send_Information( TProtocol_Base *object_Protocol );
130 
131  //--------------------------------------------------------------------------
132  // Function block parameters
133  //--------------------------------------------------------------------------
134 
135  //! @brief Function block sample time input parameter
137 
138  // Inlet temperature parameters
139 
140  //! @brief Low inlet temperature warning level input parameter
142 
143  //! @brief Low inlet temperature trip level input parameter
145 
146  //! @brief Low inlet temperature trip delay input parameter
148 
149  //! @brief High inlet temperature warning level input parameter
151 
152  //! @brief High inlet temperature trip level input parameter
154 
155  //! @brief High inlet temperature trip delay input parameter
157 
158  // Outlet temperature parameters
159 
160  //! @brief High outlet temperature warning level input parameter
162 
163  //! @brief High outlet temperature trip level input parameter
165 
166  //! @brief High outlet temperature trip delay input parameter
168 
169  // Cooling media pressure parameters
170 
171  //! @brief Low pressure warning level input parameter
173 
174  //! @brief Low pressure trip level input parameter
176 
177  //! @brief Low pressure trip delay input parameter
179 
180  //! @brief High pressure warning level input parameter
182 
183  //! @brief High pressure trip level input parameter
185 
186  //! @brief High pressure trip delay input parameter
188 
189  //! @brief Pump off delay input parameter
191 
192  // External heater parameters
193 
194  //! @brief Heater turn on temperature level input parameter
196 
197  //! @brief Heater turn off temperature level input parameter
199 
200  // External heat exchanger parameters
201 
202  //! @brief Heat exchanger fan turn on temperature level input parameter
204 
205  //! @brief Heat exchanger fan turn off temperature level input parameter
207 
208  //! @brief Heat exchanger fan turn off delay input parameter
210 
211  //--------------------------------------------------------------------------
212  // Function block inputs
213  //--------------------------------------------------------------------------
214 
215  //! @brief Cooling system enable/disable operation input connector
217 
218  //! @brief Cooling system emergency trip input connector
220 
221  //! @brief Error reset input connector
223 
224  // Cooling media pump signals
225 
226  //! @brief Pump circuit breaker status input connector
228 
229  //! @brief Pump contactor status input connector
231 
232  // External heat exchanger signals
233 
234  //! @brief Heat exchanger fan circuit breaker status input connector
236 
237  //! @brief Heat exchanger fan contactor status input connector
239 
240  // Heater signals
241 
242  //! @brief Heater circuit breaker status input connector
244 
245  //! @brief Heater contactor status input connector
247 
248  // Inlet temperature signal
249 
250  //! @brief Actual inlet temperature input connector
252 
253  //! @brief Invalid inlet temperature input connector
255 
256  // Outlet temperature signal
257 
258  //! @brief Actual outlet temperature input connector
260 
261  //! @brief Invalid outlet temperature input connector
263 
264  // Cooling media pressure signal
265 
266  //! @brief Actual pressure input connector
268 
269  //! @brief Invalid pressure input connector
271 
272  //--------------------------------------------------------------------------
273  // Function block outputs
274  //--------------------------------------------------------------------------
275 
276  //! @brief Enable pump operation
278 
279  //! @brief Enbale heat exchanger operation
281 
282  //! @brief Enable heater oparation
284 
285  //! @brief Low inlet temperature warning output connector
287 
288  //! @brief Low inlet temperature alarm output connector
290 
291  //! @brief Low inlet temperature trip output connector
293 
294  //! @brief High inlet temperature warning output connector
296 
297  //! @brief High inlet temperature alarm output connector
299 
300  //! @brief High inlet temperature trip output connector
302 
303  //! @brief High outlet temperature warning output connector
305 
306  //! @brief High outlet temperature alarm output connector
308 
309  //! @brief High outlet temperature trip output connector
311 
312  //! @brief Low pressure warning output connector
314 
315  //! @brief Low pressure alarm output connector
317 
318  //! @brief Low pressure trip output connector
320 
321  //! @brief High pressure warning output connector
323 
324  //! @brief High pressure alarm output connector
326 
327  //! @brief High pressure trip output connector
329 
330  //! @brief Global warning output connector
332 
333  //! @brief Global alarm output connector
335 
336  //! @brief Global trip output connector
338 
339  //! @brief Error output connector
341 
342  //! @brief Status output connector
344 
345  //----------------------------------------------------------------------------
346  // Protected defines, methods and variables
347  //----------------------------------------------------------------------------
348 
349  protected:
350 
351  //----------------------------------------------------------------------------
352  // Private defines, methods and variables
353  //----------------------------------------------------------------------------
354 
355  private:
356 
357  //! @brief Liquid cooling system status word
358  typedef union
359  {
360 
361  //! @brief Status word as U64
363 
364  //! @brief Status word as bit fields
365  //! @note This tructure should be same for all liquid cooling system classes
366  struct
367  {
368 
369  //! @brief Bit 00 : Invalid inlet temperature
371 
372  //! @brief Bit 01 : Low inlet temperature warning
374 
375  //! @brief Bit 02 : Low inlet temperature alarm
377 
378  //! @brief Bit 03 : Low inlet temperature trip
380 
381  //! @brief Bit 04 : High inlet temperature warning
383 
384  //! @brief Bit 05 : High inlet temperature alarm
386 
387  //! @brief Bit 06 : High inlet temperature trip
389 
390  //! @brief Bit 07 : Invalid outlet temperature
392 
393  //! @brief Bit 08 : Low outlet temperature warning
395 
396  //! @brief Bit 09 : Low outlet temperature alarm
398 
399  //! @brief Bit 10 : Low outlet temperature trip
401 
402  //! @brief Bit 11 : High outlet temperature warning
404 
405  //! @brief Bit 12 : High outlet temperature alarm
407 
408  //! @brief Bit 13 : High outlet temperature trip
410 
411  //! @brief Bit 14 : Invalid inlet pressure
413 
414  //! @brief Bit 15 : Low inlet pressure warming
416 
417  //! @brief Bit 16 : Low inlet pressure alarm
419 
420  //! @brief Bit 17 : Low inlet pressure trip
422 
423  //! @brief Bit 18 : High inlet pressure warming
425 
426  //! @brief Bit 19 : High inlet pressure alarm
428 
429  //! @brief Bit 20 : High inlet pressure trip
431 
432  //! @brief Bit 21 : Invalid outlet pressure
434 
435  //! @brief Bit 22 : Low outlet pressure warning
437 
438  //! @brief Bit 23 : Low ootlet pressure alarm
440 
441  //! @brief Bit 24 : Low outlet pressure trip
443 
444  //! @brief Bit 25 : High outlet pressure warming
446 
447  //! @brief Bit 26 : High outlet pressure alarm
449 
450  //! @brief Bit 27 : High outlet pressure trip
452 
453  //! @brief Bit 28 : Low differential pressure warning
455 
456  //! @brief Bit 29 : Low differential pressure alarm
458 
459  //! @brief Bit 30 : Low differential pressure trip
461 
462  //! @brief Bit 31 : High differential pressure warning
464 
465  //! @brief Bit 32 : High differential pressure alarm
467 
468  //! @brief Bit 33 : High differential pressure trip
470 
471  //! @brief Bit 34 : Reserved
472  U64 :1;
473 
474  //! @brief Bit 35 : Reserved
475  U64 :1;
476 
477  //! @brief Bit 36 : Reserved
478  U64 :1;
479 
480  //! @brief Bit 37 : Reserved
481  U64 :1;
482 
483  //! @brief Bit 38 : Reserved
484  U64 :1;
485 
486  //! @brief Bit 39 : Reserved
487  U64 :1;
488 
489  //! @brief Bit 40 : Reserved
490  U64 :1;
491 
492  //! @brief Bit 41 : Reserved
493  U64 :1;
494 
495  //! @brief Bit 42 : Reserved
496  U64 :1;
497 
498  //! @brief Bit 43 : Reserved
499  U64 :1;
500 
501  //! @brief Bit 44 : Reserved
502  U64 :1;
503 
504  //! @brief Bit 45 : Reserved
505  U64 :1;
506 
507  //! @brief Bit 46 : Reserved
508  U64 :1;
509 
510  //! @brief Bit 47 : Reserved
511  U64 :1;
512 
513  //! @brief Bit 48 : Reserved
514  U64 :1;
515 
516  //! @brief Bit 49 : Reserved
517  U64 :1;
518 
519  //! @brief Bit 50 : Reserved
520  U64 :1;
521 
522  //! @brief Bit 51 : Reserved
523  U64 :1;
524 
525  //! @brief Bit 52 : Reserved
526  U64 :1;
527 
528  //! @brief Bit 53 : Reserved
529  U64 :1;
530 
531  //! @brief Bit 54 : Reserved
532  U64 :1;
533 
534  //! @brief Bit 55 : Reserved
535  U64 :1;
536 
537  //! @brief Bit 56 : Reserved
538  U64 :1;
539 
540  //! @brief Bit 57 : Reserved
541  U64 :1;
542 
543  //! @brief Bit 58 : Reserved
544  U64 :1;
545 
546  //! @brief Bit 59 : Reserved
547  U64 :1;
548 
549  //! @brief Bit 60 : Reserved
550  U64 :1;
551 
552  //! @brief Bit 61 : Reserved
553  U64 :1;
554 
555  //! @brief Bit 62 : Reserved
556  U64 :1;
557 
558  //! @brief Bit 63 : Reserved
559  U64 :1;
560 
561  };
562 
563  } TStatus_Word;
564 
565  //! @brief Pump PSM state definition
566  typedef enum
567  {
568 
569  //! @brief Initialisation state
571 
572  //! @brief Standby state
574 
575  //! @brief Operation state
577 
578  //! @brief Trailing state
580 
581  //! @brief Error state
583 
585 
586  //! @brief Heater FSM state definition
587  typedef enum
588  {
589 
590  //! @brief Initialisation state
592 
593  //! @brief Standby state
595 
596  //! @brief Operation state
598 
599  //! @brief Error state
601 
603 
604  //! @brief Heat exchanger FSM state definition
605  typedef enum
606  {
607 
608  //! @brief Initialisation state
610 
611  //! @brief Standby state
613 
614  //! @brief Off state
616 
617  //! @brief On state
619 
620  //! @brief Trailing state
622 
623  //! @brief Error state
624  enum_Error
625 
627 
628  //!-------------------------------------------------------------------------
629  //! @brief Cooling media inlet processing method
630  //! @note None
631  //! @return None
632  //! \par Override
633  //! Not allowed
634  //! @attention None
635  //--------------------------------------------------------------------------
636 
637  VOID Inlet();
638 
639  //!-------------------------------------------------------------------------
640  //! @brief Cooling media outlet processing method
641  //! @note None
642  //! @return None
643  //! \par Override
644  //! Not allowed
645  //! @attention None
646  //--------------------------------------------------------------------------
647 
648  VOID Outlet();
649 
650  //!-------------------------------------------------------------------------
651  //! @brief Cooling media processing method
652  //! @note None
653  //! @return None
654  //! \par Override
655  //! Not allowed
656  //! @attention None
657  //--------------------------------------------------------------------------
658 
659  VOID Pressure();
660 
661  //!-------------------------------------------------------------------------
662  //! @brief Pump processing method
663  //! @note None
664  //! @return None
665  //! \par Override
666  //! Not allowed
667  //! @attention None
668  //--------------------------------------------------------------------------
669 
670  VOID Pump();
671 
672  //!-------------------------------------------------------------------------
673  //! @brief Heater processing method
674  //! @note None
675  //! @return None
676  //! \par Override
677  //! Not allowed
678  //! @attention None
679  //--------------------------------------------------------------------------
680 
681  VOID Heater();
682 
683  //!-------------------------------------------------------------------------
684  //! @brief Heat exchanger processing method
685  //! @note None
686  //! @return None
687  //! \par Override
688  //! Not allowed
689  //! @attention None
690  //--------------------------------------------------------------------------
691 
693 
694  //--------------------------------------------------------------------------
695  // Private variables
696  //--------------------------------------------------------------------------
697 
698  //! @brief Low temperature trip delay
700 
701  //! @brief Time delay counter
703 
704  //! @brief High temperature trip delay
706 
707  //! @brief Time delay counter
709 
710  //! @brief High temperature trip delay
712 
713  //! @brief Time delay counter
715 
716  //! @brief High temperature trip delay
718 
719  //! @brief Time delay counter
721 
722  //! @brief High temperature trip delay
724 
725  //! @brief Time delay counter
727 
728  //! @brief Pump off delay
730 
731  //! @brief Pump off delay counter
733 
734  //! @brief Heat exchanger fan turn off delay
736 
737  //! @brief Heat exchanger fan turn off delay counter
739 
740  //! @brief Pump error flag
742 
743  //! @brief Heat exchanger fan error flag
745 
746  //! @brief Heater error flag
748 
749  //! @brief Pump finite state machine
750  TPump_FSM_State enum_Pump_FSM_State = TPump_FSM_State::enum_Pump_Init;
751 
752  //! @brief Heater finite state machine
753  THeater_FSM_State enum_Heater_FSM_State = THeater_FSM_State::enum_Heater_Init;
754 
755  //! @brief Heat exchanger finite state machine
756  THeat_Exchanger_Fan_FSM_State enum_Heat_Exchanger_Fan_FSM_State = THeat_Exchanger_Fan_FSM_State::enum_Init;
757 
758 };
759 
760 //------------------------------------------------------------------------------
761 // End of file
762 //------------------------------------------------------------------------------
int BOOL
Boolean datatype definition.
Definition: Defines.h:124
unsigned long long U64
Binary 64-Bit unsigned integer datatype defenition.
Definition: Defines.h:213
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
unsigned long U32
Binary 32-Bit unsigned integer datatype defenition.
Definition: Defines.h:203
Function block base class header file.
Function block input connector class.
Definition: Block_Input_Connector.h:83
Function block output connector class.
Definition: Block_Output_Connector.h:59
Function block base class for device.
Definition: Function_Block_Base.h:96
Liquid cooling system class, type 1.
Definition: Function_Block_Liquid_Cooling_System.h:69
U32 u32_Pump_Off_Delay
Pump off delay.
Definition: Function_Block_Liquid_Cooling_System.h:729
TBlock_Input_Connector object_f32_Heat_Exchanger_Fan_Off_Temperature_Level
Heat exchanger fan turn off temperature level input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:206
TBlock_Output_Connector object_bool_Low_Pressure_Warning
Low pressure warning output connector.
Definition: Function_Block_Liquid_Cooling_System.h:313
virtual VOID Init()
Function block initialisation method.
Definition: Function_Block_Liquid_Cooling_System.cpp:158
TBlock_Input_Connector object_f32_Outlet_High_Temperature_Trip_Delay
High outlet temperature trip delay input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:167
U32 u32_Outlet_High_Temperature_Trip_Delay
High temperature trip delay.
Definition: Function_Block_Liquid_Cooling_System.h:711
TBlock_Output_Connector object_bool_Error
Error output connector.
Definition: Function_Block_Liquid_Cooling_System.h:340
TBlock_Input_Connector object_f32_Inlet_Low_Temperature_Warning_Level
Low inlet temperature warning level input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:141
VOID Heater()
Heater processing method.
Definition: Function_Block_Liquid_Cooling_System.cpp:1006
TBlock_Input_Connector object_bool_Invalid_Pressure
Invalid pressure input connector.
Definition: Function_Block_Liquid_Cooling_System.h:270
U32 u32_Heat_Exchanger_Fan_Off_Delay
Heat exchanger fan turn off delay.
Definition: Function_Block_Liquid_Cooling_System.h:735
U32 u32_Low_Pressure_Trip_Delay_Counter
Time delay counter.
Definition: Function_Block_Liquid_Cooling_System.h:720
TBlock_Input_Connector object_bool_Enable
Cooling system enable/disable operation input connector.
Definition: Function_Block_Liquid_Cooling_System.h:216
TBlock_Input_Connector object_f32_High_Pressure_Warning_Level
High pressure warning level input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:181
TBlock_Input_Connector object_f32_Actual_Inlet_Temperature
Actual inlet temperature input connector.
Definition: Function_Block_Liquid_Cooling_System.h:251
TBlock_Input_Connector object_f32_Low_Pressure_Delay
Low pressure trip delay input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:178
TBlock_Input_Connector object_f32_Actual_Pressure
Actual pressure input connector.
Definition: Function_Block_Liquid_Cooling_System.h:267
TBlock_Input_Connector object_f32_Low_Pressure_Warning_Level
Low pressure warning level input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:172
U32 u32_Inlet_High_Temperature_Trip_Delay
High temperature trip delay.
Definition: Function_Block_Liquid_Cooling_System.h:705
U32 u32_High_Pressure_Trip_Delay
High temperature trip delay.
Definition: Function_Block_Liquid_Cooling_System.h:723
TBlock_Input_Connector object_f32_Sample_Time
Function block sample time input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:136
TBlock_Input_Connector object_f32_Inlet_Low_Temperature_Trip_Delay
Low inlet temperature trip delay input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:147
TFunction_Block_Liquid_Cooling_System()
Class constructor method.
Definition: Function_Block_Liquid_Cooling_System.cpp:66
TBlock_Input_Connector object_bool_Invalid_Inlet_Temperature
Invalid inlet temperature input connector.
Definition: Function_Block_Liquid_Cooling_System.h:254
TPump_FSM_State
Pump PSM state definition.
Definition: Function_Block_Liquid_Cooling_System.h:567
@ enum_Pump_Init
Initialisation state.
Definition: Function_Block_Liquid_Cooling_System.h:570
@ enum_Pump_Error
Error state.
Definition: Function_Block_Liquid_Cooling_System.h:582
@ enum_Pump_Trailing
Trailing state.
Definition: Function_Block_Liquid_Cooling_System.h:579
@ enum_Pump_Standby
Standby state.
Definition: Function_Block_Liquid_Cooling_System.h:573
@ enum_Pump_Operation
Operation state.
Definition: Function_Block_Liquid_Cooling_System.h:576
THeater_FSM_State
Heater FSM state definition.
Definition: Function_Block_Liquid_Cooling_System.h:588
@ enum_Heater_Init
Initialisation state.
Definition: Function_Block_Liquid_Cooling_System.h:591
@ enum_Heater_Operation
Operation state.
Definition: Function_Block_Liquid_Cooling_System.h:597
@ enum_Heater_Error
Error state.
Definition: Function_Block_Liquid_Cooling_System.h:600
@ enum_Heater_Standby
Standby state.
Definition: Function_Block_Liquid_Cooling_System.h:594
TBlock_Input_Connector object_f32_Heater_On_Temperature_Level
Heater turn on temperature level input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:195
TBlock_Input_Connector object_bool_Pump_Circuit_Braker_Status
Pump circuit breaker status input connector.
Definition: Function_Block_Liquid_Cooling_System.h:227
TBlock_Output_Connector object_bool_Inlet_High_Temperature_Trip
High inlet temperature trip output connector.
Definition: Function_Block_Liquid_Cooling_System.h:301
VOID Outlet()
Cooling media outlet processing method.
Definition: Function_Block_Liquid_Cooling_System.cpp:435
TBlock_Input_Connector object_bool_Reset
Error reset input connector.
Definition: Function_Block_Liquid_Cooling_System.h:222
BOOL bool_Heat_Exchanger_Fan_Error
Heat exchanger fan error flag.
Definition: Function_Block_Liquid_Cooling_System.h:744
VOID Haet_Exchanger()
Heat exchanger processing method.
Definition: Function_Block_Liquid_Cooling_System.cpp:1175
TBlock_Input_Connector object_f32_Inlet_High_Temperature_Warning_Level
High inlet temperature warning level input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:150
THeat_Exchanger_Fan_FSM_State enum_Heat_Exchanger_Fan_FSM_State
Heat exchanger finite state machine.
Definition: Function_Block_Liquid_Cooling_System.h:756
U32 u32_Heat_Exchanger_Fan_Off_Delay_Counter
Heat exchanger fan turn off delay counter.
Definition: Function_Block_Liquid_Cooling_System.h:738
virtual ~TFunction_Block_Liquid_Cooling_System()
Class destructor method.
Definition: Function_Block_Liquid_Cooling_System.cpp:150
TBlock_Output_Connector object_bool_Inlet_Low_Temperature_Warning
Low inlet temperature warning output connector.
Definition: Function_Block_Liquid_Cooling_System.h:286
TBlock_Output_Connector object_bool_Low_Pressure_Trip
Low pressure trip output connector.
Definition: Function_Block_Liquid_Cooling_System.h:319
U32 u32_High_Pressure_Trip_Delay_Counter
Time delay counter.
Definition: Function_Block_Liquid_Cooling_System.h:726
TBlock_Input_Connector object_f32_Heat_Exchanger_Fan_On_Temperature_Level
Heat exchanger fan turn on temperature level input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:203
TBlock_Output_Connector object_bool_High_Pressure_Trip
High pressure trip output connector.
Definition: Function_Block_Liquid_Cooling_System.h:328
TBlock_Input_Connector object_bool_Heat_Exchanger_Fan_Circuit_Braker_Status
Heat exchanger fan circuit breaker status input connector.
Definition: Function_Block_Liquid_Cooling_System.h:235
TBlock_Input_Connector object_f32_High_Pressure_Trip_Level
High pressure trip level input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:184
VOID Pump()
Pump processing method.
Definition: Function_Block_Liquid_Cooling_System.cpp:654
TBlock_Input_Connector object_f32_Heater_Off_Temperature_Level
Heater turn off temperature level input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:198
U32 u32_Inlet_Low_Temperature_Trip_Delay
Low temperature trip delay.
Definition: Function_Block_Liquid_Cooling_System.h:699
THeater_FSM_State enum_Heater_FSM_State
Heater finite state machine.
Definition: Function_Block_Liquid_Cooling_System.h:753
TBlock_Output_Connector object_bool_Outlet_High_Temperature_Trip
High outlet temperature trip output connector.
Definition: Function_Block_Liquid_Cooling_System.h:310
TBlock_Input_Connector object_f32_Heat_Exchanger_Fan_Off_Delay
Heat exchanger fan turn off delay input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:209
TBlock_Input_Connector object_f32_Inlet_Low_Temperature_Trip_Level
Low inlet temperature trip level input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:144
TBlock_Output_Connector object_bool_Inlet_High_Temperature_Warning
High inlet temperature warning output connector.
Definition: Function_Block_Liquid_Cooling_System.h:295
TBlock_Output_Connector object_bool_Inlet_Low_Temperature_Trip
Low inlet temperature trip output connector.
Definition: Function_Block_Liquid_Cooling_System.h:292
TBlock_Output_Connector object_bool_Heat_Exchanger_Fan_Enable
Enbale heat exchanger operation.
Definition: Function_Block_Liquid_Cooling_System.h:280
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send information about Function block over communication link protocol.
Definition: Function_Block_Liquid_Cooling_System.cpp:1686
TPump_FSM_State enum_Pump_FSM_State
Pump finite state machine.
Definition: Function_Block_Liquid_Cooling_System.h:750
TBlock_Input_Connector object_f32_Outlet_High_Temperature_Warning_Level
High outlet temperature warning level input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:161
TBlock_Input_Connector object_f32_High_Pressure_Delay
High pressure trip delay input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:187
TBlock_Output_Connector object_bool_Heater_Enable
Enable heater oparation.
Definition: Function_Block_Liquid_Cooling_System.h:283
TBlock_Input_Connector object_f32_Pump_Off_Delay
Pump off delay input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:190
U32 u32_Low_Pressure_Trip_Delay
High temperature trip delay.
Definition: Function_Block_Liquid_Cooling_System.h:717
virtual VOID Execute()
Function block processing method.
Definition: Function_Block_Liquid_Cooling_System.cpp:181
U32 u32_Inlet_Low_Temperature_Trip_Delay_Counter
Time delay counter.
Definition: Function_Block_Liquid_Cooling_System.h:702
TBlock_Output_Connector object_bool_Alarm
Global alarm output connector.
Definition: Function_Block_Liquid_Cooling_System.h:334
VOID Inlet()
Cooling media inlet processing method.
Definition: Function_Block_Liquid_Cooling_System.cpp:292
BOOL bool_Heater_Error
Heater error flag.
Definition: Function_Block_Liquid_Cooling_System.h:747
TBlock_Input_Connector object_f32_Inlet_High_Temperature_Trip_Level
High inlet temperature trip level input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:153
TBlock_Input_Connector object_f32_Outlet_High_Temperature_Trip_Level
High outlet temperature trip level input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:164
TBlock_Output_Connector object_bool_Outlet_High_Temperature_Warning
High outlet temperature warning output connector.
Definition: Function_Block_Liquid_Cooling_System.h:304
VOID Pressure()
Cooling media processing method.
Definition: Function_Block_Liquid_Cooling_System.cpp:511
TBlock_Output_Connector object_bool_Low_Pressure_Alarm
Low pressure alarm output connector.
Definition: Function_Block_Liquid_Cooling_System.h:316
TBlock_Output_Connector object_bool_Trip
Global trip output connector.
Definition: Function_Block_Liquid_Cooling_System.h:337
TBlock_Input_Connector object_bool_Heater_Contactor_Status
Heater contactor status input connector.
Definition: Function_Block_Liquid_Cooling_System.h:246
U32 u32_Pump_Off_Delay_Counter
Pump off delay counter.
Definition: Function_Block_Liquid_Cooling_System.h:732
TBlock_Output_Connector object_u64_Status
Status output connector.
Definition: Function_Block_Liquid_Cooling_System.h:343
TBlock_Output_Connector object_bool_Inlet_Low_Temperature_Alarm
Low inlet temperature alarm output connector.
Definition: Function_Block_Liquid_Cooling_System.h:289
TBlock_Output_Connector object_bool_High_Pressure_Warning
High pressure warning output connector.
Definition: Function_Block_Liquid_Cooling_System.h:322
TBlock_Input_Connector object_bool_Emergency_Trip
Cooling system emergency trip input connector.
Definition: Function_Block_Liquid_Cooling_System.h:219
THeat_Exchanger_Fan_FSM_State
Heat exchanger FSM state definition.
Definition: Function_Block_Liquid_Cooling_System.h:606
@ enum_Error
Error state.
Definition: Function_Block_Liquid_Cooling_System.h:624
@ enum_Trailing
Trailing state.
Definition: Function_Block_Liquid_Cooling_System.h:621
@ enum_On
On state.
Definition: Function_Block_Liquid_Cooling_System.h:618
@ enum_Off
Off state.
Definition: Function_Block_Liquid_Cooling_System.h:615
@ enum_Init
Initialisation state.
Definition: Function_Block_Liquid_Cooling_System.h:609
@ enum_Standby
Standby state.
Definition: Function_Block_Liquid_Cooling_System.h:612
U32 u32_Inlet_High_Temperature_Trip_Delay_Counter
Time delay counter.
Definition: Function_Block_Liquid_Cooling_System.h:708
TBlock_Input_Connector object_f32_Inlet_High_Temperature_Trip_Delay
High inlet temperature trip delay input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:156
TBlock_Input_Connector object_f32_Low_Pressure_Trip_Level
Low pressure trip level input parameter.
Definition: Function_Block_Liquid_Cooling_System.h:175
TBlock_Input_Connector object_f32_Actual_Outlet_Temperature
Actual outlet temperature input connector.
Definition: Function_Block_Liquid_Cooling_System.h:259
TBlock_Input_Connector object_bool_Invalid_Outlet_Temperature
Invalid outlet temperature input connector.
Definition: Function_Block_Liquid_Cooling_System.h:262
TBlock_Output_Connector object_bool_Warning
Global warning output connector.
Definition: Function_Block_Liquid_Cooling_System.h:331
TBlock_Output_Connector object_bool_Pump_Enable
Enable pump operation.
Definition: Function_Block_Liquid_Cooling_System.h:277
TBlock_Input_Connector object_bool_Heater_Circuit_Braker_Status
Heater circuit breaker status input connector.
Definition: Function_Block_Liquid_Cooling_System.h:243
TBlock_Output_Connector object_bool_High_Pressure_Alarm
High pressure alarm output connector.
Definition: Function_Block_Liquid_Cooling_System.h:325
TBlock_Input_Connector object_bool_Heat_Exchanger_Fan_Contactor_Status
Heat exchanger fan contactor status input connector.
Definition: Function_Block_Liquid_Cooling_System.h:238
TBlock_Output_Connector object_bool_Outlet_High_Temperature_Alarm
High outlet temperature alarm output connector.
Definition: Function_Block_Liquid_Cooling_System.h:307
TBlock_Output_Connector object_bool_Inlet_High_Temperature_Alarm
High inlet temperature alarm output connector.
Definition: Function_Block_Liquid_Cooling_System.h:298
U32 u32_Outlet_High_Temperature_Trip_Delay_Counter
Time delay counter.
Definition: Function_Block_Liquid_Cooling_System.h:714
TBlock_Input_Connector object_bool_Pump_Contactor_Status
Pump contactor status input connector.
Definition: Function_Block_Liquid_Cooling_System.h:230
BOOL bool_Pump_Error
Pump error flag.
Definition: Function_Block_Liquid_Cooling_System.h:741
Definition: Protocol_Base.h:57
U64 bit_High_Inlet_Pressure_Trip
Bit 20 : High inlet pressure trip.
Definition: Function_Block_Liquid_Cooling_System.h:430
U64 bit_Invalid_Inlet_Pressure
Bit 14 : Invalid inlet pressure.
Definition: Function_Block_Liquid_Cooling_System.h:412
U64 bit_Low_Inlet_Pressure_Alarm
Bit 16 : Low inlet pressure alarm.
Definition: Function_Block_Liquid_Cooling_System.h:418
U64 bit_Low_Differentioal_Pressure_Warning
Bit 28 : Low differential pressure warning.
Definition: Function_Block_Liquid_Cooling_System.h:454
U64 bit_High_Outlet_Pressure_Trip
Bit 27 : High outlet pressure trip.
Definition: Function_Block_Liquid_Cooling_System.h:451
U64 bit_High_Outlet_Pressure_Alarm
Bit 26 : High outlet pressure alarm.
Definition: Function_Block_Liquid_Cooling_System.h:448
U64 bit_Low_Outlet_Temperature_Trip
Bit 10 : Low outlet temperature trip.
Definition: Function_Block_Liquid_Cooling_System.h:400
U64 bit_High_Inlet_Temperature_Trip
Bit 06 : High inlet temperature trip.
Definition: Function_Block_Liquid_Cooling_System.h:388
U64 bit_Invalid_Outlet_Pressure
Bit 21 : Invalid outlet pressure.
Definition: Function_Block_Liquid_Cooling_System.h:433
U64 bit_High_Inlet_Temperature_Alarm
Bit 05 : High inlet temperature alarm.
Definition: Function_Block_Liquid_Cooling_System.h:385
U64 bit_High_Outlet_Pressure_Warning
Bit 25 : High outlet pressure warming.
Definition: Function_Block_Liquid_Cooling_System.h:445
U64 bit_High_Inlet_Temperature_Warning
Bit 04 : High inlet temperature warning.
Definition: Function_Block_Liquid_Cooling_System.h:382
U64 bit_Low_Outlet_Pressure_Trip
Bit 24 : Low outlet pressure trip.
Definition: Function_Block_Liquid_Cooling_System.h:442
U64 bit_Low_Inlet_Temperature_Alarm
Bit 02 : Low inlet temperature alarm.
Definition: Function_Block_Liquid_Cooling_System.h:376
U64 bit_Low_Outlet_Pressure_Alarm
Bit 23 : Low ootlet pressure alarm.
Definition: Function_Block_Liquid_Cooling_System.h:439
U64 bit_Low_Outlet_Temperature_Warning
Bit 08 : Low outlet temperature warning.
Definition: Function_Block_Liquid_Cooling_System.h:394
U64 bit_Low_Outlet_Pressure_Warning
Bit 22 : Low outlet pressure warning.
Definition: Function_Block_Liquid_Cooling_System.h:436
U64 bit_High_Inlet_Pressure_Alarm
Bit 19 : High inlet pressure alarm.
Definition: Function_Block_Liquid_Cooling_System.h:427
U64 bit_Low_Inlet_Temperature_Trip
Bit 03 : Low inlet temperature trip.
Definition: Function_Block_Liquid_Cooling_System.h:379
U64 bit_Low_Differentioal_Pressure_Trip
Bit 30 : Low differential pressure trip.
Definition: Function_Block_Liquid_Cooling_System.h:460
U64 bit_High_Outlet_Temperature_Trip
Bit 13 : High outlet temperature trip.
Definition: Function_Block_Liquid_Cooling_System.h:409
U64 bit_High_Outlet_Temperature_Warning
Bit 11 : High outlet temperature warning.
Definition: Function_Block_Liquid_Cooling_System.h:403
U64 bit_Low_Inlet_Pressure_Trip
Bit 17 : Low inlet pressure trip.
Definition: Function_Block_Liquid_Cooling_System.h:421
U64 bit_High_Outlet_Temperature_Alarm
Bit 12 : High outlet temperature alarm.
Definition: Function_Block_Liquid_Cooling_System.h:406
U64 bit_High_Differentioal_Pressure_Alarm
Bit 32 : High differential pressure alarm.
Definition: Function_Block_Liquid_Cooling_System.h:466
U64 bit_High_Inlet_Pressure_Warning
Bit 18 : High inlet pressure warming.
Definition: Function_Block_Liquid_Cooling_System.h:424
U64 bit_High_Differentioal_Pressure_Warning
Bit 31 : High differential pressure warning.
Definition: Function_Block_Liquid_Cooling_System.h:463
U64 u64_Word
Status word as U64.
Definition: Function_Block_Liquid_Cooling_System.h:362
U64 bit_Low_Outlet_Temperature_Alarm
Bit 09 : Low outlet temperature alarm.
Definition: Function_Block_Liquid_Cooling_System.h:397
U64 bit_Low_Inlet_Temperature_Warning
Bit 01 : Low inlet temperature warning.
Definition: Function_Block_Liquid_Cooling_System.h:373
U64 bit_Low_Inlet_Pressure_Warning
Bit 15 : Low inlet pressure warming.
Definition: Function_Block_Liquid_Cooling_System.h:415
U64 bit_Invalid_Inlet_Temperature
Bit 00 : Invalid inlet temperature.
Definition: Function_Block_Liquid_Cooling_System.h:370
U64 bit_Low_Differentioal_Pressure_Alarm
Bit 29 : Low differential pressure alarm.
Definition: Function_Block_Liquid_Cooling_System.h:457
U64 bit_Invalid_Outlet_Temperature
Bit 07 : Invalid outlet temperature.
Definition: Function_Block_Liquid_Cooling_System.h:391
U64 bit_High_Differentioal_Pressure_Trip
Bit 33 : High differential pressure trip.
Definition: Function_Block_Liquid_Cooling_System.h:469