TI 34P02K35-02E
Jun. 6, 2018-00
4.3 Principles of Application Creation .......................................................... 42
4.3.1 Principles of Application Creation ................................................. 42
4.3.2 Example of a Simple Application ................................................... 42
4.3.3 Bottom-up Application Creation .................................................... 45
4.4 Application Creation Know-how ............................................................. 46
4.5 Network Templates ................................................................................... 47
4.6 Application Encapsulation ...................................................................... 48
4.6.1 Features of Application Encapsulation .......................................... 48
4.6.2 Procedure for Creating a POU ...................................................... 50
4.6.3 Modifying Logic of a POU ............................................................. 54
4.7 Handling Compile Errors and Warnings ................................................ 58
4.8 Precautions About Downloading ............................................................ 60
4.8.1 Offline Download and Online Download ....................................... 60
4.8.2 Downloading Boot Project and Source ......................................... 62
4.8.3 Detailed Description of Download Dialog ..................................... 62
4.8.4 Importance of Boot Project ........................................................... 64
4.8.5 Importance of Source .................................................................... 65
4.9 Control Application Backup .................................................................... 66
5. Function Test (Debugging) ............................................................ 69
5.1 Equipment Used for Testing .................................................................... 69
5.1.1 Precautions of Testing When Using In-house Equipment ............. 70
5.1.2 Precautions of Testing When Using FCN/FCJ Simulator .............. 73
5.1.3 Precautions of Testing When Using Target Equipment ................. 75
5.1.4 Precautions of Migrating Testing from In-house Equipment to
Target Equipment .......................................................................... 77
5.2 Unit Test and Combination Test .............................................................. 79
5.3 Unit Test Precautions ............................................................................... 80
5.3.1 Pre-unit Test Checklist .................................................................. 80
5.3.2 Unit Test Methodology ................................................................... 81
5.3.3 Unit Test Know-how ...................................................................... 83
5.4 Combination Test Precautions ................................................................ 86
5.4.1 Combination Test Prerequisites .................................................... 86
5.4.2 Equipment Used for Combination Test ......................................... 86
5.4.3 Checking Log Files of FCN-500, FCN-RTU .................................. 87
5.4.4 System Failure Test ....................................................................... 87
5.5 Checking CPU Load and Application Size ............................................. 92
5.5.1 Checking CPU Load...................................................................... 92
5.5.2 Checking Application Size ............................................................. 93