ConOpSys V2970  P004.07
ANVILEX control operating system
P017_05_KG3_AO.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 //! @file P017_05_KG3_AO.h
3 //! @brief KG3 analog output board P017.05 AI hardware driver header file.
4 //! @attention No special attention requered.
5 //! @copyright (C) 2015-2020 ANVILEX LLC
6 //! $HeadURL: https://192.168.3.4:8443/svn/P004_07/ConOpSys/Hardware/P017_05_KG3_AO/P017_05_KG3_AO.h $
7 //! $Revision: 2462 $
8 //! $Date: 2021-03-12 11:23:05 +0500 (Fr, 12 Mrz 2021) $
9 //! $Author: ggavrituhin $
10 //------------------------------------------------------------------------------
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 //------------------------------------------------------------------------------
41 // Protecting header files from mutual, recursive inclusion.
42 //------------------------------------------------------------------------------
43 
44 #pragma once
45 
46 //------------------------------------------------------------------------------
47 // Include standard libraries header files
48 //------------------------------------------------------------------------------
49 
50 //------------------------------------------------------------------------------
51 // Include thrid party header files
52 //------------------------------------------------------------------------------
53 
54 //------------------------------------------------------------------------------
55 // Include ConOpSys header files
56 //------------------------------------------------------------------------------
57 
58 #include "Function_Block_Base.h"
59 
60 //------------------------------------------------------------------------------
61 // Macros
62 //------------------------------------------------------------------------------
63 
64 //! @brief Analog output board P017.05 class
66 {
67 
68  //----------------------------------------------------------------------------
69  // Public defines, methods and variables
70  //----------------------------------------------------------------------------
71 
72  public:
73 
74  //--------------------------------------------------------------------------
75  // Public defines
76  //--------------------------------------------------------------------------
77 
78  // Register structure for generic access
79  typedef struct
80  {
81 
82  U16 u16_Unit_ID_L; //!< 0x00 : Unit identification L read register
83  U16 u16_Unit_ID_H; //!< 0x01 : Unit identification H read register
84  union
85  {
86  U16 u16_Status; //!< 0x02 : Status register
87  U16 u16_Control; //!< 0x02 : Control register
88  };
89  U16 u16_Analog_Output_Data_1; //!< 0x03 : Analog input channel 1 data register as U16 value
90  U16 u16_Analog_Output_Data_2; //!< 0x04 : Analog input channel 2 data register as U16 value
91  U16 u16_Analog_Output_Data_3; //!< 0x05 : Analog input channel 3 data register as U16 value
92  U16 u16_Analog_Output_Data_4; //!< 0x06 : Analog input channel 4 data register as U16 value
93 
95 
96  //--------------------------------------------------------------------------
97  // Public methods
98  //--------------------------------------------------------------------------
99 
100  //!-------------------------------------------------------------------------
101  //! @brief Class constructor method.
102  //! @note None
103  //! \par Override
104  //! Not allowed
105  //! @attention Don't call this method directly.
106  //--------------------------------------------------------------------------
107 
109 
110  //!-------------------------------------------------------------------------
111  //! @brief Class destructor method.
112  //! @note None
113  //! \par Override
114  //! Not allowed
115  //! @attention Don't call this method directly.
116  //--------------------------------------------------------------------------
117 
118  virtual ~TP017_05_KG3_AO_T1();
119 
120  VOID Map( TP017_05_KG3_AO_Registers *struct_Registers_Base_Address );
121  virtual VOID Init();
122  virtual VOID Execute();
123  virtual VOID Send_Information( TProtocol_Base *object_Protocol );
124 
125  //--------------------------------------------------------------------------
126  // Block parameters
127  //--------------------------------------------------------------------------
128 
129  TBlock_Input_Connector object_f32_Analog_Output_Full_Scale_1; //!< Analog input channel 1 fill scale value. Also used for channel total gain adjustment.
130  TBlock_Input_Connector object_f32_Analog_Output_Full_Scale_2; //!< Analog input channel 2 fill scale value. Also used for channel total gain adjustment.
131  TBlock_Input_Connector object_f32_Analog_Output_Full_Scale_3; //!< Analog input channel 3 fill scale value. Also used for channel total gain adjustment.
132  TBlock_Input_Connector object_f32_Analog_Output_Full_Scale_4; //!< Analog input channel 4 fill scale value. Also used for channel total gain adjustment.
133 
134  TBlock_Input_Connector object_f32_Analog_Output_Offset_1; //!< Analog input channel 1 offset
135  TBlock_Input_Connector object_f32_Analog_Output_Offset_2; //!< Analog input channel 2 offset
136  TBlock_Input_Connector object_f32_Analog_Output_Offset_3; //!< Analog input channel 3 offset
137  TBlock_Input_Connector object_f32_Analog_Output_Offset_4; //!< Analog input channel 4 offset
138 
139 // TBlock_Input_Connector object_bool_Negate; //!< Negate output analog signal value
140 
141  //--------------------------------------------------------------------------
142  // Block inputs
143  //--------------------------------------------------------------------------
144 
145  TBlock_Input_Connector object_f32_Analog_Output_Data_1; //!< Analog input channel 1 block output
146  TBlock_Input_Connector object_f32_Analog_Output_Data_2; //!< Analog input channel 2 block output
147  TBlock_Input_Connector object_f32_Analog_Output_Data_3; //!< Analog input channel 3 block output
148  TBlock_Input_Connector object_f32_Analog_Output_Data_4; //!< Analog input channel 4 block output
149 
150  //--------------------------------------------------------------------------
151  // Block outputs
152  //--------------------------------------------------------------------------
153 
154  //----------------------------------------------------------------------------
155  // Protected defines, methods and variables
156  //----------------------------------------------------------------------------
157 
158  protected:
159 
160  //----------------------------------------------------------------------------
161  // Private defines, methods and variables
162  //----------------------------------------------------------------------------
163 
164  private:
165 
166  typedef union
167  {
168 
170  struct
171  {
172 
173  U16 bu16_Fan_Status:1; // Bit 0
174  U16 :1; // Bit 1
175  U16 :1; // Bit 2
176  U16 :1; // Bit 3
177  U16 :1; // Bit 4
178  U16 :1; // Bit 5
179  U16 :1; // Bit 6
180  U16 :1; // Bit 7
181  U16 :1; // Bit 8
182  U16 :1; // Bit 9
183  U16 :1; // Bit 10
184  U16 :1; // Bit 11
185  U16 :1; // Bit 12
186  U16 :1; // Bit 13
187  U16 :1; // Bit 14
188  U16 :1; // Bit 15
189 
190  };
191 
192  } TStatus_Register;
193 
194  typedef union
195  {
196 
198  struct
199  {
200 
201  U16 bu16_Fan_Control:1; // Bit 0
202  U16 :1; // Bit 1
203  U16 :1; // Bit 2
204  U16 :1; // Bit 3
205  U16 :1; // Bit 4
206  U16 :1; // Bit 5
207  U16 :1; // Bit 6
208  U16 :1; // Bit 7
209  U16 :1; // Bit 8
210  U16 :1; // Bit 9
211  U16 :1; // Bit 10
212  U16 :1; // Bit 11
213  U16 :1; // Bit 12
214  U16 :1; // Bit 13
215  U16 :1; // Bit 14
216  U16 :1; // Bit 15
217 
218  };
219 
220  } TControl_Register;
221 
222  volatile TP017_05_KG3_AO_Registers *struct_Registers; //!< Hardware mapped registers
223 
224  F32 f32_Gain_1; //!< Effective gain of the channel 1
225  F32 f32_Gain_2; //!< Effective gain of the channel 2
226  F32 f32_Gain_3; //!< Effective gain of the channel 3
227  F32 f32_Gain_4; //!< Effective gain of the channel 3
228 
229  F32 f32_Offset_1; //!< Effective offset of the channel 1
230  F32 f32_Offset_2; //!< Effective offset of the channel 2
231  F32 f32_Offset_3; //!< Effective offset of the channel 3
232  F32 f32_Offset_4; //!< Effective offset of the channel 3
233 
235 
237 };
238 
239 //! @brief Analog output board P017.05 class 600 mA
241 {
242 
243  //----------------------------------------------------------------------------
244  // Public defines, methods and variables
245  //----------------------------------------------------------------------------
246 
247  public:
248 
249  //--------------------------------------------------------------------------
250  // Public defines
251  //--------------------------------------------------------------------------
252 
253  // Register structure for generic access
254  typedef struct
255  {
256 
257  U16 u16_Unit_ID_L; //!< 0x00 : Unit identification L read register
258  U16 u16_Unit_ID_H; //!< 0x01 : Unit identification H read register
259  union
260  {
261  U16 u16_Status; //!< 0x02 : Status register
262  U16 u16_Control; //!< 0x02 : Control register
263  };
264  U16 u16_Analog_Output_Data_1; //!< 0x03 : Analog input channel 1 data register as U16 value
265  U16 u16_Analog_Output_Data_2; //!< 0x04 : Analog input channel 2 data register as U16 value
266  U16 u16_Analog_Output_Data_3; //!< 0x05 : Analog input channel 3 data register as U16 value
267  U16 u16_Reserved; //!< 0x06 : Dont used
268 
270 
271  //--------------------------------------------------------------------------
272  // Public methods
273  //--------------------------------------------------------------------------
274 
275  //!-------------------------------------------------------------------------
276  //! @brief Class constructor method.
277  //! @note None
278  //! \par Override
279  //! Not allowed
280  //! @attention Don't call this method directly.
281  //--------------------------------------------------------------------------
282 
284 
285  //!-------------------------------------------------------------------------
286  //! @brief Class destructor method.
287  //! @note None
288  //! \par Override
289  //! Not allowed
290  //! @attention Don't call this method directly.
291  //--------------------------------------------------------------------------
292 
293  virtual ~TP017_05_KG3_AO_T2();
294 
295  VOID Map( TP017_05_KG3_AO_Registers *struct_Registers_Base_Address );
296  virtual VOID Init();
297  virtual VOID Execute();
298  virtual VOID Send_Information( TProtocol_Base *object_Protocol );
299 
300  //--------------------------------------------------------------------------
301  // Block parameters
302  //--------------------------------------------------------------------------
303 
304  //--------------------------------------------------------------------------
305  // Block inputs
306  //--------------------------------------------------------------------------
307 
308  TBlock_Input_Connector object_f32_Analog_Output_Data_1; //!< Analog input channel 1 block output
309  TBlock_Input_Connector object_f32_Analog_Output_Data_2; //!< Analog input channel 2 block output
310  TBlock_Input_Connector object_f32_Analog_Output_Data_3; //!< Analog input channel 3 block output
311 
312  //--------------------------------------------------------------------------
313  // Block outputs
314  //--------------------------------------------------------------------------
315 
316  //----------------------------------------------------------------------------
317  // Protected defines, methods and variables
318  //----------------------------------------------------------------------------
319 
320  protected:
321 
322  //----------------------------------------------------------------------------
323  // Private defines, methods and variables
324  //----------------------------------------------------------------------------
325 
326  private:
327 
328  typedef union
329  {
330 
332  struct
333  {
334 
335  U16 bu16_Fan_Status:1; // Bit 0
336  U16 :1; // Bit 1
337  U16 :1; // Bit 2
338  U16 :1; // Bit 3
339  U16 :1; // Bit 4
340  U16 :1; // Bit 5
341  U16 :1; // Bit 6
342  U16 :1; // Bit 7
343  U16 :1; // Bit 8
344  U16 :1; // Bit 9
345  U16 :1; // Bit 10
346  U16 :1; // Bit 11
347  U16 :1; // Bit 12
348  U16 :1; // Bit 13
349  U16 :1; // Bit 14
350  U16 :1; // Bit 15
351 
352  };
353 
354  } TStatus_Register;
355 
356  typedef union
357  {
358 
360  struct
361  {
362 
363  U16 bu16_Fan_Control:1; // Bit 0
364  U16 :1; // Bit 1
365  U16 :1; // Bit 2
366  U16 :1; // Bit 3
367  U16 :1; // Bit 4
368  U16 :1; // Bit 5
369  U16 :1; // Bit 6
370  U16 :1; // Bit 7
371  U16 :1; // Bit 8
372  U16 :1; // Bit 9
373  U16 :1; // Bit 10
374  U16 :1; // Bit 11
375  U16 :1; // Bit 12
376  U16 :1; // Bit 13
377  U16 :1; // Bit 14
378  U16 :1; // Bit 15
379 
380  };
381 
382  } TControl_Register;
383 
384  volatile TP017_05_KG3_AO_Registers *struct_Registers; //!< Hardware mapped registers
385 
386  F32 f32_Gain; //!< Effective gain of the channels
387 
389 
390  F32 f32_Code_Limit = (F32)32768.0f;
391 
393 
395 };
396 
397 
398 //! @brief Analog output board P017.05 class 1500 mA
400 {
401 
402  //----------------------------------------------------------------------------
403  // Public defines, methods and variables
404  //----------------------------------------------------------------------------
405 
406  public:
407 
408  //--------------------------------------------------------------------------
409  // Public defines
410  //--------------------------------------------------------------------------
411 
412  // Register structure for generic access
413  typedef struct
414  {
415 
416  U16 u16_Unit_ID_L; //!< 0x00 : Unit identification L read register
417  U16 u16_Unit_ID_H; //!< 0x01 : Unit identification H read register
418  union
419  {
420  U16 u16_Status; //!< 0x02 : Status register
421  U16 u16_Control; //!< 0x02 : Control register
422  };
423  U16 u16_Analog_Output_Data_1; //!< 0x03 : Analog input channel 1 data register as U16 value
424  U16 u16_Analog_Output_Data_2; //!< 0x04 : Analog input channel 2 data register as U16 value
425  U16 u16_Analog_Output_Data_3; //!< 0x05 : Analog input channel 3 data register as U16 value
426  U16 u16_Reserved; //!< 0x06 : Dont used
427 
429 
430  //--------------------------------------------------------------------------
431  // Public methods
432  //--------------------------------------------------------------------------
433 
434  //!-------------------------------------------------------------------------
435  //! @brief Class constructor method.
436  //! @note None
437  //! \par Override
438  //! Not allowed
439  //! @attention Don't call this method directly.
440  //--------------------------------------------------------------------------
441 
443 
444  //!-------------------------------------------------------------------------
445  //! @brief Class destructor method.
446  //! @note None
447  //! \par Override
448  //! Not allowed
449  //! @attention Don't call this method directly.
450  //--------------------------------------------------------------------------
451 
452  virtual ~TP017_05_KG3_AO_T3();
453 
454  VOID Map( TP017_05_KG3_AO_Registers *struct_Registers_Base_Address );
455  virtual VOID Init();
456  virtual VOID Execute();
457  virtual VOID Send_Information( TProtocol_Base *object_Protocol );
458 
459  //--------------------------------------------------------------------------
460  // Block parameters
461  //--------------------------------------------------------------------------
462 
463  //--------------------------------------------------------------------------
464  // Block inputs
465  //--------------------------------------------------------------------------
466 
467  TBlock_Input_Connector object_f32_Analog_Output_Data_1; //!< Analog input channel 1 block output
468  TBlock_Input_Connector object_f32_Analog_Output_Data_2; //!< Analog input channel 2 block output
469  TBlock_Input_Connector object_f32_Analog_Output_Data_3; //!< Analog input channel 3 block output
470 
471  //--------------------------------------------------------------------------
472  // Block outputs
473  //--------------------------------------------------------------------------
474 
475  //----------------------------------------------------------------------------
476  // Protected defines, methods and variables
477  //----------------------------------------------------------------------------
478 
479  protected:
480 
481  //----------------------------------------------------------------------------
482  // Private defines, methods and variables
483  //----------------------------------------------------------------------------
484 
485  private:
486 
487  typedef union
488  {
489 
491  struct
492  {
493 
494  U16 bu16_Fan_Status:1; // Bit 0
495  U16 :1; // Bit 1
496  U16 :1; // Bit 2
497  U16 :1; // Bit 3
498  U16 :1; // Bit 4
499  U16 :1; // Bit 5
500  U16 :1; // Bit 6
501  U16 :1; // Bit 7
502  U16 :1; // Bit 8
503  U16 :1; // Bit 9
504  U16 :1; // Bit 10
505  U16 :1; // Bit 11
506  U16 :1; // Bit 12
507  U16 :1; // Bit 13
508  U16 :1; // Bit 14
509  U16 :1; // Bit 15
510 
511  };
512 
513  } TStatus_Register;
514 
515  typedef union
516  {
517 
519  struct
520  {
521 
522  U16 bu16_Fan_Control:1; // Bit 0
523  U16 :1; // Bit 1
524  U16 :1; // Bit 2
525  U16 :1; // Bit 3
526  U16 :1; // Bit 4
527  U16 :1; // Bit 5
528  U16 :1; // Bit 6
529  U16 :1; // Bit 7
530  U16 :1; // Bit 8
531  U16 :1; // Bit 9
532  U16 :1; // Bit 10
533  U16 :1; // Bit 11
534  U16 :1; // Bit 12
535  U16 :1; // Bit 13
536  U16 :1; // Bit 14
537  U16 :1; // Bit 15
538 
539  };
540 
541  } TControl_Register;
542 
543  volatile TP017_05_KG3_AO_Registers *struct_Registers; //!< Hardware mapped registers
544 
545  F32 f32_Gain; //!< Effective gain of the channels
546 
547  F32 f32_Value_Limit = (U32)1500.0f;
548 
549  F32 f32_Code_Limit = (F32)32768.0f;
550 
552 
554 };
555 
556 //! @brief Analog output board P017.05 class 100 mA
558 {
559 
560  //----------------------------------------------------------------------------
561  // Public defines, methods and variables
562  //----------------------------------------------------------------------------
563 
564  public:
565 
566  //--------------------------------------------------------------------------
567  // Public defines
568  //--------------------------------------------------------------------------
569 
570  // Register structure for generic access
571  typedef struct
572  {
573 
574  U16 u16_Unit_ID_L; //!< 0x00 : Unit identification L read register
575  U16 u16_Unit_ID_H; //!< 0x01 : Unit identification H read register
576  union
577  {
578  U16 u16_Status; //!< 0x02 : Status register
579  U16 u16_Control; //!< 0x02 : Control register
580  };
581  U16 u16_Analog_Output_Data_1; //!< 0x03 : Analog input channel 1 data register as U16 value
582  U16 u16_Analog_Output_Data_2; //!< 0x04 : Analog input channel 2 data register as U16 value
583  U16 u16_Analog_Output_Data_3; //!< 0x05 : Analog input channel 3 data register as U16 value
584  U16 u16_Reserved; //!< 0x06 : Dont used
585 
587 
588  //--------------------------------------------------------------------------
589  // Public methods
590  //--------------------------------------------------------------------------
591 
592  //!-------------------------------------------------------------------------
593  //! @brief Class constructor method.
594  //! @note None
595  //! \par Override
596  //! Not allowed
597  //! @attention Don't call this method directly.
598  //--------------------------------------------------------------------------
599 
601 
602  //!-------------------------------------------------------------------------
603  //! @brief Class destructor method.
604  //! @note None
605  //! \par Override
606  //! Not allowed
607  //! @attention Don't call this method directly.
608  //--------------------------------------------------------------------------
609 
610  virtual ~TP017_05_KG3_AO_T4();
611 
612  VOID Map( TP017_05_KG3_AO_Registers *struct_Registers_Base_Address );
613  virtual VOID Init();
614  virtual VOID Execute();
615  virtual VOID Send_Information( TProtocol_Base *object_Protocol );
616 
617  //--------------------------------------------------------------------------
618  // Block parameters
619  //--------------------------------------------------------------------------
620 
621  //--------------------------------------------------------------------------
622  // Block inputs
623  //--------------------------------------------------------------------------
624 
625  TBlock_Input_Connector object_f32_Analog_Output_Data_1; //!< Analog input channel 1 block output
626  TBlock_Input_Connector object_f32_Analog_Output_Data_2; //!< Analog input channel 2 block output
627  TBlock_Input_Connector object_f32_Analog_Output_Data_3; //!< Analog input channel 3 block output
628 
629  //--------------------------------------------------------------------------
630  // Block outputs
631  //--------------------------------------------------------------------------
632 
633  //----------------------------------------------------------------------------
634  // Protected defines, methods and variables
635  //----------------------------------------------------------------------------
636 
637  protected:
638 
639  //----------------------------------------------------------------------------
640  // Private defines, methods and variables
641  //----------------------------------------------------------------------------
642 
643  private:
644 
645  typedef union
646  {
647 
649  struct
650  {
651 
652  U16 bu16_Fan_Status:1; // Bit 0
653  U16 :1; // Bit 1
654  U16 :1; // Bit 2
655  U16 :1; // Bit 3
656  U16 :1; // Bit 4
657  U16 :1; // Bit 5
658  U16 :1; // Bit 6
659  U16 :1; // Bit 7
660  U16 :1; // Bit 8
661  U16 :1; // Bit 9
662  U16 :1; // Bit 10
663  U16 :1; // Bit 11
664  U16 :1; // Bit 12
665  U16 :1; // Bit 13
666  U16 :1; // Bit 14
667  U16 :1; // Bit 15
668 
669  };
670 
671  } TStatus_Register;
672 
673  typedef union
674  {
675 
677  struct
678  {
679 
680  U16 bu16_Fan_Control:1; // Bit 0
681  U16 :1; // Bit 1
682  U16 :1; // Bit 2
683  U16 :1; // Bit 3
684  U16 :1; // Bit 4
685  U16 :1; // Bit 5
686  U16 :1; // Bit 6
687  U16 :1; // Bit 7
688  U16 :1; // Bit 8
689  U16 :1; // Bit 9
690  U16 :1; // Bit 10
691  U16 :1; // Bit 11
692  U16 :1; // Bit 12
693  U16 :1; // Bit 13
694  U16 :1; // Bit 14
695  U16 :1; // Bit 15
696 
697  };
698 
699  } TControl_Register;
700 
701  volatile TP017_05_KG3_AO_Registers *struct_Registers; //!< Hardware mapped registers
702 
703  F32 f32_Gain; //!< Effective gain of the channels
704 
706 
707  F32 f32_Code_Limit = (F32)32768.0f;
708 
710 
712 };
713 
714 //------------------------------------------------------------------------------
715 // End of file
716 //------------------------------------------------------------------------------
void VOID
Datatypesess datatype definition.
Definition: Defines.h:105
unsigned long U32
Binary 32-Bit unsigned integer datatype defenition.
Definition: Defines.h:203
float F32
IEEE-754 32-Bit single presession floating point numbers datatype defenition.
Definition: Defines.h:324
unsigned short U16
Binary 16-Bit unsigned integer datatype defenition.
Definition: Defines.h:193
Function block base class header file.
Function block input connector class.
Definition: Block_Input_Connector.h:83
Function block base class for device.
Definition: Function_Block_Base.h:96
Analog output board P017.05 class.
Definition: P017_05_KG3_AO.h:66
TBlock_Input_Connector object_f32_Analog_Output_Data_3
Analog input channel 3 block output.
Definition: P017_05_KG3_AO.h:147
virtual ~TP017_05_KG3_AO_T1()
Class destructor method.
Definition: P017_05_KG3_AO.cpp:123
TBlock_Input_Connector object_f32_Analog_Output_Offset_2
Analog input channel 2 offset.
Definition: P017_05_KG3_AO.h:135
F32 f32_Offset_4
Effective offset of the channel 3.
Definition: P017_05_KG3_AO.h:232
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send detailed information about functional block.
Definition: P017_05_KG3_AO.cpp:218
F32 f32_Offset_1
Effective offset of the channel 1.
Definition: P017_05_KG3_AO.h:229
U16 u16_Debug_Counter
Definition: P017_05_KG3_AO.h:236
TBlock_Input_Connector object_f32_Analog_Output_Full_Scale_3
Analog input channel 3 fill scale value. Also used for channel total gain adjustment.
Definition: P017_05_KG3_AO.h:131
TBlock_Input_Connector object_f32_Analog_Output_Data_1
Analog input channel 1 block output.
Definition: P017_05_KG3_AO.h:145
TBlock_Input_Connector object_f32_Analog_Output_Offset_1
Analog input channel 1 offset.
Definition: P017_05_KG3_AO.h:134
TBlock_Input_Connector object_f32_Analog_Output_Data_4
Analog input channel 4 block output.
Definition: P017_05_KG3_AO.h:148
VOID Map(TP017_05_KG3_AO_Registers *struct_Registers_Base_Address)
Analog input board P017.05 KG3 AI memory map.
Definition: P017_05_KG3_AO.cpp:134
TBlock_Input_Connector object_f32_Analog_Output_Full_Scale_2
Analog input channel 2 fill scale value. Also used for channel total gain adjustment.
Definition: P017_05_KG3_AO.h:130
TBlock_Input_Connector object_f32_Analog_Output_Full_Scale_4
Analog input channel 4 fill scale value. Also used for channel total gain adjustment.
Definition: P017_05_KG3_AO.h:132
virtual VOID Execute()
Function block execute method.
Definition: P017_05_KG3_AO.cpp:188
TBlock_Input_Connector object_f32_Analog_Output_Offset_3
Analog input channel 3 offset.
Definition: P017_05_KG3_AO.h:136
virtual VOID Init()
Definition: P017_05_KG3_AO.cpp:146
F32 f32_Analog_Data_1
Definition: P017_05_KG3_AO.h:234
TP017_05_KG3_AO_T1()
Class constructor method.
Definition: P017_05_KG3_AO.cpp:70
volatile TP017_05_KG3_AO_Registers * struct_Registers
Hardware mapped registers.
Definition: P017_05_KG3_AO.h:222
F32 f32_Offset_3
Effective offset of the channel 3.
Definition: P017_05_KG3_AO.h:231
F32 f32_Gain_2
Effective gain of the channel 2.
Definition: P017_05_KG3_AO.h:225
F32 f32_Gain_3
Effective gain of the channel 3.
Definition: P017_05_KG3_AO.h:226
F32 f32_Offset_2
Effective offset of the channel 2.
Definition: P017_05_KG3_AO.h:230
TBlock_Input_Connector object_f32_Analog_Output_Data_2
Analog input channel 2 block output.
Definition: P017_05_KG3_AO.h:146
TBlock_Input_Connector object_f32_Analog_Output_Offset_4
Analog input channel 4 offset.
Definition: P017_05_KG3_AO.h:137
TBlock_Input_Connector object_f32_Analog_Output_Full_Scale_1
Analog input channel 1 fill scale value. Also used for channel total gain adjustment.
Definition: P017_05_KG3_AO.h:129
F32 f32_Gain_1
Effective gain of the channel 1.
Definition: P017_05_KG3_AO.h:224
F32 f32_Gain_4
Effective gain of the channel 3.
Definition: P017_05_KG3_AO.h:227
Analog output board P017.05 class 600 mA.
Definition: P017_05_KG3_AO.h:241
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send detailed information about functional block.
Definition: P017_05_KG3_AO.cpp:371
virtual VOID Execute()
Function block execute method.
Definition: P017_05_KG3_AO.cpp:337
volatile TP017_05_KG3_AO_Registers * struct_Registers
Hardware mapped registers.
Definition: P017_05_KG3_AO.h:384
F32 f32_Value_Limit
Definition: P017_05_KG3_AO.h:388
virtual ~TP017_05_KG3_AO_T2()
Class destructor method.
Definition: P017_05_KG3_AO.cpp:300
virtual VOID Init()
Definition: P017_05_KG3_AO.cpp:323
TBlock_Input_Connector object_f32_Analog_Output_Data_1
Analog input channel 1 block output.
Definition: P017_05_KG3_AO.h:308
TBlock_Input_Connector object_f32_Analog_Output_Data_3
Analog input channel 3 block output.
Definition: P017_05_KG3_AO.h:310
F32 f32_Gain
Effective gain of the channels.
Definition: P017_05_KG3_AO.h:386
F32 f32_Code_Limit
Definition: P017_05_KG3_AO.h:390
U16 u16_Debug_Counter
Definition: P017_05_KG3_AO.h:394
TBlock_Input_Connector object_f32_Analog_Output_Data_2
Analog input channel 2 block output.
Definition: P017_05_KG3_AO.h:309
F32 f32_Analog_Data_1
Definition: P017_05_KG3_AO.h:392
TP017_05_KG3_AO_T2()
Class constructor method.
Definition: P017_05_KG3_AO.cpp:264
VOID Map(TP017_05_KG3_AO_Registers *struct_Registers_Base_Address)
Analog input board P017.05 KG3 AI memory map.
Definition: P017_05_KG3_AO.cpp:311
Analog output board P017.05 class 1500 mA.
Definition: P017_05_KG3_AO.h:400
F32 f32_Value_Limit
Definition: P017_05_KG3_AO.h:547
F32 f32_Code_Limit
Definition: P017_05_KG3_AO.h:549
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send detailed information about functional block.
Definition: P017_05_KG3_AO.cpp:498
U16 u16_Debug_Counter
Definition: P017_05_KG3_AO.h:553
VOID Map(TP017_05_KG3_AO_Registers *struct_Registers_Base_Address)
Analog input board P017.05 KG3 AI memory map.
Definition: P017_05_KG3_AO.cpp:440
F32 f32_Gain
Effective gain of the channels.
Definition: P017_05_KG3_AO.h:545
TBlock_Input_Connector object_f32_Analog_Output_Data_2
Analog input channel 2 block output.
Definition: P017_05_KG3_AO.h:468
F32 f32_Analog_Data_1
Definition: P017_05_KG3_AO.h:551
volatile TP017_05_KG3_AO_Registers * struct_Registers
Hardware mapped registers.
Definition: P017_05_KG3_AO.h:543
TBlock_Input_Connector object_f32_Analog_Output_Data_3
Analog input channel 3 block output.
Definition: P017_05_KG3_AO.h:469
TP017_05_KG3_AO_T3()
Class constructor method.
Definition: P017_05_KG3_AO.cpp:393
virtual VOID Init()
Definition: P017_05_KG3_AO.cpp:452
virtual VOID Execute()
Function block execute method.
Definition: P017_05_KG3_AO.cpp:464
virtual ~TP017_05_KG3_AO_T3()
Class destructor method.
Definition: P017_05_KG3_AO.cpp:429
TBlock_Input_Connector object_f32_Analog_Output_Data_1
Analog input channel 1 block output.
Definition: P017_05_KG3_AO.h:467
Analog output board P017.05 class 100 mA.
Definition: P017_05_KG3_AO.h:558
U16 u16_Debug_Counter
Definition: P017_05_KG3_AO.h:711
volatile TP017_05_KG3_AO_Registers * struct_Registers
Hardware mapped registers.
Definition: P017_05_KG3_AO.h:701
F32 f32_Code_Limit
Definition: P017_05_KG3_AO.h:707
virtual ~TP017_05_KG3_AO_T4()
Class destructor method.
Definition: P017_05_KG3_AO.cpp:556
TBlock_Input_Connector object_f32_Analog_Output_Data_1
Analog input channel 1 block output.
Definition: P017_05_KG3_AO.h:625
virtual VOID Init()
Definition: P017_05_KG3_AO.cpp:579
virtual VOID Execute()
Function block execute method.
Definition: P017_05_KG3_AO.cpp:591
TP017_05_KG3_AO_T4()
Class constructor method.
Definition: P017_05_KG3_AO.cpp:520
VOID Map(TP017_05_KG3_AO_Registers *struct_Registers_Base_Address)
Analog input board P017.05 KG3 AI memory map.
Definition: P017_05_KG3_AO.cpp:567
F32 f32_Analog_Data_1
Definition: P017_05_KG3_AO.h:709
virtual VOID Send_Information(TProtocol_Base *object_Protocol)
Send detailed information about functional block.
Definition: P017_05_KG3_AO.cpp:625
TBlock_Input_Connector object_f32_Analog_Output_Data_3
Analog input channel 3 block output.
Definition: P017_05_KG3_AO.h:627
F32 f32_Gain
Effective gain of the channels.
Definition: P017_05_KG3_AO.h:703
TBlock_Input_Connector object_f32_Analog_Output_Data_2
Analog input channel 2 block output.
Definition: P017_05_KG3_AO.h:626
F32 f32_Value_Limit
Definition: P017_05_KG3_AO.h:705
Definition: Protocol_Base.h:57
Definition: P017_05_KG3_AO.h:80
U16 u16_Analog_Output_Data_1
0x03 : Analog input channel 1 data register as U16 value
Definition: P017_05_KG3_AO.h:89
U16 u16_Status
0x02 : Status register
Definition: P017_05_KG3_AO.h:86
U16 u16_Control
0x02 : Control register
Definition: P017_05_KG3_AO.h:87
U16 u16_Unit_ID_H
0x01 : Unit identification H read register
Definition: P017_05_KG3_AO.h:83
U16 u16_Unit_ID_L
0x00 : Unit identification L read register
Definition: P017_05_KG3_AO.h:82
U16 u16_Analog_Output_Data_3
0x05 : Analog input channel 3 data register as U16 value
Definition: P017_05_KG3_AO.h:91
U16 u16_Analog_Output_Data_4
0x06 : Analog input channel 4 data register as U16 value
Definition: P017_05_KG3_AO.h:92
U16 u16_Analog_Output_Data_2
0x04 : Analog input channel 2 data register as U16 value
Definition: P017_05_KG3_AO.h:90
Definition: P017_05_KG3_AO.h:255
U16 u16_Analog_Output_Data_1
0x03 : Analog input channel 1 data register as U16 value
Definition: P017_05_KG3_AO.h:264
U16 u16_Status
0x02 : Status register
Definition: P017_05_KG3_AO.h:261
U16 u16_Unit_ID_L
0x00 : Unit identification L read register
Definition: P017_05_KG3_AO.h:257
U16 u16_Analog_Output_Data_2
0x04 : Analog input channel 2 data register as U16 value
Definition: P017_05_KG3_AO.h:265
U16 u16_Reserved
0x06 : Dont used
Definition: P017_05_KG3_AO.h:267
U16 u16_Analog_Output_Data_3
0x05 : Analog input channel 3 data register as U16 value
Definition: P017_05_KG3_AO.h:266
U16 u16_Unit_ID_H
0x01 : Unit identification H read register
Definition: P017_05_KG3_AO.h:258
U16 u16_Control
0x02 : Control register
Definition: P017_05_KG3_AO.h:262
Definition: P017_05_KG3_AO.h:414
U16 u16_Control
0x02 : Control register
Definition: P017_05_KG3_AO.h:421
U16 u16_Analog_Output_Data_2
0x04 : Analog input channel 2 data register as U16 value
Definition: P017_05_KG3_AO.h:424
U16 u16_Reserved
0x06 : Dont used
Definition: P017_05_KG3_AO.h:426
U16 u16_Analog_Output_Data_1
0x03 : Analog input channel 1 data register as U16 value
Definition: P017_05_KG3_AO.h:423
U16 u16_Unit_ID_L
0x00 : Unit identification L read register
Definition: P017_05_KG3_AO.h:416
U16 u16_Analog_Output_Data_3
0x05 : Analog input channel 3 data register as U16 value
Definition: P017_05_KG3_AO.h:425
U16 u16_Status
0x02 : Status register
Definition: P017_05_KG3_AO.h:420
U16 u16_Unit_ID_H
0x01 : Unit identification H read register
Definition: P017_05_KG3_AO.h:417
Definition: P017_05_KG3_AO.h:572
U16 u16_Analog_Output_Data_2
0x04 : Analog input channel 2 data register as U16 value
Definition: P017_05_KG3_AO.h:582
U16 u16_Unit_ID_L
0x00 : Unit identification L read register
Definition: P017_05_KG3_AO.h:574
U16 u16_Status
0x02 : Status register
Definition: P017_05_KG3_AO.h:578
U16 u16_Reserved
0x06 : Dont used
Definition: P017_05_KG3_AO.h:584
U16 u16_Unit_ID_H
0x01 : Unit identification H read register
Definition: P017_05_KG3_AO.h:575
U16 u16_Analog_Output_Data_1
0x03 : Analog input channel 1 data register as U16 value
Definition: P017_05_KG3_AO.h:581
U16 u16_Control
0x02 : Control register
Definition: P017_05_KG3_AO.h:579
U16 u16_Analog_Output_Data_3
0x05 : Analog input channel 3 data register as U16 value
Definition: P017_05_KG3_AO.h:583
U16 u16_Status
Definition: P017_05_KG3_AO.h:197
U16 bu16_Fan_Control
Definition: P017_05_KG3_AO.h:201
U16 bu16_Fan_Status
Definition: P017_05_KG3_AO.h:173
U16 u16_Status
Definition: P017_05_KG3_AO.h:169
U16 u16_Status
Definition: P017_05_KG3_AO.h:359
U16 bu16_Fan_Control
Definition: P017_05_KG3_AO.h:363
U16 u16_Status
Definition: P017_05_KG3_AO.h:331
U16 bu16_Fan_Status
Definition: P017_05_KG3_AO.h:335
U16 bu16_Fan_Control
Definition: P017_05_KG3_AO.h:522
U16 u16_Status
Definition: P017_05_KG3_AO.h:518
U16 bu16_Fan_Status
Definition: P017_05_KG3_AO.h:494
U16 u16_Status
Definition: P017_05_KG3_AO.h:490
U16 bu16_Fan_Control
Definition: P017_05_KG3_AO.h:680
U16 u16_Status
Definition: P017_05_KG3_AO.h:676
U16 u16_Status
Definition: P017_05_KG3_AO.h:648
U16 bu16_Fan_Status
Definition: P017_05_KG3_AO.h:652