
Table of Contents
7.3.3.8.1 Editor Preferences .............................................. 7-33
7.3.3.8.2 Instruction Panel Preferences ............................. 7-35
7.3.3.8.3 Other Options .................................................... 7-35
7.3.3.9 CRBasic Editor Tools Menu ......................................... 7-36
7.3.3.9.1 Edit Instruction Categories ................................ 7-36
7.3.3.9.2 Constant Customization ..................................... 7-37
7.3.3.9.3 Other Options .................................................... 7-39
7.3.3.10 Available Help Information .......................................... 7-40
7.3.4 CRBasic Programming ............................................................ 7-40
7.3.4.1 Programming Sequence ................................................ 7-40
7.3.4.2 Program Declarations ................................................... 7-41
7.3.4.3 Mathematical Expressions ............................................ 7-42
7.3.4.4 Measurement and Output Processing Instructions ........ 7-42
7.3.4.5 Line Continuation ......................................................... 7-43
7.3.4.6 Inserting Comments Into Program ................................ 7-43
7.3.4.7 Example Program ......................................................... 7-44
7.3.4.8 Data Tables ................................................................... 7-44
7.3.4.9 The Scan — Measurement Timing and Processing ...... 7-46
7.3.4.10 Numerical Entries ......................................................... 7-47
7.3.4.11 Logical Expression Evaluation ..................................... 7-47
7.3.4.11.1 What is True? ..................................................... 7-47
7.3.4.11.2 Expression Evaluation ....................................... 7-48
7.3.4.11.3 Numeric Results of Expression Evaluation ....... 7-48
7.3.4.12 Flags ............................................................................. 7-49
7.3.4.13 Parameter Types ........................................................... 7-49
7.3.4.13.1 Expressions in Parameters ................................. 7-49
7.3.4.13.2 Arrays of Multipliers and Offsets for Sensor
Calibration ...................................................... 7-50
7.3.4.14 Program Access to Data Tables .................................... 7-50
7.4 Edlog .............................................................................................. 7-51
7.4.1 Overview ................................................................................. 7-51
7.4.1.1 Precompiler ................................................................... 7-51
7.4.1.2 Context-sensitive Help ................................................. 7-52
7.4.1.3 Programming Efficiency ............................................... 7-52
7.4.1.4 Input Location Labels ................................................... 7-52
7.4.1.5 Final Storage Label Editor ............................................ 7-52
7.4.1.6 Expression Compiler .................................................... 7-52
7.4.2 Creating a New Edlog Program .............................................. 7-53
7.4.2.1 Program Structure ......................................................... 7-54
7.4.2.2 Edlog File Types ........................................................... 7-55
7.4.2.3 Inserting Instructions into the Program ........................ 7-56
7.4.2.4 Entering Parameters for the Instructions ...................... 7-57
7.4.2.5 Program Comments ...................................................... 7-57
7.4.2.6 Expressions ................................................................... 7-58
7.4.2.7 Editing an Existing Program ......................................... 7-63
7.4.2.8 Editing Comments, Instructions, and Expressions ....... 7-65
7.4.2.9 Cut, Copy, Paste, and Clipboard Options ..................... 7-65
7.4.3 Library Files ............................................................................ 7-65
7.4.4 Documenting a DLD File ........................................................ 7-65
7.4.5 Display Options ....................................................................... 7-66
7.4.5.1 Graphical Toolbar ......................................................... 7-66
7.4.5.2 Renumbering the Instructions ....................................... 7-67
7.4.5.3 Compress VIEW ........................................................... 7-67
7.4.5.4 Indention ....................................................................... 7-67
7.4.6 Input Locations ....................................................................... 7-67
7.4.7 Entering Input Locations ......................................................... 7-68
vi
Komentarze do niniejszej Instrukcji