DDL Programmer’s Manual

  • View
    54

  • Download
    5

Embed Size (px)

DESCRIPTION

Johnson

Text of DDL Programmer’s Manual

  • DDL Programmers Manual

    Introduction................................................ 3 Preface ....................................................................3

    Before You Begin .................................................3 About this Manual ................................................3

    Overview .................................................................4 Workstation File ...................................................7 Global File ............................................................8 Model File.............................................................9 NC File .................................................................9 When DDL is Compiled......................................11

    Interaction with Other Tools...............................14 CAE ....................................................................14 GPL ....................................................................14 Online Generation and Upload ..........................14 JC-BASIC ...........................................................14

    Hardware Requirements .....................................15 Source File Development .......................... 3

    Overview .................................................................3 Syntax .....................................................................4

    File Keywords (Headers)......................................4 Comment Lines ....................................................5 Blank Lines...........................................................5 Main Keywords.....................................................5 Subkeywords........................................................8 Parameters...........................................................9 Optional Parameters ..........................................13 Conditional Parameters......................................13 Other Format Considerations.............................14

    Semantic Rules ....................................................16 Example ................................................................17

    Compiler ..................................................... 1 Overview .................................................................1

    How the DDL Compiler Works .............................2 Demand Limiting/Load Rolling Databases...........2 What the DDL Compiler Does Not Do .................2 Adding and Deleting Objects................................3

    Incremental vs. Full Compile ................................5 Full Compile .........................................................5 How a Full Compile Affects Demand Limiting/Load Rolling Databases ................................................5

    January Johnson Controls, Inc. 1

  • Incremental Compile ............................................6 Incremental Compile Considerations ...................6

    Error Handling........................................................7 Errors and Warnings ............................................7 Locating Errors and Warnings .............................7 Software-to-Software References........................8 Software-to-Hardware References ......................9 CS Object-to-Software Model References.........10 Feature-to-Object References ...........................10 Software-to-Feature References........................10 Duplicate Objects ...............................................10 Duplicate Addresses ..........................................10 Conditionals........................................................11 References Within Global Files..........................11

    BEFORE Executing the Compiler.......................12 Setting the FMSDOS Environment Variable ......12 Setting WIN.INI File Variables............................13 Make Sure All Directories Exist..........................15

    Executing the Compiler.......................................16 Database Output ................................................17 Screen Interaction ..............................................18 Compiler List File................................................19

    Downloading and Uploading ..............................19 Operator Workstation Disk Layout for DDL......22

    FMS System Software........................................22 Models Archive...................................................25 Database ............................................................25 FMS Archive Databases ....................................25 FMSDOS Environment Variable ........................25 Fixed METASYS\SB4W Directory......................26 WIN.INI File ........................................................28 FMSData Files....................................................30

    Reference ....................................................1 Description of File Tables .....................................1

    Column Headings.................................................1 Workstation Network/Port Configuration File Syntax .....................................................................4

    Workstation File @NET Keyword ........................4 Workstation File NET Keyword ............................5 Workstation File Port Keyword.............................7

    Global File Syntax..................................................8 Global File @GLOBAL Keyword..........................8 Global File DEFDES Keyword .............................9 Global File GRP (PC Group) Keyword...............10 Global File NC Keyword.....................................11 Global File PC Keyword .....................................14 Global File PTR Keyword...................................17 Global File RPT Keyword...................................19

    2 DDL Programmers Manual

  • Global File SYS Keyword...................................21 Model File Syntax.................................................22

    Model File @MODEL Keyword ..........................22 Model File CSMODEL Keyword.........................23

    NC File Syntax......................................................31 NC File @NC Keyword ......................................31 NC File ACM Keyword .......................................32 NC File AD Keyword ..........................................37 NC File AI Keyword............................................40 NC File AOD Keyword .......................................51 NC File AOS Keyword........................................53 NC File BD Keyword ..........................................58 NC File BI Keyword............................................61 NC File BO Keyword ..........................................67 NC File C210A Keyword ....................................73 NC File C260A Keyword ....................................75 NC File CARD Keyword .....................................77 NC File CS Keyword ..........................................79 NC File D600 Keyword.......................................81 NC File DCDR Keyword.....................................83 NC File DCM140 Keyword .................................85 NC File DCM Keyword .......................................86 NC File DELCARD Keyword..............................87 NC File DELETE Keyword .................................88 NC File DELSLAVE Keyword.............................89 NC File DELTZ Keyword....................................89 NC File DLLR Keyword ......................................90 NC File DSC Keyword........................................93 NC File DSC8500 Keyword................................94 NC File FIRE Keyword .......................................95 NC File FPU Keyword ........................................97 NC File JCB Keyword ........................................98 NC File LCD Keyword ........................................99 NC File LCG Keyword......................................100 NC File LON Keyword......................................104 NC File MC Keyword........................................106 NC File MSD Keyword .....................................110 NC File MSI Keyword.......................................114 NC File MSO Keyword .....................................120 NC File N2OPEN Keyword ..............................129 NC File PIDL Keyword .....................................130 NC File READER Keyword ..............................135 NC File SLAVE Keyword..................................138 NC File TIMEZONE Keyword..........................150 NC File XM Keyword........................................153 NC File ZONE Keyword ...................................155

    Decompiler ................................................. 1

    DDL Programmers Manual 3

  • Overview .................................................................1 Purpose ................................................................1 Input to the Decompiler ........................................1 Output From the Decompiler................................2 How the Decompiler Works..................................2

    Guidelines For Effective Operation......................3 Executing the Decompiler.....................................3

    Command Line .....................................................4 Overwriting Files...................................................5 Procedure.............................................................6 Screen Output ......................................................7 Error Notification...................................................8

    Where Decompiled Files Go .................................8 What Decompiled Files Look Like........................9

    Example Workstation Network/Port File ............10 Decompiler Summaries......................................11

    Error Handling...................................................

Recommended

View more >