3BDS100595R401
3BDS100595R401
User’s Guide
3BDS 100 595R401
Use of DANGER, WARNING, CAUTION, and NOTE
This publication includes, DANGER, WARNING, CAUTION, and NOTE information where appropriate to point out safety
related or other important information.
DANGER Hazards which could result in severe personal injury or death
WARNING Hazards which could result in personal injury
CAUTION Hazards which could result in equipment or property damage
NOTE Alerts user to pertinent facts and conditions
Although DANGER and WARNING hazards are related to personal injury, and CAUTION hazards are associated with
equipment or property damage, it should be understood that operation of damaged equipment could, under certain operational
conditions, result in degraded process performance leading to personal injury or death. Therefore, comply fully with all
DANGER, WARNING, and CAUTION notices.
TRADEMARKS
ABB Master and MasterPiece are registered trademarks of ABB Asea Brown Boveri Ltd. Switzerland.
Advant, AdvaBuild, AdvaCommand, and AdvaInform are registered trademarks of ABB Asea Brown Boveri Ltd.
Switzerland.
AdvaSoft, Advant Station, AdvaBuild On-line Builder, Advant Controller, and Advant Fieldbus are trademarks of
ABB Asea Brown Boveri Ltd. Switzerland.
IndustrialIT, ControlIT, EngineerIT, OperateIT, and Aspect Object are trademarks of ABB Ltd., Switzerland.
Adobe and Acrobat are trademarks of Adobe Systems Incorporated.
IBM and IBM PC are registered trademarks of International Business Machines Corporation.
Microsoft, MS-DOS, Windows, Windows NT and Windows 2000 are registered trademarks of Microsoft Corporation.
NOTICE
The information in this document is subject to change without notice and should not be construed as a commitment by ABB
Automation Products GmbH. ABB Automation Products GmbH assumes no responsibility for any errors that may appear in this
document.
In no event shall ABB Automation Products GmbH be liable for direct, indirect, special, incidental or consequential damages of
any nature or kind arising from the use of this document, nor shall ABB Automation Products GmbH be liable for incidental or
consequential damages arising from use of any software or hardware described in this document.
This document and parts thereof must not be reproduced or copied without ABB Automation Products GmbH’s written
permission, and the contents thereof must not be imparted to a third party nor be used for any unauthorized purpose.
The software described in this document is furnished under a license and may be used, copied, or disclosed only in accordance
with the terms of such license.
Template: 3BSE001286/E
TABLE OF CONTENTS
Chapter 1 - Introduction
1.1 General Information................................................................................................. 1-1
1.2 Equipment Requirements......................................................................................... 1-1
1.3 Manual Organization ............................................................................................... 1-2
1.4 Conventions ............................................................................................................. 1-4
1.4.1 General.................................................................................................... 1-4
1.4.2 Keys ........................................................................................................ 1-4
1.4.3 Commands and Menus............................................................................ 1-4
1.5 Related Documentation............................................................................................ 1-5
1.6 Release History ........................................................................................................ 1-8
1.7 Terminology........................................................................................................... 1-10
1.8 Product Overview .................................................................................................. 1-12
1.9 User Interface......................................................................................................... 1-13
Chapter 2 - Installation
2.1 Site Planning Environment ...................................................................................... 2-1
2.2 Setup ........................................................................................................................ 2-1
2.2.1 Software Installation ............................................................................... 2-1
2.2.2 Compatibility of Software and Source Code .......................................... 2-1
2.2.3 Support of Additional Node Types and Options..................................... 2-2
2.3 Shut-down and Start-up Procedures ........................................................................ 2-2
2.4 Product Verification ................................................................................................. 2-2
CONTENTS (continued)
4.3.1 Preparations in the Application Builder .................................................. 4-4
4.3.2 Starting the Function Chart Builder ........................................................ 4-5
4.3.3 Using Commands and Help .................................................................... 4-7
4.3.4 Creating the PC Section and a PC Program ............................................ 4-9
4.3.5 Adding PC Elements to PC Program .................................................... 4-11
4.3.6 Inspecting the Function Chart and the Tree Diagram ........................... 4-14
4.3.7 Creating the DB Section and DB Elements .......................................... 4-16
4.3.8 Editing DB Terminal Values ................................................................. 4-18
4.3.9 Deleting DB Elements........................................................................... 4-19
4.3.10 Saving Your Work ................................................................................. 4-19
4.3.11 Working with Type Circuits .................................................................. 4-19
4.3.12 How to Create Type Circuits................................................................. 4-20
4.3.13 Declaring Symbols ................................................................................ 4-20
4.3.14 Using Symbols ...................................................................................... 4-22
4.3.15 Defining Type Circuit Terminals........................................................... 4-23
4.3.16 Connecting PC Terminals ..................................................................... 4-25
4.3.17 Generating Source Code ....................................................................... 4-27
4.3.18 Instantiating a Type Circuit .................................................................. 4-28
4.3.19 Completing the Application Program ................................................... 4-30
4.3.20 Preparing Documentation...................................................................... 4-31
4.3.21 Printing Documentation ........................................................................ 4-33
4.3.22 Working with Node Structures and Circuits ......................................... 4-35
4.3.23 How to Structure Your Application ...................................................... 4-35
4.3.24 Preparing Type Circuits......................................................................... 4-37
4.3.25 Preparing Circuits.................................................................................. 4-38
4.3.26 Completing Node Structure by Circuits................................................ 4-40
4.3.27 Expanding Node Data and Producing Source Code ............................. 4-42
4.3.28 Working On-line with an Application ................................................... 4-43
4.3.29 Preparing an Advant Controller 100 Series Application Off-line......... 4-44
4.3.30 Generating Target Code ........................................................................ 4-45
4.3.31 Preparing the Connection ...................................................................... 4-46
4.3.32 Connecting to the Target ....................................................................... 4-47
4.3.33 Synchronizing the Target ...................................................................... 4-49
4.3.34 Downloading the Target Code............................................................... 4-50
4.3.35 Deblocking/Blocking User Application Program ................................. 4-52
4.3.36 Saving Application in Target................................................................. 4-53
4.3.37 Using the Diagnostics (Diagnosis) Program ......................................... 4-55
4.3.38 About On-line Test Functions ............................................................... 4-57
CONTENTS (continued)
4.3.39 Preparing PC Terminals for Display ..................................................... 4-58
4.3.40 Displaying PC Terminal Values On-line............................................... 4-61
4.3.41 Preparing PC Terminals for Forcing ..................................................... 4-65
4.3.42 Forcing PC Terminals On-line.............................................................. 4-67
4.3.43 Preparing DB Terminals for Display .................................................... 4-70
4.3.44 Displaying DB Terminal Values On-line .............................................. 4-72
4.3.45 About Forcing DB Terminals ............................................................... 4-72
4.3.46 About Setting DB Terminal Values ...................................................... 4-73
4.3.47 About On-line Configuration and Programming .................................. 4-74
4.3.48 On-line Editing of PC Program ............................................................ 4-75
4.3.49 On-line Editing of Data Base................................................................ 4-77
4.4 Operating Instructions............................................................................................ 4-81
4.4.1 Basic Procedures................................................................................... 4-81
4.4.1.1 Handling Windows and Navigating ............................... 4-81
4.4.1.2 How to Use the Mouse................................................... 4-82
4.4.1.3 Using the Keyboard Instead of the Mouse..................... 4-86
4.4.2 Preparatory Procedures ......................................................................... 4-89
4.4.2.1 Node or Node Structure?................................................ 4-89
4.4.2.2 Considering Use of Circuits ........................................... 4-90
4.4.2.3 Considering Use of Type Circuits .................................. 4-90
4.4.2.4 Create an Object............................................................. 4-91
4.4.2.5 Start-up of Function Chart Builder ................................ 4-92
4.4.2.6 Password Protection of Nodes, TCs, CIs ....................... 4-94
4.4.2.7 Element Library Handling ............................................. 4-98
4.4.2.8 Initialize an Object ....................................................... 4-101
4.4.2.9 Support of Display Adapters and Printers.................... 4-101
4.4.2.10 Specifying Document Layout ...................................... 4-101
4.4.2.11 Creation of Own Templates ......................................... 4-103
4.4.2.12 Remove an Object ........................................................ 4-105
4.4.2.13 Regenerate an Object ................................................... 4-105
4.4.2.14 Start-up of Diagnostics................................................. 4-106
4.4.2.15 Ending Function Chart Builder and Diagnostics ......... 4-106
4.4.3 Object-specific Programming Procedures .......................................... 4-107
4.4.3.1 Edit a Node................................................................... 4-107
4.4.3.2 Prepare a Type Circuit.................................................. 4-107
4.4.3.3 Edit a Type Circuit ....................................................... 4-109
4.4.3.4 Instantiate a Type Circuit ............................................. 4-109
4.4.3.5 Type Circuits for AC 100 Series Nodes........................4-111
CONTENTS (continued)
4.4.3.6 Prepare a Circuit ........................................................... 4-113
4.4.3.7 Edit a Circuit ................................................................ 4-114
4.4.3.8 Locate a Circuit ............................................................ 4-114
4.4.3.9 Edit a Node Structure ................................................... 4-116
4.4.3.10 Expand Node Data........................................................ 4-117
4.4.3.11 Update Type Circuit Instances and Located Circuits ... 4-117
4.4.4 Section-specific Programming Procedures ......................................... 4-118
4.4.4.1 Choice of Sections........................................................ 4-118
4.4.4.2 Insert PC Elements ....................................................... 4-119
4.4.4.3 Change the Order of PC Elements................................ 4-120
4.4.4.4 Connect Terminals by Editing the Connection
Definition...................................................................... 4-121
4.4.4.5 Connect Terminals by Dedicated Commands .............. 4-123
4.4.4.6 Connect Terminals by Mouse....................................... 4-124
4.4.4.7 Disconnect a Terminal.................................................. 4-126
4.4.4.8 Delete PC Elements...................................................... 4-126
4.4.4.9 Multiple Selection of PC Elements .............................. 4-127
4.4.4.10 Cut, Copy, and Paste in the PC Section........................ 4-131
4.4.4.11 Create/Edit/Delete a Name ........................................... 4-133
4.4.4.12 Create/Edit/Delete a DB Element................................. 4-135
4.4.4.13 Create/Edit/Delete a Symbol ........................................ 4-136
4.4.4.14 Create/Edit/Delete a TC/CI Terminal........................... 4-137
4.4.4.15 Print Out Documentation.............................................. 4-138
4.4.5 Procedures Concerning Source Code.................................................. 4-140
4.4.5.1 Generate Source Code .................................................. 4-140
4.4.5.2 Backtranslate Source Code to Internal Representation 4-140
4.4.5.3 Source Code Transfer to/from AC 400 Series.............. 4-141
4.4.5.4 Validation of PC Source Code...................................... 4-142
4.4.6 On-line Programming Procedures....................................................... 4-143
4.4.6.1 About On-line and Off-line Modes .............................. 4-143
4.4.6.2 Preparation of Target Code........................................... 4-147
4.4.6.3 About Target Connection.............................................. 4-150
4.4.6.4 Connect the Engineering Station to an
AC 100 Series Target.................................................... 4-151
4.4.6.5 Types of Routing, Diagrams......................................... 4-153
4.4.6.6 Routing Possibilities Depending on Node Type........... 4-161
4.4.6.7 Target Access Protection .............................................. 4-163
4.4.6.8 Load Application to an AC 100 Series Target.............. 4-166
CONTENTS (continued)
4.4.6.9 Display (Monitor) PC Terminals in
AC 100 Series Target ................................................... 4-167
4.4.6.10 Force PC Terminals in AC 100 Series Target .............. 4-169
4.4.6.11 Display and Force DB Terminals in
AC 100 Series Target ................................................... 4-171
4.4.6.12 Set DB Terminals in AC 100 Series Target.................. 4-174
4.4.6.13 Edit an AC 100 Series Application On-line................. 4-175
4.4.6.14 Upload Parameter from an AC 100 Series Target........ 4-176
4.4.6.15 Retrieve Application from an AC 100 Series Target ... 4-178
4.4.7 Diagnostic Procedures ........................................................................ 4-181
4.4.7.1 Diagnostic Procedures with the Diagnostics Program . 4-181
4.4.7.2 Diagnostic Procedures with the Diagnosis Program.... 4-186
4.4.8 Rules and Conventions ....................................................................... 4-192
4.4.8.1 Connection Rules ......................................................... 4-192
4.4.8.2 On-line Editing Rules................................................... 4-193
4.4.8.3 Use of Names ............................................................... 4-193
4.4.8.4 About Symbols............................................................. 4-195
4.4.8.5 Use of Symbols ............................................................ 4-197
4.4.8.6 Evaluation of Symbols ................................................. 4-199
4.4.8.7 Values of Symbols........................................................ 4-202
4.4.8.8 Examples of Symbol Usage ......................................... 4-204
4.4.8.9 Use of TC/CI Terminals ............................................... 4-205
4.4.8.10 Page Division Rules ..................................................... 4-206
4.5 Runtime Operation Menus................................................................................... 4-208
4.5.1 Controls in Title Bar, Toolbar and Status Bar..................................... 4-208
4.5.1.1 Controls in Title Bar..................................................... 4-208
4.5.1.2 Controls in Toolbar ...................................................... 4-209
4.5.1.3 Indicators in Status Bar .................................................4-211
4.5.2 Controls in Document Windows......................................................... 4-212
4.5.2.1 *.ODB Window............................................................ 4-212
4.5.2.2 PC Section Window ..................................................... 4-213
4.5.2.3 DB Section Window..................................................... 4-217
4.5.2.4 Symbol Section Window.............................................. 4-220
4.5.2.5 TC/CI Terminal Section Window ................................ 4-222
4.5.2.6 Output Window ............................................................ 4-223
4.5.2.7 Name Table Window.................................................... 4-224
4.5.2.8 Test Table Window....................................................... 4-227
4.5.2.9 Status Report Window ................................................. 4-239
4.5.2.10 Options Report Window............................................... 4-241
CONTENTS (continued)
4.5.2.11 Diagnostics, Error Report Window .............................. 4-242
4.5.3 On Menu Commands, General............................................................ 4-243
4.5.4 File Menu ............................................................................................ 4-244
4.5.4.1 File | Initialize............................................................... 4-244
4.5.4.2 File | Rebuild Element Types........................................ 4-244
4.5.4.3 File | New Section > ..................................................... 4-245
4.5.4.4 File | Open Section > .................................................... 4-246
4.5.4.5 File | Delete Section > .................................................. 4-247
4.5.4.6 File | On-line Mode ...................................................... 4-248
4.5.4.7 File | On-line Preparation Mode ................................... 4-248
4.5.4.8 File | Save ..................................................................... 4-249
4.5.4.9 File | Save and Load ..................................................... 4-249
4.5.4.10 File | Skip Modifications .............................................. 4-249
4.5.4.11 File | Set Password….................................................... 4-250
4.5.4.12 File | Generate Target Code… ...................................... 4-252
4.5.4.13 File | Generate Target Code (External)......................... 4-255
4.5.4.14 File | Generate BCD Data............................................. 4-256
4.5.4.15 File | Generate Source… .............................................. 4-257
4.5.4.16 File | Expand Node Structure ....................................... 4-267
4.5.4.17 File | Check PC Source…............................................. 4-268
4.5.4.18 File | Backtranslate Source… ....................................... 4-269
4.5.4.19 File | Backtranslate Target Code................................... 4-277
4.5.4.20 File | Export DB Section............................................... 4-279
4.5.4.21 File | Import DB Section............................................... 4-280
4.5.4.22 File | Print… ................................................................. 4-281
4.5.4.23 File | Print Setup… ....................................................... 4-295
4.5.4.24 File | Page Setup… ....................................................... 4-296
4.5.4.25 File | Exit ...................................................................... 4-297
4.5.5 Edit Menu............................................................................................ 4-299
4.5.5.1 Edit | Undo.................................................................... 4-299
4.5.5.2 Edit | Redo .................................................................... 4-299
4.5.5.3 Edit | Create… .............................................................. 4-299
4.5.5.4 Edit | Cut....................................................................... 4-311
4.5.5.5 Edit | Copy .................................................................... 4-311
4.5.5.6 Edit | Paste… ................................................................ 4-311
4.5.5.7 Edit | Delete .................................................................. 4-318
4.5.5.8 Edit | Find… ................................................................. 4-319
4.5.5.9 Edit | Process Conflicts................................................. 4-320
CONTENTS (continued)
4.5.5.10 Edit | Call Parameters…............................................... 4-321
4.5.5.11 Edit | Name ….............................................................. 4-322
4.5.5.12 Edit | Delete Name ....................................................... 4-323
4.5.5.13 Edit | DB Terminal Values…........................................ 4-323
4.5.5.14 Edit | Symbol…............................................................ 4-326
4.5.5.15 Edit | Symbol Values… ................................................ 4-328
4.5.5.16 Edit | TC/CI Terminal…............................................... 4-331
4.5.5.17 Edit | Upload… ............................................................ 4-332
4.5.5.18 Edit | Document Texts… .............................................. 4-335
4.5.6 View Menu.......................................................................................... 4-335
4.5.6.1 View | Function Chart .................................................. 4-335
4.5.6.2 View | Tree - All Elements ........................................... 4-336
4.5.6.3 View | Tree - Structure Elements ................................. 4-336
4.5.6.4 View | Tree - Top of Page Elements............................. 4-336
4.5.6.5 View | PC Pane | Next .................................................. 4-337
4.5.6.6 View | PC Pane | Previous ............................................ 4-337
4.5.6.7 View | PC Pane | Split Horizontally ............................. 4-337
4.5.6.8 View | PC Pane | Split Vertically .................................. 4-337
4.5.6.9 View | Zoom… ............................................................. 4-337
4.5.6.10 View | Prepared Variables ............................................ 4-337
4.5.6.11 View | Item Designations ............................................. 4-338
4.5.6.12 View | Phys. Addresses ................................................ 4-338
4.5.6.13 View | PARDAT Unit and Init Value............................ 4-338
4.5.6.14 View | Cross Reference ................................................ 4-339
4.5.6.15 View | Cross Ref. of sel. DB Elem............................... 4-341
4.5.6.16 View | Cross Ref. of sel. PC Elem ............................... 4-341
4.5.6.17 View | Sort by Name .................................................... 4-342
4.5.6.18 View | Sort by Number................................................. 4-342
4.5.6.19 View | Sort by Item Designation .................................. 4-342
4.5.6.20 View | Hide System DB Elements ............................... 4-342
4.5.6.21 View | Toolbar .............................................................. 4-342
4.5.6.22 View | Status Bar .......................................................... 4-342
4.5.7 Options Menu ..................................................................................... 4-343
4.5.7.1 Options | Preferences…................................................ 4-343
4.5.7.2 Options | Workspace…................................................. 4-348
4.5.7.3 Options | Cycle Times… .............................................. 4-350
4.5.7.4 Options | Language > ................................................... 4-352
4.5.8 PC-Section Menu................................................................................ 4-352
CONTENTS (continued)
4.5.8.1 PC-Section | Goto Element > ....................................... 4-352
4.5.8.2 PC-Section | Goto Page > ............................................. 4-354
4.5.8.3 PC-Section | Select… ................................................... 4-355
4.5.8.4 PC-Section | Execution Order > ................................... 4-356
4.5.8.5 PC-Section | Modify Item Destination… ..................... 4-356
4.5.8.6 PC-Section | Renumber Lower Level........................... 4-357
4.5.8.7 PC-Section | Renumber … ........................................... 4-357
4.5.8.8 PC-Section | Computing Time > .................................. 4-358
4.5.8.9 PC-Section | Memory Calculation>.............................. 4-362
4.5.8.10 PC-Section | Page Layout >.......................................... 4-364
4.5.9 PC-Terminal Menu.............................................................................. 4-373
4.5.9.1 PC-Terminal | Goto > ................................................... 4-373
4.5.9.2 PC-Terminal | Mark ...................................................... 4-374
4.5.9.3 PC-Terminal | Unmark.................................................. 4-374
4.5.9.4 PC-Terminal | Connect… (common)............................ 4-374
4.5.9.5 PC-Terminal | Connect Selected >................................ 4-377
4.5.9.6 PC-Terminal | Virtual Connections…........................... 4-381
4.5.9.7 PC-Terminal | Disconnect…......................................... 4-382
4.5.9.8 PC-Terminal | Unit > .................................................... 4-383
4.5.9.9 PC-Terminal | Select for Display >............................... 4-385
4.5.9.10 PC-Terminal | Force Value > ........................................ 4-385
4.5.9.11 PC-Terminal | Invert ..................................................... 4-387
4.5.9.12 PC-Terminal | Insert...................................................... 4-387
4.5.9.13 PC-Terminal | Delete .................................................... 4-387
4.5.10 Target Menu ........................................................................................ 4-388
4.5.10.1 Target | Connect…........................................................ 4-388
4.5.10.2 Target | Disconnect ....................................................... 4-391
4.5.10.3 Target | Deblock Program............................................. 4-391
4.5.10.4 Target | Block Program................................................. 4-391
4.5.10.5 Target | Load Application ............................................. 4-391
4.5.10.6 Target | Upload Application ......................................... 4-392
4.5.10.7 Target | Save in PROM ................................................. 4-392
4.5.10.8 Target | Update Slave.................................................... 4-393
4.5.10.9 Target | Clear PROM .................................................... 4-393
4.5.10.10 Target | Restart.............................................................. 4-393
4.5.10.11 Target | Set Date and Time… ....................................... 4-394
4.5.10.12 Target | Set Password…................................................ 4-395
4.5.10.13 Target | Application Checksum… ................................ 4-396
CONTENTS (continued)
4.5.10.14 Target | Report Status ................................................... 4-397
4.5.10.15 Target | Report Options ................................................ 4-397
4.5.10.16 Target | Report Attributes ............................................. 4-397
4.5.10.17 Target | Diagnostics ...................................................... 4-397
4.5.11 Test Menu ........................................................................................... 4-398
4.5.11.1 Test | Single Display..................................................... 4-398
4.5.11.2 Test | Cyclic Display .................................................... 4-398
4.5.11.3 Test | Stop Display........................................................ 4-399
4.5.11.4 Test | Set Cycletime….................................................. 4-399
4.5.11.5 Test | Set Trigger… ...................................................... 4-400
4.5.11.6 Test | Activate Force Values ......................................... 4-401
4.5.11.7 Test | Deactivate Force Values ..................................... 4-402
4.5.11.8 Test | Activate All Force Values................................... 4-403
4.5.11.9 Test | Deactivate All Force Values ............................... 4-404
4.5.11.10 Test | Upload DB Force List......................................... 4-404
4.5.11.11 Test | Set DB Value…................................................... 4-404
4.5.11.12 Test | Import (Test Values) … ...................................... 4-405
4.5.11.13 Test | Export (Test Values) … ...................................... 4-407
4.5.12 Window Menu .................................................................................... 4-408
4.5.12.1 Window | New Window ............................................... 4-408
4.5.12.2 Window | Cascade ........................................................ 4-408
4.5.12.3 Window | Tile Horizontally.......................................... 4-408
4.5.12.4 Window | Tile Vertically .............................................. 4-408
4.5.12.5 Window | Arrange Icons............................................... 4-408
4.5.12.6 Window | Resize........................................................... 4-408
4.5.12.7 Window | Slide ............................................................. 4-409
4.5.12.8 Window | Close… ........................................................ 4-409
4.5.12.9 Window | Close All ...................................................... 4-410
4.5.12.10 Window | *.ODB.......................................................... 4-410
4.5.12.11 Window | Output .......................................................... 4-410
4.5.12.12 Window | Name Table.................................................. 4-410
4.5.12.13 Window | Test Table..................................................... 4-410
4.5.12.14 Window | 1, 2, … (Activate Section Windows) ........... 4-410
4.5.13 Help Menu ...........................................................................................4-411
4.5.13.1 Help | Contents ..............................................................4-411
4.5.13.2 Help | On Context..........................................................4-411
4.5.13.3 Help | How to Use Help ................................................4-411
4.5.13.4 Help | On Node…..........................................................4-411
CONTENTS (continued)
4.5.13.5 Help | DB Element Reference ...................................... 4-412
4.5.13.6 Help | PC Element Reference ....................................... 4-412
4.5.13.7 Help | Other Reference ................................................. 4-412
4.5.13.8 Help | Release Notes..................................................... 4-413
4.5.13.9 Help | About Function Chart Builder… ....................... 4-413
4.5.14 Controls of Diagnostics....................................................................... 4-414
4.5.14.1 Controls in Title Bar of Diagnostics............................. 4-414
4.5.14.2 Controls in Toolbar of Diagnostics............................... 4-414
4.5.14.3 Indicators in Status Bar of Diagnostics ........................ 4-415
4.5.15 Controls in Document Windows of Diagnostics................................. 4-416
4.5.15.1 Error Report Window ................................................... 4-416
4.5.15.2 Module List Window.................................................... 4-418
4.5.15.3 Module Diagnostics Window ....................................... 4-419
4.5.16 Menu Commands of Diagnostics ........................................................ 4-421
4.5.17 File Menu of Diagnostics .................................................................... 4-421
4.5.17.1 File | Save As................................................................ 4-421
4.5.17.2 File | Log....................................................................... 4-423
4.5.17.3 File | Logfile Setup ....................................................... 4-423
4.5.17.4 File | Print ..................................................................... 4-424
4.5.17.5 File | Print Setup ........................................................... 4-426
4.5.17.6 File | Exit ...................................................................... 4-427
4.5.18 View Menu of Diagnostics.................................................................. 4-427
4.5.18.1 View | Toolbar .............................................................. 4-427
4.5.18.2 View | Status Bar .......................................................... 4-427
4.5.19 Target Menu of Diagnostics ................................................................ 4-428
4.5.19.1 Target | Report Errors ................................................... 4-428
4.5.19.2 Target | List Modules .................................................... 4-428
4.5.19.3 Target | Diagnose Module............................................. 4-428
4.5.19.4 Target | Delete Reported Errors * ................................. 4-429
4.5.20 Window Menu of Diagnostics............................................................. 4-429
4.5.20.1 Window | Cascade ........................................................ 4-430
4.5.20.2 Window | Tile Horizontally .......................................... 4-430
4.5.20.3 Window | Tile Vertically............................................... 4-430
4.5.20.4 Window | Arrange Icons............................................... 4-430
4.5.20.5 Window | Resize ........................................................... 4-430
4.5.20.6 Window | 1, 2, … (Activate Diagnostics Windows) .... 4-430
4.5.21 Help Menu of Diagnostics .................................................................. 4-430
4.5.21.1 Help | Contents ............................................................. 4-430
CONTENTS (continued)
4.5.21.2 Help | On Context......................................................... 4-431
4.5.21.3 Help | How to Use Help ............................................... 4-431
4.5.21.4 Help | About Diagnostics ............................................. 4-431
4.5.22 Controls of Diagnosis ......................................................................... 4-431
4.5.22.1 Controls in Title Bar of Diagnosis ............................... 4-432
4.5.22.2 Controls in Toolbar of Diagnosis ................................. 4-432
4.5.22.3 Indicators in Status Bar of Diagnosis........................... 4-433
4.5.23 Controls in Document Windows of Diagnosis ................................... 4-434
4.5.23.1 Status Report Window of Diagnosis ............................ 4-434
4.5.23.2 Error Report Window................................................... 4-436
4.5.23.3 Module List Window ................................................... 4-438
4.5.23.4 Module Diagnosis Window.......................................... 4-440
4.5.23.5 Channel Diagnosis Window......................................... 4-444
4.5.23.6 Output Window of Diagnosis....................................... 4-447
4.5.24 Menu Commands of Diagnosis........................................................... 4-447
4.5.25 File Menu of Diagnosis....................................................................... 4-447
4.5.25.1 File | Save As ............................................................... 4-447
4.5.25.2 File | Log ...................................................................... 4-449
4.5.25.3 File | Logfile Setup....................................................... 4-449
4.5.25.4 File | Print..................................................................... 4-450
4.5.25.5 File | Print Setup........................................................... 4-451
4.5.25.6 File | Exit ...................................................................... 4-452
4.5.26 Edit Menu of Diagnosis ...................................................................... 4-453
4.5.26.1 Edit | Copy.................................................................... 4-453
4.5.27 View Menu of Diagnosis .................................................................... 4-453
4.5.27.1 View | Status Report..................................................... 4-453
4.5.27.2 View | Error Report ...................................................... 4-453
4.5.27.3 View | Module List....................................................... 4-453
4.5.27.4 View | Module Diagnosis ............................................. 4-453
4.5.27.5 View | Channel Diagnosis ............................................ 4-455
4.5.27.6 View | Toolbar .............................................................. 4-457
4.5.27.7 View | Status Bar .......................................................... 4-457
4.5.28 Target Menu of Diagnosis................................................................... 4-458
4.5.28.1 Target | Delete Reported Errors *................................. 4-458
4.5.28.2 Target | Delete All Reported Errors.............................. 4-458
4.5.29 Window Menu of Diagnosis ............................................................... 4-459
4.5.29.1 Window | Cascade ........................................................ 4-459
4.5.29.2 Window | Tile Horizontally.......................................... 4-459
CONTENTS (continued)
4.5.29.3 Window | Tile Vertically............................................... 4-459
4.5.29.4 Window | Arrange Icons............................................... 4-459
4.5.29.5 Window | Resize ........................................................... 4-460
4.5.29.6 Window | Close All Diagnosis ..................................... 4-460
4.5.30 Help Menu of Diagnosis ..................................................................... 4-460
4.5.30.1 Help | Contents ............................................................. 4-460
4.5.30.2 Help | On Context......................................................... 4-460
4.5.30.3 Help | How to Use Help................................................ 4-460
4.5.30.4 Help | About Diagnosis ................................................ 4-460
Chapter 5 - Maintenance
5.1 Preventive Maintenance ........................................................................................... 5-1
5.2 Error Messages......................................................................................................... 5-1
5.3 Fault Finding and User Repair ................................................................................. 5-1
5.3.1 Reporting Problems................................................................................. 5-1
5.3.2 What to Do at Program Halts .................................................................. 5-3
CONTENTS (continued)
D.1.2 Conventions ............................................................................................D-1
D.1.3 Implementation .......................................................................................D-3
D.1.4 Release History .......................................................................................D-4
D.2 Syntax of TC Source Code ......................................................................................D-5
D.2.1 Lexical Part .............................................................................................D-5
D.2.1.1 Simple Character Sets ......................................................D-5
D.2.1.2 Compound Character Sets................................................D-5
D.2.1.3 Tokens ..............................................................................D-6
D.2.1.4 Keywords .........................................................................D-6
D.2.1.5 Comments ........................................................................D-6
D.2.1.6 Specials ............................................................................D-6
D.2.2 Syntactical Part (TCS File) .....................................................................D-7
D.2.3 On TC Source Code Syntax..................................................................D-13
D.2.3.1 On Variants.....................................................................D-13
D.2.3.2 Placement of Variants.....................................................D-14
D.2.3.3 On Loops........................................................................D-14
D.2.3.4 Placement of Loops........................................................D-14
D.2.3.5 Symbols in Symbol Section of *.TCS and Their Scope D-15
D.2.3.6 On Nested Symbolic Expressions ..................................D-15
D.2.3.7 On Formulas...................................................................D-15
D.3 Syntax of CI Source Code .....................................................................................D-16
D.3.1 Lexical Part ...........................................................................................D-16
D.3.1.1 Simple Character Sets ....................................................D-16
D.3.1.2 Compound Character Sets..............................................D-17
D.3.1.3 Tokens ............................................................................D-17
D.3.1.4 Keywords .......................................................................D-17
D.3.1.5 Comments ......................................................................D-18
D.3.1.6 Specials ..........................................................................D-18
D.3.2 Syntactical Part (CIS File) ....................................................................D-18
D.3.3 On CI Source Code Syntax...................................................................D-23
D.3.3.1 Variants and Loops.........................................................D-23
D.3.3.2 Symbols in Symbol Section of *.CIS and Their Scope .D-24
D.3.3.3 On Nested Symbolic Expressions ..................................D-25
D.3.3.4 On Formulas...................................................................D-25
D.3.3.5 TCs Instantiated in CI ....................................................D-25
D.4 Syntax of NS Source Code ....................................................................................D-26
D.4.1 Lexical Part ...........................................................................................D-26
D.4.1.1 Simple Character Sets ....................................................D-26
CONTENTS (continued)
D.4.1.2 Compound Character Sets ............................................. D-27
D.4.1.3 Tokens............................................................................ D-27
D.4.1.4 Keywords....................................................................... D-27
D.4.1.5 Comments...................................................................... D-28
D.4.1.6 Specials.......................................................................... D-28
D.4.2 Syntactical Part (NSS File) .................................................................. D-28
D.4.3 On NS Source Code Syntax ................................................................. D-33
D.4.3.1 Variants and Loops ........................................................ D-33
D.4.3.2 Symbols in Symbol Section of *.NSS and Their Scope D-33
D.4.3.3 On Nested Symbolic Expressions ................................. D-33
D.4.3.4 On Formulas .................................................................. D-33
D.4.3.5 TCs Instantiated in NS .................................................. D-34
D.4.3.6 CIs Located in NS ......................................................... D-35
Appendix H - Glossary
ILLUSTRATIONS
Figure 1-1. Documentation Structure Chart of the Function Chart Builder.................... 1-2
Figure 3-1. Assigning Circuits to Process Devices ......................................................... 3-1
Figure 3-2. Referencing Type Circuits ........................................................................... 3-2
Figure 3-3. Locating Circuits in Node Structures ........................................................... 3-3
Figure 3-4. Resolving References and Expanding Node Data........................................ 3-4
Figure 3-5. Warning on Missing Initialization Data ....................................................... 3-6
Figure 3-6. Application Window, Initial State ................................................................ 3-7
Figure 3-7. Page Setup .................................................................................................... 3-7
Figure 4-1. FCB General Data Flow ............................................................................... 4-2
Figure 4-2. Function Chart Builder Window Opened ..................................................... 4-5
Figure 4-3. Initial Page Setup Dialog Box ...................................................................... 4-6
Figure 4-4. TT_10_PW.ODB Initialized......................................................................... 4-6
Figure 4-5. Help Topics Window .................................................................................... 4-7
Figure 4-6. Help Information on a Command................................................................. 4-8
Figure 4-7. Defining PC1 as New PC Program .............................................................. 4-9
Figure 4-8. Creating PCPGM........................................................................................ 4-10
Figure 4-9. Tree Diagram and Function Chart of PC1...................................................4-11
Figure 4-10. Setting Call Parameters of CONTRM........................................................ 4-12
Figure 4-11. CONTRM with Call Parameters ................................................................ 4-13
Figure 4-12. Inserting New Page Division...................................................................... 4-14
Figure 4-13. Modifying Headline of Page 3 ................................................................... 4-15
Figure 4-14. Tree Diagram of PC1, Full Structure.......................................................... 4-15
Figure 4-15. Opening the DB Section Window .............................................................. 4-16
Figure 4-16. Creating DI* ............................................................................................... 4-17
Figure 4-17. Editing DB Terminal Values of DI2.4 ........................................................ 4-18
Figure 4-18. Creating Symbol <CH_NR> ...................................................................... 4-21
Figure 4-19. Symbol Section of TC_10_T1.................................................................... 4-21
Figure 4-20. Creating DI<MOD_NR>.<CH_NR> ......................................................... 4-22
Figure 4-21. Creating a Type Circuit Input Terminal...................................................... 4-23
Figure 4-22. Creating a Type Circuit Output Terminal ................................................... 4-24
Figure 4-23. TC/CI Terminal Section Window............................................................... 4-24
Figure 4-24. Connecting to a Constant............................................................................ 4-25
Figure 4-25. Pane with Function Chart of TC_10_T1 .................................................... 4-26
Figure 4-26. Generate TC Source Code Dialog Box ...................................................... 4-27
Figure 4-27. Output During Code Generation of TC_10_T1.......................................... 4-27
Figure 4-28. Inserting TC_10_T1 ................................................................................... 4-28
Figure 4-29. Edit Symbol Values of TC_10_T1 ............................................................. 4-29
Figure 4-30. Pane with Function Chart of PC1 of TT_10_PW, Final Stage................... 4-30
ILLUSTRATIONS (continued)
Figure 4-31. Generating Source Code of TT_10_PW..................................................... 4-31
Figure 4-32. A Document Page ....................................................................................... 4-32
Figure 4-33. Editing the Footer for Documents of PC1 .................................................. 4-33
Figure 4-34. Print Dialog Box ......................................................................................... 4-34
Figure 4-35. Print PC Section Dialog Box ...................................................................... 4-34
Figure 4-36. Structure of the Node WATER.................................................................... 4-36
Figure 4-37. Type Circuit PUSHB .................................................................................. 4-36
Figure 4-38. Value Substitution via <DIMODULE> and <DI_NR> .............................. 4-39
Figure 4-39. PC Diagram, Draft ...................................................................................... 4-43
Figure 4-40. Generate Target Code Dialog Box .............................................................. 4-45
Figure 4-41. Changes in Sections, Warning .................................................................... 4-45
Figure 4-42. Output Window in Foreground ................................................................... 4-46
Figure 4-43. Connect Target Dialog Box ........................................................................ 4-47
Figure 4-44. Target Not Reached, Warning..................................................................... 4-48
Figure 4-45. Status Report After Target | Connect .......................................................... 4-48
Figure 4-46. Options Report............................................................................................ 4-49
Figure 4-47. Set Date and Time Dialog Box, Phase 1..................................................... 4-49
Figure 4-48. Set Date and Time Dialog Box, Phase 2..................................................... 4-50
Figure 4-49. Confirm Start Download............................................................................. 4-50
Figure 4-50. Confirm Switching Directly to On-line Mode............................................ 4-51
Figure 4-51. Warning at Switching to On-line Mode ...................................................... 4-51
Figure 4-52. On-line Mode Indication in Title ................................................................ 4-51
Figure 4-53. Output Window After Download................................................................ 4-52
Figure 4-54. Status Report After Download.................................................................... 4-52
Figure 4-55. Confirm Deblock Program.......................................................................... 4-53
Figure 4-56. Status Report After Deblock....................................................................... 4-53
Figure 4-57. Confirm Save in PROM.............................................................................. 4-54
Figure 4-58. Saved in PROM, Message .......................................................................... 4-54
Figure 4-59. Status Report After Save in PROM ............................................................ 4-54
Figure 4-60. Status Report with Errors Detected ............................................................ 4-55
Figure 4-61. Error Report - No Battery Plugged ............................................................. 4-56
Figure 4-62. PC Terminal Selected for Display, On-line Preparation Mode................... 4-59
Figure 4-63. Entering On-line Mode, Warning ............................................................... 4-60
Figure 4-64. PC Terminal Selected for Display, On-line Mode ...................................... 4-60
Figure 4-65. Monitored Values in Function Chart........................................................... 4-61
Figure 4-66. Create/Edit Table Entry Dialog Box ........................................................... 4-62
Figure 4-67. Test Table with PC Display Values............................................................. 4-63
Figure 4-68. Cyclic Display............................................................................................. 4-64
ILLUSTRATIONS (continued)
Figure 4-69. Create/Edit Force Value Dialog Box .......................................................... 4-66
Figure 4-70. Chaining Force and Single Display............................................................ 4-67
Figure 4-71. Function Chart with Forced and Monitored Values ................................... 4-68
Figure 4-72. Test Table with PC Force Values................................................................ 4-69
Figure 4-73. Confirmation of Force Deactivation........................................................... 4-69
Figure 4-74. Change in Test Table, Warning................................................................... 4-69
Figure 4-75. Preparing DB Values in Test Table, On-line Preparation Mode................. 4-71
Figure 4-76. Monitored DB Values in Test Table Window............................................. 4-72
Figure 4-77. Modified PC Program................................................................................. 4-76
Figure 4-78. Confirmation of On-line PC Modification ................................................. 4-76
Figure 4-79. Output Window After Save and Load of PC Change................................. 4-77
Figure 4-80. Modified DB Section.................................................................................. 4-78
Figure 4-81. Attempt to Change in a Second Execution Unit, Warning ......................... 4-78
Figure 4-82. Confirmation of On-line DB Modification................................................. 4-79
Figure 4-83. Output Window After Save and Load of DB Change ................................ 4-79
Figure 4-84. Connecting DB Terminal On-line .............................................................. 4-80
Figure 4-85. Confirmation of Disconnection .................................................................. 4-80
Figure 4-86. Warning, Initialization Data Missing.......................................................... 4-92
Figure 4-87. FCB Started for a Node .............................................................................. 4-93
Figure 4-88. Initial Page Setup Dialog Box .................................................................... 4-94
Figure 4-89. Set Initial ODB Password........................................................................... 4-95
Figure 4-90. ODB Password Query at FCB Start-up ...................................................... 4-95
Figure 4-91. Change ODB Password .............................................................................. 4-97
Figure 4-92. Clear ODB Password.................................................................................. 4-98
Figure 4-93. Example of Circuit Check .......................................................................... 4-99
Figure 4-94. Example of Library Differences ............................................................... 4-100
Figure 4-95. Contiguous Selection of PC Elements on Same Level............................. 4-129
Figure 4-96. Selection of Whole Executable Unit ........................................................ 4-129
Figure 4-97. Selection of Partial Subtree on Lower Level............................................ 4-130
Figure 4-98. Impossible Disjoint Selection of PC Elements......................................... 4-130
Figure 4-99. Non-allowed Selection from Lower Level to Higher Level..................... 4-131
Figure 4-100. FCB Modes (States) and Transitions........................................................ 4-145
Figure 4-101. Target Code Generation Protocol (Example) ........................................... 4-149
Figure 4-102. Point-to-point Connection via COMx, Topology ..................................... 4-155
Figure 4-103. Point-to-point Connection via COMx, Setting......................................... 4-155
Figure 4-104. Routing via COMx, AC 100 Series Node, AF 100, Topology................. 4-155
Figure 4-105. Routing via COMx, AC 100 Series Node, AF 100, Setting..................... 4-156
ILLUSTRATIONS (continued)
Figure 4-106. Routing via COMx, AC 100 Series, AF 100, 2nd AC 100 Series,
2nd AF 100, Topology .............................................................................. 4-156
Figure 4-107. Routing via COMx, AC 100 Series, AF 100, 2nd AC 100 Series,
2nd AF 100, Setting .................................................................................. 4-156
Figure 4-108. Routing via X3, AC 4xx, AF 100, Topology............................................ 4-157
Figure 4-109. Routing via X3, AC 4xx, AF 100, Setting................................................ 4-157
Figure 4-110. Routing via X3, AC 4xx, AF 100, AC 100 Series Node, 2nd AF 100,
Topology ................................................................................................... 4-157
Figure 4-111. Routing via X3, AC 4xx, AF 100, AC 100 Series Node, 2nd AF 100,
Setting ....................................................................................................... 4-158
Figure 4-112. Routing via X3, AC 4xx, RCOM Net, Topology ..................................... 4-158
Figure 4-113. Routing via X3, AC 4xx, RCOM Net, Setting ......................................... 4-158
Figure 4-114. Routing via X3, Several AC 4xx Connected by MB 300, AF 100,
Topology ................................................................................................... 4-159
Figure 4-115. Routing via X3, Several AC 4xx Connected by MB 300, AF 100,
Setting ....................................................................................................... 4-159
Figure 4-116. Routing via X3, Several AC 4xx Connected by MB 300, AF 100,
AC 100 Series Node, 2nd AF 100, Topology ........................................... 4-159
Figure 4-117. Routing via X3, Several AC 4xx Connected by MB 300, AF 100,
AC 100 Series Node, 2nd AF 100, Setting ............................................... 4-160
Figure 4-118. Routing via X3, Several AC 4xx Connected by MB 300, RCOM Net,
Topology ................................................................................................... 4-160
Figure 4-119. Routing via X3, Several AC 4xx Connected by MB 300, RCOM Net,
Setting ....................................................................................................... 4-160
Figure 4-120. Routing via AF 100, Topology ................................................................. 4-161
Figure 4-121. Routing via AF 100, Setting ..................................................................... 4-161
Figure 4-122. Set Initial Password on Target .................................................................. 4-163
Figure 4-123. Target Password Query at Target Connection........................................... 4-164
Figure 4-124. Change Password on Target...................................................................... 4-164
Figure 4-125. Clear Password on Target ......................................................................... 4-165
Figure 4-126. Overview of Diagnostics Commands and Data Transfer in Diagnostics
Program..................................................................................................... 4-182
Figure 4-127. Accessing Diagnostic Information with Diagnostics Program, Example. 4-185
Figure 4-128. Overview of Diagnosis Commands and Data Transfer in Diagnosis
Program..................................................................................................... 4-187
Figure 4-129. Accessing Diagnostic Information with Diagnosis Program, Example ... 4-190
Figure 4-130. Inheritance of Symbol Values Between Neighboring Levels ................... 4-200
Figure 4-131. Toolbar of the Function Chart Builder...................................................... 4-209
Figure 4-132. Status Bar of the Function Chart Builder.................................................. 4-211
Figure 4-133. *.ODB Window ........................................................................................ 4-212
ILLUSTRATIONS (continued)
Figure 4-134. PC Section Window with Three Panes..................................................... 4-214
Figure 4-135. PC Pane Toolbar ....................................................................................... 4-215
Figure 4-136. DB Section Window ................................................................................. 4-217
Figure 4-137. Symbol Section Window .......................................................................... 4-220
Figure 4-138. TC/CI Terminal Section Window............................................................. 4-222
Figure 4-139. Output Window ........................................................................................ 4-224
Figure 4-140. Name Table Window ................................................................................ 4-225
Figure 4-141. Test Table Window ................................................................................... 4-227
Figure 4-142. Detailed Value Display ............................................................................. 4-228
Figure 4-143. Trend Recording Dialog Box ................................................................... 4-233
Figure 4-144. Setup of Trend Recording......................................................................... 4-234
Figure 4-145. Color Table ............................................................................................... 4-235
Figure 4-146. Time - Scale.............................................................................................. 4-236
Figure 4-147. Trigger Setup ............................................................................................ 4-237
Figure 4-148. Value List of Trend Recording ................................................................. 4-238
Figure 4-149. Status Report ............................................................................................ 4-239
Figure 4-150. Options Report.......................................................................................... 4-241
Figure 4-151. Application Window of Diagnosis, Error Report ..................................... 4-242
Figure 4-152. Menu Bar of the Function Chart Builder.................................................. 4-243
Figure 4-153. New PC Program...................................................................................... 4-245
Figure 4-154. Open PC Program..................................................................................... 4-246
Figure 4-155. Delete PC Program ................................................................................... 4-247
Figure 4-156. Set Password in ODB ............................................................................... 4-251
Figure 4-157. Generate Target Code ............................................................................... 4-252
Figure 4-158. Generate Target Code with Support for Application Retrieval ................ 4-253
Figure 4-159. Generate BCD Data.................................................................................. 4-256
Figure 4-160. Generate Source Code .............................................................................. 4-258
Figure 4-161. Save PC Source Code As ........................................................................ 4-259
Figure 4-162. Select PC Program(s) .............................................................................. 4-261
Figure 4-163. Save DB Souce Code As .......................................................................... 4-262
Figure 4-164. Generate TC Source Code ........................................................................ 4-266
Figure 4-165. Check PC Source Code ............................................................................ 4-268
Figure 4-166. Backtranslate Source Code....................................................................... 4-270
Figure 4-167. Open PC Source Code Files(s) ................................................................. 4-271
Figure 4-168. Select PC Programs(s) for Backtranslate ................................................ 4-273
Figure 4-169. Open DB Source Code File(s) ................................................................. 4-274
Figure 4-170. Export DB Section.................................................................................... 4-279
Figure 4-171. Import DB Section.................................................................................... 4-281
ILLUSTRATIONS (continued)
Figure 4-172. Print........................................................................................................... 4-282
Figure 4-173. Print DB Section ....................................................................................... 4-285
Figure 4-174. Print PC Section........................................................................................ 4-286
Figure 4-175. Print TC/CI Symbols ................................................................................ 4-287
Figure 4-176. Print Modules............................................................................................ 4-288
Figure 4-177. Print PC Cross Reference ......................................................................... 4-289
Figure 4-178. Print DB Section ....................................................................................... 4-290
Figure 4-179. Print Circuit Usage.................................................................................... 4-291
Figure 4-180. Print DB Names ........................................................................................ 4-292
Figure 4-181. Print PC Names......................................................................................... 4-293
Figure 4-182. Print Setup................................................................................................. 4-295
Figure 4-183. Page Setup................................................................................................. 4-296
Figure 4-184. Create PC Element.................................................................................... 4-300
Figure 4-185. Create DB Element ................................................................................... 4-303
Figure 4-186. Create Symbol........................................................................................... 4-305
Figure 4-187. Create TC/CI Terminal ............................................................................. 4-307
Figure 4-188. Edit TC/CI Terminal Attributes ................................................................ 4-308
Figure 4-189. Create Test Table Entry............................................................................. 4-310
Figure 4-190. Paste PC Section ....................................................................................... 4-312
Figure 4-191. Replace Options PC Section ..................................................................... 4-313
Figure 4-192. Multiple Input Connection to PC.............................................................. 4-314
Figure 4-193. Replace and Paste PC Section, General.................................................... 4-315
Figure 4-194. Replace and Paste PC Section, for TC/CI Symbol Values ....................... 4-316
Figure 4-195. Undo Replace PC Section......................................................................... 4-317
Figure 4-196. Paste Conflicts .......................................................................................... 4-318
Figure 4-197. Find ........................................................................................................... 4-319
Figure 4-198. Edit Call Parameters ................................................................................. 4-321
Figure 4-199. Create/Edit Name...................................................................................... 4-322
Figure 4-200. Edit DB Terminal Values .......................................................................... 4-324
Figure 4-201. References of DB Element ....................................................................... 4-325
Figure 4-202. Edit Symbol .............................................................................................. 4-326
Figure 4-203. Edit Symbol Values................................................................................... 4-328
Figure 4-204. Edit TC/CI Terminal ................................................................................. 4-331
Figure 4-205. Upload....................................................................................................... 4-333
Figure 4-206. Edit Document Texts ................................................................................ 4-335
Figure 4-207. Zoom Function Chart or Tree Diagram .................................................... 4-337
Figure 4-208. View Cross Reference .............................................................................. 4-339
Figure 4-209. PC Cross Reference .................................................................................. 4-340
ILLUSTRATIONS (continued)
Figure 4-210. DB Cross Reference ................................................................................. 4-341
Figure 4-211. Preferences ............................................................................................... 4-343
Figure 4-212. Extract of TC with including MODIFY keyword .................................... 4-347
Figure 4-213. Workspace ................................................................................................ 4-348
Figure 4-214. Cycle Times.............................................................................................. 4-350
Figure 4-215. Goto Page ................................................................................................. 4-355
Figure 4-216. Select PC Section ..................................................................................... 4-355
Figure 4-217. Modify Item Designation ......................................................................... 4-356
Figure 4-218. Renumber PC Section............................................................................... 4-357
Figure 4-219. Computing Time for Selected Element .................................................... 4-358
Figure 4-220. Computing Time for Selected Unit .......................................................... 4-359
Figure 4-221. Computing Time for Node ....................................................................... 4-361
Figure 4-222. Memory Calculation for Selected Element .............................................. 4-362
Figure 4-223. Memory Calculation for Selected Unit..................................................... 4-362
Figure 4-224. Memory Calculation for Node.................................................................. 4-363
Figure 4-225. Insert Page Division. ................................................................................ 4-364
Figure 4-226. Modify Page Division............................................................................... 4-366
Figure 4-227. Copy Headlines ........................................................................................ 4-367
Figure 4-228. Check Page Layout................................................................................... 4-368
Figure 4-229. Format Pages ............................................................................................ 4-369
Figure 4-230. Generate Page Division ............................................................................ 4-370
Figure 4-231. Modify Page Numbers.............................................................................. 4-371
Figure 4-232. Goto Terminal........................................................................................... 4-373
Figure 4-233. Connect..................................................................................................... 4-375
Figure 4-234. Connect to DB .......................................................................................... 4-378
Figure 4-235. Connect by Name ..................................................................................... 4-379
Figure 4-236. Connect to Symbol ................................................................................... 4-380
Figure 4-237. Connect to TC/CI Terminal ...................................................................... 4-381
Figure 4-238. Virtual Connections .................................................................................. 4-382
Figure 4-239. Disconnect ................................................................................................ 4-383
Figure 4-240. Create/Edit Unit........................................................................................ 4-384
Figure 4-241. Create/Edit Force Value............................................................................ 4-386
Figure 4-242. Connect Target.......................................................................................... 4-388
Figure 4-243. Set Date and Time .................................................................................... 4-394
Figure 4-244. Preset Target Data and Time..................................................................... 4-394
Figure 4-245. Set Password on Target............................................................................. 4-395
Figure 4-246. Application Checksum ............................................................................. 4-396
Figure 4-247. Attribute Report........................................................................................ 4-397
ILLUSTRATIONS (continued)
Figure 4-248. Set Cycletime............................................................................................ 4-399
Figure 4-249. Trigger Setup ............................................................................................ 4-400
Figure 4-250. Activate Force Values ............................................................................... 4-401
Figure 4-251. Activate All Force Values ......................................................................... 4-403
Figure 4-252. Set DB Value............................................................................................. 4-405
Figure 4-253. Import Test Table ...................................................................................... 4-406
Figure 4-254. Export Test Table ...................................................................................... 4-407
Figure 4-255. Close Windows ......................................................................................... 4-409
Figure 4-256. On Node.................................................................................................... 4-411
Figure 4-257. About Function Chart Builder .................................................................. 4-413
Figure 4-258. Toolbar of Diagnostics.............................................................................. 4-414
Figure 4-259. Status Bar of Diagnostics.......................................................................... 4-415
Figure 4-260. Error Report Window ............................................................................... 4-416
Figure 4-261. Module List Window ................................................................................ 4-418
Figure 4-262. Module Diagnostics Window ................................................................... 4-419
Figure 4-263. Module Diagnostics, Additional Information........................................... 4-421
Figure 4-264. Save Report/Diagnosis As ........................................................................ 4-421
Figure 4-265. Setup Logfile............................................................................................. 4-423
Figure 4-266. Print Diagnosis.......................................................................................... 4-424
Figure 4-267. Print Setup of Diagnostics ........................................................................ 4-426
Figure 4-268. List Modules of Station............................................................................. 4-428
Figure 4-269. Select Module, AC 110/70........................................................................ 4-429
Figure 4-270. Select Module, AC 55............................................................................... 4-429
Figure 4-271. About Diagnostics..................................................................................... 4-431
Figure 4-272. Toolbar of Diagnosis................................................................................. 4-432
Figure 4-273. Status Bar of Diagnosis............................................................................. 4-433
Figure 4-274. Status Report Window of Diagnosis......................................................... 4-434
Figure 4-275. Error Report Window of Diagnosis .......................................................... 4-436
Figure 4-276. Module List Window of Diagnosis........................................................... 4-438
Figure 4-277. Module Diagnosis Window of Diagnosis ................................................. 4-440
Figure 4-278. Channel Diagnosis Window of Diagnosis ................................................ 4-444
Figure 4-279. Output Window of Diagnosis ................................................................... 4-447
Figure 4-280. Save Report/Diagnosis As ........................................................................ 4-448
Figure 4-281. Setup Logfile............................................................................................. 4-449
Figure 4-282. Print Diagnosis.......................................................................................... 4-450
Figure 4-283. Print Setup of Diagnostics ........................................................................ 4-451
Figure 4-284. Select Module ........................................................................................... 4-454
Figure 4-285. Select Channel .......................................................................................... 4-456
ILLUSTRATIONS (continued)
Figure 4-286. Diagnosis, Warning Before Deleting Errors............................................. 4-458
Figure 4-287. Diagnosis, Warning Due to Non- reported Errors .................................... 4-458
Figure 4-288. Diagnosis, Delete All Errors, Warning..................................................... 4-459
Figure 4-289. About Diagnosis ....................................................................................... 4-460
Figure A-1. FCB Release Directory Structure .................................................................A-1
Figure A-2. FCB Project Directory Structure ..................................................................A-2
Figure B-1. Working with an AC 400 or MP 200/1 Node...............................................B-1
Figure B-2. Instantiating Type Circuits in a Node...........................................................B-2
Figure B-3. Working on Type Circuits.............................................................................B-3
Figure B-4. Working on Circuits......................................................................................B-4
Figure B-5. Working on Node Structures ........................................................................B-5
Figure B-6. Expanding Node Data...................................................................................B-6
Figure B-7. AC 100 Series Target Code Generation .......................................................B-7
Figure B-8. Upgrading to New FCB Release, Regenerating Objects..............................B-8
Figure G-1. Run DCOMCNFG........................................................................................G-2
Figure G-2. Distributed COM Configuration Properties .................................................G-2
Figure G-3. General Tab ..................................................................................................G-3
Figure G-4. Location Tab .................................................................................................G-3
Figure G-5. Security Tab..................................................................................................G-4
Figure G-6. Registry Value Permissions ..........................................................................G-4
Figure G-7. Add Users and Groups..................................................................................G-5
Figure G-8. Add Users and Groups, Name Added ..........................................................G-6
Figure G-9. Registry Value Permissions, User Added.....................................................G-7
TABLES
Table 1-1. Common Documents .................................................................................... 1-5
Table 1-2. Related Documents, Advant Controller 400 Series and MasterPiece 200/1 1-6
Table 1-3. Related Documents, Advant Controller 100 Series...................................... 1-6
Table 1-4. Other Related Documents............................................................................. 1-7
Table 1-5. Release History............................................................................................. 1-8
Table 4-1. Objects Processed by FCB ........................................................................... 4-1
Table 4-2. Structure of Tutorial ..................................................................................... 4-4
Table 4-3. Panes of the PC Section Window ............................................................... 4-10
Table 4-4. Default Commands in Function Chart Pane of PC Section Window on
Double-click ............................................................................................... 4-84
Table 4-5. Default Commands in Tree Pane of PC Section Window on Double-click 4-84
Table 4-6. Use of Keys for Sliding .............................................................................. 4-88
Table 4-7. Handling of Type Circuit Classes for AC 100 Series................................4-112
Table 4-8. Selection in PC Section Windows by Mouse ........................................... 4-127
Table 4-9. Selection in PC Section Windows by Keys.............................................. 4-128
Table 4-10. FCB Mode (State) Transitions.................................................................. 4-147
Table 4-11. Position of Intermediate Nodes ................................................................ 4-154
Table 4-12. Position of Target...................................................................................... 4-154
Table 4-13. Routing Possibilities Depending on Node Type....................................... 4-162
Table 4-14. Presentation of Errors ............................................................................... 4-183
Table 4-15. Use of Symbols, Symbolic Expressions, and Symbolic Formulas........... 4-198
Table 4-16. Symbol Value Inheritance in TC, Instantiated in NS ............................... 4-200
Table 4-19. Symbol Value Inheritance from NS via CI to NS..................................... 4-201
Table 4-17. Symbol Value Inheritance in CI, Located in NS ...................................... 4-201
Table 4-18. Symbol Value Inheritance in TC, Instantiated in CI................................. 4-201
Table 4-20. Operators in Symbolic Formulas.............................................................. 4-204
Table 4-21. Icons and Commands of the Toolbar........................................................ 4-210
Table 4-22. Indicators in the Status Bar........................................................................4-211
Table 4-23. Columns in the Test Table Window.......................................................... 4-230
Table 4-24. Kind and State of Entries in the Test Table .............................................. 4-231
Table 4-25. Edit PC File Names .................................................................................. 4-272
Table 4-26. DB File Name Specification..................................................................... 4-275
Table 4-27. Print File Names ....................................................................................... 4-282
Table 4-28. Dialogs to Specify Document Parts (1) .................................................... 4-283
Table 4-29. Dialogs to Specify Document Parts (2) .................................................... 4-284
Table 4-30. Symbol Kinds in Different Objects .......................................................... 4-306
Table 4-31. Symbol Kinds Allowed in Different Objects ........................................... 4-327
Table 4-32. Restart Behavior ....................................................................................... 4-393
TABLES (continued)
Table 4-33. Icons and Commands in the Toolbar of Diagnostics ................................ 4-415
Table 4-34. Indicators in the Status Bar of Diagnostics............................................... 4-415
Table 4-35. Significance and Ranges of Target Address ............................................. 4-417
Table 4-36. Log Types ................................................................................................. 4-424
Table 4-37. Icons and Commands in the Toolbar of Diagnosis ................................... 4-432
Table 4-38. Indicators in the Status Bar of Diagnosis.................................................. 4-433
Table 4-39. Error Report State Filters.......................................................................... 4-437
Table 4-40. Significance and Ranges of Target Address ............................................. 4-437
Table 4-41. List Modules State Filters ......................................................................... 4-439
Table 4-42. Module Status Bits in Module Diagnosis ................................................. 4-441
Table 4-43. Module States ........................................................................................... 4-442
Table 4-44. Channel Types in Module Diagnosis ........................................................ 4-442
Table 4-45. Module Status Bits in Channel Diagnosis ................................................ 4-445
Table 4-46. Channel States for Most Standard Modules ............................................. 4-446
Table 4-47. Channel States for MasterFieldbus Master and Slave .............................. 4-446
Table 4-48. Channel States for Data Set CI626 ........................................................... 4-446
Table 4-49. Log Types ................................................................................................. 4-450
Table 4-50. List Modules State .................................................................................... 4-455
Table 4-51. List Channels Options............................................................................... 4-457
Table 5-1. File Describing Windows NT Environment ................................................. 5-2
Table 5-2. Advant Engineering and Project Files for Reporting Problems ................... 5-2
Table D-1. Parsers in FCB Based on Present Syntax Descriptions ............................... D-3
Table D-2. Nested Parsers in FCB Based on Present Syntax Descriptions ................... D-3
Table D-3. Editors in FCB Based on Present Syntax Descriptions ............................... D-4
Table D-4. Source Code Generators in FCB Based on Present Syntax Descriptions.... D-4
Table E-1. Character Set of PC Names ..........................................................................E-2
Table E-2. Character Set of DB Names..........................................................................E-6
Chapter 1 Introduction
DANGER
If you use a PC of yours as engineering station and if you want to work on-line
connected to target systems, your PC, its add-on boards, and its peripherals must
fulfill high mechanical, temperature, and electrical requirements, as stated in the
Application Builder User’s Guide.
Else you risk malfunction of the target system.
Advant Station 100 Series Engineering Stations and their peripherals fulfill these
requirements.
Chapters
Configuration/ Runtime
Introduction Installation Application Maintenance Appendices Index
Building Operation
Chapter 1, Introduction
Provides you with basic information about the Function Chart Builder and this guide.
Chapter 2, Installation
Tells you how to install the Function Chart Builder.
The best way to learn how to use the Function Chart Builder is by using it to write simple
program examples. Follow the instructions and examples in Section 4.3, Runtime Tutorial,
practice using the menus and dialog boxes. You’ll find that most of the menu items are easy to
figure out without reading any further in the guide.
Section 4.4, Operating Instructions tells you how to perform programming operations, test, and
diagnostics. You will need several commands to do this. This section describes typical Function
Chart Builder command sequences and explains their relationships. Look up the function you
want to perform in the Table of Contents to locate the specific command sequences.
Use Section 4.5, Runtime Operation Menus as a reference to learn how to use the controls of the
Title Bar, Toolbar, Status Bar, the controls in the document windows, and the menu commands
of the Function Chart Builder and the Diagnostics program.
Chapter 5, Maintenance
Tells you how to handle problems that you cannot solve by reading the other chapters.
Appendix H, Glossary
Defines terms frequently used in this guide.
INDEX
The Index tells you where to find references to a variety of key topics within the text.
If you run into a term that you do not understand, look it up in the Appendix H, Glossary.
If you want to find references to a term or function within the text quickly, use the Index.
1.4 Conventions
1.4.1 General
Books, manuals, and so on, referenced in the text are written in italic.
Terms defined in Appendix H, Glossary or in Section 1.7, Terminology are in italic.
Filenames, directory names, acronyms appear in all capitals.
Words, which you have to type exactly in that form, are shown in boldface type, and if possible
in CAPITAL letters, for example, POWERSTN.
Texts and system messages displayed on the screen are shown in Courier font, for example,
Select Options.
Application windows, document windows, and dialog boxes are referenced by their names in
boldface type, for example, PC Section window.
1.4.2 Keys
Special keyboard keys are written plain with small capitals:
• ALT, CTRL, DEL, ENTER, ESC, INS, KEYPAD 5, NUMLOCK, SCROLL LOCK, SHIFT, SPACEBAR
Manual Description
Advant Station 100 Series Describes the hardware and setup of Advant Station 100
Engineering Station Series Engineering Stations, including the
User’s Guide Advant Station 100 Series Engineering Board.
Application Builder Describes installation of Advant Engineering components
User’s Guide and contains the operating instruction of Application
Builder and Advant Engineering support functions.
Bus Configuration Builder Describes bus configuration support functions for
User’s Guide AF100 OPC based and AdvaSoft for Windows based
Human-System Interface systems.
Source Code Handling Contains descriptions and instructions for use of AMPL
User’s Guide source code for application programs and data bases.
Advant Fieldbus 100 Contains user information on Advant Fieldbus 100.
User’s Guide
S800 I/O User’s Guide Contains user information on S800 I/O.
Control Builder Describes the functions of the Control Configuration
Commands for Structure Aspect System and the use of Application Builder and
Builder Function Chart Builder functionality by the Structure
User’s Guide Builder.
PROFIBUS Library Editor Describes the usage of the PROFIBUS Library Editor.
User’s Guide
Engineer IT Control Describes the usage of Control Builder commands when
Builder A Interface Version Engineering Studio Workplace is used as navigation tool.
1.1 User's Guide
Advant Controller 400 Series and MasterPiece 200/1 related documents are listed in Table 1-2.
Table 1-2. Related Documents, Advant Controller 400 Series and MasterPiece 200/1
Manual Description
On-line Builder Contains the operating instruction of On-line Builder.
Engineering Stations
User’s Guide
On-line Builder Describes all commands used in AS 100ES,
Reference Manual AS 500ES, and AS 500OS. Describes command sets,
working methods, and command file handling aspects.
AMPL Application Building Contains tutorial for configuration and application
Reference Manual programming of AC 410/450 controllers.
AMPL Configuration Contains instructions for configuration and application
Advant Controller 400 programming of AC 410/450 controllers including
Series command descriptions. The topics are:
Reference Manual AMPL configuration principles, application programming,
commissioning and testing, on-line editing,
documentation, backup and transfer of application data
Data Base Elements Data for all data base elements in
Advant Controller 400 Advant Controller 410/450.
Series Reference Manual
PC Elements Data for all PC elements in Advant Controller 410/450.
Advant Controller 400
Series Reference Manual
MasterPiece 200/1 Contains instructions for configuration and application
Configuration and programming of MasterPiece 200/1 including command
Programming descriptions. The topics are:
AMPL configuration principles, application programming,
commissioning and testing, on-line editing,
documentation, backup and transfer of application data
Advant Controller 100 Series related documents are listed in Table 1-3.
Manual Description
AMPL Configuration Contains instructions for configuration, application
Advant Controller 100 programming, fault tracing, and maintenance.
Series Reference Manual
Advant Controller 110 Contains a description of the Advant Controller 110.
User’s Guide
Manual Description
Data Base Elements Data for all data base elements in Advant Controller 110.
AC 100 Series
Reference Manual
PC Elements Data for all PC elements in Advant Controller 110.
AC 100 Series
Reference Manual
Advant Controller 110 Contains configuration of PROFIBUS and PROFIBUS-DP
PROFIBUS-DP slaves for Advant Controller 110.
User’s Guide
Advant Controller 70 Contains a description of the Advant Controller 70.
User’s Guide
Data Base Elements Data for all data base elements in Advant Controller 70.
Advant Controller 70
Reference Manual
PC Elements Data for all PC elements in Advant Controller 70.
Advant Controller 70
Reference Manual
Advant Controller 55 Contains a description of the Advant Controller 55.
User’s Guide
Data Base Elements Data for all data base elements in Advant Controller 55.
Advant Controller 55
Reference Manual
PC Elements Data for all PC elements in Advant Controller 55.
Advant Controller 55
Reference Manual
Manual Description
FCB Type Circuits Drives Describes FCB type circuit for standard and engineered
Objects User’s Guide drives.
Version Description
FCE* 2.*/* Initial version of Function Chart Editor with programming support for
MP 200/1 and MP 90 nodes.
User’s Manual: 3BSE 000564R0001
FCE* 3.0/* Processing of node structures and circuits were added.
User’s Manual: 3BSE 000564R0101
FCE* 3.1/* Features for function-oriented project engineering have been added,
like support of target product structure, improved type circuit re-
identification, manual type circuit/circuit terminal definition, calculated
symbols, and validation of PC source code created with text editors.
User’s Manual: 3BSE 000564R0201
FCB* 4.0/0 Initial version of Function Chart Builder. The user interface has been
fully redesigned corresponding to Windows environment. New
features have been added, like parallel editing in different sections.
User’s Guide 3BSE 007149R0001:
The User’s Guide has been restructured, new sections have been
added, such as operating instructions.
User’s Guide 3BSE 007149R0101:
The User’s Guide has been completed and revised.
FCB* 4.1/0 Features like cut, copy, paste (off-line, in PC section) and the
description of the Diagnosis program have been added.
User’s Guide: 3BSE 007149R0201.
Version Description
FCB* 4.2/0 Features like type circuit usage for Advant Controller 100 Series
without disintegration, enhancement of execution time calculation,
cycle time setting for cyclic display.
User’s Guide 3BSE 007149R0301:
Tutorial completed by Advant Controller 100 Series application with
accent on-line testing and editing.
FCB* 4.3/0 Features like support of extended DB elements, saving and loading
workspaces, multiple windows, splitting the PC Section window,
extended tutorial, and the Diagnostics program have been added.
User’s Guide: 3BSE 007149R0401.
FCB* 4.4/0 First version supporting also the cooperating mode in addition to the
traditional independent mode. First version available also as 32-bit
application running under Windows NT.
Features like the Test Table for common handling of force and display
values, recording and display of values (trend), editing virtual
connections also in nodes, assignment of instance names to PC
elements, type circuits and circuits, setting cycle times for
Advant Controller 400 Series applications, and additional navigation
between referencing DB elements have been added.
User’s Guide: 3BSE 007149R0501.
FCB* 4.5/2 Last version available also as 16-bit application running under
Windows for Workgroups 3.11.
Features like the Test | Set Trigger command for automatic stopping
of cyclic display, support of Bus Configuration Builder 2.5 by filling the
Bus Configuration Database, and PROFIBUS Library Editor
(attachment) have been added.
User’s Guide: 3BSE 007149R0601.
FCB* 4.6/1 Features like Target | Upload and File | Backtranslate Target Code for
application retrieval, File | On-line Preparation Mode for convenience
of on-line programming, password protection and Connect assistant
have been added.
User’s Guide: 3BSE 007149R0701.
FCB* 4.7/0 Features like the multi-level Edit | Undo and Edit | Redo commands,
context menu commands in PC-Section window, connection by
instance name, and preset of date and time on target independent
from date and time on AS100 ES have been added.
Runs under Windows NT. User’s Guide: 3BSE 007149R0801.
Version Description
FCB* 5.0/0 Features like the View | Cross Reference command, context menu
commands in Output window, new options, and support of ABB
Objects based Human System Interface for Advant Controller 400
Series, MasterBus 300, and MB300 Connector by the File | Generate
BCD Data command have been added. Runs under Windows NT and
Windows 2000. User’s Guide: 3BDS 100 595R101.
FCB* 6.0/0 Features like the improved File | Generate Source Code and File |
Backtranslate Source Code commands. Runs under Windows NT
and Windows 2000. User’s Guide: 3BDS 100 595R201.
FCB* 6.1/0 Features like the support of german language in Function Chart
Builder. Runs under Windows NT and Windows 2000. User’s Guide:
3BDS 100 595R301 (english) and 3BDS 100 595R303 (german).
1.7 Terminology
The following is a list of terms you should be familiar with.
Term Description
AC 110 The abbreviation “AC 110” is used for
Advant Controller 110.
AC 160 The abbreviation “AC 160” is used for
Advant Controller 160.
AC 55 The abbreviation “AC 55” is used for Advant Controller 55.
AC 70 The abbreviation “AC 70” is used for Advant Controller 70.
AC 80 The abbreviation “AC 80” is used for Advant Controller 80.
Advant Controller 100 The term “Advant Controller 100 Series” is used for Advant
Series/AC 100 Series Controller X where X may have a value from 1 to 199.
Advant Controller 400 The terms “Advant Controller 400 Series” and
Series/AC 400 Series “AC 400 Series” are used for Advant Controller 410 and
Advant Controller 450.
Advant Station 100 The term “Advant Station 100 Series Engineering Stations”
Series Engineering and “AS 100ES” are used for
Stations Advant Station 120 Engineering Station (AS 120ES),
Advant Station 125 Engineering Station (AS 125ES),
Advant Station 130 Engineering Station (AS 130ES), and
Advant Station 140 Engineering Station (AS 140ES).
AF 100 The abbreviation “AF 100” is used for Advant Fieldbus 100.
Term Description
AF100 OPC The abbreviation “AF100 OPC” is used for AF 100 OLE
Process Control, an interface between AF 100 bus and HMI
system.
APB The abbreviation “APB” is used for Application Builder.
Application Builder The term is used for Application Builder, an Advant
Engineering product component.
BCD The abbreviation “BCD” is used for Bus Configuration
Database.
Bus Configuration The Bus Configuration Database offered by Bus
Database Configuration Builder contains configuration data of AF 100
busses belonging to a project.
Bus Configuration Interface to Bus Configuration Database corresponding to
Interface Microsoft’s Component Object Model (COM).
DB The term “DB” is used for Advant Controller 100 Series
data base. It consists of database elements (DB elements).
Extended DB Elements DB elements with enhanced communication and HMI-
support capabilities, such as AIS, DIS.
FCB The abbreviation “FCB” is used for Function Chart Builder.
Function Chart Builder The term is used for the Function Chart Builder,
an Advant Engineering product component. It is runs on
Advant Station 100 Series Engineering Stations.
Function Chart Editor The term “Function Chart Editor” is used for the
Function Chart Editor AC 400 / MP 200/1 (QMA222) and
Function Chart Editor AC 100 (QMA223), that is, for the
predecessors of the Function Chart Builder.
The abbreviation for Function Chart Editor is “FCE”.
MB 300 The abbreviation “MB 300” is used for MasterBus 300.
MasterBus 300 is a high-performance serial synchronous
half duplex bus for medium communication distances. Use
it to interconnect Process Stations, Operator Stations and
MasterGate 230/1 stations in a Control Network.
MB300 Connector “MB300 Connector” is used for the interface between
MasterBus 300 and the Human-System Interface.
It is implemented according to the OLE Process Control
standard.
MP 200/1 The abbreviation “MP 200/1” is used for MasterPiece 200/1.
Term Description
On-line Builder The term is used for the On-line Builder, an Advant
Engineering product component.
The term “On-line Builder” is the new name for “Command
Oriented Functions”.
Series The term “Series” in product names is used to reference the
products in general terms, without any reference to a
specific model (for example, Advant Station 100 Series
Engineering Stations).
XDB The abbreviation “XDB” is used for extended DB elements
Chapter 2 Installation
2.2 Setup
Editing of type circuits having variants and loops is not supported by the Function Chart
Builder. Nevertheless, variants and loops are allowed in type circuit source code, and you can
instantiate such type circuits by the Function Chart Builder.
Since Function Chart Builder 6.1/0 the type circuits and circuit can have long names > 8
characters. Such type circuits and circuit cannot be used in earlier versions of Function Chart
Builder.
NOTE
If you are interested in source code syntax, consult Appendix D, Syntax of TC,
CI, and NS Source Code. You may need it in the following cases:
• You are working with source files edited by hand using some text editor like
AS100-EDIT.
• You are working with source files generated by other tools than the Function
Chart Builder.
• You want to edit advanced type circuits having variants (IFs) and loops using
some text editor.
Process control projects generally deal with process devices like motors, valves, sensors, and so
on, controlled by a process control system. You can assign a functional piece of software
running on the control system to each process device. This piece of software is called a circuit
(CI). See Figure 3-1. Lines with arrows on both sides show assignment or correspondence.
HARDWARE SOFTWARE
M
Motor1 Circuit1
M
Motor75 Circuit75
Valve1 Circuit76
Valve22 Circuit97
Circuits are the basic objects of function-oriented project engineering. They can contain the
process control functions for particular devices in the process. A circuit is independent of the
process station on which it runs.
When analyzing an application, you normally find similar control logic for a group of circuits.
To guarantee high software quality and high project efficiency, build circuits using standardized,
reusable control solutions called type circuits (TCs). See Figure 3-2.
HARDWARE SOFTWARE
M
Motor1 Circuit1
Type Circuit
M Motor Control
Motor75 Circuit75
Valve1 Circuit76
Type Circuit
Valve Control
Valve22 Circuit97
In the scenario illustrated in Figure 3-2, designing circuits is essentially reduced to referencing
type circuits and specifying instance-specific parameters for them. Of course, you can structure
your application also in other ways by circuits and type circuits.
The dot on one end of a line stands for the reference to the object shown by the arrow on the
other end of the line.
The reference to a type circuit together with the pertinent parameters is called an instance of the
type circuit.
A type circuit can be instantiated, that is, referenced and supplied with parameters, several
times.
At the point in the project, when you have finished implementing circuits, you must locate the
circuits in the structure of the process station. The location list for a certain process station is
called a node structure (NS). You must consider aspects of process station load, response time
requirements, number of I/O channels, and so on, during this step. See Figure 3-3.
HARDWARE SOFTWARE
M
Motor1 Circuit1
Type Circuit
M Motor Control
Process Node
Motor75 Station1 Structure1 Circuit75
Valve1 Circuit76
Type Circuit
Valve Control
Process Node
Valve22 Station8 Structure8 Circuit97
We may choose, for example, Circuit1 and Circuit76 to run on a process station.
The corresponding NodeStructure1 references these circuits and assigns physical locations to
the I/O channels used in them. That is what we call to locate a circuit.
A circuit can be located only once.
Finally, you can generate executable code for a certain process station (node within a process
control network) if the references in the corresponding node structure to circuits and type
circuits are resolved and their contents are expanded. See Figure 3-4.
HARDWARE SOFTWARE
M
Motor1 Type Circuit
Motor Control
Type Circuit
Valve Control
M
Process Node1
Motor75 Station1
Type Circuit
Valve Control
Process Node8
Valve22 Station8
NOTE
Since Function Chart Builder release 4.7 you can locate circuits directly in nodes.
The circuits are resolved and disintegrated at the time of their location. That also
means that steps 3 and 4 are merged. However, locating circuits directly in nodes
is not recommended in independent mode.
Preparation
Before starting the Function Chart Builder you generally start the Application Builder to select a
project and an object to work on.
If you follow the function-oriented project engineering method described in Section 3.1, Design
Considerations - General Working Method, you generally select a node structure, a circuit, or a
type circuit.
You can also select a node in a straightforward way.
See Application Builder User’s Guide for detailed description of Application Builder menus and
commands.
The Function Chart Builder opens the application window like the one shown by Figure 3-6.
It has the title “Function Chart Builder - …” with the name of the selected object,
a Menu Bar, a child window and optionally the Toolbar and the Status Bar.
If you start the Function Chart Builder for the first time on a new object of a project and no
project default page layout was defined in the Application Builder, define the page layout for
your diagrams in the following dialog box:
For the Page Setup dialog see the File | Page Setup command.
Objects
Node
Node structure (NS)
Circuit (CI)
Type circuit (TC)
You can work simultaneously on different parts of your project because the Function Chart
Builder allows connections to virtual elements (elements that are already specified but not yet
implemented).
Working with references to objects and their interfaces rather than working with object contents
ensures that you have a high degree of flexibility when you make modifications.
Expand object contents and check their interface during the late instantiation phase of the
project.
Textual representation, or source code, for all objects enables you to import customer data.
Generating
Generating
Generating
Expanding and
checking
node data
Editing Generating
to AC 100 Series
For more detailed flow charts see Appendix B, Data Flow in Function Chart Builder.
4.2.3 Editors
The Function Chart Builder provides view-oriented editors to manipulate elements of the
PC section, DB section, symbol section, and TC/CI terminal section.
The editors also handle references to type circuits and circuits.
The Function Chart Builder offers two kinds of diagrams for graphical representation of
PC sections:
• Tree diagram that gives you an overview of the control logic
• Function chart that gives you a more detailed view, including the connections between
the PC elements, circuits, and type circuits.
The Function Chart Builder has two PC editors corresponding to the two kinds of diagrams:
• Tree editor that enables you to create, modify, and delete PC elements
• Function chart editor that also enables you to connect and disconnect terminals.
In the DB section, the DB editor functions enable you to create, modify, and delete DB
elements and edit DB element properties.
In the symbol and TC/CI terminal sections, use the symbol editor to declare, modify, and delete
symbols and terminals, and define their type and default values or formulas.
For Advant Controller 100 Series targets the Function Chart Builder provides on-line editing
and test functions and diagnostics.
Advant Engineering products, like the Function Chart Builder, are available as a set of 32-bit
applications to be installed and used under Windows NT® and Windows® 2000.
We suppose that you have an engineering station, that is, an AS 100ES or a PC, and Windows
NT or Windows 2000 and the corresponding products are installed on it. We suppose also that
you are familiar with handling programs in Windows and with general Windows terms.
NOTE
Earlier releases of Advant Engineering products were available also as 16-bit
applications running under Windows for Workgroups™. The windows, dialogs,
and usage of Advant Engineering product components is very similar under each
of the Windows operating systems.
NOTE
Selecting node type and options means selecting a set of precompiled PC and DB
element libraries or selecting support of special target system features. Additional
PC and DB element libraries created by customers are also bundled as options.
The Function Chart Builder initializes the internal data representation of the node
TT_10/TT_10_PW, creates system DB elements, that is, inserts them for this node, then looks
for type circuits and circuits in the project-specific type circuit and circuit directories and in the
level1 and level2 type circuit element libraries, and checks if they are compatible with the actual
Function Chart Builder version (they must contain the lines VERSION TC 3 and TC_TYPE …
or VERSION CI 3 and CI_TYPE …).
You started the Function Chart Builder for the first time on a new object of the TT_10 project
and no project default page layout was defined in the Application Builder. The Function Chart
Builder presents the Page Setup dialog box, where you have to define the page layout for your
diagrams.
Set the following template and page size by using the mouse or the keyboard:
Activate the OK button. The Function Chart Builder opens the TT_10_PW.ODB window as
container for the initialized *.ODB file of TT_10_PW.
The *.ODB file is the internal, binary representation of objects in the Function Chart Builder.
The TT_10_PW.ODB window lists the sections of the TT_10_PW node:
• PC section with no, one, or more PC programs consisting generally of PC elements
• DB section containing DB elements.
Node structures, circuits, and type circuits generally have a symbol section containing symbols
used as parameters of type circuits and circuits.
Circuits and type circuits generally have also a TC/CI terminal section containing symbols used
as terminals of type circuits and circuits.
Move the cursor over the figure in the Help window. The cursor changes to a hand if
there is additional help information pertaining to the given part of the figure. This happens, for
example, over the PC Program combo box. If you click with the mouse, the additional help
information is displayed in a popup window. Click to some other part of the Help window to
close it.
Navigate in the Help also by clicking on underlined (and generally green colored) words.
By clicking, for example, on PC Section window you get help information on the PC Section
window. The buttons Contents, Index, and so on, and the menu commands make it easy to get
the information you need, to navigate and find your way back.
By activating the Glossary button you find the Function Chart Builder-specific terms.
To access general, Windows related terms, choose the Help command in the Windows Start
menu, open Glossary, then double-click on Glossary Entries.
To access help on Windows Help, choose the Help | How To Use Help command.
Click with the mouse on the close button of the Help window or the possible secondary
windows to close them.
To get immediate, context-sensitive help
1. Select the Help | On Context command by clicking with the mouse on the icon in
the Toolbar. The cursor changes to the form as shown in the icon.
2. Click on the window, dialog box or command name, about which you need information.
Windows opens the Help window if it is not open yet, and displays the corresponding help
information.
Click, for example, on the TT_10_PW.ODB window.
You get help on the *.ODB window.
To get help in dialog boxes, press F1 or activate the Help button.
One of the comfortable ways to configure the panes of the PC Section window is the following:
1. Split the window vertically into two panes.
2. Display the tree diagram in the left pane for overview and fast navigation.
To define this view, select the left pane and choose one of the View | Tree … commands.
To see the contents of the PC Element, Headline, and Page columns appropriately, resize
them by dragging and dropping the divisions that separate the header parts at the top of the
pane.
3. Display the function chart in the right pane for editing and connecting PC elements.
To define this view, select the right pane choose the View | Function Chart command.
The tree diagram and the function chart of PC1 is displayed in the following way in the PC
Section window:
Check that the Status Bar (at the bottom of the Function Chart Builder window) does not
display the SCRL indicator, that is, the slide mode is cleared. If necessary, clear the SCRL
indicator by pressing the SCROLL LOCK key.
Choose the Edit | Create command.
The Create Element dialog box appears. The list box contains all PC elements that can be
inserted on one level lower than the PCPGM.
Select CONTRM by clicking on it in the list box and activate the Call Parameters button.
The Function Chart Builder displays the Edit Call Parameters dialog box.
Enter the call parameter values 100 [ms] and 2nd place by clicking on each call parameter in the
list box, then editing their values in the Value text box as shown in the following figure:
Activate the OK button (of the Edit Call Parameters dialog box).
The Function Chart Builder closes the Edit Call Parameters dialog box.
Alternatively, you could have directly edited CONTRM(100,2,0) in the Callname text box of
the Create Element dialog box as shown in Figure 4-11.
Activate the Apply button in the Create Element dialog box.
The Function Chart Builder has created a CONTRM element and latter has become the selected
PC element in the PC Section window of PC1. Nevertheless, the Create Element dialog box
has remained open.
NOTE
Both the tree diagram in one pane and the function chart in the
other pane reflect the changes of the represented PC program.
Insert a page division at CONTRM PC1.2 in the same way but leave the headline empty.
To edit the headline of page division at CONTRM PC1.2, proceed as follows:
1. Select CONTRM PC1.2 in the tree diagram.
2. Choose the PC Section | Layout | Modify Page Division command.
(If you click with the right mouse button on CONTRM PC1.2 in the tree diagram, the
context menu contains in this case also the Layout | Modify Page Division command.)
3. Fill the Modify Page Division dialog box as shown in the following figure:
Resize the panes and select pane 2 of the PC Section window with the function chart of PC1,
for example, by pressing F6.
Use the PC Section | Goto Page | … commands to see every page of the function chart.
Use the PC Section | Goto Element | … commands to move the selection from PC element to
PC element. You automatically slide also pane 2 of the PC Section window over the function
chart in a way that the selected PC element always becomes visible.
Drag the scroll boxes to slide pane 2 horizontally and vertically over each function chart page to
see also the header and the headlines over the headers.
Try the arrow buttons in the left bottom part of pane 2 as alternative mouse shortcuts for
navigation in the PC program.
To see only a subset of the DB elements, select another filter criterion from the Filter/Item Des.
drop-down combo box. Do not use other filter criteria than those listed here.
Or edit the text box part of the Filter/Instance Name drop-down combo box and press ENTER to
set a filter criterion for the name property of the DB element instances to be listed.
To create a new DB element, activate the Create button. Alternatively, you can create a DB
element by the Edit | Create command provided the DB Section window has the focus.
The Function Chart Builder displays the Create Element dialog box for DB elements. Select DI
in the list box or enter DI in the Callname text box as shown in the next figure.
Leave the proposed DI* item designation of the DB element to be created in the Instance text
box. The * is a wildcard standing for the first free item designation.
The Function Chart Builder application window closes, Application Builder regains the focus.
Fill the Create Symbol dialog box for the <CH_NR> symbol as shown in the following figure:
Note the asterisk ‘*’ at the end of the window title. It shows that the contents of the pertaining
section has been changed since the last Save command.
For the OUT terminal fill the dialog box as shown in the following figure:
The Function Chart Builder opens the Connect to DB dialog box and offers all the existing DB
elements of TC_10_T1 with terminals, which have the same data type as the terminal previously
selected in the function chart.
Select DI<MOD_NR>.<CH_NR>. VALUE is the default terminal to be connected. You can
select the DB terminal to be connected explicitly in the list part of the DB Terminal drop-down
combo box.
Activate the OK button in the Connect to DB dialog box, then the Apply/Next button in the
Connect dialog box.
The next terminal of the AND element is automatically selected in the Item Designation text
box. Clear the To text box by pressing DEL. To connect the selected terminal to a terminal of the
type circuit, activate the TC/CI Terminal button.
The Function Chart Builder opens the Connect to TC/CI Terminal dialog box and offers all
the existing type circuit terminals of TC_10_T1, which have the same data type as the terminal
previously selected in the function chart.
Select IN. Activate the OK button in the Connect to TC/CI Terminal dialog box, then the OK
button in the Connect dialog box.
Select the output terminal of the OR element, for example, by the PC-Section | Goto | Next and
the PC-Terminal | Goto | Last commands.
Or, you can activate the Next button in the Connect dialog box to select the output terminal of
the OR element as the next unconnected PC terminal.
To connect it to a type circuit terminal, choose the PC-Terminal | Connect command. Open the
drop-down list box of the To group box to see the recent connection strings. Edit T=<OUT> in
the To text box of the Connect dialog box. Activate the OK button.
The PC Section window regains the focus.
You see the following ready function chart of TC_10_T1:
Scroll the pane with the function chart in the PC Section window down.
Just above the footer you see the resolution of the placeholder >1):
>1) =DI<MOD_NR>.<CH_NR>/IN<MOD_NR>_<CH_NR>
Activate the OK button in the Edit Symbol Values dialog box and then in the Create Element
dialog box.
The Function Chart Builder instantiates the type circuit and writes error messages, warnings,
and messages in the Output window. Open it by the Window | Output command.
Check the last line in the Output window:
TC instantiated without errors.
Click with the mouse on the close button (or double-click on the Control Menu button
) of the Output window to close it.
The instantiated type circuit box PC1.1.2 appears below the AND element in the PC Section
window, in both panes.
The box contains the callname of the type circuit and the names of the type circuit terminals.
Default values are connected (if possible) to the type circuit terminals. For this reason, you find
the constant 1 connected to the input terminal IN of the type circuit.
Figure 4-30. Pane with Function Chart of PC1 of TT_10_PW, Final Stage
NOTE
In the function chart <n USERS> indicates multiple connection. We connected at
first D=1 to PC1:ON and D=0 to PC1:R, then PC1:ON to PC1.1:ON, and PC1:R
to PC1.1:SINGLE and PC1.1:R.
Generate source code for the complete node by the File | Generate Source command.
The Function Chart Builder opens the Generate Source Code dialog box. Specify PWST as
source code file name as shown in the following figure:
Frame
Text area
Headline
Footer
You defined some headline texts with the page divisions for the function chart of the PC
program already in Section 4.3.6, Inspecting the Function Chart and the Tree Diagram.
You define the text of the footer separately for the documents of the DB section and for the PC
section. The footer of the DB section serves also for other DB related documents. The footer of
the PC section serves also for other PC program related documents.
To define the footer texts for PC1 as shown in Figure 4-32, click on the PC Section window, or
if it is closed, open it.
Choose the Edit | Document Texts command. You find this command also in the context menu
if you click with the right mouse button on the footer in the function chart pane.
The Function Chart Builder opens the Edit Document Texts - PC1 dialog box.
By pressing the TAB key you can step from a text area to the next one.
Enter appropriate texts. Then activate the OK button.
You can define the footer texts for the DB documents in a similar way. Just be sure the
DB Section window has the focus before choosing the Edit | Document Texts command.
The Function Chart Builder opens the Print PC Section dialog box.
Select here Function Chart and All Pages in the Function Chart group and All Elements in
the Tree group. Select Print Only on Success in the Page Layout Check group.
Then activate the OK button of this dialog box to close it.
To start printing, activate the OK button of the Print dialog box.
The database listing is printed.
Print Only on Success is selected. So the Function Chart Builder checks at first whether all the
pages of the PC diagram can be printed with the current layout. In our example the PC diagram
layout check passes, and the PC diagram is printed.
Finally, the tree diagram is printed.
Choose the File | Exit command to leave the Function Chart Builder.
NOTES
The exercise in this section shows you only one of the ways of working with
circuits (and type circuits) in a node structure. It does not reflect the large variety
of type circuit and circuit usage.
After completing the exercises in the previous sections, you are experienced in working with
Function Chart Builder menus, commands, and dialog boxes. For this reason, in the following
we describe the operator actions just on Function Chart Builder command level and not as
keyboard or mouse actions, stroke by stroke.
MOT_TOP
MOT_BOT
Preparing CRDIN
CRDIN must create the DB element DI for a digital input module each time it is instantiated.
We suggest for it the module number <DI_NR> as a parameter.
NOTE
A symbol is here the natural choice. A TC terminal would not be the appropriate
means to convey a (parameter) value to the type circuit.
Preparing CRDOUT
CRDOUT must create the DB element DO for a digital output module each time it is
instantiated. We suggest for it the module number <DO_NR> as a parameter.
Select CRDOUT and start the Function Chart Builder.
Create the new Symbol Section window. Define DO_NR as an IU symbol, type A*18, with a
default value of 1.
Create the new DB Section window. Create a single DO element DO<DO_NR> with default
terminal values.
Generate source code for the complete type circuit. Exit the Function Chart Builder.
Preparing PUSHB
PUSHB must create a piece of PC program. It does not need to have parameters.
When instantiated, it will be connected to its environment by its terminals.
Select PUSHB and start the Function Chart Builder.
NOTE
These circuits are very simple. Real circuits may contain PC elements as glue
logic, DB elements, and several type circuits instantiated in the PC or DB section
of the circuit.
Preparing INPUT
INPUT must provide the signals of a digital input module.
Create the DB element for the module with CRDIN.
For INPUT we suggest the module number <DIMODULE> as a parameter. It is a symbol of the
circuit. It is to be substituted as actual value of DI_NR, that is, of a symbol of the type circuit
CRDIN contained in this circuit. So DIMODULE will pass a value from the environment of
INPUT over to the final DI element inside of CRDIN.
Select INPUT in the Application Builder and start the Function Chart Builder.
Create the new DB Section window. Insert a single type circuit CRDIN.
Enter <DIMODULE> as the actual value for its DI_NR parameter.
Now you have referenced <DIMODULE>, a symbol that is not declared yet in the symbol
section. In this case the Function Chart Builder calls the Create Symbol dialog box
automatically and lets you declare symbols “on the fly”.
Define DIMODULE as an IU symbol of type A*18 with a default value of 1.
Consider that DIMODULE is a parameter of the circuit. If an actual value is assigned to it later,
it will also be transferred to DI_NR.
Node structure
INPUT
Circuit
CRDIN
Type circuit
IN<DI_NR>
(DB element) <DI_NR> = <DIMODULE> = actual value
at instantiation
NOTE
After having created <DIMODULE>, do not forget to activate the OK button in
the Create Element dialog box to accomplish the instantiation of CRDIN in
INPUT.
In the DB Section window, $$TC1 is displayed to indicate that you instantiated a type circuit
containing a DB section but no PC section.
When instantiating a type circuit in a node structure or circuit, you insert only its frame
(envelope). The Function Chart Builder checks only the interface of the type circuit and asks
you to assign values to the parameters. The inside of the type circuit remains unknown and
invisible for the Function Chart Builder in these cases, corresponding to the principle of late
instantiation.
Generate source code for the circuit. Exit the Function Chart Builder.
Preparing OUTPUT
OUTPUT must provide signals of a digital output module.
Create the DB element for the module with CRDOUT.
For OUTPUT we suggest the module number <DOMODULE> as a parameter. It is to be
substituted as actual value of DO_NR for CRDOUT contained in this circuit. So DOMODULE
will pass a value from the environment of OUTPUT over to the final DO element inside of
CRDOUT.
Select OUTPUT in the Application Builder and start the Function Chart Builder.
Create the new Symbol Section window. Define symbol <DOMODULE>. If, for example,
you want to fix <DOMODULE> on circuit level, define it as a location-unique (LU) symbol.
Define its type and default value, for example, as A*18 and 1, respectively.
Create the new DB Section window. Insert a single type circuit CRDOUT. Enter
<DOMODULE> as the value for its DO_NR parameter.
For implicit symbol creation, see Preparing INPUT.
Consider that DOMODULE is a parameter of the circuit. If an actual value is assigned to it later,
it will also be transferred to DO_NR.
Generate source code for the circuit. Exit the Function Chart Builder.
Preparing MOT_*
MOT_* must create a piece of PC program. They do not need to have parameters.
When instantiated, they will be connected to their environment by their terminals.
Select MOT_TOP in the Application Builder and start the Function Chart Builder.
Create the new TC/CI Terminal Section window.
Create the Boolean input terminal PTOP. For PTOP enter 0 as the default value, select the
Dynamic attribute, and if set, clear the Non-Invertible attribute.
Create the Boolean output terminal GTOP.
Create the new PC Section window with the function chart. Insert the type circuit PUSHB once.
Connect pin 1 of the type circuit instance PUSHB to circuit terminal T=<PTOP>.
Connect pin 2 of PUSHB, that is, terminal GO, to circuit terminal T=<GTOP>.
You can use here also the shorter dedicated PC-Terminal | Connect Selected | To TC/CI
Terminal command.
Generate source code for the circuit. Exit the Function Chart Builder.
To keep it simple, prepare MOT_MID and MOT_BOT with the same content as MOT_TOP, but
name the terminals PMID and GMID and PBOT and GBOT, respectively.
NOTE
The MOT_* circuits are identical. Real motor control circuits having the same
interface may be very different.
Preparation in APB
In Application Builder create the new node WATER by the File | New | Node menu command.
Enter AC 450 with SW QC02-BAS21* 7.0 as node type, 001,003 as net and node. Do not enter
any comments. Do not select any options.
Select WATER and start the Function Chart Builder by the Tools | Node Structure Function
Chart Builder menu command.
Connecting Terminals
Disconnect the zeros from pin 1 of the circuits MOT_*.
By locating a circuit, you insert only its frame (envelope). Function Chart Builder checks only
the interface of the circuit and asks you to assign a value to the parameters. The inside of the
circuits remains unknown and invisible for Function Chart Builder while working on a node
structure (late instantiation). Nevertheless, you as user know the specification of type circuits
and circuits. You can also make connections immediately to terminals of DB elements that are
created within type circuits or circuits and exist and become visible only after the expansion of
these type circuits and circuits.
Connect pin 1 of the circuits to DI3.1, 2, and 3 by entering accordingly
=DI3.1 =DI3.2 =DI3.3
Connect pin 2 of the circuits to DO1.6, 8, and 10 by entering accordingly
=DO1.6 =DO1.8 =DO1.10
Connect the input terminals of PCPGM and CONTRM to appropriate constants 1 and 0.
PC1
PCPGM(20)
D=1 1 ON
D=0 2 R
.1
CONTRM(50)
DI1.1 DO 1.1/
1 ON RUN 5
DI1.2 CONTRM_RUN
2 >SINGLE MODP 6
DI1.3
3 R
DI1.4 .1
1 DO 1.2/
& 20
D=1 2 FLASH
3 o
Activate the OK button. If the following warning appears, activate its Yes button:
NOTE
If the corresponding option is set by the Options | Preferences command, the
Output window is iconized during target code generation for better performance.
In our example the target code generation list looks like Figure 4-42.
(You may have chosen the Window | Cascade command to rearrange the open windows.)
Leave the Function Chart Builder, choose File | Exit. The Application Builder regains the focus.
The Function Chart Builder tries to connect the controller and the engineering station.
If the conditions mentioned in Section 4.3.31, Preparing the Connection are not met, the
Function Chart Builder warns you, for example, by the following message:
In our example the Function Chart Builder establishes the connection between the AC 110
target (or other AC 100 Series target) and the engineering station successfully. Then it opens
two windows and shows the Status Report and the Options Report in them.
Suppose the RAM and the PROM of the target are empty.
The No errors detected static text is displayed and the Report Errors button is dimmed in the
Status Report if the target system has a correct state:
Not equal signs “<>” indicate differences between three columns of the Status Report.
See Section 4.3.37, Using the Diagnostics (Diagnosis) Program for case of errors.
The Options Report compares the options and the base software as selected on the engineering
station (in fact, in the Application Builder) and as available on the on-line connected target:
The options and the base software are identified in one of the following forms:
ident_string major_release . minor_release
ident_string major_release . minor_release / revision
For successful on-line operations the base software and all the options selected in the
engineering station must be available in the on-line connected target.
The ident_string, major_release, and minor_release of the item selected in the engineering
station must equal the ident_string, major_release, and minor_release of the corresponding item
available on the target. That means, revision is not evaluated.
In our example these conditions are met.
Download is an action modifying the state of the target. Release such actions by the keyboard,
rather then with the mouse. Press Y for Yes.
The Function Chart Builder downloads the application program.
The download has succeeded. So the Function Chart Builder offers switching to on-line mode.
To keep the capability of working on-line with this application, press Y for Yes.
Read and quit the warning at switching to on-line mode by clicking on the OK button:
The on-line mode is indicated in the Title of the document windows, for example:
Remember you generated target code and loaded it to the target. So the internal data
representation TT_10_DM.ODB corresponds exactly to the application program in the target.
Once in on-line mode, the Function Chart Builder will help you to keep the accordance of the
internal representation with the application in the target:
If you disconnect the target, the Function Chart Builder switches from on-line mode to on-line
preparation mode limiting the modification of the application and ensuring continuation of on-
line work after reconnection of the target.
NOTE
On-line preparation mode has been introduced with Function Chart Builder 4.6/0.
After the download, the Function Chart Builder opens the Output window and shows there the
protocol of the download. In case of our example it looks like this:
NOTE
Click with the right mouse button in the Output window to open a context menu.
Use the Save As context menu command to save the download protocol in a file.
For safety reasons the Function Chart Builder prompts you to confirm this command:
Release deblocking by the keyboard, rather then with the mouse. Press Y for Yes.
The Function Chart Builder deblocks the application program and updates the Status Report
window:
To block, that is, to stop, the application program in the on-line connected target, choose the
similar Target | Block Program command.
For safety reasons the Function Chart Builder prompts you to confirm this command:
Release saving in PROM by the keyboard, rather then with the mouse. Press Y for Yes.
The Function Chart Builder copies the application program from the RAM of the target to its
PROM and after a while informs you by the following message:
The Function Chart Builder updates the Status Report window again:
To identify and localize errors, use the Diagnostics (Diagnosis) program attached to the
Function Chart Builder.
NOTES
The Diagnostics (Diagnosis) program is adapted to the different diagnostics
features of both former and recent controller versions.
In case of AC 110 2.0, AC 70 1.0, and AC 55 1.0 the Function Chart Builder calls
the Diagnosis program.
In case of AC 100 Series targets of newer node types, such as AC 160, AC 110
2.1 and higher, AC 80, AC 70 1.1 and higher, and AC 55 1.1, the Function Chart
Builder calls the Diagnostics program.
In our case we have an AC 110 2.1 node and you exercise with the Diagnostics program.
Start the Diagnostics program by activating the Report Errors button in the Status Report
window or choose the Target | Diagnostics and then the Target | Report Errors command.
The Diagnostics (Diagnosis) program has the following functions:
• Reads the errors reported from the on-line connected Advant Controller 100 Series target
and collected since the last clear by an appropriate diagnostic command.
• Opens the Error Report window and displays the errors there.
Plug the battery. Or switch off-line, edit WITH_BAT=0 in the PM632 DB element,
generate target code, and reload it.
Delete the error. Leave Diagnostics with its own File | Exit command.
NOTES
Some errors are deleted by being read. Other ones need an explicit Diagnostics
command, for example, Target | Delete Reported Errors.
Errors Detected may indicate also errors which occurred during or at the end of
the previous connection.
For more information see Section 4.4.7.1, Diagnostic Procedures with the Diagnostics Program
and Section 4.4.7.2, Diagnostic Procedures with the Diagnosis Program.
(In case of AC 70 or 55, a power failure, caused by switching of the power for a short time,
may be a similar situation for exercising with the Diagnostics/Diagnosis program.)
Terms
The Function Chart Builder supports the following on-line test functions in the on-line
connected Advant Controller 100 Series target:
• Monitoring (display of) PC terminals
• Monitoring (display of) DB terminals
• Forcing PC terminals
• Forcing of the VALUE terminals of extended DB elements
• Setting writable and PC-connectable DB terminals.
Monitoring means a single or cyclic observation of a value in the on-line connected controller
and displaying it in the engineering station.
Forcing means preparation of a value in the engineering station and its forcing in the on-line
connected controller. The force value is effective in the application program running on the
controller until deactivation of forcing.
Setting means preparation of a value in the engineering station and setting it once in the on-line
connected controller. The set value is effective on the controller until the value is overwritten,
for example, by the application program itself in its next execution cycle.
Extended DB elements are complex DB elements with the following properties:
• They allow definition of signals independently of the hardware, also for MMI purposes.
• Encapsulate channel elements.
• Support signal distribution and event transfer on the Advant Fieldbus 100.
• Create automatically all the DB elements necessary for the communication, such as DSP,
DAT, EVS(S), and MDAT.
NOTE
Extended DB elements have been introduced with AC 110 2.1.
They are supported by Function Chart Builder versions 4.3/0 and higher.
The Function Chart Builder offers preparatory commands in the PC-Terminal menu and on-
line test commands in the Test menu.
The Function Chart Builder marks the terminal with asterisks ‘*’ in the function chart:
You can choose the View | Prepared Variables command to see (or hide) the PC terminals,
which are already selected for monitoring.
Choose the Window | Test Table command to open the Test Table window.
Select All in Signal Select Filter.
Resize the columns of the Test Table window by dragging the divisions that separate the header
parts, so that the columns Instance, Terminal, Value on Target, Type, and State become
visible.
The Function Chart Builder displays the monitored PC terminal values in the Value on Target
column.
To illustrate the alternative method, activate the Create/Edit button in the Test Table window.
The Function Chart Builder displays the Create/Edit Table Entry dialog box.
Edit PC1.1:3 as additional PC terminal to be monitored in the Element[:Terminal] or Signal
Name text box:
The Function Chart Builder displays the monitored values in the Test Table but also in panes of
PC Section windows with function chart, which are at the moment in the background.
The Test Table looks like this:
The Function Chart Builder application window and the PC-Section window look like this:
The Function Chart Builder updates the forced and monitored values in the panes of the PC
Section windows with function chart.
Choose the Window | Test Table command to open the Test Table with the forced values and
see the values also in table form.
Select All Force (DB & PC) in Signal Select Filter.
Resize the columns of the Test Table window by dragging the divisions that separate the header
parts, so that the columns Instance, Terminal, Force Value, Value on Target, Type, and State
become visible.
You can change the order of the columns by dragging the header parts to the required position.
You can also set or invert the sort order by clicking on the header part, according to which you
want to sort the entries.
An icon or in the corresponding header part indicates the sorting.
Choose the Test | Deactivate All Force Values command or select All in the Force group of
Test Table and click on the Deactivate All button to stop forcing the on-line connected target.
The Function Chart Builder prompts you to confirm this action:
Activate the OK button by pressing ENTER. Choose the Target | Disconnect command.
Due to the terminal selection for forcing in on-line mode the Function Chart Builder warns you:
Activate the Yes button to save the contents of the Test Table in TT_10_DM.ODB.
Disconnecting involves switching from the on-line mode to the on-line preparation mode.
Now the target is not connected any more but the on-line preparation mode ensures the
accordance of the internal representation with the application in the target, hence a later return
to on-line mode.
Activate the Create/Edit… button in the List Entry group of the Test Table window.
Enter =DO1.1 as DB element and VALUE as terminal to be monitored in the Create/Edit
Table Entry dialog box.
Select the For Display option.
Activate the OK button.
NOTES
Forcing DB terminals is supported only by extended DB elements that are
available, for example, for AC 110 version 2.1.
Forcing DB terminals is supported by the Function Chart Builder only from its
version 4.3/0 on.
You can prepare force values only for the VALUE terminals of extended DB elements and force
them using the Test Table, the buttons in its Force group, and corresponding commands of the
Edit and Test menus.
For convenient use you have to select All or DB Force in Signal Select Filter and configure the
Test Table window appropriately.
Resize the columns of the Test Table window by dragging the divisions that separate the header
parts, so that typically the columns Instance, Terminal, Force Value, Value on Target, Type,
Description, and State become visible.
In the Test Table, in the State column a ‘D’ indicates an entry for monitoring,
a ‘P’ an entry prepared for forcing, ‘F’ a forced entry, and an ‘R’ an entry prepared for removal
from the table.
CAUTION
Forced PC and DB terminals behave differently on the on-line connected
AC 100 Series target if you disconnect it from the engineering station:
• At PC terminals, the force values will be deactivated on the target after its
disconnection.
• At DB terminals, the force values will remain active on the target after its
disconnection.
NOTE
Before setting a DB value, deactivate all PC elements that can overwrite the set
value. For example, keep the ON terminals of the corresponding PCPGM,
CONTRM, or other structure element forced to 0 for a necessary period.
You can use this function for testing cables in the following way:
You set some characteristic values and test with an instrument that corresponding levels
are present on cable ends or (physical) terminal connections.
In our example, suppose our target is connected and the Function Chart Builder is in on-line
mode.
Set DO1.2/FLASH to 1 by choosing the Test | Set DB Value command and filling the Set DB
Value dialog box appropriately.
This value is effective until a 0 generated on the output of AND(3) overwrites it in a next
execution cycle as controlled by CONTRM.
To achieve setting of DO1.2/FLASH to 1 for a long or definite duration, you should force the
ON terminal of CONTRM to 0 before.
• Adding connections between executable units is only allowed in the following way:
a. Fix the executable unit having the input terminal.
b. Connect the input terminal of the fixed executable unit to the output terminal of the
other executable unit.
• Some terminals of DB elements cannot be changed on-line.
• The PC and DB sections cannot be changed simultaneously.
All these restrictions hold in the case of substantial changes, that is, for those that are reflected
by the target code and are conveyed to target.
Changes of DB elements, PC elements and signals, item designations, page divisions, and
header and footer texts are generally unsubstantial. Though, in case of AC 100 Series nodes
supporting application retrieval or if you generate also information for HMI, you may have
completed the target code with some or all of these items. Then also their changes become
substantial.
If you have edited in on-line preparation mode, switch to on-line mode by the Target | Connect
command.
In on-line mode, use the File | Save and Load command to store the changes in the
AC 100 Series target. Thereafter, you can modify some other executable unit.
Choose the File | Save and Load command to make the changes effective in the target.
The Function Chart Builder generates target code for the modified executable unit.
You have to confirm the modification on the target:
NOTE
Click with the right mouse button in the Output window to open a context menu.
Use the Save As context menu command to save the download protocol in a file.
You can now test the application program, save it, load it to PROM of the target, and so on.
Or you can modify another executable unit.
The Function Chart Builder closes the Edit DB Terminal Values dialog box and displays the
DB Section window with modified contents as shown in the following figure:
Edit the DI1 DB element. Change its IMPL terminal from 1 to 0. Edit the DI1 again. Change its
IMPL terminal back to 1. This is to pretend a substantial change in the DB part.
Make an attempt to connect DO1.3:VALUE to the MODP output of CONTRM (PC1.1:6).
That means a violation of the rule “the modification can concern one executable unit”.
The Function Chart Builder displays the following warning:
Now you can make a change in the PC section (in another executable unit).
Try the method “connect terminals in other windows than PC Section” (an alternative to the
way shown in Section 4.3.16, Connecting PC Terminals):
Open a pane of the PC Section window with function chart and select the MODP terminal of
CONTRM.
Make the connection effective in the target by the next File | Save and Load command. Proceed
as in Section 4.3.48, On-line Editing of PC Program.
Finally, choose the File | Exit command to finish your Function Chart Builder session.
If applicable, confirm the following message, press Y to activate the Yes button:
• Test Table window for PC and DB terminals to be forced and monitored on-line in
AC 100 Series targets
• A second, third, and so on, PC Section window, DB Section window, and so on with the
Window | New command for comfortable work.
When you work with an on-line connected AC 100 Series target, use the commands Target |
Report … to open the following windows to get information about the target:
• Status Report window
• Options Report window
• Attribute Report dialog box.
When you work with an on-line connected AC 100 Series target, use the Target | Diagnostics
command to start the Diagnostics (Diagnosis) program and get more information about the
target.
The Diagnostics (Diagnosis) program offers own windows with the usual control elements to
facilitate the diagnosis of on-line connected AC 100 Series targets:
• Error Report window
• Module List window
• Module Diagnostics (Module Diagnosis) window.
In case of AC 110 2.0, AC 70 1.0, and AC 55 1.0 also the following windows are offered:
• Channel Diagnosis window
• Status Report window, similar to Status Report window of the Function Chart Builder.
See Section 4.5.22, Controls of Diagnosis, Section 4.5.23, Controls in Document Windows of
Diagnosis and Section 4.5.24, Menu Commands of Diagnosis.
Usage
Use the controls (integrated in Title Bar) to move, size, iconize, restore, and close the windows.
See Section 4.5.2, Controls in Document Windows.
Use the menus of the Menu Bar to choose commands concerning the active document window.
See Section 4.5.3, On Menu Commands, General.
Select the Toolbar icons as shortcuts to the most frequently used menu commands.
See Section 4.5.1, Controls in Title Bar, Toolbar and Status Bar.
Use the Status Bar to check keyboard state and connection state.
See Section 4.5.1, Controls in Title Bar, Toolbar and Status Bar.
Double-clicking in a list box activates also the default button, that is the button, which is
highlighted by a thicker outline.
When you are editing in a PC Section window, the Output window, or text boxes, you can open
the context menu, that is, a menu with the most useful commands in the given context, by
clicking with the right mouse button.
When you are editing in text boxes or in the Output window, to select a part of a text, proceed
as follows:
• Either click on one end of the text part, keep the left mouse button pressed, and move the
cursor with the mouse to the other end, then release the mouse button.
• Or click on one end of the text part, then press the SHIFT key and hold it down while
clicking on the other end.
You can change the presented content or the dimensions of windows, list boxes, panes, columns,
and so on, by dragging and dropping their frames, corners, scroll boxes, split bars, and
divisions.
To drag and drop a graphical element means the following:
Point to the graphical element with the cursor by moving the mouse. In this case the cursor
changes its form. Press the left mouse button and hold it down. That means you have
“seized” the element and you can drag it by moving the mouse. When you have positioned
or resized the element as required, “drop” it there by releasing the left mouse button.
• Different functions are assigned to double-click with the left mouse button:
Table 4-4. Default Commands in Function Chart Pane of PC Section Window on Double-click
Mouse shortcuts for use in PC Section windows, in panes with tree diagram
• To select a PC element, click on it.
• To extend the (multiple) selection to some other PC elements, press the SHIFT key and hold
it down while clicking on that PC element.
• To extend the (multiple) selection to the end of a PC element subtree on lower level, press
the SHIFT key and hold it down while double-clicking on a subtree element.
• Different functions are assigned to double-click with the left mouse button:
(If you want to connect other DB terminal than VALUE, select the DB element in the Item
Designation, Instance Name,… list box and the DB terminal in the DB Terminal drop-
down list box previously.)
• To switch from a referencing DB element, such as DSP, MVB, or MVI, to a referenced DB
element, such as a DAT or MVC, click with the right mouse button on the corresponding
REFn or CHANNELn terminal in the Edit DB Terminal Values dialog box.
Mouse shortcuts for use in Symbol Section windows
• To edit (modify) a symbol, double-click on the symbol.
The Function Chart Builder shows the Edit Symbol dialog box.
• To connect a symbol to the PC terminal, which is selected in the PC Section window, click
on the symbol in the Name, Kind,… list box with the right mouse button.
Mouse shortcuts for use in TC/CI Terminal Section windows
• To select a TC/CI terminal for modification, double-click on the terminal name.
The Function Chart Builder shows the Edit TC/CI Terminal dialog box.
• To connect a TC/CI terminal to the PC terminal, which is selected in the PC Section
window, click on the TC/CI terminal in the Name, No.,… list box with the right mouse
button.
Mouse shortcuts for use in Name Table windows
• To select a name for modification, double-click on the name.
The Function Chart Builder shows the Create/Edit Name dialog box.
• To connect the PC terminal, which is selected in the PC Section window, by a name
standing for a PC terminal, click on the name in the Kind, Name,… list box with the right
mouse button.
Mouse shortcuts for use in Test Table windows
• To select several lines of a contiguous part of the Instance, Terminal,… list box, click on
the first line to be selected, then press and hold down SHIFT while click on the last line to be
selected.
• To add (or clear) a single line to (or from) a selected contiguous part of the Instance,
Terminal,… list box, press and hold down CTRL while click on the line.
You can choose the Edit | Delete command to act on the selected lines all at once.
• To resize the columns, drag the divisions that separate the header parts Instance,
Terminal, and so on, to the required position.
• To change the order of the columns, drag the header parts Instance, Terminal, and so on,
to the required position.
• To set or invert the sort order, click on the header part Instance, Terminal, and so on,
according to which you want to sort the entries shown in the list box.
Mouse shortcut for use in the Output window
• To select a corresponding listfile, double-click on a line with a warning or error message.
• To open a context menu with the Goto, Find, Copy, Select All, Save As, and Print
commands, click with the right mouse button.
Mouse shortcut for use in the Module Diagnostics window of the Diagnostics program
To open a dialog box with additional information about an error in the on-line connected
target, double-click on a line with error state, error message, and so on, in the list box.
• Press SPACE to activate the selected button (the button, which is highlighted by a dashed
frame around its label) in dialog boxes.
• Press ESC to activate the Cancel button in dialog boxes.
• Press UP, DOWN, PGUP, PGDOWN, HOME, END, LEFT, RIGHT to move the selection within menus,
groups, list boxes, and so on.
• Press and hold down SHIFT while pressing UP, DOWN, PGUP, PGDOWN, HOME, END to extend the
(multiple) selection to a part of a text in text boxes or to several items within list boxes.
• Press DOWN to open a drop-down list box.
• Press SPACE to select or unselect a check box.
• Press CTRL+C to copy a selected text part to the Clipboard of Windows NT.
• Press CTRL+V to paste text from the Clipboard of Windows NT to the cursor position or to
overwrite selected text part.
• Press CTRL+X to cut a selected text part and move it to the Clipboard of Windows NT.
• Press CTRL+Y to redo the last undone action.
• Press CTRL+Z to undo the last action.
• Press DEL to delete selected text part in text boxes or selected item(s) in list boxes or
selected PC elements.
• Press the context menu key (available only on WIN95 keyboards) to open the context
menu.
4. Use the accelerator keys to select fields or activate buttons in the dialog boxes of the
Function Chart Builder. The accelerator key letters are underlined.
Examples:
– Press C to select the Callname… field in the Create Element dialog box.
– Press H to activate the Help button in several dialog boxes.
5. Other special shortcuts:
Press ALT+S to jump to graphic symbol selection in the Edit DB Terminal Values
dialog (or to the first terminal if the current DB element has only one graphic
symbol).
Scrolling (Sliding)
1. Check slide mode in the Status Bar.
2. If slide mode is cleared, set it by the Window | Slide command.
3. Use the following keys for sliding:
Table 4-6. Use of Keys for Sliding
Definition
Node and node structure are two aspects of the same program concerning a physical node.
The Function Chart Builder processes a selected node as node or as node structure depending on
the menu command, by which it is started from the Application Builder:
• Tools | Function Chart Builder
• Tools | Node Structure Function Chart Builder.
The node has all references resolved, the referenced parts are expanded, and it is fully checked.
A node consists of process control elements (PC elements) and data base elements
(DB elements), and of circuits and type circuits resolved at instantiation.
A node structure consists of located circuits, symbol value assignments, and also of glue logic,
such as instructions creating or modifying DB elements and PC elements, even instantiated type
circuits. It emphasizes the structure of the node. It references the located circuits and
instantiated type circuits rather than containing them resolved.
NOTE
Expert users may allow virtual connections also in nodes,
see Options | Preferences command.
Methods
The Function Chart Builder supports two methods:
• Function oriented project engineering method based on node structures and circuits
(see also Section 3.1, Design Considerations - General Working Method)
• Straightforward method (you program nodes directly, possibly instantiate also type circuits
in them, and in rare cases, locate circuits in them).
Definition
Circuits are medium-level building blocks containing major, but variable, application program
parts prepared for a single use within a project. A circuit consists of symbol declarations,
PC elements, type circuit references, and instructions creating or modifying DB elements.
You can locate (insert) a circuit only once in a node structure, and since Function Chart Builder
release 4.7—though not recommended—, also in a node. By assigning values to symbols
(parameters) at insertion, you anchor the circuit in the node structure (and node) in a given way.
The purpose of circuits is to support the following:
• Projecting large applications part by part (for example, to project major control parts and
signal parts separately)
• Function-oriented projecting methods (specification of solutions independently from
actual nodes and physical layout of process automation equipment)
• Interfacing between projecting teams.
See also Section 3.1, Design Considerations - General Working Method.
Definition
Type circuits are low-level variable building blocks containing typical application program parts
prepared for repeated use within or throughout projects. A type circuit consists of symbol
declarations, PC elements, and instructions creating or modifying DB elements.
You can instantiate (insert) a type circuit several times in nodes, node structures, and circuits.
By assigning different values to symbols (parameters) at instantiation, you vary the function of
each type circuit instance.
Using type circuits is a classic way of structuring application programs.
NOTE
Editing of type circuits having variants and loops is not supported by the Function
Chart Builder. Nevertheless, variants and loops are allowed in type circuit source
code, and you can instantiate such type circuits by the Function Chart Builder.
Prerequisites
Use the Application Builder for these application procedures. For more information on the
Application Builder see Application Builder User’s Guide.
The object will have a certain node type and options. Be sure the pertaining PC and DB element
libraries are installed. AMPL PC and DB Element Libraries contain standard node types for
AC 100 Series and AC 400 Series. Other node types, like AC 166 and AC 80, and additional PC
and DB element libraries created by customers are also available bundled to libraries or options.
For installation see AMPL PC and DB Element Libraries Release Notes.
Retrieve a Node
The retrieval of an application from an AC 100 Series target by the File | Retrieve Application
command creates implicitly the corresponding node. No explicit object creation is necessary.
See Section 4.4.6.15, Retrieve Application from an AC 100 Series Target.
Preparation
Before starting the Function Chart Builder you generally start the Application Builder to select a
project and an object to work on.
See Application Builder User’s Guide for detailed description of Application Builder menus and
commands.
If you follow the function-oriented project engineering method described in Section 3.1, Design
Considerations - General Working Method, you generally select a node structure, a circuit, or a
type circuit.
You can also select a node in a straightforward way.
Phases of Start-up
1. At first, if the object is protected, you have to enter the password pertaining to the object.
See Section 4.4.2.6, Password Protection of Nodes, TCs, CIs for more information.
Furthermore, if another user has already started the Function Chart Builder on an object—
that means, he has opened the *.ODB file of the object—and you try to start Function
Chart Builder on the same object, you will be prompted to open a read-only copy and work
on it instead. Then you can view and print the object but you cannot change it.
2. The Function Chart Builder looks for type descriptions and element libraries referenced
and used by the object and checks whether they are consistent.
In due case, the Function Chart Builder warns you, displays the differences in the Output
window, prompts you to initialize, or even refuses starting up on the object and allows only
to choose the Help | …, File | Rebuild Element Types, and File | Exit commands.
See Section 4.4.2.7, Element Library Handling for more information.
3. The Function Chart Builder looks for a DBGENDEF.BAX file in the node directory, or in
..\PR_TC\TCDATA, or in ..\PR_CI\CIDATA depending on the current object.
This file, if it exists at all, contains DB system defaults (general defaults).
The Function Chart Builder checks it and lists the results in the Output window.
If DBGENDEF.BAX is correct, the Function Chart Builder applies the general defaults
taken from in DBGENDEF.BAX at source code generation, instead of the ones defined in
the current element library.
4. The Function Chart Builder opens the application window having the title “Function Chart
Builder - …” with the name of the selected object, a Menu Bar, a child window, and
optionally the Toolbar and the Status Bar:
5. If you start the Function Chart Builder for the first time on a new object of a project and no
project default page layout is defined in the Application Builder, define the page layout for
your diagrams in the following dialog box:
Workflow
1. After creation of a new node, type circuit, or circuit, the initial password is empty and the
node is not protected.
2. You can define an ODB password by File | Set Password command.
Enter here the password in the New Password and Confirm New Password text boxes.
The password has to consist of 8 to 50 printable characters, it is case sensitive.
a. In case you select “User Needs to Enter Password on FCB Startup...” no access to
this node is allowed without entering the correct password. The protection takes
effect at the next start of FCB.
Each time you start the Function Chart Builder on this node, you are prompted to
enter the correct password.
If you enter the correct password, the Function Chart Builder starts fully up, opens
the *.ODB window, and offers its commands. You can work on the object.
If you enter an incorrect password, the Function Chart Builder cancels the dialog and
exits automatically. You can neither see the application program (PC and DB
elements, symbols, terminals), nor change it, just try to enter the correct password
again.
b. In case you select “User can view Node,...” the protection takes effect after leaving
the File > Set Password dialog.
All menu items and buttons modifying ODB are disabled. The ODB is on Read only
mode. It's possible to connect to target and perform target control functions. In status
bar “View Only” mode is indicated.
c. In case you select “User can use Target Control Functions ONLY ...” the protection
takes effect after leaving the File > Set Password dialog.
All menu items but FCB | Exit and Target Control functions are disabled. PC/DB
Section window and ODB window cannot be opened. In status bar “Target Control
Only” mode is indicated.
CAUTION
Use password protection only if it is reasonable.
Be aware that there is no “back door” or “universal password” if you forget the
password. File | Initialize does not clear the password.
On the other side, files other than *.ODB, for example source code files, are not
protected.
3. You can change or clear the ODB password by the File | Set Password command. In these
cases you have to enter at first the old password. You can change the password by enter a
new password and / or you can change the access rights e.g. “User Needs to Enter new
Password ...” to “User can View Node ...”.:
The access rights are reset to the Function Chart Builder default behavior after the
password is cleared.
NOTE
Do not mix up the ODB password with the target password.
See Section 4.4.6.7, Target Access Protection.
\DB_LIB and \PC_LIB. Additional element libraries are referenced, compiled, and stored in a
similar way. See also Appendix A, Function Chart Builder Files.
From time to time, node type descriptions and libraries are modified and released, normally
together with Function Chart Builder releases and new releases of Advant Controllers.
Different library releases are not fully compatible with each other, nor with other
Function Chart Builder releases.
4. The Function Chart Builder compares the found type descriptions and element libraries
with the ones referenced and used by the current object. The latter information is stored in
the internal data representation (*.ODB file) of the object.
In due case, the Function Chart Builder warns you, displays the differences in the Output
window.
Example of library differences:
Documents
The documents, such as diagrams, data base listings, consist of pages.
Pages
The pages have a text area (or desk area), a frame, a footer, and—in case of function charts—
a headline immediately above the footer.
For the function chart you can change the page divisions and specify the pagination.
You generally do this after editing the function chart.
To specify page divisions and page numbering proceed as follows:
1. Select one of the PC Section windows.
You get more overview if you select a PC Section window pane with tree diagram.
2. Use the PC-Section | Page Layout | … commands.
3. In case of layout problems you may have to redefine the layout.
Layout
You generally specify the layout of your documents at the start of a new project.
To specify the default layout for all the documents of a project, use the File | Page Setup
command of the Application Builder.
For more and detailed information on the Application Builder see Application Builder User’s
Guide.
To specify the layout for the documents of an object, use the File | Page Setup command of the
Function Chart Builder.
You can do the following:
• Select one of the templates delivered with the Advant Engineering products.
Expert users may want to add new templates, see Section 4.4.2.11, Creation of Own
Templates.
• Set the number of rows and columns to be printed in the text area of a page.
• Use the defaults as set for the project within the Application Builder.
Your selection has to harmonize with the size and orientation of the selected paper.
See Section 4.4.2.9, Support of Display Adapters and Printers.
Footer
If you are working on a node, you can define the texts in the footer differently for the documents
of each PC program and of the DB section.
If you are working on a node structure, circuit, or type circuit, you define the texts in the footer
only once, and they are valid for all the documents.
To specify the contents of the footer, select the corresponding section window and use the
Edit | Document Texts command.
The footers of the selectable templates correspond to international standards.
Headline
A function chart page may contain a headline immediately above the footer. You may specify a
different headline for each function chart page.
To specify the headline, select the PC Section window and use the
PC-Section | Page Layout | Insert Page Division, PC-Section | Page Layout | Modify Page
Division, and PC-Section | Page Layout | Copy Headlines commands.
General
The templates define the outlines, sizes, and fields of documents.
In case of Advant Engineering products Application Builder, Function Chart Builder, and
On-line Builder, the file foot001.TPX file contains the standard template set.
When you work on an object of a project, the Application Builder, Function Chart Builder, and
On-line Builder offer the templates of the template set selected for this project.
CAUTION
Be careful when selecting and deleting an object. The Application Builder deletes
all the files of the selected object, even its source file!
To delete a whole project with all its objects, use the File | Delete | Project menu command.
CAUTION
Be careful when deleting a project. The Application Builder deletes all files of the
pertaining objects, even their source files!
NOTE
Upgrading of objects after installation of a new FCB release is supported by the
File | Update FCB Data | Project and File | Update FCB Data | Selected
commands of the Application Builder (version 2.7 and higher).
If you exit the Function Chart Builder, the Application Builder gets generally the focus and
becomes the active Windows application.
If you exit the Diagnostics (Diagnosis) program, the Function Chart Builder gets generally the
focus and becomes the active Windows application.
Preparation
Start the Function Chart Builder by the Tools | Function Chart Builder menu command from the
Application Builder.
Editing a Node
See Section 4.4.4.1, Choice of Sections to Section 4.4.4.12, Create/Edit/Delete a DB Element.
NOTE
When you update your Function Chart Builder release, regenerate your nodes
belonging to your project. See Section 4.4.2.13, Regenerate an Object.
instantiation.
• Symbols serve as internal symbols (within the type circuit).
– They can simplify long symbolic expressions and symbolic formulas.
– They can combine use of arithmetical, logical, and relational operations allowed with
calculated symbols and the use of concatenation allowed with non-calculated
symbols.
To specify symbols, see Section 4.4.4.13, Create/Edit/Delete a Symbol.
NOTES
You can instantiate a type circuit if its source code is available in the project-
specific type circuit directory (..\NODES\PR_TC\TCDATA) or in the level1 or
level2 type circuit element libraries.
When you update your Function Chart Builder release, regenerate your type
circuits belonging to your project. See Section 4.4.2.13, Regenerate an Object.
See also
Figure B-3 in Appendix B, Data Flow in Function Chart Builder.
General
See Section 4.4.4.1, Choice of Sections to Section 4.4.4.14, Create/Edit/Delete a TC/CI
Terminal.
Preparation
Keep your project-specific type circuits and the type circuit element libraries as source code
files in the project-specific type circuit directory (..\NODES\PR_TC\TCDATA) and in the
level1 or level2 type circuit directories, respectively.
When you start the Function Chart Builder, it finds the *.TCS source files and checks if they are
compatible with the actual Function Chart Builder version (they must contain the lines
VERSION TC 3 and TC_TYPE …).
A list of improper type circuits is stored in TCERRORS.LIS file.
Type circuits, which contain DB elements and which were instantiated in the DB section, are
shown by $$TC in the DB Section window.
Type circuits, which contain DB elements and which were instantiated in the PC section, are
shown by $$DB_OF_TC in the DB Section window.
See also
Figure B-2 in Appendix B, Data Flow in Function Chart Builder.
NOTES
You can locate a circuit if its source code is available in the project-specific
circuit directory (..\NODES\PR_CI\CIDATA).
When you update your Function Chart Builder release, regenerate your circuits
belonging to your project. See Section 4.4.2.13, Regenerate an Object.
See also
Figure B-4 in Appendix B, Data Flow in Function Chart Builder.
General
See Section 4.4.4.1, Choice of Sections to Section 4.4.4.14, Create/Edit/Delete a TC/CI
Terminal.
Preparation
Keep your project-specific circuits as source code files in the project-specific circuit directory
(..\NODES\PR_CI\CIDATA).
When you start the Function Chart Builder, it finds the *.CIS source files and checks if they are
compatible with the actual Function Chart Builder version (they must contain the lines
VERSION CI3 and CI_TYPE …).
A list of improper circuits is stored in CIERRORS.LIS file.
NOTES
You can locate several circuits in the node structures (and nodes) of a project, but
you can locate each circuit only once.
Locating circuits directly in nodes is not recommended in independent mode.
Preparation
Start the Function Chart Builder by the Tools | Node Structure Function Chart Builder menu
command from the Application Builder.
NOTES
You can expand node data if the node structure source code is available in the
\CIDATA subdirectory of the node.
When you update your Function Chart Builder release, regenerate your node
structures belonging to your project. See Section 4.4.2.13, Regenerate an Object.
See also
Figure B-5 in Appendix B, Data Flow in Function Chart Builder.
Preparation
1. Keep the node structure source code files in the \CIDATA subdirectory of the node.
2. Start the Function Chart Builder by the Tools | Function Chart Builder menu command
from the Application Builder.
3. Initialize the node if necessary.
Definition
1. You are working according to the straightforward method. You program nodes directly and
instantiate type circuits in them. Suppose that the node is edited ready. Then you change
the type circuits and generate new type circuit source code.
2. You are working according to the function oriented project engineering method.
You program node structures and circuits and expand node structures to nodes.
Suppose the node structure is ready and you have expanded it. Then you change type
circuits and circuits and generate new type circuit and circuit source code, respectively.
In both case you have to update the instances of the changed objects to make the changes
effective in the node.
Preparation
1. The new type circuit source code, if any, is available in the project-specific type circuit
directory (..\NODES\PR_TC\TCDATA) or in the level1 or level2 type circuit directories.
The new circuit source code, if any, is available in the in the project-specific circuit
directory (..\NODES\PR_CI\CIDATA). To take them into account during the current
Function Chart Builder session, use the File | Rebuild Element Types command.
2. In case of the straightforward method edit the node and find out the symbol values that
were set at the instantiation of the old type circuits.
In case of the function oriented project engineering method edit the node structure and find
out the symbol values that were set at the instantiation of the old type circuits and at the
location of the old circuits.
• Open or select the PC Section window pane with the function chart if you want to have a
more detailed view of the control logic, including the connections between the PC
elements, located circuits, and instantiated type circuits.
Use the View | Function Chart and View | Tree … commands to select the corresponding view
in the active pane.
DB Section
To create and edit data base, create or open the DB Section window by the
File | New Section | DB or File | Open Section | DB command.
The following section is also available if you are working on a circuit or a type circuit or a node
structure:
Symbol Section
To create and edit symbols, create or open the Symbol Section window by the
File | New Section | Symbol or File | Open Section | Symbol command.
The following section is also available if you are working on a circuit or a type circuit:
NOTES
Unless you resolve and disintegrate instantiated type circuits and located circuits,
you cannot reach their inside, you cannot insert further PC elements inside them,
and you cannot insert further PC elements on a lower level below them.
If you miss some PC elements in the list box of the Create Element dialog box,
be sure you selected the appropriate filter, for example, ‘*’, element type, and
insert level.
NOTE
If you move a structure element, its subordinate elements are also moved.
NOTES
The Function Chart Builder offers many alternatives of connecting by commands
in the Menu Bar and the context menu and by buttons in dialog boxes.
In this section we give only one general alternative for connection.
To be able to select PC elements and PC terminals by shortcuts UP, LEFT, and so on,
be sure the slide mode is cleared. See Window | Slide command.
When you connect terminals, for a better overview of the PC program open more
than one PC Section window by the Window | New command.
4. The Function Chart Builder suggests a connection definition in the To text box of the
Connect dialog box on the basis of the recent connections.
Accept it or select another one from the list box part of the To text box.
Or edit a new connection definition.
In many cases instead of disconnecting some terminals and then connecting other ones you
can simply re-edit the connection definition.
5. Activate the OK or the Apply/Next button.
See also
Section 4.4.1.2, How to Use the Mouse for mouse shortcuts to simplify connecting,
Section 4.4.8.5, Use of Symbols for connections to symbols and symbolic expressions,
Section 4.4.4.5, Connect Terminals by Dedicated Commands, and
Section 4.4.4.6, Connect Terminals by Mouse for further alternatives.
NOTES
The Function Chart Builder offers many alternatives of connecting by commands
in the Menu Bar and the context menu and by buttons in dialog boxes.
In this section we give only one alternative for each kind of connection.
To be able to select PC elements and PC terminals by shortcuts UP, LEFT, and so on,
be sure the slide mode is cleared. See Window | Slide command.
When you connect terminals, for a better overview of the PC program open more
than one PC Section window by the Window | New command.
Preparation
1. Select the PC Section window pane with the function chart.
2. Select (or select and mark) the PC element and the terminal, which you want to connect.
For selection and marking you can use the commands Edit | Find, PC-Section | Goto
Element | …, PC-Terminal | Goto | … and PC-Terminal | Mark, respectively.
See also
Section 4.4.4.6, Connect Terminals by Mouse to simplify connecting,
Section 4.4.8.5, Use of Symbols for connections to symbols and symbolic expressions.
Preparation
1. Select the PC Section window pane with function chart.
2. Select (or select and mark) the PC element and the terminal, which you want to connect,
by clicking on it (with the left mouse button).
3. Prepare an other window of the appropriate section to show the item to be connected with
the PC terminal selected in step 2.
Purpose
The Function Chart Builder allows multiple selection during on-line editing in the PC section,
that is, the selection of more than one PC element, to support and enhance the cut, copy, and
delete function. Due to the tree structure of PC programs, the Function Chart Builder supports
contiguous multiple selection only.
NOTE
The Edit | Cut or Edit | Delete command must not
leave any subtree without “father” element.
Selection from lower level of a subtree to higher level of another subtree is NOT ALLOWED.
Purpose
To copy or move one or more PC elements (or instantiated type circuits or located circuits) with
its or their connections, names, and symbol values to a so called paste buffer and then to copy
the contents of the paste buffer to the PC section.
Cut, copy, and paste are possible during off-line editing having the following scopes:
• Within one object (node, node structure, type circuit or circuit)
• Between objects of same or different type within a project
• Between objects of different projects
• Between different versions of Function Chart Builder supporting cut, copy, and paste.
Cut
1. Select one or more PC elements (or instantiated type circuits or located circuits), or one or
more PC programs or the whole PC section. See Section 4.4.4.9, Multiple Selection of PC
Elements.
2. Choose the Edit | Cut command.
The Function Chart Builder copies the selection to the paste buffer and then deletes the
selection.
Copy
1. Select one or more PC elements (or instantiated type circuits or located circuits), or one or
more PC programs, or the whole PC section. See Section 4.4.4.9, Multiple Selection of PC
Elements.
2. Choose the Edit | Copy command.
The Function Chart Builder copies the selection to the paste buffer.
Paste
1. Preparation
a. It is supposed that due to the last Cut or Copy command the paste buffer contains the
PC elements you want to paste. If necessary, select another object or an object in
another project, or start a new session with another version of Function Chart Builder
supporting cut, copy, and paste.
NOTE
It makes no difference whether the paste buffer contents stem from PC Section
window pane with function chart or tree diagram, or an *.ODB window.
b. Be sure the options (PC element libraries) selected in Application Builder for the
current object contain all PC elements to be pasted.
If you want to paste also instantiated type circuits or located circuits, be sure they are
present in the PR_TC and PR_CI subdirectory pertaining to the current object.
If necessary, select or copy the libraries using commands of Application Builder.
c. The Function Chart Builder does not create automatically DB elements, TC/CI
terminals, or symbols when it replaces connections to them.
So create corresponding DB elements, TC/CI terminals, and symbols before paste.
d. Select a single PC element (or instantiated type circuit or located circuit) as insertion
point in the PC Section window pane either with function chart or tree diagram.
The insertion point has to match to the first element in the paste buffer.
For example, no CONTRM can be pasted on the same level as an AND,
or no instantiated type circuit can be pasted into another type circuit.
To paste a whole PC program or a whole PC section, no insertion point is necessary
and you can select also the *.ODB window instead of the PC Section window.
2. Choose the Edit | Paste command.
The Function Chart Builder opens the Paste PC Section dialog box.
Open further dialog boxes to check or specify paste options and replace rules:
a. In the Paste Options PC Section dialog box check connections, names, units, page
divisions to be preserved at paste. Uncheck items you do not want to be pasted.
These are automatically disconnected/deleted at paste.
b. In the Replace and Paste PC Section dialog box find and replace names,
connections to DB, to TC/CI terminals, to symbols, and so on.
If applicable, choose the Edit | Symbol Values command to edit symbol values of
type circuits and circuits.
3. Start pasting without replacing names, and so on, by activating the OK button of the Paste
PC Section dialog box or with replacing names, and so on, by activating the OK button of
the Replace and Paste PC Section dialog box.
In case of conflicts the Function Chart Builder executes the following:
– Opens the Output window and displays the error messages and warnings.
– Indicates in a message box that not all PC elements are correctly pasted and offers the
Undo Paste function.
4. Correct the conflicts depending on the severity and number of conflicts:
– Solve connection conflicts by selecting the lines in the Output window one by one,
double-clicking on them or pressing F4 to open automatically the appropriate
Connect dialog box and correcting the connections there.
– Undo the paste operation, change paste options and replace rules,
then repeat the Paste command.
– Undo the paste operation, select necessary options (libraries) in Application Builder,
create necessary DB elements, terminals, symbols, and unique names,
restart the Function Chart Builder if necessary, then repeat the Paste command.
Undo Paste
• Undo paste by activating the Undo Paste button or the Edit | Undo Paste command.
Thereafter, the PC section equals the one before pasting. The paste buffer is not affected.
• After successful paste, all pasted PC elements are selected in the PC Section window.
So you can undo the recent paste operation also by deleting the selected PC elements.
• Undo is also possible if paste is incomplete due to conflicts. See Step 4 above.
PC Names
Creating/Editing a Signal Name
1. Select a PC element terminal, in fact, a signal source, in the PC Section window.
2. Choose the Edit | Name command.
3. Create a name for the selected terminal or edit it in the Create/Edit Name dialog box.
4. Activate the OK or Apply button.
Alternatively, you can directly edit in the Item Designation and Name text boxes of the
Create/Edit Name dialog box.
3. Create a name for the selected element or edit it in the Create/Edit Name dialog box.
4. Activate the OK or Apply button.
Alternatively, you can directly edit in the Item Designation and Name text boxes of the
Create/Edit Name dialog box.
Deleting a PC Name
1. Select the PC Section window and select the PC element or the terminal, from which you
want to remove the name.
Or select the Name Table window and select the name to be deleted.
2. Choose the Edit | Delete Name command.
Alternatively, you can directly delete the name string in the Name text box of the Create/Edit
Name dialog box.
DB Names
Creating/Editing a DB Instance Name
1. In the DB Section window select a DB element, or a type circuit (instantiated in the DB
section), or a circuit (located in the DB section).
2. Choose the Edit | Name command.
3. Create a name for the selected element or edit it in the Create/Edit Name dialog box.
4. Activate the OK or Apply button.
Alternatively, you can directly edit in the Item Designation and Name text boxes of the
Create/Edit Name dialog box.
Further alternative in case of DB elements
(not applicable in case of type circuits instantiated in the DB section and circuits located in the
DB section):
1. In the DB Section window select a DB element, or a type circuit (instantiated in the DB
section), or a circuit (located in the DB section).
2. Choose the Edit | DB Terminal Values command.
3. Edit the value of the NAME terminal in the Edit Terminal Values dialog box.
4. Activate the OK or Apply button.
See also
Section 4.4.8.3, Use of Names and Appendix E, Syntax of Names.
Creating a DB Element
1. Select the DB Section window.
2. Choose the Edit | Create command.
3. Select the element type, callname, instance, select the check boxes in the Create Element
dialog box.
4. Check or edit the DB terminal values or—in case of type circuits and circuits to be
instantiated/located in the DB section—the symbol values.
5. Activate the OK or Apply button.
NOTE
If you miss some DB elements in the list box of the Create Element dialog box,
be sure you selected the appropriate filter, for example, ‘*’, element type, and
modify attribute.
Editing a DB Element
1. Select the DB Section window.
2. Select the DB element, which you want to edit.
3. Choose the Edit | DB Terminal Values command.
4. Select the appropriate DB element parts in the Edit DB Terminal Values dialog box.
5. Edit the appropriate DB terminals or the symbol values as applicable.
6. Activate the OK or Apply button.
Deleting a DB Element
1. Select the DB Section window.
2. Select the DB element, which you want to delete.
3. Choose the Edit | Delete command.
2. Select the symbol kind and type and edit the default value in the Create Symbol dialog
box.
3. Activate the OK or Apply button.
The Function Chart Builder connects the specified PC terminal and the symbol.
NOTES
A default value is optional for instance-unique symbols and mandatory for
location-unique and project-unique symbols.
If you are working on a node structure, do not create new symbols. You can
assign new values to project-unique symbols, which are available due to located
circuits and instantiated type circuits. Define them as project-unique symbols in
the node structure.
Editing a Symbol
1. Select the Symbol Section window, select the symbol.
2. Choose the Edit | Symbol command.
3. Modify the symbol kind, type, and default value in the Edit Symbol dialog box.
4. Activate the OK or Apply button.
Deleting a Symbol
1. Select the Symbol Section window.
2. Select the symbol, which you want to delete.
3. Choose the Edit | Delete command.
See also
Section 4.4.8.4, About Symbols,
Section 4.4.8.7, Values of Symbols.
NOTE
The default value is optional. The default value will be connected as default
connection to the type circuit (circuit) at its instantiation (location).
See also
Section 4.4.8.9, Use of TC/CI Terminals.
Preparations
1. Be sure your printer is switched on, connected with the engineering station, possibly via a
computer network, and switched on-line.
2. Be sure the printer has the necessary amount of paper in its feeder.
3. Be sure the paper has the appropriate format corresponding both your printer and the
layout of your documents.
See Section 4.4.2.9, Support of Display Adapters and Printers and Section 4.4.2.10, Specifying
Document Layout.
Printing Documents
1. Choose the File | Print command.
2. Select the documents in the Print dialog box.
3. Specify the selected documents and activate the OK button in the Print document_part
dialog boxes if applicable.
4. If needed, set print quality and select the Print to File check box in the Print dialog box.
5. Check and, if necessary, modify the printer setup by activating the Setup button.
6. Activate the OK button in the Print dialog.
NOTE
Before printing by context menu commands, be sure the appropriate printer is
selected. In due case use the File | Print Setup command.
Purpose
You generate source code for the following purposes:
• To download it by ONB to AC 400 Series controllers
• To export and import DB elements and PC programs from one node to another
• For backup reasons, that is, to store applications in a form that is valid throughout the
Function Chart Builder releases
• As intermediate step, to update ODB from one FCB version to another
• To store type circuits and circuits in a form that makes their use in other objects possible.
Purpose
You backtranslate source code for the following purposes:
• To transfer applications, or parts of them, from other systems
• To regenerate applications programmed with earlier Function Chart Builder releases
Purpose
You may edit source code of PC programs with a text editor, like AS100-EDIT, independently
of the Function Chart Builder.
You can check by the Function Chart Builder the following conditions:
• The source code corresponds to the AMPL syntax.
• The DB elements referenced in the PC programs exist.
Preparation
Be sure the following is fulfilled:
• The PC program to be validated pertains to the node selected in the Application Builder.
• Or, at least, the PC program to be validated pertains to a node that has the same node type,
version, and options as the selected node.
Checking
Choose the File | Check PC Source command.
Definition
Generally, you prepare an application for an AC 100 Series target system using the Function
Chart Builder off-line. Then, you connect the engineering station to the target and download the
target code of the application. The latter can be time consuming.
Now, you can test and edit the application running on the target by the Function Chart Builder
on-line. When editing on-line, you can change only one executable unit at a time. So, you have
to download only the changed part of the target code.
You may want to prepare a change limited to one executable unit off-line and disconnected from
the target, then connect and go on-line again and download only the difference to achieve a
bumpless modification of the running application on the target.
To support these procedures, four modes (states) are available. When the Function Chart
Builder works with the same AC 100 Series target system, it is any time in one of them:
• Off-line (non-connected)
• Off-line connected
• On-line (connected)
• On-line preparation.
NOTES
The on-line preparation mode is supported since Function Chart Builder
release 4.6.
executable unit also File | On-line Preparation Mode to switch to on-line preparation
mode, in fact, to limit off-line editing to 1 executable unit.
The Connect command in the Target menu and the dimmed On-Line Preparation Mode
command in the File menu or the missing check mark ( ) before this command indicate this
mode.
NOTES
You work with the Function Chart Builder in this mode after start-up.
In this state you can use the Target | Connect command also to connect any other
AC 100 Series target system, for example, to identify it on the basis of its Status
Report and Options Report or to diagnose it.
On-line
(connected)
On-line
Off-line Preparation
connected (non-connected)
Legend:
Off-line
Mode : mode (state) (non-connected)
: available
9 ccc command
: transition on
command New state & commands
activation ( Start ) introduced with
: notice FCB release 4.6
On-line Mode
The engineering station and the target system are on-line connected.
The application on the AC 100 Series target system and the corresponding node as seen by the
Function Chart Builder are the same, they are synchronized.
In this mode, you can test and edit the application on the target on-line.
When editing in this mode, you can change at most one executable unit.
The following commands are available:
• Target | Disconnect to switch to on-line preparation mode, in fact, to preserve the
limitation to one executable unit also during off-line editing
• File | On-line Mode to switch to off-line connected mode, in fact, to allow off-line editing
beyond the one executable unit limit.
The check mark ` ´before the On-Line Mode command in the File menu indicates this mode.
NOTES
To reach this mode, the Function Chart Builder has to have passed the on-line
mode at least once with this application.
In this state you can use the Target | Connect command also to connect any other
target system, for example, to identify it on the basis of its Status Report and
Options Report or to diagnose it. Then also the Target | Disconnect command is
available. The on-line preparation mode regains its meaning only when you
reconnect the same target system, with which you worked in on-line mode.
Transitions
See also
Section 4.4.6.13, Edit an AC 100 Series Application On-line.
Purpose
To generate target code, that is, a data format directly loadable to AC 100 Series target, from the
application data. The target code has to fulfill several requirements concerning RAM, PROM,
and code and data area.
In case of AC 100 Series nodes supporting application retrieval (upload and backtranslation of
target code), the Function Chart Builder can generate also additional, complete information for
storing in and later retrieval from the target. See Section 4.4.6.15, Retrieve Application from an
AC 100 Series Target.
During target code generation or at on-line changes, and if the corresponding check box is
selected, the Function Chart Builder fills also the Bus Configuration Database and generates
BOIL*.C00 and COIL*.C00 files to support Human-System Interfaces and to facilitate access
of process signals in AC 100 Series targets connected to Advant Fieldbus 100.
See Bus Configuration Builder User’s Guide.
Procedure
1. Generate target code by the File | Generate Target Code command.
The Function Chart Builder opens the Output window and protocols the target code
generation here and also in the \DBDATA\COTL0000.C00 and \PCDATA\RETL0000.Cpp
files (where pp = PC program number).
2. Evaluate the target code generation protocol.
a. Check the lines “w Warnings detected” and “e Errors detected” in
both sections (files).
w>0 indicates violation of programming conventions, for example, the case when
input connections are left unconnected.
e>0 indicates violation of normal execution conditions on the target, for example,
missing necessary DB elements or exhaustion of resources (RAM, PROM, and code
and data area).
b. In case of exhaustion of resources identify the violated requirement and the section(s)
and the executable unit(s) responsible for the violation.
The estimated values of memory requirements delivered by the PC-Section |
Memory Calculation | … commands are also helpful.
3. If errors, warnings, or both occurred, change your application accordingly.
That is, create the missing DB elements, restructure your application to decrease resource
demand, connect open input PC terminals, and so on.
Then repeat the procedure from Step 1.
4. Sum of data area of each data domain must be less than the maximum indicated at the end
of corresponding lines in the target code generation protocol.
The maximum length of data domains is normally 32 kBytes. But in some cases it is
8 kBytes, for example, in case of PARDAT elements for AC 110 2.1.
The data domains are denoted by DATA: in the target code generation protocol.
NOTES
In case of executable unit code domains a further 256 bytes are added for internal
code to code length. The length of data exchange internal code is 256 bytes.
The local data length of data exchange between executable units depends on the
number and data type of these connections.
The values delivered by the PC-Section | Memory Calculation | … commands
do not comprise these code and data lengths.
Definition
You connect the engineering station to an AC 100 Series target mainly in two ways:
• Directly
• By routing via other AC 100 Series or AC 400 Series nodes of a network.
NOTE
Different AC 100 Series node types support different cases of routing.
The engineering station to be connected can be the local one, on which you run the application
requesting the connection, such as the Function Chart Builder or the Diagnostics program, but
also another remote one, a server, connected to a common computer network. Then your local
engineering station (“this PC”) is client of the connection service available on the server.
See also
Section 4.4.6.6, Routing Possibilities Depending on Node Type and Section 4.4.6.5, Types of
Routing, Diagrams to decide type of connection and Section 4.4.6.4, Connect the Engineering
Station to an AC 100 Series Target to prepare and establish the connection.
Preparation of Links
In case of point-to-point RS 232C connection do the following:
Connect one end of an appropriate cable to the connector, generally denoted by CH1 or
CHANNEL 1, of the AC 100 Series target and the other end to a free connector COM1,
COM2, … of serial interface of the engineering station.
In case of connection by routing via other nodes and if the first node in the routing path is an
AC 100 Series node, do the following:
1. Connect one end of an appropriate cable to the connector, generally denoted by CH1 or
CHANNEL 1, of the first AC 100 Series node in the routing path and the other end to a
free connector COM1, COM2, … of serial interface of the engineering station.
2. Be sure the nodes up to the target are cabled appropriately to realize the AF 100
communication paths.
In case of connection by routing via other nodes and if the first node in the routing path is an
AC 400 Series node, do the following:
1. Be sure the appropriate AS 100 Series Engineering Board is installed correctly in the
engineering station and configured appropriately by the Engineering Board Setup
program. Choose the latter in the Start | Advant | Engineering | Utilities menu.
(The Engineering Board Setup program is installed together with the On-line-Builder,
see also On-line Builder User’s Guide, Chapter 2, Installation.)
2. Connect one end of an appropriate cable to the connector, generally denoted by SERVICE,
of the first AC 400 Series node in the routing path and the other end to the connector X3 of
the AS 100 Series Engineering Board of the engineering station.
3. Be sure the nodes up to the target are cabled appropriately to realize the necessary
MB 300, AF 100, and RCOM communication paths.
In case of direct AF 100 connection via the AF 100 interface of the engineering station, do the
following:
1. Be sure the AF 100 Interface, for example, the CI526 communication interface module
and the AF 100 Interface software, is installed correctly on the engineering station. AF 100
Interface 1.0/* and Advant OPC Server for AF 100 1.0/0 require administrator privileges.
2. Be sure the target is cabled appropriately to realize the AF 100 communication.
Connection
1. Choose the Target | Connect command.
The Function Chart Builder displays the Connect dialog box.
2. In case of simple and repeated connections select the appropriate connection path in the
connection history contained in the Connection Path drop-down list box without
bothering about details.
Or, in case of complex paths and new connections, activate the Connect Assistant by the
Assistant button.
The Connect Assistant guides you through steps of connection path definition:
a. Define the server, that is, the engineering station offering the connection service.
This can be “this PC” but also some other PC accessible via a computer network.
To select a remote server, you have three possible ways:
• Activate the Browse button and find a server in your computer network.
• Select one of the recently used servers in the Selected server PC
drop-down list box.
• Enter a server directly in Selected server PC text box.
You can do the latter in different forms, like
- Name corresponding to universal naming convention (UNC),
for example, \\gpa789 or gpa789
- TCP-IP address, for example, 123.456.789.87
- Distributed server name (DSN) like a world-wide-web address,
for example, www.abb.de or deind.de.
Select also the server's interface or port to be used.
b. Define the target by its AF 100 or RCOM address if it has one.
The address has to correspond to the setting by appropriate DB elements of the
application running on the target.
An AF 100 address consists of bus number, station number, and position.
An RCOM address consists of remote net number, remote node number, and position.
In case of point-to-point COMx connection, there is no need to define the address
explicitly.
c. Define the intermediate nodes, if there are any, by their MB 300 or AF 100 address.
The address has to correspond to the setting by appropriate DB elements of the
application running on the intermediate node.
An MB 300 address consists of net number and node number.
An AF 100 address consists of bus number, station number, and position.
In case of point-to-point X3 connection, there is no need to define the address
explicitly.
d. Return to the Connect dialog.
3. Activate the OK button.
The connection will be established. It may take some seconds.
The the Function Chart Builder requesting the connection can continue. It displays the
Status Report and the Options Report about the connected target.
• Server
The empty string ('') and “This PC” denotes your local engineering station you work on.
If you want to use the connection service running on a remote engineering station, you can
set it with the help of the Connect Assistant.
• PC Interface
This is the interface of the server towards the routing network (in case of routing) or
towards the target (in case of direct connection).
Examples: COM1, COM4, X3, AF100IF.
• Intermediate Node Address
This is the identification of the intermediate node.
In case of point-to-point (direct) connection it is omitted.
In other cases the intermediate node is identified by the kind of bus it is reached and by its
address on this bus.
Examples of address form: AF100[bus, station, position],
MB300[net, node], RCOM[rnet, rnode, position].
In the Connect Assistant, Position of the intermediate node is preset originally to 0.
Set the appropriate value according to the configuration of the corresponding
AC 100 Series station:
• Target Address
This is the identification of the target.
In case of point-to-point (direct) connection it is omitted. In other cases the target is
identified by the kind of bus it is reached and by its address on this bus.
Examples of address form: AF100[bus, station, position],
RCOM[rnet, rnode, position].
In the Connect Assistant, Position of the target is preset on the basis of the corresponding
value for the target in the Application Builder.
Figure 4-104. Routing via COMx, AC 100 Series Node, AF 100, Topology
Figure 4-105. Routing via COMx, AC 100 Series Node, AF 100, Setting
Routing via COMx, AC 100 Series Node, AF 100, 2nd AC 100 Series, 2nd AF 100
Topology of connection with exemplary addresses:
Figure 4-106. Routing via COMx, AC 100 Series, AF 100, 2nd AC 100 Series, 2nd AF 100,
Topology
Figure 4-107. Routing via COMx, AC 100 Series, AF 100, 2nd AC 100 Series, 2nd AF 100,
Setting
Routing via X3, AC 4xx, AF 100, AC 100 Series Node, 2nd AF 100
Topology of connection with exemplary addresses:
Figure 4-110. Routing via X3, AC 4xx, AF 100, AC 100 Series Node, 2nd AF 100, Topology
Figure 4-111. Routing via X3, AC 4xx, AF 100, AC 100 Series Node, 2nd AF 100, Setting
Figure 4-114. Routing via X3, Several AC 4xx Connected by MB 300, AF 100, Topology
Figure 4-115. Routing via X3, Several AC 4xx Connected by MB 300, AF 100, Setting
Routing via X3, Several AC 4xx Connected by MB 300, AF 100, AC 100 Series
Node, 2nd AF 100
Topology of connection with exemplary addresses:
Figure 4-116. Routing via X3, Several AC 4xx Connected by MB 300, AF 100, AC 100 Series Node, 2nd AF 100, Topology
Figure 4-117. Routing via X3, Several AC 4xx Connected by MB 300, AF 100, AC 100 Series
Node, 2nd AF 100, Setting
Figure 4-118. Routing via X3, Several AC 4xx Connected by MB 300, RCOM Net, Topology
Figure 4-119. Routing via X3, Several AC 4xx Connected by MB 300, RCOM Net, Setting
Legend:
* The engineering station has to be additionally equipped with hardware and
software necessary for AF 100 interface, that is, with a communication
interface such as CI526 and with the AF 100 Interface software installed as a
separate component or as part of, for example, AF100 OPC.
+ Direct connection is supported.
- No routing is supported.
1bus Routing path is
engineering station --> comm. port --> 1st intermediate node --> 1bus -->
--> target.
1bus+2bus Routing path is
engineering station --> comm. port --> 1st intermediate node --> 1bus -->
--> 2nd intermediate node --> 2bus --> target.
1bus+2bus+3bus Routing path is
engineering station --> X3 --> 1st intermediate AC 400 Series node -->
--> 1bus --> last intermediate AC 400 Series node --> 2bus -->
--> intermediate AC 110 or AC 160 node --> 3bus --> target.
Comma Separates possible routing paths.
Routing possibilities of AC 80 are typically the same as those of AC 70.
NOTE
These functions are available only for targets, the base software of which supports
target access protection. Such node types are, for example, AC 110 2.3,
AC 160 1.2, and AC 166 1.0.
The Function Chart Builder offers three different target access protection functions:
1. Target password protection from manipulations of the application program by
unauthorized persons
In fact, the connection to a target with a certain application program running on it is
protected by the target password.
2. Application program checksum
You can inspect and store the checksum (CRC) of the application program running in the
RAM and inspect the checksum of the system in target PROM.
These checksums can be inspected later again and be compared with stored values.
If they are not equal, the application has been changed in the meantime.
3. Restriction of network programming
You can allow or forbid programming of a target by routing via an AF 100 network.
Enter here the password in the New Password and Confirm New Password text boxes.
The password has to consist of 8 to 50 printable characters, it is case sensitive.
On activating the OK button the new password is saved in the target RAM.
CAUTION
Use password protection only if it is reasonable.
Be aware, if you forget the password, there is no “universal password”, you can
just stop the target to clear the password.
A warm start does not clear the password.
3. After that, each time you—or any other user—connect to this target, the Function Chart
Builder prompts to enter the password associated with the target.
If you enter the correct password, the Function Chart Builder connects to the target and
offers its on-line testing and editing. You can test and edit the application stored in the
target.
If you enter an incorrect password, the Function Chart Builder refuses the connection.
You can neither test nor edit the application program stored in target, just try to enter the
correct password again.
4. You can change or clear the target password by the Target | Set Password command if the
target is connected.
In these cases you have to enter at first the old password:
5. The target password is implicitly cleared at stopping the target by reset button and no start
position of the stop mode switch.
Together with the application program in the target RAM, the target password, if there is
any, is implicitly copied to the target PROM
The target password is implicitly taken from the target PROM at cold start of the target by
reset button and cold start position of the stop mode switch.
NOTE
Do not mix up the target password with the ODB password.
See Section 4.4.2.6, Password Protection of Nodes, TCs, CIs.
Nevertheless, if the ODB password equals the target password, you do not need to
enter the same password again when connecting to the target.
NOTE
You can access these three CRC values also by an appropriate PC element and use
them to check integrity or change of your application program and PROM
contents.
Purpose
To load PC programs and data base to an AC 100 Series target.
Preparation Off-line
Generate target code for the PC program and the data base by File | Generate Target Code.
Preparation On-line
1. Connect the Function Chart Builder on-line to the AC 100 Series target by the Target |
Connect command.
The Function Chart Builder displays the Status Report and the Options Report window.
In the following, if necessary, choose the Target | Report commands to reopen or update
the … Report windows.
2. If there are errors reported in the Status Report, check and clear them by the Diagnostics
(Diagnosis) program. For that choose the Target | Diagnostics command.
3. Check the options and the base software in the Options Report for conditions of
successful target code download:
a. The base software and all the options selected in the engineering station must be
available in the on-line connected target.
b. The ident_string, major_release, and minor_release of the item selected in the
engineering station must equal the ident_string, major_release, and minor_release of
the corresponding item on the target.
That means revision is not evaluated.
4. Check PCPGM State in the Status Report.
If the PC program is deblocked, choose the Target | Block Program command to stop it.
After successful download the Function Chart Builder offers switching to on-line mode.
Generally, you accept it and quit the warning.
The Function Chart Builder opens the Output window. You can check here the download
process.
2. The Function Chart Builder updates the Status Report of the connected target.
Check if there are some recent errors in the Status Report. You can analyze them by the
Diagnostics (Diagnosis) program. For that choose the Target | Diagnostics command.
Purpose
To monitor selected PC terminals in an AC 100 Series target on-line.
The Function Chart Builder offers monitoring and forcing of PC and DB terminals and unified
presentation of the values in the Test Table window.
PC terminals can be prepared and the values can be presented also in PC Section window panes
with the function chart.
NOTE
The Function Chart Builder saves the contents of the Test Table in the internal
data representation of the node if you choose the File | Save or
File | Save and Load or File | Exit command (the latter with saving the changes).
At the beginning of a new session the Function Chart Builder restores also the
Test Table from the internal data representation with the contents recently saved.
Preparation On-line
1. Connect the Function Chart Builder on-line to the AC 100 Series target by the
Target | Connect command. If the Function Chart Builder has been in on-line preparation
mode—and generally this is the case—, it switches to on-line mode.
The Function Chart Builder displays the Status Report and the Options Report window.
In the following, if necessary, choose the Target | Report commands to reopen or update
the … Report windows.
2. If there are errors reported in the Status Report, you can check and clear them by the
Diagnostics (Diagnosis) program. For that choose the Target | Diagnostics command.
3. If the Function Chart Builder is not in on-line mode
a. You can check the options and the base software in the Options Report for
conditions of successful target code download.
b. You can check that the data in the Node on AS 100ES column of the Status Report
equal those in the Target RAM column.
If the checks are successful, switch to on-line mode explicitly by the File | On-line Mode
command.
Otherwise you have to ensure correct base software and options and reload the application
to allow switching to on-line mode. See Section 4.4.6.8, Load Application to an
AC 100 Series Target.
4. You select and unselect PC terminals for monitoring in the same way in on-line mode as
you do it in on-line preparation mode (or in off-line mode).
NOTE
If the Function Chart Builder displays ‘X’ as value, the PC program
is blocked yet. Deblock it as suggested in Step 2.
Purpose
To force selected PC terminals in an AC 100 Series target on-line.
The Function Chart Builder offers monitoring and forcing of PC and DB terminals and unified
presentation of the values in the Test Table window.
PC terminals can be prepared and the values can be presented also in PC Section window panes
with the function chart.
NOTE
The Function Chart Builder saves the contents of the Test Table in the internal
data representation of the node if you choose the File | Save or
File | Save and Load or File | Exit command (the latter with saving the changes).
At the beginning of a new session the Function Chart Builder restores also the
Test Table from the internal data representation with the contents recently saved.
Preparation On-line
1. Connect the Function Chart Builder on-line to the AC 100 Series target by the
Target | Connect command. If the Function Chart Builder has been in on-line preparation
mode—and generally this is the case—, it switches to on-line mode.
The Function Chart Builder displays the Status Report and the Options Report window.
In the following, if necessary, choose the Target | Report commands to reopen or update
the … Report windows.
2. If there are errors reported in the Status Report, you can check and clear them by the
Diagnostics (Diagnosis) program. For that choose the Target | Diagnostics command.
3. If the Function Chart Builder is not in on-line mode
a. You can check the options and the base software in the Options Report for
conditions of successful target code download.
b. You can check that the data in the Node on AS 100ES column of the Status Report
equal those in the Target RAM column.
If the checks are successful, switch to on-line mode explicitly by the File | On-line Mode
command.
Otherwise you have to ensure correct base software and options and reload the application
to allow switching to on-line mode. See Section 4.4.6.8, Load Application to an
AC 100 Series Target.
4. You select and unselect PC terminals for forcing in the same way in on-line mode as you
do it in on-line preparation mode (or in off-line mode).
Compare the Value on Target and the Force Value columns of the Test Table to see
which force values are effective and which are only prepared or no more prepared.
The Function Chart Builder displays the force values on the connection line near the PC
terminals in the function chart and updates them in the Value on Target column of the
Test Table.
CAUTION
If you disconnect the target, forcing of all PC terminals is deactivated in contrast
to DB terminals.
Purpose
To monitor and force selected DB terminals in an AC 100 Series target on-line.
The Function Chart Builder offers monitoring and forcing of PC and DB terminals and unified
presentation of the values in the Test Table window.
NOTES
Forcing DB terminals is supported only by extended DB elements that are
available, for example, for AC110 version 2.1 and higher.
Forcing DB terminals is supported by the Function Chart Builder only from its
version 4.3/0 on.
You can prepare force values only for the VALUE terminals of extended
DB elements.
2. Select the Test Table window by the Window | Test Table command. Set its Signal Select
Filter appropriately.
Resize the columns of the Test Table window by dragging the divisions that separate the
header parts Instance, Terminal, and so on, to overview and check the terminals selected
for monitoring or forcing. Some divisions may be visible only if you enlarge the window.
3. Select the DB terminals for monitoring or forcing by activating the Create/Edit… button
in the List Entry group of the Test Table.
The Function Chart Builder lists the DB terminals selected for monitoring or forcing and
the corresponding values in the list box of the Test Table.
NOTE
The Function Chart Builder saves the contents of the Test Table in the internal
data representation of the node if you choose the File | Save or File | Save and
Load or File | Exit command (the latter with saving the changes).
At the beginning of a new session the Function Chart Builder restores also the
Test Table from the internal data representation with the contents recently saved.
Preparation On-line
1. Connect the Function Chart Builder on-line to the AC 100 Series target by the
Target | Connect command. If the Function Chart Builder has been in on-line preparation
mode—and generally this is the case—, it switches to on-line mode.
The Function Chart Builder displays the Status Report and the Options Report window.
In the following, if necessary, choose the Target | Report commands to reopen or update
the … Report windows.
2. If there are errors reported in the Status Report, you can check and clear them by the
Diagnostics (Diagnosis) program. For that choose the Target | Diagnostics command.
3. If the Function Chart Builder is not in on-line mode
a. You can check the options and the base software in the Options Report for
conditions of successful target code download.
b. You can check that the data in the Node on AS 100ES column of the Status Report
equal those in the Target RAM column.
If the checks are successful, switch to on-line mode explicitly by the File | On-line Mode
command.
Otherwise you have to ensure correct base software and options and reload the application
to allow switching to on-line mode. See Section 4.4.6.8, Load Application to an
AC 100 Series Target.
4. You can select and unselect DB terminals for monitoring or forcing in the same way in on-
line mode as you do it in on-line preparation mode (or in off-line mode).
Compare the Value on Target and Force Value columns of the Test Table window to see
which force values are effective and which are only prepared or no more prepared.
CAUTION
If you disconnect the target, DB terminals remain forced in contrast to PC
terminals.
Purpose
To set a selected DB terminal once in an AC 100 Series target on-line.
NOTE
Suppose the DB terminal is connected to the output terminal of some PC element.
After being set, the DB terminal can be overwritten with another value delivered
by this PC element in a next PC execution cycle.
A typical use of this function is to test cables by setting some characteristic values and checking
the corresponding levels on cable ends or (physical) terminal connections by an instrument.
Preparation On-line
1. Connect the Function Chart Builder on-line to the AC 100 Series target by the
Target | Connect command. If the Function Chart Builder has been in on-line preparation
mode—and generally this is the case—, it switches to on-line mode.
The Function Chart Builder displays the Status Report and the Options Report window.
In the following, if necessary, choose the Target | Report commands to reopen or update
the … Report windows.
2. If there are errors reported in the Status Report, you can check and clear them by the
Diagnostics (Diagnosis) program. For that choose the Target | Diagnostics command.
3. If the Function Chart Builder is not in on-line mode
a. You can check the options and the base software in the Options Report for
conditions of successful target code download.
b. You can check that the data in the Node on AS 100ES column of the Status Report
equal those in the Target RAM column.
If the checks are successful, switch to on-line mode explicitly by the File | On-line Mode
command.
Otherwise you have to ensure correct base software and options and reload the application
to allow switching to on-line mode. See Section 4.4.6.8, Load Application to an
AC 100 Series Target.
The Function Chart Builder sets the selected DB terminal once in an AC 100 Series target
to the defined value.
3. Activate the PC element deactivated in Step 1.
Purpose
To edit the application in an AC 100 Series target on-line.
Preparation On-line
1. Connect the Function Chart Builder on-line to the AC 100 Series target by the
Target | Connect command. If the Function Chart Builder has been in on-line preparation
mode—and generally this is the case—, it switches to on-line mode.
The Function Chart Builder displays the Status Report and the Options Report window.
In the following, if necessary, choose the Target | Report commands to reopen or update
the … Report windows.
2. If there are errors reported in the Status Report, you can check and clear them by the
Diagnostics (Diagnosis) program. For that choose the Target | Diagnostics command.
3. If the Function Chart Builder is not in on-line mode
a. You can check the options and the base software in the Options Report for
conditions of successful target code download.
b. You can check that the data in the Node on AS 100ES column of the Status Report
equal those in the Target RAM column.
If the checks are successful, switch to on-line mode explicitly by the File | On-line Mode
command.
Otherwise you have to ensure correct base software and options and reload the application
to allow switching to on-line mode. See Section 4.4.6.8, Load Application to an
AC 100 Series Target.
Purpose
To upload parameter values of elements such as PARDAT from an on-line connected
AC 100 Series target to the Function Chart Builder and substitute them as new initial values in
the Function Chart Builder.
Previous Events
1. Remember PARDAT elements have—among others—the following terminals:
– INIT_VAL serving as initial value for the VALUE terminal
– VALUE readable and writable also externally by MMI devices,
serving as parameter in the application
2. Tune the application running on the AC 100 Series target using procedures described in
Section 4.4.6.9, Display (Monitor) PC Terminals in AC 100 Series Target to Section
4.4.6.11, Display and Force DB Terminals in AC 100 Series Target, and Section 4.4.6.13,
Edit an AC 100 Series Application On-line.
Or tune the application running on the AC 100 Series target externally via some HMI
device.
3. Due to tuning the values of VALUE terminals may have changed, and you need to change
the initial values on the INIT_VAL terminals accordingly to optimize the start-up.
Preparation On-line
1. Connect the Function Chart Builder on-line to the AC 100 Series target by the
Target | Connect command. If the Function Chart Builder has been in on-line preparation
mode—and generally this is the case—, it switches to on-line mode.
The Function Chart Builder displays the Status Report and the Options Report window.
In the following, if necessary, choose the Target | Report commands to reopen or update
the … Report windows.
2. If there are errors reported in the Status Report, you can check and clear them by the
Diagnostics (Diagnosis) program. For that choose the Target | Diagnostics command.
3. If the Function Chart Builder is not in on-line mode
a. You can check the options and the base software in the Options Report for
conditions of successful target code download.
b. You can check that the data in the Node on AS 100ES column of the Status Report
equal those in the Target RAM column.
If the checks are successful, switch to on-line mode explicitly by the File | On-line Mode
command.
Otherwise you have to ensure correct base software and options and reload the application
to allow switching to on-line mode. See Section 4.4.6.8, Load Application to an
AC 100 Series Target.
Purpose
To regenerate the directories, element libraries, and so on, of a node and upload the target code
from an AC 100 Series target, then translate the target code back to internal data representation
for analysis, editing, and testing with the Function Chart Builder.
The scope of application retrieval depends on the information included in the target code stored
on the target, that is, on the options that were selected at target code generation.
NOTES
Application retrieval is supported by Application Builder version 2.6 and higher
and Function Chart Builder 4.6 and higher.
The application can only be retrieved if you work with the same Function Chart
Builder version as the one with which its target code was generated.
These functions are available only for new node types explicitly supporting
application retrieval, such as AC 80 2.0.
Previous Events
It is supposed that you generated target code, then connected the target and downloaded the
target code to the RAM of the target as described in Section 4.4.6.2, Preparation of Target Code
to Section 4.4.6.8, Load Application to an AC 100 Series Target.
The scope of the later retrieval is basically determined by the additional, complete information
included in the target code at target code generation. See Section 4.5.4.12, File | Generate Target
Code….
Prerequisites
1. Be sure the Function Chart Builder version, with which the target code of the application
was generated, is installed on your engineering station.
2. The target code is in the RAM of the target.
3. Be sure node type and element library versions used by the application to be retrieved are
available and installed in the corresponding release subdirectories.
Or they must be stored with the target code on the target. This is important especially in the
case of derived, modified, and user-defined libraries.
The Application Builder fetches the node information from the target by functions of the
Function Chart Builder:
• Creates the directory structure for the node if necessary.
• Fills the subdirectories with the information uploaded from the target, such as *.INI file of
the node, libraries, *.TCS files of type circuits, and *.TPX file of footer template or
overwrites existing files there.
• Uploads and backtranslates the target code from the target by functions of the Function
Chart Builder.
See Application Builder User’s Guide for more information.
NOTE
If necessary, expert users may redefine the PC program number before
backtranslation: edit the PCPGMNo value in the DBPCVERS.INI file stored in the
corresponding project_root\project*\NODES\node*\CONTROL directory.
The application will be restored according to the scope of the target code as set at target code
generation:
• Names of DB elements, PC elements, and PC signals will be restored only if this
information was generated and stored together with the target code on the target.
Else the names will be omitted.
• Type circuit instances as such will be restored only if the corresponding information was
stored together with the target code on the target.
Else the type circuit instances remain disintegrated.
NOTE
Program details producing equivalent target code cannot be distinguished. For
example, connections “=DI1.1 to PC1.1.2:1” and “=DI1.1 to PC1.1.2:2” cannot
be distinguished from connections “=DI1.1 to PC1.1.2:1” and “PC1.1.2:1 to
PC1.1.2:2”. So, the first pair will be retrieved in the second form. Us e the
PC-Section | Page Layout | Format command in case of “grayed” PC pages.
If such a problem occurs within a type circuit instance, the type circuit cannot be
identified and will be disintegrated.
After successful restoration of the internal data representation, the Function Chart Builder asks
whether to restore also HMI information.
• If you answer Yes, the Function Chart Builder restores BOIL*.C00 and COIL*.C00 files
and Bus Configuration Database as applicable. To complete the restoration, you will need
to execute the File | Save and Load command when you switch next time to on-line mode.
• In case of No it is supposed that these files are yet available and valid.
NOTE
The Diagnostics program is adapted to the different diagnostics features of both
former and recent controller versions. In case of AC 110 2.0, AC 70 1.0, and
AC 55 1.0 it is called the Diagnosis program. In case of AC 100 Series targets of
newer node types, such as AC 160, AC 110 2.1 and higher, AC 80, AC 70 1.1 and
higher, and AC 55 1.1, it is called the Diagnostics program.
Activate
Diagnostics Program
Module List
Target | ListModules
Figure 4-126. Overview of Diagnostics Commands and Data Transfer in Diagnostics Program
The diagnostic aspects of modules are described by a model, where each module consists of one
or more instances of one or more (diagnostic) object types. For example, an I/O module may
consist of one instance of the “Device” object type for the description of its common properties
and of several instances of the “Channel” object type for the description of its channels.
In the target, the CPU module collects, buffers, and summarizes the errors from all of the
modules of the station them.
The target offers the errors on different levels. The Diagnostics program presents this
information in different windows.
The errors are stored in the target until they are deleted explicitly by the Diagnostics program.
You control the Diagnostics program by commands and evaluate the error information.
Preparation On-line
1. Connect the Function Chart Builder on-line to AC 100 Series target of a newer node type,
such as AC 160, AC 110 2.1 and higher, AC 80, AC 70 1.1 and higher, and AC 55 1.1,
by the Target | Connect command.
2. Start the Diagnostics program by the Target | Diagnostics command, or if errors are
detected on the target, alternatively by activating the Report Errors button in the Status
Report window.
In the Diagnostics program you have two possibilities to access module diagnosis, either via
Error Report or via Module List.
Proceed as follows:
1. If the Module List window or the Module Diagnostics window are open, close them by
choosing the Close control command.
2. Open the Error Report window by the Target | Report Errors command.
For each module, in which an error has been detected since the last deletion of error buffer,
the Diagnostics program reads the type of first error and displays it in the Error Report
window.
3. Access detailed diagnostic information on a selected module by choosing the
Target | Diagnose Module command.
In the Error Report window the modules are shown dimmed, for which you already
called the Diagnose Module function.
The following figure shows an example of accessing diagnostic information about a CI626
module of an AC 110 2.1 station:
Selection
Status by Pos. (Module) by Object Type and Instance
Report
Report Errors
(button) Error Report
or
Target|Diagnostics Module List Target|DiagnoseModule
(command) Module
0,0,2,0; CI626
Diagnostics
0,2 (Selection in window) (Double-click on item)
Module Additional
Data Set 1 m
Diagnostics Info
(DataSet 1) Item m
Function Diagnostics item
Chart program Module ErrorState,Message,etc.
2 Diagnostics
Builder
(DataSet 2)
n Module
instance Diagnostics
(DataSet n)
Consistency of Diagnosis
for Access by Report Error and Diagnose Module
Suppose you deleted the detected errors on the target, then start some on-line action, like
download, deblock, and editing.
The occurred errors, if any, are buffered in the CPU module. A (first) error is generally a reason
for further errors. So first errors of error chains deserve special attention.
Start Diagnostics and open the Error Report window.
Data for filling the Error Report window are read from the CPU module. The type of the first
occurred error is transferred for each module.
Be aware that some errors persist, others are transient.
Consistency of Diagnosis
for Access by List Modules and Diagnose Module
If you open the Module List window instead of the Error Report window, the Diagnostics
program checks all possible positions of the selected station and looks for available modules.
It accesses not only the configured modules. This action takes several seconds or even minutes
depending on station size, number of available modules, communication path, and routing.
Data for filling the Module List window are read from the modules.
The status error detected/no error detected is transferred for each module.
Be aware that some errors persist, others are transient.
Select a module and start module diagnosis for it. See Consistency of Diagnosis for Access by
Report Error and Diagnose Module at the beginning of this section.
NOTE
The Diagnostics program is adapted to the different diagnostics features of both
former and recent controller versions. In case of AC 110 2.0, AC 70 1.0, and
AC 55 1.0 it is called the Diagnosis program.
In case of AC 100 Series targets of newer node types, such as AC 160, AC 110
2.1 and higher, AC 80, AC 70 1.1 and higher, and AC 55 1.1, it is called the
Diagnostics program.
Activate
Error Report
Error Report
(sum) Error Read err. position,
Buffer (CPU) and time
Delete All Rep.Err.
Reset
Modules with or
Select module position
w/o errors Read Module Diag.
96 bits Module Diagnosis
Data
Buffer
Reset Select
channel
Read
96 bits Channel Diag.
Channels with Data
Buffer Channel Diagnosis
or w/o errors
Reset
Figure 4-128. Overview of Diagnosis Commands and Data Transfer in Diagnosis Program
The target collects the errors for the modules, and if applicable, for their channels, and prepares
the following information:
• 96-bit detailed error for each module and—depending on the class of the module—for
each channel
• Summary error for each module (with all channels) for error types: system error, module
error, and process error
• Compact status for the target: errors detected or no errors detected.
The errors are stored in the target until they are acknowledged, that is, read and deleted, by the
Diagnosis program.
The Diagnosis program has the following functions:
• Fetches the error information.
• Stores the detailed error information in data buffers to relieve the load on the target.
• Offers it in appropriate windows.
• Acknowledges and deletes the stored error information in the target.
You control the Diagnosis program by commands and evaluate the error information.
Preparation On-line
1. Connect the Function Chart Builder on-line to the AC 110 2.0, AC 70 1.0, or AC 55 1.0
target by the Target | Connect command.
2. Start the Diagnosis program by the Target | Report Errors command.
If the Diagnosis program is already running, you have two possibilities to access module
diagnosis, either via the Error Report window or via the Module List window.
NOTE
Do not close the Error Report window unless you are sure you do not need the
information contained in it any more.
4. If applicable, select an instance (one of the channels of a certain type) and start its
diagnosis by choosing the View | Channel Diagnosis diagnosis command.
The following figure shows an example of accessing diagnostic information pertaining to
Data Set part of the communication interface CI626:
Selection
Status by Pos. (Module) by Channel Type by Instance
Report View|Error Report
or View|Module List Error Report
or
Module List View|ModuleDiagnosis
1 (= FPROM) Channel
Diagnosis
(1)
Channel
2 Diagnosis
for inst. 2
NOTE
It is possible that diagnostic information becomes inconsistent with the
(summary) Error Report window contents or with the Module List window
contents. For example, the Error Report or Module List window indicates an
error on a module while the Module Diagnosis window reports no error and vice
versa. In addition, diagnostic data from the same module or channel read at
different times may differ.
Support of Consistency
The target and the Diagnosis program support consistency of diagnostic data on different levels
by the following measures:
• The Diagnosis program provides all document windows with time stamps.
• The Diagnosis program displays the summary errors with the time of their first occurrence
since the last acknowledge (deletion).
• The target deletes the summary error buffer and the modules' 96 bit buffers,
if the Diagnosis program reads the module or channel diagnosis data,
or if the Diagnosis program terminates the target communication.
NOTE
Once a module or channel diagnosis has been acknowledged, that is, it has been
read from the target and is displayed in the Module Diagnosis window or
Channel Diagnosis window, remember the following:
• At the first request, the diagnostic data are stored in buffers in the Diagnosis
program, one for each object (see Data Buffer in Figure 4-128). These data
buffers hold the data even if the window has been closed. If you open the
Module Diagnosis window or Channel Diagnosis window again, the data are
read from the data buffer.
• The object is marked as an object with already reported diagnosis with an
asterisk ‘*’ in each list box (Error Report, Module List, Module
Diagnosis). Already reported and thus buffered diagnostic data are
additionally indicated by the ‘*’ in the Status Bar.
• If diagnostic data are requested again for an already diagnosed object, the data
are read from the corresponding buffer. Even if the Module Diagnosis or
Channel Diagnosis window has been closed, no new data are read from the
target. This guarantees consistency between the Error Report window or
Module List window and the module or channel diagnosis.
Definition
Element instances and signal sources (in connections) are primarily identified by their item
designation.
A name is a unique string of characters, for example, COMMON_RESET, to be used as an alias
for element instances and sources.
Names can be used in the PC section and DB section to improve engineering and ensure better
readability of the application program.
In different windows and dialogs names appear after a slash ‘/’ for example, in form of
item_designation/instance_name.
NOTES
Not all DB elements have a NAME terminal. Only the ones having a NAME
terminal can carry an instance name.
See also
Appendix E, Syntax of Names and Section 4.4.4.11, Create/Edit/Delete a Name.
Symbol Values
The values assigned to a symbol can be any of the following:
• Constants
• Other symbols
• Symbolic expressions
• Symbolic formulas.
The data type of the value must be compatible with the symbol type.
For example, you can assign the integer value 15 or the calculated integer symbol <CINT_1> to
a symbol if it is of type integer, but not if it is of type Boolean.
Or you can assign the text constant “123456” or the symbolic expression
“<IN_OR_OUT>PUT” to a symbol if it is of type A* (string), but not if it is of type integer.
You may assign default values to the symbols, when you declare (create) them.
You assign actual values to the symbols, when you instantiate type circuits or locate circuits
containing them.
The Function Chart Builder computes the resulting values by evaluating the symbolic
expressions or symbolic formulas in the following cases:
• At instantiation of type circuits in nodes
• At expansion of node data.
See also Section C.1, Syntax of Symbolic Expressions and Section C.2, Syntax of Symbolic
Formulas and Section 4.4.8.7, Values of Symbols.
Symbol Kinds
You may need symbols that may have different values in different instances of a type circuit and
different located circuits. In this case, use the instance-unique (IU) symbol kind.
You may need symbols that must have the same value in all instances of certain type circuits and
in several located circuits. You want to administer the value centrally for a given node.
In this case, use the project-unique (PU) symbol kind.
You may need symbols that must have the same value in a located circuit and in all instances of
certain type circuits within this circuit. The value must not be changed either at the location of
the circuit, nor later. In this case, use the location-unique (LU) symbol kind.
In type circuits the Function Chart Builder supports the following symbol kinds:
• Instance-unique (IU)
• Project-unique (PU).
In circuits the Function Chart Builder supports the following symbol kinds:
• Instance-unique
• Project-unique
• Location-unique (LU).
In node structures the Function Chart Builder supports only the project-unique (PU) symbols.
Advanced type circuits may have also variant or loop (VL) symbols. They are special instance-
unique symbols, which serve as conditions for variants (IFs) and as loop variables.
Special Symbols
These symbols have reserved names and special functions:
$$LOOPCTR
A symbol carrying the current value of a loop counter in advanced type circuits wit loops.
__INAM__
At instantiation of a type circuit / location of a circuit, Function Chart Builder checks if the
type circuit/circuit has a symbol __INAM__. If so, and if it is not overridden by an explicit
instance name in the Create Element dialog, Function Chart Builder automatically
assigns the value of __INAM__ as instance name to this type circuit/circuit instance.
Scope of Values
You can create the same symbols, that is, symbols with the same name and of the same type, on
different levels (node structure, circuit, type circuit) and assign different values to them.
Keeping this fact in mind, the scope of values of different kinds of symbols on different levels
are the following:
• An instance-unique symbol is supported only in type circuits and circuits.
You are asked for actual values of instance-unique symbols (default values are offered if
they are available) each time you locate a circuit or instantiate a type circuit.
Each entered value or accepted default is effective only for the current instance, and—in
case of a circuit—it can be effective also for the type circuits instantiated in this circuit.
You can modify the value of an instance-unique symbol in type circuits and circuits also
after their instantiation and location, respectively.
• A project-unique symbol is supported in type circuits, circuits, and node structure.
It has default values for all its occurrences. These values may differ. You can modify them
when you locate a circuit, or instantiate a type circuit, or later. They can be suppressed by
values inherited from the neighboring higher level, that is, from the node structure where
the circuit is located or from the circuit where the type circuit is instantiated.
In case of a circuit, the value of a project-unique symbol can be effective also for the type
circuits instantiated in this circuit.
NOTE
Use also project-unique symbols in the circuit if you just have to pass symbol
values defined in the node structure to type circuits instantiated in the circuit.
Activate the Symbol Values button in the Create Element dialog box to open the Edit Symbol
Values dialog box. Here, you inspect the available default values of the symbols of the type
circuit or circuit. You can enter new actual values but also leave the default values unchanged.
In due case do not forget to activate the OK button of both the Edit Symbol Values dialog box
and the Create Element dialog box.
If you want to change later the actual values of symbols in instantiated type circuits and located
circuits, choose the Edit | Symbol Values command.
NOTE
Changing actual values of symbols is limited to off-line mode. In on-line mode
you can use the Edit | Symbol Values command only for inspecting the actual or
resulting values of symbols.
See the graphical representation of the symbol value inheritance rules in the following figure:
See the tabular representation of the symbol value inheritance rules in the following tables.
Table 4-16, Table 4-17, and Table 4-18 contain the value inheritance of symbols occurring in the
doubles NS-TC, NS-CI, and CI-TC, respectively.
Table 4-19 contains the value inheritance of symbols occurring in the triple NS-CI-TC.
The Function Chart Builder supports also the choice between referencing a symbol of an object
itself or referencing the same symbol of the object on next higher level. You may need this
distinction, for example, when assigning other symbols, symbolic expressions or symbolic
formulas as values to symbols, or when connecting symbols to terminals.
To distinguish the symbols of the lower level object, use ‘<%’ and ‘%>’ instead of the simple
‘<’ and ‘>’ symbol delimiters.
The Function Chart Builder supports the following case:
Type circuit instantiated in a circuit
– <s> carries the value of symbol s of the circuit.
– <%s%> carries the value of symbol s of the type circuit.
Referencing the symbol of the higher or lower level object does not influence or suspend
inheritance.
Consider that the two alternatives lead to different values only if the local symbol is instance-
unique or location-unique.
NOTE
There are two other possible cases. Then the Function Chart Builder supports
only referencing symbols of the lower level:
After expansion of node data or, if you are working on a node, at instantiation, the symbols
in the actual value string are evaluated and their resulting values are substituted and
concatenated.
For example, suppose <DI_NR> equals 5 and <CH_NR> equals 2. In a line of the PC
source code of the expanded node, you will find the connection :3 =DI5.2:ERR instead of
the original type circuit source code line :3 =<DICHANNEL>:ERR.
NOTE
The Function Chart Builder internally converts all operands into real format with
a precision of 0.01. For example, the integer -5 will be converted internally to -
5.00, the Boolean constants TRUE and FALSE to 1.00 and 0.00, respectively.
The Function Chart Builder executes the operations on the converted operands
from left to the right in accordance with the priority of the operators and the
parentheses. Finally, the Function Chart Builder converts the real format result to
the type of the symbol to which the symbolic formula belongs. For example,
6.6E5 will be converted to 660000 for a calculated long integer, or 17.20, being
nonzero, will be converted to 1 (TRUE) for a calculated Boolean.
The operators allowed in the formula and their priority are shown in the next table.
PC Instance Name
PROC<PR_NR>
PC Terminal Value
Connecting a symbol to an input PC terminal: <PARAM1>
Connecting a symbol to an output PC terminal: N=<VAR4>
Connecting a symbolic expression to an input PC terminal: PC1.1.<PAR1>:20
Connecting a symbolic expression to an output PC terminal: N=SIGNAL<NR2>
Connecting a symbol to an input or output TC/CI terminal
(within the type circuit or circuit):
T=<INPUT> T=<OUTPUT>
DB Item Designation
AO<MOD_NR>.<CHANNEL_NR>
DB Instance Name
ANA_OUT_10V_<MOD_NR>
DB Terminal Value
DI<DI_NR>.1 <GENERAL_BLOCKED>
Default Value
TC/CI terminals may have a default value of the appropriate type.
For example, IN2 may have the default value “EMPTY”. Suppose IN2 is of type A*80 (array).
Attributes
The attributes of the TC/CI terminals have one of the following functions:
• The attribute reflects to what kind of terminals the TC/CI terminal is connected within the
type circuit or circuit, such as
Dynamic, DB Reference, Non-Invertible.
• The attribute defines the form of the graphical symbol representing the instantiated type
circuit or the located circuit in the function chart, such as
Adjust, Blank Line, Waist.
Title
• The Title of the application window is the name of application, possibly followed by the
parameters, such as project name and object name, for example,
Function Chart Builder - Circuit: WATER/INPUT
• The Title of the document window can be a section name, preceded by a number in angle
brackets, or a filename. The number is the key, which serves as shortcut for the window
when combined with ALT.
For example, <2> indicates the shortcut ALT+2.
The asterisk ‘*’ in the Title indicates that you modified the contents of the document
window since its opening.
The word On-line in the Title indicates the following:
– The document window reflects conditions of the on-line connected AC 100 Series
target.
– The modifications done in the document window are—or can be—effective in the
on-line connected AC 100 Series target.
• The Title of dialog box describes the purpose of the dialog box.
To move an application window, a document window, or a dialog box, drag and drop their Title.
Double-click on the Title of an application window or a document window to switch between
maximized and restored window size.
• Minimize button
• Restore button
• Close button .
It provides quick mouse access to many commands used in the Function Chart Builder.
The following table lists the Toolbar commands:
To display or hide the Status Bar, use the View | Status Bar command.
Generally, the left area describes actions of menu commands as you use the arrow keys to
navigate through menus. This area similarly shows messages that describe the actions of toolbar
buttons while you depress them. If after viewing the description of the toolbar button command
you do not want to execute the command, release the mouse button only after you moved the
pointer off the toolbar button.
During a connection with an AC 100 Series target the Function Chart Builder displays here also
information about the progress and status of the connection, time stamp of the last successful
transfer of display values, and target status. In on-line mode, the information is displayed in the
left area with white letters on dark background (in reverse video).
The right areas of the Status Bar indicate whether some keys are latched down, and show the
selected communication port and target address.
Indicator Description
NUM The NUM LOCK key is latched down.
SCRL The SCROLL LOCK key is latched down.
COMx/X3/AF 100 Selected port for communication with the AC 100 Series target:
COM1 to COM4, X3, or AF 100.
target_name Name and address of the connected AC 100 Series target.
[net, node |bus, station, position] Net and node are shown only in case of routing (X3).
NOTES
If the last right areas are dimmed, they contain data as set in the Application
Builder.
If the last right areas are displayed normally, they contain actual data of an on-line
connected AC 100 Series target.
The COMx/X3/AF 100 indicator is highlighted during the communication to and
from the connected target.
AF 100 standing for Advant Fieldbus 100 may be indicated only in case of
special configurations of the Function Chart Builder.
Title
The window is titled by filename of the internal representation of the selected object.
The number in angle brackets is the key that serves as shortcut for the window when combined
with ALT, in this case ALT+1.
An asterisk ‘*’ indicates that you modified the *.ODB window since its opening.
Section
Select the section you want to create, open, or delete.
Select the PC section if you want to create, open, delete, cut, copy, or paste PC programs.
Dimmed sections are not available for the selected object.
Contents
For PC section of nodes or node structures:
• The list box part of the combo box shows the existing PC programs.
• Before opening a PC program, select its name in the list box part or edit it in the text box
part in PCpp form, where the PC program number pp is a value in the range 1 - 99.
• Before copying, cutting, or deleting one, several, or all PC programs, select their names in
the list box part, for example, by clicking on them while keeping the CTRL key pressed, or
edit the PC program names in the text box part in PCpp form separated by a space, where
the PC program numbers pp are different values in the range 1 - 99.
In all other cases:
A wildcard asterisk ‘*’ shows that the section, selected in the Section list box, exists.
New
Activate this button to create the selected section or PC program.
For further actions and dialogs see the File | New Section commands.
Open
Activate this button to open the selected section or PC program.
The Function Chart Builder opens the corresponding PC Section window, DB Section window,
Symbol Section window, or TC/CI Terminal Section window and displays its elements.
See also the File | Open Section commands.
Delete
Activate this button to delete the selected PC program.
For further actions and dialogs see the File | Delete Section | PC commands.
(This function is not implemented yet for DB section, symbol section, and TC/CI section.)
The recent tree view is always synchronized with the recent active function chart view.
Panes of the same view type are not synchronized, neither panes belonging to different
PC Section windows.
See example of PC Section window with 3 panes in the following figure.
Pane 1 shows the tree diagram with all elements, panes 2 and 3 show the function chart.
You can use the context menu with relevant commands by clicking with the right mouse button
on different parts of the PC Section window or by pressing the context menu key. The latter is
available only on WIN95 keyboards. Which commands appear in the context menu depends on
the location of the mouse cursor and the current selection, respectively. Choose the Options |
Preferences command and select the Quick Connect by Right Mouse Button check box to
preserve the classical quick connect mode when clicking with the right mouse button on a PC
terminal.
Title
The Title consists of the following items:
• A number in angle brackets
It serves as shortcut for opening the window when combined with ALT.
For example, <2> indicates the shortcut ALT+2.
Vertical Splitbar
To increase and decrease pane 1, drag this splitbar with the mouse to the right and the left,
respectively.
Or choose the View | PC Pane | Split Vertically command and use the RIGHT and LEFT keys.
Horizontal Splitbar
To increase and decrease pane 2, drag this splitbar with the mouse down and up, respectively.
Or choose the View | PC Pane | Split Horizontally command and use the DOWN and UP keys.
PC Pane Toolbar
Each pane has its own toolbar. Parts of the PC pane toolbar see in the following figure:
• Horizontal Scrollbar
Use this ordinary scrollbar with arrow boxes and scroll box to scroll the pane horizontally.
• Select View
Activate this button to open a pop-up menu and select there one of the views for the pane.
Title
The Title consists of the following items:
• A number in angle brackets
It serves as shortcut for opening the window when combined with ALT.
For example, <3> indicates the shortcut ALT+3.
• The word On-line
If it is displayed, the DB Section window reflects conditions of the on-line connected
AC 100 Series target, and the modifications done in the DB section are—or can be—
effective in the target.
• The name of the section
• The asterisk ‘*’ indicating that you modified the DB Section window since its opening
• An order number 1, 2, and so on, preceded by a colon ‘:’
It is used to differentiate between DB Section windows if more than one are available.
Filter/Item Des.
Edit a filter in the text box part to show only DB elements with a certain item designation in the
Item Designation, Instance Name, Attr., Callname, Address list box.
Open the list box part to see the valid filters and select one. Hash mark ‘#’ is wildcard for board
and channel numbers.
Item Designation
The item designation of the selected DB element appears here.
To change selection, you can also edit another item designation here.
The new selection will be effective in the Item Designation, Instance Name, Attr., Callname,
Address list box if you activate one of the buttons Create, Edit, or Delete.
Filter/Instance Name
Select a filter in the list box part or edit it directly in the text box part to show only DB elements
with a certain instance name in the Item Designation, Instance Name, Attr., Callname,
Address list box.
Wildcards ‘*’ and ‘?’ are also allowed.
Close the new filter condition with ENTER to make it effective.
The list box part contains the recently used filters.
NOTE
Be sure to select the View | Sort by Name command if you want to see
the DB elements sorted alphabetically by name in the list box.
Instance Name
The instance name of the selected DB element appears here.
To change selection, you can also edit another instance name here.
The new selection will be effective in the Item Designation, Instance Name, Attr., Callname,
Address list box if you activate one of the buttons Create, Edit, or Delete.
DB Terminal
The drop-down list box contains all terminals of the selected DB element, which can be
connected to the PC terminal selected in the PC Section window.
See Section 4.4.8.1, Connection Rules.
Select the DB terminal here.
The text box part reflects your selection. You can also edit here any appropriate DB terminal.
NOTES
Because the number of elements is not continually determined for this list, the
position of the scroll box does not reflect the position of the selected item in the
list. Nevertheless, all other features of the scrollbar are available.
The Function Chart Builder shows or hides DB elements implicitly created by
remote I/O elements (attribute: R), extended DB elements (attribute: X), and
AF100S DB elements (attribute: S) in the Item Designation, Instance Name,
Attr., Callname, Address list box depending on the Show Implicitly Created
Communication DB Elements preference option as set by Options |
Preferences.
Create
Activate this button to create the selected DB element.
For further actions and dialogs see the Edit | Create - for DB Section command.
Edit
Activate this button to modify the selected DB element.
For further actions and dialogs see the Edit | DB Terminal Values command.
NOTE
The DB elements implicitly created by remote I/O elements (attribute: R),
extended DB elements (attribute: X), and AF100S DB elements (attribute: S)
cannot be changed.
Delete
Activate this button to delete the selected DB element.
NOTE
The DB elements implicitly created by type circuits (attribute: T), remote I/O
elements (attribute: R), extended DB elements (attribute: X), and AF100S DB
elements (attribute: S) cannot be deleted on their own. If you delete a parent
element, also the DB elements implicitly created by it will be deleted.
Connect
Activate this button to connect the selected DB terminal and the PC terminal, which is selected
in the PC Section window.
If no DB terminal is selected explicitly, the VALUE terminal will be connected as default.
If the connection rules are fulfilled, the Function Chart Builder builds the connection and
updates the PC diagram in the PC Section windows depending on the Update Function Chart
on Apply preference option set by the Options | Preferences command.
Title
The Title consists of the following items:
• A number in angle brackets
It serves as shortcut for opening the window when combined with ALT.
For example, <3> indicates the shortcut ALT+3.
• The name of the section
• The asterisk ‘*’ indicating that you modified the Symbol section since its opening
• An order number 1, 2, and so on, preceded by a colon ‘:’
It is used to differentiate between Symbol Section windows if more than one are available.
Filter/Name
Select a filter in the list box part or edit it directly in the text box part to show only symbols with
a certain name in the Name, Kind, Type, Default Value list box.
Wildcards ‘*’ and ‘?’ are also allowed.
Close the new filter condition with ENTER to make it effective.
The list box part contains the recently used filters.
Name
Shows (repeats) the name of the symbol, which is selected in the Name, Kind, Type, Default
Value list box.
You can also change the selection in the list by editing here.
Filter/Kind
Select a filter in the list box part or edit it directly in the text box part to show only symbols of a
certain kind in the Name, Kind, Type, Default Value list box.
Kinds Any, instance-unique (IU, not for node structure), location-unique (LU, only for circuit),
and project-unique (PU) are available.
Create
Activate this button to create a new symbol.
For further actions and dialogs see the Edit | Create - for Symbol Section command.
Edit
Activate this button to modify the selected symbol.
For further actions and dialogs see the Edit | Symbol command.
Delete
Activate this button to delete the selected symbol.
Connect
Activate this button to connect the selected symbol and the PC terminal, which is selected in the
PC Section window.
If the connection rules are fulfilled, the Function Chart Builder builds the connection and
updates the PC diagram in the PC Section windows depending on the Update Function Chart
on Apply preference option set by the Options | Preferences command.
Title
The Title consists of the following items:
• A number in angle brackets
It serves as shortcut for opening the window when combined with ALT.
For example, <4> indicates the shortcut ALT+4.
• The name of the section
• The asterisk ‘*’ indicating that you modified the TC/CI terminal section since its opening
• An order number 1, 2, and so on, preceded by a colon ‘:’
It is used to differentiate between TC/CI Terminal Section windows if more than one are
available.
Filter/Name
Select a filter in the list box part or edit it directly in the text box part to list only terminals with
a certain name in the Name, No., Kind, Type, Default Connection list box.
Wildcards ‘*’ and ‘?’ are also allowed.
Close the new filter condition with ENTER to make it effective.
The list box part contains the recently used filters.
NOTE
Be sure to select the View | Sort by Name command if you want to see the TC/CI
terminals sorted alphabetically by name in the Name, No., Kind, Type, Default
Connection list box.
Name
Shows (repeats) the name of the terminal, which is selected in the Name, No., Kind, Type,
Default Connection list box.
You can also change the selection in the list by editing here.
Filter/Kind
Select a filter in the list box part or edit it directly in the text box part to show only terminals of
a certain kind in the Name, No., Kind, Type, Default Connection list box.
Kinds Any, FP, IN, and OUT are available.
Create
Activate this button to create a new terminal.
For further actions and dialogs see the Edit | Create - for TC/CI Terminal Section command.
Edit
Activate this button to modify the selected terminal.
For further actions and dialogs see the Edit | TC/CI Terminal command.
Delete
Activate this button to delete the selected terminal.
Connect
Activate this button to connect the selected TC/CI terminal and the PC terminal, which is
selected in the PC Section window.
If the connection rules are fulfilled, the Function Chart Builder builds the connection and
updates the PC diagram in the PC Section windows depending on the Update Function Chart
on Apply preference option set by the Options | Preferences command.
Examples
1. Type descriptions and element libraries found at start-up of the Function Chart Builder
may differ from those referenced and used by the current object. The Function Chart
Builder displays the differences, if there are any, in the Output window.
2. The Function Chart Builder displays lists of DB and PC source code, and possibly,
warnings and error messages in the Output window during execution of the File |
Generate Source command.
Title
The Title consists of the following items:
• A number in angle brackets
It serves as shortcut for opening the window when combined with ALT.
For example, <5> indicates the shortcut ALT+5.
• The name of the table
• The asterisk ‘*’ indicating that you modified the Name Table since its opening
• An order number 1, 2, and so on, preceded by a colon ‘:’
It is used to differentiate between Name Table windows if more than one are available.
Filter/Name
Select a filter in the list box part or edit it directly in the text box part to list only certain names
in the Kind, Name, Unit, Item Designation list box.
Wildcards ‘*’ and ‘?’ are also allowed.
Close the new filter condition with ENTER to make it effective.
The list box part contains the recently used filters.
Name
Shows (repeats) the name, which is selected in the list box below.
You can also edit a new name here.
Filter Kind
Select one of the filter kinds All, PC Elements, PC Terminals in the list box part to list all or
only certain names in the Kind, Name, Unit, Item Designation list box.
Goto
Activate this button to select the PC terminal or PC element, pertaining to the selected name, in
the recently active PC Section window.
Name…
Activate this button to create or edit the name serving as alias for a source or as instance name
as applicable.
For further actions and dialogs see the Edit | Name command.
Unit…
Activate this button to create or edit the unit attached to a source having already a name.
For further actions and dialogs see the PC-Terminal | Unit | Create/Edit command.
Delete
Activate this button to delete the name (and unit) of a source or to delete an instance name as
applicable.
For further actions and dialogs see the Edit | Delete Name command.
Connect
Activate this button to connect the PC terminal, which is selected in the PC Section window,
by the selected name.
The button can be activated only for names of kind “PC terminal”.
If the connection rules are fulfilled, the Function Chart Builder builds the connection and
updates the PC diagram in the PC Section windows depending on the Update Function Chart
on Apply preference option set by the Options | Preferences command.
NOTE
Forcing and monitoring are possible only for connected AC 100 Series targets
and in on-line mode, but the Test Table can be prepared also in off-line mode.
Table Contents
You can select filters to display all of the monitored and forced terminals in a Test Table
window or only a subset of them.
To overview and check the values of interest, you can resize the columns by dragging the
divisions that separate the header parts Instance, Terminal, and so on. You can change the
order of the columns by dragging the header parts to the required position. You can set or invert
the sort order by clicking on the header part, according to which you want to sort the entries.
You can insert PC and DB terminals in the table by the Edit | Create command or by the
Create/Edit… button of the List Entry group.
The entries are ordered as they were entered. Normally, the order is the input sequence. Select
any existing entry to insert a new entry immediately after it. If no item is selected—you achieve
it by holding down CTRL while clicking on the selected item—, the new item is inserted as
item 0, before all the rest.
Interpret the different values within the table as percent value or as physical value depending on
the PC or DB element and the related HW module.
To see a value, for example, of type I or IL, also as 32 single bits or in hexadecimal format, click
with the right mouse button on it to open the Detailed Value Display dialog box.
You can edit a selected item by the Edit | Create command or by the Create/Edit… button.
You can remove one or more selected items from the table by the Delete button. Deleted force
entries remain in the table with state ‘R’ until the deactivation of the values in the target.
The time stamp of Test Table contents appears in the Test Table windows and in the Status
Bar. It is date and time of the recent transfer of values from the target to the engineering station.
It is displayed only after successful Test | Single Display or Test | Cyclic Display commands or
after successful activation one of the buttons in the Display group.
Activate the Recording button to open the Trend Recording dialog box, configure it, and start
and stop recording.
NOTE
It is useful to check the Test Table to see whether or not there are any obsolete
force values restored from the last Function Chart Builder session.
Title
The Title consists of the following items:
• A number in angle brackets
It serves as shortcut for opening the window when combined with ALT.
For example, <4> indicates the shortcut ALT+4.
• The word On-line
If you just prepare the Test Table off-line, and the Function Chart Builder is not connected
on-line to an AC 100 Series target yet, the word On-line is missing in the Title. If it is
displayed, it indicates the following:
• The Test Table reflects conditions of the on-line connected AC 100 Series target.
• The modifications done in the Test Table window are—or can be—effective in the on-line
connected AC 100 Series target.
• The name of the table
• The asterisk ‘*’ indicating that you modified the Test Table window since its opening
• An order number 1, 2, and so on, preceded by a colon ‘:’ It is used to differentiate between
Test Table windows if more than one are available.
Column Description
(#) Natural order number of items (0, 2,...) assigned at their creation.
Instance This column identifies the signal or the PC or DB instance, which is
the source of the signal, by
• the signal name if available,
• else the instance name of the PC or DB instance if available,
• else the item designation of the PC or DB instance.
DB signals are preceded by an equal sign ‘=’.
Terminal Terminal name of the terminal if available, else its terminal number.
Force Value Value to be forced to when the entry is activated.
It is empty if the table entry is a display entry.
This value need not be identical with the value on target because
another tool may force another value.
Value on Target The value that is active in the target and effective for the process.
For force entries it is the active forced value.
For display entries it is the value monitored in the target.
Values are significant only if the target is unblocked and all of the
pertaining executable units are also deblocked. Question marks `?´
indicate that no values are fetched from the target yet. Value `X´ of
PC terminals indicates that the PC program is blocked yet.
Physical Unit Physical unit of the value, for example, m/s, bar, if specified.
Type Data type of signal value, for example, R, I, IL, B.
Description DESCR terminal of the DB terminal if available.
State Reflects the kind and state of the entries, see Table 4-24.
Trigger Information
A static text appears here if some trigger condition is defined by the Test | Set Trigger
command for stopping cyclic monitoring. The text reflects whether
• The trigger condition is enabled or disabled
• Cyclic display is stopped by trigger condition.
Create/Edit
Activate this button to create a new display or force entry or edit the selected entry in the
Instance, Terminal, …, State list box.
For further actions and dialogs see Section 4.5.5.3, Edit | Create… - for Test Table.
Delete
Activate this button to delete one or more selected entries in the
Instance, Terminal, …, State list box.
Deleted force entries remain in the table with state ‘R’ until the deactivation of the values in the
target.
Activate
Activate this button to activate the selected force entries in the Instance, Terminal, …, State
list box. It has the same effect as selecting the Test Table window and choosing the
Test | Activate Force Values command.
Activate All
Activate this button to activate all—visible and invisible—force entries of the Test Table.
It has the same effect as selecting the Test Table window and choosing the
Test | Activate All Force Values command.
Deactivate
Activate this button to deactivate the selected force entries in the Instance, Terminal, …, State
list box.
It has the same effect as selecting the Test Table window and choosing the
Test | Deactivate Force Values command.
Deactivate All
Activate this button to deactivate all—visible and invisible—force entries in the Test Table.
It has the same effect as selecting the Test Table window and choosing the
Test | Deactivate All Force Values command.
All
If this check box is not checked, the Force group offers the Activate and Deactivate buttons.
If this check box is checked, the Force group offers the Activate All and Deactivate All
buttons.
Single
Activate this button to sample all—visible and invisible—display entries in the Instance,
Terminal, …, State list box once.
The Function Chart Builder updates the corresponding values in the
Instance, Terminal, …, State list box.
It has the same effect as selecting the Test Table window and choosing the
Test | Single Display command.
Cyclic
Activate this button to sample all—visible and invisible—display entries in the Instance,
Terminal, …, State list box continuously.
The Function Chart Builder attempts to sample the display entries in the target and update the
corresponding values in the Instance, Terminal, …, State list box with the cycletime defined
by the Test | Set Cycletime command or as stored as workspace-specific parameter.
It has the same effect as selecting the Test Table window and choosing the
Test | Cyclic Display command.
Stop
Activate this button to stop sampling display entries in the target.
It has the same effect as selecting the Test Table window and choosing the Test | Stop Display
command.
Recording
Activate the Recording button to open the Trend Recording dialog box, configure it, and start
and stop recording.
Use this dialog box to scale and setup trend recording of signals selected in the pertaining
Test Table, and to display their trend curves.
Activate the Setup button to open the Setup dialog.
Activate the Details button to open the Value List of Trend Recording.
You can save the recorded trend in a *.GLX file, generally in the LIST subdirectory of the node.
You can inspect trends saved in *:GLX files by AS100-EDIT (or by Microsoft Excel).
Vertical Scale
An own scale is prepared for each displayed value, but for clarity only one scale is shown at a
time. You can switch between different scales with the < and > buttons below the scale.
In this example in the figure the scale is shifted by an offset of one. With an offset you can
adjust different signals—especially binary signals—so that they do not overlap each other.
Scale Switch
You can switch between different vertical scales with the < and > buttons.
Trend
This area contains the recorded trend curves of selected signals corresponding to the common
horizontal time scale.
Marker
The marker is a vertical, broken line.
You can set it by clicking at the desired position in the trend.
Activate the Details button to see the values at the marker position.
Time Scrolling
You can scroll within the area of the horizontal time scale with the <<, <, >, and >> buttons.
With < and > the display will be scrolled by one unit, while << and >> scroll ten units when
pressed.
Recording Status
Shows the actual status of trend recording.
Examples
Logging data ...
Logging stopped.
Setup Button
Activate this button to open the Setup dialog of Trend Recording:
Specify for each value listed in the Value list box the arrangement of the vertical scale and style
and color of the displayed curve.
Activate the Time - Scale button to adjust the common time scale for all signals.
Activate the Trigger button to define a common trigger condition for all signals.
• Value
Signals selected in the pertaining Test Table window are listed in the Value list box.
A total of 20 signals can be registered.
The signal name is displayed in the color selected for the trend curve of the signal.
Values in the Vertical Scale and Style groups belong to the signal selected in Value.
• Style - Color
Press this button to open a color table.
Specify the common time scale, sample time, and time display notation for all signals here.
Time Scale Unit
Specify here the units of the horizontal time scale. The available times range from 1s to 1h.
Sample Time
Specify here the cyclicity of reading data from the Advant Controller 100 Series
A sample time of 10s means that the values will be read once in 10s.
NOTES
The sample time cannot be greater than the time scale unit. Further on, the
number of display points is restricted. Therefore the shorter sample times are not
available for long time scale units.
There is no direct synchronization between Advant Controller 100 Series and the
engineering station.
To get a value from each cycle of Advant Controller 100 Series, select a sample
time that is shorter than the cycle time of the corresponding PC program.
If you select short sample times, a warning message will be displayed. It informs
you that the recording of data may lead to problems if the overall load on the
target is higher than 85%. This may lead to a longer effective cycle time.
Time Display
Relative time display means that the time notation at the ticks of the time scale will be
relative to the start of data recording. Absolute time display means notation according to
the day time. The clock of the Advant Controller 100 Series will be used for the display.
• Trigger Button
Activate this button to open the Trigger Setup dialog:
Formula
The formula is a valid expression which may contain values, constants, operators, and
indexes for values.
Value: Any signal that has been selected in the pertaining Test Table window.
You can pick up a name from the Available Variable Names drop-down box
and insert it into the Formula field by copy and paste.
Constant: Any constant like 2 or 50.5.
Operator: ==, <, <=, >, >=, +, -, *, /, (, ), AND, OR, XOR, NOT.
Index: signal_name [n]; with -10 <= n <= -1.
A signal name without an index means the current value, signal_name [-1]
means the foregoing value, and so on.
Example: A formula to detect a positive slope of a curve may look like this:
(CURRENT_VAL - CURRENT_VAL[-1])>0
Details Button
Activate this button to open the Value List of Trend Recording:
It shows either the newest values or the values at the marker position.
The marker—when positioned—is presented as a vertical, broken line. You can set the marker
by clicking at the desired position into the display.
Title
The number in angle brackets is the key that serves as shortcut for the window when combined
with ALT. For example, <3> indicates the shortcut ALT+3.
Node on AS 100ES
Data describing the node and the application program as defined in the engineering station.
Target RAM
Data describing the on-line connected target and the application program stored in its RAM.
Differences
The “not equal” sign ‘<>’ points out the differences between the columns Node on AS 100ES,
Target RAM, and Target PROM.
Target PROM
Data describing the on-line connected target and the application program stored in its PROM.
PCPGM State
State of the application program in the on-line connected target is Deblocked (running) or
Blocked (stopped).
Free Memory
Free memory space in the RAM of the on-line connected target.
Report Errors
This button is displayed only if some errors were recently detected in on-line connected target.
Activate it to trigger the following actions:
1. Start the Diagnostics (Diagnosis) program attached to the Function Chart Builder.
2. The Diagnostics (Diagnosis) program reads the errors reported from the on-line connected
target.
The target reports all errors collected since the last clear by an appropriate diagnostic
command.
3. The Diagnostics (Diagnosis) program displays the reported errors in the Error Report
window.
NOTE
The Diagnostics program is adapted to the different diagnostics features of both
former and recent controller versions.
In case of AC 110 2.0, AC 70 1.0, and AC 55 1.0 it is called the Diagnosis
program.
In case of AC 100 Series targets of newer node types, such as AC 160, AC 110
2.1 and higher, AC 80, AC 70 1.1 and higher, and AC 55 1.1, it is called the
Diagnostics program.
You can start Diagnostics (Diagnosis) only from within the Function Chart Builder.
When started, Diagnosis opens its Error Report window.
In case of Diagnostics you may have to open a similar Error Report window explicitly.
If you are working with a target of node type AC 110 2.0, AC 70 1.0, and AC 55 1.0, for further
information see Section 4.5.22, Controls of Diagnosis, Section 4.5.23, Controls in Document
Windows of Diagnosis, and Section 4.5.24, Menu Commands of Diagnosis.
If you are working with a AC 100 Series target of newer node type, such as AC 160, AC 110 2.1
and higher, AC 80, AC 70 1.1 and higher, and AC 55 1.1, for further information see Section
4.5.14, Controls of Diagnostics, Section 4.5.15, Controls in Document Windows of Diagnostics,
and Section 4.5.16, Menu Commands of Diagnostics.
When you choose a command, the Function Chart Builder executes it and/or changes its own
state. The state of the Function Chart Builder depends mainly on the following conditions:
• Is the selected object, on which you are working, a node structure, a circuit, a type circuit,
or a node?
• Are you editing PC program (in function chart or tree diagram representation), DB section,
symbols, or TC/CI terminals?
• What are you using the Function Chart Builder for?
– An Advant Controller 400 Series or MasterPiece 200/1 target (standard node types)
– An Advant Controller 100 Series target (standard node types)
– Some special target developed by an ABB business unit (additional node types).
• Are you working in on-line mode? (Is the engineering station connected on-line to an
AC 100 Series target? Are the program prepared with the Function Chart Builder and the
program, which is running in the connected Advant Controller AC 100 Series target,
identical?)
Depending on its state and on the document window having the focus, the Function Chart
Builder offers only a subset of its commands. So, if you pull down a menu, several commands
may be dimmed.
Additional node types may specify additional menu items or modified functions for the standard
Function Chart Builder menu items. These variants are displayed and valid if you are working
on an object of such a node type.
For documentation about features depending on additional node types turn to their developer or
supplier.
The Function Chart Builder displays the menus and their menu items on the screen in a non-
alphabetical order that reflects the logical execution sequence or the groups of related functions.
The Contents of Function Chart Builder Help lists the menu commands also in this order.
The commands are denoted in menu | menu_option or menu | menu_option | submenu_option
form.
The menus correspond to the de-facto Windows standard:
• Items having submenus are designated with a greater-then sign ‘>’ or a right-pointing
triangle.
• Items, which display dialog boxes for full specification of the command, are designated
with an ellipsis (…).
• The accelerator keys are denoted by underline.
• If a command has a shortcut key, it is displayed next to the command in the menu or
submenu.
CAUTION
This function deletes the existing *.ODB file containing the internal data
representation of the Function Chart Builder and creates a new, empty one for the
object, on which you are going to work. You will lose all information you entered
previously for this object and saved in its *.ODB file by the File | Save or
File | Exit command. Source code and print files are not affected by Initialize.
NOTES
File | Rebuild Element Types has the same effect as File | Exit and a subsequent
restart on the same object by Tools | Function Chart Builder or Tools | Node
Structure Function Chart Builder in the Application Builder.
File | Rebuild Element Types leaves PC and DB element, type circuit, and
circuit instances unchanged, it does not re-instantiate them.
• PC Program
The Function Chart Builder displays the numbers of already existing PC programs in the
list box part.
Type the name of the PC program to be created in the text box part in PCpp form, where
the PC program number pp may have any of the free values in the range 1 - 99.
After you defined the new PC program, the Function Chart Builder displays the Create
Element dialog box. For dialog see Section 4.5.5.3, Edit | Create… - for PC Section.
Insert here a PCPGM element as top element.
The Function Chart Builder opens the PC Section window of the selected PC program and
shows the created PCPGM.
Create further PC elements there.
The Function Chart Builder opens the PC Section window of the selected type circuit or circuit
and shows the created PC element.
Create further PC elements there.
• PC Program
The Function Chart Builder displays the numbers of available PC programs in the list box.
Select the name of the one to be opened in the list box or edit it in the text box in PCpp
form, where PC program number pp may have any of the listed values in the range 1 - 99.
After you selected the PC program, the Function Chart Builder opens its PC Section window.
• PC Program
Select the PC program to be deleted from the list box part, which contains all available PC
programs of the selected node or node structure, or edit its name in the text box part.
The Function Chart Builder asks you to confirm the deletion.
CAUTION
This function deletes the selected PC program of the node or node structure in the
*.ODB file containing the internal data representation of the Function Chart
Builder. You will lose all information you entered previously for this PC program
of the selected object and saved in its *.ODB file by the File | Save or File | Exit
command. AMPL source code, node structure source code, and print files are not
affected by Delete Section.
If you answer Yes, the Function Chart Builder deletes the selected PC program.
NOTES
To reach on-line preparation mode, the Function Chart Builder has to have passed
the on-line mode at least once with a given application for a target system.
In on-line preparation mode, you can connect also any other target system.
The on-line preparation mode regains its meaning only when you reconnect the
same target system, with which you worked in on-line mode.
CAUTION
Use password protection only if it is reasonable. Be aware that there is no “back
door” or “universal password” if you forget the password. File | Initialize does
not clear the password. On the other side, files other than *.ODB, for example
source code files, are not protected.
• Old Password
Enter here the old password if there is any.
Be sure using lower case and upper case correctly.
• New Password
Enter here the new password if you want to set one.
The password has to consist of 8 to 50 printable characters.
Leave this text box empty if you want to clear the password.
target password, the user does not need to enter the same password again when
connecting to a protected target.
In case of AC 100 Series nodes supporting application retrieval (upload and backtranslation of
target code), the Function Chart Builder displays also check boxes to generate also additional,
complete information for storing in and later retrieval from the target.
See Section 4.5.4.19, File | Backtranslate Target Code.
Figure 4-158. Generate Target Code with Support for Application Retrieval
The selections are effective during target code generation and File | Save and Load.
• PC Section
Select this check box to generate PC parts of the target code.
PCpp shows the current and only PC program.
• DB Section
Select this check box to generate DB part of the target code.
NOTE
Automatically created DAT_DAT elements do not appear in the *.ODB file.
Unselect this check box to suppress automatic generation of such DAT_DAT elements.
This is recommended if you have manually created DAT_AI, DAT_AO, DAT_DAT,
DAT_DI, and DAT_DO elements for making the corresponding referenced elements
visible for Human-System Interfaces.
NOTE
Avoid mixing manual and automatic creation DAT_* elements.
BOIL, COIL
Select these check boxes to prepare data about AF 100 connections of the AC 100 Series
node in BOILnnnn.C00 and COILnnnn.C00 files for programming AdvaSoft for Windows
nodes.
PC Elements
Names of PC elements and PC signals will be added to the target code.
Type Circuits
Type circuit files *.TCS, *.TBX, and *.TIX will be added to the target code.
If this check box is not selected, type circuit instance remain disintegrated.
Documentation
Information for documentation, such as item designation of elements, page divisions, texts
of headers and footers, and footer template (*.TPX file), will be added to target code.
NOTES
Due to the complexity of some type circuits, the Function Chart Builder may
reject to generate target code for nodes containing instances of such type circuits
in non-disintegrated form.
In this case, generate source code for the node, backtranslate it, and at the same
time, disintegrate the type circuit instances in the node. (Be sure to select the
Disintegrate TCs check box in the dialog box of File | Backtranslate Source.)
If there are changes in the DB section, generate target code for both sections,
or generate target code at first for the DB section and then for the PC section.
The Function Chart Builder opens the Output window (or iconizes it as set by Options |
Preferences), and lists messages about progress and termination of the target code generation.
The Function Chart Builder generates the DB target code in *.C00 form and a listing in
COTL0000.C00 form, and stores them in the \DBDATA subdirectory of the node.
The Function Chart Builder generates the PC target code files in *.Cpp (pp = PC program
number) form and a listing in RETL0000.Cpp form, and stores them in the \PCDATA
subdirectory of the node.
NOTE
Additional node types may specify another function for the File | Generate
Target Code standard menu item than described here. The modified function is
valid if you are working on an object of such a node type. See Section 4.5.4.13,
File | Generate Target Code (External).
The Function Chart Builder generates temporary AMPL source code for the PC section in
node.AAX form and stores it in the \CONTROL subdirectory of the node.
Then it starts the external target code generator specified for the command by the additional
node type and/or option of the node you are working on.
The external target code generator generates target code necessary for the non-standard target
on the basis of the temporary source code node.AAX.
For the documentation of the external target code generator turn to its developer or supplier.
The completed Bus Configuration Database and the Bus Configuration Builder are used for
projecting and checking AF 100 networks and calculating AF 100 bus load. They are necessary
for supporting Human-System Interfaces and facilitating access of process signals.
AF 100
Select this check box to generate BCD data for Advant Fieldbus 100.
In the DB section of the AC 400 Series node the Function Chart Builder checks the conditions
of AF 100 communication: it looks for a PM# processor module, one or more AF100_#
communication interface, and DSP# DataSet elements, the USER terminal of the latter having
other value than 4. (Hash mark ‘#’ is wildcard; USER=4 means fast DSP communication.)
It fills the Bus Configuration Database of the node with the found elements.
Then the Function Chart Builder creates automatically DAT_DAT elements for all DAT
elements referenced on some REFj terminals of the DSPi elements and fills the Bus
Configuration Database also with them. Through DAT_DAT DB elements the AF100 OCP
makes DAT DB elements visible for Human-System Interfaces.
NOTES
This function equals the one controlled by the All DSPs Visible in AF100 OPC
check box of File | Generate Target Code available for AC 100 Series.
Automatically created DAT_DAT elements do not appear in the *.ODB file.
In case of AC 400 Series, S800 I/O is realized partly in the PC section. The PC
part is not reflected in the Bus Configuration Database, hence not checked by the
Bus Configuration Builder and not reflected in the calculated bus load.
MB 300
Select this check box to generate BCD data for MasterBus 300.
In the DB section of AC 400 Series node the Function Chart Builder checks the conditions of
MB 300 communication: it looks for DB elements LAN#, callname CS513, that fulfill the
following conditions:
Terminal NET has a value >= 0, and terminal NODE has a value > 0, and terminal
PROTOCOL has any of the values “MB300”, “MB300_F”, “MB300_E”.
MP 200/1 nodes have no corresponding DB elements. In that case the Function Chart Builder
checks the MB 300 address of MP 200/1 nodes as set by APB:
“Net” is >= 0, and “Node” is > 0.
Function Chart Builder fills the Bus Configuration Database if the conditions are met.
GCOM
Select this check box to generate BCD data for GCOM (on MasterBus 300).
In the DB section of AC 400 Series node the Function Chart Builder checks the conditions of
GCOM communication: it looks for DB elements LAN#, callname CS513, that fulfill the
following conditions:
Terminal NET has a value >= 0, and terminal NODE has a value > 0, and terminal
PROTOCOL has any of the values “GCOM”, “GCOM_F”, “GCOM_S”.
Function Chart Builder fills the Bus Configuration Database if the conditions are met.
• PC Section
Select this check box to generate PC source code.
The controls in the left column are relevant only if the PC Section check box is selected.
• PC File Name
Edit a PC file name, or single-select one from the drop-down combo box or browse for
source code in any directory using common explorer-style dialog Save PC Source Code
As..
The drop-down combo box "PC File Name" is filled with already existing source code in
the \PCDATA directory, and with the history of most recent source code files in any
directory.
Enter the filename with any extension to specify the complete filename. Otherwise the
given filename aaaa is automatically appended by aaaannss.AAX with nn = PC program
number, ss = segment number, and AAX = default extension for PC source code.
Prefix the filename by a directory path or UNC network path specification to generate
source code in the given directory, e.g. "e:\temp\asterix.aax" or "\\gpaxyz\c\temp\obelix".
Enclose file name in quotes if it contains blanks, e.g. "copy of 1".
Do not use characters in the range [\/:*?"<>|;!].
NOTE
Specify a maximum of 4 characters [A-Za-z0-9] as filename if you intend to
download the source code via On-line Builder to AC400 Series controllers. You
get a warning for AC400 Series controller node types if you enter more than 4
characters, or enter filenames containing other characters than [A-Za-z0-9], or
specify a directory other than the nodes \PCDATA directory, or specify an
extension other than .AAX.
If you ignore that warning, you can still generate valid source code to be
backtranslated in Function Chart Builder, but you cannot convert that source code
and load it via On-line Builder.
NOTE
If you entered the filename with any extension to specify the complete filename,
make sure that you have selected only one PC program. The PC program number
postfix nn is not appended in that case to the file specification. Thus if you select
all PC programs or more than, the specified source code file is overwritten by
each PC program.
You get a warning in that case.
The file filters Save as type of dialog Save PC Source Code As list all files matching the
selected file type:
– PCnn Source Code for ONB (*nn01.aax)
– All PC Source Code (*.aax)
– All Files (*.*)
On Save, the selected or edited file name is echoed in dialog Generate Source Code:
The first file filter (... for ONB) echo the file name specification without PCnn postfix,
without segment number ss, and without extension, e.g. 10101.aax => 1.
The other two filters echo the complete filename with extension, e.g. 10101.aax.
If the directory is not default (\PCDATA), the complete directory path is echoed, e.g.
"e:\temp\asterix.aax".
• PC Program(s)
Edit PC programs(s) separated by blank or comma, or select PC program(s) from the drop-
down combo box, or multi-select PC programs via dialog Select PC Programs..., or check
All Programs.
The drop-down combo box "PC Program(s)" is filled with all PC programs of the node,
and with the history of most recent selected PC Programs(s).
The dialog "Select PC Program(s)" displays all PC programs of the node.
NOTE
If you entered the filename with any extension to specify the complete filename,
make sure that you have selected only one PC program. The PC program number
postfix nn is not appended in that case to the file specification. Thus if you select
all PC programs or more than, the specified source code file is overwritten by
each PC program.
You get a warning in that case.
• DB File Name
Edit a DB file name, or single-select one from the drop-down combo box, or browse for
source code in any directory using common Explorer-style dialog Save DB Source Code
As.
The drop-down combo box "DB File Name" is filled with already existing source code in
the \DBDATA directory, and with the history of most recent source code files in any
directory.
Enter the filename with any extension to specify the complete filename. Otherwise the
given filename bbbb is automatically appended by bbbbss.BAX with ss = segment
number.
Prefix the filename by a directory path or UNC network path specification to generate
source code in the given directory, e.g. "e:\temp\asterix.bax" or "\\gpaxyz\c\temp\asterix".
Enclose file name in quotes if it contains blanks, e.g. "copy of 1".
Do not use characters in the range [\/:*?"<>|;!].
NOTE
Specify a maximum of 6 characters [A-Za-z0-9] as filename if you intend to
download the source code via On-line Builder to AC400 Series controllers. You
get a warning for AC400 Series controller node types if you enter more than 6
characters, or enter filenames containing other characters than [A-Za-z0-9], or
specify a directory other than the nodes \DBDATA directory, or specify an
extension other than .BAX. If you ignore that warning, you can still generate
valid source code to be backtranslated in Function Chart Builder, but you cannot
convert that source code and load it via On-line Builder.
The file filters Save as type of dialog Save DB Source Code As list all files matching the
selected file type:
– DB Source Code for ONB (*01.bax)
– All DB Source Code (*.bax)
– All Files (*.*)
On Save, the selected or edited file name is echoed in dialog Generate Source Code:
The first file filter (... for ONB) echo the file name specification without segment number
ss, and without extension, e.g. 101.bax => 1.
The other two filters echo the complete filename with extension, e.g. 101.bax.
If the directory is not default (\DBDATA), the complete directory path is echoed, e.g.
"e:\temp\asterix.bax".
• Include System Defaults
Use this check box to include system defaults (that is, DB general defaults) in the DB
source code. Select this check box if you want to extract the general defaults from the DB
source code of a node and save it as DBGENDEF.BAX file in the node directory and
possibly in ..\PR_TC\TCDATA and ..\PR_CI\CIDATA.
Unselect this check box if you want to generate “lean” DB source code. Then you rely on
general defaults in an object-specific DBGENDEF.BAX file or—if no object-specific
DBGENDEF.BAX file exists—on those defined in the current element library.
• Include System DB Elements
Select this check box the to include system DB elements in the DB source code.
AC 100 Series nodes have generally no system DB elements.
• Replace Item Designations By Wildcard
Check that option to generate (partial) DB source code with item designations replaced by
wildcard, e.g. PIDCON1 => PIDCON*m and so on. This is useful when creating DB
source code to be loaded or appended into an existing system where no DB listing is
available.
• Prefix DB Elements By MODIFY
Check that option to generate (partial) DB source code with MODIFY prefix as in On-line
Builder, e.g. PIDCON1 => MODIFY PIDCON1. This is useful when creating DB source
code to update an existing system.
• DB Filter/Callname and Filter/Name
Select this check box to limit the DB source code generation to DB elements with
callnames and/or instance names corresponding to the filters.
Open the list box parts of the adjacent combo boxes to see earlier filters and select one, or
edit directly in the text box part. Wildcards ‘*’ and ‘?’ are also allowed.
NOTES
*.TBX files stand for type circuit instances, which were instantiated in the
DB Section window. These are the type circuits having only DB section.
*.TIX files stand for type circuit instances, which were instantiated in the
PC Section window. These are the type circuits having PC section.
The Function Chart Builder does not take care of the 32K segmentation for text
files, which is usual with the On-line Builder, so only segment numbers ss = 01
appear.
If the \CIDATA subdirectory of the node contains an old node structure source file with the
node_name.NSS filename (, where node_name is the name of the selected node structure),
the Function Chart Builder prompts you to confirm:
Delete existing source file ... ?
CAUTION
If you answer Yes, the Function Chart Builder deletes the old node structure
source code file in the \CIDATA subdirectory of the node. If the old node
structure source code file is valuable, answer No at first, copy or rename it by
using the File | Copy command of the Application Builder or the Explorer
of Windows NT, then retry the Generate Source command.
The Function Chart Builder opens the Output window (or iconizes it as set by
Options | Preferences), and lists messages about progress and termination of the source code
generation.
The Function Chart Builder stores the node structure source code in the node_name.NSS file in
the \CIDATA subdirectory of the node.
CAUTION
If you answer Yes, the Function Chart Builder deletes the old circuit source code
file with the corresponding name in the \NODES\PR_CI\CIDATA subdirectory.
If the old circuit source code file is valuable, answer No at first, copy or rename it
by using the File | Copy command of the Application Builder or the Explorer
of Windows NT, then retry the Generate Source command.
The Function Chart Builder opens the Output window (or iconizes it as set by
Options | Preferences), and lists messages about progress and termination of the source code
generation.
The Function Chart Builder stores the circuit source code in the circuit_name.CIS file in the
\NODES\PR_CI\CIDATA subdirectory.
NOTE
You can instantiate a recently created or edited type circuit only if you have
generated source code for it.
• Complete TC
Select this option if you want to generate source code that specifies the type circuit
completely.
• TC Frame Only
Select this option if you want to generate source code that specifies only the interface
(frame) of the type circuit leaving its contents empty.
NOTE
On the basis of the generated type circuit source code containing just the interface
of the type circuit, you can insert the type circuit already in circuits and node
structures (but not in nodes!). You can get the source code of the final, completed
type circuit later from another designer in your team, or you can complete the
content of the type circuit yourself. Nevertheless, the source code of the complete
type circuit must be copied or generated in the \NODES\PR_TC\TCDATA
subdirectory of the current project before the expansion of node data.
• TC Frame Sections
Select the check boxes of this group box to define the corresponding sections in the
type circuit frame.
• PC Section Properties
These controls are valid only if the PC Section check box is selected.
Select the top PC element in the Top PC Element drop-down combo box. Select
ELEMENTS for all top PC elements, which are not explicitly listed in the list box part.
Define the number of top level PC elements within the type circuit. Type it in the
Item Des. Range text box.
If the \NODES\PR_TC\TCDATA subdirectory of the current project contains an old type circuit
source file with the type_circuit_name.TCS filename (, where type_circuit_name is the name of
the selected type circuit), the Function Chart Builder prompts you to confirm:
Delete existing source file ... ?
CAUTION
If you answer Yes, the Function Chart Builder deletes the old type circuit source
code file with the corresponding name in the \NODES\PR_TC\TCDATA
subdirectory. If the old type circuit source code file is valuable, answer No at first,
copy or rename it by using the File | Copy command of the Application Builder
or the Explorer of Windows NT, then retry the Generate Source command.
The Function Chart Builder opens the Output window (or iconizes it as set by Options |
Preferences), and lists messages about progress and termination of the source code generation.
The Function Chart Builder stores the type circuit source code in the type_circuit_name.TCS
file in the \NODES\PR_TC\TCDATA subdirectory.
NOTE
Initialization of internal data representation of a node does not destroy the internal
data representation of the equally named node structure nor any source code.
The Function Chart Builder resolves the circuit and type circuit references in the node structure
and the type circuit references in the circuits, that is, replaces the references with the referenced
objects. The result is stored as internal data representation of the selected node.
The Function Chart Builder opens the Output window (or iconizes it as set by
Options | Preferences), and lists messages about progress and termination of the expansion.
• Directory
The symbol shows the directory currently browsed for files.
Default is the \PCDATA subdirectory of the current node.
You can also select a subdirectory in the list box below.
Or go to the directory on the next higher level by clicking on the Up One Level icon.
Click on the Create New Folder icon to create a new subdirectory.
• File Name
Select a file name from the list box or type it here. Or edit a new filter condition, for
example, MY*.AAX, and press ENTER to make it effective.
• Files of Type
Select a filter condition from the standard filters in this drop-down list box.
The default extension for PC source code files is AAX.
• With DB
Select it if you want to check whether all DB elements exist, to which connections are
made in the PC program.
• Open
Activate this button to start checking.
The Function Chart Builder checks whether the PC source code corresponds to AMPL syntax,
opens the Output window (or iconizes it as set by Options | Preferences), and lists messages
about progress and termination of the check.
If there are syntactic errors in the source file or—in case of selected With DB— some
referenced DB elements do not exist, the Function Chart Builder stores messages in a list file
with the extension LS1 or LS2 in the subdirectory of the source file. The extensions reflect the
two passes of the validation.
• PC Section
Select this check box to backtranslate PC source code.
The controls in the left column are relevant only if the PC Section check box is selected.
• PC File Name
Edit PC file name(s) separated by blank, or select from the drop-down combo box, or
browse for source code in any directory using common explorer-style dialog Open PC
Source Code Files(s)..
The drop-down combo box "PC File Name" is filled with existing source code in the
\PCDATA directory, and with the history of most recent source code files in any directory.
Enter the filename with any extension to specify the complete filename. Prefix the
filename by a directory path or UNC network path specification to backtranslate source
code from the given directory, e.g. "e:\temp\asterix.aax" or "\\gpaxyz\c\temp\obelix".
Enclose file names in quotes if they contain blanks, e.g. "copy of 1", "copy of 2".
According to the existence of the edited / selected PC file name specification, the PC
program(s) combo box is refilled. If more than one PC filename is given, the PC
program(s) combo box is filled with the according superset.
NOTE
Specify a maximum of 4 characters [A-Za-z0-9] as filename if you intend to
backtranslate AC400 Series controller source code from On-line Builder into
Function Chart Builder.
The file filters Files of type of dialog Open PC Source Code File(s) see Figure 4-167 list
all files matching the selected file type:
– PCnn Source Code for ONB (*nn01.aax)
– All PC Source Code (*.aax)
– Backup PC source code (*.aax.bak)
– All Files (*.*)
On Open, the selected or edited file name(s) are echoed in dialog Backtranslate Source
Code.
The first file filter (... for ONB) echo the file name specification without segment number
ss, and without extension, e.g. "10101.aax" "10501.aax" "14201.aax" => 101 105 142 will
backtranslate PC1, PC5, PC42.
If you select all source code files aaaann01.aax for all PC programs PCnn, only aaa is
echoed, e.g. "10101.aax" "10201.aax" "10501.aax" "14201.aax" "18801.aax" => 1 will
backtranslate PC1, PC2, PC5, PC42, PC88.
The other two filters echo the complete filename with extension, e.g. 10101.aax.
If the directory is not default (\PCDATA), the complete directory path is echoed, e.g.
"e:\temp\asterix.aax".
• PC Programs
This combo box is automatically refilled when you modify the PC file name, see
Table 4-25.
You can change that default and edit the subset of PC programs(s) to be backtranslated.
Separate them by blank or comma, or select PC program(s) from the drop-down combo
box, or multi-select PC programs via dialog Select PC Programs(s), or check All
Programs.
The drop-down combo box "PC Programs" is filled with all PC programs found for the
specified PC file name(s), and with the history of most recent selected PC Programs(s).
Dialog "Select PC Program(s)" displays all PC programs found for the specified PC file
name(s).
• PC Item Designation From/To
These controls are used for partial PC source code generation only and not selectable on
Backtranslate Source Code.
• Disintergrate TCs
Select this check box to disintegrate the type circuits, if any, instantiated in the node.
• DB Section
Select this check box to backtranslate DB source code.
The controls in the right column are relevant only if the DB Section check box is selected.
• DB File Name
Edit DB file name(s) separated by blank, or select from the drop-down combo box, or
browse for source code in any directory using common explorer-style dialog Open DB
Source Code.
The drop-down combo box "DB File Name" is filled with existing source code
in the \DBDATA directory, and with the history of most recent source code files in any
directory.
Enter the filename with any extension to specify the complete filename. Prefix the
filename by a directory path or UNC network path specification to backtranslate source
code from the given directory, e.g. "e:\temp\asterix.bax" or "\\gpaxyz\c\temp\obelix".
Enclose file names in quotes if they contain blanks, e.g. "copy of 1", "copy of 2".
According to the existence of the edited / selected DB file name specification, the
following DB source code file(s) are backtranslated:
NOTE
Specify a maximum of 6 characters [A-Za-z0-9] as filename if you intend to
backtranslate AC400 Series controller source code from On-line Builder into
Function Chart Builder.
The file filters Files of type of dialog Open DB Source Code File(s) list all files matching
the selected file type.
– DB Source Code for ONB (*01.bax)
– All DB Source Code (*.bax)
– Backup DB source code (*.bax.bak)
– All Files (*.*)
On Open, the selected or edited file name(s) are echoed in dialog Backtranslate Source
Code.
The first file filter (... for ONB) echo the file name specification without segment number
ss, and without extension, e.g. "101.bax" "301.bax" "E01.bax" => 1 3 E.
The other two filters echo the complete filename with extension, e.g. 101.bax.
If the directory is not default (\DBDATA), the complete directory path is echoed, e.g.
"e:\temp\asterix.bax".
• DB Code Generator Options, DB Filter, DB Item Designation
These controls are used on Generate Source Code only and are not selectable on
Backtranslate Source Code.
The Function Chart Builder opens the Output window (or iconizes it as set by
Options | Preferences), and lists messages about progress and termination of the
backtranslation.
The Function Chart Builder accepts DB source code files in any syntax and in any directory:
a. AC400 Series controller source code from On-line Builder in the form bbbbbbss.BAX
(bbbbbb = given file name [A-Za-z0-9] and ss = segment number) stored in the \DBDATA
subdirectory, and PC source code files in the form aaaappss.AAX form (aaaa = given file
name [A-Za-z0-9], pp = PC program number and ss = segment number) stored in the
\PCDATA subdirectory.
b. source code files with long filenames.
c. source code files with blanks and any character but [\/:*?"<>|;!].
d. source code files in any directory.
The Function Chart Builder disintegrates the type circuit instances, if there are any, that is, it
resolves the type circuit references in the node, if you select the Disintegrate TCs check box. If
there are type circuit instances in the node and you clear the Disintegrate TCs check box, the
Function Chart Builder tries to identify the type circuits and represent the instances as
references, unresolved. Nevertheless, the Function Chart Builder disintegrates any type circuit
instance in any of the following cases:
• The interface or the contents of type circuit instances was changed compared with the
original type circuit. (This may happen if the source code was dumped from a target,
where parts of application, covered by type circuits, had been modified.
The changes made in the target are properly reflected in the Function Chart Builder.)
• An appropriate entry in a type circuit information file or the corresponding type circuit
information file is missing.
NOTE
The Function Chart Builder expects
• type circuit information files attached to DB source code with the extension
.TBX located in the same directory as the DB source code file with the same
filename.
• type circuit information files attached to PC source code with the extension
.TIX located in the same directory as the PC source code file with the same
filename.
Type circuit information files attached to AC400 Series controller DB source code from On-line
Builder are in bbbbbbss.TBX form and stored in the \DBDATA subdirectory, and type circuit
information files attached to AC400 Series controller PC source code from On-line Builder are
in aaaappss.TIX form and stored in the \PCDATA subdirectory.
*.TBX files stand for type circuit instances, which were instantiated in the DB Section window.
These are the type circuits having only DB section.
*.TIX files stand for type circuit instances, which were instantiated in the PC Section window.
These are the type circuits having PC section.
The Function Chart Builder assumes that the original type circuits are in tttttttt.TCS form (tttttttt
= type circuit name) and are located in the \TCDATA subdirectory of the node directory.
If an error occurs, the Function Chart Builder stores messages in list files with the filename of
the DB and PC source code, and with the extension LS1 or LS2 (corresponding to the two
passes). The list files are located in the directory of the DB and PC source code file(s). By
default in the \DBDATA subdirectory for the DB section, or in the \PCDATA subdirectory for
the PC section.
File | Backtranslate Source - for CI, NS, and TC
Use this command to translate the source code of the selected circuit, node structure, or type
circuit to internal data representation of the Function Chart Builder.
The internal representation of the circuit, node structure, or type circuit must be initialized for
the backtranslation. The Function Chart Builder warns you if this condition is not met.
The Function Chart Builder opens the Output window (or iconizes it as set by
Options | Preferences), and lists messages about progress and termination of the
backtranslation.
For circuits:
The Function Chart Builder backtranslates the circuit_name.CIS circuit source code file
stored in the \NODES\PR_CI\CIDATA subdirectory.
For node structures:
The Function Chart Builder backtranslates the node_name.NSS node structure source code
file stored in the \CIDATA subdirectory of the node.
For type circuits:
The Function Chart Builder backtranslates the type_circuit_name.TCS type circuit source
code file stored in the \NODES\PR_TC\TCDATA subdirectory.
If some error occurs, the Function Chart Builder stores the messages in list files with the
extensions LS1 and LS2 in the directory of the corresponding source file.
NOTES
Application retrieval is supported by Application Builder version 2.6 and higher
and Function Chart Builder 4.6 and higher.
The application can only be retrieved if you work with the same Function Chart
Builder version as the one with which its target code was generated.
These functions are available only for new node types explicitly supporting
application retrieval, such as AC 80 2.0.
For successful retrieval, node type and element library versions used by the
application to be retrieved must be available and installed in the corresponding
release subdirectories. Or they must be stored with the target code on the target.
The Function Chart Builder initializes the *.ODB file and translates the target code files *.C00
and *.C?? in the \CONTROL subdirectory to internal data representation. As usual for AC 100
Series applications, the DB part and one PC program will be backtranslated. The latter will have
the original PC program number.
The scope of application retrieval depends on the information included in the target code, that
is, on the options that were selected at its generation by the File | Generate Target Code
command:
• Names of DB elements, PC elements, and PC signals will be restored only if this
information was generated and stored together with the target code on the target.
Else the names will be omitted.
• Type circuit instances as such will be restored only if the corresponding information was
stored together with the target code on the target.
Else the type circuit instances remain disintegrated.
• Elements of documentation, such as item designation of elements, position of page
divisions, and texts of headers and footers, will be restored only if the corresponding
information was stored together with the target code on the target.
Else the item designations will be generated in natural order, the page divisions will be
generated automatically, and the headers and footers remain empty.
After successful execution of File | Backtranslate Target Code, the internal data
representation corresponds to the one in the target, so the Function Chart Builder is either in on-
line mode or in on-line preparation mode depending on whether the target is connected yet or
not.
After successful restoration of the internal data representation, the Function Chart Builder asks
whether to restore also HMI information.
• If you answer Yes, the Function Chart Builder restores BOIL*.c00 and COIL*.c00 files
and Bus Configuration Database as applicable. To complete the restoration, you will need
to execute the File | Save and Load command when you switch next time to on-line mode.
• In case of No it is supposed that these files are yet available and valid.
See also Section 4.4.6.15, Retrieve Application from an AC 100 Series Target.
• Filter/Callname
Select this check box and edit a callname filter in the text box of the drop-down combo box
to export just an except of the DB section. The list box part contains the previous callname
filters. You can combine both filters to limit the exported text more.
• Filter/Name
Select this check box and edit a DB name filter in the text box of the drop-down combo
box to export just an except of the DB section. The list box part contains the previous DB
name filters. You can combine both filters to limit the exported text more.
• Copy to Clipboard
Select this check box to write the exported text to the Clipboard of Windows NT.
• Apply
Activate this button to start exporting DB section contents and remain in the
Export DB Section dialog.
A similar action as that of the OK button.
The Function Chart Builder extracts the specified part of the DB section, converts it to text, and
writes this text to the Clipboard of Windows NT, or to a file with the specified name in the
..\LIST subdirectory pertaining to the object you are working on, or to both destinations.
The default extension of the file is DBT.
Alternatively, the Function Chart Builder divides the text into parts on the basis of groups of
available DB elements with the same callname and writes them to as many files as there are
callnames used in the DB section.
In this case the DB callnames are used as filenames, the extension is selectable (normally DBT).
You get, for example, the files AI.DBT, DAT(R).DBT, and so on.
The text file contains the terminal values of the DB elements available in the DB section
separated by TAB (tabulator) characters to support other Windows applications.
If specified so, it contains also a headline consisting of the terminal names and the default
values for each group of available DB elements with the same callname.
Files exported with File | Export DB Section can be imported with this function. The import
file can have any extension.
The function can be used to import DB section created or modified with help of excel lists.
Existing DB Elements can be modified or new DB Elements can be created.
This function makes sense in node mode, not in type circuit or circuit mode.
• Filename
Enter here the filename and path, where the import file is located. The import file can have
any extension. For structure of the import file see structure of the output file.
Import files for AC 400 Series targets need to included position dependent DB Elements
e.g. AIC in front of position independent DB Elements.
• Delimiter
Enter here the delimiter stored in the import file. The default delimiter is TAB, shown as
blank.
• Printer
The Name combo box shows the selected printer. The static text shows some of its
parameters. Drop the combo box down to list available printers and select another one.
Activate the Properties button to change properties of the selected printer.
See also the Setup button for printer changes.
• Print to File
Select this check box if you want to create a print file in the LIST subdirectory of the
current object instead of printing on the printer.
See Appendix A, Function Chart Builder Files, Section A.1, FCB Directory Structure.
Edit the name of the print file in the text box to the right.
• Filename
If the Print to File check box is selected, enter here the print_filename, where
print_filename is one to six characters long start of the full filename.
The file names of the print files have default extensions as shown in the following table:
• Document
Select the check boxes to include the corresponding parts into the document to be printed.
The Function Chart Builder opens further dialog boxes to set document-specific print
options depending on the selected check boxes.
Most document parts are offered only if the corresponding sections have been created:
Some document parts are offered only if the corresponding DB elements have been created
and are visible in the DB Section window.
NOTE
DB elements, which were created implicitly by extended DB elements, are visible
in the DB Section window if Show Implicitly Created Communication
Elements is selected in the Preferences dialog box.
Table 4-29. Dialogs to Specify Document Parts (2)
• Copies
Edit the number of copies you want to print. Select the Collate Copies check box if you
want to print document copies in page number order, instead of separated multiple copies
of each page. Select this check box for proper sorting of pages in case of multiple copies.
• Setup
Activate this button to open the Print Setup dialog box. See File | Print Setup for dialog.
You can follow the progress of printing or abort printing in the Printing dialog box.
Description of document-specific print dialogs see on the following pages:
• PC Program(s)
Select PC programs here to include them in the PC Diagram and/or the Tree Listing.
• All PC Programs
Select this check box to include all PC programs in the PC Diagram and/or the Tree
Listing.
• Function Chart
Select this check box to include the PC Diagram document part.
• All Pages
Select this option to include all the pages of the function chart in the PC Diagram.
• Pages
If you have selected only one PC program, select this option to include only the specified
pages of the function chart in the PC Diagram document part.
Define the page range in the From and To text boxes.
• From, To
If Pages is selected, edit in these text boxes the page range of the function chart to be
included in the PC Diagram document part.
Or drop down the list box part to select one of the existing page numbers.
Be sure the “From” page precedes the “To” page. Check page order in the list box parts.
NOTE
Due to fixed page numbers pages are not necessarily in strict numerical order.
The “To” page number is not necessarily greater than the “From” page number.
• Tree
Select any of the check boxes All Elements, Structure Elements, and Top of Page
Elements to include the Tree Listing document part. The Tree Listing document part will
contain one to three PC element lists according to the selected check boxes.
Footer text entered in the Edit | Document Texts command is displayed and printed in the
bottom lines of each page.
If the Print to File check box is selected in the Print dialog box, the Function Chart Builder
stores the output file of the PC Diagram with default extension PCF and of the Tree Listing with
default extension PCT in the \LIST subdirectory.
• PC Program(s)
Select PC programs here to include their symbols in the TC/CI Symbols document part.
• All PC Programs
Select this check box to include the symbols of all PC programs in the TC/CI Symbols
document part.
• By Address
Select this option to generate the Module Listing document part with listing order based on
increasing addresses of the modules.
• By Item Designation
Select this option to generate the Module Listing document part with listing order based on
increasing item designations of the modules.
If the Print to File check box is selected in the Print dialog box, the Function Chart Builder
stores the output file with default extension ML in the \LIST subdirectory.
The Function Chart Builder opens the Print PC Cross Reference dialog box.
• PC Program(s)
Select PC programs in this list box to include their PC references in the PC Cross-
reference Listing.
• All PC Programs
Select this check box to include PC references of all PC programs in the PC Cross-
reference Listing.
If the Print to File check box is selected in the Print dialog box, the Function Chart Builder
stores the output file with default extension PXR in the \LIST subdirectory.
The Function Chart Builder opens the Print DB Cross Reference dialog box
• NSS-File(s)
Select this option to generate the Circuit Usage Listing on the basis of the available *.NSS
files.
• ODB(s)
Select this option to generate the Circuit Usage Listing on the basis of the available *.ODB
files.
The Function Chart Builder generates the Circuit Usage Listing, which contains all existing
circuits in the project and points out the node in which they are located.
If the Print to File check box is selected in the Print dialog box, the Function Chart Builder
stores the output file with default extension UCI in the \LIST subdirectory.
The Function Chart Builder opens the Print DB Names dialog box
• PC Program(s)
Select PC programs here to include PC Names of these PC Program(s) in the PC Names
Listing.
• All PC Programs
Select this check box to include PC Names of all PC programs in the PC Names Listing.
• Instance Names
Select this check box to include the PC Instance Names in the PC Names Listing.
• Signal Names
Select this check box to include the PC Signal Names in the PC Names Listing.
• Item Designation
If you have selected only one PC program, select this option to include only the specified
item designations of the function chart in the PC Names document part.
Define the PC Item Designations in the From and To text boxes.
• From, To
Select these check boxes to limit the printing of PC names to an item designation range of
PC elements. Open the list box parts of the adjacent combo boxes to see earlier “From”
and “To” values. Select a filter in the list box part of the adjacent combo box or edit
directly in the text box part.
NOTE
Item designations are not necessarily in strict numerical order.
The “To” item designation is not necessarily greater than the “From” item
designation.
• Printer
The Name combo box shows the selected printer. The static text shows some of its
parameters. Drop the combo box down to list available printers and select another one.
Activate the Properties button to change properties of the selected printer.
Use the Control Panel of Windows NT to install printers and configure ports.
• Orientation
Select Portrait or Landscape corresponding to the selected layout template.
To check or select layout templates, activate the Page Setup button.
• Page Setup
Activate this button to open the Page Setup dialog.
See Section 4.5.4.24, File | Page Setup… for dialog.
• Network
Activate this button to connect to a network location, assigning it a new drive letter.
• Use Defaults
Activate this button to fetch default values corresponding to the selected page layout
template as delivered with the Function Chart Builder.
• Project Defaults
Activate this button to fetch the project-specific defaults for layout (layout template and
actual page size) as set in Application Builder for the selected project.
CAUTION
If you answer No, you lose all the changes that you made since the last
File | Save, File Save and Load, or File | Exit command.
Source code and print files are not affected by Exit.
If you answer Yes and the Generate Source Code on Exit option was set by the last
Options | Preferences command, the Function Chart Builder starts the File | Generate Source
command to save the changes also in source code form.
If you are testing an AC 100 Series application on-line, Exit saves all selected display terminals
and all prepared force values by writing them to the Function Chart Builder’s internal data
representation.
CAUTION
When leaving the Function Chart Builder, the PC force values are canceled on the
target but the DB force values remain active.
If you are working with an on-line connected AC 100 Series target, the Function Chart Builder
prompts you also to load the possible modifications to the target and to disconnect the target.
• Element Type
Contains type of the element to be inserted
PC for PC element
If applicable, also:
– TC for type circuit
– CI for circuit
• Item Designation
Shows the suggested item designation of the element to be created. It is suggested on
“lowest free” basis.
NOTE
If you are working on a type circuit or a circuit, an asterisk ‘*’ stands for the item
designation of the first PC element of the object.
You can edit the last number of the item designation and change it to some other free item
designation.
• Insert
Select the appropriate option in this group box to create the element on the same level as
the selected PC element in the active PC Section window, or by one level lower.
The At Item Designation text box reflects the reference item designation, that is, the item
designation of the element, which is selected at the start of the current create operation.
NOTE
If you are working on a type circuit or a circuit, an asterisk ‘*’ stands for the item
designation of the first PC element of the object.
You can also edit the At Item Designation text box and change it to the item designation
of any existing PC element within the current PC program or—in case of type circuits and
circuits—within the PC section.
• Instance Name
Edit an optional instance name for the PC element in the text box part of the
Instance Name drop-down combo box.
Drop down the list part to display recent instance names. Here you can also select an
instance name to copy it to the text box part for further edition.
The instance name is shown after a slash‘/’ in form of item_designation/instance_name
in the function chart.
You can use also symbols or symbolic expressions in instance_name, for example,
*+2.1/CNT<INST_NR>.
See also Section 4.4.8.5, Use of Symbols.
• Filter/Callname
Select a filter in the list box part of the Filter drop-down combo box or edit it in the text
box part to show only PC elements with a certain callname in the list box below.
Wildcards ‘*’and ‘?’are also allowed.
Close the new filter condition with ENTER to make it effective.
The list part of the Filter drop-down combo box contains the recently used filters.
The Callname text box contains the callname of the element to be created, and if
applicable, its call parameters.
Select a callname in the list box below. You can also edit here any callname, which is listed
in the list box.
If Element Type is PC, the call parameter values, if any, are listed in parentheses and
separated by commas after the callname.
Then leave the default parameter values unchanged or edit them here or in the
Edit Call Parameters dialog box.
See Section 4.5.5.10, Edit | Call Parameters… for dialog.
• List Box
Contains all elements, which satisfy the filter condition, correspond to the selected element
type, and are available for the selected insert level.
• Multiple Columns
Select this check box to present the elements in the list box in multiple columns.
Unselect this check box to present the elements in the list box in one wide column.
• Call Parameters
Available if Element Type is PC.
Activate this button to open the Edit Call Parameters dialog box.
See Section 4.5.5.10, Edit | Call Parameters… for dialog.
If the call parameters are not edited there, the default values are used.
• Symbol Values
Available if Element Type is TC or CI:
Activate this button to open the Edit Symbol Values dialog box.
See Section 4.5.5.15, Edit | Symbol Values… for dialog.
If the symbol values are not edited there, the default values are used. You can also use
further symbols for symbol values.
• Apply
Activate this button to create more than one element.
A similar action as that of the OK button but you remain in the Create Element dialog
and the Function Chart Builder shows the item designation of the recently created element
in the At Item Designation text box and the item designation of the next element to be
created in the Item Designation text box.
The Function Chart Builder updates the PC diagram in the PC Section windows at once or after
closing the Create Element dialog box depending on the Update Function Chart on Apply
option set in the Options | Preferences command.
• Element Type
Contains type of the element to be inserted
DB for DB element.
If applicable, also:
– TC for type circuit creating or modifying DB elements
– CI for circuit creating or modifying DB elements.
• Modify Attribute
Select this check box in the following cases:
– You are editing a type circuit and you want to modify terminals of a DB element that
you anticipate in nodes, node structures, or circuits, in which the type circuit is
instantiated.
– You are editing a circuit and you want to modify terminals of a DB element that you
anticipate in the node structure, in which the circuit is located.
• Filter/Callname
Select a filter in the list box part of the Filter drop-down combo box or edit it in the text
box part to show only DB elements with a certain callname in the list box below.
Wildcards ‘*’and ‘?’are also allowed.
Close the new filter condition with ENTER to make it effective.
The list part of the Filter drop-down combo box contains the recently used filters.
The Callname text box contains the callname of the element to be created.
Select a callname in the list box below. You can also edit here any callname, which is listed
in the list box.
• Instance
The Instance text box shows the suggested default item designation of the element to be
created. Wildcard asterisk ‘*’ stands for the “lowest free” index of the item designation.
Leave the default item designation unchanged or edit a new complete item designation by
substituting the asterisk ‘*’. After a slash ‘/’ you can also add an optional instance name in
form of item_designation/instance_name.
You can use also symbols or symbolic expressions in item_designation and
instance_name, for example, AI<MOD_NR>/ANAINP_<MOD_NR>.
See also Section 4.4.8.5, Use of Symbols.
The list box part of the Instance drop-down combo box contains the recently used item
designations and assigned instance names.
• List Box
Contains all elements, which satisfy the filter condition and correspond to the selected
element type.
• Multiple Columns
Select this check box to present the elements in the list box in multiple columns.
Unselect this check box to present the elements in the list box in one wide column.
• Apply
Activate this button to create more than one element.
A similar action as that of the OK button but you remain in the Create Element dialog.
• DB Terminal Values
Available if Element Type is DB.
Activate this button to open the Edit DB Terminal Values dialog box.
See Section 4.5.5.13, Edit | DB Terminal Values… for dialog.
If the terminal values are not edited there, the default values are used.
• Symbol Values
Available if Element Type is TC or CI.
Activate this button to open the Edit Symbol Values dialog box.
See Section 4.5.5.15, Edit | Symbol Values… for dialog.
If the symbol values are not edited there, the default values are used. You can also use
further symbols for symbol values.
The Function Chart Builder creates the DB instance if the instance name is legal and the
instance does not exist yet.
If you define the DB instance name by a new symbol or a symbolic expression containing a new
symbol, the Function Chart Builder opens the Create a Symbol dialog.
For dialog see Edit | Create - for Symbol Section command.
The Function Chart Builder updates the DB element list in the DB Section windows.
• Name
Type the name of the symbol to be created without symbol delimiters ‘<’ and ‘>’ in the
text box part of this combo box.
The list box part contains the already existing symbol and terminal names.
NOTE
Symbol names and terminal names must be unique.
• Kind
Select symbol kind by the corresponding option.
Symbols can have different symbol kinds (scope) in different objects as shown in the
following table:
• Type
Select the symbol (data) type from the drop-down list box of this group box. You can also
edit in the text box part and change it to any other type listed in the list box part.
If you selected A (String) type, edit the length in the Size text box.
Maximum length of a string is 80 characters.
• Default Value
Type here an appropriate value, a symbolic expression, or formula, or leave it empty.
See also Section 4.4.8.5, Use of Symbols.
A default value is optional for instance-unique (IU) symbols and mandatory for location-
unique (LU) and project-unique (PU) symbols.
The Browse Button in only available if PPA (Process Portal A) is installed. It can be used
if CBA Interface is installed and the current FCB is started out of the Engineering Studio
Workplace. For further information see Control Builder A Interface Manual.
• Apply
Activate this button to create more than one symbol.
A similar action as that of the OK button but you remain in the Create Element dialog.
The Function Chart Builder assigns the default value if it is valid for the data type as set in
Type.
If you assign a new symbol, a symbolic expression, or formula, containing a new symbol in
Default Value, the Function Chart Builder opens the Create Symbol dialog for the new symbol
again.
The Function Chart Builder updates the symbol list in the Symbol Section windows.
• Name
Type the name of the terminal to be created without symbol delimiters ‘<’ and ‘>’ in the
text box part of this combo box.
The list box part contains all already created symbol and terminal names.
• Number
Shows the suggested terminal number.
The list box part contains all already created terminal numbers.
You can also edit in the text box part any free terminal number in the range 1 - 999.
• Kind
Select terminal kind by the corresponding option: In (input), Out (output), or FP (function
parameter).
Terminal kind must be the same as the kind of PC terminal, to which it is connected within
the type circuit or circuit.
Select Out if both input and output PC terminals are connected.
• Type
Select terminal data type from the drop-down list box of this group box. You can also edit
in the text box part and change it to any other type listed in the list box part. Terminal data
type must be compatible with the data type of the corresponding PC terminal.
If you selected A (String) type, edit the length in the Size text box. Maximum length of an
array is 80 characters. You can define size also for groups of other types, for example, B
(Boolean) or I (integer). You can define type or size also by a symbol.
• Default Connection
Type here an appropriate value or a symbolic expression. A default connection is optional.
See also Section 4.4.8.5, Use of Symbols.
• Apply
Activate this button to create more than one terminal. A similar action as that of the OK
button but the Create TC/CI Terminal dialog box remains open, and the Function Chart
Builder increases the suggested terminal number in the Number text box.
• Attributes
Activate this button to specify terminal attributes.
The Function Chart Builder opens the Edit TC/CI Terminal Attributes dialog box.
- Type
Shows the data type of the terminal, the attributes of which you are editing.
- Presentation
Select any of the check boxes here to include the corresponding attribute for the
graphical presentation of the type circuit or circuit.
Adjust
If selected, the actual group of input terminals is adjusted to the actual group of
output terminals.
Dynamic
If selected, a triangle is added at the terminal, indicating that it is a dynamic input,
for example, a clock input.
- Miscellaneous
Select any of the check boxes here to include the corresponding attribute for the
graphical presentation of the type circuit or circuit.
DB Reference
If selected, this terminal expects a DB connection.
Non-Invertible
If selected, the terminal can not be inverted by the PC-Terminal | Invert command.
- Separation
Select one of the options in this group box to include the corresponding attribute for
the graphical presentation of the type circuit or circuit.
None
If selected, the actual terminal follows the previous one immediately.
Blank Line
If selected, a blank line will be inserted between the previous terminal and the actual
one.
Waist
If selected, a waist will be inserted between the previous terminal and the actual one.
The Function Chart Builder assigns the attributes to the terminal for the graphical
presentation of the type circuit or circuit.
The Function Chart Builder assigns the default connection if the connection rules are fulfilled.
If you assign a new symbol or a symbolic expression containing a new symbol in
Default Connection, the Function Chart Builder opens the Create a Symbol dialog.
For dialog see Edit | Create - for Symbol Section command.
The Function Chart Builder updates the terminal list in the TC/CI Terminal Section windows.
• Terminal
Type the terminal name or number in the text box part of this combo box if you entered an
item designation without terminal number or name in the Element[:Terminal] or Signal
Name box. Else ignore the contents of this text box.
Drop down the list box part to inspect the terminal names or numbers available for the
given PC or DB element.
• Value
Type the value to be forced in the text box part of this combo box if you create or edit this
entry for force.
Drop down the list box part to inspect the recently entered force values.
• For Force
Select this option if you create an entry for force.
• For Display
Select this option if you create an entry for display.
• Apply
Activate this button to create or edit more than one entry.
A similar action as that of the OK button but the Create/Edit Table Entry dialog box
remains open.
The Function Chart Builder updates the Instance, Terminal, …, State list box of the active
Test Table window.
• Insert
The first two static lines show the first PC element and the number of elements in the paste
buffer.
• Item Designation
Shows the item designation of the next element after pasting.
• At Item Designation
This static line shows the item designation of the insertion point.
• Options…
Activate this button to open the Paste Option PC Section dialog box. You can define the
paste options there, that is, preserve connections, names, symbol values, and so on, at
pasting the PC elements (or instantiated type circuits or located circuits), or not.
Activate the Options… button to open the Paste Option PC Section dialog box.
You can define the paste options here, that is, preserve connections, names, symbol values, and
so on, at pasting the PC elements (or instantiated type circuits or located circuits), or not.
- Input and Output Connections To
Select the corresponding check boxes to paste different kinds of connections together
with the PC elements (or instantiated type circuits or located circuits).
- Connection to External PC Element
This group handles connections to PC elements outside the copied/paste range.
Select the corresponding check box “Display Warnings on Paste” to get for each
connection to external PC element a warning and the possibility to replace it by a
connection, for example, to a TC terminal.
Select check box "Copy and Paste Multiple Input Connections to PC" to preserve
multiple input connections to external PC elements.
NOTE
A change of that settings does not effect paste, but next cut/copy
command.
Select check box "Copy and Paste (Virtual PC) Names instead of Item Designations
on Input Connections" to cut/copy and paste input connections to external PC
elements with a named source.
NOTE
A change of that settings does not effect paste, but next cut/copy
command.
If unchecked, such connections are copied and pasted using the item designation of
the source terminal. This equals the behavior of former FCB releases.
If checked, such connections are copied and pasted using the name of the source.
By that, you can cut or copy some functionality in the PC section and paste it in
another PC program, node, TC, or CI where the named source exists but not the
original item designation.
If you additionally enable support for virtual connections in dialog Options |
Preferences, you can also replace the copied (virtual) names on "Replace and Paste
PC Section", item "Connections to virtual PC".
- Instance Names, Names, and Units
Select the corresponding check boxes to paste the instance names, signal names and
units together with the PC elements (or instantiated type circuits or located circuits).
- Page Breaks and Headlines
Select the corresponding check box to paste the page divisions and headlines together
with the PC elements (or instantiated type circuits or located circuits).
Activate the Replace and Paste… button to open the sizable Replace and Paste PC Section
dialog.
In case of TC/CI symbol values the Function Chart Builder displays a modified sizable
Replace and Paste PC Section dialog box.
Figure 4-194. Replace and Paste PC Section, for TC/CI Symbol Values
You can select different items here and define replacements for them.
- Select Item
The drop-down list box part of this combo box contains the items, for which you can
make replacements:
• Signal names, instance names, headlines
• DB elements, symbols, TC/CI terminals, and virtual PC terminals in connections
• TC/CI symbol values.
The Function Chart Builder fills the List Box accordingly with all occurrences of
names or DB elements, and so on, in the paste buffer.
- List Box
The Function Chart Builder displays here all occurrences of names or DB elements,
and so on, in the paste buffer according to the selection in Select Item.
You can edit here directly and replace original paste buffer contents by new names,
DB elements, and so on.
Use the Find Next, Replace and Replace All functions to edit more effectively.
- Find What
Edit here a search pattern to be found in the List Box.
The drop-down list box part contains the search patterns, which were recently edited.
Select here a search pattern to copy it to the text box part.
- Replace With
Edit here a replace pattern that has to replace the selected search pattern in some or
all occurrences in the List Box.
The drop-down list box part contains the replace patterns, which were recently
edited.
Select here a replace pattern to copy it to the text box part.
- Match Whole Word Only
Select this check box if you want to find the search pattern only as whole word in the
List Box.
- Find Next
Activate this button to find and select the first and then the next occurrence of the
search pattern in the List Box.
- Replace
Activate this button to replace the search pattern selected (found) in the List Box by
the replace pattern.
If necessary, the original paste buffer contents can be restored.
- Replace All
Activate this button to replace all occurrences of the search pattern in the List Box by
the replace pattern.
If necessary, the original paste buffer contents can be restored.
- Undo Replace
Activate this button to undo stored replacements.
The Function Chart Builder opens the Undo Replace PC Section dialog box.
Select here the scope of undo, that is, define whether you want to restore the paste
buffer contents partly or completely.
The Function Chart Builder opens the Output window (or iconizes it as set by
Options | Preferences), and lists messages about progress of pasting and about paste conflicts.
In case of paste conflicts the Function Chart Builder opens the following dialog box:
This is a modeless dialog box offering the possibility to inspect the result of pasting and
solve conflicts before closing it. See Section 4.5.5.9, Edit | Process Conflicts.
Activate the OK button to accept the result of pasting and close the dialog box.
Else activate the Undo Paste button or choose the Edit | Undo Paste command.
- Static Text
A summary on result of pasting.
- Undo Paste
Activate this button to undo pasting (delete the pasted elements).
NOTE
You cannot delete a single element having subordinated elements on lower
structure levels. Delete subordinate elements at first, or select the element
together with its subtree for deletion.
NOTE
To delete a type circuit (circuit), which is instantiated (located) by its PC section,
contains also a DB section, and is denoted collectively by $$DB_OF_TC
($$DB_OF_CI), select this type circuit (circuit) in the PC Section window.
• Find What
Type in the text box part the search string, which you want to find.
You can use the wildcards asterisk ‘*’ and question mark ‘?’.
Omit ‘<’ and ‘>’ around the symbol in case of searched PC connection to symbol.
No search string is necessary if you want to find unconnected PC input terminal.
Open the list box part to select previous search strings.
• PC Element
Select the corresponding option in this group box if you want to find the PC element with
the specified item designation, or instance name, or the next PC element with the specified
callname.
• Direction
Select the Up option to search from the currently selected PC element and PC terminal to
the ones with higher item designation and higher terminal number.
Select the Down option to search from the currently selected PC element and PC terminal
to the ones with lower item designation and lower terminal number.
• PC Connection
Select the corresponding option in this group box if you want to find the next PC
connection to a source with specified name, to a specified symbol, TC/CI terminal, or DB
terminal, or find the next unconnected PC input terminal or the next virtual connection,
that is, a connection to an element that is specified but does not exist yet.
• List Box
Contains all call parameters and values.
Use UP and DOWN keys to select a call parameter.
If you change some values and activate the OK button, the Function Chart Builder executes the
call parameter modification by the following steps:
1. Deletes the PC element with its old call parameters.
2. Creates the same PC element with new parameters.
3. Tries to reconnect all the original connections of the element.
If conflicts occur, for example, at reconnecting the terminals, the Function Chart Builder opens
the Output window (or iconizes it as set by Options | Preferences), and lists messages about
the conflicts.
To undo call parameter changes, choose the Edit | Undo Call Parameters command.
The Function Chart Builder updates the call parameter values in the list box and in the internal
representation and updates the PC Section windows.
To set allowed cyclicities of structure elements for AC 400 Series or MP 200/1 objects,
see Section 4.5.7.3, Options | Cycle Times….
• Item Designation
The text box part shows the item designation of the selected PC terminal or PC element.
You can also edit here the item designation and use also relative PC item designations, see
in Section 4.4.4.4, Connect Terminals by Editing the Connection Definition.
The drop-down list box part contains item designations of the PC terminals or PC
elements, which were recently involved in creation or edition of names.
Select here an item to copy it to the text box part.
• Name
Edit here the name for the source associated with the terminal or for the element, which is
shown by Item Designation.
The drop-down list box part contains all the existing names.
Select here a name to copy it to the text box part.
• Apply
Activate this button to create or edit more than one name.
A similar action as that of the OK button but you remain in the Create/Edit Name dialog.
This dialog is modeless. So you can create or edit PC elements, DB elements, and so on, while
the dialog box remains open.
The Function Chart Builder creates the specified name or changes the name as specified, and in
case of terminal names defines or redefines it as alias for the associated source.
To inspect names attached to other terminals or elements, use the Edit | Name command
without entering any new data, or open the Name Table window by the Window | Name Table
command.
The Function Chart Builder opens the Edit DB Terminal Values dialog box.
• Element Type
This static text shows the type of the selected DB element.
• Graphic Symbol
It symbolizes the part of DB terminals selected in the drop-down list box.
Type the new DB terminal values in the editable fields on the left side of the graphic
symbol or leave the shown values or default values unchanged.
You can also use symbolic expressions for DB terminals in type circuits, circuits, and node
structures. See also Section 4.4.8.5, Use of Symbols.
For DB elements, which have the physical address terminals BUS, STATION, and
POSITION, the Function Chart Builder checks that the new DB element does not collide
with physical addresses of the existing DB elements.
BUS=0, STATION=0, and POSITION=0 means an unspecified address.
From referencing DB elements, such as DSP, MVB, or MVI, you can directly switch to
referenced DB elements, such as a DAT or MVC, by clicking with the right mouse button
on the corresponding REFn or CHANNELn terminal.
• Default
Activate this button to set (restore) the default values as they are defined in the (original)
DB element description.
The values from a possible template are overridden.
For setting up a template see Section 4.5.5.3, Edit | Create… - for DB Section.
• References
Activate this button to show the references, if any, to and from the DB instance selected
in the Item Designation, Instance Name, Attr., Callname, Address list box of the
DB Section window.
• Apply
Activate this button to edit DB terminal values for more than one element.
A similar action as that of the OK button but you remain in the Edit DB Terminal Values
dialog.
The Function Chart Builder assigns the values to the terminals of the DB instance if the values
are legal.
If you define the DB terminal value by a new symbol or a symbolic expression containing a new
symbol, the Function Chart Builder opens the Create a Symbol dialog.
For dialog see Section 4.5.5.3, Edit | Create… - for Symbol Section.
To set allowed scan times of DB elements for AC 400 Series or MP 200/1 objects,
see Section 4.5.7.3, Options | Cycle Times….
• Name
The text box part shows the selected symbol.
The list box part contains the symbol names as displayed in the
Name, Kind, Type, Default Value list box of the Symbol Section window.
NOTE
The name and kind filters in the Name, Kind, Type, Default Value list box of the
active Symbol Section window are taken into account.
Select the symbol to be edited in the list box part.
• Kind
Change symbol kind by the corresponding option here.
Symbols can have different symbol kinds (scope) in different objects:
• Type
Change the symbol (data) type from the drop-down list box of this group box. You can
also edit in the text box part and change it to any other type listed in the list box part.
If you selected A (String) type, edit the length in the Size text box.
Maximum length of a string is 80 characters.
• Default Value
Type here an appropriate new value, a symbolic expression, or formula, or leave it empty.
A default value is optional for instance-unique (IU) symbols and mandatory for location-
unique (LU) and project-unique (PU) symbols. See also Section 4.4.8.5, Use of Symbols.
The Browse Button in only available if PPA (Process Portal A) is installed. It can be used
if CBA Interface is installed and the current FCB is started out of the Engineering Studio
Workplace. For further information see Control Builder A Interface Manual.
• Apply
Activate this button to edit more than one symbol.
A similar action as that of the OK button but you remain in the Edit Symbol dialog.
The Function Chart Builder assigns the default value if it is valid for the data type as set in
Type.
If you assign a new symbol—or a symbolic expression or formula containing a new symbol—
in Default Value, the Function Chart Builder opens the Create Symbol dialog for the new
symbol.
The Function Chart Builder updates the symbol list in the Symbol Section windows.
• Symbol Kind
The Function Chart Builder indicates kind of the symbol by the selected option.
If this group box does not appear, the Edit Symbol Values dialog box contains variant or
loop (VL) symbols, that is, the instance-unique (IU) symbols of an advanced type circuit,
which are used in variants (IFs) and loops.
• Symbol Name
This text box repeats the name of the selected symbol in the list box below.
• Type
This text box repeats the type of the selected symbol in the list box below.
• Value
You can modify here the value of the symbol if symbol kind is instance-unique (IU) and
project-unique (PU) and if the Symbol Substituted check box is cleared.
For non-calculated symbols
(B - Boolean, I - integer, IL - long integer, R - real, T - time, TR - time as real, A* - string)
the value can be one of the following:
– Constant
– Symbol
– Symbolic expression with concatenated constants and symbols,
for example, CHANNEL<%CH_NR%>, where <%CH_NR%> references the
symbol CH_NR of the selected type circuit instance or located circuit,
or MODULE<MOD_NR>, where <MOD_NR> references the symbol MOD_NR of
the circuit you are working on and not that of the selected type circuit instance.
For calculated symbols
(CB - calculated Boolean, CI - calculated integer, CIL - calculated long integer, and
CR - calculated real) the value can be one of the following:
– Constant
– Symbol
– Symbolic formula with arithmetical, logical, and relational operators, constants, and
symbols, for example, <%CH_NR%> + 2, where <%CH_NR%> references the
symbol CH_NR of the selected type circuit instance or located circuit,
or 10.0 * <M_PER_IN>, where <M_PER_IN> references the symbol M_PER_IN of
the circuit you are working on and not that of the selected type circuit instance.
See also Section 4.4.8.5, Use of Symbols and Section 4.4.8.7, Values of Symbols.
• Symbol Substituted
For non-calculated symbols
(B - Boolean, I - integer, IL - long integer, R - real, T - time, TR - time as real, A* - string)
– Select it to show result as value.
– Clear it to show symbolic expression as value.
For calculated symbols
(CB - calculated Boolean, CI - calculated integer, CIL - calculated long integer, and CR -
calculated real)
– Select it to show result as value.
– Clear it to show formula as value.
• List Box
All symbols of the selected type circuit or circuit are listed in the list box with their names,
types, and values.
• Default Values
Activate this button to reset all symbols to their original default values.
If you change some values and activate the OK button, the Function Chart Builder executes the
symbol value modification by the following steps:
1. Deletes the type circuit instance (located circuit) with its old symbol values.
2. Creates the same type circuit instance (located circuit) with new symbol values.
3. Tries to reconnect all the original connections of the type circuit instance (located circuit).
If conflicts occur, for example, at reconnecting the terminals, the Function Chart Builder opens
the Output window (or iconizes it as set by Options | Preferences), and lists messages about
the conflicts.
To undo symbol value changes, choose the Edit | Undo Symbol Values command.
The Function Chart Builder updates the actual value of the symbols in the list box and in the
internal representation.
If you are working with an AC 100 Series application on-line, you can only inspect symbol
values.
• Name
The text box part shows the name of the selected terminal.
The list box part contains the terminals as displayed in the Name, No., Kind, Type,
Default Connection list box of the active TC/CI Terminal Section window.
NOTE
The name and kind filters in the Name, No., Kind, Type, Default Connection
list box of the active TC/CI Terminal Section window are taken into account.
• Number
The text box part shows the terminal number.
Open the list box part to see the numbers that are assigned to existing terminals.
You can edit the terminal number in the text box part and change it to any free number in
the range 1 - 999.
• Kind
Change terminal kind by the corresponding option here.
Terminal kind must be the same as the kind of the PC terminal, to which it is connected
within the type circuit or circuit.
Select Out if both input and output PC terminals are connected.
• Type
Change terminal data type from the drop-down list box.
Terminal data type must be compatible with the data type of the corresponding PC
terminal.
For A (String) type, change the length in the Size text box.
Maximum length of an array is 80 characters.
You can define size also for groups of other types, for example, B (Boolean) or I (integer).
You can define type or size also by a symbol.
• Default Connection
Type here a new connection or a symbolic expression, leave empty or unchanged.
See also Section 4.4.8.5, Use of Symbols.
A default connection is optional.
• Apply
Activate this button to edit more than one terminal.
A similar action as that of the OK button but the Edit TC/CI Terminal dialog box
remains open, and the Function Chart Builder increases the suggested terminal number in
the Number text box.
• Attributes
Activate this button to open the Edit TC/CI Terminal Attributes dialog box and change
terminal attributes.
See Section 4.5.5.3, Edit | Create… - for TC/CI Terminal Section for the
Edit TC/CI Terminal Attributes dialog box.
The Function Chart Builder assigns the default connection if the connection rules are fulfilled.
If you assign a new symbol or a symbolic expression containing a new symbol in Default
Connection, the Function Chart Builder opens the Create a Symbol dialog.
For dialog see Section 4.5.5.3, Edit | Create… - for Symbol Section.
The Function Chart Builder updates the terminal list in the TC/CI Terminal Section windows.
You can apply this command for uploadable DB elements, such as PARDAT and the extended
DB elements.
This command is available if all the following conditions are met:
• You are working on an AC 100 Series target.
• The target is connected (by the Target | Connect command).
• On-line mode is selected (by the File | On-line Mode command).
• The DB Section window has the focus.
• Filter/Item Des.
Select one of the filters in the list box part or edit it directly in the text box part to show
only DB elements with a certain instance name in the Item Des., Instance Name,
Callname, Init Value list box.
Open the list box part to see the valid filters and select one.
Wildcards hash mark ‘#’ and asterisk ‘*’ are also allowed.
• Item Designation
The item designations of the selected DB elements are shown in this text box.
You can also edit item designations here to select DB elements.
Separate the item designations by SPACE.
• Filter/Instance Name
Select a filter in the list box part or edit it directly in the text box part to show only DB
elements with a certain instance name in the Item Des., Instance Name, Callname,
Init Value list box. Wildcards ‘#’ and ‘*’ are also allowed.
• Instance Name
The instance names of selected DB elements are shown in this text box.
You can also edit the names here to select the corresponding DB elements.
Separate the names by SPACE.
• Select All
Activate this button to select all DB element instance in the Item Des., Instance Name,
Callname, Init Value list box.
• Upload
Activate this button to upload the initial values to the Item Des., Instance Name,
Callname, Init Value list box from the on-line connected target for all uploadable DB
element instances.
• Store
Activate this button to store the uploaded values of the VALUE terminals as values of the
INIT_VAL terminals for the DB element instances selected in the Item Des., Instance
Name, Callname, Init Value list box.
• Close
Activate this button to close the Upload dialog box.
If you activate Upload, the Function Chart Builder transfers the parameter values (values of
VALUE terminal) from the on-line connected target to the Init Value column.
If you activate Store, the Function Chart Builder stores the uploaded values in the
corresponding DB element instances as initial values (values of INIT_VAL terminals) for the
DB element instances selected in the Item Des., Instance Name, Callname, Init Value list
box. (You can check it by Edit | DB Terminal Values.)
You save the new values on the INIT_VAL terminals of the corresponding DB element
instances in the internal data representation of the node only by the next File | Save or
File | Exit (with save) command.
Use the scroll box or resize the dialog box to see the other parts of the template.
Use TAB and SHIFT+TAB to move the cursor to the text fields of the template and edit the text you
wish to appear in the footer of your documents.
view, and selects the tree - top of page elements view for its recently selected pane, preferably
for one with some tree view.
For on-line editing in AC 100 Series targets see Section 4.4.8.2, On-line Editing Rules.
• Percentage
The text box part of this drop-down combo box shows the zoom factor.
Edit any value here between 20% and 400%.
Or select any of the preset value in the list box part.
The zoom factor is valid for the presentation of diagrams on the screen.
Use this command to show the prepared force values and the display markings ‘*’ (and values)
in the active PC Section window pane with function chart.
Repeat the command to make the prepared force values and the display markings (and values)
disappear.
NOTE
The prepared force values and the display markings (and values) may cover and
hide essential parts of the function chart (names, item designations, inversion
symbols, and so on).
A check mark ‘ ’ appears next to the menu item when the prepared force values and the
display markings (and values) are displayed.
AC 55, AC 70, AC 410 and AC 450 do not support the terminal UNIT.
Use this command to show the value of the terminals INIT_VAL and UNIT of DB element
PARDAT which is connected to a PC element at the connection in the active PC Section
window pane with function chart (and also in the printed function chart diagram).
A check mark ‘ ’ appears next to the menu item if you selected it recently.
Select the check boxes to include the corresponding parts to be shown in the Output window.
The Function Chart Builder opens further dialog boxes to set specific listing options depending
on the selected check boxes.
Most check boxes are offered only if the corresponding sections have been created or if the
current element libraries of the node type contain the corresponding DB elements.
Select the PC Cross Reference check box to include the list of cross references in PC
program(s) into the list to be shown. The listing includes the page numbers from the PC Section
separated by ’-’.
The Function Chart Builder opens the PC Cross Reference dialog box.
• PC Program(s)
Select PC programs in this list box to include their PC references in the cross reference list.
• All PC Programs
Select this check box to include PC references of all PC programs.
Select the DB Cross Reference check box to include the list of cross references in PC
program(s) into the list to be shown. The listing includes the page numbers from the PC Section
separated by ’-’.
The Function Chart Builder opens the Print DB Cross Reference dialog box
Create/Edit Name, Create/Edit Unit, Create/Edit Force Value, and Create/Edit Table
Entry dialog boxes.
Clear this check box to update the PC diagram only at leaving these dialog boxes.
DANGER
Allow mouse shortcuts for actions directly changing the state of the on-line
connected target system only if you use a mouse or trackball fulfilling the
requirements stated in the Application Builder User’s Guide.
Else you risk malfunction of the target system.
See also Section 4.4.1.2, How to Use the Mouse, Mouse Usage in On-line Mode.
NOTE
Even if you unselect this check box, you have a quick way to connect PC
terminals: double-click with the right mouse button.
See also Section 4.4.1.2, How to Use the Mouse, General Mouse Shortcuts and Special
Mouse Shortcuts.
Type circuit and circuit source code supports the following syntax to modify DB elements:
• Delete Confirmation
Select the check boxes to make the Function Chart Builder display the following warning
message before the execution of a corresponding Edit | Delete command:
Do you really want to delete ... ?
Clear the check boxes to suppress warning messages before the execution of a
corresponding Edit | Delete commands.
• Scope
Select the corresponding option to set the scope of subsequent workspace operations.
• Initial Workspace
The list box part of this drop-down combo box contains all the workspaces available for
the selected scope. The Last Workspace Used is always available.
Select a workspace here. The text box part shows the name of the selected workspace.
At the start of the next sessions the Function Chart Builder restores the windows,
selections, and so on, accordingly.
• Combo Box
The list box part of this combo box contains the names of the initial workspaces saved and
available for the selected scope.
Select the initial workspace in the list box part if you want to load it and make it the current
initial workspace, or if you want to delete it. The text box part shows the name of the
selected initial workspace. If you want to save the current initial workspace for the
selected scope, edit the new initial workspace name in the text box part.
• Save
Activate this button to save the current workspace with the name edited and selected in the
combo box.
• Load
Activate this button to load the workspace selected in the combo box and make it the
current workspace. The Function Chart Builder reopens the windows, sets preferences,
selects elements, and so on, accordingly.
• Delete
Activate this button to delete the workspace selected in the combo box.
The current Function Chart Builder session is not concerned.
• Close
Activate this button to close the Workspace dialog box.
The Function Chart Builder sets the workspace parameters at the start of each session depending
on the Initial Workspace recently selected with the Option | Workspace command.
You can load any workspace saved for the selected scope and make it the current workspace.
The Function Chart Builder reopens the windows, sets preferences, selects elements, and so on,
accordingly.
At the end of every session the Function Chart Builder saves the current general and object-
specific workspace parameters. It is called the Last Workspace Used.
The command is available only if you are working on an AC 400 Series or MP 200/1 object.
NOTE
In earlier releases of the Function Chart Builder the defaults of basic cycle times
were saved in the QMP200CT.DAT file. This file is not used any more, the basic
cycle times are stored in *.INI files of the objects.
NOTE
If you change the basic cycle time of an interpreter, the Function Chart Builder
changes the values on SCANT terminals of existing DB elements, which use this
interpreter, proportionally to the change of the basic cycle time.
NOTE
To be able to use the shortcut, be sure the slide mode is cleared.
See Section 4.5.12.7, Window | Slide.
NOTE
To be able to use the shortcut, be sure the slide mode is cleared.
See Section 4.5.12.7, Window | Slide.
NOTE
To be able to use the shortcut, be sure the slide mode is cleared.
See Section 4.5.12.7, Window | Slide.
NOTE
To be able to use the shortcut, be sure the slide mode is cleared.
See Section 4.5.12.7, Window | Slide.
NOTE
To be able to use the shortcut, be sure the slide mode is cleared
See Section 4.5.12.7, Window | Slide.
NOTE
To be able to use the shortcut, be sure the slide mode is cleared.
See Section 4.5.12.7, Window | Slide.
NOTE
To be able to use the shortcut, be sure the slide mode is cleared.
See Section 4.5.12.7, Window | Slide.
• Number
Open the list box part of this drop-down combo box to see page numbers of existing pages
of the function chart.
Select a page number here to define the page, to which you want to go.
Or edit an existing page number in the text box part.
If the page exists, the Function Chart Builder sets the object cursor to its first PC element and
displays the page in the active PC Section window.
Edit the text box part directly to define the first element of the selection.
Or open the drop-down list box part containing the selection history (the recent selected
item designations) and select the first element there.
• To
Edit the text box part directly to define the last element of the selection.
Or open the drop-down list box part containing the selection history (the recent selected
item designations) and select the last element there.
• To End of Subtree
Activate this button to fill the To text box with the last element of the subtree.
• Callname
Shows the callname of the selected PC element.
The new numbering of the elements begins with the number defined in the dialog and is
increased by 1 for each subsequent element. Ranges required by type circuit and circuit contents
are observed.
The Function Chart Builder updates the PC Section windows.
NOTE
If there are several processor modules PMnnn available for a node type and
having different performance, the simplest one is taken as basis for computing
time calculation. To get computing time for systems with the other ones,
multiply the values by a factor depending on node type and processor module.
For example, for AC 110 computing time is calculated on the basis of PM632.
To get computing time for systems with the faster PM633 and PM634,
multiply the values by 0.5.
In due case, consult the User’s Guide of the corresponding Advant Controller.
Submenus:
For AC 100 Series both algorithms are available. They are executed depending on the
completeness of the application:
1. The PC elements of the selected executable units are created. Only the PC element
execution times are taken into account. The resulting values are displayed in the
PC Elements column group. The values can be used as a first estimate and are typically
less then the real computing times and capacity loads on the target.
2. The PC elements of the selected executable units are connected, possibly also to DB
elements, and valid target code is generated. Connections, DB elements, and
implementation details, like in-line code, are also taken into account. The calculation is
based on time data given in the *.TCD file of the selected node type.
The resulting values are displayed in the DB, PC, Connections column group.
They are a very good approximation of computing times and capacity loads on the target.
They reflect the worst case.
Select the structure element of an executable unit or the PCPGM element in the PC Section
window. If you need the more precise results (algorithm 2), be sure target code is available.
(If necessary, generate target code by File | Generate Target Code.)
Then choose this command.
The Function Chart Builder presents the resulting values in the following dialog box:
• Total
The sum of single capacities.
NOTE
This column group can be filled with values only if target code is available.
If necessary, generate target code and repeat the
PC-Section | Computing Time | For Node command.
This column group can be filled with values only if the *.TCD file with time data
is available for the selected node type.
• Total
The sum of single capacities.
• Designation, Callname
Contain an executable unit selected in the PC Section window, or a PCPGM element with
its subordinate executable units.
They are listed by item designation and callname.
• % (Percent)
“Required memory divided by maximum available memory” for the local data area in %.
• Total
The sum of required memory.
• Designation, Callname
Contain all the PCPGM elements and their subordinate executable units.
They are listed by item designation and callname.
• % (Percent)
“Required memory divided by maximum available memory” for the local data area in %.
• Total
The sum of required memory.
• Actual Number
This static text shows the suggested number for the new page.
It is the preceding page number plus 1.
• Page Number
Edit here the new page number. Default value is the actual number.
– To insert a page division with a soft page number, accept the wildcard hash mark ‘#’
displayed in the Page Number text box, denoting automatic page assignment.
The new page is inserted with the suggested page number.
The subsequent soft page numbers, if there are any, down to the first fixed page
number are renumbered with increments of 1.
(The auto increment value is 1 for soft page numbers.)
– To insert a page division with a fixed page number, edit a definite page number as
nnnnn or nnnnn.f (where nnnnn and f are figures) instead.
The new page is inserted with this page number.
The subsequent soft page numbers, if there are any, down to the first fixed page
number are renumbered with increments of 1.
• Headline
Edit here the text to appear in the lower right-hand corner above the footer on the new page
of the function chart. You can enter the text from the scratch, or you load the headline of
some existing page by From Page and Copy at first and change it.
• From Page
Edit here the number of the page, from which you want to copy the headline.
Or drop down the list box part to select one of the existing page numbers.
Fill the text box part only if you want to copy a headline by the Copy button before editing
it in the Headline text box.
• Copy
Activate this button to fetch the headline text from the page defined in the From Page
drop-down combo box and copy it to the Headline text box.
The Function Chart Builder inserts the new page division in the function chart as specified only
if the page division rules are not violated. Otherwise error messages are displayed.
In the tree diagram, the page division is indicated by a dash line and the first words of the
headline text behind the element.
• Actual Number
This static text shows the number of the selected page before modification. This is the
page that contains the PC element currently selected in the active PC Section window.
• Page Number
Edit here the modified page number. Default value is the actual number.
– To assign a soft page number to the current page, edit the wildcard hash mark ‘#’.
The subsequent soft page numbers, if there are any, down to the first fixed page
number are renumbered with increments of 1.
(The auto increment value is 1 for soft page numbers.)
– To assign a fixed page number to the current page, edit a definite page number as
nnnnn or nnnnn.f (where nnnnn and f are figures).
The subsequent soft page numbers, if there are any, down to the first fixed page
number are renumbered with increments of 1.
• Headline
Shows the old headline text, if any, of the selected page.
Edit here the text to appear in the lower right-hand corner above the footer on the selected
page of the function chart. You can enter the text from the scratch, or you load the headline
of some existing page by From Page and Copy at first and change it.
• From Page
Edit here the number of the page, from which you want to copy the headline.
Or drop down the list box part to select one of the existing page numbers.
Fill the text box part only if you want to copy a headline by the Copy button before editing
it in the Headline text box.
• Copy
Activate this button to fetch the headline text from the page defined in the From Page
drop-down combo box and copy it to the Headline text box.
• From Page
This static text shows number of the page, the headline of which is to be copied. This is the
page that contains the PC element currently selected in the active PC Section window.
• Headline
This static text shows the headline to be copied.
NOTE
Due to fixed page numbers pages are not necessarily in strict numerical order.
That means, the stop page number is not necessarily greater than the start page
number.
• Range Options
Select All Pages to check the layout of all the pages of the function chart.
Select Selection to check the layout of the pages, the elements of which are selected
currently. See Section 4.5.8.3, PC-Section | Select… for selecting several PC elements.
Select Pages to check the layout of a range specified by From and To.
• From, To
The text box parts of these drop-down combo boxes show the first and last page number of
the range corresponding to the selected range option.
If you have selected the Pages option, modify here the page numbers.
The list box parts contain the existing page numbers.
Be sure the “To” page does not precede the “From” page.
Check page order in the list box parts.
NOTE
Due to fixed page numbers pages are not necessarily in strict numerical order.
That is, page number “To” is not necessarily greater than page number “From”.
The Function Chart Builder checks whether all pages of the function chart in the specified range
can be displayed and printed with the current layout.
The Function Chart Builder opens the Output window and displays either a message about the
success of the layout check or the list of pages with layout problems.
• Range Options
Select All Pages to format all the pages of the function chart.
Select Selection to format the pages, the elements of which are selected currently.
See Section 4.5.8.3, PC-Section | Select… for selecting several PC elements.
Select Pages to format pages in a range specified by From and To.
• From, To
The text box parts of these drop-down combo boxes show the first and last page number of
the range corresponding to the selected range option.
If you have selected the Pages option, modify here the page numbers.
The list box parts contain the existing page numbers.
Be sure the “To” page does not precede the “From” page.
Check page order in the list box parts.
NOTE
Due to fixed page numbers pages are not necessarily in strict numerical order.
That means, the “To” page number is not necessarily greater than the “From”
page number.
The Function Chart Builder processes the specified range of pages in the following way:
1. Creates page divisions and assigns soft page numbers where necessary.
2. Copies headlines for the new pages from the preceding pages.
3. If specified so, deletes obsolete (unnecessary) page divisions with soft page numbers.
The Function Chart Builder opens the Output window and displays either a message about the
success of formatting or the list of pages with remaining layout problems.
• Range Options
Select All Pages to reformat all the pages of the function chart.
Select Selection to reformat the pages, the elements of which are selected currently.
See Section 4.5.8.3, PC-Section | Select… for selecting several PC elements.
Select Pages to reformat pages in a range specified by From and To.
• From, To
The text box parts of these drop-down combo boxes show the first and last page number of
the range corresponding to the selected range option.
If you have selected the Pages option, modify here the page numbers.
The list box parts contain the existing page numbers.
Be sure the “To” page does not precede the “From” page.
Check page order in the list box parts.
NOTE
Due to fixed page numbers pages are not necessarily in strict numerical order.
That means, the “To” page number is not necessarily greater than the “From”
page number.
• Delete Headlines
Select this check box if you want to ignore and delete the old headlines.
Clear this check box if you want to preserve the old headlines.
The Function Chart Builder processes the specified range of pages in the following way:
1. Associates old headlines temporarily with the PC elements on the top of the pages.
2. Deletes the existing page divisions.
3. Applies the page division rules.
4. Creates page divisions and assigns soft page numbers where necessary.
5. If specified so, regenerates headlines on the basis of Step 1.
The Function Chart Builder opens the Output window and displays either a message about the
success of the page division generation or the list of pages with layout problems.
• Renumber Pages
Use this option to renumber the pages within the specified range.
“From” and “To” have to be fixed page numbers.
The new range starts at “First Page” and uses the page increment “Step”.
The new range will be converted to fixed page numbers.
If any of the new fixed page numbers collides with an existing fixed page number,
the function will be rejected.
• Convert to Soft
Use this option to convert fixed page numbers to soft page numbers within a range.
Remember, a soft page number is not a final definite number, just a relative position,
it is inserted using the wildcard ‘#’.
• Convert to Fix
Use this option to convert soft page numbers to fixed page numbers within a range.
Remember, a fixed page number is a final definite number, not a relative position.
• Range Options
Select All Pages to process all the pages of the function chart.
Select Selection to process the pages, the elements of which are selected currently.
See Section 4.5.8.3, PC-Section | Select… for selecting several PC elements.
Select Pages to process pages in a range specified by From and To.
• From, To
The text box parts of these drop-down combo boxes show the first and last page number of
the range corresponding to the selected range option.
If you have selected the Pages option, modify here the page numbers.
The list box parts contain the existing page numbers.
Be sure the “To” page does not precede the “From” page.
Check page order in the list box parts.
NOTE
Due to fixed page numbers pages are not necessarily in strict numerical order.
That means, the “To” page number is not necessarily greater than the “From”
page number.
• First Page
Edit here the number that the first page of the range obtains after the modification.
• Step
If Renumber Pages is selected, edit here the value, by which the numbers of consecutive
pages of the range have to differ.
If Shift Page Numbers is selected, edit here the value, by which the page numbers of the
range have to be shifted.
The offset can be positive or negative.
NOTE
To be able to use the shortcut, be sure the slide mode is cleared.
See Section 4.5.12.7, Window | Slide.
NOTE
To be able to use the shortcut, be sure the slide mode is cleared.
See Section 4.5.12.7, Window | Slide.
• Terminal
The text box part reflects the selection in the list box below.
Edit here the name of the sink terminal, to which you want to go.
The list box part shows all available sink terminals of the source, which is selected in the
active PC Section window.
If a sink PC terminal is selected, see PC-Terminal | Goto | Source to select its source.
• Item Designation
The static text in parentheses shows the data type of the selected terminal.
The text box part shows the item designation of the selected terminal.
You can change the selection here and edit some other valid and existing item designation.
The drop-down list box contains the recently selected terminals.
• Next
Select the condition for the “next terminal” in the list box part or edit it directly in the text
box part.
The Function Chart Builder steps to the “next terminal” on the basis of this condition
if you activate the Apply/Next or the Next button.
• To
The Function Chart Builder fills this text box with one of the following connection strings:
– The actual connection if the selected terminal is connected
– The recent connection from the history if the selected terminal is unconnected.
In case of multiple connections to constants, DB terminals, symbols, and TC/CI terminals
and if the input terminal considered as primarily attached to the source is selected,
the connection string starts with the source definition.
Proposed connections are highlighted.
Accept the proposal or select another string from the list box part containing the recently
used connection strings.
Edit the connection in the text box part according to the AMPL source code syntax.
You can use also relative PC item designations. For syntax and examples see Section
4.4.4.4, Connect Terminals by Editing the Connection Definition.
All the terms of the connection string must be of the data type shown in the static text in
parentheses above the Item Designation combo box.
In case of paste conflicts the conflicting connect string is highlighted.
• Name
Activate this button to append a source by name to the connection string of the selected
terminal in the To text box.
If you have selected some part of the connection string in the To text box, it will be
overwritten with the name.
The Function Chart Builder opens the Connect by Name dialog box.
For dialog see Section 4.5.9.5, PC-Terminal | Connect Selected >, By Name.
• DB
Activate this button to append a DB terminal to the connection string of the selected
terminal in the To text box.
If you have selected some part of the connection string in the To text box, it will be
overwritten with the DB terminal.
The Function Chart Builder opens the Connect to DB dialog box.
• TC/CI Terminal
Activate this button to append a TC/CI terminal (from within the circuit or type circuit) to
the connection string of the selected terminal in the To text box.
If you have selected some part of the connection string in the To text box, it will be
overwritten with the TC/CI terminal.
The Function Chart Builder opens the Connect To TC/CI Terminal dialog box.
For dialog see Section 4.5.9.5, PC-Terminal | Connect Selected >, To TC/CI Terminal.
• Symbol
Activate this button to append a symbol representing a PC terminal to the connection
string of the selected terminal in the To text box.
If you have selected some part of the connection string in the To text box, it will be
overwritten with the symbol.
The Function Chart Builder opens the Connect To Symbol dialog box.
For dialog see Section 4.5.9.5, PC-Terminal | Connect Selected >, To Symbol.
• Apply/Next
Activate this button to build the connection with more than one terminal.
A similar action as that of the OK button but you remain in the Connect dialog and the
Function Chart Builder shows the item designation of the next terminal in the
Item Designation text box corresponding the condition set in the Next text box.
NOTE
To skip a terminal use the Next button instead.
• Next
Activate this button to step to the next terminal without leaving the Connect dialog and
without making any connection, that is, to skip terminals.
If you connect to a new symbol or a symbolic expression containing a new symbol, the Function
Chart Builder opens the Create a Symbol dialog.
For dialog see Section 4.5.5.3, Edit | Create… - for Symbol Section.
If you connect to a new TC/CI terminal, the Function Chart Builder opens the Create a TC/CI
Terminal dialog. For dialog see Section 4.5.5.3, Edit | Create… - for TC/CI Terminal Section.
If you connect to a new name, create it at first by the Edit | Name command.
To change a connection, edit the connection definition in the To text box.
For syntax and examples of connection definition, also for relative connection definitions, see
Section 4.4.4.4, Connect Terminals by Editing the Connection Definition.
If the connection rules are fulfilled, the Function Chart Builder builds the connection and
updates the PC diagrams in the PC Section windows depending on the Update Function Chart
on Apply preference option set by the Options | Preferences command.
• Filter/Item Des.
Edit a filter in the text box part to list only DB elements with a certain item designation.
Open the list box part to see the valid filters and select one.
# is wildcard for board and channel numbers.
• Item Designation
The item designation of the selected DB element appears here.
To change selection, you can also edit another item designation.
The new selection will be effective in the Item Designation, Instance Name, Attr.,
Callname, Address list box if you press ENTER (activate the OK button.)
• Filter/Instance Name
Select a filter in the list box part or edit it directly in the text box part to list only DB
instances with a certain name. The list box part contains the recently used filters.
Wildcards ‘*’ and ‘?’ are also allowed.
Close the new filter condition with ENTER to make it effective.
NOTE
Be sure to select the View | Sort by Name command if you want to see the
DB elements sorted alphabetically by name in the Item Designation,
Instance Name, Attr., Callname, Address list box.
• Instance Name
The instance name of the selected DB element appears here.
To change selection, you can also edit another name.
The new selection will be effective in the Item Designation, Instance Name, Attr.,
Callname, Address list box if you press ENTER (activate the OK button.)
• DB Terminal
The drop-down list box contains all terminals of the selected DB element, which can be
connected to the PC terminal selected in the PC Section window.
Select the DB terminal here. See Section 4.4.8.1, Connection Rules.
The text box part reflects your selection. You can also edit here any appropriate DB
terminal.
If the connection rules are fulfilled, the Function Chart Builder builds the connection and
updates the PC diagrams in the PC Section windows depending on the Update Function Chart
on Apply preference option set by the Options | Preferences command.
• Terminal
The list box part contains all the names, which have the appropriate data type for the
connection. Select a name here.
The text box part reflects your selection. You can also edit here any existing name.
If the connection rules are fulfilled, the Function Chart Builder builds the connection and
updates the PC diagrams in the PC Section windows depending on the Update Function Chart
on Apply preference option set by the Options | Preferences command.
• Connection Definition
Edit here the connection with constants, symbols, or symbolic expressions in form of an
equation, like D=constant, D=<symbol>, or D=symbExpression.
Examples: D=KEY<PARAM1> N=<OUT32>
For more information see Section 4.4.8.5, Use of Symbols.
You can use also new symbols in the symbolic expression. In this case the Function Chart
Builder opens the Create Symbol dialog.
For dialog see Section 4.5.5.3, Edit | Create… - for Symbol Section.
Take care that the value of the expression has the appropriate data type for the connection.
• Symbol
The list box part contains all symbols of the selected object, which have the appropriate
data type for the connection. Select the symbol here.
The text box part reflects your selection.
You can also edit here any appropriate symbol.
• Append
Activate this button to append the symbol name, which is shown in the text box part of the
Symbol combo box, to the Connection Definition string.
The Function Chart Builder closes the symbol name in angle brackets corresponding to the
syntax of symbolic expressions.
If the connection rules are fulfilled, the Function Chart Builder builds the connection and
updates the PC diagrams in the PC Section windows depending on the Update Function Chart
on Apply preference option set by the Options | Preferences command.
• Terminal
The list box part contains all terminals of the circuit or type circuit, which have the
appropriate data type for the connection. Select the terminal here.
The text box part reflects your selection. You can also edit any appropriate existing
terminal name here.
If the connection rules are fulfilled, the Function Chart Builder builds the connection and
updates the PC diagrams in the PC Section windows depending on the Update Function Chart
on Apply preference option set by the Options | Preferences command.
• Scope
Select one of the options to define the scope of function of the Consolidate and List
buttons.
• Consolidate
Activate this button to start the consolidation of the virtual connections in the defined
scope.
• List
Activate this button to list the virtual connections in the defined scope.
If you activate the Consolidate button, the Function Chart Builder tries to consolidate the
virtual connections in the defined scope, opens the Output window, and lists there the virtual
connections that cannot be consolidated.
If you activate the List button, the Function Chart Builder opens the Output window and lists
there all of the virtual connections in the defined scope.
• From
The list box shows all the input terminals, which are connected to the selected output
terminal.
Select one or several terminals to be disconnected here.
The text box reflects your selection. You can also edit here the name of the input terminal
to be disconnected.
• Apply
Activate this button to disconnect a sink.
A similar action as that of the OK button but you remain in the Disconnect dialog and the
Function Chart Builder prepares the item designation of the next connected sink in the
From text box.
• All
Activate this button to disconnect all the sinks.
A similar action as that of the OK button.
To remove a name from a selected PC output terminal, use the Edit | Delete Name command.
• Item Designation
The text box part shows the selected PC terminal. You can also edit here the item
designation and use also relative PC item designations, see in Section 4.4.4.4, Connect
Terminals by Editing the Connection Definition.
The drop-down list box part contains the terminals, to which units were recently assigned.
Select here a terminal to copy it to the text box part.
• Unit
Edit here the unit for the terminal, which is shown by Item Designation.
The unit may consist of maximum 6 character.
The drop-down list box part contains the units, which were recently assigned to terminals
or edited.
Select here a unit to copy it to the text box part.
• Apply
Activate this button to assign units to more than one terminal.
A similar action as that of the OK button but you remain in the Create/Edit Unit dialog.
The Function Chart Builder and assigns the specified unit to the selected PC terminal.
NOTE
In the function chart the Function Chart Builder shows the unit only for a constant
source and only at the input terminal, which was connected at first to the constant.
To inspect units not shown in the function chart, select the terminal and choose
the PC-Terminal | Unit | Create/Edit command without editing in the
Create/Edit Unit dialog box.
• Item Designation
The text box part shows the selected PC terminal. You can also edit here the item
designation and use also relative PC item designations, see in Section 4.4.4.4, Connect
Terminals by Editing the Connection Definition.
The drop-down list box part contains the terminals, for which force values were recently
created or edited.
Select here a terminal to copy it to the text box part.
• Value
Edit here the force value for the terminal, which is shown by Item Designation.
The drop-down list box part contains the force values, which were recently assigned to
terminals or changed.
Select here a value to copy it to the text box part.
• Apply
Activate this button to include more than one terminal and prepare (set or change) their
force values in the Force Value column of the Test Table window.
A similar action as that of the OK button but you remain in the Create/Edit Force Value
dialog.
The Function Chart Builder displays the force value next to an asterisk ‘*’ on the connection
line near the terminal in the PC Section window panes with the function chart and also includes
the terminal and its prepared force value in the Test Table.
If the engineering station is connected on-line to an AC 100 Series target, if the application
loaded to the target and the one currently selected in the Function Chart Builder are identical,
and if the force values are activated, the corresponding terminals in the application on the target
will be forced to these values.
Related commands:
• Window | Test Table to open or activate the Test Table window
• Test | Activate Force Values to activate the forcing of selected terminals with new values
• Test | Deactivate Force Values to deactivate the forcing of selected terminals.
NOTE
The last terminal (terminal set) is always deleted independently of selection or
existing connections of that terminal. Make sure to relocate the connections of the
last terminal (terminal set) before deleting.
• Connection Path
This drop-down list box shows the connection path in symbolic form:
[’target_name’] [server_addr] interface [[intermediate_addr1 [intermediate_addr2]] target_addr]
The list box part contains the connection history, that is, the recent connection paths.
It generally contains also the default connection “COMx”: the point-to-point connection
via the first available COM port of the local engineering station, without target name.
• Tip
Describes possible next actions.
• Assistant
Activate this button to call the Connect Assistant guiding you through steps of defining a
new connection path.
In case of simple and repeated connections select the appropriate connection path in the
connection history contained in the Connection Path drop-down list box.
In case of complex paths and new connections activate the Connect Assistant by the Assistant
button. The Connect Assistant guides you through steps of connection path definition. See more
information about the usage of the Connect Assistant in Section 4.4.6.4, Connect the
Engineering Station to an AC 100 Series Target.
Upon activation of the OK button the connection will be established. This may take some
seconds. The application requesting the connection can continue.
After successful connection, the Function Chart Builder displays the Status Report of the
target, and if there are differences between the options and base software defined for the
application and those identified in the target, the Options Report window.
Concerning target connection, see also Section 4.4.6.4, Connect the Engineering Station to an
AC 100 Series Target to Section 4.4.6.5, Types of Routing, Diagrams.
If the Function Chart Builder has been in off-line (non-connected) mode, it switches to off-line
connected mode. If the Function Chart Builder has been in on-line preparation mode, it switches
to on-line mode. See also Section 4.4.6.1, About On-line and Off-line Modes.
WARNING
This action stops the current application.
When the processor module displays P3, you can load your new application.
• Connecting an AC 70:
– If there is an application loaded to AC 70 (PM810), the BUSNO and/or the STNNO
terminals of the current PM810 DB element differ from those loaded on the target.
Loading this application would re-configure the bus and station number of the target.
– If there is no application loaded, the BUSNO and/or the STNNO terminals of the
current PM810 DB element differ from those set in the Connect dialog.
The bus number set in the Connect dialog at the first connection defines the bus
number on AC 70. This is the bus number that the AC 70 expects at all further
connections.
To enable loading of the application, reset the target without any application by either
pressing the RESET button until P3 is shown or by choosing the Target | Clear PROM
and Target | Restart commands.
WARNING
This action stops the current application.
When P3 is shown on the PM810, you can load your new application.
• Connecting an AC 55: This error message does not occur.
CAUTION
Forced PC and DB terminals behave differently on the target:
• At PC terminals, the force values will be deactivated on the target after its
disconnection.
• At DB terminals, the force values will remain active on the target after its
disconnection.
The Function Chart Builder displays a query box to confirm the command.
Rather than using mouse actions, you answer by pressing keys.
The Function Chart Builder opens the Output window, protocols there the download process,
and updates the Status Report of the target.
If the download is successful, the Function Chart Builder offers switching to on-line mode.
NOTES
Application retrieval is supported by Function Chart Builder 4.6 and higher.
The application can only be retrieved if you work with the same Function Chart
Builder version as the one with which its target code was generated.
This command is available only for new node types explicitly supporting
application retrieval, such as AC 80 2.0.
For successful retrieval, node type and element library versions used by the
application to be retrieved must be available and installed in the corresponding
release subdirectories. Or they must be stored with the target code on the target.
The command will not be executed if the application is exactly the same in the
target and in the Function Chart Builder, for example, after a Target | Load
Application. After any substantial change Target | Upload Application becomes
effective again.
The scope of application retrieval depends on the information included in the target code stored
on the target, that is, on the options that were selected at target code generation.
The Function Chart Builder stores the target code files *.C00 and *.C?? in the \CONTROL
subdirectory of the node.
See also Section 4.4.6.15, Retrieve Application from an AC 100 Series Target.
• Synchronize Target
Activate this button to synchronize the target to the engineering station.
NOTES
Before synchronizing, it is reasonable to check and possibly set the date and time
of the engineering station, for example, by Settings | Control Panel in the Start
menu of Windows NT, then Date/Time.
You can use Settings | Control Panel in the Start menu of Windows NT, then
Regional Settings to set the date and time style.
CAUTION
Use password protection only if it is reasonable. Be aware, if you forget the
password, there is no “universal password”, you can just stop the target to clear
the password. A warm start does not clear the password.
• Old Password
Enter here the old password if there is any.
Be sure using lower case and upper case correctly.
• New Password
Enter here the new password if you want to set one.
The password has to consist of 8 to 50 printable characters.
Leave this text box empty if you want to clear the password.
NOTE
Do not mix up target password and ODB password. See Section 4.5.4.11, File |
Set Password…. Nevertheless, if the ODB password equals the target password,
you do not need to enter the same password again when connecting to target.
• Target RAM
Application CRC contains the current checksum of the application running in the RAM
of the target. Stored CRC is the checksum that was stored at date and time shown by
Stored At in the RAM of the target.
• Target PROM
System CRC contains the checksum of the system in the PROM of the target.
• Store
Activate this button to store the checksum shown by Target RAM - Application CRC in
the RAM of the target.
• Close
Activate this button to close the Application Checksum dialog box.
The application checksum is calculated in the target after every change of the application by
Target | Load Application or File | Save and Load. The calculation may take several seconds.
Then you can access the application checksum any time and compare with the stored value.
The checksum of the system in PROM is calculated cyclically in the target.
You can access the three checksum values also by an appropriate PC element (SYS-CRC) and
use them to check integrity or change of your application program and system and generate an
alarm, for example, at any on-line change.
Related commands:
• Window | Test Table to open or activate the Test Table window
• PC-Terminal | Select for Display | … to select and unselect PC terminals for monitoring.
The Function Chart Builder attempts to sample terminals and update the values in the related
windows normally with the cycle time stored in the workspace, else with the cycletime defined
by the Test | Set Cycletime command.
NOTE
The effective cycle time of cyclic display depends also on other factors, like
target load, amount of displayed and forced terminal values, complexity of
communication path between the engineering station and the target.
The simplest way to stop and restart cyclic display is to press ENTER or the SPACE bar.
Related commands:
• Window | Test Table to open or activate the Test Table window
• PC-Terminal | Select for Display | … to select and unselect PC terminals for monitoring.
NOTE
The value of cycle time is part of the object-specific workspace parameters.
So choose the Options | Workspace command and select the Last Workspace
Used option if you want to preserve any cycle time set to other than 1 second for
the next Function Chart Builder sessions with the selected node.
Formula
A valid expression which may contain values, constants, operators, and indexes for values.
Value: Any signal that has been selected in the pertaining Test Table window.
You can pick up a name from the Available Variable Names drop-down box
and insert it into the Formula field by copy and paste.
Constant: Any constant like 2 or 50.5.
Operator: ==, <, <=, >, >=, +, -, *, /, (, ), AND, OR, XOR, NOT.
Index: signal_name [n]; with -10 <= n <= -1.
A signal name without an index means the current value, signal_name [-1]
means the foregoing value, and so on.
Example: A formula to detect a positive slope of a curve may look like this:
(CURRENT_VAL - CURRENT_VAL[-1])>0
Trigger Type
Disable: The trigger is disabled independent of the formula.
Stop if condition is TRUE: Means recording will be stopped when condition is true.
Trigger Length
(This control is not selectable.)
The Function Chart Builder stops cyclic monitoring if the condition occurs and “Stop if
condition is TRUE” is set.
NOTES
The detection of the condition takes place on the engineering station with the data
read from the Advant Controller 100 Series and not on the controller itself.
There is no direct synchronization between Advant Controller 100 Series and
Advant Station 100 Series. If you want to assure that you will get a value from
each cycle of the Advant Controller 100 Series, try to set a cyclic display cycle
time by Test | Set Cycletime that is shorter than the cycle time of the
corresponding PC program
The command is available only in on-line mode, that is, if an AC 100 Series target is connected
and the application program loaded on this target equals the one saved in the internal data
representation.
The Function Chart Builder displays the Activate Force Values dialog box, you can combine
here monitoring with forcing. (Depending on previous actions it displays Figure 4-251 instead.)
• Force Only
Select this option if you want to force without monitoring immediately thereafter.
NOTES
The display and force values in the target are significant only if the target is
unblocked and all of the pertaining executable units are also deblocked, that is,
the RUN terminals of the pertaining PC structure elements are set to 1, the IMPL
and ACT terminals of the pertaining DB elements are set to 1.
The force values may be visible or invisible in the Test Table windows.
The command is available only in on-line mode, that is, if an AC 100 Series target is connected
and the application program loaded on this target equals the one saved in the internal data
representation.
The Function Chart Builder displays the Activate Force Values dialog box, in which you can
combine monitoring with forcing.
(Depending on previous actions it displays Figure 4-250 instead.)
• Force Only
Select this option if you want to force without monitoring immediately thereafter.
The command is available only in on-line mode, that is, if an AC 100 Series target is connected
and the application program loaded on this target equals the one saved in the internal data
representation.
NOTE
Before setting a DB value, deactivate all PC elements that can overwrite the set
value. For example, keep the ON terminals of the corresponding PCPGM,
CONTRM, or other structure element forced to 0 for a necessary period.
• Directory
The symbol shows the directory currently browsed for files.
Default is the \DBDATA subdirectory of the current node.
You can also select a subdirectory in the list box below.
Or go to the directory on the next higher level by clicking on the Up One Level icon.
Click on the Create New Folder icon to create a new subdirectory.
• File Name
Select a file name from the list box or type it here. Or edit a new filter condition, for
example, MY*.DFL, and press ENTER to make it effective.
• Files of Type
Select a filter condition from the standard filters in this drop-down list box.
The default extension for display/force list files is DFL.
• Open
Activate this button to start the import.
• Directory
The symbol shows the directory currently browsed for files.
Default is the \DBDATA subdirectory of the current node.
You can also select a subdirectory in the list box below.
Or go to the directory on the next higher level by clicking on the Up One Level icon.
Click on the Create New Folder icon to create a new subdirectory.
• File Name
Select a file name from the list box or type it here. Or edit a new filter condition, for
example, MY*.DFL, and press ENTER to make it effective.
• Save as Type
Select a filter condition from the standard filters in this drop-down list box. If *.DFL is set,
extension .DFL (default for display/force list files) will be appended to the file name.
• Save
Activate this button to start the export.
NOTE
Some or all of the icons may be covered by open document windows in the
application window.
The default size is a minimum size, which allows access of all controls of these windows
without the need for scrolling. The default size may differ from the initial size when opening the
window from the recent workspace.
• List
Contains the open windows.
Select here one or several windows to be closed.
For multiple selection see Section 4.4.1.2, How to Use the Mouse and Section 4.4.1.3,
Using the Keyboard Instead of the Mouse.
,where number = 1, 2,… 9, 0 corresponds to the ordinal 1, 2,… 9, 10, which was assigned to this
window at its creation during the current Function Chart Builder session.
Use this command to open or activate the *.ODB window.
,where number = 1, 2,… 9, 0 corresponds to the ordinal 1, 2,… 9, 10, which was assigned to this
window at its creation during the current Function Chart Builder session.
Use this command to open or activate the Output window.
,where number = 1, 2,… 9, 0 corresponds to the ordinal 1, 2,… 9, 10, which was assigned to this
window at its creation during the current Function Chart Builder session.
Use this command to open or activate the Name Table window.
,where number = 1, 2,… 9, 0 corresponds to the ordinal 1, 2,… 9, 10, which was assigned to this
window at its creation during the current Function Chart Builder session.
Use this command to open or activate the Test Table window.
,where number = 1, 2,… 9, 0 corresponds to the ordinal 1, 2,… 9, 10, which was assigned to this
window at its creation during the current Function Chart Builder session.
Use this command to activate the document window listed with number 1, 2,… at the bottom of
the Window menu. They are generally windows for different sections of the object, you are
working on, for example, PC Section window.
NOTE
If the Function Chart Builder cannot open the on-line manual:
• If the on-line manual file is missing on the engineering station, install it.
• If the appropriate program that opens the on-line manual file is missing on the
engineering station, install it.
• If the on-line manual file extension is not associated with the program that
opens it, associate them, for example, by double-clicking on it in the Explorer
of Windows NT and choosing Acrobat Reader in the Open With dialog box.
NOTE
If the Function Chart Builder cannot open the on-line manual:
• If the on-line manual file is missing on the engineering station, install it.
• If the appropriate program that opens the on-line manual file is missing on the
engineering station, install it.
• If the on-line manual file extension is not associated with the program that
opens it, associate them, for example, by double-clicking on it in the Explorer
of Windows NT and choosing Acrobat Reader in the Open With dialog box.
NOTE
If the Function Chart Builder cannot open the on-line manual:
• If the on-line manual file is missing on the engineering station, install it.
• If the appropriate program that opens the on-line manual file is missing on the
engineering station, install it.
• If the on-line manual file extension is not associated with the program that
opens it, associate them, for example, by double-clicking on it in the Explorer
of Windows NT and choosing winhelp32 or Acrobat Reader, as applicable, in
the Open With dialog box.
NOTE
The Release Notes is a *.PDF file.
To read it, you need Acrobat Reader installed on the engineering station and the
extension PDF associated with the Acrobat Reader.
Acrobat Reader is a free product of Adobe Systems Inc.
• Maximize button
• Minimize button
• Restore button
• Close button .
The Toolbar is displayed across the top of the application window, below the menu bar.
The Toolbar provides quick mouse access to many functions used in the Diagnostics program.
To hide or display the Toolbar of the Diagnostics window, choose the View | Toolbar
diagnostic command.
The Status Bar is displayed at the bottom of the application window. To display or hide the
Status Bar of the Diagnostics window, use the View | Status Bar diagnostic command.
The left area of the status bar describes actions of menu items as you use the arrow keys to
navigate through menus. This area similarly shows messages that describe the actions of toolbar
buttons as you depress them, before releasing them. If after viewing the description of the
toolbar button command you wish not to execute the command, then release the mouse button
while the pointer is off the toolbar button.
The right areas of the Status Bar display the following information:
Indicator Description
COMx/X3 Selected port for communication with the AC 100 Series target: COM1 to COM4, X3.
[bus, station, position] Address of the (final) target the engineering station is communicating with. The two forms
or of the address contents correspond to routing via AF 100 and RCOM, respectively.
[rNet, rNode, position] [0, 0, position] stand for directly connected target (no routing).
LOG Indicates that the report in the active window is already logged in a log file using the
File | Log and File | Logfile Setup diagnostic commands.
Date, Time
Date and time when the data was read from the target.
Diagnose Module
Activate this button to open the Module Diagnostics window for the selected module.
List Box
Select a module here for diagnosing it.
The modules are listed by their address.
The significance and ranges of target address for different node types see in the following table:
NOTE
Addressing of AC 160 is typically the same as that of AC 110.
Addressing of AC 80 is typically the same as that of AC 70.
The list box shows also the module type and the date and time of the first error occurrence on
the module in the target and the type of the first error detected on the module.
List box rows of modules, for which you already called the Diagnose Module function, are
dimmed.
Select a module here and start module diagnostics, no matter the module is error free.
Date, Time
Date and time when the data was read from the target.
Diagnose Module
Activate this button to open the Module Diagnostics window for the selected module.
List Modules
Set here a filter to select the modules by their type.
Wildcards ‘?’ (for one character) and ‘*’ (for a group of characters) are supported.
The list box part contains the predefined filters *, AI*, AO*, CI*, DI*, and DO*.
Activate the filter by pressing the ENTER key.
List Box
The modules are listed by their address.
The significance and ranges of target address for different node types see in Table 4-35.
The list box shows the module types, whether the module is active (in operation) or passive (not
in operation), and whether an error was detected in the module.
List box rows of modules, for which you already called the Diagnose Module function, are
dimmed.
Window Title
[address] identifies the module. See Table 4-35.
Date, Time
Date and time when the window was opened.
Module Type
The module type designation with revision index.
Module State
Shows the module state, like ready, not ready, operational, error, init.
The set of possible states is module specific.
Object Types
This list box shows all the object types available on the target, such as device (the module
itself), channels, data sets, parts of Multi Vendor Interface, and so on.
Select an object type here.
NOTE
The instance number is internally handled as a two-byte word.
The tree forms facilitate its evaluation for different object types:
• Decimal form
This is the standard representation. For example, in case of an analog input
channel AIS620 the number 5 indicates the channel 5.
• Decimal form, bytewise
This form is useful, for example, in case of DSP, where the left byte indicates
the STATION terminal value and the right byte the IDENT terminal value of
the instance.
• Hexadecimal form
This form is useful, for example, in case of MVINODE and MVB, where
numbers less than 8000 (hexadecimal) indicate nodes and data blocks
belonging to MVI channel 1, numbers greater than 8000 (hexadecimal)
indicate nodes and data blocks belonging to MVI channel 2.
List Box
This list box contains all of the errors of the selected instance detected since the last deletion of
errors on the target in a form that depends on the complexity of the module.
The errors are listed in order of their occurrence (date and time) and are characterized by error
state, error message, and so on.
If you double-click on an item in the list box, the Diagnostics program shows additional
information useful for maintenance (for expert users only):
• Save in (Directory)
The symbol shows the directory currently browsed for files.
Default is the \LIST subdirectory of the current node.
You can also select a subdirectory in the list box below.
Or go to the directory on the next higher level by clicking on the Up One Level icon.
Click on the Create New Folder icon to create a new subdirectory.
• File Name
Select a file name from the list box or type it here.
Or edit here a new filter condition, for example, MY*.DGN, and press ENTER to make it
effective.
• Save as Type
Select a filter condition from the standard filters in this drop-down list box.
If *.DGN is set, extension DGN (default extension of diagnosis files) will be appended to
the file name.
• Save
Activate this button to start saving the report or diagnosis in the specified file.
The Diagnostics program writes the report or diagnosis in an ASCII file.
This file contains the following:
• Title of the application window
• Title of the document window
• Content of the document window.
If the report or diagnosis contains list boxes they are saved as simple lists in the file.
• Directory
Enter a directory where you want to store your log files. The default directory is the LIST
subdirectory of the node, for which you started Diagnostics.
The list box part of this combo box contains the recent directories.
• Logfile
Enter the name of the log file. Default is DIAGnn.LOG where nn starts at 01 and is
incremented by 1 if the file already exists in the current directory.
If you enter a filename which already exists, you are asked to delete the old one or to
append the data to the existing file.
The list box part of this combo box contains the recent log file names.
• Log
Select one of the following possibilities of specifying the type of logging:
Type Description
None Disable log
Log Automatically from Automatic logging of all new errors (windows).
Now on Windows that were opened before are not logged.
Log Report/Diagnostics Log the report/diagnosis in the active window manually.
Manually Activate the File | Log diagnostic command to start
logging, or depress the corresponding toolbar button.
NOTE
Do not mix up this command with the File | Print command of the Function
Chart Builder.
• Printer
This static text shows the selected printer.
Activate the Properties button to change the printer and printer connection.
• Print Range
Specify the pages you want to print:
All Prints the entire document.
Selection Prints the currently selected text.
Pages Prints the range of pages you specify in the From and To boxes.
• Properties
Activate this button to open the Properties dialog box and change the printer properties.
See the File | Print Setup command for dialog.
• Print to File
Select this check box if you want to store a print file instead of printing on the printer.
• Copies
Edit the number of copies you want to print for the defined page range.
• Collate Copies
Select this check box if you want to print document copies in page number order, instead
of separated multiple copies of each page.
Select this check box for proper sorting of pages in case of multiple copies.
You can follow the progress of printing or abort printing in the Printing dialog box.
NOTE
This command is very similar to the File | Print Setup command of the Function
Chart Builder.
• Printer
Select one of the current installed printers shown in the drop-down list box you want to
use. The static text shows status, type, and location of the selected printer.
You install printers and configure ports using the Settings | Printers command of
Windows NT.
• Properties
Activate this button to open the Properties dialog box and change the printer properties.
• Orientation
Select Portrait or Landscape.
• Network…
Activate this button to connect to a printer at a network location.
NOTE
Do not mix up this command with the File | Exit command of the Function Chart
Builder.
NOTE
Do not mix up this command with the View | Toolbar command of the Function
Chart Builder.
A check mark ‘ ’ appears next to the menu item when the Toolbar is displayed.
See Section 4.5.14.2, Controls in Toolbar of Diagnostics.
NOTE
Do not mix up this command with the View | Status Bar command of the
Function Chart Builder.
A check mark ‘ ’ appears next to the menu item when the Status Bar is displayed.
See Section 4.5.14.3, Indicators in Status Bar of Diagnostics.
See Table 4-35. If the connection is not routed, that is, the engineering station is connected
directly to the target, enter 0 both for Bus and Station.
In case of AC 55 1.1 no further specification is necessary.
Else select the AC 160, AC 110 2.1 and higher, AC 80, AC 70 1.1 and higher, or similar module
in the following dialog box:
Select a module (or unit) and activate the OK button. Then the diagnostic data is read from the
module and is displayed in the Module Diagnostics window.
See Section 4.5.15.3, Module Diagnostics Window.
NOTE
Some or all of the icons may be covered by open document windows in the
application window.
,where number = 1, 2,… 9, 0 corresponds to the ordinal 1, 2,… 9, 10, which was assigned to this
window at its creation during the current Diagnostics session.
Use this command to activate the document window listed with number 1, 2,… at the bottom of
the Window menu. You can apply this command for the Error Report, Module List, and
Module Diagnostics windows.
Click on the book symbols to open them and on help topic symbols to jump to final topics of
interest.
In the Diagnostics Help window you can click the Contents button whenever you want to
return to the Help Topics window.
• Maximize button
• Minimize button
• Restore button
• Close button .
The Toolbar is displayed across the top of the application window, below the menu bar.
The Toolbar provides quick mouse access to many functions used in the Diagnosis program.
To hide or display the Toolbar of the Diagnosis window, choose the View | Toolbar diagnosis
command.
The following table lists the toolbar commands of Diagnosis:
The Status Bar is displayed at the bottom of the application window. To display or hide the
Status Bar of the Diagnosis window, use the View | Status Bar diagnosis command.
The left area of the status bar describes actions of menu items as you use the arrow keys to
navigate through menus. This area similarly shows messages that describe the actions of toolbar
buttons as you depress them, before releasing them. If after viewing the description of the
toolbar button command you wish not to execute the command, then release the mouse button
while the pointer is off the toolbar button.
The right areas of the Status Bar display the following information:.
Table 4-38. Indicators in the Status Bar of Diagnosis
Indicator Description
COMx/X3 Selected port for communication with the AC 100 Series
target: COM1 to COM4, X3.
[net,node|bus,station] Selected net, node, bus, and station number.
* Indicates that some module or channel diagnosis data are
buffered in the Advant Station 100 Series Engineering Station.
LOG Indicates that the report in the active window is already logged
in a log file using the File | Log and File | Logfile Setup
diagnosis commands.
Date, Time
Date and time when the data was read from the target.
Target
This column concerns the actual application program in the RAM of the target.
Differences
The “not equal” sign ‘<>’ points out the differences between the columns Target and PROM.
PROM
This column concerns the actual application program in the PROM of the target.
Name
The name of the node.
Bus, Station
The target address (bus, station) in the target RAM and PROM.
DB Section Version
The time stamp of the database (DB) in the target RAM and PROM.
PCPGM Number
The number of the process control (PC) or application program.
PC Section Version
The time stamp of the PC (process control) section in the target RAM and PROM.
PCPGM State
The state of the application program or process control (PC) program Blocked or Deblocked.
Free Memory
Free space in the RAM of the target.
Error Report
Activate this button to open the Error Report.
The button is only active if errors have been detected.
Module List
Activate this button to open the Module List.
NOTE
Do not close the Error Report window unless you are sure you do not need the
information contained in it any more.
Date, Time
Date and time when the data was read from the target.
Module Diagnosis
Activate this button to open the Module Diagnosis window for the selected module (position).
Pos.
The module is defined by the address for different targets as shown in the following table:
Module
The module type designation.
State
State of the module:
A Active (in operation)
P Passive (not in operation).
Errors
List of errors marked by the following flags:
S System Errors
M Module Errors
P Process Errors.
Already read, that is, reported and buffered, errors are marked with an ‘*’.
Date, Time
Date and time of the first error on the module in the target.
Error Text
Error text for the first error on the module.
Select a module here and start module diagnosis, no matter the module is error free.
Date, Time
Date and time when the data was read from the target.
Module Diagnosis
Activate this button to open the Module Diagnosis window for the selected module.
Pos.
The module is defined by the address for different targets as shown in Table 4-40.
Module
The module type designation.
State
State of the module:
A Active (in operation)
P Passive (not in operation).
Errors
List of errors marked by the following flags:
S System Errors
M Module Errors
P Process Errors.
Already read, that is, reported and buffered, errors are marked with an ‘*’.
Window Title
[station, module position] identify the module by its address.
Date, Time
Date and time when the data was read from the target.
Module Type
The module type designation with revision index.
Module Status
The module status word is displayed as a 16-bit pattern.
The 7 first bits (on the right) are essential for diagnosis:
Diag. Counter
The diagnostics counter is currently not supported.
Indicates an error during bus transfer.
Module State
The module may have one of the following states:
Channel Diagnosis
Activate this button to open the Channel Diagnosis window for the selected channel instance in
the Instances with Errors list box.
Channel Type
The channel or object type is identified by its number.
See Table 4-44 for channel types.
See the following table for channel types:
Total
The total number of channels (instances) per type.
Erroneous
The number of erroneous channels (instances).
Error Messages
The error text of system, module, or process errors.
Each line corresponds to one of the 3*32=96 error bits, which indicate an error if it equals to 1.
The error messages are module dependent.
If you select an error message in the list box, the corresponding error bit of System Errors,
Module Errors, or Process Errors is highlighted, too.
Window Title
[station, module position | channel type, instance] identify the channel by its address, type, and
instance (number). See Table 4-44 for channel types.
Date, Time
Date and time when the data was read from the target.
Channel
The channel instance (number), also displayed in the window title together with the channel
type. The channel instance (number) is internally handled as a two-byte word.
To facilitate its evaluation for different channel types, it is displayed in the following forms:
• Decimal form
This is the standard representation. For example, in case of an analog input channel
AIS620 (channel type 36) the number 5 indicates the channel 5.
• Hexadecimal form
This form is useful, for example, in case of MVINODE and MVB (channel types 55 and
56), where numbers less than 8000 (hexadecimal) indicate nodes and data blocks
belonging to MVI channel 1, numbers greater than 8000 (hexadecimal) indicate nodes and
data blocks belonging to MVI channel 2.
• Decimal form, bytewise
This form is useful, for example, in the following cases:
– MVINODE (channel type 55),
where the right byte indicates the node number.
– DSP (channel type 53),
where the left byte indicates the STATION terminal value and
the right byte the IDENT terminal value of the instance.
Module Type
The module type designation and revision index.
Module Status
The module status word is displayed as a 16-bit pattern.
The 7 first bits (on the right) are essential for diagnosis:
Diag. Counter
The diagnostics counter is currently not supported.
Indicates an error during bus transfer.
Channel State
The interpretation of channel states depends on the module type.
Channel states for most of the standard modules, for example, AI, AO, DI, DO, DP:
Error Messages
The error text of system, module, or process errors.
Each line corresponds to one of the 3*32=96 error bits, which indicate an error if it equals to 1.
The error messages are module dependent.
If you select an error message in the list box, the corresponding error bit of System Errors,
Channel Errors, or Process Errors is highlighted, too.
• Save in (Directory)
The symbol shows the directory currently browsed for files.
Default is the \LIST subdirectory of the current node.
You can also select a subdirectory in the list box below.
Or go to the directory on the next higher level by clicking on the Up One Level icon.
Click on the Create New Folder icon to create a new subdirectory.
• File Name
Select a file name from the list box or type it here. Or edit here a new filter condition, for
example, MY*.DGN, and press ENTER to make it effective.
• Save as Type
Select a filter condition from the standard filters in this drop-down list box.
If *.DGN is set, DGN (default extension of diagnosis files) will be appended to file name.
• Save
Activate this button to start saving the report or diagnosis in the specified file.
The Diagnosis program writes the report or diagnosis in a text file containing title of the
application window, title of the document window, and content of the document window.
If the report or diagnosis contains list boxes, they are saved as simple lists in the file.
• Directory
Enter a directory where you want to store your log files. The default directory is the LIST
subdirectory of the node, for which you started Diagnosis.
The list box part of this combo box contains the recent directories.
• Logfile
Enter the name of the log file. Default is DIAGnn.LOG where nn starts at 01 and is
incremented by 1 if the file already exists in the current directory.
If you enter a filename which already exists, you are asked to delete the old one or to
append the data to the existing file.
The list box part of this combo box contains the recent log file names.
• Log
Select one of the following possibilities of specifying the type of logging:
Type Description
None Disable log
All Reported Errors Automatic logging of all new errors (windows).
Windows that were opened before are not logged.
Report/Diagnosis in Log the report/diagnosis in the active window manually.
Active Window Activate the File | Log diagnosis command to start
logging, or depress the corresponding toolbar button.
NOTE
Do not mix up this command with File | Print of Function Chart Builder.
• Printer
This static text shows the selected printer.
Activate the Properties button to change the printer and printer connection.
• Print Range
Specify the pages you want to print:
All Prints the entire document.
Selection Prints the currently selected text.
Pages Prints the range of pages you specify in the From and To boxes.
• Properties
Activate this button to open the Properties dialog box and change the printer properties.
See the File | Print Setup command for dialog.
• Print to File
Select this check box if you want to store a print file instead of printing on the printer.
• Copies
Edit the number of copies you want to print for the defined page range.
• Collate Copies
Select this check box if you want to print document copies in page number order, instead
of separated multiple copies of each page.
Select this check box for proper sorting of pages in case of multiple copies.
You can follow the progress of printing or abort printing in the Printing dialog box.
NOTE
This command is very similar to the File | Print Setup of Function Chart Builder.
• Printer
Select one of the current installed printers shown in the drop-down list box you want to
use.
The static text shows status, type, and location of the selected printer.
You install printers and configure ports using the Settings | Printers command of
Windows NT.
• Properties
Activate this button to open the Properties dialog box and change the printer properties.
• Orientation
Select Portrait or Landscape.
• Network…
Activate this button to connect to a printer at a network location.
NOTE
Do not mix up this command with the File | Exit command of the Function Chart
Builder.
NOTE
Do not mix up this command with the Edit | Copy command of the Function
Chart Builder.
• Position
Edit any (valid) module position in form of station, module_position or select one in the
Pos., Module, State, Errors list box.
• Pos.
The module is defined by the address for different targets as shown in Table 4-40.
• Module
The module type designation.
• State
State of the module:
A Active (in operation)
P Passive (not in operation).
• Errors
List of errors marked by the following flags:
S System Errors
M Module Errors
P Process Errors
• List Modules
Set here a filter to select the modules by their state (in addition to the type filter).
Select one of the following states:
Table 4-50. List Modules State
Activate the OK button after having made all selections. Then the new diagnosis data is read
from the module or the already reported and buffered data is displayed in the Module Diagnosis
window.
See Section 4.5.23.4, Module Diagnosis Window.
• Module
The module which has been selected in the Module Diagnosis window.
• Channel
Edit a (valid) channel in form of type, instance or select one in the Type, Number, Errors
list box.
• Errors
Erroneous channels are by the flag ‘E’.
• List Channels
Set here a filter to list only a group of channels in the Type, Number, Errors list box.
Activate the OK button after having made all selections. Then the new diagnosis data is read
from the module or the already reported and buffered data is displayed in the Channel
Diagnosis window.
See Section 4.5.23.5, Channel Diagnosis Window.
NOTE
Do not mix up this command with the View | Toolbar command of the Function
Chart Builder.
A check mark ‘ ’ appears next to the menu item when the Toolbar is displayed.
See Section 4.5.22.2, Controls in Toolbar of Diagnosis.
NOTE
Do not mix up this command with the View | Status Bar command of the
Function Chart Builder.
A check mark ‘ ’ appears next to the menu item when the Status Bar is displayed.
See Section 4.5.22.3, Indicators in Status Bar of Diagnosis.
The Diagnosis program displays another warning message if there are non- reported erroneous
instances (channels) of a reported module, showing the module type designation with its
address:
Answer Yes if you want to acknowledge the channels of the corresponding modules, that is,
reset the error buffer.
Answer No if you want to read the channel diagnosis, first.
Chapter 5 Maintenance
CAUTION
IF A PROBLEM OCCURS WITH THE FUNCTION CHART BUILDER,
DOCUMENT IT THOROUGHLY BEFORE YOU DO ANYTHING ELSE!
To understand and solve the problem, the exact situation that caused it must be reproduced.
Table 5-2. Advant Engineering and Project Files for Reporting Problems
Table 5-2. Advant Engineering and Project Files for Reporting Problems
You can copy the data files to diskettes, for example, by the Explorer of Windows, or you send
them directly by electronic mail.
Write down as much as you can remember about how the problem occurred.
Contact your ABB distributor or ABB service and send the files and the problem report.
2. If Step 1 does not work, try to restart the engineering station by pressing the CTRL, ALT, and
DEL keys at the same time. That should reboot your engineering station.
3. If Step 2 does not work, switch off the engineering station and, after 20 seconds, switch it
on to reset and reboot it.
Contact your ABB distributor or ABB service if an error occurs, which is not simple to correct
(for example, by connecting the missing printer), and where you need Steps 2 or 3 to exit.
CAUTION
BEFORE YOU DO ANYTHING ELSE, GATHER THE INFORMATION
LISTED IN Section 5.3.1, Reporting Problems.
C:\Advabldenv
apb.ini, fcb.ini,
product.ini,
foot001.tpx,
abblogo.wmf, etc.
C:\Windows System32
*.dll, etc.
CIDATA
PC_LIB *.bax, *.cis, *.ini, *.l??,
*.odb, *.wex, *.wsp, *.w??
PR_CI LIST
*.db, *.dbt, *.dxr,*.lis,
NODES *.pc?,*.pxr, *.syl, *.uci
project1
circuits.dat, LIST
nodes.dat, PR_TC *.db, *.dbt, *.dxr,*.lis,
prjnotes.txt, *.pc?, *.pxr, *,nam
project_root project1.ini,
typecirc.dat, TCDATA
(e.g., C:\PROJ) *.bax, *.ini, *.l??, *.odb,
projroot.ini foot001.tpx
*.tcs, *.wex *.wsp, *.w??
node1
CIDATA
C:\PB_LIB *.dat, *.l??, *.nss,
(or PB$LIB)
project2 *.odb, *.wex
*.mdb,*.ded,
*.ple, *.aax, CONTROL
*.bax, *.gs? node2 *.c00, *.c??, *.ini
*.ini, DBDATA
*.odb, *.bax, *.c00, *.cfx, *.dfl,
C:\PC_LIB *.wsp, *.ls?, *.tbx, *.wex
(or PC$LIB)
*.w?? DOC
*.ped
etc. FORMS
etc. INFO
C:\TCLEV1 LIBDATA release_*\BIN32 DB_LIB
(or TC$LEV1) BUS_nnn
*.ini,*.tel, *.dcl,*.del,
*.tcs COIL*.b??
*.tcd,etc. *.stl
PC_LIB
LIST *.pcl,*.pel,
*.ptl
C:\TCLEV2 *.db,*.dbt,*.dgn,*.dxr,*.ml,*.ol,
(or TC$LEV2) SRC_LIB
*.glx,*.log,*.pc?,*.pxr,*.syl *.ba_,*.de_,
*.tcs
PCDATA *.pe,*.st_,
*.aax, *.c??, *.ls?, *.tc_,*.te_
*.tix, *.wex
SRCE
*.aa, *.ba
TCDATA
*.l??, *.tcs, *.wex
USER
*.tb, *.tc, *.ti, ...
• QAC10611.DEL = DB element library QAC10611 (1.0) for AC 160, V1.1, Base System
• QAC10612.DEL = DB element library QAC10612 (1.0) for AC 160, V1.2, Base System
• QAC10620.DEL = DB element library QAC10620 (1.0) for AC 160, V2.0, Base System
• QAC10621.DEL = DB element library QAC10621 (1.0) for AC 160, V2.1
(with PM64x), Base System
• QAC10621PM66x.DEL = DB element library QAC10621 (1.0) for AC 160, V2.1
(with PM66x), Base System
• QAC10622.DEL = DB element library QAC10622 (1.0) for AC 160, V2.2
(with PM64x), Base System
• QAC10622PM66x.DEL = DB element library QAC10622 (1.0) for AC 160, V2.2
(with PM66x), Base System
• QAC12010.DEL = DB el. lib. QAC12010 (V1.0) for AC 110, V2.0, OPT2 (RCOM)
• QAC12121.DEL = DB el. lib. QAC12121 (V1.0) for AC 110, V2.1, OPT2 (RCOM)
• QAC12122.DEL = DB el. lib. QAC12122 (V1.0) for AC 110, V2.2, OPT2 (RCOM)
• QAC12123.DEL = DB el. lib. QAC12123 (V1.0) for AC 110, V2.3, OPT2 (RCOM)
• QAC12610.DEL = DB el. lib. QAC12610 (V1.0) for AC 160, V1.0, OPT2 (RCOM)
• QAC12611.DEL = DB el. lib. QAC12611 (V1.0) for AC 160, V1.1, OPT2 (RCOM)
• QAC12612.DEL = DB el. lib. QAC12612 (V1.0) for AC 160, V1.2, OPT2 (RCOM)
• QAC12620.DEL = DB el. lib. QAC12620 (V1.0) for AC 160, V2.0, OPT2 (RCOM)
• QAC12621.DEL = DB el. lib. QAC12621 (V1.0) for AC 160, V2.1 (with PM64x),
OPT2 (RCOM)
• QAC12621PM66x.DEL = DB el. lib. QAC12621 (V1.0) for AC 160, V2.1 (with PM66x),
OPT2 (RCOM)
• QAC12622.DEL = DB el. lib. QAC12622 (V1.0) for AC 160, V2.2 (with PM64x),
OPT2 (RCOM)
• QAC12622PM66x.DEL = DB el. lib. QAC12622 (V1.0) for AC 160, V2.2 (with PM66x),
OPT2 (RCOM)
• QAC13010.DEL = DB el. lib. QAC13010 (V1.0) for AC 110, V2.0, OPT3 (Events)
• QAC13121.DEL = DB el. lib. QAC13121 (V1.0) for AC 110, V2.1, OPT3 (Events)
• QAC13122.DEL = DB el. lib. QAC13122 (V1.0) for AC 110, V2.2, OPT3 (Events)
• QAC13123.DEL = DB el. lib. QAC13123 (V1.0) for AC 110, V2.3, OPT3 (Events)
• QAC13610.DEL = DB el. lib. QAC13610 (V1.0) for AC 160, V1.0, OPT3 (Events)
• QAC13611.DEL = DB el. lib. QAC13611 (V1.0) for AC 160, V1.1, OPT3 (Events)
• QAC13612.DEL = DB el. lib. QAC13612 (V1.0) for AC 160, V1.2, OPT3 (Events)
• QAC13620.DEL = DB el. lib. QAC13620 (V1.0) for AC 160, V2.0, OPT3 (Events)
• QAC13621.DEL = DB el. lib. QAC13621 (V1.0) for AC 160, V2.1 (with PM64x),
OPT3 (Events)
• QAC13621PM66x.DEL = DB el. lib. QAC13621 (V1.0) for AC 160, V2.1 (with PM66x),
OPT3 (Events)
• QAC13622.DEL = DB el. lib. QAC13622 (V1.0) for AC 160, V2.2 (with PM64x),
OPT3 (Events)
• QAC13622PM66x.DEL = DB el. lib. QAC13622 (V1.0) for AC 160, V2.2 (with PM66x),
OPT3 (Events)
• QAC14123.DEL = DB el. lib. QAC14123 (V1.0) for AC 110, V2.3, OPT4 (Modbus)
• QAC14612.DEL = DB el. lib. QAC14612 (V1.0) for AC 160, V1.2, OPT4 (Modbus)
• QAC14620.DEL = DB el. lib. QAC14620 (V1.0) for AC 160, V2.0, OPT4 (Modbus)
• QAC14621.DEL = DB el. lib. QAC14621 (V1.0) for AC 160, V2.1 (with PM64x), OPT4
(Modbus)
• QAC14621PM66x.DEL = DB el. lib. QAC14621 (V1.0) for AC 160, V2.1 (with PM66x),
OPT4 (Modbus)
• QAC14622.DEL = DB el. lib. QAC14622 (V1.0) for AC 160, V2.2 (with PM64x), OPT4
(Modbus)
• QAC14622PM66x.DEL = DB el. lib. QAC14622 (V1.0) for AC 160, V2.2 (with PM66x),
OPT4 (Modbus)
• QAC16122.DEL = DB el. lib. QAC16122 (V1.0) for AC 110, V2.2,
Base System (PROFIBUS)
• QAC16123.DEL = DB el. lib. QAC16123 (V1.0) for AC 110, V2.3,
Base System (PROFIBUS)
• QAC16611.DEL = DB el. lib. QAC16611 (V1.0) for AC 160, V1.1,
Base System (PROFIBUS)
• QAC16612.DEL = DB el. lib. QAC16612 (V1.0) for AC 160, V1.2,
Base System (PROFIBUS)
• QAC16620.DEL = DB el. lib. QAC16620 (V1.0) for AC 160, V2.0,
Base System (PROFIBUS)
• QAC16621.DEL = DB el. lib. QAC16621 (V1.0) for AC 160, V2.1 (with PM64x),
Base System (PROFIBUS)
• QAC16622.DEL = DB el. lib. QAC16622 (V1.0) for AC 160, V2.2 (with PM64x),
Base System (PROFIBUS)
• QAC17122.DEL = DB el. lib. QAC17122 (V1.0) for AC 110, V2.2,
OPT7 (PROFIBUS S800)
• QAC17123.DEL = DB el. lib. QAC17123 (V1.0) for AC 110, V2.3,
OPT7 (PROFIBUS S800)
• QAC17620.DEL = DB el. lib. QAC17620 (V1.0) for AC 160, V2.0,
OPT7 (PROFIBUS S800)
• QAC17621.DEL = DB el. lib. QAC17621 (V1.0) for AC 160, V2.1 (with PM64x),
OPT7 (PROFIBUS S800)
• QAC17622.DEL = DB el. lib. QAC17622 (V1.0) for AC 160, V2.2 (with PM64x),
OPT7 (PROFIBUS S800)
• QAC40111.DEL = DB element library DBLIB (V1.0)
for AC 410 with SW QC01-BAS11*7.0, Basic System
• QAC40112.DEL = DB element library DBLIB (V1.2)
for AC 410 with SW QC01-BAS11*8.0, Basic System
• QAC40113.DEL = DB element library DBLIB (V1.3)
for AC 410 with SW QC01-BAS11*9.0, Basic System
• QAC40114.DEL = DB element library DBLIB (V1.4)
for AC 410 with SW QC01-BAS11*10.0, Basic System
• QAC40115.DEL = DB element library DBLIB (V1.5)
for AC 410 with SW QC01-BAS11*11.0, Basic System
• QAC40511.DEL = DB element library DBLIB (V1.0)
for AC 450 with SW QC02-BAS21*7.0, Basic System
• QAC40512.DEL = DB element library DBLIB (V1.2)
for AC 450 with SW QC02-BAS21*8.0, Basic System
• QAC40513.DEL = DB element library DBLIB (V1.3)
for AC 450 with SW QC02-BAS21*9.0, Basic System
• QAC40520.DEL = DB element library DBLIB (V2.0)
for AC 450 with SW QC07-BAS41*1.0, Basic System
• QAC40521.DEL = DB element library DBLIB (V2.1)
for AC 450 with SW QC07-BAS41*2.0, Basic System
• QAC40522.DEL = DB element library DBLIB (V2.2)
for AC 450 with SW QC07-BAS41*3.0, Basic System
• QAC40523.DEL = DB element library DBLIB (V2.3)
for AC 450 with SW QC07-BAS41*4.0, Basic System
• QAC5010.DEL = DB element library QAC5010 (V1.0) for AC 55, V1.0, Base System
• QAC5011.DEL = DB element library QAC5011 (V1.0) for AC 55, V1.1, Base System
• QAC5210.DEL = DB element library QAC5210 (V1.0) for AC 55, V1.0, OPT2 (RCOM)
• QAC5211.DEL = DB element library QAC5210 (V1.1) for AC 55, V1.1, OPT2 (RCOM)
• QAC5310.DEL = DB element library for AC 55(V1.0), OPT3 (Events)
• QAC5311.DEL = DB element library for AC 55(V1.1), OPT3 (Events)
• QAC7010.DEL = DB element library QAC7010 (V1.0) for AC 70, V1.0, Base System
• QAC7011.DEL = DB element library QAC7011 (V1.0) for AC 70, V1.1, Base System
• QAC7012.DEL = DB element library QAC7012 (V1.0) for AC 70, V1.2, Base System
• QAC7110.DEL = DB element library QAC7110 (V1.0) for AC 70, V1.0, Event
• QAC7111.DEL = DB element library QAC7111 (V1.0) for AC 70, V1.1, Event
• QAC7112.DEL = DB element library QAC7112 (V1.0) for AC 70, V1.2, Event
• QAC7212.DEL = DB element library QAC7212 (V1.0) for AC 70, V1.2, Modbus
• QAS10010.DEL = DBLIB (V1.0) for AdvaSoft for Windows, V1.0, Base System
• QAS10011.DEL = DBLIB (V1.1) for AdvaSoft for Windows, V1.1, Base System
• QAS10012.DEL = DBLIB (V1.2) for AdvaSoft for Windows, V1.2, Base System
• QAS10013.DEL = DBLIB (V1.3) for AdvaSoft for Windows, V1.3, Base System
• QMP20030.DEL = DBLIB (V1.0) for MP 200/1, V3.0, Basic System
• QMP20040.DEL = DBLIB (V1.0) for MP 200/1, V4.0, Basic System
• XMP20020.DEL = DBLIB (V1.0) for MP 200/1, V2.0, Basic System
• XMP20021.DEL = DBLIB (V1.0) for MP 200/1, V2.1, Basic System
• *.DCL = IO information for *.DEL
• *.STL = DB element statistics list for *.DEL.
File in the project data root directory project_root, for example, in C:\PROJ:
PROJROOT.INI = file listing the projects under project_root.
..\LIBDATA\release_*\BIN32\DB_LIB and
..\LIBDATA\release_*\BIN32\PC_LIB subdirectories contain the element libraries
in compiled form as *.DCL, *.DEL, *.STL, *.PCL, *.PEL, and *.PTL files.
• ..\LIST
– *.DB = DB listing generated by printing to file *
– *.DBT = text file containing exported DB section or part of it
– *.DGN = text file containing diagnostic report
– *.DXR = DB cross-reference listing generated by printing to file *
– *.GLX = file containing recorded trend (open with AS100-EDIT or Microsoft Excel)
– *.LOG = text file containing diagnostic log
– *.ML = module address list generated by printing to file *
– *.OL = options list generated by printing to file *
– *.PCF = function chart (document) generated by printing to file *
– *.PCT = tree diagram (document) generated by printing to file *
– *.PXR = PC cross-reference listing generated by printing to file *
– *.SYL = symbol listing generated by printing to file *.
• ..\PCDATA
– *.AAX = AMPL source code files for PC programs (in expanded form)
– *.C?? = generated AC 100 Series target code, PC part
– *.LS? = list files generated by the PC backtranslator
– *.TIX = information about the locations of TCs (in expanded form)
– *.WEX = files containing detected error locations in the source files *.AAX.
• ..\SRCE
– *.AA = AMPL source code files for PC programs (in compressed form)
– *.BA = AMPL source code files for the DB (in compressed form).
• ..\TCDATA
– *.LIS = symbol information files for TCs *
– *.LS? = list files generated at TC instantiation in node mode
– *.TCS = source code of TCs included in element library of the node
– *.WEX = files containing detected error locations in TC source files *.TCS.
• ..\USER
– *.TB = information about the locations of TCs (in compressed form)
– *.TC = source code of TCs (in compressed form)
– *.TI = information about the locations of TCs (in compressed form).
Files in the directory for user-defined PROFIBUS DB element libraries (PB$LIB), for example,
in C:\PB_LIB:
• *.AAX, *.BAX= AC 400 source files serving as template for work with On-line Builder
• *.GS? = Geräte-StammDaten files of PROFIBUS devices
• *.MDB = databases of user defined PROFIBUS DB element libraries
• *.PLE = export files of user defined PROFIBUS DB element libraries
• *.DED = source files of user defined PROFIBUS DB element libraries.
Files in the directory for additional PC element libraries (PC$LIB), for example,
in C:\PC_LIB:
*.PED = additional PC element libraries *.
Editors Editors
*.ODB *.ODB
Source Source
FCB Code Code
Generator Backtranslator
*.TIX,*.TBX,*.TCS
APB
*.AA *.BA *.TI,*.TB,*.TC *.AA *.BA
AC 400 or MP 200/1
DB and PC
*.TCS TC Interpreter *.DEL, *.PEL element
library
Editors
*.ODB
Source Source
Code Code
Generator Backtranslator
DB and PC Working
element *.DEL,*.PEL Editors on a TC
library
*.ODB
TC Code TC Back-
Generator translator
*.TCS
DB and PC
element *.DEL,*.PEL
library
Type Working
circuits *.TCS Editors on a CI
*.ODB
CI Code CI Back-
Generator translator
*.CIS
DB and PC
element *.DEL,*.PEL
library
Type Working
circuits *.TCS Editors on an NS
NS Code NS Back-
Generator translator
*.NSS
*.NSS NS Interpreter
*.TCS TC Interpreter
Source
Code
Generator
Editors
FCB *.ODB
Target
Code
Generator
AC 100 Series
Node
*.ODB
Working with a
former release
of FCE or FCB Source
Code
Generator
Source
Code
Backtranslator
Working with
the new release
of FCB *.ODB ODBs regenerated for
the new release of FCB
Editors Source
Code
Generator
NOTES
symbExpression can be only of non-calculated data types, so you can use only the
concatenation operation, but no arithmetical operators.
Nested symbExpressions are interpreted successively until all involved terms are
substituted by constant values, and the concatenations are executed. The data type
of the so evaluated result has to correspond to the data type of the concerned
symbol and terminal, respectively, to which it will be assigned.
NOTES
Nested symbFormulas are interpreted successively until all involved terms are
substituted by constant values, and the operations are executed.
symbFormula can be only of calculated data types CB, CI, CIL, CR.
Operands of all types and all the operators are allowed in a symbFormula, no
matter what is the type of the symbol, the value of which is to be calculated.
The operands are at first converted internally to real values. All operations (also
the Boolean ones!) are then executed with real values. For Boolean operations
0.00 is considered to be FALSE, all nonzero values are considered to be TRUE.
At the end the real result is converted to B, I, or IL or left R depending on the
symbol, the value of which was to be calculated on the basis of the formula.
D.1 General
D.1.1 Introduction
This appendix defines the ANSI source code files describing the objects type circuit (TC),
circuit (CI), and node structure (NS).
The source code is part of the interface between Advant Engineering product components and
other tools.
This description serves also as reference for developers of TCs, CIs, and NSs working on source
code level.
TC source code, CI source code, and NS source code are derivatives of the AMPL source code
with closely related syntax and semantics.
The source code descriptions are given as a set of syntax rules in a kind of Backus-Naur-form.
D.1.2 Conventions
Syntax Rules
Each syntax rule defines how to generate the term on the left side of the “::=” sign on the basis
of an expression consisting of terms on the right side, which are grouped by ‘(’ and ‘)’
(parentheses), ‘[’ and ‘]’ (square brackets), and ‘{’ and ‘}’ (braces, curly brackets), and
connected by concatenation and the ‘|’ (OR) operator.
Concatenation means putting terms one next to the other.
The ‘|’ (OR) operator means “take one term, either the one on the left side of the OR operator,
or the one on the right side”.
The OR operator has higher priority than the concatenation.
Two dots between terms stand as shorthand for OR function of all terms in a range.
For example, ‘a’..‘z’ stand for ‘a’ | ‘b’ | … |‘z’.
For simplicity we use also the except operator to limit a term by excepting some of its
constituents.
Parentheses serve to group terms to override the precedence of the concatenation and OR
operation.
Square brackets denote optional terms. These terms can occur once or do not occur;
they can be applied once but they need not to be applied.
Braces denote optional terms that can occur once or several times, or do not occur;
they can be applied once or several times but they need not to be applied.
In some cases figures in parentheses after a term show the maximum length of the term,
for example, tcName(8).
Breaking a rule into two or more lines has no significance. We break the rules into several lines
if the rule is too long, or if we want to make a hint to the usual line breaking in source code.
Quotation
Single characters are quoted by intelligent single quotes, for example, ‘a’.
Strings are quoted by intelligent double quotes, for example, “<=”.
Non-printable characters and space are described by their names, in small capitals, for example,
SPACE or FF (form feed).
Miscellaneous
Terminal symbols are the terms that cannot or should not be resolved by further rules.
They begin with a capitalized letter and are written in bold letters.
Or, being single characters or strings, they are enclosed between quotes.
Non-terminal symbols begin with a small letter, they are written in italics.
Division of the syntax into lexical and syntactical part, and use of classes like tokens, keywords,
and so on, reflect a possible implementation of the corresponding source code generators and
backtranslators.
In some cases we give additional information in form of comments to the rules to clear
background and semantic aspects.
D.1.3 Implementation
Table D-4. Source Code Generators in FCB Based on Present Syntax Descriptions
You find these backtranslators, editors, and code generators referenced in Appendix B, Data
Flow in Function Chart Builder.
1. fileNameChar corresponds to the common set of characters allowed by MS-DOS and VAX/VMS for file names.
2. The limitations of the sets dbNameChar and pcNameChar are mainly consequences of delimiters like ‘:’ or ‘,’ used
in AMPL source code (*.AAX, *.BAX).
D.2.1.3 Tokens
integer ::= digit {digit}
fileName ::= fileNameChar {fileNameChar} Remark: max. 8 char
printableString ::= printable {printable}
anyString ::= anyChar {anyChar}
dbName ::= dbNameChar {dbNameChar}
pcName ::= ((letter | national) {letter | national | digit | ‘_’ })
| ‘(’ pcNameChar {pcNameChar} ‘)’
D.2.1.4 Keywords
VERSION | SECTION | HEAD | HEADER
| Design_Ch | Tech_Ref | Resp_Dept | Date | L_Text2 | L_Text3 | L_Text4
| R_Text1 | R_Text2 | R_Text3 | R_Text4 | Rev_ind | Language
| END_SECTION | SYMBOLS | TYPE | QUERY | DB | MODIFY | PC | PCD-PAGE
| INAME | TERMINAL | IN | OUT | FP | DBREF | INVERTABLE
| ADJUST | BLANKLINE | DYNAMIC | INVERTED | SUPCONTROL
| TC | $$IF | NOT | $$END_IF | $$LOOP | $$END_LOOP | $$LOOPCTR
| PC_TYPE | TC_TYPE | SYMBOL | CREATE | CONTROL
| STRUCTURE | ELEMENTS
| PCPGM | CONTRM | FUNCM | SEQ | STEP | MASTER | SLAVEM | ITEM_RANGE
| AND | OR | TRUE | FALSE | F
| B | I | IL | R | T | TR | A* | CB | CI | CIL | CR
D.2.1.5 Comments
::= ( “--” {any} eol ) | ( “(*” {any} “*)” )
D.2.1.6 Specials
eol ::= CR LF | FF
any ::= lexical unit (chain of characters) different from the following one
1. For *.TCS files generated for Function Chart Editor version 3.0 use the utility UpTcCi to upgrade them.
2. TC_TYPE is a new syntactical element of the *.TCS file since Function Chart Editor version 3.0. It is a direct way
to feed backtranslators with information on TC type, and to increase their performance.
1. The possibly nested tcSymbExpressions are interpreted successively until all involved terms are substituted by
constant values, and the operations are executed. The type of the so evaluated result has to correspond to the type of
the concerned symbol and terminal, respectively.
1. Use of tcSymbExpressions as callParam is reserved for expert users working directly on source code level. In the
Function Chart Editor (since version 3.1) and Function Chart Builder, the TC interpreter and the expander/checker
support it, as opposed to the TC code generator, TC backtranslator, and PC editors.
D.2.3.1 On Variants
The variant starts with the $$IF keyword.
The condition for the execution of the lines till $$END_IF is build by an optional inversion
([NOT]) and a variant or loop symbol (VL symbol) that must be of type Boolean and have a
default value.
This symbol must be declared before its usage and must not be placed in a variant or loop.
The variant ends with the keyword $$END_IF.
The user has to take care that the evaluation of all variants (and loops) in a type circuit instance
leads to no double symbols, DB elements, or PC elements.
D.2.3.3 On Loops
The loop starts with the $$LOOP keyword and ends with the $$END_LOOP keyword.
The maximum number of repetitions of execution of the lines till $$END_LOOP is build by a
VL symbol that stands after $$LOOP and that must be of type integer and that must have a
default value. This loop symbol must be declared before its usage and must not be placed in a
variant or loop.
With every loop an implicit symbol $$LOOPCTR is created. It is incremented after each
execution of the loop body. The valid range of the loop counter $$LOOPCTR is from 1 to the
default value of the loop symbol.
Within the loop simple expressions may be built by $$LOOPCTR, integer constants, and
arithmetical operators ‘*’, ‘+’, and ‘-’.
$$LOOPCTR can be used only within a loop between $$LOOP and $$END_LOOP.
The user has to take care that the evaluation of all loops (and variants) in a type circuit instance
leads to no double symbols, DB elements, or PC elements.
Symbol Kinds
The kind of symbols in the symbol section of *.TCS is one of the following:
• Instance-unique (IU)
• Variant or loop (VL)
• Project-unique (PU)
A symbol is created by its occurrence in the symbol section.
D.2.3.7 On Formulas
Occurrence
A formula can occur as tcSymbolVal only for calculated type symbols:
CB, CI, CIL, CR.
Calculating by Formulas
Operands of all types and all the operators are allowed in a formula, no matter what is the type
of the symbol, the value of which is to be calculated.
Steps of calculation:
1. The operands are at first converted internally to real values.
2. All operations (also the Boolean ones!) are then executed with real values.
For Boolean operations 0.00 is considered to be FALSE,
all nonzero values are considered to be TRUE.
3. At the end the real result is converted to B, I, or IL or left R depending on the symbol,
the value of which was to be calculated on the base of the formula.
D.3.1.3 Tokens
integer ::= digit {digit}
fileName ::= fileNameChar {fileNameChar} Remark: max. 8 char
printableString ::= printable {printable}
anyString ::= anyChar {anyChar}
dbName ::= dbNameChar {dbNameChar}
pcName ::= ((letter | national) {letter | national | digit | ‘_’ })
| ‘(’ pcNameChar {pcNameChar} ‘)’
D.3.1.4 Keywords
VERSION | SECTION | HEAD | HEADER
| Design_Ch | Tech_Ref | Resp_Dept | Date | L_Text2 | L_Text3 | L_Text4
| R_Text1 | R_Text2 | R_Text3 | R_Text4 | Rev_ind | Language
| END_SECTION | SYMBOLS | TYPE | QUERY | DB | MODIFY | PC | PCD-PAGE
| INAME | TERMINAL | IN | OUT | FP | DBREF | INVERTABLE
| ADJUST | BLANKLINE | DYNAMIC | INVERTED | SUPCONTROL
| CI| PRIVATE | $$TC | EXPORT | SET | TO | NOMODIFY
| CI_TYPE | SYMBOL | CREATE | CONTROL | STRUCTURE | ELEMENTS
| PCPGM | CONTRM | FUNCM | SEQ | STEP | MASTER | SLAVEM | ITEM_RANGE
| NOT | AND | OR | TRUE | FALSE | F
| B | I | IL | R | T | TR | A* | CB | CI | CIL | CR
1. fileNameChar corresponds to the common set of characters allowed by MS-DOS and VAX/VMS for file names.
2. The limitations of the sets dbNameChar and pcNameChar are mainly consequences of delimiters like ‘:’ or ‘,’ used
in AMPL source code (*.AAX, *.BAX).
D.3.1.5 Comments
::= ( “--” {any} eol ) | ( “(*” {any} “*)” )
D.3.1.6 Specials
eol ::= CR LF | FF
any ::= lexical unit (chain of characters) different from the following one
1. For *.CIS files generated for Function Chart Editor version 3.0 use the utility UpTcCi to upgrade them.
2. CI_TYPE is a new syntactical element of the *.CIS file since Function Chart Editor version 3.0. It is a direct way to
feed backtranslators with information on CI type, and to increase their performance.
1. The possibly nested symbExpressions are interpreted successively until all involved terms are substituted by
constant values, and the operations are executed. The type of the so evaluated result has to correspond to the type of
the concerned symbol and terminal, respectively.
Symbol Kinds
The kind of symbols in the symbol section of *.CIS is one of the following:
• Instance-unique (IU)
• Location-unique (LU)
• Project-unique (PU).
A symbol is created by its occurrence in the symbol section.
D.3.3.4 On Formulas
Occurrence
A formula can occur as symbolVal only for calculated type symbols:
CB, CI, CIL, CR.
Calculating by Formulas
Operands of all types and all the operators are allowed in a formula, no matter what is the type
of the symbol, the value of which is to be calculated.
Steps of calculation:
1. The operands are at first converted internally to real values.
2. All operations (also the Boolean ones!) are then executed with real values.
For Boolean operations 0.00 is considered to be FALSE,
all nonzero values are considered to be TRUE.
3. At the end the real result is converted to B, I, or IL or left R depending on the symbol,
the value of which was to be calculated on the base of the formula.
Referencing TC Instances in CI
A TC instance is indicated by $$TC.
It must be followed by a full interface specification of the given TC with its IU and VL symbols:
$$TC tcTypeName [ INAME ( pcName(72) | dbName(72) ) ] eol
{ SET symbol TO symbolVal [NOMODIFY] ‘;’ eol }
and value assignments for its PU symbols:
{ EXPORT symbol [ := symbolVal ] ‘;’ eol }
The optional keyword NOMODIFY indicates that the value must not be changed. It is applied
for symbols that change the interface (number, type, name of symbols) of the concerned TC.
Distinction of TC Instances
Instantiated TCs can have unique instance names introduced by the keyword INAME.
The different instances of a TC can be distinguished also without instance names in two ways
depending on the section where the TC is instantiated:
• In the PC section every instance has another item designation.
• In the DB section the different instances of one TC must have different IU symbol values.
specName ::= ( ‘"’ | ‘#’ | ‘$’ | ‘%’ | ‘&’ | ‘*’ | ‘+’ | ‘-’ | ‘.’ | ‘?’ | ‘@’ | ‘_’
| ‘^’ | ‘~’ | ‘{’ | ‘[’ | ‘|’ | ‘\’ | ‘}’ | ‘]’ ) if US
| ( ‘"’ | ‘#’ | ‘$’ | ‘%’ | ‘&’ | ‘*’ | ‘+’ | ‘-’ | ‘.’ | ‘?’ | ‘@’ | ‘_’ | ‘^’ )if German
| ( ‘"’ | ‘#’ | ‘$’ | ‘%’ | ‘&’ | ‘*’ | ‘+’ | ‘-’ | ‘.’ | ‘?’ | ‘@’ | ‘_’
| ‘^’ | ‘~’ ) if Swedish
Remark: except SPACE, ‘!’, ‘'’, ‘(’, ‘)’, ‘/’, ‘<’, ‘>’, ‘,’, ‘:’, ‘;’, ‘=’, ‘`’
D.4.1.3 Tokens
integer ::= digit {digit}
fileName ::= fileNameChar {fileNameChar} Remark: max. 8 char
printableString ::= printable {printable}
anyString ::= anyChar {anyChar}
dbName ::= dbNameChar {dbNameChar}
pcName ::= ((letter | national) {letter | national | digit | ‘_’ })
| ‘(’ pcNameChar {pcNameChar} ‘)’
D.4.1.4 Keywords
VERSION | SECTION | HEAD | HEADER
| Design_Ch | Tech_Ref | Resp_Dept | Date | L_Text2 | L_Text3 | L_Text4
| R_Text1 | R_Text2 | R_Text3 | R_Text4 | Rev_ind | Language
| END_SECTION | SYMBOLS | TYPE | DB | MODIFY | PC | PCD-PAGE
| INAME | NS | $$TC | $$CI | EXPORT | SET | TO | NOMODIFY
| NOT | AND | OR | TRUE | FALSE | F
| B | I | IL | R | T | TR | A* | CB | CI | CIL | CR
1. fileNameChar corresponds to the common set of characters allowed by MS-DOS and VAX/VMS for file names.
2. The limitations of the sets dbNameChar and pcNameChar are mainly consequences of delimiters like ‘:’ or ‘,’ used
in AMPL source code (*.AAX, *.BAX).
D.4.1.5 Comments
::= ( “--” {any} eol ) | ( “(*” {any} “*)” )
D.4.1.6 Specials
eol ::= CR LF | FF
any ::= lexical unit (chain of characters) different from the following one
1. The possibly nested symbExpressions are interpreted successively until all involved terms are substituted by
constant values, and the operations are executed. The type of the so evaluated result has to correspond to the type of
the concerned symbol and terminal, respectively.
Symbol Kinds
The kind of symbols in the symbol section of *.NSS can only be project-unique (PU).
A symbol is created by its occurrence in the symbol section.
D.4.3.4 On Formulas
Occurrence
A formula can occur as symbolVal only for calculated type symbols:
CB, CI, CIL, CR.
Calculating by Formulas
Operands of all types and all the operators are allowed in a formula, no matter what is the type
of the symbol, the value of which is to be calculated.
Steps of calculation:
1. The operands are at first converted internally to real values.
2. All operations (also the Boolean ones!) are then executed with real values.
For Boolean operations 0.00 is considered to be FALSE,
all nonzero values are considered to be TRUE.
3. At the end the real result is converted to B, I, or IL or left R depending on the symbol,
the value of which was to be calculated on the base of the formula.
Referencing TC Instances in NS
A TC instance is indicated by $$TC. It must be followed by a full interface specification of the
given TC with its VL and IU symbols:
$$TC tcTypeName [ INAME ( pcName(72) | dbName(72) ) ] eol
{ SET symbol TO symbolVal [NOMODIFY] ‘;’ eol }
and value assignments for its PU symbols:
{ EXPORT symbol [ := symbolVal ] ‘;’ eol }
The optional keyword NOMODIFY indicates that the value must not be changed. It is applied
for symbols that change the interface (number, type, name of symbols) of the concerned TC.
Distinction of TC Instances
Instantiated TCs can have unique instance names introduced by the keyword INAME.
The different instances of a TC can be distinguished also without instance names in two ways
depending on the section where the TC is instantiated:
• In the PC section every instance has another item designation.
• In the DB section the different instances of one TC must have different IU symbol values.
E.1.1 General
The length of PC instance names is 1 to 72 characters.
The length of a signal names (source names) is 1 to 20 characters.
As names have to be loaded to and from nodes in ABB Master representation (7bit source code),
the character set is limited.
National characters are supported according to the national character setting,
see Table E-1, Character Set of PC Names.
E.1.2 Rules
1. Enclose the names in parentheses ‘(’ and ‘)’ that contain characters other than
a-z, A-Z, 0-9, ‘_’, and national characters ä, ö, ü, ….
2. Names must not start with a digit or an underscore ‘_’.
To avoid offending cases, enclose the whole name in parentheses ‘(’ and ‘)’
3. Names must not hold characters marked as “not allowed” in Table E-1.
4. Names must not equal a PC program item designation, for example, PC2.
E.1.3 Scope
The scope of PC instance names and signal names is the corresponding PC program or—in case
of type circuits and circuits—the PC section, in which it is created.
In fact, PC instance names and signal names share the same PC name pool. Thus both have to be
unique in a PC program (PC section).
A signal name may not be used as instance name and vice versa.
At the instantiation of a type circuit or location of a circuit, internal PC names of the type circuit
(circuit) are copied to the PC name pool of the corresponding PC program or PC section of the
object you are working on.
Thus type circuit instantiation (circuit location) fails if these names are already used.
NOTE
To avoid such conflicts, for example, at multiple instantiation of a type circuit
with internal PC names, use symbolic names, that is, names containing symbols.
ANSI 7-bit
Printed Remark and National
Name of Character Character Character
Character Character Setting
Number Number
(Control characters, 0 .. 31 - Not allowed
not printable)
Space 32 ‘’ 32 Only if enclosed in ( and )
Exclamation mark 33 ! 33 Only if enclosed in ( and )
Double opening quote 34 “ 34 Only if enclosed in ( and )
Hash mark 35 # 35 Only if enclosed in ( and )
Dollar 36 $ 36 Only if enclosed in ( and )
Percent 37 % 37 Only if enclosed in ( and )
unless you use % to designate
the start and end of a local
symbol in TC/CI/NS source
code
Ampersand 38 & 38 Only if enclosed in ( and )
Single opening quote 39 ‘ 39 Only if enclosed in ( and )
Opening parenthesis 40 ( 40 Only if enclosed in ( and )
Closing parenthesis 41 ) 41 Only if enclosed in ( and )
Asterisk 42 * 42 Only if enclosed in ( and )
Plus sign 43 + 43 Only if enclosed in ( and )
Comma 44 , 44 Only if enclosed in ( and )
Hyphen 45 - 45 Only if enclosed in ( and )
Dot 46 . 46 Only if enclosed in ( and )
Slash 47 / 47 Only if enclosed in ( and )
Zero 48 0 48 Must not be used as first
character
… … … …
Nine 57 9 57 Must not be used as first
character
Colon 58 : 58 Only if enclosed in ( and )
ANSI 7-bit
Printed Remark and National
Name of Character Character Character
Character Character Setting
Number Number
Semicolon 59 ; 59 Only if enclosed in ( and )
Less then 60 < 60 Only if enclosed in ( and )
unless you use < to designate
the start of a symbol in
TC/CI/NS source code
Equal sign 61 = 61 Only if enclosed in ( and )
Greater then 62 > 62 Only if enclosed in ( and )
unless you use > to designate
the end of a symbol in
TC/CI/NS source code
Question mark 63 ? 63 Only if enclosed in ( and )
At sign 64 @ 64 Only if enclosed in ( and )
A 65 A 65
… … … …
Z 90 Z 90
Left square bracket 91 [ 91 USA(1)
Back slash 92 \ 92 USA(1)
Right square bracket 93 ] 93 USA(1)
Caret 94 ^ 94 Not allowed(1)
Underscore 95 _ 95 Must not be used as first
character
Apostrophe 96 ` 96 Not allowed
a 97 a 97
… … … …
z 122 z 122
Left bracket 123 { 123 USA(1)
Vertical bar 124 | 124 USA(1)
Right bracket 125 } 125 USA(1)
Tilde 126 ~ 126 USA, SWE(1)
ANSI 7-bit
Printed Remark and National
Name of Character Character Character
Character Character Setting
Number Number
(Special and national 127, 128, - Not allowed
characters) 130, 131,
133,
135 .. 141,
144 .. 147,
149 .. 152,
155 .. 254
Ae 142 Ä 92 GER, SWE
Oe 153 Ö 92 GER, SWE
Ue 154 Ü 93 GER
Ao 143 Å 93 SWE
ae 132 ä 123 GER, SWE
oe 148 ö 124 GER, SWE
ue 129 ü 125 GER
ao 134 å 125 SWE
ss 225 ß 126 GER
(1) Since FCB release 4.5, these characters are handled in the same manner by the Function Chart Builder and the
On-line Builder in contrast to earlier releases.
E.3.1 General
The length of DB instance names of DB elements is normally 1 to 20 characters.
In case of DS, CLOCKSYNCH, START, TERMGENA, and TERMGENB elements of AC 400
Series node types, the length of DB instance names is 1 to 12 characters, in case of BM,
CAPPRI, CAPTERM, CAPXCOM, NETWL, NM, TL, and TU 1 to 6 characters.
In case of DAT(II), PARDAT(II) elements of AC 100 Series node types, the length of DB
instance names is 1 to 19 characters, in case of DAT, DSP, and MVB elements 1 to 12
characters.
The length of DB instance names of type circuits instantiated in the DB section and circuits
located in the DB section is 1 to 72 characters.
As instance names have to be loaded to and from nodes in ABB Master representation
(7bit source code), the character set is limited.
National characters are supported according to the national character setting, see Table E-2,
Character Set of DB Names.
E.3.2 Rules
1. Names must not consist only of numerals, or periods, or numerals and periods (dots).
2. Names must not start or end with a minus sign (hyphen) ‘-’.
3. Names must not hold characters marked as “not allowed” in Table E-2.
4. Names must not equal an item designation, for example, AI1.1, unless it is its own item
designation.
5. Substrings of names must not equal “.Bn”, “.In”, “.ILn”, “.Rn”, where n is a number,
except for names of DAT elements.
E.3.3 Scope
The scope of DB instance names is the corresponding DB section, in which it is created.
DB instance names have to be unique in the DB section. (DB instance names have their own DB
name pool.)
At the instantiation of a type circuit or location of a circuit, internal DB names of the type circuit
(circuit) are copied to the DB name pool of the corresponding DB section of the object you are
working on.
Thus type circuit instantiation (circuit location) fails if these names are already used.
NOTE
To avoid such conflicts, for example, at multiple instantiation of a type circuit
with internal DB names, use symbolic names, that is, names containing symbols.
ANSI 7-bit
Printed Remark and National
Name of Character Character Character
Character Character Setting
Number Number
(Control characters, 0 .. 31 - Not allowed
not printable)
Space 32 ‘’ 32 Not allowed
Exclamation mark 33 ! 33 Not allowed
Double opening quote 34 “ 34
Hash mark 35 # 35
Dollar 36 $ 36
Percent 37 % 37 Not allowed unless you use %
to designate the start and end
of a local symbol in TC/CI/NS
source code
Ampersand 38 & 38
Single opening quote 39 ‘ 39 Not allowed
Opening parenthesis 40 ( 40 Not allowed
Closing parenthesis 41 ) 41 Not allowed
Asterisk 42 * 42
Plus sign 43 + 43
Comma 44 , 44 Not allowed
Hyphen 45 - 45 Do not use as first or last
character of a name
Dot 46 . 46 Do not combine only numerals
and dots
Slash 47 / 47 Not allowed
Zero 48 0 48 Do not combine only numerals
and dots
… … … …
Nine 57 9 57 Do not combine only numerals
and dots
Colon 58 : 58 Not allowed
ANSI 7-bit
Printed Remark and National
Name of Character Character Character
Character Character Setting
Number Number
Semicolon 59 ; 59 Not allowed
Less then 60 < 60 Not allowed unless you use <
to designate the start of a
symbol in TC/CI/NS source
code
Equal sign 61 = 61 Not allowed
Greater then 62 > 62 Not allowed unless you use >
to designate the end of a
symbol in TC/CI/NS source
code
Question mark 63 ? 63
At sign 64 @ 64
A 65 A 65
… … … …
Z 90 Z 90
Left square bracket 91 [ 91 USA(1)
Back slash 92 \ 92 USA(1)
Right square bracket 93 ] 93 USA(1)
Caret 94 ^ 94 Not allowed(1)
Underscore 95 _ 95 Must not be used as first
character
Apostrophe 96 ` 96 Not allowed
a 97 a 97
… … … …
z 122 z 122
Left bracket 123 { 123 USA(1)
Vertical bar 124 | 124 USA(1)
Right bracket 125 } 125 USA(1)
Tilde 126 ~ 126 USA, SWE(1)
ANSI 7-bit
Printed Remark and National
Name of Character Character Character
Character Character Setting
Number Number
(Special and national 127, 128, - Not allowed
characters) 130, 131,
133,
135 .. 141,
144 .. 147,
149 .. 152,
155 .. 254
Ae 142 Ä 92 GER, SWE
Oe 153 Ö 92 GER, SWE
Ue 154 Ü 93 GER
Ao 143 Å 93 SWE
ae 132 ä 123 GER, SWE
oe 148 ö 124 GER, SWE
ue 129 ü 125 GER
ao 134 å 125 SWE
ss 225 ß 126 GER
(1) Since FCB release 4.5, these characters are handled in the same manner by the Function Chart Builder and the
On-line Builder in contrast to earlier releases.
F.1 General
To understand this syntax description, see Syntax Rules in Section D.1.2, Conventions.
The template files are ANSI text files and have the standard file name extension TPX.
[copyright_4]
[copyright_5] ]
[ sysPageNr
sysNextPageNr
sysDocTitle ]
deskArea ::= DeskArea= cardinal ‘,’ cardinal ‘,’ cardinal ‘,’ cardinal
The 1st parameter is the position of the left edge of the desk area for drawing in lometric
units.
(This is the area that is called “text area” in other parts of this Help.)
The 2nd parameter is the position of the top edge in lometric units.
The 3rd parameter is the position of the right edge in lometric units.
The 4th parameter is the position of the bottom edge in lometric units.
footerFrame ::= FooterFrame cardinal ‘,’ cardinal ‘,’ cardinal ‘,’ cardinal
The 1st parameter is the left edge of the footer frame line in lometric units.
The 2nd parameter is the top edge in lometric units.
The 3rd parameter is the right edge in lometric units.
The 4th parameter is the bottom edge in lometric units.
nameFont ::= Fontname= anystring ‘,’ cardinal ‘,’ cardinal ‘,’ cardinal
The 1st parameter is a valid Windows font name to be used for naming the fields in the
footer.
The 2nd parameter is the font height in lometric units.
The 3rd parameter is the font width in lometric units; a value of zero lets the system define
an appropriate width.
The 4th parameter is the boldness of the font (100 = thin, 300=semibold, 700=bold,
900=ultrabold).
valueFont ::= ValueFont= anystring ‘,’ cardinal ‘,’ cardinal ‘,’ cardinal
The 1st parameter is a valid Windows font name to be used for value texts entered and
shown in the footer fields.
The 2nd parameter is the font height in lometric units.
The 3rd parameter is the font width in lometric units; a value of zero lets the system define
an appropriate width.
The 4th parameter is the boldness of the font (100 = thin, 300=semibold, 700=bold,
900=ultrabold).
copyrightFont ::= CopyrightFont= anystring ‘,’ cardinal ‘,’ cardinal ‘,’ cardinal
The 1st parameter is a valid Windows font name to be used for the copyright information
at top of the paper.
The 2nd parameter is the font height in lometric units.
The 3rd parameter is the font width in lometric units; a value of zero lets the system define
an appropriate width.
The 4th parameter is the boldness of the font (100 = thin, 300=semibold, 700=bold,
900=ultrabold).
fieldFrame ::= Frame= cardinal ‘,’ cardinal ‘,’ cardinal ‘,’ cardinal
The 1st parameter is the left edge of the field frame line in lometric units, relative to the
upper left corner of the paper.
The 2nd parameter is the top edge of the field frame line in lometric units, relative to the
upper left corner of the paper.
The 3rd parameter is the right edge of the field frame line in lometric units, relative to the
upper left corner of the paper.
The 4th parameter is the bottom edge of the field frame line in lometric units, relative to
the upper left corner of the paper.
fieldValueArea ::= ValueArea= cardinal ‘,’ cardinal ‘,’ cardinal ‘,’ cardinal
The 1st parameter is the left edge of the area in lometric units for writing the field value.
The 2nd parameter is the top edge in lometric units.
The 3rd parameter is the right edge in lometric units.
The 4th parameter is the bottom edge in lometric units.
fieldLogo ::= Logo= cardinal ‘,’ cardinal ‘,’ anystring [ ‘,’ cardinal ]
The 1st parameter is the x-position (in lometric units, relative to the upper left corner of the
paper) for drawing the logo.
The 2nd parameter is the y-position (in lometric units, relative to the upper left corner of
the paper) for drawing the logo.
The 3rd parameter is the filename (without drive and path specification) of the *.WMF or
*.BMP file containing the logo.
The 4th parameter is only used for *.WMF files. It is the scaling factor to be used for the
logo. A value of 100 means 100%, that is, original size. 200 means double height and
double width.
fieldStaticText ::= StaticText= cardinal ‘,’ cardinal ‘,’ anystring ‘,’ cardinal ‘,’ cardinal ‘,’
cardinal ‘,’ anystring
The 1st parameter is the x-position (in lometric units, relative to the upper left corner of the
paper) for drawing the text.
The 2nd parameter is the y-position (in lometric units, relative to the upper left corner of
the paper) for drawing the text.
The 3rd parameter is a valid Windows font name to be used for the static text in the field.
The 4th parameter is the font height in lometric units.
The 5th parameter is the font width in lometric units; a value of zero lets the system define
an appropriate width.
The 6th parameter is the boldness (100 = thin, 300=semibold, 700=bold, 900=ultrabold).
The 7th parameter is the text string.
F.3 Hints
If you want to modify the standard templates for some project or create your own templates, see
Section 4.4.2.11, Creation of Own Templates.
To inspect an example of a template file, open the C:\Advabldenv\foot001.TPX file using
AS100-EDIT or a simple text editor like Notepad.
G.1 Introduction
General
The communication of the engineering station and the target is implemented in form of a
DCOM application.
The executable and DLL files are PCommunicator.exe, TargetSupport.dll,
PCommunicatorps.dll, and RoutSrv.dll.
The DCOM application name is AdvaBuild Communicator.
At installation, the AdvaBuild Communicator is registered for the interactive user.
CAUTION
Be aware that the access to the target is possible for all users that have access and
launch permissions for the DCOM application AdvaBuild Communicator.
For the security of your process control application restrict the permissions to
authorized users and authorized user groups.
The following sections are instructions for Windows NT and Windows 2000 system
administrators.
The procedures are the same for Windows NT and Windows 2000 unless it is explicitly noted.
1. Start the DCOMCNFG program, for example, by the Run command in the Start menu of
Windows NT.
3. The DCOMCNFG program opens the AdvaBuild Communicator Properties dialog box
having four tabs.
Check the General tab and the Location tab:
Then select the Security tab and select the options as shown:
4. Activate the Edit button of the Use custom access permissions group.
The Registry Value Permissions dialog box shows the users currently having permission.
It contains at least the default users INTERACTIVE and SYSTEM and the user that is
currently logged in, in our example LAHARMAT:
5. The DCOMCNFG program opens the Add Users and Groups dialog box.
The users and user groups that you want to add belong to some domain or computer.
Select it in the List Names From drop-down list box.
The Names list box contains at first only user groups.
To display also the users, activate the Show Users button.
Select the first user or user group you want to add in the Names list box,
in our example KASOHN:
Activate the Add button (of the Add Users and Groups dialog box).
The selected user or user group appears in the Add Names list box:
Activate the OK button (of the Registry Value Permissions dialog box).
The AdvaBuild Communicator Properties dialog box regains the focus.
7. Activate the Edit button of the Use custom launch permissions group in the Security tab.
Proceed as in steps 4, 5, and 6. Add exactly the same users and user groups
as you did in steps 4, 5, and 6.
Activate the OK button of the AdvaBuild Communicator Properties dialog box
to close it.
Activate the OK button of the Distributed COM Configuration Properties dialog box
to finish the configuration.
8. Test the target connection to the server PC from a local client by the Target | Connect
command.
If the connection is successful, the Function Chart Builder opens the Status Report
window and fills it with plausible data of the target and no error message appears like
’server_name’ is not configured a communication server
or not available.
NOTE
In case of remote usage of Advant Station 100 Series Engineering Board
you edit access and launch permissions similarly for the AdvaBuild Engineering
Board Server, see On-line Builder User’s Guide, Chapter 2, Installation.
Appendix H Glossary
ABB Master representation: Way of representing and computing AMPL source code in
On-line Builder (7-bit characters).
Active (for Diagnostics/Diagnosis): A module is active if it is in the operational state.
Address
The Diagnosis program uses the following address to read diagnostic information:
In case of Advant Controller 110 2.0
Station: 0 - 7; module position: 1 - 20,
101 - 120 and 201 - 220 if a subcarrier module is in the subposition 1 and 2, respectively
In case of Advant Controller 70 1.0
Station: 0; module position: 1 - 12
In case of Advant Controller 55 1.0
Unit: 0 - 4; second part of address: 0 (not relevant)
The Diagnostics program uses the following address to read diagnostic information:
In case of Advant Controller 110 2.1 and higher
Bus number: 0 - 255; Station number: 0 - 80;
Module position: 1 - 20 (and for I/O stations:101 - 120, …, 701 - 720);
Subposition (position of the subcarrier module): 0 - 2
In case of Advant Controller 70 1.1 and higher
Bus number: 0 - 255; Station number: 0 - 80;
Module position: 0 - 12 (and for I/O stations:100 - 112, …, 700 - 712);
Subposition: not relevant
In case of Advant Controller 55 1.1
Bus number: not applicable; Station number: not applicable;
Unit number: 0 - 4; Subposition: not applicable
Addressing for Advant Controller 160 is the same as for Advant Controller 110 2.1.
Addressing for Advant Controller 80 is typically the same as for Advant Controller 70 1.1.
Advant Controller: A computerized process control system manufactured by ABB (Asea
Brown Boveri).
AMPL: ABB Master Programming Language. Uses text format to specify MasterPiece and
Advant Controllers data bases and process control programs. The Function Chart Builder
generates AMPL as source code for nodes.
Application data: All data belonging to an entity as project, node, circuit or type circuit.
Application program: A general concept of an assembly of program functions aiming to
realize and to automate an addressed process control functions. Consists of a data base and a
PC part. The PC part (process control part) may be structured into different PC programs.
Attribute: A term used for the following purposes:
• To differentiate modifying DB elements of type circuits and circuits (MOD) in the
DB Section window of type circuits and circuits
• To differentiate DB elements implicitly created by type circuits, remote I/O elements like
AI810, extended DB elements like AOS, and AF100S DB elements (T, R, X, and S,
respectively) in the DB Section window of nodes
• To define the form of the graphical symbol, which represents the instantiated type circuit
or the located circuit in the function chart (Adjust, Blank Line, Waist)
• To reflect to what kind of terminals a TC/CI terminal is connected within the type circuit
or circuit (Dynamic, DB Reference, Non-Invertible)
• To reference configured AF 100 communication interfaces, and so on, of an AC 100 Series
target of newer node type, such as AC 160, AC 110 2.2 or 2.1, AC 80, AC 70 1.1, or
AC 55 1.1, reported by the Target | Report Attributes command.
AUTOEXEC.BAT: The file that contains the list of commands executed at start-up by an IBM-
compatible personal computer. The commands can set the values of parameters that control the
computer’s operation and install memory resident programs. The file is located in the root
directory of your hard disk.
Backtranslate: Generate the Function Chart Builder’s internal data representation in form of a
*.ODB file from AMPL source code or node structure source code or circuit source code or type
circuit source code.
Base software, basic system: The base software (basic system) is the necessary software of a
node type.
Blocked: The status of an application program in an AC 100 Series target is blocked if its
execution is stopped.
Bus number: Identifies together with station number a controller in a process control network.
Call parameter: Parameter that affects the operation of a PC element.
For example, the cyclicity in milliseconds call parameter sets the cycle time of the program
element execution in milliseconds.
Callname: The name that identifies the function of a PC or DB element, of type circuits or
circuits. For example, the call name of a control module is CONTRM.
Channel Error (for the Diagnosis program): A Channel Error is an error of an object of the
module, for example, an I/O channel of an I/O module.
Check box: A little square box with a label on the right side which can be checked and
unchecked to select and clear a partial function. A check mark ‘ ’ or an ‘X’ in the check box
shows that the corresponding partial function is selected.
CI: Circuit, an object.
Circuit: Process control projects generally deal with process devices like motors, valves, and
sensors controlled by a process control system. A circuit (CI) is a functional piece of software
that runs on the control system and is assigned to a process device. Circuits are the basic object
of function-oriented project engineering.
The Function Chart Builder supports creation, code generation, and location of circuits.
A circuit consists of instructions creating or modifying DB elements, of PC elements, type
circuits, terminal and symbol declarations, and symbol value assignments.
You can locate each circuit only once, that is, you assign values to symbols (parameters) of the
circuit and thereby you fix its functions and the item designations of the constituting elements.
Click: You click on an object with the mouse by pointing to it and pressing the left mouse
button (unless the right one is specified) once.
Command file (for the On-line Builder): A file running on the engineering board under the CX
operating system as the On-line Builder commands.
Compatible data types: The Function Chart Builder supports the following groups of
compatible types:
• B (Boolean), CB (calculated Boolean)
• I (integer), CI (calculated integer)
• IL (long integer), CIL (calculated long integer)
• R (real), CR (calculated real)
• T (time)
• TR (time as real)
• A* (array, string).
For example, B is compatible with CB and is incompatible with the types in all other groups.
Concatenation: Concatenation means putting terms one next to the other.
CONFIG.SYS: A DOS system file that tells DOS how to set up the computing environment on
your personal computer when you start it up. The file is located in the root directory of your
hard disk.
Convert (for the Application Builder): To transfer source code files from ABB Master
representation (7-bit characters) to general representation (8-bit characters, ANSI or ISO88591)
and vice versa.
Cursor: An arrow (mouse pointer) pointing to a location on a display screen. It is used to
select a graphical object.
Or a flashing vertical bar (insertion point) pointing to the next letter position for entry in a text
box or a text window.
Or a reverse video bar or rectangle (object cursor) showing the currently selected graphical or
text object.
Data base: The data base contains all information concerning connections to the hardware
(I/O modules, signals, and so on), connections between PC programs (DAT elements), and
connections to operator stations.
Data base element: Data base elements (DB elements) are available for I/O modules, I/O
channels, data value storage, and so on. The MasterPiece data base consists of DB elements.
Data type: The Function Chart Builder supports the following data types:
B (Boolean), CB (calculated Boolean), I (integer), CI (calculated integer), IL (long integer),
CIL (calculated long integer), R (real), CR (calculated real), T (time), TR (time as real),
and A* (array, string).
DB: An abbreviation for data base.
DBDATA: Directory to store data base files and is used mainly by Function Chart Builder.
DB element: An abbreviation for data base element.
DB source code: Data base part of AMPL source code.
DB system defaults: Default values provided by the element library for DB element properties.
For a given object they can be redefined in a DBGENDEF.BAX file.
Deblocked: The status of an application program in an AC 100 Series target is deblocked if its
execution is started.
Diagram: Graphical and/or text presentation of programs. The Function Chart Builder provides
function chart and tree diagram as two different kinds of diagrams for PC programs. They can
be displayed and printed.
Disintegrate: To disintegrate instantiated type circuits during backtranslation of source code
means that the Function Chart Builder no longer points out the type circuit references in the PC
program of the node. Disintegration of a certain class of type circuits is a prerequisite for
AC 100 Series target code generation.
Display: A device that shows alphanumeric and graphical computer output. Usually a cathode
ray tube (CRT) or a liquid crystal display (LCD).
The Test | Single Display and Test | Cyclic Display commands are part of the Function Chart
Builder’s on-line test functions available for AC 100 Series applications. They serve to monitor
values of PC and DB terminals on-line.
Document texts: Footer texts for documents as source code lists or general project
documentation. Different footer styles are available.
Document window: The window that gives view on document data. More than one document
window can be open.
Examples: the Node List window of the Application Builder, the PC Section window of the
Function Chart Builder, the Error Report window of the Diagnostics program.
DOS: An abbreviation for Disk Operating System, the program that controls the operation of
IBM-compatible personal computers.
Double-click: You double-click on an object with the mouse by pointing to it and quickly
pressing the left mouse button twice.
Download: To transfer data (for example, target code) from the Function Chart Builder to an
on-line connected target.
Drag and drop: You seize a graphical object by moving the cursor with the mouse to point to it,
then pressing the left mouse button and holding it down. You drag the seized graphical object by
moving the mouse. You drop the graphical object in the new position or in resized form by
releasing the left mouse button.
Element libraries: The sets of PC elements, DB elements, or type circuits.
PC and DB element libraries represent target versions. They are bundled to basic systems and
options. They have to be available or installed on your engineering station or PC corresponding
to your targets. Use the Application Builder to select the options for the objects before
programming or processing them by the Function Chart Builder.
Additional PC element libraries may be available in the directory C:\PC_LIB. The name of the
directory can be redefined by the environment variable PC$LIB. Additional PC element
libraries must also be bundled to options.
Additional level1 and level2 type circuit element libraries may be available in the directories
C:\TCLEV1 and C:\TCLEV2. The names of the directories can be redefined by the environment
variables TC$LEV1 and TC$LEV2.
Engineering board: Short for Advant Station 100 Series Engineering Board - ISA (DSPU131)
and Advant Station 100 Series Engineering Board - PCI (PU516).
Engineering station: Short for Advant Station 100 Series Engineering Stations
and also for the PC, on which you run the Function Chart Builder and other
Advant Engineering components.
Environment variable: A variable stored in the memory of an IBM-compatible personal
computer and used to control the operation of one or more programs that run in the computer.
The environment variables can be defined and set by the SET command both in batch files
(for example, AUTOEXEC.BAT) or entered from the keyboard after the DOS prompt.
Memory for environment variables is reserved by the SHELL command in CONFIG.SYS.
Executable unit: The PC program can be divided into executable units. An executable unit
contains only one structure element (with specified cycle time) or one structure element and one
or more subordinate PC elements.
Extended DB elements: Complex DB elements with the following properties:
• They allow definition of signals independently of the hardware, also for MMI purposes.
• Encapsulate channel elements.
• Support signal distribution and event transfer on the AF 100.
• Create automatically all the DB elements necessary for the communication (DSP, DAT,
EVS(S), MDAT).
Extension: Part of File name.
Extract (for the Application Builder): To extract a part of a PC program and write
it into a new file. In addition the output file will be converted into ABB Master representation
(7-bit source code). The source code(*.AAX) is transferred from \PCDATA to the SRCE
directory of the same node and changes the file extension to *.AA of the given output file name.
FCB: An abbreviation for Function Chart Builder.
FCE: An abbreviation for Function Chart Editor.
File name: When working in DOS and Windows for Workgroups on IBM-compatible personal
computers, the files have names in the nnnnnnnn[.[xxx]] form, where nnnnnnnn is a file name
one to eight characters long and xxx is the file name extension, one to three characters long.
To maintain compatibility, all versions of the Function Chart Builder use file names according
to the DOS format.
Footer: Lines of text placed at the bottom of each page of a listing or a diagram. Contains
general information about the file or diagram.
Force: The Test | Activate Force Values and Test | Activate All Force Values commands are
part of the Function Chart Builder’s on-line test functions, available for AC 100 Series
applications. They force values of PC and DB terminals on-line.
Function chart: Diagram for the representation of process control programs. It contains
graphical symbols (rectangles) for PC elements, instantiated type circuits, and located circuits
and lines for connections between element terminals.
Function Chart Editor: Predecessor of the Function Chart Builder.
• Circuits located in the PC section and type circuits instantiated in the PC section, having
also DB part
dm
where d = $$DB_OF_TC and $$DB_OF_CI, m = index of circuit/type circuit.
Item designations of PC elements have the following form:
PCp[.q[.r …]]
where p = PC program number, q, r, … = PC element indexes on 2nd, 3rd, … level.
IU: Abbreviation for instance-unique.
Late instantiation: When you edit a node structure or circuit and locate a circuit or instantiate a
type circuit, the Function Chart Builder applies late instantiation. Initially, it checks only the
interface of type circuits and circuits. It checks their contents later, during expansion of node
structure. This permits you to modify DB elements that do not yet exist or to connect terminals
that do not yet exist.
Locate: To insert a circuit in a node structure referencing the circuit and assigning physical
locations to the I/O channels used in the circuit. A circuit can be located only once.
Location-unique symbol: A symbol kind. A location-unique (LU) symbol is unique to a
particular circuit available within a given project. It always has a default value. You cannot
change the value at location time.
You can have a project-unique symbol in node structure that is identical to the location-unique
symbol of the circuit. In this case, the value is not inherited from node structure to circuit.
LU: Abbreviation for location-unique.
MasterPiece: A computerized process control system manufactured by ABB (Asea Brown
Boveri).
MMI: Abbreviation for man-machine interface.
Use the term Human-System Interface (HSI) instead.
Modeless: If a dialog box is modeless, you need not to close it, nevertheless, you can change to
other tasks, for example, open other windows.
Module Error (for the Diagnosis program): A Module Error concerns the I/O module or the
component on the board. Module Errors indicate, for example, a defective PROM or an invalid
check-sum in the parameters of the PROM or RAM.
Mouse: A pointing device that enables you to enter commands and data into a computer without
typing on a keyboard. A trackball is a functionally equivalent device.
Name: A name is a unique string of characters.
In the PC section, you can use PC names.
• An instance name with length of 1 to 72 characters is used as alias for a PC item
designation.
• A signal name with length of 1 to 20 (in some cases only to 6, 12, 19) characters is used as
alias for a source in connections, that is,
– Either for an output terminal of a PC element
– Or for a constant or a DB element terminal connected to an input terminal of a PC
element in an existing connection.
The scope of a PC name is the PC program or—in case of type circuits and circuits—the PC
section, in which it is created.
The PC name carries the data type and kind of the source, for which it stands.
In the DB section, you can use DB names.
• An instance name of a DB element with length of 1 to 20 characters is used as alias for its
DB item designation. It is equal to the value of its NAME input terminal. The default value
of NAME is the of the DB element.
• An instance name of a type circuit (circuit) instantiated (located) in the DB section with
length of 1 to 72 characters is used as alias for their DB item designation.
The scope of a DB name is the DB section, in which it is created.
National characters: Set of characters, to ensure compatibility between the tools and to display
nation-specific characters (national language characters) of the Swedish and the German
languages. The US character set is the standard character set.
Node: Physically, a node is a process station of a process control network. The final target of
application programs prepared by the Function Chart Builder is a (physical) node, that is, an
Advant Controller or a MasterPiece.
In the Function Chart Builder, node denotes a program concerning a physical node. It has all
references resolved, the referenced parts are expanded, and it is fully checked. A node consists
of process control elements (PC elements) and data base elements (DB elements), and of type
circuits resolved at instantiation.
Node structure: A node structure (NS) is the location list for a certain process station.
The Function Chart Builder supports the creation and code generation of node structures.
A node structure consists of located circuits, symbol value assignments, and also of glue logic,
such as instructions creating or modifying DB elements and PC elements, even instantiated type
circuits.
The node structure is an aspect of the node. It emphasizes the structure of the node and
references the located circuits and instantiated type circuits rather than containing them with full
content.
Node type: Stands for the type of controllers, operator stations, an engineering station, or
process stations. Each node type has a specific version, which is named behind the node type
name.
NS: Node structure, an object.
Object: The Application Builder and the Function Chart Builder supports the objects node,
node structure (NS), circuit (CI), and type circuit (TC).
Object cursor: Reverse video bar or rectangle that shows the currently selected item in a list
box or the currently selected graphical object in a function chart or in a tree diagram.
Off-line: The counterpart of on-line.
On-line: A Function Chart Builder operation is on-line if it involves direct data transfer to
and/or from a connected (AC 100 Series) target.
Options: Extend the base software functionality of a node type.
OR operator: The ‘|’ (OR) operator means “take one term, either the one on the left side of the
OR operator, or the one on the right side”.
Output terminal: Corresponds to one of the output variables of the function represented by the
PC element (or type circuit or circuit). See also terminal.
Page division: Denotes the start of a new page of the function chart. The PC element, to which
the page division is attached, is on the top of this page.
Pane: Some windows may be divided into panes by a horizontal and a vertical split bar.
You can move the bars and so change the division into panes.
The usual numbering and position of panes is:
1 - left; 2 - upper right; 3 - lower right.
Passive (for the Diagnostics/Diagnosis program): A module is passive if it is not in the
operational state. This can be caused by any of the following:
• A serious device error
• A missing process connector
• Missing or inconsistent parameters
• The fact that the module was not set into operation by the system CPU.
Paste buffer: Special buffer of the Function Chart Builder containing the recently cut or copied
PC elements (or instantiated type circuits or located circuits) with their connections, names,
units, and symbol values.
PC: Abbreviation for both personal computer and process control.
PC element: Abbreviation for process control element. Part of a process control program.
They represent elementary or compound process control functions.
The Function Chart Builder shows PC elements by rectangles in function chart and by
corresponding callnames in tree diagram.
PC program: Abbreviation for process control program.
PC source code: Process control part of AMPL source code.
PCDATA: Directory to store PC program files and is used mainly by Function Chart Builder.
Point: You point to an object with the mouse by moving the mouse pointer onto the object with
the mouse.
Print file: A computer file to be sent to a printer and to be printed as a listing or diagram.
Contains all the controls and data necessary for the printer to print according to the printer
parameters configured in the Function Chart Builder.
Process Error (for the Diagnosis program): A Process Error concerns the process to be
controlled or monitored.
A Process error can be caused by
• Missing process connector between the I/O module and the external process to be
controlled or monitored
• Missing power control
• Exceeding parameter values of the process connector, and so on.
Project: The job of programming a process control system covering several Advant Controller
or MasterPiece nodes.
Also used to describe the environment for programming a process control system covering
several Advant Controller or MasterPiece nodes with all the disk directories and data files used
to create the process control data base and programs.
Project defaults: Are default values, valid for one project as set in the Application Builder,
that is, default node types, default comments, default parts of node names and so on.
Project root: Is an environment to store all data of projects. The project root name can be up to
160 characters long. UNC paths in form of \\server_name\share_name can serve as project root.
(You do not need to map \\server_name\share_name to a network drive.)
Project-unique symbol: A symbol kind. A project-unique (PU) symbol is global for all type
circuits or circuits that are used within a given project. It always has a default value. At the
instantiation or location, you can change the parameter value.
You can have identical project-unique symbols in node structure, circuits, and type circuits.
In this case, the value is inherited from node structure to circuits and from circuits to type
circuits.
PU: Abbreviation for project-unique.
Release: Different releases, or versions, of a software product have different capabilities and
may function differently in certain situations. Knowing the release number, for example, of your
Function Chart Builder version enables ABB customer service engineers to help you solve
problems faster.
The Help | About product command displays the release number of the corresponding Advant
Engineering product component in the copyright notice.
SET command: A DOS command that enables you to define and set environment variables in
your personal computer. Your AUTOEXEC.BAT file often includes SET commands that set up
the personal computer’s serial ports, printer ports, or screen.
Source code: Program code in text format. The Function Chart Builder uses AMPL source code
and its derivatives to specify data base and process control programs. See AMPL.
AMPL source code: PC source code serves to specify process control programs of nodes and
DB source code serves to specify data base of nodes.
Type circuit source code serves to specify data base, process control program, symbols, and
terminals of type circuits.
Circuit source code serves to specify data base, process control program, symbols, and terminals
of circuits.
Node structure source code serves to specify data base and the structure of process control
programs, that is, node structures.
SRCE: Directory used mainly by On-line Builder. Important files on this directory are source
code files (ABB Master representation, 7-bit characters) and dump files.
Structure element: PC elements structuring PC programs such as PCPGM, CONTRM,
FUNCM, MASTER, SEQ, and SLAVEM. Only they can have subordinate PC elements.
Symbol: Symbols are used in type circuits and circuits as parameters for definition of item
designations, signal names, and so on, and as internal variables. Symbols are used in node
structures to parametrize located circuits and instantiated type circuits. Formally, TC/CI
terminals are denoted also by symbols.
A symbol is a unique string of 1 to 18 characters. For example, PARAM3.
The kind (scope) of the symbols can be different, they can be instance-unique (IU) or project-
unique (PU) or location-unique (LU). Symbols have always a defined symbol (data) type.
See data type.
Symbolic expression: A symbolic expression is a string containing one or more symbols, which
may also be nested, and constants.
Symbolic formula: A symbolic formula is a string containing one or more symbols and
constants, which are connected by arithmetical, logical, and relational operators, such as +,
NOT, >=, (, and ). If the values of the symbols are substituted, the value of the formula can be
calculated and applied.
System Error (for the Diagnosis program): A System Error can be caused by wrong or missing
configuration parameters.
Target, target system: A physical location in an Advant Controller or MasterPiece process
control network. A target or (physical) node usually contains an intelligent device like an
Advant Controller or a MasterPiece.
Target code: Code generated by the Function Chart Builder that can be loaded directly to an
AC 100 Series target and executed there.
TC: Type circuit, an object.
TC/CI terminal: TC/CI terminal is the abbreviation for terminals of type circuits and circuits.
In the function chart the Function Chart Builder shows the TC/CI terminals as short lines
leading to or from the graphical symbol of an instantiated type circuit or located circuit.
The name of a TC/CI terminal is a unique string of 1 to 8 characters, for example, IN2.
The kind of the TC/CI terminals can be input (IN), output (OUT), or function parameter (FP).
The TC/CI terminal has always a defined TC/CI terminal (data) type.
TCDATA: Directory to store type circuit files and is used mainly by Function Chart Builder.
Terminal: Connection point of an element.
A PC terminal is a short line leading to or from the graphical symbol of a PC element (or
instantiated type circuit or located circuit) in the function chart. It corresponds to one of the
input or output variables of the function represented by this element.
A DB terminal is a short line leading to or from the graphical symbol of a DB element in the
Edit DB Terminal Values dialog box. It corresponds to one of the input or output variables
(properties) of the function represented by the DB element.
A type circuit terminal or circuit terminal (shortly TC/CI terminal) is a short line leading to or
from the graphical symbol of an instantiated type circuit or located circuit in the function chart.
It corresponds to one of the input or output variables of the function represented by this element.
It is represented by a maximum 8 character long list element in the TC/CI Terminal Section
window.
Terminal set: A group of terminals of a PC element controlled by the same call parameter.
Tool version: Each tool of Advant Engineering, that is, components that are builders or utilities,
has a version. Different versions of Advant Engineering products may be installed on the same
engineering station.
Tree diagram: Diagram for the representation of process control programs. The tree diagram
shows the process control programs’ structure.
Type circuit: A standard solution for a special process control problem, usually well tested and
documented. The Function Chart Builder supports the creation, code generation, and
instantiation of type circuits (TCs).
A type circuit consists of symbol declarations, instructions creating or modifying DB elements,
and PC elements. A type circuit can be instantiated several times within a node, node structure,
or circuit. By assigning different values to its parameters at instantiation, you vary the function
of each type circuit instance.
Unit: The unit denotes the dimension of the values on the source, to which it is attached.
A unit is a unique string of 1 to 6 characters, for example, kW/h. It can be attached in the PC
section to a source, that is, either for an output terminal of a PC element, or for a constant or a
DB element terminal connected to an input terminal of a PC element in an existing connection.
The units are not processed in any way by the Function Chart Builder, they just enhance the
readability of source code or function chart.
Upload: To transfer data (for example, parameter values) from an on-line connected target to
the Function Chart Builder.
USER: Directory used mainly by On-line Builder.
Variant or loop symbol: A symbol kind occurring in type circuits edited directly on source
code level (only for expert users).
A variant or loop symbol is an instance-unique symbol that carries the condition of a variant or
the number of repetitions of a loop body.
Virtual connection: Connection to an element that is already specified but does not exist yet
(virtual element).
Virtual element: Element that is already specified but not yet implemented.
VL: Abbreviation for variant or loop.
Workspace: Sum of general parameters such as position and size of the Function Chart Builder
application window, view options, zoom factor, sort order, and preferences, and of object-
specific workspace parameters such as number, status, position, and size of the windows, sort
order, recent selections, and filters.
INDEX
Symbols *.LS1 A-15 to A-18
# (hash mark) 4-14, 4-207, 4-217, 4-333, 4-365 to 4-366, 4- *.LS2 A-15 to A-18
372, 4-378, 5-1 *.MDB A-15, A-19
$$CI 4-115, 4-319, D-31 to D-32, D-35 *.MET A-3
$$DB_OF_CI 4-115, 4-319 *.ML 4-288, A-18
$$DB_OF_TC 4-111, 4-319 *.NSS 4-291, A-17, D-28
$$IF D-8 *.ODB 4-94, 4-244, 4-278, A-15 to A-17
$$LOOP D-8 command 4-410
$$LOOPCTR 4-196, D-9 window 4-212
$$TC 4-111, 4-319, D-22 to D-23, D-25, D-31 to D-32, D- *.OL 4-291, A-18
34 *.PCF 4-287, A-15 to A-16, A-18
* (asterisk) 4-16 to 4-17, 4-20 to 4-21, 4-59, 4-108, 4-113, *.PCL A-14, A-18
4-120, 4-135, 4-167, 4-169, 4-191 to 4-192, 4-209, 4-212 *.PCT 4-287, A-15 to A-16, A-18
to 4-213, 4-215, 4-217 to 4-218, 4-220, 4-222, 4-225, 4- *.PE_ 4-98, A-14, A-17
229, 4-300, 4-304, 4-320, 4-333, 4-378, 4-385 to 4-386, 4- *.PED A-19
416, 4-436, 4-438, 4-444, 4-454, 4-458 *.PEL 2-2, A-9, A-18
*.AA 4-142, A-18 *.PLE A-19
*.AAX 4-141, 4-269, A-18 to A-19 *.PTL A-14, A-18
*.ABU A-3 *.PXR 4-289, A-15 to A-16, A-18
*.BA 4-142, A-18 *.ST_ A-14, A-17
*.BA_ A-14, A-17 *.STL A-9, A-18
*.BAK 4-345 *.SYL 4-288, A-15, A-18
*.BAX 4-141, A-5, A-17, A-19 *.TB 4-142, A-18
*.C?? 4-255, 4-278, 4-392, A-17 to A-18 *.TBX 4-141, 4-265, A-17
*.C00 4-255, 4-278, 4-392, A-17 *.TC 4-142, A-18
*.CFX A-17 *.TC_ A-14, A-17
*.CIS 4-114, A-15, D-18 *.TCD A-3, A-17
*.CNT A-3 *.TCS 4-110, 4-141, 4-179, A-16, A-18 to A-19, D-7
*.DAT A-14 *.TE_ 4-98, A-14, A-17
*.DB 4-285, A-15 to A-16, A-18 *.TEL 2-2, 5-3, A-3, A-17
*.DBT A-15 to A-16, A-18 *.TI 4-142, A-18
*.DCL A-9, A-18 *.TIX 4-141, 4-265, A-18
*.DE_ 4-98, A-14, A-17 *.TPX 4-103, 4-179
*.DED A-19 *.UCI 4-291, A-15
*.DEL 2-2, A-5, A-18 *.W00, *.W01, ... A-15 to A-16
*.DFL 4-406 to 4-407, A-17 *.WEX A-15 to A-18
*.DGN A-18 *.WMF 4-103
*.DLL A-3, A-14 *.WSP A-15 to A-16
*.DXR 4-290, A-15 to A-16, A-18 / (slash) 4-304
*.EXE A-3, A-14 : (colon) 4-215, 4-217, 4-220, 4-222, 4-225, 4-229
*.GLX A-18 < (less) 4-20
*.GS? A-19 <> (not equal) 4-48, 4-240 to 4-241, 4-434
*.HLP 4-412, A-3, A-14 > (greater) 4-20, 4-243
*.INI 4-179, 5-2, A-3, A-15 to A-17 ? (question mark) 4-218, 4-220, 4-222, 4-225, 4-320, 4-378,
*.ISU A-3 4-416, 4-436
*.LIS A-15 to A-18 _ (underline) 4-243
*.LOG A-18 __INAM__ 4-197
L of Diagnosis 4-453
Late instantiation 4-1, 4-41, 4-116 of Diagnostics 4-427
Layout 3-7, 4-5, 4-101, 4-364 Window 4-408
template 4-5, 4-296 of Diagnosis 4-459
Level1 type circuit directory A-19 of Diagnostics 4-429
Level2 type circuit directory A-19 Menu Bar 4-243
List file 4-320 Minimize output while working 4-344
List Modules 4-428 Modify Item Destination 4-356
Listing Module Diagnosis
of download 4-52 Diagnosis command 4-453
of target code generation 4-45 window 4-440
Load Application 4-391 Module Diagnostics window 4-419
Load application to AC 55, 70, or 110 4-50, 4-166 Module List
Locate a circuit 4-41, 4-114 Diagnosis command 4-453
Log window
in Diagnosis 4-449 of Diagnosis 4-438
in Diagnostics 4-423 of Diagnostics 4-418
Log report or diagnosis 4-423 Monitor terminals 4-61, 4-167
in Diagnosis 4-449 Mouse 1-1, 4-82
Logfile Setup MP 200/1 1-11
of Diagnosis 4-449 Multiple selection
of Diagnostics 4-423 by keys 4-87
logo 4-103 by mouse 4-83
Loop 4-90, D-14 contiguous 4-128
of partial subtree on lower level 4-130
M of PC elements 4-127, 4-355
Maintenance 5-1 of whole executable unit 4-129
Manuals 4-412 to 4-413
Mark 4-374 N
MB 300 1-11 NAM 4-292
MB300 OPC 1-11 Name 4-193, 4-322
Memory Calculation 4-362 Name Table
Menu command 4-410
Edit 4-299 window 4-224
of Diagnosis 4-453 National character sets D-3
File 4-244 Navigate
of Diagnosis 4-447 in Error Report and Module List
of Diagnostics 4-421 of the Diagnosis program 4-189
Help 4-411 of the Diagnostics program 4-184
of Diagnosis 4-460 in Function Chart Builder 4-81
of Diagnostics 4-430 New Section 4-245
Options 4-343 New Window 4-408
PC-Section 4-352 Node 3-4, 4-89, 4-107, B-1
PC-Terminal 4-373 directory A-16
Target 4-388 type 4-411
of Diagnosis 4-458 additional 2-2, 4-243, 4-255
of Diagnostics 4-428 Node structure 3-3, 4-35, 4-89, 4-116, B-5
Test 4-398 source code syntax D-26
View 4-335 NODES directory A-15
W
Warning at referencing an undefined symbol or TC/CI
terminal 4-348