TriStation 1131 Developer S Guide v4 9 0 PDF
TriStation 1131 Developer S Guide v4 9 0 PDF
TriStation 1131 Developer S Guide v4 9 0 PDF
Developers Guide
Information in this document is subject to change without notice. Companies, names and data used in
examples herein are fictitious unless otherwise noted. No part of this document may be reproduced or
transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express
written permission of Invensys Systems, Inc.
20042011 by Invensys Systems, Inc. All rights reserved.
Invensys, the Invensys logo, Foxboro, I/A Series, Triconex, Tricon, Trident, and TriStation are trademarks
of Invensys plc, its subsidiaries and affiliates. All other brands may be trademarks of their respective
owners.
Contents
Preface
xiii
New Features in TriStation 1131 v4.9.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Summary of Sections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Related Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Product and Training Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xv
We Welcome Your Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Chapter 1
Project Administration
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Project Administration Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Installing TriStation 1131 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
System Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Upgrading from Previous Versions of TriStation 1131 . . . . . . . . . . . . . . . . . . . . . . . . . 5
Changing a TriStation 1131 v4.9.0 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
Installing the TriStation 1131 Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Customizing the Security Banner Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Uninstalling the TriStation 1131 Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Verifying the TriStation 1131 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Converting Existing Projects to Version 4.9.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Selecting the Target System Version During Project Conversion . . . . . . . . . . . . . . . 11
Rules for Tricon Project Target System Version Conversion . . . . . . . . . . . . . . 12
Rules for Trident Project Target System Version Conversion. . . . . . . . . . . . . . 12
Converting Version 4.x Tricon Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
Converting Version 4.x Trident Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Converting Version 2.x and 3.x Tricon or Trident Projects . . . . . . . . . . . . . . . . . . . . . 17
Creating a New Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
The Project Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Creating a New Tricon Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Creating a New Trident Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Creating a New Tri-GP Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Working with Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Logging In to an Existing Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Logging In for the First Time When Enhanced Security Is Enabled . . . . . . . . 28
Logging In When Standard Security Is Enabled . . . . . . . . . . . . . . . . . . . . . . . . . 28
Logging In When Enhanced Security Is Enabled . . . . . . . . . . . . . . . . . . . . . . . . 28
Troubleshooting Login Problems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Adding a Project Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Adding Audit Comments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Displaying Version Numbers of Projects and Documents . . . . . . . . . . . . . . . . . . . . . 33
Specifying Project Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Specifying Language Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
Specifying Annotation Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Specifying Monitor Colors for BOOL Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Specifying Forced Points Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
iv
Contents
Chapter 2
Application Development
97
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98
Application Development Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Application Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
The Application Workspace. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
The Declaration Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
The Implementation Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Parts of an Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
Safety and Control Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Programming Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Function Block Diagram Language. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
Contents
vi
Contents
Contents
vii
Chapter 3
245
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
The Tricon Controller Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
The Tricon Controller Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
The Tricon Configuration Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
The Tricon Controller and Emulator Panels . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
Setting Tricon Operating Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249
Allocating Memory for Tricon Points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251
Configuring the Tricon Target System Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252
Determining Your Tricon Controllers System Version. . . . . . . . . . . . . . . . . . . . . . . 252
Validating a Tricon Target System Version Change . . . . . . . . . . . . . . . . . . . . . . . . . 253
Changing the Tricon Target System Version. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
Target System Version Change Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255
If You Have a TCM Configured in Your TriStation Project . . . . . . . . . . . . . . 255
Changing the Target System Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256
Results of a Tricon Target System Version Change . . . . . . . . . . . . . . . . . . . . . . . . . . 258
Configuring Tricon Hardware. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262
viii
Contents
Chapter 4
311
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312
The Trident and Tri-GP Controller Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
The Trident and Tri-GP Controller Trees. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
The Trident and Tri-GP Configuration Trees . . . . . . . . . . . . . . . . . . . . . . . . . . 313
The Trident and Tri-GP Controller and Emulator Panels . . . . . . . . . . . . . . . . 314
Setting Trident or Tri-GP Operating Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
Allocating Memory for Trident or Tri-GP Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 317
Configuring the Trident or Tri-GP Target System Version. . . . . . . . . . . . . . . . . . . . . . . . . 318
Determining Your Trident or Tri-GP Controllers System Version . . . . . . . . . . . . . 318
Validating a Trident Target System Version Change. . . . . . . . . . . . . . . . . . . . . . . . . 320
Changing the Trident Target System Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321
Results of a Trident Target System Version Change . . . . . . . . . . . . . . . . . . . . . . . . . 324
Configuring Trident and Tri-GP Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327
Configuring the Trident or Tri-GP Main Processors (MPs) . . . . . . . . . . . . . . . . . . . 327
Specifying Trident or Tri-GP MP Module Properties . . . . . . . . . . . . . . . . . . . 327
Displaying Trident or Tri-GP MP Attribute Properties . . . . . . . . . . . . . . . . . . 329
Configuring Trident 1.x MP Network Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
Configuring Trident 2.x or Tri-GP MP Network Ports . . . . . . . . . . . . . . . . . . 331
Configuring Trident or Tri-GP MP Serial Ports . . . . . . . . . . . . . . . . . . . . . . . . 332
Contents
ix
Chapter 5
371
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
TriStation 1131 Communication Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372
Configuring the TriStation PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
Installing a NIC Card in a TriStation PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373
Installing the TCP/IP Protocol on a TriStation PC . . . . . . . . . . . . . . . . . . . . . . . . . . . 374
Connecting to the Tricon Controller via a Serial Connection . . . . . . . . . . . . . . . . . . . . . . . 376
When to Use the Tricon Serial Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376
Connecting a Tricon Serial Port to a TriStation PC. . . . . . . . . . . . . . . . . . . . . . . . . . . 377
Configuring the TriStation 1131 Serial Connection . . . . . . . . . . . . . . . . . . . . . . . . . . 378
Connecting to the Tricon Controller via a Network Connection . . . . . . . . . . . . . . . . . . . . 379
Directly Connecting an ACM or NCM Network Port to a TriStation PC . . . . . . . 380
Connecting a TCM Network Port to a TriStation PC Using a Router or Hub . . . . 381
Connecting a Tricon Network Port Using a Media Converter . . . . . . . . . . . . . . . . . 382
Configuring the TriStation 1131 Network Connection . . . . . . . . . . . . . . . . . . . . . . . 384
Specifying the Tricon Default Connection Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
Controlling Access to the TCM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
What Are TCM Resources? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 386
How Is Access Controlled? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
What Are Access Levels? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 387
Sample Access Control List and Resulting Access Control . . . . . . . . . . . . . . . 388
Configuring the Access Control List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
Configuring Tricon Controller Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
Effect of Printing on Scan Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392
Contents
Chapter 6
405
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
TriStation 1131 Communication Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
Configuring the TriStation PC. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
Installing a NIC Card in a TriStation PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408
Installing DLC or TCP/IP Protocol on a TriStation PC . . . . . . . . . . . . . . . . . . . . . . . 408
Connecting to the Trident 2.x or Tri-GP Controller for the First Time . . . . . . . . . . . . . . . 411
Connecting Via the Serial Connection (Recommended) . . . . . . . . . . . . . . . . . 411
Connecting via the Left MP Network Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411
Connecting to the Trident or Tri-GP Controller via a Serial Connection . . . . . . . . . . . . . 412
When to Use the Trident or Tri-GP Serial Connection. . . . . . . . . . . . . . . . . . . . . . . . 412
Connecting to the Trident or Tri-GP Controller for the First Time . . . . . . . . 412
Connecting to the Trident or Tri-GP Controller When the
Network Is Down . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
Connecting to the Trident or Tri-GP Controller When the
Access Control List has Been Misconfigured . . . . . . . . . . . . . . . . . . . . . . . . . . 413
Connecting a Trident 2.x or Tri-GP Serial Port to a TriStation PC . . . . . . . . . . . . . . 414
Configuring the TriStation 1131 Serial Connection . . . . . . . . . . . . . . . . . . . . . . . . . . 415
Connecting to the Trident or Tri-GP Controller via a Network Connection . . . . . . . . . . 416
Connecting the Trident 1.x MP to a TriStation PC . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
Directly Connecting a Trident 1.x MP to a TriStation PC . . . . . . . . . . . . . . . . 417
Connecting a Trident 1.x MP to a TriStation PC Using a Hub . . . . . . . . . . . . 418
Configuring the TriStation 1131 Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
Connecting the Trident 1.x CM to the TriStation PC . . . . . . . . . . . . . . . . . . . . . . . . . 421
Directly Connecting a Trident 1.x CM to a TriStation PC . . . . . . . . . . . . . . . . 421
Connecting a Trident 1.x CM to a TriStation PC Using a Hub . . . . . . . . . . . . 422
Configuring the TriStation 1131 Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . 423
Connecting the Trident v2.x or Tri-GP Controller to a TriStation PC . . . . . . . . . . . 426
Directly Connecting a Trident 2.x or Tri-GP Network Port to
a TriStation PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427
Connecting a Trident 2.x or Tri-GP Network Port to a TriStation PC
Using a Hub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428
Configuring the TriStation 1131 Network Connection . . . . . . . . . . . . . . . . . . 429
Specifying the Trident or Tri-GP Default Connection Type . . . . . . . . . . . . . . . . . . . . . . . . 433
Controlling Access to the Trident 2.x or Tri-GP CM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
What Are CM Resources?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
How Is Access Controlled? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434
What Are Access Levels? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
Sample Access Control List and Resulting Access Control. . . . . . . . . . . . . . . 436
Configuring the Access Control List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437
Configuring Trident or Tri-GP Controller Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
Effect of Printing on Scan Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
Devices for Trident or Tri-GP Controller Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . 439
Contents
xi
Chapter 7
Implementation
455
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 456
Implementation Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 457
Controlling the Operational Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458
Using the Triconex Emulator for Testing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 459
Controller Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
Downloading to the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 460
Changes to the Project Version and State After Downloading
to the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
Monitoring Variables on the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
Monitoring the Program Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 464
Adding Annotation for Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
Determining the Scan Surplus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 466
Setting the Scan Time for a Downloaded Application. . . . . . . . . . . . . . . . . . . . . . . . 467
Displaying Hardware Allocation Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 468
Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 469
Steps for Downloading Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
Planning and Controlling Changes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
Commands Required with Application Changes. . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
Disabling Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 474
Disabling Points on the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 475
Viewing Disabled Points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
Re-enabling Disabled Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 476
Forcing Points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 477
Using the Download Changes Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 478
Using the Download All Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 480
481
645
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 646
Elementary Data Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 647
BOOL Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 648
DATE Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 648
DINT Data Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 649
DT Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 649
DWORD Data Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 650
INT Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 651
LREAL Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 651
REAL Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 653
STRING Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 655
TriStation 1131 Developers Guide, v4.9.0
xii
Contents
659
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 660
Configuring TCM Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 661
Configuring TCM Serial Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 663
Configuring TCM Network Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 665
Configuring TCM Peer-To-Peer Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 667
Configuring TCM Modbus TCP Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 669
Configuring TCM Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 671
Using a Tricon TCM to Synchronize Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 673
Configuring GPS Time Synchronization on the TCM . . . . . . . . . . . . . . . . . . . . . . . . 673
Configuring SNTP Time Synchronization on the TCM. . . . . . . . . . . . . . . . . . . . . . . 675
Configuring Triconex Time Synchronization on the TCM . . . . . . . . . . . . . . . . . . . . 677
Configuring a Tricon TCM Printer Port for Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 678
679
Index
693
Preface
TriStation 1131 Developers Workbench is a software application for developing, testing, and
documenting safety-critical and process-control applications that execute on Triconex
controllers.
For more detailed information about the changes made in each TriStation 1131 v4.x
release, see the Product Release Notice for TriStation v4.x, available on the Invensys Global
Customer Support web site.
Summary of Sections
xiv
Preface
Related Documents
Product Release Notices for specific Tricon, Trident, Tri-GP, and TriStation 1131 versions
Preface
xv
Technical Support
Customers in the U.S. and Canada can obtain technical support from the Invensys Global
Customer Support (GCS) center at the numbers below. International customers should contact
their regional support center.
Requests for support are prioritized as follows:
Requests from participants with a support agreement and customers with purchase
order or charge card authorization are given next priority
If you require emergency or immediate response and do not have a support agreement, you
may incur a charge. Please have a purchase order or credit card available for billing.
Telephone
Toll-free number 866-746-6477, or
Toll number
508-549-2424 (outside U.S.)
Fax
Toll number
508-549-4999
Web Site
http://support.ips.invensys.com/ (registration required)
xvi
Preface
A brief description of the content you are referring to (for example, step-by-step
instructions that are incorrect, information that requires clarification or more details,
missing information that you would find helpful)
Your name, company name, job title, phone number, and e-mail address
1
Project Administration
Overview
11
20
27
35
45
54
68
Generating Reports
80
91
Chapter 1
Project Administration
Overview
This figure shows a typical project cycle and the main steps for setting up a TriStation 1131
project.
Overview
See
Chapter 1
Project Administration
System Requirements
The following are the minimum system requirements for TriStation 1131:
PC running the .NET Framework 3.5 and one of the following Windows operating
systems:
Windows XP Professional
Windows 7 Professional/Enterprise (32-bit and 64-bit)
Windows Server 2003
Windows Server 2008 R2 (32-bit and 64-bit)
Note
If the .NET Framework is not already installed, setup will install it for you before
installing TriStation 1131. See Installing TriStation 1131 on page 4 for more
information.
CD-ROM drive
DLC protocol installed (for connecting to a Trident v1.x MP only; see Installing DLC or
TCP/IP Protocol on a TriStation PC on page 408)
Projects created in previous versions of TriStation 1131 should be backed up using the
version of TriStation 1131 they were created in, before opening the project in a later
version. Projects backed up using a later version of TriStation 1131 cannot be opened
by older versions. For example, a project backed up using version 4.8.0 cannot be
opened in TriStation 1131 version 4.4.
If you have previously installed version 2.x, 3.x, or 4.x of the TriStation 1131 software,
you do not need to uninstall it before installing v4.9.0. However, only one version of
TriStation 1131 can be open at any one time; for example, you cannot have v3.x open at
the same time as v4.9.0.
If you have previously installed v4.x of the TriStation 1131 software, you do not need to
uninstall it before you install version 4.9.0. You may wish to keep both versions of the
TriStation 1131 software installed on your workstation until you have finished
converting all your projects to v4.9.0 (see Converting Existing Projects to Version 4.9.0
on page 11). However, uninstalling v4.0 after you have installed v4.9.0 will cause
v4.9.0 to no longer work. To correct this, simply uninstall both v4.0 and v4.9.0 and then
reinstall v4.9.0.
Additionally, if you installed other Triconex applications (such as SOE Recorder) after
you installed TriStation 1131 v4.0, uninstalling v4.0 may cause other installed Triconex
applications to no longer work. To correct this, simply uninstall and then reinstall the
other Triconex applications after you uninstall TriStation 1131 v4.0.
Sample TriStation 1131 projects are now found in the following locations on the PC
where you install TriStation 1131 v4.9.0:
Windows XP and Windows Server 2003: C:\Documents and Settings\All
Users\Application Data\Triconex\TriStation 1131 4.9.0\Projects
The Tri-GP only version: Supports application development for Tri-GP controllers
only. You cannot create applications for use with Tricon or Trident controllers.
If you have previously installed either version of TriStation 1131 v4.9.0, and you want to
upgrade or downgrade your installation, you do not need to uninstall it before running the
TriStation 1131 v4.9.0 setup program.
During installation, setup will automatically modify the current installation to add or remove
features. If you currently have the full-featured version of TriStation 1131 v4.9.0 installed,
downgrading to the Tri-GP only version means you will lose the ability to work with Tricon or
Trident project files.
Chapter 1
Project Administration
The Triconex Emulator v1.2.0 is automatically installed as part of the TriStation 1131
installation. For more information about the Emulator, see Using the Triconex Emulator
for Testing on page 459.
If you purchased the optional CEMPLE software, it is installed at the same time.
The TriStation 1131 software must be installed on a local drive. Do NOT install and run
TriStation 1131 on a network server.
Before you start TriStation 1131 installation, make sure you have installed the latest service
packs and critical updates for your version of Windows. To look for recent updates, visit the
Microsoft Windows Update website.
If the .NET Framework is not already installed, setup will install it for you before installing
TriStation 1131. If necessary, setup will also install Windows Installer v4.5 prior to installing the
.NET Framework. Depending on your PCs configuration, Windows Installer and .NET
Framework installation can take several minutes, and may require you to restart your PC in
order to complete the installation process.
If you receive any errors during the .NET Framework installation, contact your system
administrator for assistance.
Note
During installation, you will be asked if you want to change the NERC Security Banner
message text. This is optional; the message text can also be modified at any time after
installation. If you arent sure if you want to change the text, leave the default text as-is
during installation. See Customizing the Security Banner Text on page 7 for more
information.
Procedure
1
From the Start menu, click Settings, and then click Control Panel.
Click the CD or Floppy button, and then browse to locate the setup.exe file on the CD.
10
To restart your PC after the installation has finished, click Yes. You are not required to
restart your PC before running the TriStation 1131 software, unless the .NET Framework
was installed as part of the TriStation 1131 installation.
To complete the installation, click Finish.
The security banner text must be customized in each TriStation 1131 installation individually.
However, once you modify the security banner text once, you can simply copy and paste the
text from one PC to another. An easy way to do this would be to create a temporary text file with
the security banner text in it, and place that file on the network, or on a portable flash drive. You
can then copy and paste the text from the file.
Also, the same security banner text can be used for other Triconex products that use the security
banner functionality. For example, if your organizations security banner text is the same for all
Triconex products, you can use the same text for the Enhanced Diagnostic Monitor as you do
for TriStation 1131.
The security banner text can be changed during TriStation 1131 installation, or at any time after
installation using the procedure provided in this section.
You must be logged in to Windows as user with administrator privileges to change the security
banner text.
Procedure
1
Chapter 1
Project Administration
If the Modify Banner Message menu item is not enabled, you are not logged in to
Windows with administrator privileges.
The Modify Banner Message dialog box appears.
Edit the security banner text as needed, and then click OK. The security banner text can
be a maximum of 2,100 characters.
Note
You cannot have a blank security banner message; if you delete the existing text,
but do not enter new text, the default security banner message (This system is
for use by authorized Safety System personnel only.) will be displayed.
The next time you start TriStation 1131, the customized text will appear in the security
banner.
Note
If you receive an Unable to save changes to the banner message error message when
you attempt to save the security banner text, you may not have read/write access to the
location where the message text is stored. Contact Invensys Global Customer Support
for assistance. For contact information, see Technical Support on page xv.
Procedure
1
From the Start menu, click Settings, and then click Control Panel.
Click Change/Remove.
Follow the on-screen instructions to confirm the deletion of the selected application and
all its components.
Note
If you saved projects in the default installation directory (see Installing TriStation
1131 on page 4) or the default Projects directory (see Specifying Directory
Locations on page 46), the uninstall program does not remove them.
Click Yes or Yes to All if the Remove Shared File dialog box asks about removing unused
DLLs.
Running TS1131 Install Check is required for safety applications. For more information,
see the Safety Considerations Guide.
Procedure
1
From the Start menu, select Programs, Triconex, and then Install Check 4.9.0.
Click Run.
Install Check verifies that all TriStation 1131 files are correctly installed. When
verification is complete, the name, version, and status of each file are displayed in the
list.
10
Chapter 1
Project Administration
Verify that the program is validated by viewing each item in the list.
The status of each file should be OK. If there are files that have Missing or
Corrupted in the Status column, you should re-install TriStation 1131.
Click Display Details to view the full path for verified files and expanded error messages
for any identified problems.
11
This procedure explains how an existing TriStation 1131 project can be automatically converted
to v4.9.0. Any project created with v2.x through v4.8.0 can be converted to v4.9.0. However,
once a project has been opened in v4.9.0, it can no longer be opened with an earlier version of
TriStation 1131.
Note
All projects are backed up automatically prior to project conversion. The backup file can
be opened in the version of TriStation 1131 originally used to create the project. The
name and location of the backup file is displayed in the messages window (see Message
View Command on page 561) after project conversion is complete.
Projects converted to version 4.9.0 are automatically set to use Standard Security. You can
change the security setting after project conversion is complete. See Changing the Security
Setting on page 55.
Topics include:
Change the project to the Download All state, and then change the target system
version (see Configuring the Tricon Target System Version on page 252 or Configuring
the Trident or Tri-GP Target System Version on page 318).
12
Chapter 1
Project Administration
Keep the project in the Download Changes state by abandoning the current project and
using the projects backup file to restart the conversion process.
If the projects hardware configuration includes a model 3006 or 3007 Main Processor,
you cannot upgrade to a model 3008 Main Processor during project conversion.
In this case, you must convert the project with Tricon v9 - 3006 Main Processor as the
target system version, and then change the target system version after project
conversion is complete. This will require a Download All. For more information, see
Configuring the Tricon Target System Version on page 252 or Configuring the Trident
or Tri-GP Target System Version on page 318.
A project created in TriStation 1131 v4.4 or v4.5 with a mix of High-Density and
Enhanced Low-Density chassis cannot be changed to an earlier system version
(downgraded) or to a later system version (upgraded).1
If the projects hardware configuration includes a Trident v1.0 or v1.1 system, you must
upgrade to a Trident v1.2 or later target system version during project conversion.
TriStation 1131 v4.9.0 cannot be used to create or modify projects for Trident v1.0 or v1.1
systems. In this case, if you want to maintain your project for use with these Trident
system versions, do not open the project in TriStation 1131 v4.9.0. You must use
TriStation 1131 v4.4 or earlier with these systems. See the Product Release Notice for
TriStation 1131 v4.x on the Invensys Global Customer Support (GCS) web site for
detailed compatibility information.
If you are upgrading from a Trident 1.x to Trident 2.x target system version during
project conversion, the configuration settings for the CM will be reset to their default
values during project conversion.
Invensys recommends writing down your Trident 1.x CM configuration details (or
saving a backup of your project prior to conversion) before changing the target system
version, so that you can use them to reconfigure the Trident 2.x CM after project
conversion is complete.
1.
This limitation does not apply to projects created in TriStation 1131 v4.6 or later.
13
You will need to re-enable time synchronization after project conversion is complete. See
Configuring Trident or Tri-GP Time Synchronization on page 362 for more information.
Note
All projects will be backed up automatically during project conversion. The name and
location of the backup file will be displayed in the messages window (see Message View
Command on page 561) after project conversion is complete.
Procedure
1
If the Select Main Processor dialog box appears (only when converting projects last
opened in TriStation 1131 v4.1 or earlier), go to step 6.
If the Select Main Processor dialog box does not appear, go to step 8.
14
Chapter 1
Project Administration
Description
Model
Target System
Version
a. TriStation 1131 v4.9.0 does not support Tricon versions 9.4.x and earlier. For a list of
TriStation 1131 versions compatible with your Tricon, see the applicable Tricon Product
Release Notice (available on the Invensys Global Customer Support web site).
Note
If you arent sure which Main Processor model and Tricon system version to
select, use the Enhanced Diagnostic Monitor to verify your Tricons system
version information. See Determining Your Tricon Controllers System Version
on page 252 for more information.
Click OK.
If you are upgrading a project from one of the following TriStation 1131 versions,
go to step 10.
TriStation 1131 v4.0.x
TriStation 1131 v4.3.x or later
15
If you are converting a project from TriStation 1131 v4.1.x or v4.2.x, go to step 9.
When prompted to update the project libraries, do one of the following, depending on
your projects current download state:
If your project is in the Download Changes state, click Yes to update the libraries, or
No to continue the conversion without updating the libraries. If you click Yes, you
will then be prompted to change the project state to Download All in order to
update all project libraries.
To maintain your project in the Download Changes state, you must click
Cancel when prompted to change the projects state. In this case, the TX1LIB
and TR1LIB libraries will be updated, but the TCXLIB library will NOT be
updated. You can update the TCXLIB library manually after project
conversion is complete; see Making Partial Changes to a Library on page 77.
If you click Change State, your project will be changed to the Download All
state, and all libraries (including TCXLIB) will be updated.
10
If prompted to update the project libraries, click Yes to update the libraries, or No to
continue the conversion without updating the libraries.
Note
If you click No, you must manually update the libraries prior to building and
downloading the application; see Updating a Library on page 75.
Project conversion is complete when the project file opens in TriStation 1131 and you see
the Application Workspace.
All projects will be backed up automatically during project conversion. The name and
location of the backup file will be displayed in the messages window (see Message View
Command on page 561) after project conversion is complete.
CAUTION
TriStation 1131 v4.9.0 does not support Trident versions 1.1 and earlier.
If you open a project developed for use with one of these systems, you
must upgrade the target system version to Trident v1.2 or later during
project conversion. To maintain the project for use with Trident v1.1 or
earlier, do NOT open it with TriStation 1131 v4.9.0.
Procedure
1
16
Chapter 1
Project Administration
If the Select Main Processor dialog box appears (only when converting projects last
opened in TriStation 1131 v4.4 or earlier), go to step 6.
If the Select Main Processor dialog box does not appear, go to step 8.
Description
Model
The Main Processor model installed in the Trident that this project will
be downloaded to.
Target System
Version
The system version of the Tridenta that this project will be downloaded
to. Use the on-screen descriptions to help you determine the correct
version to select, based on your Trident configuration.
a. TriStation 1131 v4.9.0 does not support Trident versions 1.1 and earlier. For a list of TriStation 1131
versions compatible with your Trident, see the applicable Trident Product Release Notice (available
on the Invensys Global Customer Support web site).
Note
If you arent sure which Trident system version to select, see Determining Your
Trident or Tri-GP Controllers System Version on page 318.
Click OK.
If you are upgrading a project from one of the following TriStation 1131 versions,
go to step 10.
TriStation 1131 v4.0.x
TriStation 1131 v4.3.x or later
If you are converting a project from TriStation 1131 v4.1.x or v4.2.x, go to the next
step.
When prompted to update the project libraries, do one of the following, depending on
your projects current download state:
17
If your project is in the Download Changes state, click Yes to update the libraries, or
No to continue the conversion without updating the libraries. If you click Yes, you
will then be prompted to change the project state to Download All in order to
update all project libraries.
To maintain your project in the Download Changes state, you must click
Cancel when prompted to change the projects state. In this case, the TRDLIB
library will be updated, but the TCXLIB library will NOT be updated. You can
update the TCXLIB library manually after project conversion is complete; see
Making Partial Changes to a Library on page 77.
If you click Change State, your project will be changed to the Download All
state, and all libraries (including TCXLIB) will be updated.
10
If prompted to update the project libraries, click Yes to update the libraries, or No to
continue the conversion without updating the libraries.
Note
If you click No, you must manually update the libraries prior to building and
downloading the application; see Updating a Library on page 75.
Project conversion is complete when the project file opens in TriStation 1131 and you see
the Application Workspace.
CAUTION
TriStation 1131 v4.9.0 does not support Trident versions 1.1 and earlier.
If you open a project developed for use with one of these systems, you
must upgrade the target system version to Trident v1.2 or later during
project conversion. To maintain the project for use with Trident v1.1 or
earlier, do NOT open it with TriStation 1131 v4.9.0.
Procedure
1
When prompted, click Yes to continue the conversion or No to cancel. To get information
about what is converted, click Help.
18
Chapter 1
Project Administration
If you clicked Yes, you must log in to the project as a Level 01 user.
After you log in, the project is opened and a backup is made using this naming
convention: <project name>_<version>_Pre40Cnv.bt2.
For a Tricon project, click Yes when prompted to convert the project with Tricon v9
- 3006 Main Processor as the target system version.
Click Yes when prompted to update the Trident Hardware Definition File.
Click Yes again when prompted to convert the project with Trident v1.2 or
later as the target system version.
5
After completing the conversion, you must perform a Download All (see Using the
Download All Command on page 480).
The following table identifies the changes made during a v2.x or v3.x project conversion.
Table 1
Item
Description
Application
Snapshot
The conversion removes the snapshot of the application which was saved during
the last download. This means you will not be able to compare the current version
of the project to the previously downloaded version of the project until after the
first download.
Application
State
Multiple
Program
Instances
Naming
Conflicts
Table 1
19
Item
Description
Trident System
Variables
Variable
Changes
In FBD, LD, and CEM programs, input and output variable declarations are
changed to tagname declarations.
In ST programs, all VAR_INPUT, VAR_OUTPUT, and VAR_IN_OUT
declarations are changed to VAR_EXTERNAL.
20
Chapter 1
Project Administration
Each project is created for a single controller type (Tricon, Trident, or Tri-GP); you
cannot create a single project for use with two or more controller types.
Topics include:
21
Procedure
1
Click OK to continue.
Navigate to the folder you want to save the project in, enter a file name, and click Save.
Note
TriStation 1131 projects must always be run from a local drive. Projects may be
saved to a network drive for backup purposes, but you must copy the project to
your local drive before you open it in TriStation 1131.
The projects file name (including the entire folder path) cannot exceed 235
characters. Also, the first character in the file name must be an alphanumeric
character.
22
Chapter 1
Project Administration
Description
Model
The Main Processor model installed in the Tricona that this project
will be downloaded to.
For Tricon versions 9.5.x, 9.51.x, or 9.52.x, select 3006/N, 3007.
For Tricon versions 9.6 and later, select 3008.
Target System
Version
a. TriStation 1131 v4.9.0 does not support Tricon versions 9.4.x and earlier. For a list of TriStation
1131 versions compatible with your Tricon, see the applicable Tricon Product Release Notice
(available on the Invensys Global Customer Support web site).
Note
If you arent sure which Main Processor model and Tricon system version to
select, use the Enhanced Diagnostic Monitor to verify your Tricon system
version information. See Determining Your Tricon Controllers System Version
on page 252 for more information. You should be sure to select the correct target
system version, as changing the target system version at a later time will require
a Download All.
Click OK.
Files that are used in TriStation 1131 are copied to the project. After the file creation
process finishes, you are automatically logged on to the project using the default user
name (MANAGER) and default password (PASSWORD).
23
Procedure
1
Click OK to continue.
In the Filename for New Project dialog box, navigate to the folder you want to save the
project in, enter a file name, and click Save.
Note
TriStation 1131 projects must always be run from a local drive. Projects may be
saved to a network drive for backup purposes, but you must copy the project to
your local drive before you open it in TriStation 1131.
The projects file name (including the entire folder path) cannot exceed 235
characters. Also, the first character in the file name must be an alphanumeric
character.
24
Chapter 1
Project Administration
Description
Model
Target System
Version
a. TriStation 1131 v4.9.0 does not support Trident versions 1.1 and earlier. For a list of
TriStation 1131 versions compatible with your Trident, see the applicable Trident Product
Release Notice (available on the Invensys Global Customer Support web site).
Note
If you arent sure which Main Processor model and Trident system version to
select, see Determining Your Trident or Tri-GP Controllers System Version on
page 318. You should be sure to select the correct target system version, as
changing the target system version at a later time will require a Download All.
Click OK.
Files that are used in TriStation 1131 are copied to the project. After the file creation
process finishes, you are automatically logged on to the project using the default user
name (MANAGER) and default password (PASSWORD).
25
Procedure
1
Click OK to continue.
In the Filename for New Project dialog box, navigate to the folder you want to save the
project in, enter a file name, and click Save.
Note
TriStation 1131 projects must always be run from a local drive. Projects may be
saved to a network drive for backup purposes, but you must copy the project to
your local drive before you open it in TriStation 1131.
The projects file name (including the entire folder path) cannot exceed 235
characters. Also, the first character in the file name must be an alphanumeric
character.
26
Chapter 1
Project Administration
Description
Model
Target System
Version
Note
If you arent sure which Main Processor model and Tri-GP system version to
select, see Determining Your Trident or Tri-GP Controllers System Version on
page 318. You should be sure to select the correct target system version, as
changing the target system version at a later time will require a Download All.
Click OK.
Files that are used in TriStation 1131 are copied to the project. After the file creation
process finishes, you are automatically logged on to the project using the default user
name (MANAGER) and default password (PASSWORD).
27
If Standard Security is enabled, there is no limit on the number of times you can
attempt to enter your user name and password.
If Enhanced Security is enabled, the number of times you can attempt to enter your user
name and password is determined by your Windows domain setting.
For example, if your Windows domain setting is limited to three login attempts, after
three unsuccessful attempts to log in to the project, your user account will be locked out.
If this occurs, ask your network administrator to reset your Windows account.
Note
Topics include:
Logging In for the First Time When Enhanced Security Is Enabled on page 28
28
Chapter 1
Project Administration
First, you need to enter your Windows user name and password, to authenticate
against the Windows domain.
If Windows authentication is successful, you then need to enter your Windows user
name and TriStation 1131 password (NOT your Windows password), to authenticate
against the projects user list.
If both authentications are successful, all subsequent logins will require you to enter only your
Windows user name and password to access the project.
Procedure
1
Open TriStation 1131 and on the File menu, click Open Project.
Select the folder to look in, click the project to be opened, and then click Open.
Enter a user name and password. The default user name is MANAGER. The default
password is PASSWORD.
29
Procedure
1
Open TriStation 1131 and on the File menu, click Open Project.
Select the folder to look in, click the project to be opened, and then click Open.
The Windows login dialog box appears.
Enter your Windows user name (including domain, if necessary) and password, and
click OK.
Solution
When you click OK in the error message box, the Login dialog
box will appear again. Be sure not to leave the user name
and/or password field blank.
30
Chapter 1
Project Administration
Problem
Solution
When you click OK in the error message box, the login dialog
box will appear again. Verify that you are trying to log in with
the correct Windows user name and password.
User names and passwords are case-sensitive. Verify that the
CAPS LOCK key is not on when you enter your user
information.
31
CAUTION
Do not use the Windows file properties dialog box to maintain descriptive
information about your project.
Changing or adding information to the Summary tab in the Windows File
Properties dialog box for a TriStation 1131 project file (.pt2) will prevent
TriStation 1131 from opening the file.
There is no way to recover a project file that has been changed in this way.
Procedure
1
Click OK to save.
32
Chapter 1
Project Administration
You can also add audit trail comments when compiling or saving a program, and
building an application. See Building or Rebuilding an Application on page 241.
Procedure
1
33
The controller downloaded project version is the last version of the project file (.pt2)
downloaded to the controller. The version is provided in the format major.minor (for
example, in version 3.7, the major version is 3 and the minor version is 7).
The Emulator downloaded project version is the last version of the project file (.pt2)
downloaded to the Emulator. The version is provided in the format
major.minor.EmulatorCount (for example, in version 3.7.12, the major version is 3, the
minor version is 7, and the EmulatorCount is 12).
The major.minor version is the same as the last controller downloaded project
version.
The EmulatorCount value is incremented sequentially after either a Download All
or a Download Changes to the Emulator.
Note
The complete list of downloaded version changes can be viewed in the Project History
dialog box. See View Project History Command on page 640.
34
Chapter 1
Project Administration
Property
Description
Current
Version
Downloaded
Version
Expand the Application Workspace (see The Application Workspace on page 100), and
right-click a document.
On the shortcut menu that appears, click Properties. The Document Properties dialog
box appears.
On the Summary tab, view the Name property. The version of the document is located
at the end of the name.
For example, if the document name is displayed as LightEmUp - v1.26, the version
number is 1.26.
35
36
Chapter 1
Project Administration
Procedure
1
On the Project menu, click Project Options, and then click the Language tab.
Property
Action
Default Language
Enabled Features
37
Procedure
1
On the Project menu, click Project Options, and then click the Annotations tab.
Action
Annotation on by Default
Monitor Value on by
Default
Alignment
Border
38
Chapter 1
Project Administration
Property
Action
Text Size
Specify the point size for text used in the project. The
default settings are: A (6 points), B (8 points), C (10
points), and D (10 points.)
39
Procedure
1
On the Project menu, click Project Options, and then click the Monitor Colors tab.
Action
Select the color for True and False for BOOL variables
and wires.
The default for True is red; False is green.
Select the color for True and False for cause, effect, and
intersection cells in a CEM (cause and effect matrix).
The default for True is red; False is white.
40
Chapter 1
Project Administration
Procedure
1
On the Project menu, click Project Options, and then click the Forced Points tab.
Specify if you want to be asked to enter a comment when performing the following
actions:
Enabling a point
Disabling a point
Select the check box if you want to be asked; clear the check box if you do not want to be
asked. All check boxes are selected by default (you will be asked for a comment).
3
41
During a Download All operation, the table is downloaded even if no changes have
been made to the table.
During a Download Changes operation, the table is downloaded only if there have
been changes to the table since the last download, including a change to the sort order.
Tagname information from this table is used to help you configure your third-party OPC client
to monitor Tricon system variables and tagnames. The sort order controls how the information
is displayed in the OPC client.
Sort the table by group to view tagnames in an hierarchical list, where tagnames are
organized according to the groups they are assigned to. This sort order is useful for
large projects with many tagnames.
Note
Because the tagnames table is used only for ease of OPC client configuration and is not
needed during normal Tricon operation, your choice of sort order will not have any
impact on TCM performance.
For more information about the TCMs embedded OPC server and configuring your OPC client
to access Tricon tagnames and system variables, see the Communication Guide for Tricon v9-v10
Systems.
Procedure
1
Sort by Tagname
(alphabetical view)
42
Chapter 1
Project Administration
Procedure
1
On the Project menu, click Project Options, and then click the Emulator tab.
Property
Action
Number of
Instances
43
Emulator File
Generation
Select the files you want generated each time you download the
application to the Emulator.
Select the BT2 check box if you want a backup project file (.BT2)
generated (not recommended).
Select the SOE check box if you want an SOE definition file
(.SOE) generated. If you want to be able to test your SOE
configuration with the Emulator, you must select this option.
If selected, the .BT2 file and/or .SOE file are generated in the same
directory where the TriStation 1131 project is located. The default
setting is for the files to not be generated.
Note: These files will look just like the .BT2 and .SOE files
generated by TriStation 1131 when you download an
application to the controller. You will not be able to
distinguish between files generated by a download to the
Emulator, and files generated by a download to the
controller. You may want to make a note of the date and
time each time you download the application to the
Emulator, so you can compare that timestamp to the
date/time of the generated files.
44
Chapter 1
Project Administration
Property
Action
Communication
Modules (CMs)
for Peer-to-Peer
Communication
Modules (CMs)
for Modbus
45
46
Chapter 1
Project Administration
Procedure
1
On the Tools menu, click TriStation 1131 Options, and then click the Directories tab.
Action
Project Files
Data Files
Temporary
Files
Use Defaults
Note
3
Click the Use Defaults button to return the settings to the default paths.
TriStation 1131 projects must always be run from a local drive. You should not
enter directory paths that point to a location on your network.
47
Procedure
1
On the Tools menu, click TriStation 1131 Options, and then click the Drawing Colors tab.
Property
Action
Drawing Item
48
Chapter 1
Project Administration
Procedure
1
On the Tools menu, click TriStation 1131 Options, and then click the FBD Editor tab.
Property
Action
Select the check box to enable the wire tool for lefthanded use. The default is cleared.
49
Procedure
1
On the Tools menu, click TriStation 1131 Options, and then click the LD Editor tab.
Property
Action
Select the check box to enable the link tool for lefthanded use. The default is cleared.
50
Chapter 1
Project Administration
Procedure
1
On the Project menu, click TriStation 1131 Options, and then click the CEM Editor tab.
Property
Action
Intersection Functions On by
Default
51
If you have added your own custom libraries to TriStation 1131, this feature allows you
to provide customized Help for these libraries.
If you have specific sets of instructions for creating a safety or control application in
your organization, this feature allows you to provide a customized Help file with that
information.
You are responsible for the creation of the Help files you want to add to the TriStation 1131 Help
menu. Help files must be in the compiled HTML Help format (.chm). WebHelp, DotNet Help,
WinHelp, or other types of Help files cannot be added. For more information about creating
HTML Help, please see the Microsoft web site at www.microsoft.com.
The Triconex Emulator Help file (TCXEMX.chm) has already been added to the Help menu as
a custom Help file. Invensys recommends not removing this Help file from the list.
Note
Topics include:
52
Chapter 1
Project Administration
Procedure
1
Click Browse to locate and select the Help file you want to add.
Help files must be in the compiled HTML Help format (.chm).
Click Add File. The Help file is added to the TriStation 1131 Help menu.
Custom
Help Files
53
Procedure
1
In the list of custom Help files, select the file(s) you want to remove.
54
Chapter 1
Project Administration
The security setting defines the type of authentication used to identify users upon
login. Choose the security setting that is right for your implementation:
Standard Security uses a simple user name / password scheme. This is the default
setting.
Enhanced Security adds another layer of protection against unauthorized access by
requiring Windows domain user authentication.
User security levels define what operations a user can perform while using TriStation
1131. Access is based on the security level assigned to the user, from the highest level
(01) to the lowest level (10). Each level of security includes default settings for the
operation privileges allowed for that level. For example, the Manager level (03)
includes privileges for operations associated with managing a TriStation 1131 project.
Only users assigned to levels 01, 02, or 03 can access the security controls for controller and
TriStation 1131 operations.
Each new TriStation 1131 project is created with a default user name (MANAGER) and
password (PASSWORD). Once you have created a project, you should immediately add at least
one more level 01 user. This ensures that if you forget the password for the default level 01 user,
youll still be able to log in as the secondary level 01 user, and have the ability to add or modify
users, or change the security setting.
To ensure unauthorized users do not access the project, you should create a user account for
each person who will be working with the project before application development begins, and
not allow multiple users to access the project using the default level 01 user information.
Note
Access to a project can be further restricted by settings on documents and operating parameters.
If you are trying to edit a user document created by another user, and are unable to do so even
when you have the correct user level and access privileges, check the documents access
property. If it is locked, you must ask the user who created the document to change the access
property. See Restricting Access to a Document on page 114.
Note
2.
If you have a Tricon Communication Module2 (TCM), a Trident v2.x CM, or a Tri-GP
CM installed in your system, access to the controller via TriStation 1131 can also be
managed via the optional access control list. See Controlling Access to the TCM on
page 386 or Controlling Access to the Trident 2.x or Tri-GP CM on page 434.
Except models 4351 and 4352, which do not have the access control list feature.
55
Topics include:
Standard Security: When selected, a user name and password is required to open the
TriStation 1131 project. No other user authentication is required.
This is the default setting. If you used a version of TriStation 1131 previous to version
4.7.0, this security setting is the same as the user name / password login used in
previous versions.
Enhanced Security: When selected, Windows and TriStation 1131 user authentications
are required to log in. The user name for each TriStation 1131 user must be the same as
the users Windows user name.
CAUTION
If you change the security setting from Standard to Enhanced, make sure
that at least one level 01 user has a valid Windows user name before
closing the project. Failure to do so will prevent you from opening the
project again and/or changing the security setting back to Standard.
Each TriStation 1131 project has its own security setting. Each time you change the security
setting for a project, the change is captured in the project history (see View Project History
Command on page 640).
Note
If you need to send a project file that uses Enhanced Security to Invensys Technical
Support for troubleshooting purposes, you must do the following:
Send the copy file (with Standard Security enabled) to Technical Support.
Leaving your project file set to use Enhanced Security may prevent technical support
personnel from being able to open the project file.
56
Chapter 1
Project Administration
This procedure describes how to change the security setting for a project.
Procedure
1
On the Project menu, click Security. The Security dialog box appears.
On the Security Setting tab, select the setting you want to use: Standard Security or
Enhanced Security.
Note
If both options are unavailable, you are not a level 01 user. You must be a level
01 user to change the security setting.
If you downgraded the security setting from Enhanced to Standard, this procedure
is complete. Go to Managing Users on page 58 to edit users as needed.
If you upgraded the security setting from Standard to Enhanced, go to the next step.
When prompted, enter your Windows user name and password, and then click OK.
57
If your Windows user name was previously added to the project user list, and
TriStation 1131 was able to successfully authenticate your Windows user name and
password, this procedure is complete. Go to Managing Users on page 58 to edit
users as needed.
If this is the first time you have upgraded the security setting from Standard to
Enhanced, and TriStation 1131 was able to successfully authenticate your Windows
user name and password, the Add User dialog box appears so you can add yourself
as a Windows user to the project user list. Go to the next step.
Action
Full Name
Enter or change the users full name (for example, John Smith).
Description
Enter or change the description for the user (for example, their job
title or function).
User Name
You cannot change the user name, because it must be the same as
the users Windows user name.
Password
Enter the users password. This is NOT the same as the users
Windows password. You should select a different password,
unique to the users TriStation 1131 account.
See Recommended Rules for Passwords on page 60 for minimum
requirements.
Verify Password
Security Level
58
Chapter 1
Project Administration
Managing Users
This procedure explains how to manage users, which includes creating, modifying, and
deleting TriStation 1131 users. Only users assigned to security levels 01, 02, or 03 can access the
Security dialog box and view user access settings.
Note
If Enhanced Security is enabled, a quick way to prevent a user from accessing TriStation
1131 is to add their Windows user account to the Windows Local Security Policy Deny
access to this computer from the network list.
Using the Print All command, you can print a Project Users report, which lists all the users that
have been added to the projects user list. See Printing Project Documents on page 91.
Procedure
1
On the Project menu, click Security, and then click the Users tab.
Action
New
To create a new user, click New. For further instructions, see Adding
and Modifying User Access on page 59.
Modify
To modify a user, select a user in the list, and then click Modify. See
Adding and Modifying User Access on page 59 for further
instructions.
Delete
To delete a user, select a user in the list, and then click Delete.
The default level 01 user (MANAGER) can be deleted only if another
level 01 user has already been created.
If Enhanced Security has ever been enabled (even if it is not the current
security setting), you cannot delete the last level 01 Windows user.
Note
Unless you have level 01 access, you cannot add, modify, or delete users who
have the same or higher security level as yourself. Thus, if you have level 03
59
access, you cannot add, modify, or delete users with level 03, 02, or 01 access. If
you have level 02 access, you cannot add, modify, or delete users with level 02 or
01 access. If you have security level 01 access, you can add, modify, or delete
other level 01 users, but you cannot delete yourself.
3
When Enhanced Security is enabled, the first time a newly-added user logs in, they need
to log in twice for authentication purposes. See Logging In for the First Time When
Enhanced Security Is Enabled on page 28 for more information.
Procedure
1
On the Project menu, click Security, and then click the Users tab.
To modify a user, click the user name, and then click Modify.
Action
Full Name
Description
60
Chapter 1
Project Administration
Property
Action
Logon Name
Password
Verify Password
Security Level
Select the security level for this user. Level 01 is the highest; level 10
is the lowest.
If the user whose information you are modifying is the only level 01
Windows user, you cannot change the security level. Enhanced
Security requires at least one level 01 Windows user. To change this
users level, assign another Windows user to level 01, and then try
changing this users level again.
61
These rules will NOT be validated by TriStation 1131 when you enter or change the users
password, so it is up to you to ensure user passwords meet these requirements. Invensys
recommends you check the latest NERC Cyber Security standards (available at www.nerc.com)
for all the latest applicable password requirements.
If Enhanced Security is enabled, Windows passwords will be used. As a result, these password
rules should be enforced at the Windows domain / Active Directory level. See your network
administrator for more information about how to enforce requirements for Windows
passwords.
Note
When Enhanced Security is enabled, all TriStation 1131 passwords are protected from
unauthorized read or copy access because they are stored and protected by Windows
security mechanisms. This meets the NERC Cyber Security standards regarding
password security. However, when Standard Security setting is enabled, this level of
password protection is not provided.
Using the Print All command, you can print a Project Security Levels report, which lists the
security levels currently assigned to each operation. See Printing Project Documents on page 91.
Procedure
1
3.
On the Project menu, click Security, and then click the Privileges tab.
Except TCM models 4351 and 4352, which do not have the access control list feature.
62
Chapter 1
Project Administration
Action
Operation Type
Operations
Click the operation, and then select the check box for the level of
security to be assigned to the operation.
Press Shift and click to select multiple contiguous items.
Press Ctrl and click to select multiple non-contiguous items.
3
Note
63
Procedure
1
On the Project menu, click Security, and then click the Level Names tab.
Level
Name
Level
Name
01
Corporate Manager
06
Maintenance Manager
02
Site Manager
07
Maintenance Engineer
03
Project Manager
08
Operations Manager
04
Project Engineer
09
Operator
05
Project Programmer
10
Level 10
64
Chapter 1
Project Administration
For more information about the Enhanced Security option, see Changing the Security
Setting on page 55.
TriStation 1131 uses the Windows System Events Log to store the following information about
user login and logoff attempts:
Login failure due to the user forgetting to enter their Windows user name and/or
password (this is referred to as an incorrect parameter error)
Successful logoff (when the user closes the TriStation 1131 project)
You can view this log to determine if an unauthorized user is attempting to log in to TriStation
1131 projects. You can also use this log as a troubleshooting tool when helping a user who is
having login problems.
Note
If you are logged into Windows using a Guest account, you will be unable to view the
Windows System Events Log. For more information, see Microsoft Knowledge Base
Article 842209 (http://support.microsoft.com/kb/842209).
Procedure
1
On the Start menu, click Control Panel, and then double-click Administrative Tools.
Double-click the Event Viewer icon. The Windows Event Viewer opens.
In the console tree, click Application. Event information appears in the details pane.
In the details pane, click the Source column header to sort the events by application.
65
Procedure
1
In the Windows Event Viewer, display the event log with the user access information
that you want to save to a file.
66
Chapter 1
Project Administration
If you archive a log in log-file format, you can reopen it in Event Viewer. Logs
saved as event log files (.evt) retain the binary data for each event recorded.
If you archive a log in text (.txt) or comma-delimited (.csv) format, you can reopen
the log in other programs, such as word processing or spreadsheet programs. Logs
saved in text or comma-delimited format do not retain the binary data.
Procedure
1
On the Start menu, click Control Panel, and then double-click Administrative Tools.
Double-click the Event Viewer icon. The Windows Event Viewer opens.
In the console tree, right-click Application. The Application Properties dialog box
appears.
To increase the maximum size of the event log file, enter the desired value (in KB) in
the Maximum log size field
67
Clearing the log file will clear ALL application event information, not just events related
to TriStation 1131. Invensys highly recommends saving the file prior to clearing it.
Procedure
1
On the Start menu, click Control Panel, and then double-click Administrative Tools.
Double-click the Event Viewer icon. The Windows Event Viewer opens.
In the console tree, right-click Application, and then select Clear all events.
When prompted to save the log before clearing it, click Yes.
Select the location where you want to save the file to, and click Save.
The file is saved to your selected location, and the current log file is cleared.
68
Chapter 1
Project Administration
Libraries created in TriStation 1131 v4.0 and later can be imported to projects developed
in TriStation 1131 v4.9.0.
1131 4.9.0\Data.
For more information about the libraries automatically included with a TriStation 1131 project,
see the TriStation 1131 Libraries Reference.
Information about the version numbers of libraries included with each TriStation 1131 release
can be found in the Product Release Notice for TriStation 1131 v4.x, available on the Invensys
Global Customer Support web site.
Topics include:
69
Procedure
1
Open the TriStation 1131 project that contains the elements you want to copy.
Expand the Application tree, right-click User Documents, and then click Create Library.
Do either of these:
To create a new library, click Create New Library Specification, click Next, and skip
to step 5.
To add elements to an existing library, click Use Existing Library Specification, and
then click Next.
70
Chapter 1
Project Administration
Navigate to the library directory, and click the library file you want to add elements to.
In the list on the left, click the document that you want to include, and then click the
angle brackets ( >> ) to move the element to the right side.
To select several documents at the same time, press Ctrl, and click each document. To
select all the documents, press Ctrl and Shift, and click the top and bottom documents.
When you are finished selecting the elements to be included in the library, click Next.
71
Add information about the library, including a name, description, and major and minor
version number. You can also specify whether the source code can be viewed or
restricted from other users.
If you want to save the library to a path other than the default directory, browse to select
the path where you want to save the new library files.
72
Chapter 1
Project Administration
10
Do either of these:
To save the files as a library, click Save the specification and create the Library. If
you create a library, a library.lsp file and a library.lt2 file are created (where library is
the name you selected in step 7).
To save the specification, but not create the library, click Just save the specification.
You might want to do this if you are planning to create a project library, but are not
finished with the documents in the project. If you save just the specification, a
library.lsp file is created. You can open this file and create the library file based on
the specifications at a later time.
Click Finish.
73
Managing Libraries
This procedure explains how to manage libraries. TriStation 1131 automatically includes IEC
libraries with functions, function blocks, and data types that can be copied and sometimes
modified for a project. You can also add libraries of project elements that were created in other
TriStation 1131 projects.
Note
Using the Print All command, you can print reports listing all the functions and function
blocks included in each library (Library Documents: Report), as well as a report listing
all the currently installed libraries and their version numbers (Shared Libraries). See
Printing Project Documents on page 91.
Procedure
1
Expand the Application tree, right-click Library Documents, and click Manage.
Action
Add
Update
Delete
74
Chapter 1
Project Administration
Adding a Library
This procedure explains how to add libraries to a TriStation 1131 project. This allows you to
update libraries provided by Invensys, and add libraries of project elements from other
TriStation 1131 projects.
Note
When the project is in the Download Changes state, a library can be added only if it does
not impact function blocks that have already been downloaded to the controller. If any
of the elements in the library being added are incompatible with elements that have
already been downloaded to the controller, you must change the project state to
Download All in order to add the library.
If you want to add new elements to an existing library, see Making Partial Changes to a Library
on page 77.
Procedure
1
If TriStation 1131 v3.1.3 or earlier was used to compile the function block and then
export the library, when the library is imported into TriStation 1131 v4.x a trap will
occur when the function block is used in a program with the control flag set.
If TriStation 1131 v4.0 or later was used to compile the function block and export the
library, the library is fully compatible with TriStation 1131 v4.x, and you may continue
with the library import process.
Note
Because VAR_IN_OUT is not allowed in a program with the safety flag set, this
problem will not occur in a safety program if you use the flags properly, regardless of
the version of TriStation 1131 used to compile and export the library.
75
If TriStation 1131 v3.1.3 or earlier was used to compile and export the library, and you choose
to continue importing the library, you can prevent a trap from occurring in your application by
substituting a VAR_INPUT and VAR_OUTPUT for each VAR_IN_OUT parameter in the
affected function block(s).
In this case, once you have imported the library and built the project, you may also want to use
the TriStation 1131 Project Analysis utility (TS2Analysis.exe) to verify that you have removed
all VAR_IN_OUT parameters from the affected function blocks.
See Product Alert Notice #10, available on the Invensys Global Customer Support web site, for
more information, including detailed instructions for obtaining and using the Project Analysis
Utility.
Updating a Library
This procedure explains how to update TriStation 1131 libraries for your project. When you
request an update, TriStation 1131 compares the library in the project with the most current
installed library and displays a message indicating the versions of each. You can then update
the library or cancel the operation.
Libraries can be updated only if they are located in the default Data directory:
When the project is in the Download Changes state, a library can be updated only if it does not
change function blocks that have already been downloaded to the controller. If any of the
elements in the library being updated have already been downloaded to the controller, you
must change the project state to Download All in order to update the library.
Please note the following regarding updating the TRDLIB, TR1LIB, or TX1LIB libraries:
If the project is in the Download Changes state, these libraries can only be updated if
the library version is equal to or later than the version listed in the following table:
Library
TRDLIB
1.113 or later
TR1LIB
1.89 or later
TX1LIB
1.62 or later
If the library version is earlier than those listed above, the library can only be updated if
the project is in the Download All state.
To update only selected elements in an existing library, and not the entire library, see Making
Partial Changes to a Library on page 77.
Procedure
1
Expand the Application tree, right-click Library Documents, and then click Manage.
TriStation 1131 Developers Guide, v4.9.0
76
Chapter 1
Project Administration
Deleting a Library
This procedure explains how to delete a library from a TriStation 1131 project.
Note
When the project is in the Download Changes state, a library can be deleted only if it
does not contain function blocks that have already been downloaded to the controller. If
any of the elements in the library being deleted have already been downloaded to the
controller, you must change the project state to Download All in order to delete the
library.
If you want to delete selected elements from a library, but do not want to delete the entire
library, see Making Partial Changes to a Library on page 77.
Procedure
1
Expand the Application tree, right-click Library Documents, and then click Manage.
When prompted, click Yes to confirm deletion of the library. Click No to cancel.
77
All partial changes must be compatible with the other elements in the library. You cannot make
partial changes to the following standard Triconex libraries:
STDLIB
TX1LIB
TR1LIB
TRDLIB
If the project is in the Download Changes state, you cannot delete an element if it has already
been downloaded to a controller or if it is referenced anywhere in your project. You must
change the project state to Download All to update elements that have already been
downloaded.
Note
If you upgraded a project from TriStation 1131 v4.1.x or v4.2.x, and chose to not update
the TCXLIB library during project conversion (see Converting Existing Projects to
Version 4.9.0 on page 11), you can update the library after project conversion is complete
by making partial changes to the library. This maintains your project in the Download
Changes state. However, any TCXLIB functions that have already been downloaded
to the controller will not be updated while in the Download Changes state.
Libraries can be updated only if they are located in the default Data directory:
Procedure
1
Expand the Application tree, right-click Library Documents, and then click Manage.
78
Chapter 1
Project Administration
Select the library you want to make changes to, and then do one of the following:
To add new elements to the library or update existing elements in the library, click
Update.
The Select Elements for Partial Library Change dialog box appears.
Note
Only elements that are eligible to be included as part of the partial change
operation are displayed in the Available Library Elements list. When the project
is in the Download All state, all elements are eligible, as long as they are
compatible with other elements in the project. However, when the project is in
the Download Changes state, elements that have already been downloaded to
the controller, or have been used somewhere in the project, are not eligible for
inclusion in the partial change operation.
In the list on the left, click the element(s) that you want to add, update, or delete.
To select several elements at the same time, press Ctrl, and click each element. To select
all the elements, press Ctrl and Shift, and click the top and bottom elements. You can also
click an element, and then drag your pointer over the other elements you want to select.
Click the angle brackets ( >> ) to move the selected element(s) to the right side.
When you are finished selecting the elements to be included in the partial change
operation, click OK.
The selected elements are added to, updated in, or deleted from the library.
79
Only libraries that are located in the default library directory can be verified. If a library
is not located in the default directory, an error message will appear, stating that the
library is unregistered. For more information about the default directory, see Specifying
Directory Locations on page 46.
Procedure
1
Expand the Application tree, right-click Library Documents, and then click Manage.
80
Chapter 1
Project Administration
Generating Reports
This section describes how to view and print standard TriStation 1131 reports. You can also
export reports to a variety of formats, which can be saved to disk or sent to an e-mail address.
Standard reports are displayed through the Crystal Reports viewer, which is installed with the
TriStation 1131 software. Custom reports must be created using the SAP Crystal Reports
software, which can be purchased separately.
Topics include:
Procedure
1
Open the Project Workspace (see The Project Workspace on page 20), and right-click the
Default Reports or User Reports folder.
Procedure
1
Open the Project Workspace and then double-click a report. The report appears in the
report viewer window.
Generating Reports
Note
81
If the report database was not updated after the TriStation 1131 software was
installed, a File Not Found message will appear. Update the reports database
(see Updating the Report Database on page 80) and then try viewing the report
again.
Action
Print Command
Export Report
Command
Refresh Command
Size of view
Search Text
Command
82
Chapter 1
Project Administration
Procedure
1
In the Crystal Reports software, create a report and save it in a file with the extension
.rpt.
Put the .rpt file in the Data Files directory. For more information on directory locations,
see Specifying Directory Locations on page 46.
The next time you open the project, the report will be included in the User Reports list.
If the report is added while the project is open, you must close and re-open the project
to view the report in the list.
Exporting Reports
This procedure explains how to export report data in TriStation 1131. You can export reports to
a variety of file formats, and can save the exported data to a disk or send it to someone via
Microsoft Mail.
Procedure
1
Open the Project Workspace and then double-click the report you want to export. The
report appears in the report viewer window.
Property
Action
Export Format
Export Destination
Click OK to continue.
Depending on the format, additional information, such as the characters to use to
separate and delimit a file, may be requested.
Generating Reports
83
84
Chapter 1
Project Administration
The TRHWDCHS file contains information about the chassis types used in the system.
Table 2
Field Name
Field Type
Description
CHASTYPE (key)
Number
CHASDESC
String
Chassis description
The TRHWDMOD file contains information about the modules used in the system.
Table 3
Field Name
Field Type
Description
MODTYPE (key)
Number
MODDESC
String
Module description
MODMODEL
String
The TRPRGINS file contains information about the programs in the project.
Table 4
Field Name
Field Type
Description
PROGNAME
String
Program name
SEQUENCE
Number
The TRINSVAR file contains information about the variable connections in the program.
Table 5
Field Name
Field Type
Description
INSTNAME (key)
String
VARPATH
String
PROGNAME
String
Program name
VARNAME
String
TAGNAME
String
Tagname
VAROUTPUT
Strings
Generating Reports
85
The TRGLBVAR file contains information about the tagnames (global variables) in the project.
Table 6
Field Name
Field Type
Description
TAGNAME (key)
String
Tagname
GROUP1
String
Group 1 name
GROUP2
String
Group 2 name
DESCRIP
String
Tagname description
LOCATION
String
MODBUS
String
DATATYP
String
DATACLASS
String
TYPECLASS
String
APPLICATN
String
SHARED
String
RETENTIVE
Boolean
INITVALUE
String
DECPL
Number
MINSPAN
Number
MAXSPAN
Number
SYSTEMTAG
Boolean
Is a system variable
MULTIWRIT
Boolean
The TRSYSOPS file contains information about the operating parameter settings in the project.
Table 7
Field Name
Field Type
Description
CNFGVERS
String
NETNODE
Number
NETALIAS
String
SCANRATE
Number
PSWDREQD
Boolean
DSBLSTOP
Boolean
DSBLMBWR
Boolean
DSBLRCHG
Boolean
DSBLPNTS
Boolean
86
Chapter 1
Project Administration
The TRIMPPAR file contains information about the implementation settings (scan rate, Peer-toPeer sends/receives) in the project.
Table 8
Field Name
Field Type
Description
PARKEY (key)
Number
Parameter ID number
PARNAME
String
Parameter name
PARDESC
String
Parameter description
The TRSOEBLK file contains information about the SOE block definitions in the project.
Table 9
Field Name
Field Type
Description
SOEBLKNUM (key)
Number
SOEBLKTTL
String
SOEBUFSIZ
Number
SOEBLKTYP
String
The TRSOEVAR file contains information about the SOE tagnames used in the project.
Table 10
Field Name
Field Type
Description
SOEBLKNUM (key)
Number
TAGNAME
String
Tagname
TRUENAME
String
FALSENAME
Strings
TRUECLR
String
FALSECLR
String
The TRMODCFG file contains information about the module configuration used in the project.
Table 11
Field Name
Field Type
Description
CHASNUM (key)
Number
CHASTYPE
Number
SLOTNUM
Number
MODTYPE
Number
Generating Reports
87
Field Name
Field Type
Description
DATADESC
String
MAXPTS
Number
ALLOCPTS
Number
FCASTPNTS
Number
CURRPTS
Number
The SECUSERS file contains information about the users authorized access to the project.
Table 13
Field Name
Field Type
Description
LOGINNAME (key)
String
USERNAME
String
DESCRIP
String
User description
PRIVLEVEL
Number
The SECLVLS file contains information about the users access (privilege) level in the project.
Table 14
Field Name
Field Type
Description
PRIVLEVEL (key)
Number
DESCRIP
String
User description
The SECOPRS file contains information about the level of access required to use TriStation 1131
and controller operations.
Table 15
Field Name
Field Type
Description
CATEGORY
String
DESCRIP
String
User description
PRIVLEVEL
Number
88
Chapter 1
Project Administration
The PRINFO file contains information that is used when reports are printed.
Table 16
Field Name
Field Type
Description
PRJNAME
String
Project name
DESCRIP
String
Project description
VERSION
String
COINFO1
String
Company information 1
COINFO2
String
Company information 2
COINFO3
String
Company information 3
DBDATE
Date
DBTIME
String
The PRLIBS file contains information about the libraries included in the project.
Table 17
Field Name
Field Type
Description
LIBNAME (key)
String
Library name
DESCRIP
String
Library description
VERSION
String
The PRELEMS file contains information about the elements (programs, functions, function
blocks, and data types) in the project.
Table 18
Field Name
Field Type
Description
ELEMNAME (key)
String
Element name
VERSION
String
CATEGORY
String
Element category
DESCRIP
String
Element description
ELEMTYPE
String
LANGUAGE
String
OWNER
String
USERDEFINE
Boolean
LIBRARY
Boolean
Library indicator
LIBNAME
8 characters
Library name
LOCKED
Boolean
Generating Reports
Table 18
89
Field Name
Field Type
Description
READONLY
Boolean
DRWGTITLE
String
Drawing title
DRWGNUM
Strings
Drawing number
DRWGREV
String
Drawing revision
DRWGCBY
String
DRWGCDATE
Date
Created date
DRWGCTIME
String
Created time
DRWGMBY
String
DRWGMDATE
Date
Modified date
DRWGMTIME
String
Modified time
DRWGAB
String
Approved by name
DRWGADT
String
Approved date
APPLICATN
String
The PRPOUVAR file contains information about the POUs (program organizational units),
which include programs, functions, and function blocks.
Table 19
Field Name
Field Type
Description
VARPATH
String
POUNAME (key)
String
POU name
VARNAME ((key)
String
DESCRIP
String
Element description
DATATYPE
String
DATACLASS
String
INITVALUE
String
The PRPOUXRF file contains information about where variables are located in the project.
Table 20
Field Name
Field Type
Description
VARPATH (key)
String
SEQNO
Number
SHTCOORD
String
90
Chapter 1
Project Administration
Field Name
Field Type
Description
EVENTID
String
ID of the event
USERNAME
String
ELEMNAME
String
COMMENT
String
Comment on change
DATE
Date
Date of change
TIME
String
Time of change
ACTION
String
91
Item
Description
Function
Function Blocks
92
Chapter 1
Project Administration
Table 22
Item
Description
Operating Parameters
POU Variables
POU Cross-Reference
Programs
Project Implementation
Table 22
93
Item
Description
Project Users
Shared Libraries
User Documents
Note
If you have a PDF printer driver (such as Adobe Acrobat or PrimoPDF) installed on
your PC, you can choose to print these documents to a PDF file instead of a printer. This
may be useful if you need to provide information to Invensys Customer Support when
troubleshooting a problem, or any time you need to save or transfer this information
electronically. Contact your system administrator if you need assistance with installing
a PDF printer driver on your PC.
94
Chapter 1
Project Administration
If the Print command is not enabled for the document you want to print, you may be able
to print it by selecting the document from the Print All Options list. See Printing
Multiple Documents on page 94.
Procedure
1
Open the logic sheet, function block, or report you want to print.
On the File menu, select Print. The Print dialog box appears.
Select the desired properties for your printer (number of copies, page orientation, etc),
and then click OK.
The document currently being viewed is printed.
Procedure
1
Open the Project Workspace (see The Project Workspace on page 20).
On the File menu, select Print All. The Print All Options dialog box appears.
95
Select the check boxes for the documents you want to print. See Printable Project
Documents on page 91 for a description of each document in the list.
To quickly clear the check boxes for all the documents in the list, and make it easier to
select only those documents you want to print, clear the Select All check box.
Select the printer you want to use, and the desired settings (number of copies, page
orientation, etc), and then click OK.
The selected documents are printed.
Note
If any of the selected documents do not have content to be printed (for example,
if you selected the Functions document, but no functions have been defined in
the project), a message will appear in the messages window (see Message View
Command on page 561).
96
Chapter 1
Project Administration
2
Application Development
Overview
98
99
98
Chapter 2
Application Development
Overview
This figure shows the main steps for developing a TriStation 1131 application. An application
can be developed and tested on the Emulator before downloading the application to a
controller.
Set Up the Project
Develop the
Application
Errors?
No
C onfigure the
C ontroller
Set Up TriStation
C ommunication
Implement on
the C ontroller
99
See
Declare tagnames.
100
Chapter 2
Application Development
Application Elements
This section describes the elements of an application and the steps in application development.
Topics include:
Application Elements
101
102
Chapter 2
Application Development
Parts of an Application
The major elements in an application are programs, functions, function blocks, tagnames,
variables, implementation information, and controller configuration.
Application
An application includes application elements and configuration information that is built
(compiled) into executable code and downloaded and run on a Triconex controller.
The maximum number of programs in an application is 250.
Programs
A program is an executable element that includes one or more functions and function blocks. A
program can invoke functions and function blocks but cannot invoke another program. A
program is initiated from the Execution List.
The maximum number of user-defined variables that can be used in a program is 2,000, which
includes local variables and tagnames, but not VAR_TEMP variables.
Application Elements
103
User-Defined Functions
In user-defined functions, if no value is assigned to the function output, the return value is the
default initial value. If there is not a statement that assigns a value to the function output, a
compiler error occurs. No error or warning is issued if an assignment to the function output is
in a conditional statement and is not executed.
Tagnames
A tagname identifies input, output, and memory points that are accessible to all programs in the
application. In IEC terminology, tagnames are called global variables. The maximum number of
user-defined variables and tagnames in a program is 2,000.
Variables
A variable is a named area in memory that stores a value or string assigned to that variable.
Table 23
Variable Type
Used With
Input
In/Out
Function blocks
Output
Local
Tagname
Programs
VAR_TEMP
Data Types
A data type identifies the type of data used in tagnames and variables. TriStation 1131 uses both
elementary and generic data types. For more information, see Appendix B, Data Types.
Elementary types are defined by IEC 61131-3 and include: BOOL, DATE, DINT, DT,
DWORD, INT, LREAL, REAL, STRING, TIME, and TOD. TriStation 1131 also supports
the derivation of structured, array, and enumerated data types.
Generic data types are used to organize elementary data types that have similar
properties and can be used with IEC 61131-3 standard functions that support
overloaded inputs and outputs. Generic data type names use the prefix ANY.
Controller Configuration
The controller configuration specifies the communication characteristics for memory, module
configuration, and other hardware-related settings. When the application is built, this
information is required. For more information, see Chapter 3, Tricon Controller Configuration
and Chapter 4, Trident and Tri-GP Controller Configuration.
104
Chapter 2
Application Development
Implementation Information
Implementation information includes the Execution List, Scan Time, SOE, and Peer-to-Peer
setup.
Application Elements
Use
Programs
Functions and
Function Blocks
Tagnames
Library functions and function blocks are designated as approved for use in
safety and control or control applications. These designations cannot be
changed.
Application Elements
105
Programming Languages
TriStation 1131 supports multiple programming languages for developing, testing, and
documenting applications that run on a Triconex controller.
TriStation 1131 supports these programming languages:
The Function Block Diagram, Ladder Diagram, and Structured Text languages comply with the
IEC 61131-3 International Standard on Programming Languages for Programmable Controllers.
CEMPLE is an optional language that can be purchased separately from Invensys.
Figure 1
106
Chapter 2
Application Development
Figure 2
Application Elements
107
Figure 3
108
Chapter 2
Application Development
Figure 4
User Documents
109
User Documents
This section describes the how to create and specify user documents, which include programs,
functions, function blocks, and data types. Topics include:
Note
If you are trying to edit a user document created by another user, and are unable to do
so even when you have the correct user level and access privileges, check the
documents access property. If it is locked, you must ask the user who created the
document to change the access property. See Restricting Access to a Document on
page 114.
Procedure
1
Expand the Application tree, right-click the User Documents folder, and then click New
Document.
110
Chapter 2
Application Development
Action
Name
Document Type
Language
Application Type
Using the Print All command, you can print a report listing all the user documents you
have created in a project (User Documents). See Printing Project Documents on page 91.
Topics include:
Procedure
1
Expand the Application tree, right-click the document to be copied, and click Copy.
If the document is open in TriStation 1131, the Copy command will be unavailable. Close
the document and then repeat step 1.
User Documents
111
Enter the name for the new document, and click OK.
Procedure
1
Expand the Application tree, open the Library Documents folder and locate the function
or data type you want to copy.
In the Application tree, right-click the User Documents folder and select Paste.
Enter a name for the copied document, and then click OK.
The new function or data type is now located in the appropriate folder in the User
Documents folder.
112
Chapter 2
Application Development
Procedure
1
Expand the Application tree, right-click a document (program, function, function block,
or data type) and click Properties.
Property
Action
Name
Internal ID
Owned by
Created
Modified
Displays the date and time the document was last modified.
Compiled
Displays the date and time the document was last compiled.
Category
Description
Document Access
Select the type of access to allow for this document. The default is
Read/Write. See Restricting Access to a Document on page 114.
Change Owner
Command
User Documents
113
Procedure
1
Expand the Application tree, right-click a document (program, function, function block,
or data type), and click Properties.
Action
Application Type
114
Chapter 2
Application Development
Procedure
1
Expand the Application tree, right-click a document (program, function, function block,
or data type), and click Properties.
Document
Access
property
On the Summary tab, select the access type for this document. The default value is
Read/Write.
User Documents
115
Be the same or greater than the security level of the user you want to assign as owner
For more information about user security levels, see Managing User Access on page 54.
Procedure
1
Expand the Application tree, right-click a document (program, function, function block,
or data type), and click Properties.
In the Users dialog box, select the user who is to become owner of this element.
Click OK.
The Owned By property in the Document Properties dialog box displays the name of the
new owner.
116
Chapter 2
Application Development
117
Declaration Tree
Insert Output
Variable
Command
11
Comment Tool
16
Zoom To Fit
Command
Selection Tools
Insert Input
Variable
Command
12
Horizontal Network
Divider Command
17
Previous Sheet
Command
Function Block
Command
Tagname
13
Vertical Network
Divider Command
18
Sheet Manager
Local Variable
Constant
14
Auto Name
Command
19
Next Sheet
Input Variable
10
Wire Tool
Command
15
Zoom Command
Figure 5
4 5 6
7 8
9 10 11 12 13 14 15 16
17 18 19
118
Chapter 2
Application Development
Declaration Tree
Input
13
Link Command
19
Zoom To Fit
Command
Selection Tools
Local Variable
14
Comment Tool
20
Previous Sheet
Command
Function Block
Command
Insert Output
Variable
Command
15
Horizontal Network
Divider Command
21
Sheet Manager
Contact
Command
10
Insert Input
Variable
Command
16
Vertical Network
Divider Command
22
Next Sheet
Coil Tool
Command
11
Tagname
17
Auto Name
Command
12
Constant
18
Zoom Command
Figure 6
7 8
9 10 11 12 13 14 15 16 17 18 19 20 21 22
119
Output terminal
Input terminals
Evaluation order
in program
Function Block
Names of input
terminals
Input terminals
Evaluation order
in program
Figure 7
Table 25
Item
Description
Instance name
Names of terminals
Identify the input and output parameters used with the function block.
Terminals
Evaluation order
Type name
120
Chapter 2
Application Development
Procedure
1
Expand the Application tree, and then create or open a program, function, or function
block.
Description
SheetTemplate A
8.5 x 11
SheetTemplate B
11 x 17 (default)
SheetTemplate C
17 x 22
SheetTemplate D
22 x 34
Note
121
Logic sheets are oriented in the landscape (horizontal) direction. If you want
your logic sheets to be in the portrait (vertical) orientation, be sure to select the
_Portrait version of the desired sheet template.
Click OK to save your selection and apply the new sheet size to the open program,
function, or function block.
The new sheet size will also apply to any new programs, functions, or function blocks
you create.
Procedure
1
Expand the Application tree, and then create or open a program, function, or function
block.
To add a new sheet after an existing sheet, select the existing sheet, and then click
Append. In the Enter Sheet Title box, enter the new sheet title and then click OK.
To add a new sheet before an existing sheet, select the existing sheet, and then click
Insert. In the Enter Sheet Title box, enter the new sheet title and then click OK.
To delete an existing sheet, select the sheet you want to remove and then click
Delete. You are not asked to confirm the deletion of the sheet, so be sure you have
selected the correct sheet before clicking Delete.
To change an existing sheets title, select the sheet whose title you want to change,
and then click Title. In the Enter Sheet Title box, enter the new sheet title and then
click OK.
Note
4
To view a specific sheet, select the sheet and then click Go To.
122
Chapter 2
Application Development
Procedure
1
Expand the Application tree, and then create or open a program, function, or function
block.
Use the Previous Sheet and/or Next Sheet buttons on the FBD or LD Editor toolbar
to display the sheet whose title you want to change.
Note
To change the sheet title for multiple sheets without displaying each individual sheet,
use the Sheets Manager dialog box. See Managing Logic Sheets on page 121.
Expand the Application tree, and then create or open a program, function, or function
block.
On the File menu, select Print. The Print dialog box appears.
Select the desired properties for your printer (number of copies, page orientation, etc),
and then click OK.
123
Open the Project Workspace (see The Project Workspace on page 20).
On the File menu, select Print All. The Print All Options dialog box appears.
Functions
Function Blocks
Programs
Note
To quickly clear the check boxes for all the documents in the list, and make it
easier to select only those documents you want to print, clear the Select All check
box.
Select the printer you want to use, and the desired settings (number of copies, page
orientation, etc), and then click OK.
124
Chapter 2
Application Development
Procedure
1
On the FBD or LD Editor toolbar, click the Select Function (Block) Tool Element button
.
Select the function or function block to be inserted, and then click OK.
To insert another function or function block of the same type, click the Function (Block) Tool
, and then click on the logic sheet to place the element. To select a different function or
function block, repeat steps 24.
Note
You can easily create your own function by making a copy of an existing library
function, and then modifying it to suit your needs. See Copying a Library Document on
page 111.
125
Procedure
1
Double-click the graphic of the function whose properties you want to define.
Action
Number of Inputs
Invert Input
Invert Output
Width
EN/ENO
Double Space
Select the check box to have space in the function graphic on the
logic sheet doubled between the inputs and outputs.
126
Chapter 2
Application Development
Procedure
1
Double-click the graphic of the function block whose properties you want to define.
Action
Instance Name
Invert Input/Output
Width
EN/ENO
Double Space
127
Procedure
1
Expand the Application tree and expand the User Documents folder.
Right-click a function block, click Properties, and then click the Usage tab.
Action
Space Saver
Use when a single instance can be executed more than once per
scan to reduce memory usage and increase performance.
For more information on specific requirements for using a
function block as a space saver, see Using a Space Saver Function
Block on page 128.
Exactly Once
Use when each instance should be executed exactly once per scan.
Only Once
Use when each instance should be executed only once per scan,
but does not need to be executed every scan.
Internal State
Use when a single instance can be executed more than once per
scan.
128
Chapter 2
Application Development
Declare only one instance of the function block and use that same instance throughout
your program. On a function block diagram, just use the same instance name
repeatedly.
To prevent mistakes, connect a value to every function block input. If you forget to
connect an input, then you must search for a previous execution of the function block to
see the input value because the function block remembers the input value from one
execution to the next if the input is not connected.
Do not use the function block instance more than once in a networkthe result is a
WG0014 warning because the diagram could be ambiguous.
129
130
Chapter 2
Application Development
Read Only
Command
Replace
Command
Larger Font
(Font Size)
Type Over
Command
Find Text
Command
Line Numbers
Smaller Font
(Font Size)
Auto Indent
Command
Figure 8
7 8
The ST compiler allows you to insert tabs, spaces, and comments between keywords and
identifiers wherever a space is required. Each statement must be terminated with a semi-colon
(;) separator. Comments must be preceded by (* and followed by *), as shown in this example:
(* this is a comment *)
Note
You can easily add code to your ST program by copying and pasting code from existing
library or user documents. To do so, while viewing the code you want to copy, select the
code, right-click on it, and select Copy. Then, return to your ST program, right-click
where you want to add the code, and select Paste.
131
Using Expressions
An expression is a sequence of variable or constant operands and operators that compute a
value. For example, an expression to calculate the total area of two rectangles could be written
as follows:
(RectA_width * RectA_height) + (RectB_width * RectB_height)
Order of Evaluation
Expressions are evaluated in a specific order, depending on the precedence of the operators
and/or sub-expressions. Parentheses are used to isolate sub-parts of an expression and
prioritize expression evaluation. Expressions within parentheses have the highest precedence
and are always evaluated first. Other operators are subsequently evaluated based on their
precedence. When operators have equal precedence, they are evaluated from left to right.
The following table lists the Arithmetic and Boolean operators, and their order of evaluation or
precedence:
Table 26
Operation
Symbol
Precedence
Parenthesization
(Expression)
1 (Highest)
Function Evaluation
Example:
LN(A)
MAX(X,Y), etc.
Exponentiation
**
Negation
Complement
NOT
Multiply
Divide
Modulo
MOD
Add
132
Chapter 2
Application Development
Table 26
Operation
Symbol
Precedence
Subtract
Comparison
Equality
Inequality
<>
Boolean AND
AND
Boolean Exclusive OR
XOR
10
Boolean OR
OR
11 (Lowest)
Once an enumerated data type has been successfully compiled, you can assign it as a
data type for local variables. See Declaring Variables on page 163 for more information.
Syntax Example
TYPE ENUM_COLORS:
(YELLOW, RED, GREEN);
END_TYPE
In this example, the value of a variable of type ENUM_COLORS is YELLOW, RED, or GREEN.
Any other value is an error. The default initial value is YELLOW. The order for comparison
increases from left to right.
Example
PROGRAM ST_Enumerations
VAR
MY_COLORS : ENUM_COLORS := GREEN;
END_VAR
if (MY_COLORS = GREEN)then
MY_COLORS := RED;
elsif (MY_COLORS = RED)then
MY_COLORS := YELLOW;
elsif (MY_COLORS = YELLOW)then
MY_COLORS :=GREEN;
end_if;
(* The following statement causes an error *)
(* MY_COLORS := 6; *)
END_PROGRAM
133
Note
Once an array has been successfully compiled, you can assign it as a data type for local
variables. See Declaring Variables on page 163 for more information.
Syntax Example
TYPE ARRAY_DINTS :
ARRAY[1..6,1..20] OF DINT;
END_TYPE
Example
For each array, the default initial value is the one defined for the array type. In this example,
array type A has 10 elements of type INT.
TYPE A:
ARRAY [0 .. 9] OF INT ;
END_TYPE
Example
In this example, a variable declaration specifies a variable V of type A.
VAR V : A ; END_VAR
Example
An index can be an expression of type ANY_INT, for example, V [I + 1].
For an array with more than one dimension, the sub-range is replaced with a comma-separated
list of sub-ranges, and the array index is replaced with a comma-separated list of array indexes.
134
Chapter 2
Application Development
Once structure has been successfully compiled, you can assign it as a data type for local
variables. See Declaring Variables on page 163 for more information.
Syntax Example
TYPE STRUCT_SENSOR :
STRUCT
INPUT:DINT;
STATUS:BOOL;
HIGH_LIMIT:REAL;
ALARM_COUNT:INT;
END_STRUCT;
END_TYPE
Each structured declaration consists of an element name followed by a colon, followed by a type
specification. The default initial value of each structured element is the one defined for the
structured type. In this example, the structured type called STRUCT_SENSOR has four
structure elements: element INPUT of type DINT, element STATUS of type BOOL, element
HIGH_LIMIT of type REAL, and element ALARM_COUNT of type INT.
If a variable declaration specifies a variable V of type STRUCT_SENSOR (VAR V :
STRUCT_SENSOR ; END_VAR), then the four structure elements are referenced by the
expressions V. INPUT, V.STATUS, and so on. The default initial values are 0, False (0), 0.0, and
0.
Syntax Example
VAR CONSTANT
StartUp_Speed: REAL : 12.3;
Gear_Ratio:INT : 12;
END_VAR
Program Example
PROGRAM ST_Constants
VAR CONSTANT
MILLISECS_IN_SEC : DINT := 1000;
END_VAR
VAR
TIMER_MILLISECS, TIMER_SECS : DINT;
GET_CALENDAR : TR_CALENDAR;
135
END_VAR
GET_CALENDAR(CI := TRUE);
TIMER_SECS := GET_CALENDAR.SECOND;
TIMER_MILLISECS := TIMER_SECS * MILLISECS_IN_SEC;
(* The following statement causes an error because MILLISECS_IN_SEC
*is a VAR CONSTANT*)
(* MILLISECS_IN_SEC := 999; *)
END_PROGRAM
Declaring a VAR_TEMP
A VAR_TEMP is a variable which is appropriate for safety applications because the variables
are placed in a temporary memory area (not local memory) which is cleared when the program,
function, or function block terminates. A VAR_TEMP variable provides no persistence. During
each scan, it is automatically initialized to zero at the start of the program, function, or function
block.
Syntax Example
VAR_TEMP
RESULT : REAL;
END_VAR;
136
Chapter 2
Application Development
TEMP_SUM := CEIL(TEMP_SUM);
LOC_ROUNDUP := FALSE;
else
TEMP_SUM := FLOOR(TEMP_SUM);
LOC_ROUNDUP := TRUE;
end_if;
OUT_SUM := REAL_TO_DINT(TEMP_SUM);
OUT_BOOL := IS_ROUNDUP;
END_FUNCTION_BLOCK
Declaring a VAR_EXTERNAL
A VAR_EXTERNAL (also known as a global variable) allows access to tagnames (also known
as tagname declarations in TriStation 1131). It is used for all program inputs and outputs.
Syntax Example
VAR_EXTERNAL
TagName_1, Tagname_5, Tagname_9 : BOOL;
END_VAR
Program Example
PROGRAM ST_VarExternal
VAR_EXTERNAL
TagName_1, Tagname_5, Tagname_9 : BOOL;
END_VAR
if (Tagname_1) then
Tagname_1 := FALSE;
else
Tagname_1 := TRUE;
end_if;
if (Tagname_5) then
Tagname_5 := FALSE;
else
Tagname_5 := TRUE;
end_if;
if (Tagname_9) then
Tagname_9 := FALSE;
else
Tagname_9 := TRUE;
end_if;
END_PROGRAM
137
Syntax Example
VAR
UpCount : INT:= 100; (* Declares initial value to be 100 *)
Reset : BOOL;
(* Declares Boolean variable Reset *)
UpCounter : CTU;
(* Declares instance of CTU function block*)
END_VAR
The VAR_INPUT ... END_VAR and VAR_OUTPUT ... END_VAR constructs cannot be
used in programs. Programs must use VAR_EXTERNAL for input and output variables.
138
Chapter 2
Application Development
Program Example
PROGRAM ST_ForLoop
VAR
MY_ARRAY : ARRAY_DINTS;
COUNT : DINT;
IDX_1, IDX_2 : INT;
END_VAR
for IDX_1 := 1 to 6 do
for IDX_2 := 1 to 20 do
MY_ARRAY[IDX_1,IDX_2] := COUNT;
(* This statement causes an error because IDX_1 is being used
* as the counter for the ForLoop structure *)
(* IDX_1 := 20; *)
end_for;
if (COUNT = 100) then
exit;
end_if;
end_for;
COUNT := COUNT + 1;
END_PROGRAM
139
Program Example
PROGRAM ST_Case
VAR
SETTING : DINT := 0;
SPEED :REAL := 0.0;
END_VAR
if (SETTING > 10) then
SETTING := 0;
end_if;
SETTING := SETTING + 1;
(*Select a SPEED based on the value of SETTING *)
case SETTING of
1: SPEED := 5.0;
2: SPEED := 7.5;
3,4,5:SPEED := 12.0;
6: SPEED := 15.0;
7,8:SPEED := 18.0;
9: SPEED := 21.0;
10:SPEED := 25.0;
else
SPEED := 0.0;
end_case;
END_PROGRAM
140
Chapter 2
Application Development
CAUTION
Syntax Example
VAR_IN_OUT
INOUT_1, INOUT_2, INOUT_3 : DINT ;
END_VAR
Function Example
FUNCTION ST_VarInOut : BOOL
VAR_IN_OUT
INOUT_1, INOUT_2, INOUT_3 : DINT ;
END_VAR
if (INOUT_1 > 64000) then
INOUT_1 := 0;
end_if;
INOUT_1 := INOUT_1 + 1;
if (INOUT_2 > 64000) then
INOUT_2 := 0;
end_if;
INOUT_2 := INOUT_2 + 2;
if (INOUT_3 > 64000) then
INOUT_3 := 0;
end_if;
INOUT_3 := INOUT_3 + 3;
ST_VarInOut := TRUE;
END_FUNCTION
141
Specifying Local Variables, Tagnames, and Constants in a CEM Program on page 152
Working with Cells, Rows, and Columns in a CEM Program on page 153
142
Chapter 2
Application Development
CEMPLE Overview
CEMPLE is an optional TriStation 1131 language editor that automates the process of creating
a program based on a cause and effect matrix. Cause and effect matrix is a methodology that is
commonly used in the process control industry to define alarms, emergency shutdown
strategies, and mitigation actions.
A matrix created in CEM language can be as basic or complex as your situation requires. In a
basic matrix, causes are identified as True or False inputs related to one or more effects through
the intersections between them. The state of a cause (True or False) determines the state of the
related effect. If more than one cause is related to an effect, the state of the effect is based on how
the matrix is evaluated. You can specify the matrix evaluation as a de-energize-to-trip (fail-safe)
or energize-to-trip system. In a typical de-energize-to-trip system, if one of the inputs changes
to False, the related outputs also change to False. In an energize-to-trip system, the reverse is
true; if one of the inputs changes to True, the related outputs also change to True.
For more complex processes, CEM language allows you to add functions or function blocks to
causes, intersections, and effects. This feature can be used for many purposes; for example, to
accept non-Boolean input and convert to Boolean output, to set timers before evaluating the
input, and to pass additional input variables to output variables.
CEM language includes these features:
Ability to invoke functions and function blocks to evaluate cause, intersection, and
effect states
Matrix Planning
Planning includes determining the causes (problems) to be monitored, and determining how
the matrix is to be evaluated.
Variables with a variable type of In/Out (VAR_IN_OUT) are not allowed in CEM
programs, function blocks that are invoked by matrix programs, or any safety program
or function block.
143
False. If one of the inputs changes to True, the related outputs also change to True. The default
setting is OR.
If the matrix is based on a de-energize-to-trip (fail-safe) system, an AND evaluation is typically
used because the normal state of inputs is True. If one of the inputs changes to False, the related
outputs also change to False. This is why it is typically used with systems that are designed to
be fail-safe.
Figure 9
144
Chapter 2
Application Development
Matrix: Identifies causes, effects, and the intersections between them. Can also include
inputs, outputs, functions, and function blocks related to causes, effects, and
intersections.
FBD Network: Displays the Function Block Diagram (FBD) related to the cause, effect,
or intersection that you select in a matrix. It also allows you to specify properties and to
invert the values of variables.
Variable Detail Table: Displays the inputs and outputs of an FBD network that are
generated when a cause, effect, or intersection is selected. It also allows you to specify
variable type and data type.
Figure 10
FBD Network
145
Matrix
The matrix area of the CEM editor includes the rows, columns, and intersections of a matrix. In
a basic matrix that does not use functions, causes can be directly related to effects through
intersections. In a more complex matrix, such as this figure, functions can be included for
causes, effects, and intersections. When functions are included, the inputs and outputs of those
functions can be specified in the matrix.
Effect items
Intersections
Cause items
Figure 11
FBD Network
The FBD Network area of the CEM editor displays the Function Block Diagram (FBD) related to
the cause, effect, or intersection that you select in the matrix. The FBD network uses internal
Boolean variables to save and move results to associated cells so that causes and effects can be
evaluated. When you create a cause, intersection, or effect, an internal variable is automatically
created for each.
The CEM editor uses internal variables to store and move results between cells. Although you
cannot directly access the internal variables, you can create variables and copy the values to
those variables. You can also specify properties and invert values of variables.
If you select a cause, effect, or intersection that does not contain a function, or if you make
multiple selections, the FBD network cannot display appropriate information.
146
Chapter 2
Application Development
Figure 12
Figure 13
147
Procedure
1
On the Tools menu, click TriStation 1131 Options, and then click the CEM Editor tab.
Action
Intersection Functions On by
Default
148
Chapter 2
Application Development
Property
Action
Procedure
1
Expand the Application tree, double-click a program, click the Document menu, and
then click Options.
Action
Enable Intersection
Functions
Property
Action
Evaluation Options
149
Procedure
1
On the Project menu, click Project Options, and then click the Monitor Colors tab.
Under CEM Monitor Colors, select the color for True and False for cause, effect, and
intersection cells in a CEM (cause and effect matrix).
The default for True is red; False is white.
150
Chapter 2
Application Development
User-Defined Functions
User-defined functions must be enabled before they can be used in a CEM program. (Invensyssupplied functions and function blocks do not have to be enabled.) When you enable a function,
it is validated to ensure it can be used in that part of the matrix. For example, a function used in
an intersection must have a Boolean primary input and Boolean primary output. If not enabled,
the function is not available for selection.
Application States
User-defined functions can include a variable that stores application states and that is evaluated
in the same way as the cause, intersection, and effect internal variables. This means you can
include application information that is evaluated with an AND or OR operation when the
matrix is run. Application state inputs and outputs must be a DWORD data type, which is a
32-bit string.
This figure shows an example of using a variable to store the application state.
Figure 14
151
Procedure
1
Expand the Application tree, right-click the user-defined function, click Properties, and
then click the Attributes tab.
Action
Application Type
152
Chapter 2
Application Development
Procedure
1
Expand the Application tree, expand User Documents, and double-click a CEM
program.
Select or type the name in the Input or Output columns, or in the Var/Const column in
the Variable Detail Table.
Procedure
1
Action
Var/Const
Var Type
Data Type
Description
If the changes are valid, the declaration is changed. If not, a message displays explaining
why the declaration was not changed.
153
Do This ...
Click the first cell, hold down the shift key, and click the
last cell in the area.
Click a cell, hold down the Ctrl key, and click the rows or
column.
Click here
to select all
causes
Click here to select
all intersections
Click here to
select one effect
Click here to
select all
intersections in a
column
Click here
to select
one cause
Click here to select all
intersections in a row
Figure 15
154
Chapter 2
Application Development
Do This ...
Press the tab key or Enter to complete a cell entry and move the cursor to
the next cell to the right.
Press the tab key or Enter to move the cursor to the next cell to the right.
Select a cell or group of cells (but do not place in edit mode) and press the
delete key.
Do This ...
Drag the column boundary to the left so that the column is almost
hidden, then release the button.
Drag the row boundary upward until the row is almost hidden, then
release the button.
Hide a column
Drag the column boundary to the left until it meets the nearest
boundary.
For an effect column, double-click the thickened column boundary.
Unhide a column
Hide a row
Drag the row boundary upward until it meets the nearest boundary.
Unhide a row
155
CAUTION
Doing either of the following will cause the function block instance(s) in
the remaining rows or columns to be renamed:
Inserting Columns
This procedure explains how to insert columns in a CEM program.
Procedure
1
on the
Select the column and click Before or After to specify where the column is to be inserted.
If you do not want the column to be displayed, clear the Make visible on all managed
views check box.
Click OK. The new column is inserted in the location you specified.
156
Chapter 2
Application Development
Inserting Rows
This procedure explains how to insert rows in a CEM program.
Procedure
1
on the toolbar
Click OK. The new row is inserted in the location you specified.
Deleting Columns
This procedure explains how to delete columns in a CEM program. Column numbers are
identified at the top of the column as shown in this figure.
Column numbers are
located here.
Figure 16
Procedure
1
on the
Confirm your selections, and then click OK. The selected columns are deleted.
157
Deleting Rows
This procedure explains how to delete rows in a CEM program. Row numbers are identified to
the left of the row as shown in this figure.
Figure 17
Procedure
1
on the toolbar
Confirm your selections, and then click OK. The selected rows are deleted.
158
Chapter 2
Application Development
Procedure
1
Expand the Application tree, open a CEM program, and do either of these:
on the toolbar
Click the View menu, and then click Size/Hide, and then Columns
Action
Number of columns to
adjust
New size
Select and then enter the new size for the column.
Size to Content
Hide or Unhide
159
Procedure
1
Expand the Application tree, open a CEM program, and do either of these:
on the toolbar
Click the View menu, and then click Size/Hide, and then Rows
Action
Number of rows to
adjust
New size
Select and then enter the new size for the row.
Hide or Unhide
160
Chapter 2
Application Development
Procedure
1
Expand the Application tree and open a CEM program. From the View menu, click
Size/Hide, and then Comment Column.
Specify one of these properties in the Size/Hide Comment Column dialog box.
Property
Action
New size
Select and then enter the new size for the column.
Hide or Unhide
161
Procedure
1
Expand the Application tree, open a CEM program, click the Sheets menu, and then click
Edit Sheet Title.
162
Chapter 2
Application Development
Managing Views
This procedure explains how to save, load, and remove views of CEM programs.
A view is a display of a selected portion of the matrix. You can create a view by hiding or
showing columns and rows on the matrix, either by using menu commands or by dragging
columns and rows on the matrix. Saving the view allows you to load it at anytime.
Procedure
1
Change the view by showing or hiding columns and rows. Use commands on the View
menu or drag columns and rows on the matrix.
Perform one or more of these actions in the View Manager dialog box.
Command
Action
Load
Save
Remove
Close
Cancel
163
Using the Print All command, you can print a report listing all the variables currently
defined in your project (Program Variable Listing). See Printing Project Documents on
page 91.
Topics include:
Declaring Variables
This procedure explains how to declare input, output, in/out, and local variables in FBD, LD,
and CEM languages. Variables store values and must be declared in order to be used in a
program or function.
Note
You can use arrays, structures, and enumerations that you have defined in structured
text by declaring them as user-defined data types in local variables. The compiler will
automatically check your function blocks to determine if user-defined data types were
correctly used; errors will result in mismatched data type warnings at compile time.
Procedure
1
On the program or
function
Declarations tree,
right-click the folder
for the type of
variable to be declared, and click New Declaration.
TriStation 1131 Developers Guide, v4.9.0
164
Chapter 2
Application Development
Action
Name
Data Type
Initial Value
Specify a value to be used on the first scan. Must agree with the
Data Type.
Not applicable if you have selected a user-defined data type.
Description
Var Type
Procedure
1
On the logic sheet, double-click the icon that represents the variable.
Property
Action
Variable Name
165
Displays the data type that was set on the Declaration tab.
If the variable has not been declared, the Data Type is
undefined.
Width
Annotate
Declarations
Command
Procedure
1
On the logic sheet, double-click the icon that represents the variable.
On the Variable tab, select the Annotate check box and then click the Annotation tab.
166
Chapter 2
Application Development
Action
Annotation Text
Macros Command
Close the Properties dialog box to save your changes to the Annotation tab.
167
Procedure
1
Action
Formatted Name
Enter the starting value for the first variable and the
number to use when incrementing each successive
variable.
Name Order
168
Chapter 2
Application Development
To quickly change just the names of variables on a logic sheet, you can also use the
Find/Replace command. See Replace Command on page 592.
Procedure
1
On a logic sheet, select the variables you want to change by pressing the Shift key while
you click the variables.
Double-click one of the selected variables. The Item Properties dialog box appears.
Action
Variable Name
Width
Annotate
Close the Properties dialog box to save your changes to the Annotation tab.
If necessary, undo the changes you just made by pressing Ctrl+Z. Multiple levels of
undo are available.
169
Name
Input
VAR_INPUT
Output
VAR_OUTPUT
Input/Output
VAR_IN_OUT
Local
VAR
VAR_EXTERNAL
Procedure
1
Variable count
for ST_VarTemp
program
where x is the total number of user-defined variables and tagnames in the program. This
number must be 2,000 or less.
3
If you have exceeded the limit in any of the programs included in your application,
change your programming to reduce the number of variables and/or tagnames in the
program before building the application.
170
Chapter 2
Application Development
Creating Constants
This procedure explains how to create constants in FBD, LD, and CEM languages. A constant is
a value that can be used in a program or function.
Procedure
1
Property
Action
Data Type
Width
Annotate
Auto Name
Command
171
Procedure
1
On the Constant tab, select the Annotate check box and then click the Annotation tab.
Action
Annotation Text
Macros Command
172
Chapter 2
Application Development
Tagnames
This section describes tagnames. Tagname is the term commonly used when referring to input
points (sensors) and output points (final elements). In TriStation 1131, tagnames are references
to physical tagnames (labels) on the connected field devices or to memory points which are
locations in the controller memory. In IEC terminology, tagnames are called global variables.
For Modbus or DDE communication, tagnames must be assigned an alias number that allows
read or read/write access. An alias number is a five-digit identifier which defines the data type
and location of a point in the controller memory.
For Peer-to-Peer, OPC, or TSAA applications, tagnames can be accessed by the tagnamean
alias number is not needed.
The maximum number of user-defined tagnames and variables in a program is 2,000.
Note
Using the Print All command, you can print various reports listing the tagnames
declared and used in your project. See Printing Project Documents on page 91.
Topics include:
Assigning an Alias Number, Alias Type, and Physical Address on page 174
Declaring Tagnames
This procedure explains how to declare tagnames for points. Tagnames describe the type of
point (input, output, or memory) and the properties associated with the point. You can declare
tagnames before or after writing programs. Tagnames must be declared before downloading
the application to the controller.
Note
Once you have downloaded your project to the controller, making one or more changes
to existing tagnames or adding new tagnames, prior to the next download will cause the
the projects minor version number number to be increased by one. See Displaying
Version Numbers of Projects and Documents on page 33 for more information about
project version numbers.
Tagnames
173
Procedure
1
Action
Tagname
Data Type
Description
Initial Value
Application Type
Shared Read
Retentive
To view the total number of tagnames in a program, compile the application and
then look for the VAR_EXTERNAL count information in the Messages View. See
Viewing the Number of Variables and Tagnames in a Program on page 169 for
more information.
TriStation 1131 Developers Guide, v4.9.0
174
Chapter 2
Application Development
Once you have downloaded your project to the controller, making one or more changes
to existing tagnames prior to the next download will cause the projects minor version
number to be increased by one. See Displaying Version Numbers of Projects and
Documents on page 33 for more information about project version numbers.
If you select Default alias, but there are no available alias numbers in the range for the
selected tagname type.
If you select User alias, but do not enter an alias number, TriStation 1131 will
automatically:
Assign 0 as the alias number for Trident or Tri-GP projects.
Assign a default alias number for Tricon projects.
For Trident or Tri-GP projects, if you select No alias for an aliased memory point (Alias
Type is Read Aliased or Read/Write Aliased), TriStation 1131 will automatically assign
0 as the alias number.
Alias numbers allow a DCS or external applications to access a tagnames value via the Modbus
protocol. However, if a tagname has been assigned the alias number 0, its value will be
inaccessible. You should verify that none of your tagnames have been assigned the alias number
0 before you build your application. To do so:
1
Expand the Application tree. Right-click the Tagname Declarations folder, and click
Display Tabular View.
The tagnames and properties are displayed in a table.
View the numbers in the Alias # column to be sure none of the tagnames have 0 assigned
as the alias number.
If you find any tagnames with an alias number of zero (0), follow the instructions in
Changing Multiple Tagnames on page 181 to assign new alias numbers to those
tagnames.
Tagnames
175
Procedure
1
Double-click a tagname on a logic sheet, and then click the Declarations button.
Enter the number representing the Physical Address (for example: 01.06.05), then
go to step 6.
Note
If the address you select has already been assigned to an existing tagname,
TriStation 1131 will automatically re-assign the next available address to this
tagname when you build or rebuild your application.
On the Browse Available Points screen, select the module, and then click the point to be
assigned.
Note
In the Browse Available Points dialog box, if you select the model 3807 BPAO
module, you will see four output points and eight input points in the list of
available points. The first four input points provide coil diagnostic voltage
measurements across the load. However, the second four input points (points
5-8) are reserved for future use, and should not be assigned aliases. If you
configure the unused points, the application will receive an input value of zero
for those points.
176
Chapter 2
Application Development
For Trident and Tri-GP, the alias number can be user-specified (within the range),
system-specified based on a default range, or not aliased. For alias number
information, see Alias Number on page 481.
Note
To allow the point to be written to multiple times from programs in the application,
select the Enable Multiple Writes check box.
Tagnames
177
To cancel your changes and restore the original settings, click Restore before clicking
Apply. Once you click Apply, you cannot revert to the original settings.
Procedure
1
Double-click a tagname on a logic sheet, and then click the Declarations button.
Action
Alias Type
Alias Number
Enable Multiple
Writes
178
Chapter 2
Application Development
WARNING
Procedure
1
Double-click a tagname on a logic sheet, and then click the Declarations button.
Action
Minimum Value
(Min Span)
Maximum Value
(Max Span)
Precision
Tagnames
Property
Action
Disable Scaling
(Trident and TriGP only)
179
Procedure
1
Double-click a tagname on a logic sheet, and then click the Declarations button.
Action
180
Chapter 2
Application Development
To cancel your changes and restore the original settings, click Restore before clicking
Apply. To use the default settings, click Get Defaults at any time.
Procedure
1
Expand the Application tree, right-click the Tagname Declarations folder, and click New
Tagnames (plural).
Action
Formatted Name
Enter the starting value for the first tagname and the
number to use when incrementing each successive
tagname.
How Many
Tagnames
181
Once you have downloaded your project to the controller, making one or more changes
to existing tagnames prior to the next download will cause the projects minor version
number to be increased by one. See Displaying Version Numbers of Projects and
Documents on page 33 for more information about project version numbers.
Procedure
1
Expand the Application tree. Right-click the Tagname Declarations folder, and click
Display Tabular View.
The tagnames and properties are displayed in a table. You can change the size of the
columns and the properties that are displayed.
Description
Sort by property
Click the column heading of the property you want to sort by, or
right-click the column heading and select Sort Ascending or Sort
Descending.
Select multiple
tagnames
Change multiple
tagnames
Note
To view the total number of tagnames in a program, compile the application and then
look for the VAR_EXTERNAL count information in the Messages View. See Viewing the
Number of Variables and Tagnames in a Program on page 169 for more information.
182
Chapter 2
Application Development
If you change a tagname after a project has been downloaded, the projects minor
(second) version number is updated.
Renaming a Tagname
This procedure explains how to rename a tagname.
Note
Once you have downloaded your project to the controller, making one or more changes
to existing tagnames prior to the next download will cause the projects minor version
number to be increased by one. See Displaying Version Numbers of Projects and
Documents on page 33 for more information about project version numbers.
Procedure
1
On the Tagname Declarations or Declarations tree, right-click a tagname, and then click
Rename.
Deleting a Tagname
This procedure explains how to delete a tagname.
Note
Once you have downloaded your project to the controller, deleting one or more
tagnames prior to the next download will cause the projects minor version number to
be increased by one. See Displaying Version Numbers of Projects and Documents on
page 33 for more information about project version numbers.
Procedure
1
On the Tagname Declarations or Declarations tree, right-click a tagname, and then click
Delete.
If the tagname is already in use, a message warns you that deleting the tagname may
result in unresolved tagnames or that the tagname is in use.
If you deleted the tagname from the
Tagname Declarations tree, the message
is similar to this screen:
Tagnames
183
To cancel, click No or Cancel. To confirm deletion of the tagname, click Yes or OK. This
action cannot be undone.
Procedure
1
Expand the Application tree, right-click the Tagname Declarations folder, and click
Display Tabular View.
Right-click in the column heading to the right of where you want to insert another
column, and then select Insert Column.
Select the name of the column to be inserted, and then click OK.
184
Chapter 2
Application Development
Procedure
1
Expand the Application tree, right-click the Tagname Declarations folder, and click
Display Tabular View.
Right-click in the heading of the column you want to delete, and then select Delete This
Column.
The column is removed from the table.
Note
You can add a deleted column to the table again at any time; see Inserting a
Column into the Tagnames Table on page 183.
They are not listed under Tagname Declarations in the Application Workspace.
Think of undeclared tagnames as the number of free points that are available for use in your
application. You control the total number of undeclared tagnames via the amount of memory
you have allocated for points. See Allocating Memory for Tricon Points on page 251 or
Allocating Memory for Trident or Tri-GP Points on page 317.
Each time you declare a new tagname (whether it is used in a program or not), the total number
of undeclared tagnames decreases by one.
Tagnames
185
Example
In this example, memory has been allocated to allow for 640 unaliased memory BOOL points,
as shown in the Memory Allocation Item Properties dialog box.
Note
Of these points, 8 have been used and 9 have been forecast (declared). The 9
declared points will appear in the Tagname Declarations tree.
One point will also appear in the Unused Tagnames list, because while 9 points
have been declared, only 8 have been added to a program (see What Are Unused
Tagnames? on page 186).
631 points appear in the Undeclared Tagnames list, because while they have been
allocated, they have not yet been declared (640 allocated - 9 declared = 631
undeclared).
Thus, you can declare 631 more unaliased memory BOOL points, based on the
current memory allocation. Remember, you can increase or decrease the number of
available points by changing the amount of memory allocated for points.
Undeclared tagnames are not counted against the 2,000 tagnames per program limit. See
Viewing the Number of Variables and Tagnames in a Program on page 169 for more
information.
186
Chapter 2
Application Development
Are already associated with global tagnames using the procedures outlined in
Declaring Tagnames on page 172.
Tagnames with invalid attributes imported from external sources will remain
unassociated with any global tagnames until they are renamed using the procedures
outlined in Renaming a Tagname on page 182.
Have not yet been used in any program, function, or function block in the project.
The Undeclared Tagnames and Unused Tagnames lists are for information only and
cannot be edited.
Procedure
1
Expand the Application tree and double-click the folder that contains the tagnames you
wish to displayUndeclared or Unused Tagnames.
Undeclared
Tagnames
Folder
Unused
Tagnames
Folder
Double-click the item in the folder you wish to displayUndeclared Points or Unused
Points.
The Unused Points or Undeclared Points tree appears, with the list of items displayed in
the right pane. The Undeclared Points and Unused Points trees are further divided by
point type: Memory, Input, and Output.
Tagnames
187
Sort the list view in ascending or descending order by clicking the desired column
header.
The list views for undeclared and unused tagnames are read-only. To edit unused
tagnames, see Editing Unused Tagnames on page 187. Undeclared tagnames cannot be
edited; see What Are Undeclared Tagnames? on page 184.
Procedure
1
188
Chapter 2
Application Development
Because you cannot recover deleted tagnames, you may want to review the list of
unused tagnames, to be sure you want to delete them, before performing this procedure.
See Managing Undeclared and Unused Tagnames on page 184.
Procedure
1
In the Application Workspace, right-click the Tagname Declarations folder, and then
click Delete Unreferenced Tagnames.
A message appears, telling you the total number of unused tagnames that will be deleted
and asking if you want to continue.
To cancel, click No. To confirm deletion of the tagname, click Yes. This action cannot be
undone.
189
dBASE (dbf)
Procedure
1
Expand the Application tree, right-click the Tagname Declarations folder, and click
Export.
Select the location, file name, and file type to save the tagname information.
Click Export.
190
Chapter 2
Application Development
If you enter a file name longer than eight characters, you are warned that you may need
to rename the file if you want to import it to a TriStation 1131 project.
Note
Some names cannot be used as file names when exporting tagnames to Microsoft
Excel files. For a list of these names, see Names Reserved by SQL on page 688.
Point Property
Description
TAGNAME
The tagname for the point. Must be 31 characters or less to be a valid IEC
61131-3 identifier.
DESCRIP
GROUP1
GROUP2
ALIASTYPE
ALIASNUM
TAGTYPE
TAGCLASS
INITVALUE
RETENTIVE
Retentive flag: if R, the value is retained if a power outage shuts down the
controller.
N = Non-retentive
R = Retentive
IOP
Table 27
191
Point Property
Description
SLOT
POINT
CHASSIS
SLOT
POINT
MIN SPAN
The lower limit for REAL in Engineering Units; the default is 32767.00.
The range is 3.402823466e+38 to +3.402823466e+38.
Must be less than the MAX SPAN value.
MAX SPAN
DECPL
SCALING
APPLICATION
Application flag:
C = Control
S = Safety
SHARED
FALSE STATE
TRUE STATE
FALSE COLOR
Black, Red, Green, Blue, Cyan, Yellow, Pink, and White are allowed.
TRUE COLOR
Black, Red, Green, Blue, Cyan, Yellow, Pink, and White are allowed.
192
Chapter 2
Application Development
Procedure
1
The Tagname, Data Type, and Point Type cells are required.
The values in these cells must be numeric and must begin with a single quotation
mark (): Alias Number, Initial Value, Chassis, Slot, Point, Min Span, Max Span, and
Display Precision.
Select the range of data cells to be included by selecting the headings and cells. Do not
select empty records.
To verify the table name was created, click the Name Box list box.
Name Box
All the records (columns and rows) should be highlighted. If not, repeat steps 4 and 5.
8
193
You cannot delete existing tagname information by importing a database or text file with
blank fields where the existing data resides. Importing a file only updates or creates
tagname data. Blank fields for existing tagnames are ignored, so that any existing
information will remain as-is. Blank fields may be imported for new tagnames only; see
the following table for instructions.
However, you can create a blank field for an existing tagname by typing spaces to
replace the existing data. The field will then appear blank. After the import is complete,
you can remove the spaces from the field to create a true blank field by editing the
tagnames properties; see Changing Multiple Tagnames on page 181.
Table 28
Item
Database File
Text File
Filename
Table or
Lines
Tag Name
Tag Type
Tag Class
Columns or
Fields
194
Chapter 2
Application Development
Table 29
Point Property
Description
TAGNAME
The tagname for the point. Must be 31 characters or less to be a valid IEC 611313 identifier. Can be any string of letters, digits, and underscores provided that
the first character is not a digit and there are not two or more underscore
characters together.
DESCRIP
The description for the point; cannot be more than 131 characters.
GROUP1
GROUP2
ALIAS TYPE
ALIAS NUMBER
TAG TYPE
TAG CLASS
INITIAL VALUE
RETENTIVE FLAG
Retentive flag: if R, the value is retained if a power outage shuts down the
controller.
N = Non-retentive
R = Retentive
IOP
SLOT
POINT
CHASSIS
SLOT
POINT
Table 29
195
Point Property
Description
MIN SPAN
The lower limit for REAL in Engineering Units; the default is 32767.00.
The range is 3.402823466e+38 to +3.402823466e+38.
Must be less than the MAX SPAN value.
MAX SPAN
DISPLAY
PRECISION
Decimal places to display MIN SPAN and MAX SPAN properties. Limited to
125 digits.
REAL values are set to 1.
BOOL and DINT values are set to 0.
SCALING
APPLICATION
Application flag:
C = Control
S = Safety
SHARED READ
FALSE STATE
TRUE STATE
FALSE COLOR
Black, Red, Green, Blue, Cyan, Yellow, Pink, and White are allowed.
TRUE COLOR
Black, Red, Green, Blue, Cyan, Yellow, Pink, and White are allowed.
196
Chapter 2
Application Development
Procedure
1
Expand the Application tree, right-click Tagname Declarations, and click Import.
Note
The project you are importing tagnames into must be in the Download All state.
If the project is not in the Download All state, the Import menu option is
disabled. Use the Change State to Download All Command on page 492 to
change the project state before continuing this procedure.
Click Select Import Data File and go to the folder that contains the file.
197
If the file is not displayed, you may need to change the type of file to match the extension
used in the file to be imported.
3
Click the file name and click Select. Click Next to continue.
On the Link Data Fields screen, match the source fields to the tagname properties by
clicking a field in the list on the left, and a tagname property in the list on the right, and
then clicking Link.
The following required tagname properties must be linked before continuing:
Data Type
Point Type
Tag Name
198
Chapter 2
Application Development
Read the Review Your Request screen. Click Finish to continue, or Back to make
changes.
Review the status of the records on the Data Import Validation Result screen.
If there are errors, close the screen, edit the data, and then go back to step 1 to
import the file again.
199
If you selected the Validate option on the Select Import Options screen and there
are no errors, click Commit Records to import the data. This action cannot be
undone.
Description
Ignored
The import record is mapped to an existing point that has the same
properties, so the import record is being ignored.
Added
Error
The import record has been rejected due to one or more errors.
Updated
200
Chapter 2
Application Development
Adding Annotations
This procedure explains how to add an annotation to a constant, tagname, or variable.
Annotations can be used to display descriptive text, including information specified in system
and user-modifiable macros. You can also display the value of a variable during program
execution in the Emulator or controller.
To have annotations automatically included for all new elements, see Specifying Annotation
Options on page 37 and Using Macros with Annotations and Comments on page 206.
Procedure
1
Select the Annotate check box. For constants, the check box is on the Constant tab. For
tagname references and variables, the check box is on the Variable tab.
To add a macro:
201
Click in the annotation area, and press Ctrl+V to paste the macro.
For variables, select the Include Monitor Value in Annotation check box to display the
value of the variable in the Controller or Emulator Panel.
202
Chapter 2
Application Development
Procedure
1
Action
Annotation Text
Macros Command
203
Adding a Comment
This procedure explains how to add comment text in FBD and LD programs. Comments are
used to add information about operations performed by a program, function, or function block.
There is no limitation on the number of comment boxes per program or their placement on a
logic sheet. If you draw a comment box around a project element it is ignored when you compile
the element.
Procedure
1
On the logic sheet, click and drag to create the comment box.
Property
Action
Comment Text
Alignment
Text Size
Border
Macros Command
204
Chapter 2
Application Development
Procedure
1
Action
Expand Macros
Select this check box to display the value of the macro when
the application is run on the Emulator or controller. For
example, if expanded, the macro %DATE_CREATED
displays the month, day, and year when the project was
created. The default is cleared.
205
To use the Pickup and Drop commands, the Move Behind Logic Elements option cannot
be selected. For more information about this option, see Specifying Comment Style on
page 204.
Procedure
1
Action
Pickup
Command
Drop
Command
206
Chapter 2
Application Development
Procedure
1
System macros are values supplied by the system and cannot be changed. For example,
the %CREATED_ BY macro includes the user ID of the person who created the element.
You cannot change values for these macros.
CAUTION
When you change the value of a macro, you change it for ALL annotations
and comments in the project that use the macro.
207
Procedure
1
Do either of these:
For a comment, double-click the comment, and click the Macros button.
Double-click a variable or tagname reference. Click the Annotation tab, then click
the Macros button.
If needed, select the check boxes for project, document, or sheet to view the macros
available for those elements.
Click OK to close the Edit Macros dialog box. You are returned to the Item Properties
dialog box.
To add the copied macro to the annotation or comment, click inside the text area and
paste the macro by pressing Ctrl+V.
208
Chapter 2
Application Development
Procedure
1
Click the Edit Fields tab, select the field to be changed, and then click Modify.
Click OK to save.
Modbus Applications
209
Modbus Applications
This section describes information related to developing a Modbus application. Modbus is an
industry-standard master/slave communication protocol that is traditionally used for energy
management, transfer line control, pipeline monitoring, and other industrial processes.
Tricon Functionality
A Tricon controller with an EICM or TCM can operate as a Modbus master, slave, or both. A
DCS typically acts as the master, while the Tricon acts as a slave. The master can also be an
operator workstation or other device that is programmed to support Modbus devices.
The Tricon controller has serial ports on the EICM, and network and serial ports on the TCM
that provide options for communication with a Modbus devices. Each serial port can operate in
a point-to-point configuration with a single Modbus device, or in a multi-point configuration
with several Modbus devices connected to a serial link.
How Tricon Transmits REAL Values With Special Alias Numbers on page 211
How Trident and Tri-GP REAL Values are Transmitted Without Scaling on page 217
Disabling Scaling of REAL Values for Trident and Tri-GP Tagnames on page 218
210
Chapter 2
Application Development
Using the Print All command, you can print a report listing Modbus alias information
for each tagname in the project (Tagnames: Modbus Aliases). See Printing Project
Documents on page 91.
Procedure
1
Double-click a tagname on a logic sheet, and then click the Declaration button.
Action
Alias Type
Alias Number
Physical Address
Modbus Applications
Note
211
When you select Default alias as the alias number for memory point tagnames,
these aliases can be automatically re-assigned under certain circumstances. For
example, if another tagname using the Default alias setting is deleted, the next
time you build the application, TriStation 1131 will re-use the alias number of the
deleted tagname.
You can avoid this behavior by always using the User alias setting to define your
own alias numbers and keep control of assigned aliases.
To set the alias number, click Apply. To cancel your changes and restore the original
settings, click Restore before clicking Apply. Once you click Apply, you cannot revert to
the original settings.
Figure 18
212
Chapter 2
Application Development
Figure 19
Aliases
Special Aliases
Most
Input REAL,
Read Only
Memory REAL,
Read Only
Memory REAL,
Read/Write
Least
Most
Least
32001
34001
34002
- or -
44001
44002
32002
34003
34004
- or -
44003
44004
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
32120
34239
34240
- or -
44239
44240
33001
35001
35002
- or -
45001
45002
33002
35003
35004
- or -
45003
45004
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
34000
36999
37000
- or -
46999
47000
41001
42001
42002
41002
42003
42004
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
42000
43999
44000
Modbus Applications
213
When a Modbus master writes a 16-bit integer to a Triconex slave, the controller scales
the integer to a 32-bit REAL number before using it in the TriStation 1131 application.
When a Modbus master reads a 32-bit REAL variable from a Triconex slave, the
controller scales the REAL variable to a 16-bit integer before transmitting it.
Scaled REAL numbers use a formula that includes the value of the tagname, the Minimum
Value (Min Span) and Maximum Value (Max Span) for the tagname, and the Modbus minimum
(Modbus Min) and maximum (Modbus Max) range set for the Modbus Range property.
Figure 20
This figure shows how scaling is done. Values above the Max Span or below the Min Span are
clamped to the respective limit. The same principle applies to values outside the Modbus range.
214
Chapter 2
Application Development
Figure 21
To avoid division by zero, do not set Modbus Max equal to Modbus Minthe REAL value
result is undefined. For the Trident, Tri-GP, or Tricon v9.6 and later controllers, the result is one
of the floating point standard special numbers: NAN (not a number: -1.#IND) or infinity
(1.#INF).
Figure 22
How the Modbus Master Reads a REAL Value Scaled to an Integer Value
This figure shows how scaling is done. Values above the Max Span or below the Min Span are
clamped to the respective limit. The same principle applies to values outside the Modbus range.
Modbus Applications
Figure 23
215
To avoid division by zero, do not set Max Span equal to Min Spanthe resulting Modbus value
is undefined. Typically, for a Triconex controller, the result is -1.
Procedure
1
Double-click a tagname on a logic sheet, and then click the Declaration button.
216
Chapter 2
Application Development
Property
Action
Minimum Value
(Min Span)
Maximum Value
(Max Span)
Precision
Disable Scaling
On the Setup dialog box for the communication module, specify the Modbus minimum
and maximum range. See the following sections for detailed instructions:
Modbus Applications
217
How Trident and Tri-GP REAL Values are Transmitted Without Scaling
This section explains how 32-bit REAL unscaled numbers are transmitted in Modbus protocol,
which uses 16-bit integers. This applies only to Trident and Tri-GP controllers.
If a REAL value is not scaled, these operations occur:
A Modbus master reads the least significant 16 bits of a 32-bit number which is derived
from the integer and decimal parts of a 32-bit REAL value.
A Modbus master writes a REAL value as two consecutive 16-bit integer aliases which
the Trident or Tri-GP controller concatenates to form a 32-bit REAL value.
This figure shows the standard format for REAL values, which adheres to the IEE Standard for
Binary Floating-Point Arithmetic. For more information, see IEE Std 754-1985.
Figure 24
218
Chapter 2
Application Development
Procedure
1
Expand the Application tree, and double-click a tagname which is a REAL data type and
is not to be scaled.
The Item Properties dialog box appears.
On the Scaling tab, select the Disable Scaling check box to ensure the point is not scaled.
The default is cleared.
Peer-to-Peer Applications
219
Peer-to-Peer Applications
This section explains how to use Peer-to-Peer communication to allow Triconex controllers to
send and receive information from each other. Peer-to-Peer communication is performed
through Send and Receive function blocks included in the application.
For information on the Send and Receive function blocks used for Peer-to-Peer communication,
see the TriStation 1131 Libraries Reference.
Also, if you have one of the following communication modules installed, see:
Trident v2.x or Tri-GP CM: Configuring Trident v2.x or Tri-GP CM Peer-To-Peer Ports
on page 352
Topics include:
Scan time
Configuration size
Number of Send function blocks, Receive function blocks, printing function blocks, and
Modbus master function blocks
Send function blocks require multiple scans to transfer data from the sending controller to the
receiving controller. The number of send operations initiated in a scan is limited to five. The
number of pending send operations is limited to 10.
A typical data transfer time (based on a typical scan time) is 1 to 2 seconds, and the time-out
limit for a Peer-to-Peer send (including three retries) is 5 seconds. Consequently, the processtolerance time of the receiving controller must be greater than 5 seconds. Process-tolerance time
is the maximum length of time that can elapse before your control algorithms fail to operate
correctly. If these limitations are not acceptable, further analysis of your process is required.
220
Chapter 2
Application Development
Procedure
1
On the sending controller, expand the Controller tree, and double-click Configuration.
On the Configuration tree, click Memory Allocation.
Find the bytes allocated for BOOL, DINT, and REAL points:
On the Configuration tree, click Memory Points, Input Points, or Output Points.
Double-click the graphic for the point type.
Add the number of bytes allocated for all BOOL input, output, and aliased memory
points. Enter the number in step 1 of the following worksheet. Do the same for
DINT and REAL points and enter the results in step 1.
On the receiving controller, get the BOOL, DINT, and REAL points and enter the
numbers in step 3. Follow the instructions on the following worksheet to estimate the
transfer time.
Steps
1. Enter the number of bytes for
each point type on the sending
controller and divide or multiply as
indicated. Add the results.
Point
Type
Allocated
Bytes
Operation
BOOL
_________
8=
_________
DINT
_________
x4=
_________
REAL
_________
x4=
_________
Result
_________
TS =
_________
BOOL
_________
8=
_________
DINT
_________
x4=
_________
REAL
_________
x4=
_________
TR =
SS =
SR =
_________
_________
_________
_________
_________
_________
9. Add the results of step 7 and 8 to get the data transfer time
10. If the number of pending send requests in the application
is greater than 10, divide the number of send requests by 10.
DT=
_________
_________
Peer-to-Peer Applications
Allocated
Bytes
Operation
Adjusted
DT
Steps
Point
Type
221
Result
_________
Procedure
1
Expand the Application tree, double-click Implementation, and then click Peer-to-Peer
Configuration.
If you want to change the settings for an application running on the controller, you must
build the application and perform a Download All.
222
Chapter 2
Application Development
SOE Development
This section explains how to enable sequence of events collection in a project. Events can be
retrieved from a Triconex controller by using the Triconex SOE Recorder software, or by using
a third-party OPC client to subscribe to the TCMs embedded OPC server. For more
information, see the Triconex SOE Recorder Users Guide and the Communication Guide for Tricon
v9-v10 Systems.
Topics include:
Procedure
1
To sort by SOE block number or tagname, click on the corresponding list header.
To search for a tagname in the list, on the Edit menu, select Find, and then enter the
name (or partial name) of the tagname you want to find.
SOE Development
223
When you click Find First, the first tagname whose name matches the text you
entered is selected in the list. Click Find Next to find the next matching
tagname.
Wildcard searches are not supported.
To copy the SOE configuration information to the clipboard, select the tagnames
you want to copy, and then click Copy on the Edit menu.
To select multiple tagnames, hold down CTRL (for a non-contiguous
selection) or SHIFT (for a contiguous selection) while you click each tagname.
To select all tagnames, on the Edit menu, click Select All.
Copied SOE configuration information can be pasted into any word
processing or spreadsheet application using the Paste command in the target
application.
To change the SOE block properties, see Defining SOE Block Properties on
page 223.
External
Modified External
CAUTION
When a Foxboro I/A Series DCS retrieves events via an ACM, only one
block can be configured, and it must be defined as an External Block Type.
Each external block can be accessed by only one sequence of events utility. For example, if the
224
Chapter 2
Application Development
Foxboro I/A DCS workstation is retrieving events from an External SOE block, SOE Recorder
cannot also retrieve events from that same block. See the Triconex SOE Recorder Users Guide for
instructions on specifying the blocks SOE Recorder can retrieve events from.
Procedure
1
SOE Development
Property
Action
225
Enter a title for the block. If you do not enter a block name, a default
name will be assigned automatically.
The default is soe_block_n, where n is the block number.
The buffer stores the event entries, each containing a 8-byte time
stamp and one or more 8-byte data entries.
Enter the number of events to be stored in this block. The maximum
number is 20,000 events (320,000 bytes); the default is 0.
The maximum buffer size across all blocks is 60,000 events (1 MB).
Note: You cannot change the SOE Buffer Size while the project is in
the Download Changes state. If the project is currently in the
Download Changes state, when you click Apply you will be
prompted to change the project state to Download All. If you
do not change the project state to Download All, the buffer
size will not be changed. See Change State to Download All
Command on page 492 for important information about the
impact of changing the project state.
SOE Block
Collection Type
226
Chapter 2
Application Development
Property
Action
SOE Block
Collection Mode
Note
For more detailed information about the Automatic and Manual block collection types,
and the SOE Recorder block collection modes (Primary, Redundant, or Custom), please
see the Triconex SOE Recorder Users Guide v4.2.
For Tricon, if you define a block for use with the Advanced Communication Module
(ACM), the Foxboro I/A Series system assigns the tagnames. The only additional
configuration you can do is to specify a type of External and a buffer size.
SOE Development
227
Before you can assign tagnames, you must define SOE block properties (see Defining SOE Block
Properties on page 223).
Procedure
1
Click the SOE Configuration branch. The tagnames and block assignments, if any, are
listed in a pane to the right of the tree.
To assign a tagname to one or more SOE Blocks, double-click the row for the tagname.
The Item Properties dialog box appears.
To assign the tagname to specific blocks, select the block number check box.
If the number is disabled, it means the block has not been defined, or the block has been
defined as a Redundant block. You cannot manually assign tagnames to Redundant
blocks.
Note
If you add tagnames after opening the SOE Configuration screen, you must close
and re-open the SOE Configuration screen to have the new tagnames displayed.
After assigning all the tagnames, save the project so the tagnames are available when
specifying a trip variable.
228
Chapter 2
Application Development
Procedure
1
Action
Trip Tagname
Trip State
229
What Affects Tricon Write Access from External Devices on page 230
You can also use the optional TCM access control list1 to restrict access to the Tricon on
a per-client basis. See Controlling Access to the TCM on page 386.
Procedure
1.
Action
Except models 4351 and 4352, which do not have the access control list feature.
230
Chapter 2
Application Development
Property
Action
Password
Disable Stop on
Keyswitch
The settings you selected are used when the application is built.
Input, output, and memory points can be read by any external device that can
communicate with a Tricon controller.
Write access to input points is not allowed from any external device.
Write access to a output or memory point is allowed or restricted based on the system,
communication, application, and point settings.
Write access to an output point via the TCMs embedded OPC server is not allowed.
This table describes write access to Tricon points from external devices.
Table 30
Property or Feature
Description
Tricon keyswitch
Table 30
231
Property or Feature
Description
GATENB
GATDIS
Privilege
An optional Tricon TCM feature that gives you the ability to control
which clients can access TCM resources, the protocols they can use, and
the level of access each client has. See Controlling Access to the TCM on
page 386.
Prohibit Writes
Point Assignment
a. This setting is not available on model 4351B, 4352B, 4353 and 4354 TCMs (used in Tricon v10.3 and later systems).
b. Except models 4351 and 4352, which do not have the access control list feature.
232
Chapter 2
Application Development
CAUTION
In Tricon v10.3 and later systems, TSAA clients using a TCM interface
have write access to the NET 1 and NET 2 ports by default. Depending on
your configuration, this may create a security issue.
Please note that this default behavior is opposite of that on TCMs in Tricon
v10.2 and earlier systems.
To disable write access by TSAA clients, you must enable and configure
the TCM access control list. See Controlling Access to the TCM on
page 386.
Procedure
1
Ensure the Disable Remote Changes to Outputs check box is selected. The default is
selected.
233
External OPC clients cannot write to output points, even if the Disable Remote Changes
to Outputs property is cleared.
Procedure
1
Clear the Disable Remote Changes to Outputs check box. The default is selected.
2.
If the external devices are communicating through an ACM or NCM, ensure the
Privilege property for the module is set to Read/Write. See Privilege on page 584.
The default for Tricon ACM is Read; for Tricon NCM the default is Read/Write.
If the external devices are communicating through a TCM, ensure the Port Write
Enabled property for the selected port and protocol is selected, or that the TCM2
access control list is configured to allow read/write access for the selected client
using the appropriate protocol. See Port Write Enabled on page 581 or Controlling
Access to the TCM on page 386.
Ensure the output or memory point is assigned a Read/Write alias number. See
Assigning an Alias Number, Alias Type, and Physical Address on page 174.
Except models 4351 and 4352, which do not have the access control list feature.
234
Chapter 2
Application Development
What Affects Trident and Tri-GP Write Access from External Devices on page 235
You can also use the optional v2.x CM access control list to restrict access to the Trident
or Tri-GP controller on a per-client basis. See Controlling Access to the Trident 2.x or
Tri-GP CM on page 434.
Procedure
1
On the Configuration tree, open the Hardware Allocation node, and then double-click
the MP. The Item Properties dialog box appears.
235
Action
Password
The settings you selected are used when the application is built.
What Affects Trident and Tri-GP Write Access from External Devices
This section describes the system properties, communication properties, and function blocks
that affect read and write access to memory and output points on a Trident or Tri-GP controller.
These types of read and write access are possible:
Input, output, and memory points can be read by any external device that can
communicate with a Trident or Tri-GP controller.
Write access to input points is not allowed from any external device.
Write access to a output or memory point is allowed or restricted based on the system,
communication, application, and point settings.
This table describes write access to Trident or Tri-GP points from external devices.
Table 31
Property or Feature
Description
236
Chapter 2
Application Development
Table 31
Property or Feature
Description
SYS_SET_REMOTE_WRT_ENBL
Point Type
CAUTION
By default, TSAA clients have write access to the NET 1 and NET 2 ports
on Trident 2.x and Tri-GP CMs. Depending on your configuration, this
may create a security issue.
To disable write access by TSAA clients, you must enable and configure
the CM access control list. See Controlling Access to the Trident 2.x or
Tri-GP CM on page 434.
237
Procedure
1
On the Configuration tree, open the Hardware Allocation node, and then double-click
the MP. The Item Properties dialog box appears.
On the Operating Parameters tab, ensure the Disable Remote Changes to Outputs check
box is selected.
238
Chapter 2
Application Development
External OPC clients cannot write to output points, even if the Disable Remote Changes
to Outputs property is cleared, or the SYS_SET_REMOTE_WRT_ENBL function block is
used.
Procedure
1
On the Configuration tree, open the Hardware Allocation node, and then double-click
the MP. The Item Properties dialog box appears.
If the external devices are communicating through an Open Network port on the
Trident 1.x CM, ensure the Privilege property on the Network tab is set to
Read/Write. See Configuring Trident 1.x MP Network Ports on page 330. The
default is Read/Write.
If the external devices are communicating through a Trident 2.x or Tri-GP CM,
ensure that the access control list is configured to allow read/write access for the
selected client using the appropriate protocol. See Controlling Access to the Trident
2.x or Tri-GP CM on page 434.
Ensure the output or memory point is assigned a Read/Write alias number. See
Assigning an Alias Number, Alias Type, and Physical Address on page 174.
Building an Application
239
Building an Application
This section includes information on how to build an application, which must be done before
testing. If you try to download an application before building it, TriStation 1131 tries to build it
and then download it. If the build has errors, the download does not continue.
Topics include:
Using the Print All command, you can print a report that includes the Program
Execution List (Program Implementation). See Printing Project Documents on page 91.
Procedure
1
240
Chapter 2
Application Development
Property or Button
Action
Scan Time
Delete button
Move Up button
Browse button
WARNING
Compiling a Program
This procedure explains how to manually compile a program, which can be done before
building an application. Programs are automatically compiled when you build an application.
Procedure
1
When the Comments for Audit Trail dialog box appears, enter a comment to describe
the changes you made to the program since the last compile, and then click OK.
The Message View automatically opens and displays the status of the compile process.
Building an Application
241
When building an application, the number of program variables cannot exceed 64,001.
If you receive an error message that this limit has been exceeded, you must reduce the
number of program variables before you can build your application. The easiest way to
reduce the number of program variables is to turn off color monitoring in your
program(s). See Specifying Document Attributes on page 113.
Procedure
1
When the Comments for Audit Trail dialog box appears, enter a comment to describe
the changes you made to the application since the last build, and then click OK.
The build process begins.
Check the Message View to view the status of the build, and to check for errors. If there
are no errors, the build is successful.
If there are errors, click each error message to locate the location of the error.
Correct the errors, compile the affected user documents, and then build or rebuild the
application.
Note
When you build a CEM program, intermediate FBD and ST code is generated. This code
is useful for understanding and debugging the CEM program. To view the intermediate
code, from the Document menu, select View Intermediate FBD or View Intermediate ST.
242
Chapter 2
Application Development
the initialization table would have an entry telling the controllers operating system to set I1 to
5 prior to running the application.
If there are too many entries in the initialization table, you may be able to download the
application to the Emulator, but you will be unable to download it to the controller due to an
initialization table overflow error (Error Code PD0004).
Note
When you delete a variable, an additional temporary entry is made in the initialization
table to set the variable to zero during the next Download Changes operation. As a
result, deleting too many variables at once can result in initialization table overflow due
to the temporary entries created to set the deleted variables to zero.
This section describes how to view and understand the size of the applications initialization
table, and what to do to correct an initialization table overflow problem.
Topics include:
Building an Application
243
The maximum size of the initialization table is 64K (65,535 bytes). The size of the initialization
table is calculated as follows:
The following sample calculation shows how the values for each variable are used to determine
the total size of the initialization table.
279 BOOLs
64 REALs
401 DINTs
10 TIME
Number of
Variables
Overhead
(# variables x 8)
Bytes Per
Type
Bytes Used
(# variables x
bytes per type)
BOOL
279
2,232
279
2,511
DINT
401
3,208
1,604
4,812
REAL
64
512
256
768
TIME
10
80
80
160
Totals:
754
6,032
n/a
2219
8,251
Create a program that only runs on the first scan to initialize variables.
244
Chapter 2
Application Development
3
Tricon Controller Configuration
Overview 246
Setting Tricon Operating Parameters 249
Allocating Memory for Tricon Points 251
Configuring the Tricon Target System Version 252
Configuring Tricon Hardware 262
Configuring Tricon Communication Modules 271
Configuring Tricon Time Synchronization 298
Printing the Tricon Module Configuration 309
246
Chapter 3
Overview
This figure shows the main steps for configuring the Tricon controller and their typical order in
the project cycle. The controller must be configured before an application can be downloaded
and implemented on a controller.
Set Up the Project
Develop the
Application
Errors?
No
- Set operating parameters
C onfigure the
C ontroller
Set Up TriStation
C ommunication
Implement on
the C ontroller
See
Configure hardware.
Overview
247
248
Chapter 3
Controller and
Emulator tree
249
The Target System Version displayed on the Operating Parameters screen is the target
system version currently configured in the project. This value is not obtained from a
connected controller. To view the actual system version of your Tricon system, use the
Enhanced Diagnostic Monitor. For more information, see Determining Your Tricon
Controllers System Version on page 252.
Procedure
1
Expand the Controller tree, double-click Configuration, and then click Operating
Parameters.
Action
Password
Disable Stop on
Keyswitch
Disable Remote
Changes to Outputs
250
Chapter 3
Property
Action
Allow Disabling of
Points
Note
Using the Print All command, you can print a report listing the current Operating
Parameters settings. See Printing Project Documents on page 91.
251
CAUTION
See What Are Undeclared Tagnames? on page 184 for more information about memory
allocation for points.
Procedure
1
Expand the Controller tree, double-click Configuration, and then expand Memory
Allocation.
Move the slider up or down to change the memory allocated for the selected point.
Note
Using the Print All command, you can print a report listing the current memory
allocation settings. See Printing Project Documents on page 91.
252
Chapter 3
You cannot be connected to the controller while you are changing the target system
version.
Determine the system version of the Tricon the project will be downloaded to.
Validate the target system version change to review the changes that will be made to
the project before committing to the change.
Topics include:
The model number of the Main Processor modules installed in the Tricon (3006,
3006/N, 3007, or 3008)
The Tricons system version (for example, v9.6, v10.1, v10.3, etc.)
The easiest way to find this information is to connect to the Tricon using the Enhanced
Diagnostic Monitor.
Note
If you are unable to connect to the Tricon, or you do not have the Enhanced Diagnostic
Monitor, you can also refer to your sales order paperwork, which should specify the
Main Processor model installed in your Tricon, as well as the system version.
253
The target system version currently configured in the project is displayed on the Operating
Parameters screen and at the top of the Select Main Processor dialog box.
Open the Enhanced Diagnostic Monitor (for more detailed instructions, see the Enhanced
Diagnostic Monitor User's Guide).
Connect to the node (controller) whose system version you want to find.
In the System Overview tree, click System Overview. The System Overview window
appears.
Tricon System Version
View the system version information, located at the top of the System Overview
window.
Procedure
1
Double-click the chassis whose target system version you want to change, and then click
Replace MPs.
254
Chapter 3
Description
Model
Target System
Version
a. TriStation 1131 v4.6 does not support Tricon versions v9.4.x and earlier. For a list of
TriStation versions compatible with your Tricon, see the applicable Tricon Product Release
Notice (available on the Invensys Global Customer Support web site).
Note
If you arent sure which Main Processor model and Tricon system version to
select, use the Enhanced Diagnostic Monitor to verify your Tricon system
version information. See Determining Your Tricon Controllers System Version
on page 252 for more information.
Click OK.
TriStation analyzes your project settings and current controller configuration to
determine the modifications that will be made to the project if you change to the selected
target system version.
In the Messages pane, review the results of the validation to determine if you want to
commit to the target system version change.
255
You cannot change (upgrade or downgrade) the target system version for a project that
meets all of the following criteria:
Topics include:
Upgrade from a model 3006 or 3007 Main Processor to a model 3008 Main Processor.
Upgrade or downgrade the version number of the Tricon (for example, upgrade from
v9.8 to v10.0, or downgrade from v10.2 to v10.0).
256
Chapter 3
If you have a model 4351A/4352A TCM configured in your Tricon v10.2 or v10.3 project, please
make note of the following:
If you are upgrading from Tricon v10.2 to v10.3, the TCM will be removed during
project conversion.
Once project conversion is complete, you can add the 4351A/4352A module back to
your project.
If you exported the existing TCM configuration in the v10.2 project prior to project
conversion, you can then import the configuration file in your v10.3 project.
If you did NOT export the existing TCM configuration in the v10.2 project prior to
project conversion, you must reconfigure the module from scratch, using the
instructions provided in Configuring TCM Ports on page 278.
If you are downgrading from Tricon v10.3 to v10.2, the TCM will be removed during
project conversion.
Once project conversion is complete, you can add the 4351A/4352A module back to
your project.
You must reconfigure the module from scratch, using the instructions provided in
Configuring TCM Ports on page 278. You cannot import a TCM configuration file
that was exported from the 4351A/4352A module originally configured in the v10.3
project.
Procedure
1
In the Change Project State to Download All dialog box, click Change State.
Double-click the chassis whose system version you want to change, and then click
Replace MPs.
Note
If the Replace MPs button is unavailable, the project is in the Download Changes
state. Go back to step 2 to change the project state before continuing.
257
Description
Model
Target System
Version
a. TriStation 1131 v4.6 does not support Tricon versions 9.4.x and earlier. For a list of
TriStation versions compatible with your Tricon, see the applicable Tricon Product Release
Notice (available on the Invensys Global Customer Support web site).
258
Chapter 3
Note
If you arent sure which Main Processor model and Tricon system version to
select, use the Enhanced Diagnostic Monitor to verify your Tricon system
version information. See Determining Your Tricon Controllers System Version
on page 252 for more information.
Click OK.
When asked to backup your project before changing the target system version, do one
of the following:
(Recommended) Click Yes and then specify the folder to save the backup file to. Use
the suggested name, or specify a new one. The file extension (.bt2) does not have to
be included in the name.
TriStation reconfigures your project to the selected target system version. All current
configuration settings are maintained; however, any parameters that did not exist in the
previous version are set to their default values.
9
In the Messages pane, review the results of the target system version change. For more
information, see the Target System Version Change Matrix on page 259.
10
To finish the process, you must build the application and download it to the controller.
Find the column for your current system version on the top.
Then move down to locate the row (on the left) for the system version you want to
change your project to.
The box where your selected column and row meet describes the changes that will be
made to your project if you change to the new target system version.
Table 32
ORIGINAL
VERSION
NEW
VERSION
3006 MP
v9.5.x,
v9.51.x, or
v9.52.x
3008 MP
v9.6 and
Later
3008 MP
v10.0.x
3008 MP
v10.2.x
3008 MP
v10.3.x
3008 MP
v10.4.x
3008 MP
v10.5.x
Note: A target system version change (upgrade or downgrade) requires that the project state be changed to Download All, with one exception
when you are converting a project created in a version of TriStation prior to v4.6. During project conversion, projects created with a previous
version of TriStation will remain in the Download Changes state regardless of a target system version change. For more information, see
Converting Existing Projects to Version 4.9.0 on page 11.
3006 MP
v9.5.x
v9.51.x
v9.52.x
NOT ALLOWED
UPGRADE
3008 MP
v9.6 and Later
UPGRADE
Add support
for model 4351,
4352 TCMs
UPGRADE
Add support
for model
4351A and
4352A TCMs
UPGRADE
Add support
for model
4351A and
4352A TCMs
NOT ALLOWED
NOT ALLOWED
NOT ALLOWED
NOT ALLOWED
NOT ALLOWED
DOWNGRADE
Remove TCMs
(all models)
DOWNGRADE
Remove TCMs
(all models)
DOWNGRADE
Remove TCMs
(all models)
Remove model
3720, 3721, 3625
I/O modules
DOWNGRADE
Remove TCMs
(all models)
Remove model
3720, 3721, 3625
I/O modules
DOWNGRADE
Remove TCMs
(all models)
Remove model
3720, 3721,
3625, 3807 I/O
modules
DOWNGRADE
Remove TCMs
(all models)
Remove model
3720, 3721,
3625, 3807 I/O
modules
DOWNGRADE
Remove model
4351A, 4352A
TCMs
Add support
for model 4351,
4352 TCMs
DOWNGRADE
Remove model
4351A, 4352A
TCMs
Remove model
3720, 3721, 3625
I/O modules
Add support
for model 4351,
4352 TCMs
DOWNGRADE
Remove model
4351A, 4351B,
4352A, 4352B,
4353, 4354
TCMs
Remove model
3720, 3721, 3625
I/O modules
Add support
for model 4351,
4352 TCMs
DOWNGRADE
Remove model
4351A, 4351B,
4352A, 4352B,
4353, 4354
TCMs
Remove model
3720, 3721,
3625, 3807 I/O
modules
Add support
for model 4351,
4352 TCMs
DOWNGRADE
Remove model
4351A, 4351B,
4352A, 4352B,
4353, 4354
TCMs
Remove model
3720, 3721,
3625, 3807 I/O
modules
Add support
for model 4351,
4352 TCMs
DOWNGRADE
Remove model
3720, 3721, 3625
I/O modules
DOWNGRADE
Remove model
4351B, 4352B,
4353, 4354
TCMs
Remove model
3720, 3721, 3625
I/O modules
DOWNGRADE
Remove model
4351B, 4352B,
4353, 4354
TCMs
Remove model
3720, 3721,
3625, 3807 I/O
modules
DOWNGRADE
Remove model
4351B, 4352B,
4353, 4354
TCMs
Remove model
3720, 3721,
3625, 3807 I/O
modules
259
UPGRADE
Add support
for model
4351A and
4352A TCMs
Remove model
4351 and 4352
TCMs
UPGRADE
Add support
for model 4351,
4352 TCMs
NOT ALLOWED
3008 MP
v10.0.x
3008 MP
v10.1.x
3008 MP
v10.1.x
UPGRADE
Add support
for model
4351A, 4352A
TCMs
Add support
for model 3720,
3721, 3625 I/O
modules
3008 MP
v10.0.x
3008 MP
v10.1.x
3008 MP
v10.2.x
UPGRADE
Add support
for model
4351A, 4352A
TCMs
Add support
for model 3720,
3721, 3625 I/O
modules
UPGRADE
Add support
for model
4351A, 4352A
TCMs
Add support
for model 3720,
3721, 3625 I/O
modules
Remove model
4351 and 4352
TCMs
UPGRADE
Add support
for model 3720,
3721, 3625 I/O
modules
Upgrade
configuration
options for
model 4351A,
4352A TCMs
UPGRADE
Add support
for model
4351A, 4351B,
4352A, 4352B,
4353, 4354,
TCMs
Add support
for model 3720,
3721, 3625 I/O
modules
UPGRADE
Add support
for model
4351A, 4351B,
4352A, 4352B,
4353, 4354,
TCMs
Add support
for model 3720,
3721, 3625 I/O
modules
UPGRADE
Add support
for model
4351A, 4351B,
4352A, 4352B,
4353, 4354,
TCMs
Add support
for model 3720,
3721, 3625 I/O
modules
Remove model
4351, 4352
TCMs
UPGRADE
Add support
for model
4351B, 4352B,
4353 and 4354
TCMs
Add support
for model 3720,
3721, 3625 I/O
modules
UPGRADE
Add support
for model
4351B, 4352B,
4353 and 4354
TCMs
Remove model
4351A and
4352A TCMsb
UPGRADE
Add support
for model
4351A, 4351B,
4352A, 4352B,
4353, 4354,
TCMs
Add support
for model 3720,
3721, 3625, 3807
I/O modules
UPGRADE
Add support
for model
4351A, 4351B,
4352A, 4352B,
4353, 4354,
TCMs
Add support
for model 3720,
3721, 3625, 3807
I/O modules
UPGRADE
Add support
for model
4351A, 4351B,
4352A, 4352B,
4353, 4354,
TCMs
Add support
for model 3720,
3721, 3625, 3807
I/O modules
Remove model
4351, 4352
TCMs
UPGRADE
Add support
for model
4351B, 4352B,
4353 and 4354
TCMs
Add support
for model 3720,
3721, 3625, 3807
I/O modules
UPGRADE
Add support
for model
4351B, 4352B,
4353 and 4354
TCMs
Add support
for model 3807
I/O module
Remove model
4351A and
4352A TCMs
3008 MP
v10.3.x
3008 MP
v10.4.x
3008 MP
v10.5.x
DOWNGRADE
Remove model
4351B, 4352B,
4353, 4354
TCMs
Remove model
4351A and
4352A TCMsa
DOWNGRADE
Remove model
4351B, 4352B,
4353, 4354
TCMs
Remove
support for
model 3807 I/O
module
DOWNGRADE
Remove model
4351B, 4352B,
4353, 4354
TCMs
Remove
support for
model 3807 I/O
module
DOWNGRADE
Remove
support for
model 3807 I/O
module
DOWNGRADE
Remove
support for
model 3807 I/O
module
NEW
VERSION
3008 MP
v10.2.x
3008 MP
v10.3.x
3008 MP
v10.4.x
UPGRADE
Add support
for model 3807
I/O module
DOWNGRADE
No hardware
change
3006 MP
v9.5.x,
v9.51.x, or
v9.52.x
Chapter 3
ORIGINAL
VERSION
260
Table 32
Table 32
ORIGINAL
VERSION
3006 MP
v9.5.x,
v9.51.x, or
v9.52.x
3008 MP
v9.6 and
Later
UPGRADE
Add support
for model
4351A, 4351B,
4352A, 4352B,
4353, 4354,
TCMs
Add support
for model 3720,
3721, 3625, 3807
I/O modules
UPGRADE
Add support
for model
4351A, 4351B,
4352A, 4352B,
4353, 4354,
TCMs
Add support
for model 3720,
3721, 3625, 3807
I/O modules
3008 MP
v10.0.x
3008 MP
v10.1.x
3008 MP
v10.2.x
3008 MP
v10.3.x
3008 MP
v10.4.x
UPGRADE
Add support
for model
4351A, 4351B,
4352A, 4352B,
4353, 4354,
TCMs
Add support
for model 3720,
3721, 3625, 3807
I/O modules
Remove model
4351, 4352
TCMs
UPGRADE
Add support
for model
4351B, 4352B,
4353 and 4354
TCMs
Add support
for model 3720,
3721, 3625, 3807
I/O modules
UPGRADE
Add support
for model
4351B, 4352B,
4353 and 4354
TCMs
Add support
for model 3807
I/O module
Remove model
4351A and
4352A TCMs
UPGRADE
Add support
for model 3807
I/O module
UPGRADE
No hardware
change
3008 MP
v10.5.x
NEW
VERSION
3008 MP
v10.5.x
261
a. When downgrading a Tricon v10.3 project to Tricon v10.2, if a model 4351A or 4352A TCM was installed and configured in the v10.3 project, it will be removed
during project conversion. Once the project conversion is complete, you can add the 4351A/4352A TCM to the project again, and reconfigure it for use with the Tricon
v10.2 system. See If You Have a TCM Configured in Your TriStation Project on page 255 for more information.
b. When upgrading a Tricon v10.2 project to Tricon v10.3, if a model 4351A or 4352A TCM was installed and configured in the v10.2 project, it will be removed during
project conversion. Once the project conversion is complete, you can add the 4351A/4352A TCM to the project again, and reconfigure it for use with the Tricon v10.3
system. See If You Have a TCM Configured in Your TriStation Project on page 255 for more information.
262
Chapter 3
Note
See Configuring the Tricon Target System Version on page 252 for the target system version
upgrade/downgrade rules that apply to configurations with mixed chassis types.
263
Procedure
1
Actions
Add
Click to add a chassis. Select the type of chassis from the list
that appears.
Delete
264
Chapter 3
Procedure
1
Expand the Controller tree, double-click Configuration, and then click Hardware
Allocation.
The Chassis Power Usage screen shows information about the logic power used by each
chassis.
Total Power Supply: Shows the maximum logic power that the chassis can
support.
Total Power Used: Shows how much logic power is being used by the current
configuration of modules in a chassis.
If the Available power is negative, delete one or more modules from the chassis and add
them to another chassis in the configuration.
Recheck the power usage for the chassis to ensure the logic power is acceptable. If
acceptable, the physical installation must be changed to match the logical configuration
in TriStation.
265
Procedure
1
Double-click the chassis that you want to add or remove a module from.
To add a module, click an empty slot, and then click Insert. On the Insert Module
screen, select the type of module to insert, and then click OK.
To remove a module, click the module to be removed from the configuration, and
then click Remove. This cannot be undone.
266
Chapter 3
WARNING
Changing the resolution type on model 3720 and 3721 AI modules will
cause all input points on the module to change. A change from high to
low resolution (or vice-versa) results in a value change by a factor of four.
You must modify your application to take this change into account.
During a download change operation, the implementation of the logic
change will occur before the implementation of the range change on the
modules. This may result in a mismatch between the range the
application expects and the actual range from the module. All points
should be bypassed during a resolution change to prevent any
unintended application problems.
The model 3720 and 3721 AI modules are compatible only with Tricon v10.2 and later systems.
Procedure
1
Expand the Controller tree, click Configuration, and expand Hardware Allocation.
Expand the chassis where the module is installed, double-click the slot where the
module is installed, and then click Setup.
Property
Action
Resolution Type
267
Select the input type for the point. Only available with the
Differential AI module.
Unipolar Input: 0 to 5 volts (with 6% over-range).
Bipolar Input: -5 to 5 volts (with 6% under-range and overrange). Available only if High Resolution is selected.
The default is Unipolar Input.
Field Power
Monitoring
Procedure
1
Expand the Controller tree, click Configuration, and expand Hardware Allocation.
Expand the chassis where the module is installed, double-click the slot where the
module is installed, and then click Setup.
268
Chapter 3
Select the tagname to be configured, and then specify these properties in the DO Setup
dialog box.
Property
Action
DO Point
Options
Shorted Point
Alarm Threshold
Open Point
Alarm Threshold
269
Procedure
1
Expand the Controller tree, click Configuration, and expand Hardware Allocation.
Expand the chassis where the module is installed, double-click the slot where the
module is installed, and then click Setup.
Select the tagname to be configured, and then specify these properties in the Pulse Input
Setup dialog box.
Property
Action
Rate Type
Maximum RPM
Maximum Speed
Enter the speed for the pulse input device; used with
Speed rate type.
Scale Factor
270
Chapter 3
Procedure
1
Expand the Controller tree, click Configuration, and expand Hardware Allocation.
Expand the chassis where the module is installed, double-click the thermocouple
module slot, and then click Insert.
From the module list, select the type of thermocouple module installed in the Tricon, as
indicated by these properties.
Property
Description
Model
3706/A/AN or 3708/E/EN
Type E, J, K, T
Degree conversion
UpS (upscale)
DnS (downscale)
Points
Click the type of module installed in the controller, and click OK. There are no other
properties to specify.
271
Topics include:
You can install primary and redundant ACM modules in either chassis 1 or chassis 2.
Note
If you have both an ACM and a TCM installed in your Tricon, we do not recommend
using NET 2 on the ACM for network connections. Instead, use NET 1 or NET 2 on the
TCM for network connections and/or time synchronization, and NET 1 on the ACM for
connection to the Foxboro I/A Series DCS.
Procedure
1
272
Chapter 3
For a NET 1 connection, specify these properties on the ACM Setup screen.
Property
Action
Privilege
Redundant Mode
Time Synchronization
For a NET 2 connection, specify these properties on the ACM Setup screen.
Property
Action
Redundant Mode
Used/Not Used
Privilege
Property
Action
IP Address
273
IP Subnet Mask
Default Gateway IP
Address
Time Synchronization
Procedure
1
Property
Action
Base Address
Number of
Extended Block
274
Chapter 3
To a Centronics printer
You can install an EICM module in either chassis 1 or the first expansion chassis. An EICM
cannot be installed in the same system as a TCM. For more information about module
compatibility, see the Planning and Installation Guide for Tricon v9-v10 Systems.
Procedure
1
Action
Port Selection
Protocol
Property
Action
Baud Rate
275
The total rate for all four ports must be less than or equal to
57,600.
Data Bits
Stop Bits
Parity
Handshake
Modbus (Minimum
and Maximum) Range
Serial connection between a Tricon NCM/G module and a Global Positioning System
(GPS) interface
You can install a primary and redundant module in one logical slot. An NCM cannot be
installed in the same system as a TCM. For more information about module compatibility, see
the Planning and Installation Guide for Tricon v9-v10 Systems.
Procedure
1
276
Chapter 3
Action
Installed/Not
Installed
Privilege
IP Address
Global Positioning
System Installed
Time Synchronization
277
Procedure
1
Property
Action
SOE Block
Prohibit Writes
Time Synchronization
278
Chapter 3
The information and procedures in this section do not apply to model 4351 and 4352
TCMs. If you have one of these TCMs installed in your system, please see Appendix C,
TCM Model 4351/4352 Configuration.
A single Tricon v10.x system1 supports a maximum of four TCMs, which must reside in two
logical slots located in chassis 1 or chassis 2 only. You cannot install model 4351/4352 TCMs in
a system that also has model 4351A/B, 4352A/B, or 4353/4354 TCMs installed, even if they are
installed in different chassis.
Additionally, different TCM models cannot be mixed in the same logical slot. Exceptions to this
rule are the 4351A/B and 4352A/B modules, where A and B modules with the same model
number can be installed in the same slot. See the Planning and Installation Guide for Tricon v9-v10
Systems for detailed TCM installation guidelines.
The following table lists the protocols supported by TCM models 4351A/B and 4353 (Copper);
and 4352A/B and 4354 (Fiber) on network and serial ports.
Network Ports
(Models
4351A/B and
4352A/B)
Network Ports
(Models 4353
and 4354)
TriStation
NET 1, NET 2
NET 1, NET 2
TSAA (UDP/IP)
NET 1, NET 2
NET 1
NET 1, NET 2
NET 1
Peer-to-Peer (UDP/IP)
NET 1, NET 2
NET 1
NET 1
NET 1
NET 2
Any port
Any port
NET 1, NET 2
NET 1
Port 1
NET 1
NET 1
NET 1, NET 2
NET 1
NET 1, NET 2
NET 1, NET 2
NET 1, NET 2
NET 1
Protocol or Standard
Peer-to-Peer (DLC)
Serial Ports
(All Models)
Port 4
1.
TCMs can be installed only in Tricon v10.x systems. They cannot be installed in Tricon v9.x or earlier
systems. Model 4351 and 4352 TCMs can be installed only in Tricon v10.0.x systems. Model 4351A
and 4352A TCMs can be installed only in Tricon v10.1.x and later systems. Model 4351B, 4352B, 4353,
and 4354 TCMs can be installed only in Tricon v10.3 and later systems. For more detailed
compatibility information, please see the Product Release Notice for your Tricon system version.
Note
279
Invensys recommends configuring a serial connection to the TCM first, because it is less
complex and easier to successfully connect to the TCM through the serial port.
Once you have successfully connected to the TCM and downloaded the initial
configuration to the Tricon, you can go back and configure the more complex network
connection without worrying about losing the ability to communicate with the
controller altogether.
Configuring TCM Protocols (Tricon v10.3 and Later Only) on page 292
Controlling Access to the TCM on page 386 for instructions on controlling access to the
TCM on a per-client level.
Configuring a Tricon TCM Port for Printing on page 397 for instructions on configuring
the TCM for use with a printer.
4351A to
4352A
4351B to
4352B
4353 to
4354
4352A to
4351A
4352B to
4351B
4354 to
4353
Any other TCM model changes will result in all port settings being reset to their default values.
However, once the configuration has been downloaded to the controller, you cannot change the
TCM model installed in the Tricon without downloading a new configuration.
280
Chapter 3
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup.
The TCM Setup dialog box appears.
Action
Port Selection
Property
Action
Protocol
281
Baud Rate
Data Bits
Stop Bits
Parity
Select the type of parity for the port. The default is Odd.
Transceiver Mode
Handshake
Termination Options
FP Ordering
Enter the port number (1-32) that the TCM will use in
Modbus Master functions to access the port. Only
available for Modbus Master.
282
Chapter 3
Procedure for Tricon v10.3 and Later (Models 4351A/B, 4352A/B, and 4353/4354) on
page 284
For more information about the target system version, see Configuring the Tricon Target
System Version on page 252.
Double-click the slot where the TCM module is installed and then click Setup.
The TCM/A Setup dialog box appears.
Property
Action
Slot Selection
Select the physical slot where the TCM module you want to
configure is installed.
283
Transceiver Mode
IP Address
Enter the IP Address for the port. The addresses for NET 1 and
NET 2 do not need to be unique.
The default values are:
NET 1: 192.168.0.x
NET 2: 192.168.1.x
where x is the node number.
The highest and lowest IP addresses in a subnet (addresses
where the last number is 0 or 255, such as 192.168.1.255) are
reserved for broadcast messaging and cannot be used as a valid
IP address.
IP Subnet Mask
Default Gateway IP
Address
TriStation Port
Number
Enter the UDP port to use for the TriStation connection. The
default is 1502. See UDP Base Port Number on page 632 for
additional information.
284
Chapter 3
Property
Action
Enter the UDP port to use for TSAA connections, including DDE
Server, SOE Recorder, and OPC Server. The default is 1500. See
UDP Base Port Number on page 632 for additional information.
Select this check box if you want to allow TSAA writes to this
port. Applies to all TSAA connections on this port. The default is
cleared (the port is read-only).
a. If you have configured TCMs in both the left and right slots, and you then uninstall the TCM in
the left slot, you will no longer be able to change the configuration of the TCM installed in the
right slot. You must re-install a TCM in the left slot before you can modify the configuration of
the TCM in the right slot.
4
Note
Procedure for Tricon v10.3 and Later (Models 4351A/B, 4352A/B, and 4353/4354)
1
Double-click the slot where the TCM module is installed and then click Setup.
The TCM/OPC or TCM/B Setup dialog box appears.
Property
Action
Slot Selection
Select the physical slot where the TCM module you want to
configure is installed.
285
Transceiver Mode
IP Address
Enter the IP Address for the port. The addresses for NET 1
and NET 2 do not need to be unique.
The default values are:
NET 1: 192.168.0.x
NET 2: 192.168.1.x
where x is the node number.
The highest and lowest IP addresses in a subnet (addresses
where the last number is 0 or 255, such as 192.168.1.255) are
reserved for broadcast messaging and cannot be used as a
valid IP address.
IP Subnet Mask
Default Gateway IP
Address
286
Chapter 3
a. If you have configured TCMs in both the left and right slots, and you then uninstall the
TCM in the left slot, you will no longer be able to change the configuration of the TCM
installed in the right slot. You must re-install a TCM in the left slot before you can modify
the configuration of the TCM in the right slot.
To configure the TCM for operation behind a firewall, click Show Advanced Options
and then specify the properties shown in the table below for NET 1 and NET 2.
Setting these properties restricts the ports that the TCM can use for TCP connections to
the specified range. This allows the TCM to operate behind a firewall that has
implemented port restrictions.
For most networks, the default settings should be sufficient. Invensys recommends that
only advanced users change these settings.
Note
If these settings are misconfigured, Modbus TCP and OPC will be unable to
connect. If this occurs, reset the values to the default settings to fix the problem
and re-enable Modbus TCP and OPC.
If you need to use this feature, please contact Invensys Technical Support for
assistance with configuring these settings.
Property
Action
5
Note
287
Because NET 2 is reserved for OPC communication, the Peer-to-Peer protocol is not
available on NET 2 for model 4353 and 4354 TCMs. Peer-to-Peer communication can be
configured on NET 1 only for these TCMs.
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup.
The TCM Setup dialog box appears.
Under Slot Selection, select the module (slot) you want to configure Peer-to-Peer ports
for.
288
Chapter 3
Property
Action
Network
IP Address
Click Update to save the new settings for the selected node.
If you forget to click Update before selecting another node, your settings will be lost.
If necessary, click Reset All to reset all node settings for the selected slot to their
default, unconfigured state.
Once all nodes have been configured, specify these properties (applicable to all nodes on
the Peer-to-Peer network).
Property
Action
For each network port, enter the UDP base port number for
the controller. Enter 0 to disable Peer-to-Peer over UDP/IP
on the network.
The default is 1503,1504 on both NET 1 and NET 2
(meaning Peer-to-Peer is enabled on both ports). UDP port
numbers do not need to be unique, as long as the IP
addresses for each port is unique. See UDP Base Port
Number on page 632 for reserved values.
Available only for NET 1 on model 4353 and 4354 TCMs.
Enable Communication
with Tricon V8 and V9
Peer-to-Peer Systems on
NET 1
289
Because NET 2 is reserved for OPC communication, Modbus TCP is not available on
NET 2 for model 4353 and 4354 TCMs.
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup.
The TCM Setup dialog box appears.
Under Slot Selection, select the module (slot) you want to configure Modbus TCP ports
for.
290
Chapter 3
Property
Action
Protocol
Enter the number for the TCP port. The default is 502.
Network
IP Address
FP Ordering
Modbus (Minimum
and Maximum) Range
291
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup.
The TCM Setup dialog box appears.
Select the network (NET 1 or NET 2) you want to configure routing for.
Action
Destination IP
Address
Destination IP
Subnet Mask
292
Chapter 3
Property
Action
Destination
Gateway IP
Address
If necessary, click Reset All to change all destination settings for the selected slot
to their default, unconfigured state.
The Protocols tab in the TCM Setup dialog box appears only when the target system
version is configured for Tricon v10.3 or later. For Tricon v10.1 and v10.2, the TSAA and
TriStation protocols are configured on the Network tab (see Configuring TCM Network
Ports on page 282).
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup.
The TCM/OPC or TCM/B Setup dialog box appears.
Specify these properties for the protocol(s) you will be using with the TCM.
Protocol
Property
Action
TriStation
TriStation
Port Number
293
Management
Port Number
294
Chapter 3
Protocol
Property
Action
TSAA
TSAA Port
Number
Multicast IP
Address
Multicast
Update Rate
OPC A&E
SOE
SOE Block
Number
SOE Severity
Protocol
Property
Action
OPC A&E
System
Events
Info Severity
295
Major
Severity
Fatal Severity
Disable All
Reset All
CAUTION
In Tricon v10.3 and later systems, TSAA clients using a TCM interface
have write access to the NET 1 and NET 2 ports by default. Depending on
your configuration, this may create a security issue.
Please note that this default behavior is opposite of that on TCMs in Tricon
v10.2 and earlier systems.
To disable write access by TSAA clients, you must enable and configure
the TCM access control list. See Controlling Access to the TCM on
page 386.
296
Chapter 3
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup.
The TCM Setup dialog box appears.
Click Export.
If the TCM configuration has been changed, but not saved, you are asked if you want to
include the unsaved changes in the exported file.
4
Note
Navigate to the folder you want to save the exported configuration file in, enter a file
name, and click Save.
A TCM configuration file exported from a model 4351A/4352A TCM installed in a
Tricon v10.3 or later system cannot be imported to the same model TCM installed in a
Tricon v10.2 or earlier system.
297
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup.
The TCM Setup dialog box appears.
Click Import.
If the TCM configuration has been changed, but not yet saved, you are asked if you want
to overwrite the existing configuration, including the unsaved changes, with the
imported settings.
Navigate to the folder where the exported configuration file is located, and click Open.
TCM configuration settings are imported from the selected file.
Click each tab of the TCM Setup dialog box to review and verify that all settings have
been correctly configured.
298
Chapter 3
Module
ACM
ACM or NCM
To an OPC client. For more information, see the Communication Guide for Tricon
v9-v10 Systems.
By writing aliased data to the TIMESET or TIMEADJ function blocks in a
TriStation 1131 application. For assistance with the specialized programming
that is required, contact Invensys Technical Support.
To the Tricon master node in a Peer-to-Peer network.
NCMG
SMM
TCM
299
Procedure
1
Action
Privilege
Time Synchronization
300
Chapter 3
Procedure
1
Select the On NET 1 enable time synchronization with Tricon Master Node check box.
301
CAUTION
To ensure the accuracy of GPS time adjustments, the Tricon clock must be
set to within 10 minutes of the correct local time.
Procedure
1
Action
Global Positioning
System Installed
Time Synchronization
302
Chapter 3
Procedure
1
Select the Enable time synchronization with external source check box.
303
GPS
SNTP
Triconex Time Synchronization via DLC (NET 1 only) or UDP/IP (NET 1 or NET 22) on
a Peer-to-Peer network
In a redundant network of Triconex controllers that each have two TCMs installed, you can
implement redundant time synchronization by configuring time synchronization for both TCM
modules (both left and right slots). Time synchronization can be enabled only for a single logical
slot.
If the TCM is installed in the COM slot, you configure time synchronization only for the left slot
(there is no redundancy when installed in the COM slot).
Note
The information and procedures in this section do not apply to model 4351 and 4352
TCMs. If you have one of these older model TCMs installed in your system, please see
Appendix C, TCM Model 4351/4352 Configuration.
Topics include:
CAUTION
To ensure the accuracy of GPS time adjustments, the Tricon clock must be
set to within 10 minutes of the correct local time.
If the TCM is in a Peer-to-Peer network, it can also be used as the master node for time
synchronization of other controllers on the network. In this configuration, the master node TCM
synchronizes time with the GPS, and any slave nodes on the Peer-to-Peer network synchronize
their time with the master TCM. In this way, all nodes on the Peer-to-Peer network are
synchronized with GPS time.
If the TCM is acting as a slave node on a Peer-to-Peer network, it cannot be configured for GPS
time synchronization. Slave nodes synchronize their time only to the master node on the Peerto-Peer network, and reject all other time change requests.
GPS time synchronization uses Serial Port 1 on the TCM.
2.
NET 2 is not available for Triconex Time Synchronization with model 4353 and 4354 TCMs.
304
Chapter 3
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup. The TCM
Setup dialog box appears.
Under Slot Selection, click Left Slot. You must configure the module in the left slot first.
(Optional) If you have a redundant TCM installed in the right slot, under Slot Selection,
click Right Slot, and then select GPS Redundant.
Note
The module in the right slot can be configured only if it has been installed (see
Configuring TCM Network Ports on page 282) and if the module in the left slot
has already been configured for GPS time synchronization.
Enabling the TCM as a Master Node for Triconex Time Synchronization (Optional)
If you also want the TCM to be able to act as a master node for time synchronization of other
controllers on a Peer-to-Peer network (using Triconex Time Synchronization) do the following:
1
In the Configuration tree, click Operating Parameters (see Setting Tricon Operating
Parameters on page 249).
305
SNTP time synchronization is less accurate than GPS time synchronization. Because the
SNTP server resides on a PC, network load issues or PC performance can result in delays
in processing time update requests from the Tricon.
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup. The TCM
Setup dialog box appears.
Under Slot Selection, click Left Slot. You must configure the module in the left slot first.
306
Chapter 3
Property
Action
Time Synchronization
Configuration
(Optional) If you have a redundant TCM installed in the right slot, under Slot Selection,
click Right Slot, and then select these properties.
Property
Action
Time Synchronization
Configuration
Note
The module in the right slot can be configured only if it has been installed (see
Configuring TCM Network Ports on page 282) and if the module in the left slot
has already been configured for SNTP time synchronization.
Enabling the TCM as a Master Node for Triconex Time Synchronization (Optional)
If you also want the TCM to be able to act as a master node for time synchronization of other
controllers on a Peer-to-Peer network (using Triconex Time Synchronization) do the following:
1
In the Configuration tree, click Operating Parameters (see Setting Tricon Operating
Parameters on page 249).
307
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup. The TCM
Setup dialog box appears.
In the Configuration tree, click Operating Parameters (see Setting Tricon Operating
Parameters on page 249).
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup. The TCM
Setup dialog box appears.
308
Chapter 3
Under Slot Selection, click Left Slot. You must configure the module in the left slot first.
Action
Time Synchronization
Configuration
Peer-to-Peer Master
Network
Note
If you have a redundant TCM installed in the right slot, Time Synchronization
Configuration is automatically set to Peer-to-Peer and cannot be changed.
In the Configuration tree, click Operating Parameters (see Setting Tricon Operating
Parameters on page 249).
309
Procedure
1
Open the Project Workspace (see The Project Workspace on page 20).
On the File menu, select Print All. The Print All Options dialog box appears.
Note
To quickly clear the check boxes for all the documents in the list, and make it
easier to select only those documents you want to print, clear the Select All check
box.
Select the printer you want to use, and the desired settings (number of copies, page
orientation, etc), and then click OK.
310
Chapter 3
4
Trident and Tri-GP Controller
Configuration
Overview 312
Setting Trident or Tri-GP Operating Parameters 315
Allocating Memory for Trident or Tri-GP Points 317
Configuring the Trident or Tri-GP Target System Version 318
Configuring Trident and Tri-GP Hardware 327
Configuring the Trident or Tri-GP Communication Module 342
Configuring Trident or Tri-GP Time Synchronization 362
Using Trident or Tri-GP System and Module Attributes 369
Printing the Trident or Tri-GP Module Configuration 370
312
Chapter 4
Overview
This figure shows the main steps for configuring the Trident or Tri-GP controller, and their
typical order in the project cycle. The controller must be configured before an application can be
downloaded and implemented on a controller.
Set Up the Project
Develop the
Application
Errors?
No
- Set operating parameters
C onfigure the
C ontroller
Set Up TriStation
C ommunication
Implement on
the C ontroller
See
Configure hardware.
Overview
313
The Trident and Tri-GP Controller and Emulator Panels on page 314
314
Chapter 4
Controller and
Emulator tree
315
The target system version displayed on the Operating Parameters screen is the target
system version currently configured in the project. This value is not obtained from a
connected controller. To view the actual system version of your Trident or Tri-GP
system, see Determining Your Trident or Tri-GP Controllers System Version on
page 318.
Procedure
1
On the Configuration tree, open the Hardware Allocation node, and then double-click
the MP. The Item Properties dialog box appears.
Action
Password Required
for Connection
Password
316
Chapter 4
Property
Action
Restart on Power
Up
Select the check box to have the application restarted after a power
failure. The default is cleared.
Disable Remote
Changes to
Outputs
Allow Disabling of
Points
Enable
Trident/Tri-GP
Node Time
Synchronization
(Trident 2.x or
Tri-GP only)
Clear the check box if you do not want to use local time. The
default is selected.
Prevent Restart
Following Fatal
Error
(Trident 2.x or
Tri-GP only)
4
Note
Click OK to save.
Using the Print All command, you can print a report listing the current Operating
Parameters settings. See Printing Project Documents on page 91.
317
CAUTION
See What Are Undeclared Tagnames? on page 184 for more information about memory
allocation for points.
Procedure
1
Expand the Controller tree, double-click Configuration, and then expand Memory
Allocation.
Move the slider up or down to change the memory allocated for the selected point.
Note
Using the Print All command, you can print a report listing the current memory
allocation settings. See Printing Project Documents on page 91.
318
Chapter 4
TriStation 1131 v4.9.0 supports only one version of the Tri-GP controllerversion 2.1.x.
Thus, you cannot change the target system version for a Tri-GP controller.
If you change the system version of your Trident controller (for example, you upgrade your
Trident system from v1.4 to v2.0), you must logically configure the change in the TriStation 1131
project. This change requires a Download All.
Before committing to the target system version change, you are allowed to back up your project.
Configuring the target system version is a three-step process:
Determine the system version of the Trident or Tri-GP controller the project will be
downloaded to.
Validate the target system version change to review the changes that will be made to
the project before committing to the change.
Topics include:
The model number of the Main Processor modules installed in the Trident or Tri-GP
(3101)
The Trident or Tri-GP system version (for example, v1.2, v1.5, v2.0, etc.)
The target system version currently configured in the project is displayed on the Operating
Parameters screen and at the top of the Select Main Processor dialog box.
Procedure
1
319
Refer to your sales order paperwork, which should specify your Trident or Tri-GP
controllers system version. You do not need to continue with this procedure.
Open the Enhanced Diagnostic Monitor (for more detailed instructions, see the Enhanced
Diagnostic Monitor User's Guide).
Connect to the node (controller) whose system version you want to find.
In the System Overview tree, click System Overview. The System Overview window
appears.
Trident System Version
View the system version information, located at the top of the System Overview
window.
Note
System version information is not available for Trident 1.x controllers. This
property will display 0 when you are connected to a Trident 1.x controller.
320
Chapter 4
Procedure
1
Double-click the IOP whose target system version you want to change, and then click
Replace MP.
Description
Model
Target System
Version
a. TriStation 1131 v4.9.0 does not support Trident controller versions v1.1 and earlier. For a list
of TriStation 1131 versions compatible with your Trident controller, see the applicable
Trident Product Release Notice (available on the Invensys Global Customer Support web
site).
Note
321
If you arent sure which Trident system version to select, use the Enhanced
Diagnostic Monitor or your sales paperwork to verify your controllers system
version information. See Determining Your Trident or Tri-GP Controllers
System Version on page 318 for more information.
Click OK.
TriStation 1131 analyzes your project settings and current controller configuration to
determine the modifications that will be made to the project if you change to the selected
target system version.
In the Messages pane, review the results of the validation to determine if you want to
commit to the target system version change.
On the Trident 1.x controller, time synchronization is enabled if either the On NET 1
Enable Time Synchronization or the On NET 2 Enable Time Synchronization properties
are selected on the Network tab of the CM Setup dialog box.
You will need to re-enable time synchronization after the target system version change is
complete. See Configuring Trident or Tri-GP Time Synchronization on page 362 for more
information.
Upgrading or downgrading within a major Trident controller version (for example, from 1.2 to
1.6) will NOT change your time synchronization settings.
322
Chapter 4
CAUTION
If you are upgrading from Trident 1.x to Trident 2.x, the configuration
settings for the CM will be reset to their default values during the target
system version change.
We recommend writing down your Trident 1.x CM onfiguration details
before changing the target system version, so that you can use them to
reconfigure the Trident 2.x CM after the target system version change is
complete.
Before committing to a target system version change, you should validate the change to
determine what effect it will have on your project. See Validating a Trident Target System
Version Change on page 320.
Procedure
1
In the Change Project State to Download All dialog box, click Change State.
Double-click the IOP whose system version you want to change, and then click Replace
MP.
Note
323
Description
Model
Target System
Version
a. TriStation 1131 v4.9.0 does not support Trident controller versions 1.1 and earlier. For a list
of TriStation 1131 versions compatible with your Trident controller, see the applicable
Trident Product Release Notice (available on the Invensys Global Customer Support web
site).
Note
If you arent sure which Trident system version to select, use the Enhanced
Diagnostic Monitor to verify your Trident system version information. See
Determining Your Trident or Tri-GP Controllers System Version on page 318 for
more information.
Click OK.
When asked to backup your project before changing the target system version, do one
of the following:
(Recommended) Click Yes and then specify the folder to save the backup file to. Use
the suggested name, or specify a new one. The file extension (.bt2) does not have to
be included in the name.
TriStation 1131 reconfigures your project to the selected target system version. All
current configuration settings are maintained; however, any parameters that did not
exist in the previous version are set to their default values.
324
Chapter 4
In the Messages pane, review the results of the target system version change. For more
information, see the Trident Target System Version Change Matrix on page 325.
10
To finish the process, you must build the application and download it to the controller.
Find the column for your current system version on the top.
Then move down to locate the row (on the left) for the system version you want to
change your project to.
The box where your selected column and row meet describes the changes that will be
made to your project if you change to the new target system version.
Table 34
NEW
VERSION
v1.0 or v1.1
v1.5.x or v1.6.x
v2.0.x
v2.1.x
Note: A target system version change (upgrade or downgrade) requires that the project state be changed to Download All, with one
exceptionwhen you are converting a project created in a version of TriStation prior to v4.6. During project conversion, projects created with
a previous version of TriStation will remain in the Download Changes state regardless of a target system version change. For more
information, see Converting Existing Projects to Version 4.9.0 on page 11.
v1.0 or v1.1
v1.2,
v1.3.x, or
v1.4.x
v1.2, v1.3.x, or
v1.4.x
NOT ALLOWED
UPGRADE
Add support for model 3381 PI
module.
Add support for model 3481
AO module.
Add support for model 3482
AI module.
Add support for model 3201
CM.
v2.0.x
UPGRADE
Add support for model 3381 PI
module.
Add support for model 3481
AO module.
Add support for model 3482
AI module.
Add support for model 3361
AI /DI module.
Add support for original and
enhanced model 3201 CM.
UPGRADE
Add support for model
3361 AI /DI module.
Add support for enhanced
model 3201 CM.
NOT ALLOWED
NOT ALLOWED
DOWNGRADE
Remove model 3361 AI /DI
module.
DOWNGRADE
Remove model 3361 AI /DI
module.
Remove support for
enhanced model 3201 CM.
DOWNGRADE
Remove model 3361 AI /DI
module.
Add support for model
3381 PI module.
Remove model 3382 EPI
module.
Remove model 3411 SDO
module.
Remove model 3311 HRDI
module.
Remove support for
enhanced model 3201 CM.
DOWNGRADE
Remove support for
enhanced model 3201 CM.
DOWNGRADE
Remove model 3382 EPI
module.
Add support for model
3381 PI module.
Remove model 3411 SDO
module.
Remove model 3311 HRDI
module.
Remove support for
enhanced model 3201 CM.
UPGRADE
Add support for enhanced
model 3201 CM.
DOWNGRADE
Remove model 3382 EPI
module.
Add support for model
3381 PI module.
Remove model 3411 SDO
module.
Remove model 3311 HRDI
module.
UPGRADE
Add support for model
3361 AI /DI module.
v1.5.x or
v1.6.x
UPGRADE
Add support for model 3381 PI
module.
Add support for model 3481
AO module.
Add support for model 3482
AI module.
Add support for model 3361
AI /DI module.
Add support for model 3201
CM.
NOT ALLOWED
v1.2, v1.3.x, or
v1.4.x
v2.0.x
UPGRADE
Replace model 3381 PI
module with model 3382
EPI module.
Add support for model
3382 EPI module.
Add support for model
3411 SDO module.
Add support for model
3311 HRDI module.
Add support for enhanced
model 3201 CM.
UPGRADE
Replace model 3381 PI
module with model 3382
EPI module.
Add support for model
3382 EPI module.
Add support for model
3411 SDO module.
Add support for model
3311 HRDI module.
NEW
VERSION
v2.1.x
UPGRADE
Replace model 3381 PI module
with model 3382 EPI module.
Add support for model 3481
AO module.
Add support for model 3482
AI module.
Add support for model 3361
AI /DI module.
Add support for model 3382
EPI module.
Add support for model 3411
SDO module.
Add support for model 3311
HRDI module.
Add support for original and
enhanced model 3201 CM.
UPGRADE
Replace model 3381 PI
module with model 3382
EPI module.
Add support for model
3361
AI /DI module.
Add support for model
3382 EPI module.
Add support for model
3411 SDO module.
Add support for model
3311 HRDI module.
Add support for enhanced
model 3201 CM.
v2.1.x
v1.5.x or v1.6.x
Chapter 4
ORIGINAL
VERSION
326
Table 34
327
Note
For information on configuring the CM, see Configuring the Trident or Tri-GP
Communication Module on page 342.
Procedure
1
On the Configuration tree, open the Hardware Allocation node, and then double-click
an MP. The Item Properties dialog box appears.
328
Chapter 4
4
Note
Action
Model
Description
Node Name
Scan Time
Remote Access to
Aliased Tagnames
Remote Access to
All Tagnames
329
Procedure
1
On the Configuration tree, open the Hardware Allocation node, and then double-click
an MP. The Item Properties dialog box appears.
Description
Tagname
Data Type
Location
Description
330
Chapter 4
Procedure
1
Double-click the MP slot, click Setup, and then click the Network Ports tab.
Property
Action
Mode
Transceiver Port
Transceiver Mode
331
The first time you connect to the Trident 2.x or Tri-GP controller to download your
application, you must connect either via serial port, or via a network connection to the
Left MP, using the default IP address. IP addresses configured for the Middle and Right
MP network ports are not valid for the initial connection to the Trident 2.x or Tri-GP
controller. See Connecting to the Trident 2.x or Tri-GP Controller for the First Time on
page 411 for more information.
Procedure
1
Double-click the MP slot, click Setup, and then click the Network Ports tab.
Action
Mode
Transceiver Port
Transceiver Mode
332
Chapter 4
Property
Action
IP Address
Procedure
1
Double-click the MP slot, click Setup, and then click the Serial Ports tab.
Action
Port Selection
Protocol
Property
Action
Baud Rate
Data Bits
Stop Bits
Parity
Transceiver Mode
Handshake
Wire Type
Signal Delays
333
334
Chapter 4
If you already have a model 3301 DI module installed, you can quickly change it to a
model 3311 HRDI module (and vice-versa) by double-clicking on the module in the
configuration pane, selecting the model 3311 HRDI module from the Model list in the
Item Properties dialog box, and then clicking Confirm. This configuration shortcut can
also be used when switching between the model 3481 and 3482 AO modules.
Procedure
1
Configuration
pane
Module being
added
If you added an SDO, HRDI, EPI, PI, or CM module, configure the module using the
instructions specific to that module:
335
Procedure
1
On the configuration pane, click the icon that represents the module, and then press the
Delete key.
Procedure
1
On the Configuration tree, expand the Hardware Allocation node, and then expand the
MP node the SDO module is installed in.
336
Chapter 4
Select the tagname (point) to be configured, and then select how you want the point to
be configured:
If you want to inhibit supervision for the selected point, select the Inhibit
Supervision check box This will suppress reporting of supervisory alarms (i.e.
open-loads).
If you want the selected point to be supervised, clear the Inhibit Supervision check
box. This will provide detection and alarming of supervisory (i.e. open-load)
conditions.
The default for each point is Supervised (the check box is cleared).
WARNING
5
For more information about using sequence of events in your application, see SOE
Development on page 222.
The model 3311 HRDI module is compatible only with Trident v2.1 and later systems. See the
Planning and Installation Guide for Trident v2 Systems for more information.
The model 3311S2 HRDI module is compatible only with Tri-GP v2.1 and later systems. See the
Planning and Installation Guide for Tri-GP v2 Systems for more information.
Procedure
1
On the Configuration tree, expand the Hardware Allocation node, and then expand the
MP node the HRDI module is installed in.
337
Select the tagname to be configured, and then specify these properties in the HRDI Setup
dialog box.
Property
Action
338
Chapter 4
Property
Action
339
Model 3381 Trident Pulse Input (PI) module (compatible only with Trident v2.0 and
earlier systems)
Model 3382 Trident Enhanced Pulse Input (EPI) module (compatible only with Trident
v2.1.x and later systems)
Model 3382S2 Tri-GP Enhanced Pulse Input (EPI) module (compatible only with Tri-GP
v2.1.x and later systems)
These modules are used for speed and RPM inputs. Six points are available; each point can be
independently configured. Acceleration and jerk measurements for each point are available on
the EPI module only.
Note
The number of points for the EPI (model 3382 or 3382S2) module displays as 24 in the
Insert Module dialog box (see Inserting a Trident or Tri-GP Module on page 334). This
is because each of the six available points provides speed, acceleration, and jerk
measurements as separate logical points (for a total of 18 logical points); six additional
points are also included in the total, but are reserved for future use.
A maximum of 5 EPI modules can be configured in a Trident 2.1 or later, or Tri-GP, project. For
information about system configuration restrictions and validated I/O module configurations
in earlier Trident versions, please see the Product Release Notice for your Trident version.
If you have a PI module installed in a Trident 2.0 or earlier project, please note the following:
Upgrading the target system version for your project to Trident 2.1 or later will
automatically upgrade the PI module to an EPI module.
The existing PI module point configuration is retained for the EPI module during a
target system version upgrade to Trident 2.1 or later.
TriStation 1131 will not allow you to upgrade the projects target system version to
Trident 2.1 or later if more than five PI modules are installed in the project. You must
remove the excess PI modules from your project prior to starting a target system
version change. See Configuring the Trident or Tri-GP Target System Version on
page 318 for more information about changing the target system version.
If you have more than five PI modules installed in your Trident v2.0 or earlier system,
you will need to physically remove the excess modules from the Trident chassis, rewire
the PI points that were connected to those modules, and reprogram your application
accordingly. All of these tasks should be completed prior to upgrading to Trident 2.1.
Because the EPI module requires a greater memory allocation than the PI module, the
automatic upgrade from a PI module to an EPI module may not be successful in cases
where not enough memory is available to be allocated to the EPI module(s).
Procedure
1
On the Configuration tree, expand the Hardware Allocation node, and then expand the
MP node the PI or EPI module is installed in.
340
Chapter 4
Select the tagname (point) to be configured, and then specify these properties in the PI
Setup dialog box.
Property
Action
Field Power
Min Field
Max Field
Rate Type
Property
Action
Triggering Mode
341
Scale Factor
342
Chapter 4
Topics include:
See Configuring Trident or Tri-GP Controller Printing on page 439 for instructions on
configuring the Trident or Tri-GP CM for use with a printer.
To a TriStation PC
Procedure
1
Double-click the CM, click Setup, and then click the Network tab.
343
Action
Slot Selection
Mode
Privilege
Transceiver Port
Transceiver Mode
IP Address
IP Subnet Mask
Default Gateway IP
Address
Time Synchronization
344
Chapter 4
Procedure
1
Double-click the CM slot, click Setup, and then click the Serial Ports tab.
Action
Port Selection
Protocol
Modbus Station
Baud Rate
Data Bits
Stop Bits
Parity
Transceiver Mode
Handshake
Wire Type
345
Property
Action
Modbus (Minimum
and Maximum) Range
Signal Delays
Procedure
1
Double-click the CM slot, click Setup, and then click the Routing tab.
Action
Slot Selection
Destination IP Address
346
Chapter 4
To configure a CM installed in a Trident v1.x system, see Configuring the Trident v1.x
Communication Module on page 342.
A single Trident v2.x or Tri-GP controller supports a maximum of two CMs on one CM
baseplate. For detailed CM installation guidelines, see the Planning and Installation Guide for
your controller.
The following table lists the protocols supported by both the enhanced Trident CM (model 3201)
and Tri-GP CM (model 3201S2) on network and serial ports.
Protocol or Standard
Network Ports
Serial Ports
TriStation
NET 1, NET 2
Port 3 only
TSAA (UDP/IP)
NET 1, NET 2
NET 1, NET 2
Peer-to-Peer (UDP/IP)
NET 1, NET 2
Peer-to-Peer (DLC)
NET 1, NET 2
Any port
Any port
NET 1, NET 2
Any port
NET 1
NET 1, NET 2
NET 1, NET 2
NET 1, NET 2
Note
While the preferred means for connecting the TriStation PC to the Trident or Tri-GP
controller is via a network connection, Invensys recommends configuring a serial
connection to the CM first, because it is less complex and easier to successfully connect
to the CM through the serial port.
Once you have successfully connected to the CM and downloaded the initial
configuration to the Trident, you can go back and configure the more complex network
connection, without worrying about losing the ability to communicate with the
controller altogether. See Connecting to the Trident or Tri-GP Controller for the First
Time on page 412 for more information.
347
Using a Trident 2.x or Tri-GP CM to Synchronize Time on page 364 for instructions on
configuring the CM to synchronize time.
Controlling Access to the Trident 2.x or Tri-GP CM on page 434 for instructions on
controlling access to the CM on a per-client level.
348
Chapter 4
Procedure
1
Double-click the CM, and then click Setup. The CM Setup dialog box appears.
Action
Port Selection
Protocol
Property
Action
Baud Rate
349
Stop Bits
Parity
Select the type of parity for the port. The default is Odd.
Transceiver Mode
Handshake
Termination Options
FP Ordering
350
Chapter 4
Procedure
1
Property
Action
Slot Selection
351
Transceiver Mode
IP Address
Enter the IP Address for the port. The addresses for NET 1
and NET 2 do not need to be unique.
The default values are 0.0.0.0.
Note: Your own IP addresses cannot be used for connecting
to the controller until your applicationwith the IP
address configurationhas been downloaded to the
controller at least once, using the Download All
command. See Connecting to the Trident 2.x or
Tri-GP Controller for the First Time on page 411 for
more information.
The highest and lowest IP addresses in a subnet (addresses
where the last number is 0 or 255, such as 192.168.1.255) are
reserved for broadcast messaging and cannot be used as a
valid IP address.
IP Subnet Mask
Default Gateway IP
Address
To configure the CM for operation behind a firewall, click Show Advanced Options and
then specify the properties in the following table for NET 1 and NET 2.
352
Chapter 4
Setting these properties restricts the ports that the CM can use for TCP connections to
the specified range. This allows the CM to operate behind a firewall that has
implemented port restrictions.
For most networks, the default settings should be sufficient. Invensys recommends that
only advanced users change these settings.
Note
If these settings are misconfigured, Modbus TCP will be unable to connect. If this
occurs, reset the values to the default settings to fix the problem and re-enable
Modbus TCP. If you need to use this feature, please contact Invensys Technical
Support for assistance with configuring these settings.
Property
Action
5
Note
Procedure
1
353
Under Slot Selection, select the module (slot) you want to configure Peer-to-Peer ports
for.
Action
Network
IP Address
Click Update to save the new settings for the selected node.
If you forget to click Update before selecting another node, your settings will be lost.
If necessary, click Reset All to reset all node settings for the selected slot to their
default, unconfigured state.
Once all nodes have been configured, specify these properties (applicable to all nodes on
the Peer-to-Peer network).
354
Chapter 4
Property
Action
For each network port, enter the UDP base port number for
the controller. Enter 0 to disable Peer-to-Peer over UDP/IP on
the network.
The default is 1503 on both NET 1 and NET 2 (meaning Peerto-Peer is enabled on both ports). UDP port numbers do not
need to be unique, as long as the IP address for each port is
unique. See UDP Base Port Number on page 632 for reserved
values.
Enable Communication
with Tricon V8, Tricon
V9, and Trident v1
Peer-to-Peer Systems
355
Procedure
1
Under Slot Selection, select the module (slot) you want to configure Modbus TCP ports
for.
Action
Protocol
356
Chapter 4
Property
Action
Enter the number for the TCP port. The default is 502.
Network
IP Address
FP Ordering
Modbus (Minimum
and Maximum) Range
Procedure
1
Select the network (NET 1 or NET 2) you want to configure routing for.
Property
Action
Destination IP
Address
Destination IP
Subnet Mask
Destination
Gateway IP
Address
357
If necessary, click Reset All to change all destination settings for the selected slot
to their default, unconfigured state.
358
Chapter 4
Procedure
1
Specify these properties for the protocol(s) you will be using with the CM.
Protocol
Property
Action
TriStation
TriStation
Port Number
359
Protocol
Property
Action
Management
Management
Port Number
TSAA
TSAA Port
Number
TSAA
Multicast IP
Address
Multicast
Update Rate
CAUTION
By default, TSAA clients have write access to the NET 1 and NET 2 ports
on the Trident v2.x or Tri-GP CM. Depending on your configuration, this
may create a security issue.
To disable write access by TSAA clients, you must enable and configure
the CM access control list. See Controlling Access to the Trident 2.x or
Tri-GP CM on page 434.
360
Chapter 4
Procedure
1
Export
Button
Click Export.
If the CM configuration has been changed, but not saved, you are asked if you want to
include the unsaved changes in the exported file.
4
Note
Navigate to the folder you want to save the exported configuration file in, enter a file
name, and click Save.
A CM configuration file exported from a CM installed in a Trident v2.x or Tri-GP system
cannot be imported to a CM installed in a Trident v1.x system.
361
Procedure
1
Click Import.
If the CM configuration has been changed, but not yet saved, you are asked if you want
to overwrite the existing configuration, including the unsaved changes, with the
imported settings.
Navigate to the folder where the exported configuration file is located, and click Open.
CM configuration settings are imported from the selected file.
Click each tab of the CM Setup dialog box to review and verify that all settings have been
correctly configured.
362
Chapter 4
Module
CM (Trident v1.x)
CM (Trident v2.x
and Tri-GP)
MP
363
Procedure
1
Double-click the CM slot, click Setup, and then click the Network tab.
364
Chapter 4
SNTP
Triconex Time Synchronization via DLC (NET 1 only) or UDP/IP (NET 1 or NET 2) on
a Peer-to-Peer network
In a redundant network of Trident or Tri-GP controllers that each have two CMs installed, you
can implement redundant time synchronization by configuring time synchronization for both
CM modules (both left and right slots). Time synchronization can be enabled only for a single
logical slot.
Note
The information and procedures in this section apply only to Trident 2.x or Tri-GP
CMs. If you are configuring a Trident 1.x CM, please see Using a Trident 1.x CM to
Synchronize Time on page 363.
Topics include:
Configuring SNTP Time Synchronization on the Trident 2.x or Tri-GP CM on page 364
Because the SNTP server resides on a PC, network load issues or PC performance can
result in delays in processing time update requests from the controller.
Procedure
1
365
Under Slot Selection, click Left Slot. You must configure the module in the left slot first.
Property
Action
Time Synchronization
Configuration
(Optional) If you have a redundant CM installed in the right slot, under Slot Selection,
click Right Slot, and then select these properties.
Property
Action
Time Synchronization
Configuration
Click the network the SNTP server is located on. This can
be different than the master network selected for the left
slot.
Note
The module in the right slot can be configured only if it has been installed (see
Configuring Trident v2.x or Tri-GP CM Network Ports on page 350) and if the
module in the left slot has already been configured for SNTP time
synchronization.
366
Chapter 4
Enabling the Trident 2.x or Tri-GP CM as a Master Node for Triconex Time
Synchronization (Optional)
If you also want the CM to be able to act as a master node for time synchronization of other
controllers on a Peer-to-Peer network (using Triconex Time Synchronization) do the following:
1
On the Configuration tree, open the Hardware Allocation node, and then double-click
the MP.
The Item Properties dialog box appears.
Click Setup.
The MP Setup dialog box appears.
367
Procedure
1
On the Configuration tree, open the Hardware Allocation node, and then double-click
the MP.
The Item Properties dialog box appears.
Click Setup.
The MP Setup dialog box appears.
Procedure
1
368
Chapter 4
Under Slot Selection, click Left Slot. You must configure the module in the left slot first.
Action
Time Synchronization
Configuration
Peer-to-Peer Master
Network
Note
On the Configuration tree, open the Hardware Allocation node, and then double-click
the MP.
The Item Properties dialog box appears.
Click Setup.
The MP Setup dialog box appears.
369
Procedure
1
Click Get Default, or enter a number for the Modbus Alias and click Confirm Alias.
The alias number is assigned to the attribute.
370
Chapter 4
Procedure
1
Open the Project Workspace (see The Project Workspace on page 20).
On the File menu, select Print All. The Print All Options dialog box appears.
Note
To quickly clear the check boxes for all the documents in the list, and make it
easier to select only those documents you want to print, clear the Select All check
box.
Select the printer you want to use, and the desired settings (number of copies, page
orientation, etc), and then click OK.
5
Tricon Communication with
TriStation 1131
Overview 372
Configuring the TriStation PC 373
Connecting to the Tricon Controller via a Serial Connection 376
Connecting to the Tricon Controller via a Network Connection 379
Specifying the Tricon Default Connection Type 385
Controlling Access to the TCM 386
Configuring Tricon Controller Printing 392
Setting Tricon Controller IP Addresses 399
372
Chapter 5
Overview
This figure shows the main steps for setting up TriStation 1131 communication and the typical
order in the project cycle. Communication setup can be done anytime before implementation.
Set Up the Project
Develop the
Application
Errors?
C onfigure the
C ontroller
Implement on
the C ontroller
See
Set up printing
373
Note
If you will only be connecting to the Tricon controller via a serial connection, you can
skip this section. Please note, however, that the preferred method of connecting the
TriStation PC to the Tricon controller is via a network connection.
Install the network interface card by following the manufacturers instructions. Do not
change the factory default settings on the NIC card.
If the network interface card has an RJ-45 connector, you can connect it to the NET 1
or NET 2 port on the TCM (model 4351/4351A/4351B/4353) via a router or hub
using a patch cable.
If the network interface card has a MTRJ (fiber) connector, you can connect it to the
NET 1 or NET 2 port on the TCM (model 4352/4352A/4352B/4354) via a router or
hub using a patch cable.
If the network interface card does not have the appropriate connector for your TCM
model, connect the network interface card to a media converter that is connected to
the NET 1 or NET 2 port.
Note
See the Communication Guide for Tricon v9v10 Systems for more information
about the differences between the TCM model 4351/4351A/4351B/4353
(copper) and model 4352/4352A/4352B/4354 (fiber).
Run the diagnostics provided with the network interface card according to the
manufacturers instructions.
Install the network interface card by following the manufacturers instructions. Do not
change the factory default settings on the NIC card.
If the network interface card has a BNC connector, connect it directly to the NET 2
port.
374
Chapter 5
If the network interface card does not have a BNC connector, connect the network
interface card to a media converter that is connected to the NET 2 port.
Run the diagnostics provided with the network interface card according to the
manufacturers instructions.
On the Start menu, click Settings, then click Network and Dial-up Connections.
Right-click the network connection where you want to install the protocol, then click
Properties.
If the protocol is not checked, go to the next step to continue the installation.
On the Select Network Protocol screen, click the protocol on the Network Protocol list,
and then click OK.
Verify the check box for the protocol is checked, and then click OK.
On the Start menu, click Control Panel, and then double-click Network Connections.
Right-click the network connection where you want to install the protocol, then click
Properties.
On the General tab, if the TCP/IP protocol is checked on the list of installed
components, it means the protocol is installed and you are finished with this
procedure.
If the TCP/IP protocol is not checked, go to the next step to continue the
installation.
In the Select Network Component Type dialog box, click Protocol, and then click Add.
375
On the Start menu, click Control Panel, open Network and Internet, and then click
Network and Sharing Center.
Right-click the network connection you want to change, and then click Properties.
On the Networking tab, under This connection uses the following items, click Internet
Protocol Version 4 (TCP/IPv4), and then click OK.
Note
376
Chapter 5
Connecting to the Tricon Controller When the Access Control List Has Been
Misconfigured (Tricon 10.x Only)
If you misconfigure the Access Control List, you could accidentally lock yourself out of a
network connection to the Tricon controller. Once you enable TCM client access control by
377
selecting the Enable Access List check box, you must configure at least one client with TriStation
Read/Write access before you save the configuration.
If this is not done, you will be unable to connect to the Tricon controller again after your next
download, preventing you from making further changes to the application running on the
controller, including changes to the TCM access control list. If this happens, you can use the
serial connection to connect to the Tricon controller and download changes to the access control
list.
See Controlling Access to the TCM on page 386 for more information.
Procedure
1
Connect one end of the serial cable to a serial port on the EICM or TCM. This is typically
port 4.
Connect the other end of the serial cable to a COM port on the TriStation PC. The COM
port is typically numbered COM1, COM2, COM3, or COM4.
378
Chapter 5
Procedure
1
Property
Action
Serial Connection
Node Name
Enter the name of the Tricon controller. You can use a default name,
or enter your own user-defined name. The default names are
TRINODE01 through TRINODE31.
TriStation Port
Number
Enter the UDP port to use for the TriStation 1131 connection. The
default is 1502. Should be the same number specified on the TCM
Setup Network tab.
Serial Port
Select the COM port on the TriStation PC to which the serial cable is
connected.
Baud Rate
Note
The data displayed on this screen is used by TriStation 1131 only to connect to a
Tricon communication port. The data that you enter will not be downloaded to
the Tricon controller.
To complete the connection, you must configure a Tricon EICM or TCM module. See
Configuring Tricon Communication Modules on page 271.
379
Install a network interface card and the TCP/IP protocol on the PC.
CAUTION
The node setting (on the ACM or NCM module or the 3008 MP Front
Panel) must match the node number specified in the TriStation 1131
project. For instructions on changing the MP node setting, see the
Planning and Installation Guide for Tricon v9-v10 Systems.
For instructions on installing a network interface card and the TCP/IP protocol on the TriStation
PC, see Configuring the TriStation PC on page 373.
Topics include:
Connecting a TCM Network Port to a TriStation PC Using a Router or Hub on page 381
Note
If you are connecting the TCM or EICM to the TriStation PC via serial port, see
Connecting to the Tricon Controller via a Serial Connection on page 376.
380
Chapter 5
Procedure
1
Attach the other T-connector to the BNC connector on the network interface card in the
TriStation PC.
Figure 26
Terminate the BNC connectors on all communication modules that are installed in the
Tricon controller.
To terminate an unused BNC connector, you can attach a T-connector with 50-ohm
terminators on each end to produce a 25-ohm parallel resistance. Ask your network
administrator for information about other termination methods.
381
Procedure
1
Attach one end of the first cable to the NET 2 port on the TCM.
Attach the other end of the first cable to the connector on the Ethernet router or hub.
Attach one end of the second cable to the connector on the network interface card in the
TriStation PC.
Attach the other end of the second cable to the connector on the router or hub.
Figure 27
If the correct cable is connected to the TCM and the TCM is installed in a powered Tricon
chassis, the green LED indicator turns on. If the LED indicator is not on, there is a problem with
the physical cable connection.
382
Chapter 5
The connection to an ACM or NCM requires a 10Base2 cable, a media converter, and
another appropriate cable, such as a twisted-pair cable.
Attach one of the T-connectors to a BNC connector on the NET 2 port on the
communication module.
Attach one end of the twisted-pair cable to an RJ-45 connector on the network interface
card in the TriStation 1131 PC.
Attach the other end of the twisted-pair cable to an RJ-45 connector on the media
converter.
Figure 28
383
Attach one end of the fiber cable to the NET 1 or NET 2 port on the TCM.
Connect one end of the twisted-pair cable to the RJ-45 connector on the network
interface card in the TriStation PC.
Attach the other end of the twisted-pair cable to an RJ-45 connector on the media
converter.
Attach the other end of the fiber cable to a MTRJ fiber connector on the media converter.
Figure 29
If the correct cable is connected to the TCM and the TCM is installed in a powered Tricon
chassis, the green LED indicator turns on. If the LED indicator is not on, there is a problem with
the physical cable connection.
384
Chapter 5
Procedure
1
Property
Action
Network
Connection
Node Number
For ACM and NCM, enter the number represented on the rotary
switches.
For TCM, enter the number represented by the Network Node
Address setting on the MP front panel.
Click the browse button to select a node from the list of default node
names and numbers.
Node Name
IP Address
Enter the UDP port to use for the TriStation 1131 connection. The
default is 1502. Should be the same number specified on the TCM
Setup Network tab. Available only when a TCM is installed.
Note
The data displayed on this screen is used by TriStation 1131 only to connect to a
Tricon communication port. The data that you enter will not be downloaded to
the Tricon controller.
To complete the connection, you must configure a Tricon ACM, NCM, or TCM module.
See Configuring Tricon Communication Modules on page 271.
385
Procedure
1
Expand the Configuration tree, double-click Configuration, and then click TriStation
Communication.
Verify that the Network Connection Setup (for a network connection) or TriStation PC
(for a serial connection) properties are correctly configured. See the following for
additional information:
Network Connection
Serial Connection
The next time you establish communication between the TriStation PC and the Tricon
controller, the default connection setting you selected will be used.
Note
If only one connection type is selected under Selected Connections, the default
connection is automatically set based on it, and cannot be changed.
386
Chapter 5
Access control is supported on models 4351A/B, 4352A/B, 4353, and 4354 only. TCM
models 4351 and 4352 do not support access control.
Topics include:
Access to the controller via TriStation 1131 (ability to perform a Download Changes or
Download All).
Access to Tricon tagnames and system variables via OPC Data Access (DA). The OPC
protocol is supported only by TCM models 4353 and 4354.
Access to OPC Alarms and Events (A&E) data (models 4353 and 4354 only). Write
access to OPC A&E is not currently supported; only read access is provided, to allow
the retrieval of events.
CAUTION
In Tricon v10.3 and later systems, TSAA clients using a TCM interface
have write access to the NET 1 and NET 2 ports by default. Depending on
your configuration, this may create a security issue.
Please note that this default behavior is opposite of that on TCMs in Tricon
v10.2 and earlier systems.
To disable write access by TSAA clients, you must enable and configure
the TCM access control list.
387
Deny Access: Prevents all access to resources provided by the TCM. Connections to the
Tricon controller are not allowed.
Read Only: Allows client to connect to the Tricon controller and view information
provided via the TCM. Does not allow the client to change any settings or perform
certain commands. For TCM/OPC, allows an OPC DA client to read tagnames, and
allows an OPC A&E client to retrieve events.
Read/Write: Full access. Allows client to view information provided by the TCM,
change settings, and perform all commands (including Download Changes or
Download All for TriStation 1131). For TCM/OPC, allows an OPC DA client to write to
tagnames. This access level should only be provided to trusted clients.
Access levels are configured by adding entries to the access control list. A maximum of 10
entries can be provided in the access control list.
The same access level is applied to all selected protocols in a single access control list entry. If
you want to provide different access levels for a selected client depending on which protocol
they are using, you will need to create two separate entries in the access control list, one for each
protocol.
Access levels apply to all users using the PC assigned the IP address entered in the access control
list. This means if multiple users are using the same PC, they will all have the same access rights.
For example, every user using TriStation 1131 on a PC with a particular IP address would have
the same access rights to the TCM. Individual user access should be controlled via workstation
security; TCM access is controlled only at the IP address level.
388
Chapter 5
CAUTION
Once you enable TCM client access control by selecting the Enable Access
List check box, you must configure at least one client with TriStation
Read/Write access before you can save the configuration.
This ensures you will be able to connect to the Tricon controller again
after your next download, and allows you to make further changes to the
application running on the controller, including changes to the TCM
access control list.
If necessary, you can also connect via a TriStation 1131 serial connection
to reconfigure the access control list. See Connecting to the Tricon
Controller via a Serial Connection on page 376.
Note
If you are using the TSAA and/or TriStation protocols, you must enable and use access
list control to manage read/write access to specific ports. If you are using the serial
and/or Modbus TCP protocols, you can also use the Port Write Enabled property to
manage read/write access to specific ports. See Port Write Enabled on page 581.
Table 36
Subnet Mask
Protocol
Network
Access Level
206.216.1.12
255.255.255.0
TriStation
NET 2
Read/Write
206.216.1.12
255.255.255.0
TSAA
NET 1
Read Only
192.168.1.05
255.255.255.255
TriStation
and OPC
NET 1
NET 2
Deny Access
192.168.1.09
255.255.255.255
TSAA
NET 1
NET 2
Deny Access
192.168.1.05
255.255.255.0
OPC and
TriStation
NET 2
Read Only
192.168.1.05
255.255.255.0
TriStation
NET 2
Read Only
192.168.1.09
255.255.255.0
OPC
NET 2
Read/Write
0.0.0.0
0.0.0.0
All
All
Deny Access
NULL
NULL
NULL
NULL
NULL
None
a. OPC is supported only on NET 2. As a result, a client attempting to access the TCM using OPC on NET 1 will always be denied. An access control list entry configured
with only OPC and NET 1 is an invalid combination that will not have any effect on client access to the TCM via OPC.
b. On the model 4353 and 4354 TCM, TSAA is supported only on NET 1. As a result, a client attempting to access the TCM using TSAA on NET 2 will always be denied.
An access control list entry configured with only TSAA and NET 2 is an invalid combination that will not have any effect on client access to the TCM via TSAA.
c. If a client with the specific IP address of 192.168.1.05 attempts to access the TCM using the TriStation protocol on NET 2, the TCM will deny access. This is because the
TCM evaluates the access control list beginning from the top, and continuing through the list until it encounters an entry that applies to the IP address requesting
access. In this case, entry 3 specifically denies access to a client with the IP address of 192.168.1.05, so the TCM will deny access and not evaluate the list any further.
Entry
390
Chapter 5
After a Download Changes or Download All has been performed so that access control
on the TCM is enabled, all existing connections will remain connected, even if the clients
access has been changed to Read Only or Deny Access. The new access levels will not
take effect until the client disconnects and attempts to reconnect.
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup.
The TCM Setup dialog box appears.
391
Action
Slot Selection
Client IP Address
Permission
Protocol
Network
Click Update Client Entry to save the settings for the selected client.
Repeat steps 4 and 5 for each client to be included in the access control list.
Note
If necessary, click Reset Client Entry to reset the settings for the selected client to
the default, unconfigured state. Click Reset All to reset all entries in the access list
to the default, unconfigured state.
In most cases, you should configure identical access control lists for the modules in
both slots. To do so, click Copy Current Setup to Other Slot.
To configured different access control lists for the modules in the right and left
slots, repeat steps 4 through 6 for the module installed in the right slot.
392
Chapter 5
See the Communication Guide for Tricon v9v10 Systems for more information about the types of
devices that can be used for printing from the Tricon controller.
Procedure
1
If the printer package has an installation program, copy the program to the TriStation
PC.
Connect one end of the cable to the printer, and connect the other end to port 5 or 10 on
the EICM. (Other EICM ports cannot be used for printing.)
Figure 30
394
Chapter 5
Procedure
1
In TriStation 1131, open your project, expand the Controller tree, and double-click
Configuration.
On the Configuration tree under Hardware Allocation, double-click EICM, and then
click Setup.
Property
Action
Port Selection
Protocol
Rows
Columns
Click OK.
Procedure
1
If the print server and printer packages have installation programs, install them on the
TriStation PC.
Record the IP address of the print server. You will need the IP address when configuring
the TCM printer.
Connect the printer to the print server, and connect the print server to a TCM Ethernet
port (NET 1 or NET 21).
Figure 31
1.
TCM models 4351/4351A/4351B and 4352/4352A/4352B only. NET 2 is reserved for OPC
communication on model 4353 and 4354 TCMs.
396
Chapter 5
Procedure
1
If the print server and printer packages have installation programs, install them on the
TriStation PC.
Follow the instructions that came with the packages, and run the diagnostic routines, if
available.
Record the IP address of the print server. You will need the IP address when configuring
the TCM printer.
Connect the printer to the print server, and connect the print server to a hub. Connect
the hub to a TCM Ethernet port (NET 1 or NET 22).
Figure 32
2.
Connecting the Tricon TCM to a Printer Server and Printer Using a Hub
TCM models 4351/4351A/4351B and 4352/4352A/4352B only. NET 2 is reserved for OPC
communication on model 4353 and 4354 TCMs.
Because NET 2 is reserved for OPC communication, you cannot configure this port for
printing with model 4353 and 4354 TCMs. The printer port can be configured on NET 1
only for these TCMs.The information and procedures in this section do not apply to
model 4351 and 4352 TCMs. If you have one of these TCMs installed in your system,
please see Appendix C, TCM Model 4351/4352 Configuration.
Procedure
1
In TriStation 1131, open your project, expand the Controller tree, double-click
Configuration, and expand Hardware Allocation.
Double-click the slot where the TCM module is installed and then click Setup. The TCM
Setup dialog box appears.
Specify these properties for the module installed in the Left Slot.
Property
Action
Printer Number
Enter the number for the printer; can only be 5 or 10. Both slots
cannot have the same printer number. The default is 0, meaning a
printer is not configured.
Line Width
TCP Port
Number
Enter the number of the TCP port for the print server. The default
is 9100 for an HP printer.
398
Chapter 5
Property
Action
Network
Click the network that the print server is connected to. For model
4351A/4352A and 4351B/4352B TCMs, the default is NET 2.
For model 4353 and 4354 TCMs, the default is NET 1 (NET 2 is not
available for printing on these TCMs).
IP Address
If a module is also installed in the Right Slot, repeat step 4 for that module.
Click OK.
For a Tricon EICM or TCM port, the PRINTER parameter must be 5 for a left EICM or
TCM port, or 10 for a right EICM or TCM port. (Other EICM or TCM ports cannot be
used for printing.)
The PRINTER parameter must be the same number as is defined in TriStation 1131.
Each time a message is printed, the print function blocks in the TriStation 1131 application are
executed and the scan time increases.
This table lists the print function blocks in the Tricon libraries.
Print Function Block
Purpose
PRINT_BOOL
PRINT_CDT
PRINT_CRLF
PRINT_CTOD
PRINT_DINT
PRINT_REAL
PRINT_STRING
PRINTR_FLUSH
See the TriStation 1131 Libraries Reference for more detailed information about the print function
blocks.
399
Configure the TriStation 1131 project with the node number of the controller and the IP
address
For more information, see the Communication Guide for Tricon v9-v10 Systems.
Note
Typically, Triconex controllers are located on their own subnet which is connected to a
larger network such as a DCS. Your network administrator can set up the subnet for
compatibility with the Triconex default IP addresses and can program any routers that
lie between the DCS and the Triconex subnet with addressing information about the
Triconex controllers.
Topics include:
400
Chapter 5
Procedure
1
Connect the Tricon controller to the network using the NET 2 port on the ACM, NCM,
or TCM.
Connect the TriStation PC to the network, or directly to a NET 2 port on the ACM, NCM,
or TCM.
In the TriStation 1131 project, expand the Controller tree, double-click Configuration,
and then click TriStation Communication.
If the controller includes two communication modules, the default address applies to
both modules.
Note
The left and right modules in ACM or NCM slots use the same 48-bit physical
MAC address and cannot be connected to the same network.
Expand Hardware Allocation, click the slot where the communication module is
installed, and then click Setup.
If a communication module is not installed, insert a communication module, and then
click Setup.
In the Setup dialog box, enter the same IP address specified on the TriStation
Communication screen.
If the Tricon controller includes a redundant communication module, enter the same IP
address for the other slot.
10
On the Controller tree, click the Controller Panel. From the Commands menu, click
Connect.
11
Wait about 40 seconds for the module to reset and become active.
When the module is active, the Active indicator is green.
12
On the Commands menu, click Download All to download the TriStation 1131 project
to the Tricon controller.
13
On the TriStation PC, from the Start menu, click the MS-DOS Command Prompt.
14
401
If the network connection is made, the reply includes the IP address followed by byte
and time information.
If the connection is not okay, the reply is Request timed out.
Note
If you receive a Request timed out reply, check your network cable and port connections
to verify they are securely connected, verify your configuration settings are correct, and
then retry the ping command.
Procedure
1
Ask the network administrator for the IP address that is to be used for the Tricon
controller.
Connect the Tricon controller to the network through a network port on the
communication module.
The left and right modules in ACM or NCM slots use the same 48-bit physical
MAC address and cannot be connected to the same network.
On the TriStation PC, from the Start menu, click the MS-DOS Command Prompt.
Enter the command ping followed by the IP address to be tested. For example, for an IP
address of 206.32.216.43, enter this:
ping 206.32.216.43
If the network connection is made, the reply includes the IP address followed by byte
and time information.
If the connection is not okay, the reply is Request timed out.
Note
If you receive a Request timed out reply, check your network cable and port
connections to verify they are securely connected, verify your configuration
settings are correct, and then retry the ping command.
402
Chapter 5
In the TriStation 1131 project, expand the Controller tree, click Configuration, and then
click TriStation Communication.
On the TriStation Communication screen, specify the Node Number of the controller
and the intended IP address.
10
On the Commands menu, click Connect. Wait until the connection is made.
11
On the Commands menu, click Download All to download the TriStation 1131 project
to the controller.
Procedure
1
Ask the network administrator for the IP address to be used for the ACM, NCM, or
TCM.
Connect the controller to the network using the NET 1 or NET 2 port on the TCM. On
the ACM or NCM, use the NET 2 port.
On the Connect To screen, select the Serial Port option and the COM port to which the
TriStation cable is connected.
Connect to the Tricon controller and download the TriStation 1131 project.
The ACM, NCM, or TCM initializes (resets) and accepts the IP address that you specify
in the TriStation 1131 project.
10
On the TriStation PC, from the Start menu, click the MS-DOS Command Prompt.
11
Enter the command ping followed by the IP address to be tested. For example, for an IP
address of 206.32.216.43, enter this:
ping 206.32.216.43
If the network connection is made, the reply includes the IP address followed by byte
and time information.
If the connection is not okay, the reply is Request timed out.
TriStation 1131 Developers Guide, v4.9.0
Note
12
403
If you receive a Request timed out reply, check your network cable and port
connections to verify they are securely connected, verify your configuration
settings are correct, and then retry the ping command.
If the IP address is set, you can disconnect the TriStation PC from the EICM or TCM
serial port, and connect it to a NET 2 port or to the network.
Procedure
1
On the TriStation PC, from the Start menu, click the MS-DOS Command Prompt.
Type the command ping followed by the IP address to be tested. For example, for an IP
address of 206.32.216.43, enter this:
ping 206.32.216.43
If the network connection is made, the reply includes the IP address followed by byte
and time information.
If the connection is not okay, the reply is Request timed out.
404
Chapter 5
6
Trident and Tri-GP Communication with
TriStation 1131
Overview 406
Configuring the TriStation PC 408
Connecting to the Trident 2.x or Tri-GP Controller for the First Time 411
Connecting to the Trident or Tri-GP Controller via a Serial Connection 412
Connecting to the Trident or Tri-GP Controller via a Network Connection 416
Specifying the Trident or Tri-GP Default Connection Type 433
Controlling Access to the Trident 2.x or Tri-GP CM 434
Configuring Trident or Tri-GP Controller Printing 439
Setting Trident or Tri-GP Controller IP Addresses 446
406
Chapter 6
Overview
This figure shows the main steps for setting up TriStation 1131 communication and the typical
order in the project cycle. Communication setup can be done anytime before implementation.
Set Up the Project
Develop the
Application
Errors?
C onfigure the
C ontroller
Implement on
the Controller
See
Overview
Description
407
See
Connecting to the Trident 2.x or Tri-GP
Controller for the First Time on page 411
Connecting the Trident v2.x or Tri-GP
Controller to a TriStation PC on page 426
Connect to a Tri-GP CM or MP
Set up printing
408
Chapter 6
Note
If you will only be connecting to the Trident or Tri-GP controller via a serial connection,
you can skip this section. Please note, however, that the preferred method of connecting
the TriStation PC to the Trident or Tri-GP controller is via a network connection.
Procedure
1
Install the network interface card by following the manufacturers instructions. Do not
change the factory default settings on the NIC card.
Connect the network interface card directly to a CM or MP network port on the Trident
or Tri-GP controller, or to an Ethernet hub.
Run the diagnostics provided with the network interface card according to the
manufacturers instructions.
The DLC protocol is required only for connecting to a Trident 1.x MP.
On the Start menu, click Control Panel, and then double-click Network Connections.
Right-click the network connection where you want to install the protocol, then click
Properties.
On the General tab, if the TCP/IP protocol is checked on the list of installed
components, it means the protocol is installed and you are finished with this
procedure.
If the TCP/IP protocol is not checked, go to the next step to continue the
installation.
409
In the Select Network Component Type dialog box, click Protocol, and then click Add.
On the Start menu, click Control Panel, open Network and Internet, and then click
Network and Sharing Center.
Right-click the network connection you want to change, and then click Properties.
On the Networking tab, under This connection uses the following items, click Internet
Protocol Version 4 (TCP/IPv4), and then click OK.
Note
If you have already installed the DLC protocol on your workstation, you can configure
it to start automatically each time you start your workstation by changing a registry
value. Go to HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\Dlc, and
then change the Start value to 1.
Open your Internet browser, and enter the following URL in the address field:
http://www.microsoft.com/downloads/
In the Search for a Download section, perform a search for DLC Protocol and then go
to the download page for the DLC protocol for Windows XP.
Follow the instructions on the download page to start the download process.
When the download is complete, double-click the self-extracting dlc.exe file to unzip the
five DLC protocol files.
Save the files to a location on your local drive that will be easy to remember (for example,
C:\DLC).
410
Chapter 6
Go to the location where you saved the DLC protocol files in step 4 of the previous
section.
Right-click on NetDLC.inf, and select Open with from the shortcut menu that appears.
Then select Notepad from the Open with dialog box and click OK. The .inf file opens in
Notepad.
Change the value for StartType from 3 to 1. This ensures that the DLC protocol will start
automatically each time you start your workstation.
Go to the location where you saved the DLC protocol files in Step 1.
On the Start menu, click Control Panel, and then double-click Network Connections.
Right-click the network connection where you want to install the protocol, then click
Properties.
In the Select Network Component Type dialog box, click Protocol, and then click Add.
Once installation is complete, you can close the Network Connections dialog box.
Connecting to the Trident 2.x or Tri-GP Controller for the First Time
411
Network connection to the Left MP, using the default IP address only
You cannot connect to the controller via a network connection to the CM or the Right or
Middle network ports on the MP until you have completed all of the following tasks:
Successfully connect to the controller via the first-time connection options described
above.
Download your application to the controller using the Download All command.
Once your applicationwith the IP addresses for the other MP and/or CM network ports
correctly configuredhas been downloaded to the controller, you can disconnect from the
Trident or Tri-GP controller and reconnect using your desired network connection.
Note
After you have successfully configured your network configuration for the CM and/or
the Right and Middle MP, you can change the default IP address for the Left MP to your
desired IP address for future network connections.
412
Chapter 6
You cannot connect the TriStation PC to the Trident 1.x controller via a serial connection.
See Connecting to the Trident or Tri-GP Controller via a Network Connection on
page 416 for instructions on connecting the TriStation PC to a Trident 1.x.
Port 3 on the CM is the only serial port that supports TriStation communication. If port 3 on the
CM fails, you can connect to TriStation 1131 using the NET 1 or NET 2 port; see the
Communication Guide for Trident v2 Systems for more information.
Topics include:
413
Connecting to the Trident or Tri-GP Controller When the Access Control List
has Been Misconfigured
If you misconfigure the access control list, you could accidentally lock yourself out of a network
connection to the Trident or Tri-GP controller. Once you enable CM client access control by
selecting the Enable Access List check box, you must configure at least one client with TriStation
Read/Write access before you save the configuration.
If this is not done, you will be unable to connect to the Trident or Tri-GP controller again after
your next download, preventing you from making further changes to the application running
on the controller, including changes to the CM access control list. If this happens, you can use
the serial connection to connect to the Trident or Tri-GP controller and download changes to the
access control list.
See Controlling Access to the Trident 2.x or Tri-GP CM on page 434 for more information.
414
Chapter 6
Procedure
1
Connect one end of the serial cable to serial port 3 on the CM.
Connect the other end of the serial cable to a COM port on the TriStation PC. The COM
port is typically numbered COM1, COM2, COM3, or COM4.
Figure 33
415
Procedure
1
Property
Action
Serial Connection
(Trident/Tri-GP v2.x only)
Node Name
Serial Port
On the Configuration tree, expand Hardware Allocation, double-click CM, and then
click Setup.
Specify these properties on the Serial Ports tab of the CM Setup dialog box.
Property
Action
Port
Select the port that the TriStation PC is attached to. You must
select port 3, as this is the only serial port supported for TriStation
1131 connection.
Protocol
Select TriStation.
Click OK.
416
Chapter 6
Install a network interface card and the TCP/IP protocol on the PC.
CAUTION
The node setting (on the MP Baseplate) must match the node number
specified in the TriStation 1131 project. For instructions on changing the
MP node setting, see the Planning and Installation Guide for Trident v2
Systems.
For instructions on installing a network interface card and the TCP/IP protocol on the TriStation
PC, see Configuring the TriStation PC on page 408.
Topics include:
Note
If you are connecting the Trident 2.x or Tri-GP controller to the TriStation PC via serial
port, see Connecting to the Trident or Tri-GP Controller via a Serial Connection on
page 412.
417
Note
If you are connecting the Trident 1.x controller to the TriStation PC via the CM, see
Connecting the Trident 1.x CM to the TriStation PC on page 421.
Procedure
1
Attach one end of the cross-over cable to one of the RJ-45 connectors on the MP
Baseplate. This is typically MP A, as shown in the figure.
Attach the other end of the cross-over cable to the network interface card in the PC.
DSP1
PASS
DSP2
PASS
FAULT
MODE
ACTIVE
MODE
REM
OTE
REMOTE
REM
OTE
RUN
RUN
RUN
PROGRAM
PROGRAM
PROGRAM
HALT
HALT
STATUS
PS1
STATUS
PS1
PS2
SYSTEM ALARM
PROGRAM ALARM
COMMUNI
CATIONS
IO BUS
COMM BUS
SERIAL
TX
RX
TX
RX
TX
RX
PS1
PS2
SYSTEM ALARM
PROGRAM ALARM
OVER
TEMPE
RATURE
LOCK
PS2
SYSTEM ALARM
PROGRAM ALARM
OVER
TEMPE
RATURE
LOCK
COMMUNI
CATIONS
IO BUS
COMM BUS
SERIAL
LINK
TX
RX
TX
RX
TX
RX
LOCK
COMMUNI
CATIONS
IO BUS
TRIS
TATION TX
RX
RX
MP3101
TX
RX
TX
COMM BUS
RX
SERIAL
LINK
TRIS
TATION TX
MP3101
HALT
STATUS
OVER
TEMPE
RATURE
FAULT
ACTIVE
MODE
DSP4
PASS
FAULT
ACTIVE
DSP3
TX
RX
LINK
TRIS
TATION TX
RX
MP3101
TX
Figure 34
418
Chapter 6
Procedure
1
Using more than one cable provides redundancy for the TriStation connection. If
you use only one cable during live operation, you have to unplug it and move it
to another RJ-45 connector if the original connection fails.
Attach the network interface card in the TriStation PC to the hub using another 10BaseT
straight-through cable.
V SP1
P ASS
V SP2
PASS
F A U LT
P ASS
FAU L T
A CTIVE
F A U LT
A CTIVE
A CTIVE
ALARM1
MODE
MODE
ALARM2
MODE
REM O TE
REM O TE
RUN
RUN
PROG RAM
PROG RAM
HA LT
HA L T
ST ATUS
HA LT
STA TUS
S TATUS
PS1
PS1
PS2
PS1
PS2
SY STEM ALARM
PS2
SY STEM ALARM
SY STEM ALARM
PROG R AM ALARM
L OCK
C OMMUNI
C A TIONS
LOCK
COMMUNI
CA TIONS
TX
IO BUS
COMMUNI
RX
RX
TX
RX
LINK
RX
LINK
TX
TRIS TA TION
RX
MP3101
TX
SERIAL
RX
TX
RX
COMM BUS
TX
SERIAL
TRIS TA TION
TX
TX
COMM BUS
T X
SERIAL
C A TIONS
IO BUS
RX
TX
RX
L OCK
TX
IO BUS
RX
COMM BUS
REM OTE
RUN
PROG RAM
LINK
TRIS TA TION
RX
MP3101
TX
RX
MP3101
TX
COAX
8X
1X
MDI
MDIX
POWER
Figure 35
16
10BASE-T
9X
Connecting the TriStation PC to the Trident 1.x Main Processor Using a Hub
419
Procedure
1
Property
Action
Select Connection
Node Number
Node Name
Main Processor
Setup
NIC Index
Note
The data displayed on this screen is used by TriStation 1131 only to connect to a
Trident communication port. The data that you enter will not be downloaded to
the Trident controller.
On the Configuration tree, expand Hardware Allocation, and then double-click the Main
Processors (MP/IOP1).
420
Chapter 6
For the port that is physically connected to the TriStation PC (Left, Middle, or Right)
specify the Transceiver Mode to match the installed hardware.
421
Note
If you are connecting the Trident 1.x controller to the TriStation PC via the MP, see
Connecting the Trident 1.x MP to a TriStation PC on page 417.
Procedure
1
Attach one end of a cross-over cable to a NET 1 or NET 2 connector on the CM baseplate,
as shown in this example.
Attach the other end of the cross-over cable to the network interface card in the
TriStation PC.
422
Chapter 6
Procedure
1
Attach the other end of the straight-through cable to a network hub, as shown in the
example below.
PASS
PASS
FAULT
FAULT
ACTIVE
ACTIVE
LOCK
COMMUNICATIONS
SERIAL
SERIAL
SERIAL
LOCK
COMMUNICATIONS
TX
SERIAL
RX
TX
SERIAL
RX
TX
SERIAL
RX
TX
RX
LINK
RX
LINK
LINK
NET 2 TX
NET 2 TX
RX
CM 3201
1X
8X
16
RX
NET 1 TX
RX
MDI
MDIX
TX
LINK
CM 3201
COAX
RX
NET 1 TX
RX
POWER
TX
10BASE-T
9X
423
Procedure
1
Property
Action
Select Connection
Node Number
Node Name
IP Address
Note
The data displayed on this screen is used by TriStation 1131 only to connect to a
Trident communication port. The data that you enter will not be downloaded to
the Trident controller.
424
Chapter 6
Specify these properties for the NET 1 or NET 2 port, depending on which is connected
to the TriStation PC.
Property
Action
Slot Selection
Mode
Privilege
Transceiver Port
Property
Action
Transceiver
Mode
425
IP Subnet Mask
Default Gateway
IP Address
Time
Synchronization
426
Chapter 6
If the TriStation PC is connected only to the MP, you will not be able to view
communication status information in the Enhanced Diagnostic Monitor. See the
Enhanced Diagnostic Monitor Users Guide for more information.
CAUTION
If you will be connecting to the Trident v2.x or Tri-GP controller for the
very first time via a network connection, you must use the default IP
address (192.168.255.<node>), and connect to the controller via the Left
MP.
See Connecting to the Trident 2.x or Tri-GP Controller for the First Time
on page 411 for more information.
Topics include:
427
On the CM, for a NET 1 port, you must use a 10BaseT cable. For a NET 2 port, you can
use either a 10BaseT or 100BaseTX cable.
On the MP baseplate, for a TriStation port, you must use a 10BaseT cable.
Procedure
1
Attach one end of a cross-over cable to a NET 1 or NET 2 connector on the CM baseplate,
as shown in this example, or to a TriStation port on the MP baseplate.
Attach the other end of the cross-over cable to the network interface card in the
TriStation PC.
DSP1
PASS
DSP2
PASS
FAULT
MODE
REMOTE
RUN
RUN
PROGRAM
HALT
PS2
SYSTEM ALARM
STATUS
PS1
PROGRAM ALARM
OVER
TEMPE
RATURE
LOCK
COMMUNICATIONS
TX
RX
TX
RX
TX
RX
PS2
SYSTEM ALARM
PROGRAM ALARM
OVER
TEMPE
RATURE
LOCK
COMMUNI
CATIONS
IO BUS
COMM BUS
SERIAL
TX
RX
TX
RX
TX
RX
LINK
LINK
TRIS
TATION TX
TRIS
TATION TX
RX
MP3101
PS1
PS2
SYSTEM ALARM
PROGRAM ALARM
OVER
TEMPE
RATURE
SERIAL
RUN
PROGRAM
HALT
STATUS
PS1
IO BUS
REM
OTE
PROGRAM
HALT
COMM BUS
ACTIVE
MODE
REM
OTE
STATUS
FAULT
ACTIVE
MODE
DSP4
PASS
FAULT
ACTIVE
DSP3
LOCK
COMMUNI
CATIONS
IO BUS
COMM BUS
SERIAL
TX
RX
TX
LINK
TRIS
TATION TX
RX
MP3101
TX
RX
RX
RX
MP3101
TX
428
Chapter 6
On the CM, for a NET 1 port, you must use a 10BaseT cable. For a NET 2 port, you can
use either a 10BaseT or 100BaseTX cable.
On the MP baseplate, for a TriStation port, you must use a 10BaseT cable.
Procedure
1
Attach the other end of the straight-through cable to a network hub, as shown in the
example below.
PASS
V SP1
PASS
V SP2
PASS
F AU LT
PASS
FAULT
FAULT
ACTIVE
ACTIVE
PASS
FAU L T
A CTIVE
F AU LT
A CTIVE
A CTIVE
ALARM1
MODE
MODE
ALARM2
MODE
REM O TE
REM O TE
RUN
RUN
PROG RAM
PROG RAM
HA LT
REM OTE
RUN
PROG RAM
HA L T
ST A TUS
HA LT
STA TUS
STA TUS
PS1
PS1
PS2
PS1
PS2
S Y STEM ALARM
PS2
SY STEM ALARM
SY STEM ALARM
PROG R AM ALARM
LOCK
L OCK
LOCK
COMMUNICATIONS
SERIAL
C OMMUNI
C ATIONS
COMMUNI
CA TIONS
TX
IO BUS
COMMUNI
SERIAL
C ATIONS
TX
IO BUS
TX
RX
COMMUNICATIONS
SERIAL
RX
SERIAL
TX
COMM BUS
RX
TX
COMM BUS
SERIAL
TX
SERIAL
TX
RX
RX
LINK
TX
LINK
TRIS TA TION
TX
RX
MP3101
TX
NET 1 TX
SERIAL
TX
RX
RX
RX
TX
RX
LINK
NET 1 TX
SERIAL
RX
TRIS TA TION
RX
RX
LINK
T X
SERIAL
TX
TX
RX
TX
RX
TX
RX
IO BUS
RX
COMM BUS
LOCK
L OCK
LINK
TRIS TA TION
RX
MP3101
TX
RX
RX
LINK
LINK
NET 2 TX
NET 2 TX
RX
MP3101
CM 3201
RX
CM 3201
TX
COAX
COAX
8X
MDI
MDIX
16
10BASE-T
9X
POWER
1X
8X
1X
MDI
MDIX
POWER
16
10BASE-T
9X
Figure 39 Connecting the TriStation PC to a Trident 2.x or Tri-GP MP (left) or CM (right) Using
a Hub
429
Procedure
1
Action
Select Connection
Node Number
Node Name
430
Chapter 6
Property
Action
IP Address
Note
The data displayed on this screen is used by TriStation 1131 only to connect to a
Trident or Tri-GP communication port. The data that you enter will not be
downloaded to the Trident or Tri-GP controller.
On the Configuration tree, expand Hardware Allocation, double-click CM, and then
click Setup.
431
On the Network tab of the CM Setup dialog box, specify these properties for the NET 1
or NET 2 port, depending on which is connected to the TriStation PC.
Property
Action
Slot Selection
Installed
IP Address
IP Subnet Mask
Default Gateway IP
Address
Go to step 13.
On the Configuration tree, expand Hardware Allocation, and then double-click the Main
Processors (MP/IOP1).
10
432
Chapter 6
11
For the port that is physically connected to the TriStation PC (Left, Middle, or Right)
specify the Transceiver Mode to match the installed hardware.
12
Specify the IP address for the port. This must be the same IP address entered on the
TriStation Communication screen in step 3.
13
433
Procedure
1
Network Connection
The next time you establish communication between the TriStation PC and the Trident
or Tri-GP, the default connection setting you selected will be used.
Note
If only one connection type is selected under Select Connections, the default connection
is automatically set based on it, and cannot be changed.
434
Chapter 6
Access to the controller via TriStation 1131 (ability to perform a Download Changes or
Download All).
CAUTION
By default, TSAA clients have write access to the NET 1 and NET 2 ports
on Trident 2.x or Tri-GP CMs. Depending on your configuration, this may
create a security issue. To disable write access by TSAA clients, you must
enable and configure the CM access control list.
435
For each IP address or group of IP addresses, you can set the access level, the protocols the client
can use to access the CM, and the network ports the client can use to access the CM.
Deny Access: Prevents all access to resources provided by the CM. Connections to the
Trident are not allowed.
Read Only: Allows client to connect to the Trident or Tri-GP, and view information
provided via the CM. Does not allow the client to change any settings or perform
certain commands.
Read/Write: Full access. Allows client to view information provided by the CM, change
settings, and perform all commands (including Download Changes or Download All
for TriStation 1131).
Access levels are configured by adding entries to the access control list. A maximum of 10
entries can be provided in the access list.
The same access level is applied to all selected protocols in a single access control list entry. If
you want to provide different access levels for a selected client depending on which protocol
they are using, you will need to create two separate entries in the access control list, one for each
protocol.
Access levels apply to all users using the PC assigned the IP address entered in the access control
list. This means if multiple users are using the same PC, they will all have the same access rights.
For example, every user using TriStation 1131 on a PC with a particular IP address would have
the same access rights to the CM. Individual user access should be controlled via workstation
security; CM access is controlled only at the IP address level.
CAUTION
Once you enable CM client access control by selecting the Enable Access
List check box, you must configure at least one client with TriStation
Read/Write access before you can save the configuration.
This ensures you will be able to connect to the Trident or Tri-GP again
after your next download, and allows you to make further changes to the
application running on the controller, including changes to the CM access
control list.
If necessary, you can also connect via a TriStation serial connection to
reconfigure the access control list. See Connecting to the Trident or Tri-GP
Controller via a Serial Connection on page 412.
Note
If you are using the TSAA and/or TriStation protocols, you must enable and use access
list control to manage read/write access to specific ports. If you are using the serial
and/or Modbus TCP protocols, you can also use the Port Write Enabled property to
manage read/write access to specific ports. See Port Write Enabled on page 581.
436
The following table is a sample access control list, with the access control scenarios that would result if enabled on
a Trident v2.x or Tri-GP CM.
Chapter 6
Entry
IP Address
Subnet Mask
Protocol
Network
Access Level
206.216.1.12
255.255.255.0
TriStation
NET 2
Read/Write
206.216.1.12
255.255.255.0
TSAA
NET 1
Read Only
192.168.1.05
255.255.255.255
TriStation
NET 1
NET 2
Deny Access
192.168.1.09
255.255.255.255
TSAA
NET 1
NET 2
Deny Access
192.168.1.05
255.255.255.0
TriStation
NET 2
Read Only
192.168.1.05
255.255.255.0
TSAA
NET 2
Read Only
192.168.1.09
255.255.255.0
TriStation
NET 2
Read/Write
TSAA
8
0.0.0.0
0.0.0.0
All
All
Deny Access
NULL
NULL
NULL
NULL
NULL
None
a. If a client with the specific IP address of 192.168.1.05 attempts to access the CM using the TriStation protocol on NET 2, the CM will deny access. This is because the
CM evaluates the access control list beginning from the top, and continuing through the list until it encounters an entry that applies to the IP address requesting
access. In this case, entry 3 specifically denies access to a client with the IP address of 192.168.1.05, so the CM will deny access and not evaluate the list any further.
b. If a client with the specific IP address of 192.168.1.05 attempts to access the CM using the TSAA protocol on NET 2, the CM will deny access. In this case, entry 4
specifically denies access to a client with the IP address of 192.168.1.05, so the CM will deny access and not evaluate the list any further.
Table 37
437
After a Download Changes or Download All has been performed so that access control
on the CM is enabled, all existing connections will remain connected, even if the clients
access has been changed to Read Only or Deny Access. The new access levels will not
take effect until the client disconnects and attempts to reconnect.
Procedure
1
Double-click the CM, and then click Setup in the Item Properties dialog box.
The CM Setup dialog box appears.
438
Chapter 6
Action
Slot Selection
Client IP Address
Client IP Subnet
Mask
Permission
Protocol
Select the protocol(s) that the selected client can use to access
the CM.
Network
Click Update Client Entry to save the settings for the selected client.
Repeat steps 4 and 5 for each client to be included in the access control list.
Note
If necessary, click Reset Client Entry to reset the settings for the selected client to
the default, unconfigured state. Click Reset All to reset all entries in the access
control list to the default, unconfigured state.
In most cases, you should configure identical access control lists for the modules in
both slots. To do so, click Copy Current Setup to Other Slot.
To configured different access control lists for the modules in the right and left
slots, repeat steps 4 through 6 for the module installed in the right slot.
439
440
Chapter 6
You can purchase communication cables from other manufacturers. You must purchase print
servers elsewhere because Invensys does not supply them. Black-box cables and HewlettPackard print servers are examples of dependable network printing devices.
Invensys has tested these Hewlett-Packard print servers and can recommend them.
HP JetDirect Ex Plus
Printers
You must select a printer that is compatible with your print server. The Trident or Tri-GP
controller prints ASCII text only, which does not include formatting or graphics, so a
Centronics-compatible printer is adequate. Laser printers are also suitable.
For more information, see the Communication Guide for Trident Systems.
Procedure
1
If the print server and printer packages have installation programs, install them on the
TriStation PC.
Connect the printer to the print server, and connect the print server to a CM Ethernet
port (NET 1 or NET 2).
Trident or Tri-GP
Controller
HP JetDirect-Compatible
Print Server
Centronics-Compatible
Printer
Standard
Printer Cable
Ethernet
Cross-Over Cable
441
Procedure
1
If the print server and printer packages have installation programs, copy the programs
to the TriStation PC.
Follow the instructions that came with the packages, and run the diagnostic routines, if
available.
Connect the printer to the print server, and connect the print server to a hub. Connect
the hub to a CM Ethernet port (NET 1 or NET 2).
Trident or Tri-GP
Controller
HP JetDirect-Compatible
Print Server
Centronics-Compatible
Printer
Ethernet Cable
Standard
Printer Cable
Ethernet Cable
Ethernet Hub
COAX
1X
8X
MDI
MDIX
POWER
16
10BASE-T
9X
Other Network
Connections
Figure 41 Connecting the Trident or Tri-GP CM to a Print Server and Printer Using a Hub
442
Chapter 6
For more information about the target system version, see Configuring the Trident or Tri-GP
Target System Version on page 318.
Action
Slot Selection
Mode
Action
Not Configured
or Configured
Printer Number
Enter a number from 1 to 10. This must be the same number that
is declared for the PRINTER parameter in print function blocks.
Line Width
Enter the maximum printable line width for your printer, based
on the manufacturers specifications.
443
The most typical line widths are 80 characters and 132 characters.
TCP Port
Number
IP Address
In TriStation, open your project, expand the Controller tree, double-click Configuration,
and expand Hardware Allocation.
Double-click the CM, and then click Setup in the Item Properties dialog box.
The CM Setup dialog box appears.
444
Chapter 6
Specify these properties for the module installed in the Left Slot.
Property
Action
Printer Number
Enter the number for the printer; can only be 5 or 10. Both slots
cannot have the same printer number. The default is 0, meaning a
printer is not configured.
This must be the same number that is declared for the PRINTER
parameter in print function blocks.
Line Width
TCP Port
Number
Enter the number of the TCP port for the print server. The default is
9100 for an HP printer.
Network
Click the network that the print server is connected to. The default is
NET 2.
IP Address
If a module is also installed in the Right Slot, repeat step 4 for that module.
445
For the Trident 1.x controller, the valid range is 1 through 10.
For the Trident v2.x or Tri-GP controller, the PRINTER parameter must be 5 or 10. The
Left and Right CM ports cannot have the same PRINTER parameter.
The PRINTER parameter must be the same number as is defined in TriStation 1131.
Each time a message is printed, the print function blocks in the TriStation 1131 application are
executed and the scan time increases.
This table lists the print function blocks in the Trident/Tri-GP library.
Print Function Block
Purpose
PRINT_BOOL
PRINT_CDT
PRINT_CRLF
PRINT_CTOD
PRINT_DINT
PRINT_REAL
PRINT_STRING
PRINTR_FLUSH
See the TriStation 1131 Libraries Reference for more detailed information about the print function
blocks.
446
Chapter 6
The Trident 2.x or Tri-GP default IP address applies to the Left MP only. See Connecting
to the Trident 2.x or Tri-GP Controller for the First Time on page 411 for more
information.
If you cannot use a default address, there are other ways to set an IP address on a network. All
begin with asking the network administrator for the intended IP addresses. The easiest way is
to use a Reverse ARP (RARP) server that has been programmed in advance with the intended
addresses. Other ways include temporary connection of the TriStation PC to a non-Ethernet
module during downloading.
All the procedures for setting the IP address are based on the assumption that the controller
includes at least one communication module with an Ethernet port connected to a network.
To use the procedures, you should know how to:
Configure the TriStation 1131 project with the node number of the controller and the IP
address
For more information, see the Communication Guide for Trident Systems.
Note
Typically, Triconex controllers are located on their own subnet which is connected to a
larger network such as a DCS. Your network administrator can set up the subnet for
compatibility with the Triconex default IP addresses and can program any routers that
lie between the DCS and the Triconex subnet with addressing information about the
Triconex controllers.
Topics include:
447
If you have a Trident 2.x or Tri-GP controller, the default IP address applies only to the
Left MP network port. See Connecting to the Trident 2.x or Tri-GP Controller for the
First Time on page 411 for more information.
Procedure
1
Connect the Trident 1.x controller to the network using the NET 1 or NET 2 port on
the CM.
Connect the Trident 2.x or Tri-GP controller to the network using the Left MP
network port.
Connect the TriStation PC to the network (Trident 1.x, Trident 2.x, or Tri-GP)
Connect the TriStation PC to the Left MP network port using a cross-over cable
(Trident 2.x or Tri-GP)
In the TriStation 1131 project, expand the Controller tree, double-click Configuration,
and then click TriStation Communication.
192.168.255.n, where n is the node number of the controller (Trident 2.x or Tri-GP
Left MP)
If the Trident 1.x controller includes two communication modules, the default address
applies to both modules.
Note
The Left CM and Right CM use the same 48-bit physical MAC address and
cannot be connected to the same network.
(Trident 1.x) Click the slot where the communication module is installed, and then
click Setup. If a communication module is not installed, insert a communication
module, and then click Setup.
(Trident 2.x or Tri-GP) Double-click the MP, click Setup, and then click the Network
Ports tab.
448
Chapter 6
In the Setup dialog box, enter the same IP address specified on the TriStation
Communication screen.
If the Trident 1.x controller includes a redundant communication module, enter the
same IP address for the other slot.
9
10
On the Controller tree, click the Controller Panel. From the Commands menu, click
Connect.
Wait about 40 seconds for the module to reset and become active.
When the module is active, the Active indicator is green.
11
On the Commands menu, click Download All to download the TriStation 1131 project
to the controller.
12
On the TriStation PC, from the Start menu, click the MS-DOS Command Prompt.
13
If the network connection is made, the reply includes the IP address followed by byte
and time information.
If the connection is not okay, the reply is Request timed out.
Note
If you receive a Request timed out reply, check your network cable and port connections
to verify they are securely connected, verify your configuration settings are correct, and
then retry the ping command.
Procedure
1
Ask the network administrator for the IP address that is to be used for the controller.
Connect the controller to the network through a network port on the communication
module.
The Left CM and Right CM use the same 48-bit physical MAC address and
cannot be connected to the same network.
On the TriStation PC, from the Start menu, click the MS-DOS Command Prompt.
449
Enter the command ping followed by the IP address to be tested. For example, for an IP
address of 206.32.216.43, enter this:
ping 206.32.216.43
If the network connection is made, the reply includes the IP address followed by byte
and time information.
If the connection is not okay, the reply is Request timed out.
Note
If you receive a Request timed out reply, check your network cable and port
connections to verify they are securely connected, verify your configuration
settings are correct, and then retry the ping command.
Connect the TriStation PC to the network, or directly to a network port on the CM.
In the TriStation 1131 project, expand the Controller tree, click Configuration, and then
click TriStation Communication.
On the TriStation Communication screen, specify the Node Number of the controller
and the intended IP address.
10
On the Commands menu, click Connect. Wait until the connection is made.
11
On the Commands menu, click Download All to download the TriStation 1131 project
to the controller.
If you have a Trident 2.x or Tri-GP controller, the default IP address applies only to the
Left MP network port. See Connecting to the Trident 2.x or Tri-GP Controller for the
First Time on page 411 for more information.
Procedure
1
Ask the network administrator for the IP address to be used for the controller.
Connect the controller to the network through a network port on the CM.
450
Chapter 6
On the Connect To screen, click Main Processor Module Port and Left, Middle, or Right
for the MP port to which the TriStation cable is connected.
10
On the TriStation PC, from the Start menu, click the MS-DOS Command Prompt.
11
Enter the command ping followed by the IP address to be tested. For example, for an IP
address of 206.32.216.43, enter this:
ping 206.32.216.43
If the network connection is made, the reply includes the IP address followed by byte
and time information.
If the connection is not okay, the reply is Request timed out.
12
If the IP address is set, you can disconnect the TriStation PC from the MP port, and
connect it to a network port on the CM or to the network.
Procedure
1
Ask the network administrator for the IP address to be used for the CM.
Connect the Trident controller to the network using a network port (NET 1 or NET 2) on
the CM.
Connect the TriStation PC to a network port on the CM, using a direct or network
connection.
On the TriStation PC, use Windows procedures to set the IP address of the PC to either
of the following:
Expand the Configuration tree, click Configuration, and then click TriStation
Communication.
Specify the node name, node number, and the default IP address of the controller.
Use the Network tab on the CM Setup screen to specify the intended IP address for the
Ethernet port that is connected to the network.
451
10
11
On the Controller tree, click Controller Panel. On the Command menu, click Connect To.
12
On the Connect To screen, click the Serial Port option and the COM port to which the
TriStation cable is connected.
13
Verify that Communication Module Port is selected and the default IP address is
displayed.
14
Connect to the controller and download the TriStation 1131 project. Wait for the
download to complete.
After the download is complete, TriStation 1131 displays the message, Connection
failed. The default IP address you specified in the node definition is invalid, and the
intended IP address of the CM is set.
15
On the TriStation PC, use Windows procedures to set the IP address of the PC to its
actual address on the network.
16
On the TriStation PC, from the Start menu, click the MS-DOS Command Prompt.
17
If the network connection is made, the reply includes the IP address followed by byte
and time information. If the connection is not okay, the reply is Request timed out.
18
In the TriStation 1131 project, change the default IP address to the newly set IP address
of the TriStation Communication screen.
19
Use the Controller Panel to reconnect the TriStation 1131 project to the controller.
20
After the IP address is set on the network, you must reconfigure the IP address in the
TriStation 1131 project, and assign a valid IP address to the TriStation PC.
Procedure
1
On the Configuration tree, click Hardware Allocation to display the modules that are
configured for this system.
Double-click the CM icon to open the Properties dialog box, and click Setup to display
the configuration options for the CM.
On the Network tab, select Left Slot or Right Slot depending on which CM you are
configuring.
452
Chapter 6
If you have a Trident 1.x controller, for NET 1 or NET 2 (depending on which one is
connected the network), select Open Network from the list under Mode.
In Default Gateway IP Address, enter the IP address of the default gateway that is
connected to the local subnet.
Procedure
1
On the Configuration tree, click Hardware Allocation to display the modules that are
configured for this system.
Double-click the CM icon to open the Properties dialog box, and click Setup to display
the configuration options for the CM.
For a Trident 2.x or Tri-GP controller, click the Routing tab. For each route you need
to specify, enter an IP address in Destination IP Address, Destination IP Subnet
Mask, and Destination Gateway IP Address, and then click Update Destination.
For a Trident 1.x controller, click the Routing tab and enter an IP address under
Destination Address, Subnet Mask, and Gateway Address for each route that you
need to specify.
Procedure
1
On the TriStation PC, from the Start menu, click the MS-DOS Command Prompt.
Type the command ping followed by the IP address to be tested. For example, for an IP
address of 206.32.216.43, enter this:
ping 206.32.216.43
453
If the network connection is made, the reply includes the IP address followed by byte
and time information.
If the connection is not okay, the reply is Request timed out.
454
Chapter 6
7
Implementation
Overview 456
Controlling the Operational Mode 458
Using the Triconex Emulator for Testing 459
Controller Testing 460
Maintenance 469
456
Chapter 7
Implementation
Overview
This figure shows the main steps for implementing an application, which is the last step in a
TriStation 1131 project.
Set Up the Project
Develop the
Application
Errors?
No
C onfigure the
C ontroller
Set Up TriStation
C ommunication
Overview
457
Implementation Steps
This list includes steps for testing and maintaining an application.
Step
See
Using the Triconex Emulator for Testing on page 459
The Triconex Emulator Users Guide.
Maintain an application
458
Chapter 7
Implementation
Mode
Description
Run
Program
Halt
Controller stops running the application and retains the values of tagnames.
For Tricon controllers, the Halt command is used.
For Trident and Tri-GP controllers, the Halt command or the SYS_APP_HALT
function can be used.
Stop
Controller stops reading inputs, forces non-retentive digital and analog outputs to zero,
and halts the application.
Retentive outputs return to the value they had before the Stop was issued. Stop mode is
recommended for installation and service of process-related equipment, but is not
required for service of the controller.
For Tricon controllers, the keyswitch must be set to STOP.
For Trident and Tri-GP controllers, the Stop command must be used.
Remote
Controller runs the downloaded application and allows writes to program variables by
TriStation 1131, Modbus masters, and external devices.
Download All and Download Changes by TriStation 1131 are not allowed.
For Tricon controllers, the keyswitch must be set to PROGRAM.
For Trident and Tri-GP controllers, the Set Programming Mode option must be set to
Enable Programming and Control Operations. (This is the default setting.)
TSAA protocol communication, including support for DDE and SOE clients, and
multicasting (DDE clients only)
System status function blocks for MP and I/O modules, including system state
transitions
Disabling of points
For detailed information and instructions for testing your application using the Triconex
Emulator, see the Triconex Emulator Users Guide, included on the TriStation 1131 CD, or
available from the Invensys Global Customer Support web site.
460
Chapter 7
Implementation
Controller Testing
This section explains how to test on the controller, which is usually done when the controller is
physically connected to field instruments either in a test facility that simulates the system
(Factory Acceptance Test), or at the site while the control process is offline (Site Acceptance
Test).
The logical hardware configuration in TriStation 1131 must be completed and must match the
physical configuration.
Topics include:
CAUTION
Note
The first time you connect to the Trident 2.x or Tri-GP controller to
download your application, you must connect either via a serial
connection or via the Left MP, using the default IP address. See
Connecting to the Trident 2.x or Tri-GP Controller for the First Time on
page 411 for more information.
If the target system version configured for the project does not match the system version
of the Tricon, Trident (v2.x only; does not apply to v1.x systems), or Tri-GP controller
you are trying to connect to, you will be unable to connect to the controller. The target
system version specified in the project must be the same as the system version of your
controller.
For instructions on changing the target system version in your project, see Configuring
the Tricon Target System Version on page 252 or Configuring the Trident or Tri-GP
Target System Version on page 318.
Procedure
1
Open the Controller workspace, expand the Configuration tree, and double-click the
Controller Panel.
Controller Testing
461
The Connect To screen shows the default communication setting. If needed, change the
connection setting and click OK.
For more information, see Specifying the Tricon Default Connection Type on page 385
or Specifying the Trident or Tri-GP Default Connection Type on page 433.
3
For Tricon controllers, ensure the keyswitch is turned to PROGRAM. This is the
factory setting.
For Trident or Tri-GP controllers, ensure the mode is Enable Programming and
Control Operations. This is the default setting. (To view this setting, on the
Commands menu, click Set Programming Mode, and then click Enable
Programming and Control Operations.)
If the download is successful, a backup file of the project is automatically created with
the major version, minor version, time stamp, and the extension DWLD. For example,
EXCOUNTR_333_1_4120e077.DWLD. If needed, this file can be restored by using the
Restore Project To Last Download Command on page 594.
6
For Tricon controllers, turn the keyswitch to RUN (to start the program on the
controller) or to REMOTE (to start the program and allow external devices to write
to tagnames or aliases).
For Trident or Tri-GP controllers, set the mode to Run and disable Download
commands by doing this: On the Commands menu, click Set Programming Mode,
and then click Disable Programming and Control Operations.
See the Triconex Emulator Users Guide for detailed information about the impact of
downloading to the Emulator on the projects version.
462
Chapter 7
Implementation
A Download All operation increments the major version, and resets the minor version
to 0.
Project version changes made due to download operations can be viewed in the Project History
dialog box. See View Project History Command on page 640.
Note
Performing a download to the Emulator changes the downloaded version for the
Emulator, but not the downloaded version for the controller. A project that has not yet
been downloaded to the controller, but has been downloaded to the Emulator, will have
a project version of 0.0.x, where x is the EmulatorCount value.
The controller downloaded project version is the last version of the project file (.pt2)
downloaded to the controller. The version is provided in the format major.minor (for
example, in version 3.7, the major version is 3 and the minor version is 7).
The Emulator downloaded project version is the last version of the project file (.pt2)
downloaded to the Emulator. The version is provided in the format
major.minor.EmulatorCount (for example, in version 3.7.12, the major version is 3, the
minor version is 7, and the EmulatorCount is 12).
The major.minor version is the same as the last controller downloaded project
version.
The EmulatorCount value is incremented sequentially after either a Download All
or a Download Changes to the Emulator.
Using the Change State to Download All command will change the download state for
both the controller AND the Emulator to Download All. See Change State to Download
All Command on page 492.
Controller Testing
463
CAUTION
Procedure
1
Drag the function blocks and variables you want to monitor to the sheet.
or Single Step
When you click Single Step, the application executes for one scan only. As a
result, Modbus Master and Peer-to-Peer behavior can be unpredictable when
Single Step is applied.
To enable or disable a variable, double-click the variable and click Enable or Disable.
Note
While monitoring variables on the controller, you may occasionally see a question mark
(?) instead of the variables actual value. This is normal and should resolve itself within
the next few scans. The question mark appears only when TriStation does not know the
actual value of the variable. This can occur in situations when the list of variables is being
updated (for example, when youve scrolled down the variables list, or resized the sheet
view) and TriStation 1131 doesnt have enough communications bandwidth to display
all the new values in one scan.
464
Chapter 7
Implementation
Procedure
1
On the controller tree, expand Programs, and click the program you want to test.
.
.
When you click Single Step, the program executes for one scan only. As a result,
Modbus Master and Peer-to-Peer behavior can be unpredictable when Single
Step is applied.
Figure 42
or Single Step
.
True Value
in Red
Controller Testing
465
Procedure
1
Double-click a variable, and select the Annotate check box on the Variable tab.
Click the Macros button to change the macro identified with the annotation.
To copy a macro, click the macro name and press Ctrl+C. To paste the macro, close the
Edit Macros dialog box, click in the Annotation area, and press Ctrl+V. You can also
enter text with the macros.
466
Chapter 7
Implementation
When the actual time is equal to the requested time, the scan surplus is positive, which
means the scan time setting can be decreased.
When actual time is more than the requested time, the scan surplus is negative, which
means the scan time should be increased to ensure that communication errors do not
occur.
For more information, see Setting the Scan Time for a Downloaded Application on page 467.
The Triconex Enhanced Diagnostic Monitor (sold separately) displays information to determine
scan surplus, including the Requested Scan Time, Actual Scan Time, and Scan Surplus for an
application. For more information, see the Enhanced Diagnostic Monitor Users Guide.
If the surplus is greater than 20 milliseconds or 10 percent of the actual scan time,
decrease the number for the scan time. In this example, the scan time could be set to 130
milliseconds.
Note
Even when the actual scan time is less than the requested scan time, the Actual Scan
Time displayed in the Enhanced Diagnostic Monitor will always appear as the same as
the Requested Scan Time. In this case, you should use the value displayed for the Scan
Surplus to determine if you can reduce your requested scan time.
If the surplus is negative, increase the number for the requested scan time by the
negative amount plus 20 milliseconds. In this example, the scan time should be set to
220 milliseconds.
Controller Testing
467
Procedure
1
On the Controller tree, double-click the Controller Panel and download the application.
Action
Enter the number of milliseconds for the scan time used while the
application is running in the controller. The number must be in the
minimum to maximum range.
For Tricon 3006/3007, the range is 20 to 500 milliseconds.
For Tricon 3008, the range is 20 to 450 milliseconds.
For Trident or Tri-GP, the range is 10 to 450 milliseconds. The
minimum must be equal to or larger than the poll times.
This setting does not affect the requested scan time for the project. To
change the requested scan time in the project, you must set the scan
time on the Implementation screen.
Note
To guarantee that the controller provides a deterministic response time, the scan
time should always be set to a value greater than the I/O poll time (the
maximum time needed by the controller to obtain data from the input modules).
You can view the I/O poll time on the System Overview screen in the Enhanced
Diagnostic Monitor (sold separately). For more information, see the Enhanced
Diagnostic Monitor Users Guide.
468
Chapter 7
Implementation
Procedure
1
Differences identified with an asterisk must be fixed in the project before the application
can be download. Other differences may allow you to download the application.
Identifier
Description
Asterisk (*)
Empty slot
Maintenance
469
Maintenance
This section explains how to plan and manage changes to an application running on a controller
attached to a live system.
WARNING
Topics include:
470
Chapter 7
Implementation
WARNING
Step
See
Maintenance
471
Recommended Procedure
1
Generate a change request defining all changes to the application and the reasons for the
changes, then obtain approval for the changes from the board.
Develop a specification for changes, including a test specification, then obtain approval
for the specification from the board.
Make the appropriate changes to the application, including those related to design,
operation, or maintenance documentation.
Verify the application in the controller matches the last downloaded application. See
Verify Last Download to the Controller Command on page 637. If the applications do
not match, contact Invensys support.
Print the Hardware Module Configuration report to compare the current configuration
with the last one downloaded to the controller.
Print all user documents and thoroughly check all changed networks in each document
to ensure the changes do not affect other parts of the application.
Test the new application on the Emulator and write a test report.
Review and audit all changes and the test results with the board.
10
Save the downloaded application and back up the appropriate files on a CD or other
storage medium.
11
Archive two copies of the .pt2 (project) file and all associated documentation.
472
Chapter 7
Implementation
Component
Command Required
Chassis
Functions and
function blocks
IP Address
Library elements
Download Changes: Allowed, but only if the library (or selected library
elements, for partial changes) being added, updated, or deleted does not
change function blocks that have already been downloaded to the controller.
Download All: Required if the library (or selected library elements) being
added, updated, or deleted changes function blocks that have already been
downloaded to the controller.
Memory allocation
Modules
Node Number
Download All: Required if the address plug and node number configuration
are changed.
Number of Send or
Receive function
blocks
Operating
Parameters
Programs
Maintenance
Table 39
473
Component
Command Required
Tagnames
Target System
Version
Variables
Download All: Required if changes to the Data Type or Alias Type require
additional memory allocation.
Download Changes: Allowed if changes to the Data Type does not require
additional memory allocation. Points must be enabled. Also allowed if the
variable Name, Description, or Initial Value is added or changed. Allowed,
but not advised, if changes are made to the Point Type, Alias Type, or Alias
Number of a memory variable; these changes will re-initialize the point to its
configured initial value, or 0 if no initial value is defined.
474
Chapter 7
Implementation
Disabling Points
This section explains how to disable points (tagnames) on an application running on a
controller, which should be used with care. When a point is disabled, inputs from field
instruments or the application running on the controller do not change the value of the point.
Disabling points is typically used when field instruments need to be replaced or repaired.
Once a point is disabled:
If the point is a physical input, field instruments cannot write to it. (The application
cannot write to it by definition, once the point is configured as an input.)
The value in the point when it was disabled is held. If desired, you can force the point
to a specific value (see Forcing Points on page 477).
External hosts (Modbus Masters, etc.) can still write directly into the disabled point if
the point is:
A memory read/write aliased tagname and the controller is write-accessible (the
keyswitch is in PROGRAM or REMOTE mode, or in RUN mode with gate access).
An output point and the Disable Remote Changes to Outputs property on the
Operating Parameters screen is not selected.
Note
Disabling points on the controller is completely separate from disabling points on the
Emulator. Points that are disabled in the program running on the Emulator will NOT
also be disabled in the application that is currently running on (or will be downloaded
to) the controller.
For Tricon v9.x controllers, a maximum of 64 points can be disabled at any one time. For Tricon
v10.x controllers, a maximum of 256 points can be disabled. There is no maximum to the
number of points that can be disabled for Trident or Tri-GP controllers; however, disabled
points are not recorded and are cleared after a power cycle.
When you disable one or more points, the number of disabled points output parameter
(POINTS_DISABLED) in the TR_PROGRAM_STATUS (Tricon) or SYS_MP_EXT_STATUS
(Trident or Tri-GP) function block is updated. Additionally, the alarm state for disabled points
is also changed to TRUE in the TR_SHUTDOWN (Tricon) or SYS_SHUTDOWN (Trident or
Tri-GP) function block. See the TriStation 1131 Libraries Reference for more information about
these function blocks.
The disabling (and subsequent re-enabling) of points is saved to the TriStation 1131 Project
History. To view information about when a point was disabledand who disabled itfrom the
Project menu, select View Project History.
In order to disable points from TriStation 1131, the Allow Disabling of Points property must be
selected on the Operating Parameters screen. See Setting Tricon Operating Parameters on
page 249 or Setting Trident or Tri-GP Operating Parameters on page 315 for more information.
Maintenance
WARNING
475
Procedure
1
On the Commands menu, click the Connect command, and enter the connection
password if required.
Note
If the target system version configured for the project does not match the system
version of the controller you are trying to connect to, you will be unable to
connect to the controller. See Configuring the Tricon Target System Version on
page 252 or Configuring the Trident or Tri-GP Target System Version on
page 318.
If prompted, enter a comment (using 100 char caters or less) that describes why this
point was disabled, and then click OK. The comment will be placed in the project
history.
Note
Repeat steps 3 and 4 until all desired points have been disabled.
476
Chapter 7
Implementation
Procedure
1
Click Run
If desired, select the points you want to enable, and then click OK.
Points that have been disabled can be re-enabled individually or all at once. You can also
enable points from the List of Disabled Points dialog box. See Viewing Disabled Points
on page 476.
Click Run
If prompted, enter a comment (using 100 char caters or less) that describes why this
point was re-enabled, and then click OK. The comment will be placed in the project
history.
Note
Repeat steps 3 and 4 until all desired points have been enabled.
Click Run
All points that are currently disabled on the controller are re-enabled.
Maintenance
477
Forcing Points
This section explains how to force points (tagnames) on an application running on a controller,
which should be used with care. Forcing a point is the act of putting a value into a point that has
been disabled.
When a point is disabled, inputs from field instruments or the application running on the
controller do not change the value of the point. Once you have disabled a point, you can then
force the point to a specific value by entering that value in the points Tagname Properties dialog
box.
Disabling and forcing points is typically used during maintenance operations, when field
instruments need to be replaced or repaired. For example, a digital output point drives a
solenoid/valve, which is normally energized during operation. When the solenoid requires
maintenance, the digital output point is disabled and then forced to the OFF state. This allows
maintenance personnel to safely disconnect the field device and perform the required
maintenance function.
Points can also be disabled and forced during factory or site acceptance testing (FAT/SAT),
when input conditions are set by disabling and forcing the input points because the field devices
have not yet been wired and connected to the controller. If a portion of your process is offline,
some points may remain in the disabled/forced state for a long period of time.
Note
Forcing points on the controller is completely separate from forcing points on the
Emulator. Points that are forced to a value in the program running on the Emulator will
NOT also be forced to the same value in the application that is currently running on (or
will be downloaded to) the controller.
Forced points are saved to the TriStation 1131 Project History. To view information about when
a point was forced, the value it was forced to, and the user who forced the value, from the Project
menu, select View Project History.
This procedure describes how to force points in a program running on the controller.
Procedure
1
Double-click the point to be forced, opening the Item Properties dialog box for the point.
In the Set Value field, enter the value you want to force the point to use, and click
Confirm.
Only one point can be forced at a time.
If prompted, enter a comment (using 100 char caters or less) that describes why this
point was forced, and then click OK. The comment will be placed in the project history.
Note
478
Chapter 7
Implementation
WARNING
For Tricon controllers, the IOMAIN and IOBAD parameters of the TR_MP_STATUS
function block turn off.
For more information, see the Tricon, Trident, or Tri-GP Safety Considerations Guide.
Maintenance
479
Procedure
1
If the target system version configured for the project does not match the system
version of the Tricon, Trident (v2.x only; does not apply to v1.x systems), or
Tri-GP controller you are trying to connect to, you will be unable to connect to
the controller. See Configuring the Tricon Target System Version on page 252 or
Configuring the Trident or Tri-GP Target System Version on page 318.
If the download is successful, a backup file of the project is automatically created with
the major version, minor version, time stamp, and the extension DWLD. For example,
EXCOUNTR_333_1_4120e077.DWLD. If needed, this file can be restored by using the
Restore Project To Last Download Command on page 594.
The changes are made while the application is running.
If the download failed, review the error messages on both the Controller and
Application tabs to determine the source of the failure.
480
Chapter 7
Implementation
WARNING
Procedure
1
If the target system version configured for the project does not match the system
version of the Tricon, Trident (v2.x only; does not apply to v1.x systems), or
Tri-GP controller you are trying to connect to, you will be unable to connect to
the controller. See Configuring the Tricon Target System Version on page 252 or
Configuring the Trident or Tri-GP Target System Version on page 318.
If needed, change the state to Download All. On the Commands menu, click Change
State to Download All.
For Trident or Tri-GP controllers, ensure the mode is Enable Programming and Control
Operations, by doing this:
On the Commands menu, click Set Programming Mode, and then click Enable
Programming and Control Operations. (This is the default setting.)
If the download is successful, a backup file of the project is automatically created with
the major version, minor version, time stamp, and the extension DWLD. For example,
EXCOUNTR_333_1_4120e077.DWLD. If needed, this file can be restored by using the
Restore Project To Last Download Command on page 594.
If the download failed, review the error messages on both the Controller and
Application tabs to determine the source of the failure.
10
Click Run
11
A
Commands and Properties
Applies To
Application
Location
Help menu > Options > Add or Remove Custom Help Files
Applies To
Application
Location
Application tree > Implementation > Edit menu
Alias Number
The Alias Number property identifies the range of five-digit alias numbers that can be assigned
to the point. For Trident or Tri-GP controllers, the alias number can be set within a default range
or within a larger allowable range.
This table identifies Tricon, Trident, and Tri-GP controller alias ranges.
482
Appendix A
Table 40
Bin
Data
Type
Variable
Type
Message
Type
Tricon
Range
Trident/
Tri-GP
Default
Range
Trident/
Tri-GP
Allowable
Range
Bin
Size
BOOL
Output
Read/Write
00001 - 02000
00001 - 04999
00001 - 09999
2048
BOOL
Memory
Read/Write
02001 - 04000
05000 - 09999
00001 - 09999
2016
BOOL
Input
Read
10001 - 12000
10001 - 14999
10001 - 19999
4096
BOOL
Memory
Read
12001 - 14000
15000 - 19999
10001 - 19999
2016
DINT
Input
Read
30001 - 31000
30001 - 32499
30001 - 39999
1024a
DINT
Memory
Read
31001 - 32000
32500 - 34999
30001 - 39999
1000
REAL
Input
Read
32001 - 32120
35000 - 37499
30001 - 39999
120
REAL
Memory
Read
33001 - 34000
37500 - 39999
30001 - 39999
1000
10
DINT
Output
Read/Write
40001 - 40250
40000 - 42499
40001 - 49999
512
11
DINT
Memory
Read/Write
40251 - 41000
42500 - 44999
40001 - 49999
750
12
REAL
Memory
Read/Write
41001 - 42000
45000 - 49999
40001 - 49999
1000
a. For Tricon controllers only: While this bin size is 1024 points, only 1000 points are available to be aliased. The
remaining 24 points will be unaliased, because the alias range reserved for DINT input points is 30001 through
31000.
For more information about how alias numbers are assigned, see Assigning an Alias Number,
Alias Type, and Physical Address on page 174.
Applies To
Communication
Location
Application tree > Tagnames > Item Properties > Point Assignment tab
Alias Type
The Alias Type property identifies whether the memory point has an alias number and whether
the point is read or read/write. Settings include:
Read aliased: Means the point can be read by an external device. If specified, you can
accept the default alias, or enter a number for the alias.
Read/write aliased: Means the point can be read or written by an external device. If
specified, you can accept the default alias, or enter a number for the alias.
Applies To
Communication
483
Location
Application tree > Tagnames > Item Properties > Point Assignment tab
Alignment
The Alignment property specifies how the text for an annotation or comment is aligned in the
comment box; either left, center, or right. The default is left.
Applies To
Comments
Locations
Applies To
Memory and Output Points
Locations
484
Appendix A
All partial changes must be compatible with the other elements in the library.
Applies To
Libraries
Locations
Annotate
The Annotate property specifies whether to add an annotation, which is similar to a comment,
to a variable. If selected, an annotation box is attached to the bottom of an input, output,
input/output, or local variable. You can change the size of the annotation box.
An annotation can include any of the following:
User-modified macros
The default is cleared, which means an annotation is not included. If Annotate is cleared, no
properties are available to view when the application is run on the controller or Emulator.
Applies To
Variables
Location
Item Properties > Constant tab
Annotation on by Default
The Annotation on by Default property specifies whether to automatically add annotation
boxes to variables used with a program or function block.
Annotations allow you to include information that is displayed at the bottom of an input,
output, input/output, or local variable. If you enable annotation for the project, the annotation
display is automatically added to all the variables in the project.
The default is cleared, which means annotation is not automatically added.
Applies To
Variables
485
Location
Project menu > Project Options > Annotations tab
Applies To
Logic sheets
Location
Sheets menu
Application Type
The Application Type property determines whether an application element (program, function,
function block, or tagname) is used with safety, control, or safety and control applications.
The default is Control.
Table 41
Application Types
Setting
Description
Safety
Control
Safety or Control
Applies To
Programs, Functions, Function Blocks, and Tagnames
Locations
486
Appendix A
Apply Command
The Apply command allows you to save and apply changes you have entered. For example, if
you enter an initial value of 2 for a BOOL tagname and click Apply, a message indicates that the
value and data type are not compatible.
Applies To
Validation of application elements
Location
Item Properties > Constants or Point Assignment tab
Applies To
ST programs and functions
Location
Auto Indent button, or View menu
Applies To
Variables
Locations
487
Applies To
ST Language
Location
View menu > Set Editor Options
Procedure
1
Specify the folder to save the file to. Use the suggested name or specify a new one. The
file extension (.bt2) does not have to be included in the name.
Click Save.
Applies To
Project
Location
File menu
Base Address
For Tricon controllers, the Base Address property specifies the block address for the Tricon HIM
based on the Data Hiway memory map. Must be an integer between 5 and 31; the default is 5.
Applies To
Tricon HIM
Location
Tricon Controller tree > Configuration > HIM Setup
488
Appendix A
Baud Rate
The Baud Rate property specifies the data transmission speed. Settings include:
For Tricon TCM: 115200, 57600, 38400, 19200, 9600, 4800, 2400, or 1200.
For Trident 1.x CM: 115200, 57600, 38400, 19200, 9600, 2400, or 1200.
For Trident 2.x or Tri-GP CM: 115200, 57600, 38400, 19200, 9600, 4800, 2400, or 1200.
Applies To
Tricon EICM, Tricon TCM, Trident MP, Trident CM, Tri-GP CM
Locations
Tricon Controller tree > Configuration > Hardware Allocation > EICM Setup
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Serial
Ports tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Serial Ports tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Serial Ports
tab
Controller tree > Configuration > TriStation Communication
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > MP or CM
Setup > Serial Ports tab
Block Collection
See SOE Block Collection Mode on page 612 and SOE Block Collection Type on page 613.
Block Type
See SOE Block Type on page 614.
Border
The Border property specifies whether to include a border around an annotation or comment
box. The border property can be specified for the project, or for individual annotations and
comments.
Options include None, Single, and Double. The default is Single.
Applies To
Annotations, Comments
489
Locations
Applies To
Application
Location
Build Application button, or Project menu
Category
The Category property specifies a name for a category that can be associated with documents
(programs, functions, function blocks, and data types). By adding a category name, you can sort
elements by type.
Applies To
Documents
Location
Right-click a document > Document Properties > Summary tab
490
Appendix A
Applies To
Functions and function blocks used in CEM programs
Location
Application tree > right-click a function or function block > click Attributes tab
Applies To
CEM programs
Location
Tools menu > TriStation 1131 Options > CEM Editor tab
Applies To
CEM programs
Location
Project menu > Project Options > Monitor Colors tab
491
Applies To
CEM programs
Location
Tools menu > TriStation 1131 Options > CEM Editor tab
Applies To
CEM programs
Location
Open a CEM program > click the Document menu > click Options
Applies To
Project elements
492
Appendix A
Location
Tools menu > TriStation 1131 Options > Drawing Colors tab
Applies To
Programs and functions
Location
Right-click an element > Item Properties > Change Owner
WARNING
The Download All command should not be used if the application on the
controller is running on a live system. If needed, the system should be
taken offline while the download is done.
Applies To
Downloaded application
Location
Project menu
493
Applies To
Tagnames in FBD editor
Location
FBD editor > right-click a tagname in the Tagname Declarations tree
Applies To
Project
Location
Project menu
Client IP Address
The Client IP Address property specifies the IP address of the client that you want to allow,
restrict, or deny access to the TCM, or Trident 2.x or Tri-GP CM. Also see IP Address on
page 550.
Can be used in conjunction with the Client IP Subnet Mask property to create groups of IP
addresses with the same access levels.
Does not apply to model 4351/4352 Tricon Communication Modules (TCMs), or Trident 1.x
CMs.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Access
List tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Access List tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Access List tab
TriStation 1131 Developers Guide v4.9.0
494
Appendix A
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Access
List tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Access List tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Access List tab
Client Protocols
The Protocols property in the TCM, Trident 2.x CM, or Tri-GP CM access control list specifies
the protocol(s) that the selected client can use to access the TCM, Trident 2.x CM, or Tri-GP CM.
Does not apply to model 4351/4352 Tricon Communication Modules (TCMs).
Table 42
Protocol
Description
TSAA
Stands for Triconex System Access Application, which is a protocol that enables
client/server communication between Triconex controllers and PCs. OPC Server
and DDE Server use TSAA protocol to exchange data with Triconex controllers.
TSAA protocol can be used to write programs for accessing controller tagnames.
OPC
OLE for Process Control. The OPC protocol is supported on NET 2 only, and
applies only to model 4353 or 4354 TCMs.
TriStation
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Access
List tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Access List tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Access List tab
495
Applies To
Project
Location
File menu
Applies To
LD program or function
Location
Coil Type
The Coil Type property represents the output state of a coil used in an LD program or function.
Table 43
Coil Type
Symbol
Description
Normal (Momentary)
Negated (Momentary)
(/ )
The inverse of the state of the left link is copied to the associated
Boolean variable and to the right link.
Positive Transition
(P)
Negative Transition
(N)
Set (Latch)
(S)
Reset (Unlatch)
(R)
496
Appendix A
Applies To
LD program or function
Location
Item Properties > Selected tab
Comment Tool
The Comment Tool allows you to draw a text box for a non-executable comment, and then type
text inside the box.
Applies To
Logic sheets in user documents, test sheets in the Controller and Emulator Panels
Locations
Communication Command
The Communication command displays the Communication screen on the Controller tree.
Applies To
Communication
Locations
Communication button
Controller tree > View menu > Go to > Communication
497
Applies To
Emulator
Location
Project menu > Project Options > Emulator Options tab
Applies To
Emulator
Location
Project menu > Project Options > Emulator Options tab
498
Appendix A
Applies To
Application and configuration elements
Location
Project menu
Compile Command
The Compile command compiles the selected document and displays any errors.
Applies To
Programs, functions, and function blocks
Locations
Compile button
Document menu
Applies To
Application
Location
Project menu
Applies To
Ladder Diagram programs
Location
Tools menu > TriStation 1131 Options > LD Editor tab
499
Connect Command
The Connect command attempts to connect the TriStation PC to the controller or Emulator,
depending on whether the command is issued from the Controller or Emulator Panel.
When issued from the Controller Panel, you can change some default connection settings.
Table 44
Communication Module
Tricon TCM
Trident 1.x MP or CM
Trident 2.x MP or CM
Tri-GP MP or CM
Applies To
Communication modules, controller
Locations
Connect button
Controller or Emulator Panel > Command menu
Contact Command
The Contact command allows you to add a contact to a Ladder Diagram. After adding a contact,
you can specify the Contact Type.
Applies To
Ladder Diagrams
Locations
500
Appendix A
Contact Type
The Contact Type property specifies the type of a contact used in a Ladder Diagram.
Table 45
Contact Type
Symbol
Description
Normally Open
The state of the left link is copied to the right link if the state of
the Boolean variable is On.
Normally Closed
| / |
The state of the left link is copied to the right link if the state of
the Boolean variable is Off.
Positive
Transition
| P |
The state of the right link is On from one evaluation to the next
when the associated variable changes from Off to On while the
state of the left link is On.
Negative
Transition
| N |
The state of the right link is On from one evaluation to the next
when the associated variable changes from On to Off while the
state of the left link is On.
Applies To
Contacts in Ladder Diagram programs
Location
Item Properties > Variable tab > Contact Type area
Applies To
Controller or Emulator Panel
Locations
501
Copy Command
The Copy command copies the selected items from the current tree or sheet and places them on
the clipboard.
Applies To
Test sheets and elements in Controller or Emulator Panel
User documents and elements on logic sheets
Locations
Copy button
Edit menu
Applies To
Trident or Tri-GP MP serial ports
Location
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > MP Setup > Serial
Ports tab
Applies To
Tricon TCM, Trident 2.x CM, and Tri-GP CM access control lists
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Access
List tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Access List tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Access List tab
502
Appendix A
Current Version
The Current Version property identifies the current version of the project under development.
This is how the version is determined:
If it is changed and saved after being downloaded to the controller, the minor number
is increased by 1. For example, 1.1.
If the state is changed to Download All, the major number is increased by 1 and the
minor number is changed to 0. For example, version 1.1 is changed to 2.0.
Applies To
Projects
Location
Project menu > Project Description
Cut Command
The Cut command deletes the selected items from the current tree or sheet and places them on
the clipboard, erasing the previous clipboard contents.
Applies To
Test sheets and elements in Controller and Emulator Panels
User documents and elements on logic sheets
Location
Cut button, or Edit menu
Data Bits
The Data Bits property specifies whether the data format includes 7 or 8 data bits. To set this
property, you must use Modbus slave or Modbus slave ASCII protocol. The default is 8 bits.
Applies To
Tricon EICM, Tricon TCM, Trident CM, Tri-GP CM
Locations
Tricon Controller tree > Configuration > Hardware Allocation > EICM Setup
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Serial
Ports tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Serial Ports tab
503
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Serial Ports
tab
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Serial Ports tab
Data Files
The Data Files property specifies the path name for documents including user libraries,
configuration files, and custom report templates. The default path name and file extension is:
1131 4.9.0\Data.
Applies To
Project
Location
Tools menu > TriStation 1131 Options > Directories tab
Data Type
The Data Type property specifies the kind of data that can be stored in the variable. For more
information about TriStation 1131 data types, see Appendix B, Data Types. This table identifies
the data types available for variables.
Table 46
Variables
Data Types
Tagnames
Constants and
local variables
Applies To
Constants, local variables, and tagnames
Location
Item Properties > Constant or Declaration tab
504
Appendix A
Declarations Command
The Declarations command displays a dialog box that allows you to declare an input, output,
in/out, local, or tagname declaration. Variables must be declared to be used in programs and
functions.
Applies To
Variables
Location
Double-click a variable or right-click the Tagname Declarations folder
Drawing Item
Default Color
Element background
Medium gray
Black
Dark blue
White
Sheet background
White
Medium gray
Medium gray
Applies To
Logic sheets in user documents
Test sheets in Controller and Emulator Panels
Location
Tools menu > TriStation 1131 Options > Drawing Colors tab
505
Default Connection
The Default Connection property specifies the initial setting used when the Connect dialog box
is displayed.
This setting can be changed in the Connect dialog box before connecting to the controller. This
property is only available when both types of connections are selected in the Select Connections
area.
Default settings are:
For Tricon, Trident 2.x, and Tri-GP controllers, the default is Network Connection.
Applies To
Application, controller, modules
Location
Configuration tree > TriStation Communication
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > ACM Setup
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup >
Network and Routing tabs
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Network and Routing tabs
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Network
and Routing tabs
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Network and Routing tabs
506
Appendix A
Default Language
The Default Language property specifies the programming language to use initially when
creating a user document. The default is Function Block Diagram.
Options include:
Ladder Diagram
Structured Text
Applies To
User documents
Location
Project menu > Project Options > Language tab
Program Defaults
Function Defaults
Tag Refs
%PGM_TAGNAME
Local variables
%PGM_LOCAL
%FB_LOCAL
I/O variables
%PG_IO
%FB_IO
Macro Name
Default Value
Used With
Sample Expanded
Macro
%PGM_TAGNAME
%TAG_MEMORYADDRESS%
TAG_ALIAS
Program Externals
P1.WATER_LOW
03.04.13 10018
%PGM_LOCAL
%WHERE_USED
Program Locals
PROCESS_COUNT
1(C7) 3(D5) 4(A2)
%FB_INPUT
<no default>
Function Inputs
<no default>
%FB_OUTPUT
<no default>
Function Outputs
<no default>
507
Table 48
Macro Name
Default Value
Used With
Sample Expanded
Macro
%FB_IO
<no default>
Function
Inputs/Output
<no default>
%FB_LOCAL
<no default>
Function Locals
<no default>
Macro Name
Description
%PGM_TAGNAME
%TAG_MEMORY
ADDRESS
The location of the point to which the program variable is connected. This
only applies to physical input and output points and is displayed in this
format:
For Tricon controllers: CC.SS.PP; where CC is the chassis, SS is the slot,
and PP is the point. For memory points, an empty string is returned.
For Trident or Tri-GP controllers: ii.ss.pp; where ii is the I/O processor
number, ss is the module baseplate address plug number, and pp is the
point number.
%TAG_ALIAS
The Modbus alias of the point to which the program variable is connected. If
the point has no alias, an empty string is returned.
Applies To
Annotations and Comments
Location
Item Properties > Annotation or Comment tab > Macros button
Applies To
CEM programs
Location
Tools menu > TriStation 1131 Options > CEM Editor tab
508
Appendix A
Applies To
CEM programs
Location
Tools menu > TriStation 1131 Options > CEM Editor tab
Delete Command
The Delete command deletes the selected item.
Applies To
Project elements
Location
Edit menu
Applies To
CEM programs
Locations
Applies To
CEM programs
Locations
509
Applies To
Logic sheets
Location
Sheets menu
Applies To
Tagnames
Location
Application tree > Tagname Declarations
Description
The Description property specifies descriptive text about the selected item. The maximum
number of characters is 131, which can include A to Z, and 0 to 9. The underscore character
( _ ) can also be used, but not as the first character in the description. To include this text in an
annotation or comment, use the %DESCRIPTION macro.
Applies To
Project elements
Locations
Destination IP Address
The Destination IP Address property specifies an IP address which is used if the controller is not
on the same subnet as other devices.
Applies To
Communication
510
Appendix A
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup >
Routing tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Routing tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Routing tab
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Routing tab
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup >
Network and Routing tabs
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Network and Routing tabs
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Network
and Routing tabs
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Routing tab
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup >
Routing tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Routing tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Routing tab
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Routing tab
511
Applies To
Peer-to-Peer communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Peerto-Peer tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Peer-to-Peer tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Peer-to-Peer
tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Peer-to-Peer tab
Applies To
Analog input points
Location
Controller tree > Configuration > Hardware Allocation > Differential AI Setup
Directories
See:
512
Appendix A
WARNING
Applies To
Application
Location
Controller tree > Controller Panel > Commands menu
WARNING
Applies To
Application, modules
Location
Controller tree > Controller Panel > Commands menu
513
Applies To
Application
Locations
Disable Scaling
For Trident or Tri-GP controllers, the Disable Scaling property specifies whether REAL numbers
are scaled to integers when they are transmitted from the controller. For Tricon controllers, this
option is not available because REAL values are always scaled. The default is cleared, which
means real numbers are not scaled.
When selected, two consecutive 16-bit aliases are assigned to each REAL tagname so that IEEE
754 single-precision, floating-point representation is used. This option is available because
Modbus has a 16-bit size limitation. Only the first alias of the two is displayed in the Modbus
Alias field of the Declaration tab.
When cleared, only one alias is used.
Applies To
Modbus communication
Location
Application tree > Tagname Declarations> Item Properties > Scaling tab
Applies To
Application
TriStation 1131 Developers Guide v4.9.0
514
Appendix A
Location
Controller tree > Configuration > Operating Parameters
Disconnect Command
The Disconnect command disconnects an application from the controller or Emulator.
Applies To
Communication
Locations
Disconnect button
Controller tree > Controller or Emulator Panel > Commands menu
Applies To
Programs
Locations
Applies To
Reports
Location
Project tree > Report viewer toolbar
515
Applies To
Tagnames
Location
Application tree > right-click Tagname Declarations folder
DO Point Options
The DO Point Options property specifies the type of fault detection used for the point. Each
point can be specified with one of these options. Available only with the Tricon model 3625
Digital Output Module.
Table 50
DO Point Options
Option
Description
Not Used
Non-Supervised
Supervised
516
Appendix A
Applies To
Tricon DO Points
Location
Controller tree > Configuration > Hardware Allocation > DO Setup
Document Access
The Document Access property specifies whether the document can be read, read and written
to (changed), or is locked. Settings include:
Read: Any user can read the document, which means it can be viewed.
Lock: Only users with the same or higher security level can read and write the
document.
Applies To
Programs, functions, function blocks, and data types
Location
Right-click a document > Properties > Summary tab
Document Type
The Document Type property specifies whether a document is a program, function, function
block, or data type.
Applies To
Document
Location
Project menu > New Document
Double Space
The Double Space property specifies whether to display double spaces between the terminals
(inputs and outputs) on a function or function block, which provides additional space for
annotations and comments. This setting specifies spacing on an individual function or function
block.
CAUTION
If you select Double Space after input and output variables have been
attached to the function or function block, the variables will have to be
reattached.
The default is cleared, which means the terminals are single spaced.
TriStation 1131 Developers Guide, v4.9.0
517
Applies To
Functions and function blocks
Location
Item Properties > Function tab > Terminals > Double Space
Applies To
Functions and function blocks
Location
Tools menu > TriStation 1131 Options > FBD Editor tab and LD Editor tab
WARNING
Table 51
Component
Description
Chassis
Library elements
Memory allocation
Modules
Node Number
518
Appendix A
Table 51
Component
Description
Number of Send or
Receive function blocks
Operating Parameters
Programs
Tagnames
Variables
Applies To
Application
Locations
WARNING
Table 52
Element
Description
Functions and
function blocks
IP Address
Modules
Library
elements
Allowed if changing (adding, updating, deleting) library elements that have not yet
been downloaded to a controller.
519
Table 52
Element
Description
Operating
Parameters
Programs
Tagnames
Target System
Version
Allowed if you are changing the target system version (upgrade or downgrade)
while converting a project created in a version of TriStation 1131 prior to v4.6.
Variables
Applies To
Application changes
Locations
Downloaded Version
The Downloaded Version property identifies the version of the application (project) that is
downloaded and running on the controller or Emulator.
If you are currently connected to the controller, the version shown here is for the
controller, even if the last download was to the Emulator.
If you are currently connected to the Emulator, the version shown is for the Emulator,
even if the last download was to the controller.
If you are not connected to the Emulator or the controller, the version shown here is for
the last download (which may be either the Emulator or the controller).
520
Appendix A
Use the View Project History Command on page 640 to see the complete list of downloaded
version changes.
When the Change State to Download All command is used, the downloaded version for the
controller and the Emulator are set to the same version number, which will be the next major
revision of the two current downloaded versions. For example, if the Emulators downloaded
version was 3.2, and the controllers downloaded version was 4.1, the downloaded version for
BOTH the controller and Emulator is set to 5.0 (the next larger major revision of the two).
Applies To
Projects
Location
Project menu
Drawing Item
The Drawing Item property specifies the colors to use to with elements on logic sheets.
Applies To
Logic sheets
Location
Tools menu > TriStation 1131 Options > Drawing Colors tab
Drop Command
The Drop command drops all the logic elements enclosed by the comment box so they are not
part of the comment.
To drop, double-click the comment box, click the Pickup/Drop tab, and click Drop.
Applies To
Comments
Location
Item Properties > Pickup/Drop tab
521
Edit...Macros Commands
The Edit Document Macros, Edit Project Macros, and Edit Sheet Macros commands allow you
to specify text for macros that can be used in annotations and comments.
Applies To
Documents
Location
Document, Project, and Sheets menu
Applies To
Logic sheets
Location
Sheets menu
Applies To
CEM programs
Location
Sheets menu
Applies To
CEM programs
Location
Application tree > User Documents > open a CEM program > right-click in the FBD Network
522
Appendix A
Applies To
CEM programs
Location
Tools menu > TriStation 1131 Options > CEM Editor tab
Select the BT2 check box if you want a backup project file (.BT2) generated (not
recommended).
Select the SOE check box if you want an SOE definition file (.SOE) generated. If you
want to be able to test your SOE configuration with the Emulator, you must select this
option.
The selected file(s) are generated in the same directory where the TriStation 1131 project is
located. The default setting is for the files to not be generated.
Applies To
Emulator
Location
Project menu > Project Options > Emulator Options tab
Emulator Timeout
The Emulator Timeout property specifies the timeout value for the connection to the Emulator.
During a Download All or Download Changes operation on the Emulator, the processing time
required for applications with a very large number of variables (symbols) may exceed the
default Emulator timeout value of 4 seconds.
If you receive a download aborted message when downloading an application to the
Emulator, increase the Emulator timeout value and then try downloading again.
In most cases, you should not have to change this value. The default timeout value should be
adequate for the majority of applications.
The valid range is from 0 to 65,535 seconds. The default is 4 seconds.
523
Applies To
Emulator
Location
Project menu > Project Options > Emulator Options tab
EN/ENO
The EN/ENO property specifies whether to include EN (an input parameter) and ENO (an
output parameter) in the function.
Usage
If there is more than one function with EN/ENO visible in a network, then for every
function except the last function, you must connect the ENO output directly to the EN
input of the next function.
You must not connect an ENO output to more than one EN input.
Parameter
Description
EN
An input parameter that enables invocation of the function and carries power from the
left power rail.
If True, the function was called and ENO indicates whether the function detected
an error.
If False, the function was not called and the value of ENO is set to False.
ENO
An output parameter that indicates whether the function detected an error and
connects either to the EN input of the next function or to the ground rail.
If True, the function did not detected any errors.
If False, the function detected an error, and evaluation of the network stopsthe
return value is not written to any variable.
Applies To
Functions
Location
Item Properties > Function tab
524
Appendix A
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Access
List tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Access List tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Access List tab
Applies To
Application, tagnames
Location
Configuration tree > Controller or Emulator Panel > Commands menu
Applies To
CEM programs
Location
Application tree > open a CEM program > Document menu > Options
525
Applies To
Programs
Location
Document Properties > Attributes tab
Applies To
Peer-to-Peer communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Peerto-Peer tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Peer-to-Peer tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Peer-to-Peer
tab
Applies To
Peer-to-Peer communication
Locations
Trident v2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup
> Peer-to-Peer tab
526
Appendix A
Applies To
CEM programs
Location
Application tree > open a CEM program > Document menu > Options
Applies To
Functions
Location
Tools menu > TriStation 1131 Options > FBD Editor tab
Applies To
CEM programs
Location
Application tree > open a CEM program > Document menu > Options
527
Applies To
CEM programs
Location
Application tree > open a CEM program > Document menu > Options
The default is cleared, which means the macro value cannot be changed.
Applies To
Annotations and Comments
Location
Item Properties > Style tab
Applies To
Tagnames
Location
Application tree > double-click a tagname > Point Assignment tab
528
Appendix A
WARNING
Applies To
Application, modules
Location
Tricon Controller tree > Controller Panel > Commands menu
Applies To
Application, modules
Location
Tricon Controller tree > Controller Panel >
Commands menu
529
Applies To
Communication
Location
Controller tree > Configuration > Operating Parameters
Applies To
Peer-to-Peer communication, time synchronization
Location
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > MP Setup >
Operating Parameters tab
Applies To
Tricon SMM
Location
Tricon Controller tree > Configuration > Hardware Allocation > SMM Setup
530
Appendix A
Enabled Features
The Enabled Features property specifies whether to allow programs, functions, function blocks,
data types, and multiple program to be created in the project. Options include:
Programs
Functions
Function Blocks
Data Types
Multiple Programs
The default is all options are selected, which means all options are enabled.
Applies To
Programs, functions, function blocks, data types, multiple programs
Location
Project menu > Project Options > Language tab
Enhanced Security
The Enhanced Security property sets the project-level security setting to Enhanced. When
selected, Windows and TriStation 1131 user authentications are required to log in.
See also Standard Security on page 618.
Applies To
User security
Location
Project menu > Security > Security dialog box > Security Setting tab
Applies To
ST programs and functions
Location
531
Evaluation Options
The Evaluation Options property specifies how a matrix is evaluated when it includes multiple
intersections between a cause and effect. The evaluation can be based on AND or OR logical
processing. The default is OR.
OR Evaluation
If the matrix is based on an energize-to-trip system, such as a fire suppression system, an OR
evaluation is typically used because the normal state of inputs is False. If one of the inputs
changes to True, the related outputs also change to True.
AND Evaluation
If the matrix is based on a de-energize-to-trip (fail-safe) system, an AND evaluation is typically
used because the normal state of inputs is True. If one of the inputs changes to False, the related
outputs also change to False. This is why it is typically used with systems that are designed to
be fail-safe.
Applies To
CEM programs
Location
Application tree > open a CEM program > Document menu > Options
Exactly Once
The Exactly Once setting indicates that each function block instance should be executed exactly
once per scan because the function block contains internal data that must be updated exactly
once per scan.
For user-defined function blocks, you can specify this setting. For Triconex Library function
blocks, the setting cannot be changed.
Applies To
Library and user-defined function blocks
Location
Document Properties > Usage tab
532
Appendix A
Exit Command
The Exit command closes the current project and quits the TriStation 1131 application.
Applies To
Project
Location
Edit menu
Expand Macros
The Expand Macros property specifies whether the values or the name of the macro displays. If
selected, the value displays. For example, the macro %DATE_CREATED displays the month,
day, and year when the project was created. The default is cleared, which means the name, not
the value, of the macro is displayed.
Applies To
Annotations and Comments
Location
Item Properties > Style tab
Export Command
The Export command specifies a database or text file to export points to. If the file is to be
imported back to TriStation 1131, the filename must be eight characters or less.
Applies To
Tagnames
Location
Right-click the Tagname Declarations folder
Applies To
TCM configuration
533
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B Setup
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup
Export Destination
The Export Destination property specifies the destination to use when exporting a report file.
Settings include Disk file and Microsoft Mail. The default is Disk file.
Applies To
Reports
Location
Export Report button on Project tree > Reports toolbar
Export Format
The Export Format property specifies the format to use when exporting a report file. Formats
include:
Acrobat Format (PDF)
Character-separated values
Paginated Text
Tab-separated text
Tab-separated values
Text
XML
Applies To
Reports
Location
Export Report button on Project tree > Reports toolbar
534
Appendix A
Applies To
Reports
Location
Export Report button on Project tree > Reports toolbar
False Color
See Monitor Display Options on page 564.
Fatal Severity
See System Events Severity on page 621.
Applies To
Functions and function blocks
Location
Tools menu > TriStation 1131 Options > FBD Editor tab
535
Field Power
For Trident or Tri-GP controllers, the Field Power property specifies whether field power is
connected to the Pulse Input Baseplate for use by the field sensors. The default is cleared, which
means that field power is absent.
Setting
Description
Applies To
Trident or Tri-GP Pulse Input or Enhanced Pulse Input Setup
Location
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > PI or EPI Setup
Applies To
AI Modules
Location
Tricon Controller tree > Configuration > Hardware Allocation > Single-Ended and Differential
AI Setup
536
Appendix A
Applies To
Application elements
Location
Edit menu
Applies To
Application elements
Location
Edit menu
Applies To
Application elements
Locations
537
Formatted Name
The Formatted Name property specifies a pattern to use when naming variables or tagnames.
The pattern includes:
Text: The text used as the base for the name. Should be 25 characters or less, to ensure
you do not exceed the 31-character limit on tagname and variable names.
Applies To
Comments and variables in user documents
Locations
Font Size
The Font Size property specifies the size of the font displayed for Structured Text code.
Applies To
ST Language
Location
View menu > Set Editor Options
FP Ordering
The FP Ordering property specifies which 16-bit section of a 32-bit floating point number is read
first.
High 16 Bits First: the 16 most significant bits of the floating point number (the first 16)
are read first.
Low 16 Bits First: the 16 least significant bits of the floating point number (the last 16)
are read first.
538
Appendix A
Note
On Trident 2.x or Tri-GP controllers only, if you select Modbus Master as the
communication protocol, this property is automatically set to High 16 Bits First and
cannot be changed.
Applies To
Modbus communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Serial
Ports and Modbus TCP tabs
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Serial Ports and Modbus TCP tabs
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Serial Ports
and Modbus TCP tabs
Trident v2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup
> Serial Ports and Modbus TCP tabs
Function Variables
See Default Macros or Text on page 506.
Full Name
The Full Name property specifies the name of the user.
Applies To
User Security
Location
Project menu > Security > Users tab > Modify button
Applies To
Programs
Locations
539
Applies To
Tagnames
Location
Project menu > Project Options > Monitor Colors tab
Applies To
Tricon communication, Time Synchronization
Location
Tricon Controller tree > Configuration Panel > NCM Setup
Go To Cell Command
The Go To Cell command allows you to go to a specific row and column in the matrix.
Applies To
CEM programs
Location
Application tree > User Documents > Programs > open a CEM program > Edit menu
Applies To
Tagnames
Location
Tagname Declarations > Declaration tab
540
Appendix A
Halt Command
The Halt command stops the execution of an application in the controller or Emulator. In Halt
mode, tagnames retain the values they had in the scan during which the application was halted.
For Tricon controllers, the Halt command is used. For Trident or Tri-GP controllers, the Halt
command or the SYS_APP_HALT function can be used.
Applies To
Application
Locations
Halt button
Configuration tree > Controller or Emulator Panel > Commands menu
Handshake
The Handshake property specifies whether to use signals to establish a valid connection. With
hardware handshake, a separate wire sends a signal when the receiving device is ready to
receive the signal, which ensures that a device transmits data only when the other device is
ready to receive it.
On the Tricon EICM, the switch settings determine whether handshaking is allowed.
On the Tricon TCM, Trident 2.x CM, or Tri-GP CM, the setting is configured on the
Serial Ports tab.
On the Trident 1.x CM, the setting of the Transceiver Mode property determines
whether hardware handshake is valid.
The default is None, which means hardware handshake is not used. Settings include:
Setting
Description
Hardware
Select for:
Any 2-wire configuration (required)
A multi-point configuration that uses the RS-485 transceiver mode (required)
A point-to-point configuration that uses an external modem with RS-232
transceiver mode (optional)
None
541
transmits characters even if the receiving device is not ready. This could result in an overrun
state, and the characters would have to be re-transmitted.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > EICM Setup
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Serial
Ports tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Serial Ports tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Serial Ports
tab
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > MP Setup >
Serial Ports tab
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Serial Ports tab
Applies To
Configuration
Locations
542
Appendix A
Applies To
CEM programs
Location
View menu
Applies To
CEM programs
Location
View menu
Modbus/TCP and OPC ports on TCMs installed in Tricon v10.3 and later systems.
Note
If this setting is misconfigured, Modbus TCP and/or OPC will be unable to connect. If
this occurs, reset the value to the default setting to fix the problem and re-enable Modbus
TCP and/or OPC. If you need to use this feature, please contact Invensys Technical
Support for assistance with configuring this setting.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup >
Network tab
543
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Network tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Network tab
Applies To
FBD logic sheets
Locations
IDLE State
IDLE is an application state which indicates that the TriStation PC is connected to a controller
or the Emulator, but the application has not been downloaded.
Applies To
Application
Location
Controller tree > Controller or Emulator Panel > Title bar
Import Command
The Import command provides a wizard that allows you to specify the fields to import, and how
to link them to tagname properties.
Applies To
Tagnames
Location
Right-click the Tagname Declarations folder
544
Appendix A
Applies To
TCM, Trident 2.x CM, or Tri-GP CM configuration
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B Setup
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup
Applies To
Variables
Location
Item Properties > Annotation tab
Info Severity
See System Events Severity on page 621.
Initial Value
The Initial Value property specifies the beginning value assigned to a variable on the first scan
of the application. The value can be changed with a Download Changes command, however,
the value is not used until a first scan which is not issued with the Download Changes command.
A first scan occurs under any of these conditions:
To identify whether a first scan has occurred, use the TR_SCAN_STATUS (Tricon) or
SYS_SYSTEM_STATUS (Trident/Tri-GP) function blocks.
545
In programs, only local variables are assigned an initial value. In functions and function blocks,
all variables are assigned an initial value. The value is either the value declared for the property
or zero. If you have selected a user-defined Data Type for a local variable, you cannot assign an
initial value to the variable.
Applies To
Tagnames, Variables
Location
Application tree > Tagname Declarations > Declaration tab
Applies To
CEM programs
Locations
Applies To
ST programs and functions
Location
Edit menu
Applies To
CEM, FBD, and LD functions
Locations
546
Appendix A
Applies To
FBD and ST functions and function blocks
Locations
Applies To
CEM, FBD, and LD programs
Locations
Applies To
FBD and LD functions
Locations
547
Applies To
Hardware configuration
Locations
Applies To
CEM programs
Locations
Applies To
Logic sheets
Location
Sheets menu
548
Appendix A
Applies To
FBD and LD programs
Locations
Internal State
The Internal State setting means each function block instance may have an internal state which
is remembered from one execution to the next and from one scan to the next. There are no
restrictions on usage of a function block labeled internal state; that is, you can execute the
function block instance more than once per scan, or you can skip scans.
For user-defined function blocks, you can specify this setting. For Triconex Library function
blocks, the setting cannot be changed.
Applies To
Library and user-defined function blocks
Location
Document Properties > Usage tab
Applies To
CEM programs
Location
Tools menu > TriStation 1131 Options > CEM Editor tab
Invert Input
The Invert Input property specifies whether to invert the value of a BOOL input
that is connected to a function or function block. If selected, the value for the
input is changed to the opposite value when the function or function block is
executed. For example, if the value is True it is changed to False. The default is
cleared, which means the input value is not inverted.
549
When an input is inverted, a small circle (referred to as a fiducial) is displayed on the input
terminal of the function.
Applies To
BOOL input points
Location
Function and function blocks
Invert Input/Output
The Invert Input/Output property specifies whether to invert the value of a
BOOL input/output that is connected to a function block. If selected, the value
for the input/output is changed to the opposite value when the function block
is executed. For example, if the value is True it is changed to False. The default
is cleared, which means the input value is not inverted.
When an input/output is inverted, a small circle (referred to as a fiducial) is
displayed on the input terminal of the function.
Applies To
BOOL input points
Location
Function blocks
Invert Output
The Invert Output property specifies whether to invert the value of a BOOL
output that is connected to a function or function block. If selected, the value for
the output is changed to the opposite value when the function is executed. For
example, if the value is True it is changed to False. The default is cleared, which
means the output value is not inverted.
When an output is inverted, a small circle (referred to as a fiducial) is displayed
on the output terminal of the function.
Applies To
BOOL output points
Location
Functions and function blocks
550
Appendix A
IP Address
The IP Address property specifies a unique 32-bit address of a computer attached to a network.
A network uses IP addresses to route messages to their destinations.
An IP address is formatted as four numbers separated by periods, where each number can be
zero to 255. An example is 1.160.10.240.
Every client and server in a network requires an IP address, which is either permanently or
dynamically assigned at startup. The defaults are as follows:
Trident 2.x or Tri-GP: 192.168.255.<node number> for Left MP network port only; 0.0.0.0
for all other MP and CM network ports
Note
The highest and lowest IP addresses in a subnet (addresses where the last number is 0
or 255, such as 192.168.1.255) are reserved for broadcast messaging and cannot be used
as a valid IP address for a Triconex communication module.
Applies To
Communication
Locations
IP Subnet Mask
The IP Subnet Mask property specifies a binary pattern that is matched with the IP address to
turn part of the host ID address field into a field for subnets.
For Tricon NCM, do not change the default setting which is eight zeroes.
551
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > ACM and NCM Setup
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup >
Network and Routing tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Network and Routing tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Network
and Routing tab
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Network and Routing tab
Applies To
Chassis, modules, tagnames, variables
Locations
Language
The Language property specifies the language to be used for the program, function, function
block, or data type. Settings include:
Ladder Diagram
Structured Text
Applies To
Programs, functions, function blocks, and data types
Location
Project menu > New Document
552
Appendix A
LD Editor Options
The LD Editor Options include:
Applies To
Ladder Diagrams
Location
Tools menu > TriStation 1131 Options > LD Editor tab
Applies To
Project
Location
Tools menu > TriStation 1131 Options > FBD Editor tab
Line Width
The Line Width property specifies the number of characters per line. The default is 80.
Applies To
Project
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup >
Printer tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Printer tab
553
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Printer tab
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Printer tab
Link Command
The Link command draws a horizontal or vertical link between power rails and logic elements.
The direction of the link determines how it is evaluated in the logic.
Link Direction
Description
Horizontal
Transmits the state of the element on its immediate left to the element on its
immediate right. The state represents the Inclusive OR of the On states of the
horizontal links on its left side.
Vertical
Intersects one or more horizontal link elements on each side. The state is copied to
all attached horizontal links on its right, but is not copied to attached horizontal
links on its left.
Is Off if the states of all attached horizontal links to its left are Off.
Is On if the state of one or more attached horizontal links to its left is On.
Applies To
LD programs
Locations
Applies To
Tagnames
Location
Controller tree > Controller Panel > Commands menu
554
Appendix A
Loc
The Loc property displays the coordinates for the location of an element in terms of cause row
and effect column in a CEM program. For example, C01 identifies cause 1 and C02E02 identifies
the intersection of cause 2 and effect 2.
Applies To
CEM programs
Location
Application tree > open a CEM program > Variable Detail Table
Location
The Location property specifies the location of the tagname based on the position in the Tricon
chassis, Trident system, or Tri-GP system. The address is a three-part number in this format:
CC.SS.PP
Identifier
Description
CC
SS
PP
For example, 01.02.23 is the address for point 23, on the module in slot 2, in chassis 1.
Applies To
Tagnames
Locations
Tricon Controller tree > Configuration > Hardware Allocation > DO and PI Setup
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > PI or EPI Setup
Applies To
Project
Location
File menu
555
Logon Name
The Logon Name property specifies the identifier used to log on to the TriStation 1131 project.
Applies To
User access
Location
Project menu > Security > Users tab > New or Modify button
Modbus/TCP and OPC ports on TCMs installed in Tricon v10.3 and later systems.
Note
If this setting is misconfigured, Modbus TCP and/or OPC will be unable to connect. If
this occurs, reset the value to the default setting to fix the problem and re-enable Modbus
TCP and/or OPC. If you need to use this feature, please contact Invensys Technical
Support for assistance with configuring this setting.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Network tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup >
Network tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Network tab
Macros Command
The Macros command displays macros that can be included in an annotation or comment. You
can specify whether to display macros available by Project, Document, or Sheet.
To copy, click the macro and press Ctrl+C. To paste, close the Edit Macro dialog box, click in the
Comment area, and press Ctrl+V.
Applies To
Comments and variables
556
Appendix A
Locations
Applies To
TriStation communication
Location
Trident 1.x Controller tree > Configuration > TriStation Communication
Major Severity
See System Events Severity on page 621.
Action
Append
Insert
Delete
Title
Allows you to edit the title of the current sheet. The sheet title is displayed
in the title block, the window caption bar and the Window Menu list.
Go To
Applies To
Logic sheets
Location
Sheets menu
557
Action
Load
Save
Remove
Click a view and click Remove to delete the view from the list.
Click to restore the current view to show all causes and effects.
Close
Cancel
Applies To
CEM programs
Location
View menu
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC or TCM/B
Setup > Protocols tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A Setup > Network
tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Protocols tab
558
Appendix A
Applies To
Modbus Communication
Location
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup >
Modbus TCP and Serial Ports tabs
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Modbus TCP and Serial Ports tabs
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Modbus
TCP and Serial Ports tabs
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Modbus TCP and Serial Ports tab
Max Field
For Trident or Tri-GP controllers, the Max Field property specifies the maximum range for
power, based on volts on the Pulse Input or Enhanced Pulse Input Module. The default is 33
volts.
Applies To
Trident or Tri-GP Pulse Input or Enhanced Pulse Input Module
Location
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > PI or EPI Setup
559
Applies To
Peer-to-Peer communication
Location
Application tree > Implementation > Peer-to-Peer Configuration
Applies To
Peer-to-Peer communication
Location
Application tree > Implementation > Peer-to-Peer Configuration
Maximum RPM
The Maximum RPM property specifies the revolutions per minute for the device attached to the
Pulse Input Module. The number must be a positive floating point value. The default is 30,000.
Applies To
Tricon Pulse Input Module
Location
Tricon Controller tree > Configuration > Hardware Allocation > Pulse Input Setup
Maximum Speed
The Maximum Speed property specifies the speed for the device attached to the Pulse Input
Module. The number must be a positive floating point value. The default is 30,000.
Applies To
Tricon Pulse Input Module
Location
Tricon Controller tree > Configuration > Hardware Allocation > Pulse Input Setup
560
Appendix A
Applies To
Tagnames with REAL data types
Location
Application tree > Tagname Declarations > Scaling tab
Applies To
Configuration
Locations
Applies To
Troubleshooting problems
Location
Configuration tree > Controller Panel > Tools
menu > Message Options
561
Applies To
View
Locations
Min Field
For Trident or Tri-GP controllers, the Min Field property specifies the minimum range for
power, based on volts for the Pulse Input or Enhanced Pulse Input Module. The default is 0
volts.
Applies To
Trident or Tri-GP Pulse Input or Enhanced Pulse Input Module
Location
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > PI or EPI Setup
562
Appendix A
Applies To
Tagnames with REAL data types
Location
Application tree > Tagname Declarations > Scaling tab
Minor Severity
See System Events Severity on page 621.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > EICM Setup
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Serial
Ports tab
Tricon Controller tree > Configuration > Hardware Allocation >TCM/A or TCM/B
Setup > Serial Ports tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Serial Ports
tab
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > MP and CM
Setup > Serial Ports tab
563
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > EICM Setup
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Serial
Ports tab
Tricon Controller tree > Configuration > Hardware Allocation >TCM/A or TCM/B
Setup > Serial Ports tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Serial Ports
tab
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > MP and CM
Setup > Serial Ports tab
Mode
The Mode property specifies the type of communication, which can support one or more
communication protocols.
Table 53
Communication Modes
Modes
Supported Protocols
Open Network
Peer-to-Peer
TriStation
TriStation
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > NCM Setup
Trident 1.x Controller tree > Configuration > Hardware Allocation > MP and CM Setup >
Network tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > MP Setup >
Network tab
564
Appendix A
Model
The Model property specifies the model of Main Processor installed in the Tricon, Trident, or
Tri-GP controller that the project will be downloaded to.
For Tricon system versions 9.5.x, 9.51.x, or 9.52.x, select 3006/N, 3007.
Note
TriStation 1131 v4.6 does not support Tricon system versions v9.4.x and earlier, or
Trident system versions v1.1 and earlier. For a list of TriStation 1131 versions compatible
with your controller, see the applicable Tricon, Trident, or Tri-GP Product Release Notice
(available on the Invensys Global Customer Support web site).
Applies To
Project
Locations
Applies To
User security
Location
Edit menu
565
Property
Description
True Color
False Color
Applies To
BOOL values
Location
Application tree > Tagname Declarations > Item Properties > Display tab
Applies To
Variables
Location
Project menu > Project Options > Annotations tab
Applies To
Annotations and Comments
Location
Item Properties > Style tab
566
Appendix A
Multicast IP Address
See TSAA Multicast IP Address on page 631.
Name
The Name property specifies an identifier or description for an element.
Feature
Description
Restrictions
The name must begin with an alpha character (A to Z) and can include up to 31
alphanumeric characters (A to Z, and 0 to 9), including the underscore (_) character.
Letters are not case-sensitive.
Version
Numbers
Names of documents include a version number at the end of the name. The number
includes a major number, which is always 1 and a minor number, which changes
when the document is changed, saved, and closed.
Applies To
Variables, Contacts, Coils
Location
Item Properties
Name Order
The Name Order property specifies how automatic naming is applied to the selected variables.
Settings include:
Selection orderNames are applied based on the order in which they were selected.
Applies To
Comments and variables in user documents
Locations
Network
The Network property specifies the TCM, Trident 2.x CM, or Tri-GP CM network portNET 1
or NET 2 that the selected external device is connected to.
567
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B Setup
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup
Applies To
Application
Location
Project menu
Applies To
Project
Location
File menu
Applies To
Tagnames
Locations
Project menu
Application tree > right-click Tagname Declarations
568
Appendix A
Applies To
Tagnames
Locations
Project menu
Application tree > right-click Tagname Declarations
NIC Index
The NIC Index property specifies the index position of the network interface card in the
TriStation PC.
On the Hardware tab, click Device Manager, and then expand the Network Adapters
tree.
Starting with zero, count down the list of adapter cards to the one that is connected to
the TriStation PC. For example, if your adapter card is fifth in the list, its index position
is 4.
Applies To
Communication
Location
Trident 1.x Controller tree > Configuration > TriStation Communication
Node Name
The Node Name property specifies the name for a Triconex controller, which can be a default
name or a user-defined name. The default names are TRINODE01 through TRINODE31.
Applies To
Communication
569
Location
Controller tree > Configuration > TriStation Communication
Node Number
The Node Number property specifies a number for a Triconex controller, which must be the
same as on the switch setting (Tricon) or the address plug (Trident or Tri-GP). The numbers can
be from 1 to 31 for Tricon controllers, or from 1 to 63 for Trident or Tri-GP controllers.
Applies To
Communication
Location
Controller tree > Configuration > TriStation Communication
Applies To
Tricon HIM
Location
Tricon Controller tree > Configuration > Hardware Allocation > HIM Setup
Applies To
Trident or Tri-GP Pulse Input or Enhanced Pulse Input Module
Location
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > PI or EPI Setup
570
Appendix A
Number of Inputs
The Number of Inputs property specifies the number of inputs to include with the function.
Only extensible functions, which are functions that can include additional inputs, have this
property.
For more information, see the TriStation 1131 Libraries Reference.
Applies To
Functions
Location
Item Properties > Function tab
Number of Instances
The Number of Instances property specifies how many instances of the Emulator you want
available at any one time.
If this option is set to Multiple, more than one instance of the Emulator can be running at the
same time. If this option is set to Single, only one instance of the Emulator can be running at any
one time.
The default is Single.
Applies To
Emulator
Location
Project menu > Project Options > Emulator Options tab
OFFLINE State
The OFFLINE state is an application state which indicates the application is not connected to the
Emulator or to a controller.
Applies To
Application
Location
Controller tree > Controller or Emulator Panel > Title bar
571
Only Once
The Only Once setting means each instance of a function block should be executed only once
per scan, but does not need to be executed every scan. This means the function block has internal
data that does not need to be updated on every scan, but should not be updated more than once
per scan. For user-defined function blocks, you can specify this setting. For Triconex Library
function blocks, the setting cannot be changed.
Applies To
Library and user-defined function blocks
Location
Document Properties > Usage tab
Applies To
Application
Location
Project menu
Applies To
Tricon DO points
Location
Tricon Controller tree > Configuration > Hardware Allocation > DO Setup
572
Appendix A
CAUTION
TriStation 1131 projects must always be run from a local drive. Projects
may be saved to a network drive for backup purposes, but you must copy
the project to your local drive before you open it in TriStation 1131.
Applies To
Project
Location
File menu
Operation Type
The Operation Type property specifies whether the security selection is for controller operations
or TriStation 1131 operations. Depending on the selection, different operations are displayed.
Applies To
Project
Location
Project menu > Security command > Privileges tab
Operations
The Operations property specifies TriStation 1131 and controller operations that can be assigned
a security level. These tables describe the operations and default settings for security levels.
Table 54
Controller Operations
Default
Level
Operation
Description
Download All
Download Changes
Change state to
Download All
573
Table 54
Operation
Description
Halt application
Modify configuration
Open Configuration
12
Run Application
Set Operating
Parameters
13
Table 55
Type
Operation
Description
Elements
Change Access
Attributes
13
Change Owner
13
15
15
View elements
19
Export
12
Import
12
Libraries
574
Appendix A
Table 55
Type
Operation
Description
Default
Level
Printing
Print reports
19
15
13
Change state to
Download All
12
12
Add/Modify Users
12
Change level
descriptions
12
12
Change TriStation
Options
12
Project
Security
Workbench
Applies To
Security
Location
Project menu > Security > Privileges tab
Organize Command
The Organize command allows you to organize the data types, functions, and function blocks
in the TriStation 1131 Libraries in these ways:
Property
Description
By Library
By Type
By Category
Organizes by the typical usage. For example, Arithmetic, Data Type, Counter,
and so on.
By Name
Applies To
TriStation 1131 Library data types, functions, and function blocks
575
Location
Application tree > right-click the Library Documents folder
Parity
The Parity property indicates whether to use parity checking, which is a way to detect data
communication errors on the transmitted data. Odd and Even parity counts the number of 1 bits
in a one-byte data item then sets the parity bit (9th bit) to 0 or 1 to result in an Odd or Even total
number of 1 bits. Mark and Space parity (also called high/low parity) set the parity bit to 1 or 0
regardless of the number of 1 bits in the data item.
Settings include:
Property
Description
Odd
Sets the parity bit to 0 or 1 to make the total number of 1 bits odd.
Even
Sets the parity bit to 0 or 1 to make the total number of 1 bits even.
Mark
Space
None
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Serial
Ports tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Serial Ports tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Serial Ports
tab
Tricon Controller tree > Configuration > Hardware Allocation > EICM Setup
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > Trident MP or
CM Setup > Serial Ports tab
Password
The Password property specifies a code required to access the project or to perform certain
operations in the project.The default is PASSWORD.
Applies To
Security
576
Appendix A
Locations
Applies To
Security
Locations
Paste Command
The Paste command puts the current contents of the clipboard onto the current sheet.
Applies To
Editing
Locations
Paste button
Edit menu
Pause Command
The Pause command pauses the execution of an application in the controller or the Emulator. If
an application is paused, the Run command must be used to resume execution.
Applies To
Application
577
Locations
Pause button
Configuration tree > Controller or Emulator Panel > Commands menu
Applies To
Communication
Location
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Time Sync tab
Permission
The Permission property specifies the level of access to the TCM, Trident 2.x CM, or Tri-GP CM
for the selected client IP address. If the application includes safety-critical outputs, you should
not set this property to Read/Write.
Setting
Description
Deny Access
Prevents all access to resources provided by the TCM or CM. Connections to the
controller are not allowed.
Read
Allows client to connect to the controller and view information provided via the
TCM or CM. Does not allow the client to change any settings or perform certain
commands.
Read/Write
Full access. Allows client to view information provided by the TCM or CM,
change settings, and perform all commands (including Download Changes or
Download All for TriStation 1131). This access level should only be provided to
trusted clients.
Does not apply to model 4351/4352 Tricon Communication Modules (TCMs), or Trident 1.x
CMs.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Access
List tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Access List tab
578
Appendix A
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Access List tab
Physical Address
The Physical Address property specifies the physical point location on an input or output
module. The address is a three-part number in this format: CC.SS.PP
Identifier
Description
CC
SS
PP
For example, 01.02.23 is the address for point 23, on the module in slot 2, in chassis 1.
Applies To
Input and output tagnames
Location
Application tree > Tagname Declarations > Item Properties > Point Assignment tab
Pickup Command
The Pickup command picks up all the elements enclosed by the comment box so they are
considered part of the comment and ignored by the compiler.
To pick up, move the comment box so it entirely covers the elements to be captured. Resize the
box if needed. To drop, double-click the comment box, click the Pickup/Drop tab, and click
Drop.
Applies To
Comments
Location
Item Properties > Pickup/Drop tab
Point Assignment
The Point Assignment properties specify whether the point uses an alias, and whether the point
has a physical or local address.
Properties include:
User alias: A number that can be assigned if the point is a Read or Read/Write Alias.
579
Applies To
Tagnames
Location
Tagname References > Item Properties > Point Assignment tab
Point Options
The Point Options properties specify options on a Pulse Input or Enhanced Pulse Input Module.
Settings include:
Applies To
Pulse Input or Enhanced Pulse Input Setup
Location
Controller tree > Configuration > Hardware Allocation > Pulse Input or EPI Setup
Point Type
The Point Type property specifies the type of tagname. Settings include Input, Output, and
Memory.
Applies To
Tagnames
Location
Item Properties > Point Assignment tab
580
Appendix A
Port Selection
The Port Selection property specifies the port to be configured. The default is port 1 or Left.
Table 56
Module
Selections
Tricon EICM
Tricon TCM
Trident MP
Tri-GP MP
Trident 1.x CM
Ports 13 and 68: Modbus Slave ASCII, Modbus Slave RTU, Modbus
Master, Modbus Master/Slave.
Trident 2.x CM
Ports 1-3: Modbus Slave RTU, Modbus Slave ASCII, Modbus Master.
Port 3: TriStation.
Tri-GP CM
Ports 1-3: Modbus Slave RTU, Modbus Slave ASCII, Modbus Master.
Port 3: TriStation.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > EICM Setup
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Serial
Ports tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Serial Ports tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Serial Ports
tab
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > MP Setup >
Serial Ports tab
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Serial Ports tab
581
Modbus TCP and serial protocols on Tricon v10.1 and later systems
Note
Projects converted from earlier versions of TriStation 1131 will have the default value
automatically set for this property, so that ports configured for TSAA, Serial Modbus
Slave, and TCP Modbus Slave will be read-only until selected otherwise.
Does not apply to model 4351/4352 Tricon Communication Modules (TCMs), or Trident 1.x
CMs.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Serial
Ports and Modbus TCP tabs
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Serial Ports and Modbus TCP tabs (Tricon v10.3 and later)
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A Setup > Network,
Serial Ports and Modbus TCP tabs (Tricon v10.1 and v10.2 only)
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Serial Ports and Modbus TCP tabs
Precision
The Precision property specifies the number of decimals to use with a REAL point that has been
scaled. The default is 0.
Applies To
Tagnames with REAL data types
Location
Application tree > Tagname Declarations > Item Properties > Scaling tab
582
Appendix A
The default restart behavior described above applies to Trident 1.x systems, but cannot
be changed.
Applies To
Trident 2.x or Tri-GP controllers
Location
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > MP Setup >
Operating Parameters tab
Applies To
Logic sheets
Locations
Print Command
The Print command prints the logic sheet, function block, or report displayed in the current
window.
Applies To
Logic Sheets, Function Blocks, Reports
Locations
Print button
Edit menu
583
Applies To
Logic Sheets, Module Configuration, Library Documents, Functions, Function Blocks, Reports,
Project History, Users, Programs, Tagnames
Location
Edit menu
Applies To
Logic Sheets, Reports
Location
Edit menu
Applies To
Reports
Locations
Printer Number
The Printer Number property specifies the number used in the Printer parameter declared for
the print function blocks in the TriStation 1131 project.
For the TCM, Trident 2.x CM, or Tri-GP CM, the value must be either 5 or 10.
Applies To
Project
584
Appendix A
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup >
Printer tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Printer tab
Tricon Controller tree > Configuration > Hardware Allocation >TCM Setup > Printer tab
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Printer tab
Privilege
The Privilege property specifies whether Read or Read/Write access is allowed by external
devices. You should set this property to Read, if the application includes safety-critical outputs.
Setting
Description
Read
An external device cannot write to any point, regardless of the settings for other
properties.
This is the default for Tricon ACM.
Read/Write
Other properties may need to be set to enable write access. See Disable Remote
Changes to Outputs on page 513.
This is the default for Tricon NCM and Trident 1.x CM.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > ACM Setup
Tricon Controller tree > Configuration > Hardware Allocation > NCM Setup
Trident 1.x Controller tree > Configuration > Hardware Allocation > CM Setup > Network
tab
Applies To
Application
Location
Application tree > Implementation > Execution List
585
Program Command
The Program command allows you to implement or change an application in these ways:
Disable points
For Tricon controllers, the Program command is set by turning the keyswitch to PROGRAM.
For Trident or Tri-GP controllers, the Program command is set with the Set Programming Mode
command in the Controller Panel, or the SYS_SET_APP_LOCK function in a program.
Applies To
Application, controller
Locations
Prohibit Writes
For Tricon controllers, the Prohibit Writes property specifies whether to deny Honeywell
workstations from writing to the application running on the Tricon controller. The default is
cleared, which means Honeywell workstations can write to memory and output tagnames.
Applies To
Tricon HIM Module
Location
Tricon Controller tree > Configuration > Hardware Allocation > HIM Setup
Applies To
Project
Location
Project menu
586
Appendix A
Project Files
The Project File property specifies the path name for documents including projects and related
files. The default path name and file extension is:
Applies To
Project
Location
Tools menu > TriStation 1131 Options > Directories tab
Protocol
The Protocol property specifies the communication protocol used with the port. This table
describes the protocols available with specific communication modules.
Table 57
Protocol
Description
Communication Module
GPS
Tricon TCM
Modbus Slave
Tricon EICM
Modbus Slave
ASCII
Modbus Slave
RTU
Modbus TCP
Slave Net
Modbus Master
Modbus TCP
Master
Modbus
Master/Slave
Peer-to-Peer
TriStation
587
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > EICM and NCM Setup
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Serial
Ports and Modbus TCP tabs
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Serial Ports and Modbus TCP tabs
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Serial Ports
and Modbus TCP tabs
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > MP and CM
Setup
Protocols
The Protocols property specifies the protocol(s) that a selected client can use to access the TCM,
Trident 2.x CM, or Tri-GP CM: TriStation, OPC, and/or TSAA. Configured in the TCMs or
CMs access control list.
The OPC protocol is supported only by model 4353 or 4354 TCMs. Additionally, the TSAA
protocol is supported only on NET 1 for model 4353 and 4354 TCMs.
Does not apply to model 4351/4352 TCMs, or Trident 1.x CMs.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Access
List tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Access List tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Access List tab
Applies To
Tricon or Tri-GP Pulse Input Module
Location
Tricon or Tri-GP Controller tree > Configuration > Hardware Allocation > Pulse Input Setup
TriStation 1131 Developers Guide v4.9.0
588
Appendix A
Rate Type
The Rate Type property specifies how the Pulse Input or Enhanced Pulse Input Module is to
measure pulse inputs. Settings include:
RPM: Used for pulses measured in the number of revolutions per minute of the shaft
that connects a gear to the rotating equipment.
Applies To
Pulse Input or Enhanced Pulse Input Module
Location
Controller tree > Configuration > Hardware Allocation > Pulse Input or EPI Setup
Applies To
ST programs and functions
Locations
Applies To
Application
Location
Project menu
Redo Command
The Redo command reverses the last Undo command. You must use this command before other
editing is done or the changes cannot be redone.
589
Applies To
Programs, functions, and function blocks
Location
Edit menu
Applies To
ST programs and functions
Locations
Redundant Mode
For Tricon controllers, the Redundant Mode property specifies whether there is a redundant
Tricon ACM module in the installation. The default is cleared, which means not redundant.
Applies To
Tricon ACM Module
Location
Tricon Controller tree > Configuration > Hardware Allocation > ACM Setup
Refresh Command
The Refresh command replaces the data on a report that is currently displayed with data from
the reports database. If project changes are made, you must first update the report database, and
then click Refresh.
Applies To
Reports
Location
Refresh button on Project tree > Default Reports or User Reports folder
590
Appendix A
The Privilege property must be set to Read/Write on the Trident CM or Tri-GP CM.
Applies To
Tagnames for outputs
Location
Trident or Tri-GP MP > Item Properties > Module tab
The Privilege property must be set to Read/Write on the Trident CM or Tri-GP CM.
Applies To
Application
Location
Trident or Tri-GP MP > Item Properties > Module tab
591
Remote Mode
The Remote mode enables external (remote) devices to have read/write access to aliases in an
application running on a controller.
For Tricon controllers, Remote mode is set by turning the keyswitch to REMOTE.
The default is not enabled, which means external devices are not allowed to write to aliases.
Applies To
Application, controller, tagnames
Locations
Applies To
Application
Location
Help menu > Options > Add or Remove Custom Help Files
Applies To
Test sheets in the Emulator and controller
Location
Configuration tree > Controller or Emulator Panel > Tools menu
592
Appendix A
Replace Command
The Replace command searches and replaces specified text in programs, functions, function
blocks, or variable names
If you select items on a sheet first, this
command will search and replace the
specified text only in the selected items.
Applies To
Editing
Locations
Resolution Type
The Resolution Type property specifies the resolution for the Tricon Single-Ended and
Differential AI Modules (models 3720 and 3721 only). The Single-Ended AI uses unipolar input.
Types include:
Input
(volts)
Standard Resolution
(Unipolar Input)
High Resolution
(Unipolar Input)
High Resolution
(Bipolar Input)
<-5.3
32767
(out-of-range under)
-32767
(out-of-range under)
-32767
(out-of-range under)
-5.3
32767
(out-of-range under)
-32767
(out-of-range under)
-17366
(under-range)
-5
32767
(out-of-range under)
-32767
(out-of-range under)
-16383
(minimum range)
<0
32767
(out-of-range under)
-32767
(out-of-range under)
0
(minimum range)
0
(minimum range)
0
(minimum range)
4095
(maximum range)
16383
(maximum range)
16383
(maximum range)
593
Table 58
Input
(volts)
Standard Resolution
(Unipolar Input)
High Resolution
(Unipolar Input)
High Resolution
(Bipolar Input)
5.3
4341
(over-range)
17366
(over-range)
17366
(over-range)
>5.3
32767
(out-of-range over)
32767
(out-of-range over)
32767
(out-of-range over)
Applies To
AI Modules
Location
Tricon Controller tree > Configuration > Hardware Allocation > Single-Ended and Differential
AI Setup
Restart on Power Up
For Trident or Tri-GP controllers, the Restart on Power Up property specifies whether the
controller automatically restarts on power up. The default is cleared, which means the controller
is not automatically restarted on power up.
Applies To
Trident or Tri-GP MP
Location
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > MP Setup >
Operating Parameters tab
Restore Command
The Restore command returns the previous settings for the item, if the Apply command has not
been used. For example, if you changed the default values for a property such as the Initial
Value, you can go back to the defaults by clicking Restore.
Applies To
Project elements
Location
Item Properties
594
Appendix A
Applies To
Project
Location
File menu
Applies To
Project
Location
File menu
Retentive
The Retentive property specifies whether the value of a memory point is retained if a power
failure occurs. If selected, when the system is powered up the memory point uses the value it
had prior to the power failure. Only memory points can be specified as retentive. For input and
output points, the value retained after a power failure is either zero or the value set for the Initial
Value property. The default is cleared, which means the value is not retained.
Applies To
Memory points
Location
Application tree > Tagname Declarations > Item Properties > Declaration tab
595
Applies To
LD logic sheets
Locations
Applies To
Project
Location
Edit menu
Routing Configuration
The Routing Configuration property displays the Destination IP Address, IP Subnet Mask, and
Default Gateway IP Address for the node.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup >
Routing tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Routing tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Routing tab
596
Appendix A
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Routing tab
Run Command
The Run command executes an application in the controller or Emulator. Programs to be
executed must be included on the Program Execution List.
For Tricon controllers, the Run command is only available when the keyswitch is set to
the RUN or PROGRAM mode. The Run command is unavailable if the keyswitch is set
to STOP or REMOTE.
Applies To
Application, programs
Locations
Run button
Configuration tree > Controller or Emulator Panel > Commands menu
RUNNING State
The RUNNING state is an application state which indicates the application is downloaded and
running in the controller or Emulator.
Applies To
Application
Location
Controller tree > Controller or Emulator Panel > Commands menu or Title bar
Save As Command
The Save As command saves a project under a different name or folder.
CAUTION
Applies To
Project
597
Location
File menu
Applies To
Project
Location
Save Element button, or File menu
Applies To
Project
Location
Project menu
Save Implementation
The Save Implementation command saves the changes made to the Implementation area, which
includes the Execution List, SOE Configuration, and Peer-to-Peer Configuration.
Applies To
Project
Location
File menu
CAUTION
598
Appendix A
Applies To
Project
Locations
Applies To
CEM programs
Location
Application tree > open a CEM program > View menu
Scale Factor
The Scale Factor property specifies how to convert pulse input signals into engineering units.
The default is 1. The number must be a positive real number.
This table shows the correct scale factor to use for converting pulse input signals into seconds,
minutes, and hours.
To Convert
Set Scale to
0.016667
1.000000 (default)
60.000000
Speed Measurement
This formula converts speed measurement to different engineering units. The default is pulses
per minute.
Speed =(Pulses /Minute) x Scale
RPM Measurement
This formula scales RPM measurements under special circumstances. For example, the Scale
Factor property can be used to adjust the RPM measurement when the measuring shaft rotates
at a different rate from the output shaft.
Speed =((Pulses /Minute)/Number of Gear Teeth) x Scale
599
Applies To
Pulse Input Configuration
Location
Controller tree > Configuration Panel > Hardware Allocation > Pulse Input Setup
Scan Time
The Scan Time property specifies the requested number of milliseconds for a scan (execution of
the application) on the controller. The number is requested before an application is built. After
the application is built and downloaded, the controller determines an actual scan time range
and uses the specified scan time if it falls within these limits.
CAUTION
The controller determines a valid range for the scan time based on these operations:
Reads inputs
Processes messages
Writes outputs
If the application is running, the scan time can be set to a number different from the requested
number without downloading the application. To determine what the actual, requested and
surplus scan times are, see the Enhanced Diagnostic Monitor (sold separately).
For Tricon controllers (3006/3007 MP), the maximum scan time is 500 milliseconds.
For Tricon controllers (3008 MP), the maximum scan time is 450 milliseconds.
For Trident or Tri-GP controllers, the maximum scan time is 450 milliseconds.
Applies To
Application
Location
Application tree > Implementation > Execution List
600
Appendix A
Applies To
Reports
Location
Search Text button
Security Command
The Security command opens the Security dialog box, which allows user access to be created
and modified.
Applies To
User security
Locations
Security button
Project menu
Security Level
The Security Level property specifies the level of security for the user. Settings include:
Each level allows access to its own operations and the operations associated with all lower
levels. For example, a user with security level 03 has access to operations for security levels 04,
05, 06, 07, 08, 0,9 and 10.
Applies To
Security
Location
Project menu > Security command > Users tab
Applies To
Programs
Locations
601
Applies To
Editing
Location
Edit menu
Applies To
Editing
Location
Edit menu
Selection Tool
The Selection Tool command changes the cursor to a selection tool, which allows you to select
elements.
Applies To
Logic sheets in user documents, test sheets in Emulator and controller
Locations
Serial Port
The Serial Port property specifies the port on the TriStation PC that is connected to the
controller.
Applies To
Communication
602
Appendix A
Location
Controller tree > Configuration tree > TriStation Communication
On the Tricon controller, if you want to change only the time zone location, you can also
use the Set Time Zone command (see page 604).
When you download and run a TriStation 1131 application, the controller automatically sets its
clock to the TriStation PC time. If the accuracy of the controller clock degrades over time, you
can reset the clock while the application is running, without having to download again.
Procedure
1
On the TriStation PC, right-click the time icon in the message bar or open the Date/Time
dialog box from the Control Panel.
On the Commands menu, click Connect, and then click Set Calendar Clock.
Click Yes when asked whether to set the calendar clock to the current configuration.
Applies To
Controller
Location
Configuration tree > Controller Panel > Commands menu
Applies To
ST Language
603
Location
View menu
Description
The Set Programming Mode command is unavailable if the SYS_SET_APP_LOCK function has
been set to prohibit (lock out) changes programmatically. The default setting is Enable
Programming and Control.
Applies To
Application, controller
Location
Trident or Tri-GP Controller tree > Controller Panel > Commands menu
For Trident or Tri-GP controllers, you can set the scan time between the minimum and
maximum times. The scan time must be larger than the AI and DI poll times.
Applies To
Application
604
Appendix A
Location
Configuration tree > Controller or Emulator Panel > Commands menu
This command applies to the Tricon controller only. To change the time zone on the
Trident or Tri-GP controller, see Set Calendar Clock Command on page 602.
When you perform a Download All and run a TriStation 1131 application, the Tricon controller
automatically sets its time zone location to the time zone defined in the TriStation PC. However,
if you perform a Download Changes operation, the time zone is not set automatically. Use this
command to manually set or change the time zone on the Tricon controller.
Procedure
1
On the TriStation PC, right-click the time icon in the message bar or open the Date/Time
dialog box from the Control Panel.
On the Commands menu, click Connect, and then click Set Time Zone.
Click Yes when asked whether to set the time zone to the current configuration.
Applies To
Controller
Location
Tricon Configuration tree > Controller Panel > Commands menu
Set Value
The Set Value property specifies the value for the variable during testing on the controller or
Emulator. To ensure the value is valid for the data type, click Confirm when specifying the value
on the Variable tab.
Applies To
Variables on test sheets in the Controller and Emulator Panels
Location
Item Properties > Variable tab
605
Shared Read
The Shared Read property specifies whether a program can read a tagname that is a different
Application type. For example, if the tagname is a Control type, it cannot be read by a Safety
program unless Shared Read is checked. The default is cleared, which means that programs can
only read tagnames that have the same Application type.
Applies To
Tagnames
Location
Application tree > Tagname Declarations > Item Properties > Declaration tab
Sheets Menu
The Sheets menu includes commands that allow you to change the properties of logic sheets,
which provide the workspace for developing programs, functions, and function blocks. The
Sheets menu includes these commands:
Command
Description
Sheet Title
Edits the title of the current sheet. The sheet title is displayed in the title block,
the window caption bar, and the Window Menu list.
Allows you to change the text associated with macros which are identified by a
pencil icon.
Next Sheet
Previous Sheet
Append Sheet
Insert Sheet
Delete Sheet
Manage Sheets
Allows you to append, insert, and delete sheets. Also allows you to change the
sheet title and to display (go to) the selected sheet.
Select Sheet
Template...
Applies To
Logic sheets in user documents, test sheets in Controller and Emulator Panels
Locations
606
Appendix A
Applies To
Tricon DO points
Location
Tricon Controller tree > Configuration > Hardware Allocation > DO Setup
Applies To
CEM programs
Location
View menu
Applies To
CEM programs
Location
View menu
Applies To
FBD and LD programs and functions
Location
View menu
607
Applies To
FBD and LD programs and functions
Location
View menu
Applies To
FBD and LD programs and functions
Location
View menu
Applies To
ST programs and functions
Locations
Applies To
FBD and LD programs and functions
Location
View menu
608
Appendix A
Signal Delays
The Signal Delays property adjusts the timing of data transmission to Modbus devices that use
hardware handshake, which is a method of ensuring devices are ready to receive data. Signal
delays adjust the timing for CTS and RTS signals for Modbus devices that have slow throughput
or other limitations.
The RTS (Request to Send) signal opens and closes the data transmission channel. The RTS predelay setting specifies the number of milliseconds to wait before the data is transmitted.
The CTS (Clear to Send) signal indicates the transmitting station that it is ready to receive data.
The CTS Pre-delay setting specifies the number of milliseconds to keep the channel open after
data is transmitted.
Procedure
1
Set the Handshake property to Hardware on the Tricon EICM Setup screen.
Add an MBWRITE function block for each type of delay (CTS and RTS) you want to
specify.
Action
Alias
Port
Station
D01
Applies To
Modbus Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > EICM Setup
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Serial Ports tab
609
Applies To
Application
Locations
Size/Alignment Command
The Size/Alignment command includes commands that specify whether to increase or decrease
the size of the element and how to align the element.
The commands apply actions to the other elements using the currently selected element as the
reference. For example, the Same Width command changes all other elements to the same width
as the selected element.
The subcommands include:
Same Width
Align Left
Align Bottom
Space Across
Same Height
Align Right
Center Horizontally
Space Down
Same Size
Align Top
Center Vertically
Applies To
Comments, constants, variables
Location
Right-click an element
Applies To
CEM programs
Locations
610
Appendix A
Applies To
CEM programs
Location
View menu
Applies To
CEM programs
Locations
Slot Selection
The Slot Selection property specifies the physical slot where the communication module you
want to configure is installed.
Slot selection rules for the TCM:
If the TCM you are configuring is installed in the COM slot, you must select the Left
slot.
If the TCM is installed in any other available logical slot, you can select either the Left
or Right slot.
Each logical slot can hold two TCMsone in the left physical slot, and one in the right
physical slot. A TCM can be configured in the right slot only if a TCM in the left slot has
already been configured.
If you have configured TCMs in both the left and right slots, and then you uninstall the
TCM in the left slot, you will no longer be able to change the configuration of the TCM
installed in the right slot. You must re-install a TCM in the left slot before you can
modify the configuration of the TCM in the right slot.
The logical COM slot can hold two CMsone in the Left physical slot, and one in the
Right physical slot.
611
A CM can be configured in the Right slot only if a CM in the Left slot has already been
configured.
If you have configured CMs in both the left and right slots, and you then uninstall the
CM in the left slot, you will no longer be able to change the configuration of the CM
installed in the right slot. You must re-install a CM in the left slot before you can modify
the configuration of the CM in the right slot.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B Setup
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Network and Routing tabs
Applies To
Time synchronization
Locations
Tricon Controller tree > Configuration > Hardware Allocation >TCM/OPC Setup > Time
Sync tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Time Sync tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Time Sync
tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Time Sync tab
Applies To
Time synchronization
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Time
Sync tab
612
Appendix A
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Time Sync tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Time Sync tab
SOE Block
The SOE Block property identifies a data structure in the MP memory. The block header
contains the block type, the buffer size, and a list of the event variables assigned to the block.
The buffer stores the event entries, each containing a time stamp and one or more data entries.
There are 16 SOE blocks. For more information, see the Triconex SOE Recorder Users Guide.
Applies To
Sequence of Events (SOE)
Locations
Applies To
Sequence of Events (SOE)
Location
Application tree > Implementation > SOE Configuration > double-click the row for the tagname
Applies To
Sequence of Events (SOE)
Location
Application tree > Implementation > SOE Configuration tree > double-click a block
TriStation 1131 Developers Guide, v4.9.0
613
Applies To
Sequence of Events (SOE)
Location
Application tree > Implementation > SOE Configuration tree > double-click a block
Applies To
Sequence of Events (SOE)
Location
Application tree > Implementation > SOE Configuration tree > double-click a block
Applies To
Sequence of Events (SOE), OPC communication
Locations
614
Appendix A
Applies To
Sequence of events (SOE)
Location
Application tree > Implementation > SOE Configuration tree > Blocks
615
Applies To
Sequence of Events (SOE)
Location
Application tree > Implementation > SOE Configuration tree > Blocks
Applies To
Trident or Tri-GP HRDI Module, Sequence of Events (SOE)
Location
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > HRDI Setup
616
Appendix A
SOE Severity
The SOE Severity property specifies the severity (priority) level for SOE system events retrieved
by an OPC client. The default is 500.
Applies only to model 4353/4354 Tricon Communication Modules (TCMs).
Applies To
Sequence of Events (SOE), OPC communication
Location
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Protocols
tab
Disabled: SOE is not enabled for the point. Point transitions will not be reported.
Rising: SOE is enabled for the point. Point transitions will be reported when the
Boolean value changes from False to True (0 to 1).
Falling: SOE is enabled for the point. Point transitions will be reported when the
Boolean value changes from True to False (1 to 0).
Rising/Falling: SOE is enabled for the point. Point transitions will be reported for both
Rising and Falling changes (False to True, or True to False).
Applies To
Trident or Tri-GP HRDI Module, Sequence of Events (SOE)
Location
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > HRDI Setup
If any trigger with a pulse width larger than x msec needs to be reported as an event,
then enter x-1 msec.
617
If any trigger with a pulse width smaller than x msec needs to be filtered out (not
reported as an event), then enter x+1 msec.
A trigger with a pulse width larger than 1 msec will always generate an event.
A trigger with a pulse width smaller than 1 msec may or may not generate an event.
Applies To
Trident or Tri-GP HRDI Module, Sequence of Events (SOE)
Location
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > HRDI Setup
Sort by Group
The Sort by Group property organizes the tagnames table in an hierarchical list, where
tagnames are organized according to the groups they are assigned to. This table, with
information about the tagnames and system variables configured in the project, is downloaded
to the TCM/OPCs embedded OPC server during a Download All or Download Changes
operation. The sort order controls how the information is displayed in the OPC client.
Applicable only if a model 4353 or 4354 Tricon Communication Module (TCM) is installed in
the Tricon controller.
Applies To
Tagnames (OPC)
Location
Project menu > Project Options > Download Options tab
Sort by Tagname
The Sort by Tagname property organizes the tagnames table alphabetically, in a single, nonhierarchical list, regardless of their group assignments.
This table, with information about the tagnames and system variables configured in the project,
is downloaded to the TCM/OPCs embedded OPC server during a Download All or Download
Changes operation. The sort order controls how the information is displayed in the OPC client.
Applicable only if a model 4353 or 4354 Tricon Communication Module (TCM) is installed in
the Tricon controller.
Applies To
Tagnames (OPC)
Location
Project menu > Project Options > Download Options tab
618
Appendix A
Space Saver
The Space Saver property means a single instance can be executed more than once per scan to
reduce memory usage and increase performance.
Note
If a function block is not a space saver, using the same function block instance more than
once on a function block diagram results in a WF0031 warningwhereas there is no
such warning for a space saver function block.
Applies To
Library and user-defined function blocks
Location
Function Blocks > Document Properties > Usage tab
Standard Security
The Standard Security property sets the application-level security setting to Standard. When
selected, a user name and password is required to open TriStation 1131. No other user
authentication is required. This is the default setting.
See also Enhanced Security on page 530.
Applies To
User security
Location
Project menu > Security > Security dialog box > Security Setting tab
Applies To
Comments and variables in user documents
Input, output, and memory points
Locations
619
Stop Bits
The Stop Bits property specifies whether to transmit 1 bit or 2 bits after each character to notify
the receiving computer that the transmission of a byte of data is complete. The default is 1 bit.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > EICM Setup
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Serial
Ports tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Serial Ports tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Serial Ports
tab
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > MP and CM
Setup > Serial Ports tab
Stop Mode
Stop mode stops the TriStation 1131 application from reading field inputs and forces nonretentive digital and analog outputs to zero. Retentive outputs retain the values they had before
the application was halted.
Stop mode is useful for installation and service of external equipment, but is not required for
service of the controller. Before using the stopping the application, the Halt command should
be used to halt the application.
For Tricon controllers, Stop mode is set by turning the keyswitch to the STOP position.
For Trident or Tri-GP controllers, Stop mode is set by using the SYS_APP_HALT
function in a program.
Applies To
Application, controller
Locations
620
Appendix A
Applies To
Functions, function blocks
Location
Document menu > Item Properties > Attributes tab
Applies To
Functions, function blocks
Location
Document menu > Item Properties > Attributes tab
Applies To
Functions, function blocks
Location
Document menu > Item Properties > Attributes tab
621
Applies To
Functions, function blocks
Location
Document menu > Item Properties > Attributes tab
Applies To
OPC communication
Location
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Protocols
tab
Tabs
The Tabs property specifies the number of tab settings used in the Structured Text code. The
default is 8.
Applies To
ST Language
Location
View menu > Set Editor Options
622
Appendix A
Tagname
The Tagname property specifies the name of an input, output, or memory point. The name
comes from the use of tags tied to field points. In TriStation 1131, it generally refers to points.
Tagnames can include up to 31 alphanumeric (A to Z and 0 to 9) characters and the underscore
(_) character. Tagnames cannot begin with an underscore.
Applies To
Input, output, and memory points
Location
Application tree > Tagname Declarations > Declaration tab
Applies To
Project
Locations
For a printer connected to the Tricon TCM, Trident 2.x CM, or Tri-GP CM, the default is
9100.
623
For the Trident 1.x CM, the TCP Port property specifies a port number specified by a
printer manufacturer. This information should be available with the printer
instructions. The default is blank.
An HP JetDirect print server with one port uses port number 9100.
An HP JetDirect print server with three ports uses port numbers 9100, 9101, and 9102.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup >
Printer and Modbus TCP tabs
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Printer and Modbus TCP tabs
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Printer and
Modbus TCP tabs
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Printer tab
Temporary Files
The Temporary Files property specifies the path name for documents which include temporary
files created by TriStation 1131 or other utilities. The default path name is:
Applies To
Project
Location
Tools menu > TriStation 1131 Options > Directories tab
Terminal
The Terminal property displays the names of the input and output terminals for the function or
function block included with the selected cause, intersection, or effect. Extensible functions do
not have terminal names.
624
Appendix A
Applies To
CEM programs
Location
Variable Detail Table
Terminals
See Double Space on page 516 and EN/ENO on page 523.
Termination Options
The Termination Options property specifies whether resistors are used to terminate the Modbus
cable connections. This option is only available with RS-485 Transceiver Mode.
Options include:
Applies To
Modbus communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Serial
Ports tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B Setup
> Serial Ports tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Serial Ports
tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Serial Ports tab
Text Size
The Text Size property specifies the point size for the text; from 3 to 24 points.
The defaults are: A=6, B=8, C=10, and D=10.
Applies To
Comments
625
Locations
Applies To
SOE
Location
Application > Implementation > double-click SOE Configuration branch
Applies To
SOE
Location
Application > Implementation > double-click SOE Configuration branch
Time Synchronization
The Time Synchronization properties specify whether and how time is synchronized for the
controller. Depending on the controller, the following properties can be specified. The default
is cleared, which means time synchronization is not used.
Controller
Property
Tricon ACM
Tricon ACM
Tricon NCM
Tricon SMM
Tricon TCM
Trident 1.x CM
626
Appendix A
Controller
Property
Trident 2.x CM or
Tri-GP CM
Applies To
Controller
Locations
Tricon Controller tree > Configuration > Hardware Allocation > ACM, NCM, SMM, TCM
Setup
Trident 1.x Controller tree > Configuration > Hardware Allocation > CM Setup > Network
tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Time Sync tab
Description
None
No time synchronization.
GPS
Time synchronization based on the GPS interface and one TCM module.
Not applicable on the Trident 2.x CM or Tri-GP CM.
GPS Redundant
Time synchronization based on the GPS interface and two TCM modules.
Not applicable on the Trident 2.x CM or Tri-GP CM.
SNTP Redundant
SNTP
Peer-to-Peer
Triconex Time Synchronization based on the master node in the Peer-toPeer network.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Time
Sync tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Time Sync tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Time Sync
tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Time Sync tab
627
Applies To
CEM programs
Location
Application tree > open a CEM program > right-click in the FBD Network
Transceiver Mode
The Transceiver Mode property specifies the type of physical connection.
100 Mbps Half Duplex (Tricon TCM, Trident CM, or Tri-GP CM on NET 2, only)
100 Mbps Full Duplex (Tricon TCM, Trident CM, or Tri-GP CM on NET 2, only)
Note
If you have a model 4352, 4352A, 4352B, or 4354 TCM with fiber connectors, you must
select 100 Mbps as the communication mode. These TCMs cannot negotiate the
connection speed or connect at 10 Mbps.
If you have a model 4353 TCM, you cannot select 10 Mbps as the communication mode
on NET 2. Connections to the TCMs embedded OPC server can be made only at 100
Mbps.
If Auto-Negotiate is selected, the module will connect at either 10 Mbps or 100 Mbps,
depending on the speed of the connection. The TCM, Trident 2.x CM, and Tri-GP CM
will always negotiate to Half Duplex.
If Half Duplex is selected, only one network peer can transmit at a time. If you have a
network hub, you must select Half Duplex.
If Full Duplex is selected, both network peers can transmit at the same time. This
setting is typically used only for applications with high-bandwidth requirements. If
you have a switch, you can select Full Duplex or Half Duplex.
628
Appendix A
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup >
Network and Serial Ports tabs
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Network and Serial Ports tabs
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Network
and Serial Ports tabs
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > MP Setup >
Serial Ports tab
629
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Network and Serial Ports tab
Transceiver Port
For Trident 1.x, the Transceiver Port property specifies the type of connection to be used for the
port. Settings include RJ-45 and MAU. The default is RJ-45.
Applies To
Communication
Location
Trident 1.x Controller tree > Configuration > Hardware Allocation > CM Setup > Network tab
Triggering Mode
For Trident or Tri-GP controllers, the Triggering Mode property specifies where the input signal
is triggered. For asymmetrical waveforms, select the option that corresponds to the sharper
edge. Settings include Rising Edge and Falling Edge.
The default is Rising Edge.
Applies To
Trident or Tri-GP Pulse Input or Enhanced Pulse Input Module
Location
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > PI Setup or EPI
Setup
Trip State
The Trip State property specifies the value on which to begin collecting events.
Applies To
SOE
Location
Application tree > Implementation > SOE Configuration
630
Appendix A
Trip Tagname
The Trip Tagname property specifies the tagname (variable) that identifies whether a trip has
occurred.
Applies To
SOE
Location
Application tree > Implementation > SOE Configuration
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC or TCM/B
Setup > Protocols tab
Tricon Controller tree > Configuration > Hardware Allocation >TCM or TCM/A Setup >
Network tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Protocols tab
Applies To
Communication
Location
Trident or Tri-GP Controller tree > TriStation Communication
631
True Color
See Monitor Display Options on page 564.
TSAA IP multicasting is available only with Tricon v10.3 and later systems, Trident 2.x
systems, or Tri-GP systems. Because NET 2 is reserved for OPC communication, the
TSAA protocol is available only on NET 1 for model 4353 and 4354 TCMs. Additionally,
your network hardware (such as routers) must also support multicasting. See your
Network Administrator or IT department for more information.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup >
Protocols tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Protocols tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Protocols tab
632
Appendix A
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC or TCM/B
Setup > Protocols tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A Setup > Network
tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Protocols tab
Applies To
ST programs and functions
Locations
Applies To
Tricon SMM
Location
Tricon Controller tree > Configuration > Hardware Allocation > SMM Setup
633
Peer-to-Peer UDP port number on NET 2, because the ports are on separate networks. However,
you cannot assign 1600 as the TriStation UDP port number on NET 1, and 1600 as the Peer-toPeer port number on NET 1, because the ports are on the same network.
Because NET 2 is reserved for OPC communication, the Peer-to-Peer and TSAA protocols are
available only on NET 1 for model 4353 and 4354 TCMs.
The following values are reserved:
Reserved Value(s)
Protocol
Notes
1500
TSAA
1502
TriStation
15031504
Peer-to-Peer
15051508
Firmware download
1510
Management
11023
Also see Management Port Number on page 557, TriStation Port Number on page 630, and
TSAA Port Number on page 631.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Peerto-Peer tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Peer-to-Peer tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Network tab
Tricon Controller tree > Configuration > TriStation Communication
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Peer-to-Peer tab
Undo Command
The Undo command reverses the last action performed when editing a program, function, or
function block.
Applies To
Editing
Location
Edit menu
634
Appendix A
Update Rate
The TSAA Multicast Update Rate property specifies the update rate, in milliseconds, for TSAA
IP multicasting.
Bin data and/or SOE data available messages will be sent to the multicast IP address at the
specified update rate (for example, by default, bin data will be multicast every 1000ms).
TSAA IP multicasting is available only with Tricon v10.3 and later systems, Trident 2.x systems,
or Tri-GP systems. See also TSAA Multicast IP Address on page 631.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup >
Protocols tab
Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B
Setup > Protocols tab
Trident 2.x or Tri-GP Controller tree > Configuration > Hardware Allocation > CM Setup >
Protocols tab
Applies To
Reports
Location
Project tree > right-click the Default Reports or User Reports folder
Applies To
CEM programs
Location
Tools menu
635
Usage
The Usage property specifies how function blocks can be used in a function or function block.
For library function blocks, the options determine the usage and cannot be changed. For userdefined function blocks, the settings can be specified. Settings include:
Applies To
Library and user-defined function blocks
Location
Document Properties > Usage tab
Applies To
Application
Location
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > MP > Setup >
Operating Parameters tab
Applies To
Project
Location
Controller tree > Configuration > Hardware Allocation > Replace MPs
636
Appendix A
Value
The Value property specifies the value for the constant. To ensure the value agrees with the Data
Type, click Apply.
Applies To
Constants
Location
Properties > Constant tab
Applies To
Points with REAL data types
Location
Application tree > Tagname Declarations > Scaling tab
Var/Const
The Var/Const property displays the names of the variables connected to the terminals of the
function or function block in a CEM program. Only user-defined variables are displayed.
Internal variables are hidden.
Applies To
CEM programs
Location
Application tree > open a CEM program > Variable Detail Table
637
Var Type
The Var Type property specifies the type of variable. Types include:
Type
Description
Input
Output
A variable which returns the result of a program, function, or function block. Must be
connected to a point.
In/Out
A variable which is used as both an input and output variable. Must be connected to a
point.
Local
Tagname
Applies To
Variables
Location
Properties > Declarations tab
Applies To
Application
Location
Controller tree > Controller Panel > Commands menu
Verify Password
The Verify Password property allows you to enter the password a second time to verify it is the
same as entered for the Password property.
Applies To
User access, Security
Location
Project menu > Security command > Users tab > Add or Modify button
638
Appendix A
Applies To
Libraries
Location
Application tree > right-click Library Documents > Manage command
Applies To
FBD logic sheets
Locations
639
Property
Description
St
An icon that indicates the status of the element. An arrow indicates that the
element was included in a Download All operation; an ellipsis (...) means it was
included in a Download Changes operation.
Element Name
ID#
Ver
Size
Library
Applies To
Project
Location
Project menu
Applies To
CEM programs
Location
Document menu
Applies To
Programs, Functions, and Function Blocks
Location
Document menu
640
Appendix A
Applies To
CEM programs
Location
View menu
Applies To
Project
Locations
Width
The Width property specifies the width (horizontal space) of the variable or constant symbol.
By selecting either the plus (+) or the minus (-) buttons, you can expand or shrink the width of
the variable symbol so you can use a longer name or fit the symbol into a smaller space.
Applies To
Variables
Location
Properties > Selected tab
641
Normal: The first function block is always evaluated before the second function block.
For example, the first function block writes the value and the second function block
reads the value. Represented by a solid line.
Feedback: The first function block is always evaluated after the second function block.
Typically used to tie the output of a function block to an input of the same function
blockso that the value of the output is used to feed it back to the input. Also
useful for delaying a write from the first function block until after the second function
block has read a value. Represented by a dashed line.
The default is Normal. To set, double-click the wire and select either Normal or Feedback.
Note
Attempting to create a feedback loop without using the feedback wire will cause an
error.
Applies To
FBD programs
Locations
Wire Type
The Wire Type property specifies the type of wire used for serial communication.
Settings include:
2-Wire (half duplex) if using one pair of wires for Modbus reads and writes. (Only
available when the Transceiver Mode property is set to RS-485.)
4-Wire (full duplex) if using two pairs of wiresone pair for Modbus reads and the
other pair for Modbus writes. (Trident or Tri-GP MP serial ports must use this setting.)
Applies To
Serial ports
Location
Trident or Tri-GP Controller tree > Configuration > Hardware Allocation > MP or CM Setup >
Serial Ports tab
642
Appendix A
Applies To
TriStation 1131 workspace
Locations
Applies To
ST programs, ST functions, and intermediate ST for all programs and functions
Location
Edit menu
Zoom Command
The Zoom command enlarges or decreases the view
of an element.
Standard settings are: 50%, 75%, 100%, and 200%.
You can also enter a number or click Zoom To Fit to
size the elements to fit the current window. You can
enlarge the view of elements on a logic sheet by:
Applies To
Logic sheets for user documents, test sheets for Controller and Emulator Panels
Locations
Zoom button
View menu
Double-click an empty area in a logic sheet
643
Applies To
Logic sheets for user documents, test sheets for the Controller and Emulator Panels
Locations
Zoom To Region
The Zoom To Region command allows you to zoom into a region of the sheet.
Procedure
1
Select the region to view by dragging the cross-bar across the area.
The region is magnified.
Applies To
FBD and LD editors
Location
View menu
644
Appendix A
B
Data Types
Overview 646
Elementary Data Types 647
Generic Data Types 658
646
Appendix B
Data Types
Overview
Data types, which adhere to the IEC 61131-3 standard, specify the type of data used for the
following:
Constants
647
Data Type
Description
Tagnames
Constants and
Local Variables
BOOL
DATE
A specific date
DINT
DT
DWORD
INT
LREAL
REAL
STRING
TIME
TOD
Only three data types can be declared as controller points: BOOL, DINT, and REAL. These
variables point to hardware addresses in the controller and are accessible to all programs in a
project.
648
Appendix B
Data Types
Description
Keyword/type
BOOL
Description
Boolean
Size
1 bit
Default value
False (0)
Lower limit
False (0)
Upper limit
True (1)
N/A
Application Notes
Description
Keyword/type
DATE
Description
Date
Size
64 bits
Syntax
D#CCYY-MM-DD
Default value
D#1970-01-01
Lower limit
D#1970-01-01
Upper limit
D#2029-12-31
Invalid date
Invalid date
Application Notes
649
Description
Keyword/type
DINT
Description
Double integer
Size
32 bits
Default value
Lower limit
2**31
Upper limit
2**311
Note
If the intermediate conversion value is out of range (for example, when converting
LREAL to DINT), the return value is the smallest or greatest double integer.
Application Notes
DT Data Type
A DT data type represents a date and time of day. To specify the time of day, you can use
fractions (FFF) of a second. Values are stored internally in microseconds and displayed in the
TriStation 1131 Controller Panel in milliseconds.
A DT data type cannot be used as a program input or output.
Attribute
Description
Keyword/type
DT
Description
Size
64 bits
Syntax
DT#CCYY-MM-DD-HH:MM:SS
or
DT#CCYY-MM-DD-HH:MM:SS.FFF
or
DATE_AND_TIME#CCYY-MM-DD-HH:MM:SS
Default value
DT#1970-01-01-00:00:00
Lower limit
DT#1970-01-01-00:00:00
650
Appendix B
Data Types
Attribute
Description
Upper limit
DT#2029-12-31-23:59:59.999
Invalid date
Invalid date
Application Notes
Description
Keyword/type
DWORD
Description
Double word
Size
32 bits
Default value
Lower limit
Upper limit
16#FFFFFFFF
N/A
V and 16#FFFFFFFF
Application Notes
651
Description
Keyword/type
INT
Description
Integer
Size
32 bits
Default value
Lower limit
2**15
Upper limit
2**151
InvINT
InvINT
Application Notes
Description
Keyword/type
LREAL
Description
Long-real number
Size
64 bits
Default value
0.0
1.7976931348623158 e +308
652
Appendix B
Data Types
Attribute
Description
4.9406564584124654 e 324
4.9406564584124654 e 324
1.7976931348623158 e +308
Infinity or HUGE
+Infinity or HUGE
21022 = 2.2250738585072014E308.
21074 = 4.9406564584124654E324.
This table shows how the precision changes as LREAL numbers approach zero.
If |x| Is Greater Than:
5.0E308
17 digits
5.0E309
16 digits
5.0E310
15 digits
5.0E322
3 digits
5.0E323
2 digits
5.0E324
1 digits
0.0
0 digits
653
Absolute error is the absolute value of x a, where x is the exact value and a is the actual value
stored.
Relative error is the absolute value of (x a)/x, where x is the exact value and a is the actual value
stored.
This table shows how gradual underflow affects absolute error and relative error as LREAL
numbers approach zero.
Range
Maximum
Absolute Error
Maximum Relative
Error
|x|
21075
21075 / |x|
253 * |x|
253
Application Notes
Description
Keyword/type
REAL
Description
Real number
Size
32 bits
Default value
0.0
3.402823466 e +38
1.401298464 e 45
1.401298464 e 45
3.402823466 e +38
Infinity or HUGE
+Infinity or HUGE
654
Appendix B
Data Types
With Underflow
2126 = 1.175494351E-38.
The precision changes abruptly from 7 digits to 0
digits when the value changes from a number
greater than 2127 to a number less than 2127.
This table shows how the precision changes as numbers approach zero.
If |x| Is Greater Than:
1.5E39
7 digits
1.5E40
6 digits
1.5E41
5 digits
1.5E42
4 digits
1.5E43
3 digits
1.5E44
2 digits
1.5E45
1 digits
0.0
0 digits
Absolute error is the absolute value of x a, where x is the exact value and a is the actual value
stored.
Relative error is the absolute value of (x a)/x, where x is the exact value and a is the actual value
stored.
This table shows how gradual underflow affects absolute error and relative error as REAL
numbers approach zero.
Range
Maximum
Absolute Error
Maximum
Relative Error
|x|
2150
2150 / |x|
224 * |x|
224
655
Application Notes
Description
Keyword/type
STRING
Description
Character string
Size
136 bytes
Default Value
Lower limit
0 characters
Upper limit
132 characters
Truncated string
N/A
Application Notes
656
Appendix B
Data Types
Description
Keyword/type
TIME
Description
Duration
Size
64 bits
Syntax
TIME#11d
or
TIME#22.2h
or
TIME#33.3m
or
TIME#44.4s
or
TIME#55.5ms
or
TIME#11d22h33m44s55.5ms
or
T#11d22h33m44s55.5ms
or
T#44.4s
Default value
TIME#0S
Lower limit
TIME#-3652134d
Upper limit
TIME#3652134d
Inv Time
Inv Time
Application Notes
657
Description
Keyword/type
TOD
Description
Time of day
Size
64 bits
Syntax
TOD#HH:MM:SS
or
TOD#HH:MM:SS.FFF
or
TIME_OF_DAY#HH:MM:SS
Default value
TOD#00:00:00
Lower limit
TOD#00:00:00
Upper limit
TOD#23:59:59.999
V modulo 24 hours
V modulo 24 hours
Application Notes
658
Appendix B
Data Types
Figure 43
This table lists the meaning of each generic data type and the standard data types it represents.
Table 60
Data Type
ANY
Any of the standard data types: BOOL, DATE, DINT, DT, DWORD, INT, LREAL,
REAL, STRING, TIME, TOD, or Derived
ANY_NUM
ANY_REAL
ANY_INT
ANY_BIT
ANY_DATE
ANY_NOTE1
Any elementary data type: BOOL, DATE, DINT, DT, DWORD, INT, LREAL,
REAL, STRING, TIME, or TOD. Note that each of these types is ordered so that
values of the same type can be compared (see functions EQ, GE, GT, LE, LT, NE,
MIN, and MAX).
C
TCM Model 4351/4352 Configuration
Overview 660
Configuring TCM Ports 661
Using a Tricon TCM to Synchronize Time 673
Configuring a Tricon TCM Printer Port for Printing 678
660
Appendix C
Overview
If you have an older model 4351 or 4352 TCM installed in your system, some of the
configuration options are different than those for later model TCMs (models 4351A, 4352A,
4351B, 4352B, 4353, and 4354).
Note
Model 4351 and 4352 TCMs can be installed only in Tricon v10.0.x systems. Tricon v10.1
and later systems do not support the model 4351 and 4352 TCMs.
The procedures in this appendix apply specifically to configuring the ports on the model 4351
or 4352 TCM, and should be followed in place of the TCM configuration procedures provided
in Chapters 3 and 5 of this guide.
If you have a model 4351A, 4352A, 4351B, 4352B, 4353, or 4354 TCM, do not use the procedures
in this appendix. You should instead use the information found in the following sections:
661
Model 4351 and 4352 TCMs can be installed only in Tricon v10.0.x systems.
Model 4351/4352 TCMs cannot be installed in a system that also has 4351A/4352A or
4351B/4352B TCMs installed, even if they are installed in different chassis.
See the Planning and Installation Guide for Tricon v9-v10 Systems for detailed TCM installation
guidelines. For more detailed compatibility information, please see the Product Release Notice for
your Tricon system version.
TCM models 4351 (Copper)/4352 (Fiber) support the following protocols on network and serial
ports.
Protocol
Network Ports
Serial Ports
TriStation
NET 2
Port 4
TSAA (UDP/IP)
NET 2
Peer-to-Peer (UDP/IP)
NET 1
Peer-to-Peer (DLC)
NET 1
Any port
Any port
NET 2
Port 1
NET 1
NET 2
NET 2
Note
Invensys recommends configuring a serial connection to the TCM first, because it is less
complex and easier to successfully connect to the TCM through the serial port.
Once you have successfully connected to the TCM and downloaded the initial
configuration to the Tricon, you can go back and configure the more complex network
connection, without worrying about losing the ability to communicate with the
controller altogether.
662
Appendix C
Using a Tricon TCM to Synchronize Time on page 673 for instructions on configuring
the TCM to synchronize time.
Configuring a Tricon TCM Printer Port for Printing on page 678 for instructions on
configuring the TCM for use with a printer.
4351 to 4352
4352 to 4351
Any other TCM model changes will result in all port settings being reset to their default values.
However, once the configuration has been downloaded to the controller, you cannot change the
TCM model installed in the Tricon system without downloading a new configuration.
663
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup.
The TCM Setup dialog box appears.
Action
Port Selection
Protocol
664
Appendix C
5
Note
Property
Action
Baud Rate
Data Bits
Stop Bits
Parity
Select the type of parity for the port. The default is Odd.
Transceiver Mode
Handshake
Termination Options
FP Ordering
Enter the port number that the TCM will use in the Modbus
Master functions to access the port. Only available for
Modbus Master.
665
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup.
The TCM Setup dialog box appears.
Action
Slot Selection
Select the slot where the TCM module you want to configure
is installed.
Not Installed,
Installed
Enable Network
666
Appendix C
Property
Action
Transceiver Mode
IP Address
Enter the IP Address for the port. NET 1 and NET 2 cannot use
the same IP address. The default for NET 1 is 192.168.1.0; for
NET 2 is 192.168.1.1.
The highest and lowest IP addresses in a subnet (addresses
where the last number is 0 or 255, such as 192.168.1.255) are
reserved for broadcast messaging and cannot be used as a
valid IP address.
IP Subnet Mask
Default Gateway IP
Address
4
Note
TriStation
Configuration:
UDP Port Number
The UDP port to use for the TriStation connection. The default
is 1502. See UDP Base Port Number on page 632 for additional
information.
TSAA
Configuration:
UDP Port Number
Select this check box if you want to allow TSAA writes to the
network ports. Applies to all TSAA connections on these
ports. The default is cleared (the ports are read-only).
667
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup.
The TCM Setup dialog box appears.
Under Slot Selection, select the module (slot) you want to configure Peer-to-Peer ports
for.
Action
IP Address
Click Update to apply the new settings for the selected node.
668
Appendix C
Note
8
If necessary, click Reset All to reset all node settings for the selected slot to their
default, unconfigured state.
Once all nodes have been configured, specify these properties (applicable to all nodes on
the Peer-to-Peer network).
Property
Action
Enter the UDP base port number for the controller. Enter 0 to
disable Peer-to-Peer over UDP/IP on the network.
The default is 1503. UDP port numbers must be unique. See
UDP Base Port Number on page 632 for reserved values.
Enable Communication
with Tricon V8 and V9
Peer-to-Peer Systems on
NET 1
669
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup.
The TCM Setup dialog box appears.
Under Slot Selection, select the module (slot) you want to configure Modbus TCP ports
for.
Action
Protocol
670
Appendix C
Property
Action
Enter the number for the TCP port. The default is 502.
IP Address
FP Ordering
Modbus (Minimum
and Maximum) Range
671
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup.
The TCM Setup dialog box appears.
Action
Destination IP
Address
Destination IP
Subnet Mask
672
Appendix C
Property
Action
Destination
Gateway IP
Address
Click Update Destination to apply the settings. If necessary, click Reset All to reset all
destination settings for the selected slot to their default, unconfigured state.
673
GPS
SNTP
In a redundant network of Tricon controllers that each have two TCMs installed, you can
implement redundant time synchronization by configuring time synchronization for both TCM
modules (both left and right slots). Time synchronization can be enabled only for a single logical
slot.
If the TCM is installed in the COM slot, you configure time synchronization only for the left slot
(there is no redundancy when installed in the COM slot).
Topics include:
CAUTION
To ensure the accuracy of GPS time adjustments, the Tricon clock must be
set to within 10 minutes of the correct local time.
If the TCM is in a Peer-to-Peer network, it can also be used as the master node for time
synchronization of other controllers on the network. In this configuration, the master node TCM
synchronizes time with the GPS, and any slave nodes on the Peer-to-Peer network synchronize
their time with the master TCM. In this way, all nodes on the Peer-to-Peer network are
synchronized with GPS time.
If the TCM is acting as a slave node on a Peer-to-Peer network, it cannot be configured for GPS
time synchronization. Slave nodes synchronize their time only to the master node on the Peerto-Peer network, and reject all other time change requests.
GPS time synchronization uses Serial Port 1 on the TCM.
Procedure
1
674
Appendix C
Double-click the slot where the TCM module is installed and then click Setup. The TCM
Setup dialog box appears.
Under Slot Selection, click Left Slot. You must configure the module in the left slot first.
(Optional) If you have a redundant TCM installed in the right slot, under Slot Selection,
click Right Slot, and then select GPS Redundant.
Note
The module in the right slot can be configured only if it has been installed (see
Configuring TCM Network Ports on page 665) and if the module in the left slot
has already been configured for GPS time synchronization.
Enabling the TCM as a Master Node for Triconex Time Synchronization (Optional)
If you also want the TCM to be able to act as a master node for time synchronization of other
controllers on a Peer-to-Peer network (using Triconex Time Synchronization) do the following:
1
In the Configuration tree, click Operating Parameters (see Setting Tricon Operating
Parameters on page 249).
675
SNTP time synchronization is less accurate than GPS time synchronization. Because the
SNTP server resides on a PC, network load issues or PC performance can result in delays
in processing time update requests from the Tricon controller.
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup. The TCM
Setup dialog box appears.
Under Slot Selection, click Left Slot. You must configure the module in the left slot first.
676
Appendix C
Property
Action
Time Synchronization
Configuration
(Optional) If you have a redundant TCM installed in the right slot, under Slot Selection,
click Right Slot, and then select these properties.
Property
Action
Time Synchronization
Configuration
Note
The module in the right slot can be configured only if it has been installed (see
Configuring TCM Network Ports on page 665) and if the module in the left slot
has already been configured for SNTP time synchronization.
Enabling the TCM as a Master Node for Triconex Time Synchronization (Optional)
If you also want the TCM to be able to act as a master node for time synchronization of other
controllers on a Peer-to-Peer network (using Triconex Time Synchronization) do the following:
1
In the Configuration tree, click Operating Parameters (see Setting Tricon Operating
Parameters on page 249).
677
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup. The TCM
Setup dialog box appears.
Select the Peer-to-Peer Time Synchronization Enabled check box to enable Triconex
Time Synchronization across the Peer-to-Peer network.
In the Configuration tree, click Operating Parameters (see Setting Tricon Operating
Parameters on page 249).
678
Appendix C
Procedure
1
Double-click the slot where the TCM module is installed and then click Setup.
The TCM Setup dialog box appears.
Specify these properties for the module installed in the Left Slot.
Property
Action
Printer Number
Enter the number for the printer; can only be 5 or 10. The default
is 0, meaning a printer is not configured.
Line Width
Enter the number of the TCP port for the print server. The default
is 9100 for an HP printer.
IP Address
If a module is also installed in the Right Slot, repeat step 4 for that module.
D
Reserved Names
680
Appendix D
Reserved Names
AT
_*
ATAN
ABS
BECOMES
ACOS
BLINK
ACTION
BLINK_I
ADD
BLINK_R
AIN
BOOL
AIN_BP
BOOL_TO_BYTE
AIN_BP12
BOOL_TO_DWORD
AIN_HR
BOOL_TO_STRING
AND
BOOL_TO_WORD
ANY
BY
ANY_BIT
BYTE
ANY_DATE
BYTE_TO_BOOL
ANY_INT
BYTE_TO_DWORD
ANY_NOTE1
BYTE_TO_WORD
ANY_NUM
C##B
ANY_REAL
C##F#
AOUT
CASE
AOUT_BP12
CEIL
ARRAY
CHK_ERR
ARRAY32_BOOL
CLR_ERR
ARRAY32_DINT
CONCAT
ARRAY32_REAL
CONCAT_DT
ASIN
CONCAT_STRING
ASSIGN
CONFIGURATION
681
DATE_AND_TIME
COS
DDEC
CSCHED
DEBUG_MODVARS
CSCHED_I
DELETE
CSCHED_R
DINC
CTD
DINT
CTU
DINT_TO_DWORD
CTUD
DINT_TO_INT
D_ADD
DINT_TO_LREAL
D_CMP
DINT_TO_REAL
D_CMPE
DINT_TO_SINT
D_DIV
DINT_TO_STRING
D_DTOF
DINT_TO_UDINT
D_DTOI
DINT_TO_UINT
D_DTOLL
DINT_TO_USINT
D_DTOQ
DIV
D_DTOU
DO
D_DTOULL
DPFABS
D_FEQ
DT
D_FGE
DT_TO_DATE
D_FGT
DT_TO_TOD
D_FLE
DWORD
D_FLT
DWORD_TO_BOOL
D_FNE
DWORD_TO_BYTE
D_ITOD
DWORD_TO_DINT
D_LLTOD
DWORD_TO_WORD
D_MUL
E##B
D_NEG
E##C##B
D_QTOD
E##C##F
D_SUB
E##F#
D_ULLTOD
ELSE
D_UTOD
ELSIF
DATE
EN
682
Appendix D
Reserved Names
F_FLT
END_CASE
F_FNE
END_CONFIGURATION
F_FTOD
END_FOR
F_FTOI
END_FUNCTION
F_FTOLL
END_FUNCTION_BLOCK
F_FTOQ
END_IF
F_FTOU
END_PROGRAM
F_FTOULL
END_REPEAT
F_ITOF
END_RESOURCE
F_LLTOF
END_STEP
F_MUL
END_STRUCT
F_NEG
END_TRANSITION
F_QTOF
END_TYPE
F_SUB
END_VAR
F_TRIG
END_WHILE
F_ULLTOF
ENO
F_UTOF
EQ
FALSE
ERRNO
FDEC
EXIT
FINC
EXP
FIND
EXPFLTR
FLOOR
EXPT
FOR
EXTERN
FP_ROUND
F_ADD
FPFABS
F_CMP
FROM
F_CMPE
FUNCTION
F_DIV
FUNCTION_BLOCK
F_EDGE
GASDETR
F_FEQ
GATDIS
F_FGE
GATENB
F_FGT
GE
F_FLE
GETDELTA_DINT
683
LESSEQUAL
GETDELTAT
LIMIT
GETTIMER
LINEMNTR
GREATEREQUAL
LINT
GT
LN
IDENT
LOG
IF
LOOPDETR
INFINITY_LREAL
LPT05BUF
INFINITY_REAL
LPT10BUF
INITIAL_STEP
LREAL
INSERT
LREAL_TO_DINT
INT
LREAL_TO_INT
INT_TO_DINT
LREAL_TO_REAL
INT_TO_LREAL
LREAL_TO_SINT
INT_TO_REAL
LREAL_TO_UDINT
INT_TO_SINT
LREAL_TO_UINT
INT_TO_STRING
LREAL_TO_USINT
INT_TO_UDINT
LSX_CLEAR_ALL_FAULTS
INT_TO_UINT
LSX_DI_POINT
INT_TO_USINT
LSX_II_POINT
INTERNAL
LSX_RI_POINT
INTGTOR
LT
INTGTOR_R
LWORD
ISFINITE_LREAL
MAX
ISFINITE_REAL
MBCTRL
ISNAN_LREAL
MBREAD_BOOL
ISNAN_REAL
MBREAD_DINT
L_EDGE
MBREAD_REAL
LE
MBREAD_REAL_TRD
LEADLAG
MBWRITE_BOOL
LEADLAG_R
MBWRITE_DINT
LEFT
MBWRITE_REAL
LEN
MBWRITE_REAL_TRD
684
Appendix D
Reserved Names
PRINT_CRLF
MID
PRINT_CTOD
MIN
PRINT_DINT
MINUS_INFINITY_LREAL
PRINT_REAL
MINUS_INFINITY_REAL
PRINT_STRING
MOD
PRIORITY
MOVE
PRNTR_FLUSH
MUL
PROGRAM
MUX
R_EDGE
NAN_LREAL
R_TRIG
NAN_REAL
READ_ONLY
NE
READ_WRITE
NEG
READ_WRT
NIL
REAL
NOT
REAL_TO_DINT
NOTEQUAL
REAL_TO_INT
NUMBITS
REAL_TO_LREAL
NUMBITS_DWORD
REAL_TO_SINT
OF
REAL_TO_UDINT
ON
REAL_TO_UINT
OR
REAL_TO_USINT
OVDDISABLE
REPEAT
OVDENABLE
REPLACE
PACK16
REPORT_BAD_PARAM
PACK32
REPORTBADPARAM
PAGE_EJECT
RESOURCE
PERDEV
RETAIN
PID
RETURN
PID_R
RIGHT
POLY4
ROL
POLY5
ROR
PRINT_BOOL
RS
PRINT_CDT
RTC
685
SYS_DI16_AI16_STATUS
SEL
SYS_DI32_STATUS
SEMA
SYS_DO16_STATUS
SET_ERR
SYS_EPI06_STATUS
SHL
SYS_HRDI32_STATUS
SHR
SYS_II_POINT
SIN
SYS_IO_STATUS
SINGLE
SYS_IOP_STATUS
SINT
SYS_MP_EXT_STATUS
SINT_TO_DINT
SYS_MP_RESET_PORTS
SINT_TO_INT
SYS_MP_STATUS
SINT_TO_LREAL
SYS_OVD_INHIBIT
SINT_TO_REAL
SYS_PI06_STATUS
SINT_TO_UDINT
SYS_RI_POINT
SINT_TO_UINT
SYS_RO32_STATUS
SINT_TO_USINT
SYS_SDO16_STATUS
SOECLR
SYS_SERIAL_PORT
SOESTAT
SYS_SET_APP_LOCK
SOESTOP
SYS_SET_PROG_ALARM
SOESTRT
SYS_SET_REMOTE_WRT_ENBL
SQRT
SYS_SHUTDOWN
SR
SYS_SYSTEM_STATUS
STEP
SYS_VOTE_MODE
STRING
TAN
STRUCT
TASK
SUB
TCJ_CONV
SYS_AI32_STATUS
TCK_CONV
SYS_AO04_STATUS
TDD_I
SYS_APP_HALT
TDD_R
SYS_CLEAR_FLTS
TDE_I
SYS_CM_STATUS
TDE_R
SYS_CRITICAL_IO
THEN
SYS_DI_POINT
TIME
686
Appendix D
Reserved Names
TR_URCV_BOOL
TIME_TO_LREAL
TR_URCV_DINT
TIME_TO_SECS
TR_URCV_DINT_32
TIME_TO_SECS_REAL
TR_URCV_REAL
TIMEADJ
TR_URCV_REAL_32
TIMESET
TR_USEND_BOOL
TMR
TR_USEND_DINT
TMR_I
TR_USEND_DINT_32
TMR_R
TR_USEND_REAL
TO
TR_USEND_REAL_32
TOD
TR_VOTE_MODE
TOF
TRANSITION
TOGGLE
TRUNC_*_TO_*
TON
TRUNC_LREAL_TO_DINT
TP
TRUNC_LREAL_TO_INT
TP_I
TRUNC_LREAL_TO_SINT
TP_R
TRUNC_LREAL_TO_UDINT
TRUE
TRUNC_LREAL_TO_UINT
TR_64_POINT_STATUS
TRUNC_LREAL_TO_USINT
TR_CALENDAR
TRUNC_REAL_TO_DINT
TR_CHASSIS_STATUS
TRUNC_REAL_TO_INT
TR_CRITICAL_IO
TRUNC_REAL_TO_SINT
TR_LOG_EVENT
TRUNC_REAL_TO_UDINT
TR_LOG_EVENT_DINT
TRUNC_REAL_TO_UINT
TR_LOG_EVENT_DWORDS
TRUNC_REAL_TO_USINT
TR_MP_STATUS
TSCHED
TR_PEER_STATUS
TSCHED_I
TR_POINT_STATUS
TSCHED_R
TR_PORT_STATUS
TYPE
TR_PROGRAM_STATUS
UDINT
TR_SCAN_STATUS
UDINT_TO_DINT
TR_SHUTDOWN
UDINT_TO_INT
TR_SLOT_STATUS
UDINT_TO_LREAL
687
WHILE
UDINT_TO_SINT
WITH
UDINT_TO_UINT
WORD
UDINT_TO_USINT
WORD_TO_BOOL
UINT
WORD_TO_BYTE
UINT_TO_DINT
WORD_TO_DWORD
UINT_TO_INT
X_OF_N
UINT_TO_LREAL
XOR
UINT_TO_REAL
UINT_TO_SINT
UINT_TO_UDINT
UINT_TO_USINT
ULINT
UNPACK16
UNPACK32
UNTIL
UPTO
USINT
USINT_TO_DINT
USINT_TO_INT
USINT_TO_LREAL
USINT_TO_REAL
USINT_TO_SINT
USINT_TO_UDINT
USINT_TO_UINT
VAR
VAR_ACCESS
VAR_EXTERNAL
VAR_GLOBAL
VAR_IN_OUT
VAR_INPUT
VAR_OUTPUT
VAR_TEMP
688
Appendix D
Reserved Names
If you receive this error message when exporting tagnames to Microsoft Excel files, check the
list to see if the name used is reserved. If the name is reserved, use a different name for exporting
tagnames.
For information on how to export tagnames, see Importing and Exporting Tagnames on
page 189.
Names are not case-sensitive. For example, all of the following words are reserved:
AT
ACTION
AUTHORIZATION
ADA
AVG
ADD
BEGIN
ALL
BETWEEN
ALLOCATE
BIT
ALTER
BIT_LENGTH
AND
BOTH
ANY
BY
ARE
CASCADE
AS
CASCADED
ASC
CASE
ASSERTION
CAST
689
DECLARE
CHAR
DEFAULT
CHAR_LENGTH
DEFERRABLE
CHARACTER
DEFERRED
CHARACTER_LENGTH
DELETE
CHECK
DESC
CLOSE
DESCRIBE
COALESCE
DESCRIPTOR
COLLATE
DIAGNOSTICS
COLLATION
DISCONNECT
COLUMN
DISTINCT
COMMIT
DOMAIN
CONNECT
DOUBLE
CONNECTION
DROP
CONSTRAINT
ELSE
CONSTRAINTS
END
CONTINUE
END-EXEC
CONVERT
ESCAPE
CORRESPONDING
EXCEPT
COUNT
EXCEPTION
CREATE
EXEC
CROSS
EXECUTE
CURRENT
EXISTS
CURRENT_DATE
EXTERNAL
CURRENT_TIME
EXTRACT
CURRENT_TIMESTAMP
FALSE
CURRENT_USER
FETCH
CURSOR
FIRST
DATE
FLOAT
DAY
FOR
DEALLOCATE
FOREIGN
DEC
FORTRAN
DECIMAL
FOUND
690
Appendix D
Reserved Names
LEFT
FULL
LEVEL
GET
LIKE
GLOBAL
LOCAL
GO
LOWER
GOTO
MATCH
GRANT
MAX
GROUP
MIN
HAVING
MINUTE
HOUR
MODULE
IDENTITY
MONTH
IMMEDIATE
NAMES
IN
NATIONAL
INCLUDE
NATURAL
INDEX
NCHAR
INDICATOR
NEXT
INITIALLY
NO
INNER
NONE
INPUT
NOT
INSENSITIVE
NULL
INSERT
NULLIF
INT
NUMERIC
INTEGER
OCTET_LENGTH
INTERSECT
OF
INTERVAL
ON
INTO
ONLY
IS
OPEN
ISOLATION
OPTION
JOIN
OR
KEY
ORDER
LANGUAGE
OUTER
LAST
OUTPUT
LEADING
OVERLAPS
691
SQL
PARTIAL
SQLCA
PASCAL
SQLCODE
POSITION
SQLERROR
PRECISION
SQLSTATE
PREPARE
SQLWARNING
PRESERVE
SUBSTRING
PRIMARY
SUM
PRIOR
SYSTEM_USER
PRIVILEGES
TABLE
PROCEDURE
TEMPORARY
PUBLIC
THEN
READ
TIME
REAL
TIMESTAMP
REFERENCES
TIMEZONE_HOUR
RELATIVE
TIMEZONE_MINUTE
RESTRICT
TO
REVOKE
TRAILING
RIGHT
TRANSACTION
ROLLBACK
TRANSLATE
ROWS
TRANSLATION
SCHEMA
TRIM
SCROLL
TRUE
SECOND
UNION
SECTION
UNIQUE
SELECT
UNKNOWN
SESSION
UPDATE
SESSION_USER
UPPER
SET
USAGE
SIZE
USER
SMALLINT
USING
SOME
VALUE
SPACE
VALUES
692
Appendix D
Reserved Names
Index
A
access
changing element owner 115
operations 572
to TCM, controlling 386
to Tricon, restricting 229
to Trident CM, controlling 434
to Trident, restricting 234
to Tri-GP CM, controlling 434
to Tri-GP, restricting 234
user 54
aliases
assigning 174
special for Tricon 212
Alignment property 483
allocating memory points
Tricon 251
Trident 317
Tri-GP 317
allocation, Peer-to-Peer memory 221
Allow Disabling of Points property 230, 474, 483
access levels
CM 435
TCM 387
access list
See CM access list
See TCM access list
access logs, user
clearing 67
exporting 65
options 66
saving 65
viewing 64
ACM, See Tricon ACM
actual scan time 466
Add File command 481
Add Program to Execution List command 481
adding
custom Help file 52
custom reports 82
libraries 74
users 59
adding logic sheets 121
admin user, Windows 64
AI modules, Tricon 266
ALARMS 68
Alias Number property 481
Alias Type property 482
694
Index
application (continued)
comparing to last download 497
definition 102
development steps 99
Download All command 517
Download Changes command 518
execution order list 239
function block usage 127
parts 102
Peer-to-Peer 219
planning changes 471
rebuilding 241
run mode 596
safety and control 104
setting scan time 467
specifying Application Type 113
testing with Emulator 459
types of 485
BOOL
definition 648
specifying colors for monitoring 39
Border property 488
BPAO module 175
buffer, SOE 225
Build Application command 489
building an application 241, 489
C
CASE statement 139
Category property 489
Cause and Effect Matrix, see CEM language
Cause Effect Matrix Support property 490
Cause Header Functions On by Default property 490
CEM editor
FBD Network overview 145
language settings 50
managing views 162
matrix overview 145
overview 144
properties 147
specifying colors for monitoring 149
Variable Detail Table overview 146
CEM language
about 108
editor properties 147
editor settings 50
B
backing up
CM configuration 360
project file 5, 461, 487
TCM configuration 296
backup file (.bt2) generation, Emulator 43
Backup Project command 487
bad password error 29
banner text, security 78
Base Address property 487
Baud Rate property 488
bipolar input 267, 592
block selection, Foxboro I/A DCS 223
BNC connectors, terminating 380
CEM programs
default settings 147
deleting columns 156
deleting rows 157
element options 148
inserting columns 155
inserting rows 156
intermediate FBD or ST code 241
options 150
planning 142
resizing cells 154
saving views 162
selecting cells 153
size/hide columns 158
size/hide comments 160
size/hide rows 159
title block 161
CEMPLE, overview 142
Index
Centronics printing
setup 439
using a Tricon EICM port 392, 393
Change Colors command 491
Change Owner Command 492
Change State to Download All command 492
changing
library elements 77
logic sheet size 120
logic sheet title 122
password, user 60
security setting 55
Tricon system version 255
Trident system version 321
user logon name 60
chassis, Tricon
adding or deleting 262
configuration rules 262
high-density 262
low-density 262
power usage 264
target system version 12
Choose Another Tagname command 493
Clear History command 493
clearing user access logs 67
Client IP Address property 391, 438, 493
Client IP Subnet Mask property 391, 438
Client Protocols property 391, 438, 494
clock, setting for controller 602
695
CM
See Trident CM
See Tri-GP CM
CM access list
access levels 435
configuring 437
controller access 61
Deny Access 435
description 236
grouping clients 434
IP addresses 434
maximum number of entries 435
order of evaluation 437
permissions 435
protocols 435
Read Only 435
Read/Write 435
resources, defined 434
sample list 436
subnet mask, using 434
troubleshooting 413
696
Index
configuration (continued)
removing Trident modules 335
removing Tri-GP modules 335
steps for controller 246, 312
target system version, Tricon 252
target system version, Trident 318
target system version, Tri-GP 318
TCM protocols 292
tree 247, 313
Tricon operating parameters 249
Trident operating parameters 315
Tri-GP operating parameters 315
copying (continued)
ST code 130
CTS Pre-Delay setting 608
Current Version property 502
custom Help files, See Help files, custom
custom reports 82
customer support xv
Cut command 502
Cyber Security, NERC 7, 60, 64
constants
creating in FBD and LD 170
specifying in CEM 152
VAR CONSTANT 134
Index
disabled points
re-enabling 476
viewing 476
default (continued)
gateway, Tri-GP CM 451
IP address, Tricon 400
IP address, Trident 447
IP address, Trident 2.x 411
IP address, Tri-GP 411, 447
security banner text 8
security setting 11, 55
documents
attributes 113
changing owner 115
copying 110
creating 109
printing 91
restricting access 114
summary information 112
version number 33
download 15
options 41
state 11, 16, 74, 75, 462, 492
to controller 460
Download All
command 460, 517
procedure 480
development steps 99
Differential AI Input Type property 267, 511
digital output points, specifying fault detection 515
DINT data type 649
directories, TriStation 1131 46
Disable OVD on All Modules command 512
Disable OVD on Module... command 512
Disable Remote Changes to Outputs property 513
Disable Scaling property 513
Disable Stop on Keyswitch property 513
697
Download Changes
command 518
procedure 478
steps for 470
download state 462
Download Version property 519
downloaded project version 33, 462
downloaded version 461
downloading
disabled points, affect on 475
698
Index
downloading (continued)
project version changes after 462
timeout value 43
drawing colors
Change Colors command 491
Drawing Item property 520
properties 47
Drawing Item property 520
Drop command 520
DT data type definition 649
DWORD data type 650
E
E_LD_EXP chassis 262
Edit Sheet Title command 521
Edit Title Block command 521
Edit...Macros command 521
Edit/View Source command 521
editors
CEM properties 50, 147
FBD properties 48
LD properties 49
using FBD 117
using LD 118
using ST 130
Enhanced Security
changing to 55
defined 54
login 28
login attempts 27
passwords for 60
user names, rules for 60
Index
fiber
communication mode, TCM 283, 285
required cables for TCM 381
Field Power Monitoring property 267, 535
Field Power property 535
file generation, Emulator 43
files
data file location 503
project 586
Find In Application command 536
Find Text command 536
Find Text Options 536
firewall
using with CM 351
using with TCM 285
first-time connection
Tricon 376
Trident 411, 412
Tri-GP 411, 412
floating-point underflow
for LREAL data types 652
for REAL data types 654
Font Size property 537
forced points, options for 40
FBD language
about 105
adding annotations 200
adding comments 203
annotation 165, 171
creating constants 170
creating variables 163
declaring variables 164
editor 117
editor properties 48
EN/ENO property 523
intermediate code 241
selecting library elements 124
terminals 119
using macros 206
function blocks
definition 102
printing, Tricon 398
printing, Trident 445
printing, Tri-GP 445
properties 126
space saver setting 128
SYS_OVD_INHIBIT 335
VAR_IN_OUT parameters in 74
699
functions
creating 109
definition 102
EN/ENO property 523
enabling for a matrix 50, 147
enabling for CEM 148
properties 125
specifying Application Type 113
700
Index
functions (continued)
using in FBD 124
history (continued)
saving 597
viewing 640
GCS xv
I
I/A Series DCS 299
IDLE state 543
GPS
property 539
synchronization with NCMG 301
synchronization with TCM 303
gradual underflow
effect on absolute and relative error 653, 654
for LREAL data types 652
for REAL data types 654
importing
CM configuration 361
libraries 68
points 196
tagnames, file format for 190, 193
TCM configuration 297
H
half-duplex transceiver mode 627
Index
LD language (continued)
Contact Type property 500
creating constants 170
creating variables 163
declaring variables 164
editor 118
editor properties 49
EN/ENO property 523
power rails 595
selecting library elements 124
terminals 119
using macros 206
LD_EXP chassis 262
LD_MAIN chassis 262
LD_RXM chassis 262
Left-Handed Link Tool 552
IP address
default, Tricon 400
default, Trident 447
default, Tri-GP 447
for CM network port 351
for TCM network port 283, 285
methods for setting 446
setting with a Tricon EICM or TCM 402
setting, Tricon 400
setting, Trident 446451
setting, Tri-GP 446451
Trident 2.x 430
Tri-GP 430
library
documents, copying 111
elements, selecting 124
functions, application usage 127
language
Default Language property 506
setting default 36
local variables
Data Type property 503
declaring 137
LD language
about 106
adding annotations 200
adding comments 203
annotation 165, 171
Coil Type property 495
Compiler Warning When Right Rail is Missing
property 498
701
702
Index
login
access logs, viewing 64
attempts, number of 27
Enhanced Security 28
error messages 29
first time 28
Standard Security 28
troubleshooting 29
Windows Guest user 30
matrix
enabling functions 151
evaluation 143
evaluation options 148
FBD Network overview 145
overview 145
planning 142
resizing cells 154
Variable Detail Table overview 146
low-density chassis
adding to Tricon system 262
target system version 12
M
macros
%DESCRIPTION 509
%TAG 507
adding to annotations 206
default for annotations 506
Default Macros or Text property 506
editing 521
editing text 208
enabling editing 527
expanding 532
with annotations and comments 206
Macros command 555
Main Processor Connection Setup property 556
Main Processors, upgrading 255, 321
maintenance, application 470
Major Severity property 556
major.minor version 33, 462
Manage Sheets command 556
Manage Views command 557
Management Port Number property 557
Management protocol, CM 359
Management protocol, TCM 293
Index
modules
configuration, printing 309, 370
inserting, Tricon 265
inserting, Trident 334
inserting, Tri-GP 334
removing, Tricon 265
removing, Trident 335
removing, Tri-GP 335
Tricon AI 266
Tricon BPAO 175
Tricon DO 267
Tricon PI 269
Tricon Thermocouple 270
Trident EPI 339
Trident HRDI 336
Trident PI 339
Trident SDO 335
Tri-GP EPI 339
Tri-GP HRDI 336
Tri-GP SDO 335
upgrading, Trident 334
upgrading, Tri-GP 334
NERC
password rules 60
security banner text 7
user access logs 6467
N
Name Order property 566
703
O
OFFLINE state 570
On NET 1 Enable Time Synchronization property 570
On NET 2 Enable Time Synchronization property 571
Only Once setting 571
OPC
browsing tagnames 41
external client write access 233, 238
protocol 494
SOE block for 223, 294
704
Index
OPC (continued)
SOE severity 294
system events severity 295
TCM connection speed 285
TCM tagnames table 41
user access to 387
OPC System Events Severity property 571
Open Document command 571
Open Project command 572
Opened Point Alarm Threshold property 571
operand, ST language 131
operating parameters
Tricon 249
Trident 315
Tri-GP 315
operating systems supported 4
operation symbols, ST language 131
Operation Type property 572
PI module
configuring, Tricon 269
configuring, Trident 339
options
download 41
project 35
TriStation 1131 45
user access logs 66
points
allocating memory, Tricon 251
allocating memory, Trident 317
allocating memory, Tri-GP 317
Allow Disabling of Points property 483
assigning aliases 210
creating multiple tagnames 180
Data Type property 503
declaring tagnames 172
disabling 230, 474, 475
forced, options for 40
forcing 477
import options 195
memory 177
overview 172
re-enabling 476
restricting access to Trident 237
restricting access to Tri-GP 237
scaling REAL values 178
undeclared 184
viewing disabled 476
write access to Tricon 232233
write access to Trident 235238
write access to Tri-GP 235238
P
parameters, POINTS_DISABLED 474
Parity property 575
partial changes, library 77
Password property 575
Password Required for Connection property 576
passwords
default 28
login errors 29
rules for 60
user 60
Windows 28, 55
Index
705
PRINTER parameter
Tricon 398
Trident 445
Tri-GP 445
printing
configuring for Trident CM 442
configuring for Tri-GP CM 442
configuring Tricon EICM port 394
configuring Tricon TCM port 397
connecting to Tricon TCM 395
connecting to Trident CM 440
connecting to Tri-GP CM 440
documents, individual 94
documents, multiple 94
logic sheets 122
module configuration, Tricon 309
module configuration, Trident 370
module configuration, Tri-GP 370
project documents 91
reports 80
scan time increases 392, 439
with Tricon 392
with Trident 439
with Tri-GP 439
Privilege property 584
privileges, security 61
process safety time 466
Program command 585
program execution, controller 464
Program Execution List property 584
Program mode, described 458
program organizational units 102
Program Variable Listing report 92
programming, about languages 105
Programming Mode, See Program command
programs
compiling 240
creating 109
definition 102
maximum number of 102, 239
order on execution list 239
specifying Application Type 113
viewing number of variables in 169
Prohibit Writes property 585
project
annotation properties 37
backing up 5, 461, 487
cannot edit 54
cannot open 27
CEM monitor colors 149
changing the download state 492
706
Index
project (continued)
closing 495
compiling 498
conversion rules 12
converting from v2.x or v3.x 17
converting to v4.8.0 11
converting Tricon from v4.7.0 and earlier 13
converting Trident from v4.7.0 and earlier 15
creating 20
default directory for 46
description, adding 31
documents, printing 91
downgrading system version, Tricon 255
downgrading system version, Trident 321
download options 41
Emulator version 33
enabling features 530
exiting 532
exporting elements 69
file access rules 27
forced points options 40
language properties 36
logging in 27
monitor colors 39
options 35
properties 35
Roll Backward or Forward command 595
sample 5
security setting, default 11
selecting target system 11
selecting target system, Tricon 22
selecting target system, Trident 24
selecting target system, Tri-GP 26
upgrading system version, Tricon 255
upgrading system version, Trident 321
upgrading, Tricon 13
upgrading, Trident 15
version number 33
viewing history 640
R
rails 498
RARP Server 448
Rate Type property 588
Read Only command 588
read/write property 114
read-only property 114
REAL data type 653
real number, precision when approaching zero 654
REAL numbers
disabling scaling 218, 513
scaling to integers 213
unscaled 217
REAL points, specifying precision 581
Rebuild Application command 588
rebuilding an application 241
project version
changes 462
downloaded 33, 461, 462
Emulator 33
Index
rules, passwords 60
reports
adding custom 82
databases 83
default directory for templates 46
exporting 82
Library Documents 73
module configuration, Tricon 309
module configuration, Trident 370
module configuration, Tri-GP 370
Project Security Levels 61
Project Users 58
project, printable 91
Shared Libraries 73
updating database 80
viewing and printing 80
S
safety and control, about 104
safety application, defined 485
sample projects 5
Save As command 596
Save Element command 597
Save History command 597
Save Implementation command 597
Save Project command 597
Save View command 598
saving, user access logs 65
Scale Factor property 598
scaling, for Modbus 215
scan surplus 466
scan time
affect of print function blocks 392, 439
defined 466, 603
setting for running application 467
Scan Time property 599
security
Operations property 572
user access 54
707
security banner
customizing 7
default text 8
error while saving 8
Security command 600
Security Level property 600
security setting
changing 55
default 11, 55
defined 54
Select Function Block command 600
Select Network Contents command 601
708
Index
SOE
assigning tagnames 226
Automatic collection type 225
block type 225
blocks, defining properties 223
buffer size 225
collection mode 226
collection type 225
configuration 222
copying configuration 222
definition file (.SOE) 43
for OPC 223, 294
Manual collection type 225
Primary mode 226
Redundant mode 226
searching for tagnames 222
sorting by block 222
trip variable 228
using with Trident HRDI module 336
using with Tri-GP HRDI module 336
Index
SYS_MP_EXT_STATUS 474
tagnames
assigning aliases 174
assigning to SOE blocks 226
changing multiple 181
creating multiple tagnames 180
data types of, for SOE 226
declaring tagnames 172
definition 103
deleting 182
disabling 474
enabling for multiple writes 174
export command 532
exporting to file 189
file format 190
forcing 477
import command 543
import file format 193
importing from file 196
maximum number of 103, 163
memory allocation example 185
monitor color 179
monitoring colors 539
overview 172
physical addresses 174
renaming 182
reports 93
restricting access 513
scaling 178
specifying DO points, Tricon 515
table 183, 184
undeclared 184, 186
unused 186, 187, 188
viewing number of 169
SYS_SHUTDOWN 474
Standard Security
changing to 55
defined 54
login 28
login attempts 27
Standard Security property 618
Start Value and Increment property 618
state 15
state changes, controller download 462
status attributes
Trident 369
Tri-GP 369
STDLIB 68, 77
Stop Bits property 619
Stop mode 458, 619
STRING data type 655
structured data type 134
subnet masks 387, 434
summary information, document 112
supervised DO points 268
supervision, point 335
Supports Application Defined States property 620
Supports Use in Cause Rows property 620
Supports Use in Effect Columns property 620
Supports Use in Intersections property 621
surplus, scan 466
synchronizing time, See Time Synchronization
system attributes
Trident 369
Tri-GP 369
System Events Severity properties 621
system events, OPC 295
system requirements 4
system version
Tricon 252
Trident 318
Tri-GP 318
T
table, tagnames 183, 184
table, initialization, See initialization table
Tabs property 621
Tagname property 622
709
710
Index
technical support xv
TR_PROGRAM_STATUS 474
TR_SHUTDOWN 474
terminals
described 119
double spacing 516, 517
enable EN/ENO by default 526
FBD and LD 119
testing
network connection 403, 452
on controller 460
on Emulator 459
Index
Tricon (continued)
project, creating new 21
restricting access to 229
serial communication 376
special alias numbers 211
special aliases 212
target system version 11, 22, 252259
target system version change matrix 258
thermocouple input module 270
time synchronization 298
write access 230
Tricon ACM
configuring connection 384
configuring ports 271
connection using media converter 382
default IP address 400
direct connection to TriStation 380
getting IP address using RARP server 401
installing NIC card for 373
time synchronization 299
TriStation Ethernet connection 379
TriStation network connection 379
Tricon EICM
configuring a printing port 394
configuring ports 274
configuring serial TriStation connection 378
connecting a printer 392, 393
setting an IP address 402
TriStation serial communication 376
Tricon HIM
Base Address property 487
ports 273
Tricon NCM
configuring connection 384
connection using media converter 382
default IP address 400
direct connection to TriStation 380
getting IP address using RARP server 401
installing NIC card for 373
ports 275
time synchronization 300
TriStation Ethernet connection 379
TriStation network connection 379
Tricon NCMG, time synchronization 301
711
Tricon SMM
ports 277
synchronizing time 302
Tricon TCM
access list 386391
backing up configuration 296
compatibility 224
configuring a printing port 397
configuring connection 384
Trident
1.x CM connection to TriStation 421
1.x MP connection to TriStation 417
2.x connection to TriStation 1131 426
2.x network ports, configuring 331
712
Index
Trident (continued)
access 234
attributes, status 369
CM configuration 342
configuring hardware 327
configuring serial TriStation connection 415
configuring TriStation 1131 connection, 2.x 429
connecting serial port to PC 414
connecting to for first time 411, 412
converting project from v2.x or v3.x 17
converting project from v4.7.0 and earlier 15
default connection 433
default IP address for 411
disabling OVD 512
EPI module 339
HRDI module 336
initial connection to 411
IP address, 2.x 430
Modbus functionality 209
module configuration, printing 370
modules 334335
operating parameters 315
PI module 339
printing devices 439
project, creating new 23
restricting access to 234
SDO module 335
serial communication 412
system and module attributes 369
target system version 11, 24, 318325
time synchronization 362
TriStation network connection 416
upgrading PI to EPI 339
version 1.1 and earlier support 15
write access 235
Trident CM
1.x routing 345
1.x serial ports 344
access list 434438
backing up configuration 360
configuring 342
configuring printing devices 442
configuring TriStation 1131 connection 423
configuring, 2.x 346
connecting devices using a hub 441
connecting printing devices 440
controlling access to 434438
direct connection to TriStation 421
direct connection to TriStation 1131 427
exporting configuration 360
firewall, using behind 351
getting IP address using RARP server 448
hub connection to TriStation 422
hub connection to TriStation 1131 428
Trident CM (continued)
importing configuration 361
IP addresses 351
Management protocol 359
Modbus TCP ports, 2.x 355
network ports, 1.x 342
network ports, 2.x 350
peer-to-peer ports 352
project conversion upgrade 12
protocols supported, 2.x 346
protocols, 2.x 358
routing ports, 2.x 356
serial ports, 2.x 348
setting an IP address 450
SNTP time synchronization 364
specifying default gateway 451
specifying network routing 452
time synchronization 364
time synchronization, 1.x 363
time synchronization, 2.x 367
TriStation protocol 358
TSAA protocol 359
TSAA write access to 236
upgrading from 1.x to 2.x 12
using default IP address 447
Trident MP
attribute properties 329
configuring 327
configuring TriStation connection 419
configuring, 1.x 330
configuring, 2.x 331
direct connection to TriStation 417
hub connection to TriStation 418
module properties 327
serial ports 332
setting an IP address 449
trigger state, SOE 337
trigger time, SOE 338
Triggering Mode property 629
Tri-GP
access 234
attributes, status 369
CM configuration 342
configuring hardware 327
configuring serial TriStation connection 415
configuring TriStation 1131 connection 429
connecting serial port to PC 414
connecting to for first time 411, 412
connection to TriStation 1131 426
default connection 433
default IP address for 411
disabling OVD 512
EPI module 339
Index
Tri-GP (continued)
HRDI module 336
inital connection to 411
IP address 430
Modbus functionality 209
module configuration, printing 370
modules 334335
network ports, configuring 331
operating parameters 315
printing devices 439
project, creating new 25
restricting access to 234
SDO module 335
serial communication 412
system and module attributes 369
target system version 26, 318325
time synchronization 362
TriStation network connection 416
write access 235
Tri-GP CM
access list 434438
backing up configuration 360
configuring 342, 346
configuring printing devices 442
connecting devices using a hub 441
connecting printing devices 440
controlling access to 434438
direct connection to TriStation 1131 427
exporting configuration 360
firewall, using behind 351
getting IP address using RARP server 448
hub connection to TriStation 1131 428
importing configuration 361
IP addresses 351
Management protocol 359
Modbus TCP ports 355
network ports 350
peer-to-peer ports 352
protocols 358
protocols supported 346
routing ports 356
serial ports 348
SNTP time synchronization 364
specifying default gateway 451
specifying network routing 452
time synchronization 364, 367
TriStation protocol 358
TSAA protocol 359
TSAA write access to 236
using default IP address 447
Tri-GP MP
attribute properties 329
configuring 327, 331
module properties 327
713
Tri-GP MP (continued)
serial ports 332
setting an IP address 449
trip state 228
Trip State property 629
trip tagname 228
Trip Tagname property 630
trip variable, assigning 228
TriStation 1131
connection to Tricon ACM, NCM, or TCM 380
connection to Tricon TCM 381
connection to Trident 1.x CM 421
connection to Trident 1.x MP 417
connection to Trident 2.x 426
connection to Trident MP 417, 418
connection to Tri-GP 426
converting to v4.8.0 11
creating a project 20
Directories tab 46
Drawing Color tab 47
examples 5
FBD Editor tab 48
hub connection to Trident 2.x 428
hub connection to Trident CM 422
hub connection to Tri-GP 428
installing 6
installing DLC protocol 408
installing TCP/IP protocol 374
LD Editor tab 49
libraries 68
options 45
properties 45
sample projects 5
system requirements 4
Trident 2.x connection 427
Trident CM connection 421
Trident MP configuration 419
Tri-GP connection 427
uninstalling 5, 9
upgrading 5
verifying the installation 9
TriStation Port Number property 630
TriStation protocol
CM 358
definition 494
TCM 293
TriStation UDP Port Number property 630
troubleshooting
access control list, CM 413
access control list, TCM 376
cannot edit project 54
cannot edit user documents 109
714
Index
troubleshooting (continued)
cannot open project 27, 31
CM access control list 413
login problems 29
TCM access control list 376
Tricon network connection 376
Trident network connection 412
Tri-GP network connection 412
viewing total variables used 169
True Color property 631
True State Name property 631
TSAA clients 232, 236
TSAA Multicast IP Address property 631
TSAA Port Number property 631
TSAA protocol 294, 359, 494
TX1LIB 68, 75, 77
type name, described 119
Type Over command 632
U
UCN Node Number property 632
UDP Base Port Number property 288, 354, 632
undeclared tagnames
definition 184
viewing 186
underflow
gradual for LREAL data types 652
gradual for REAL data types 654
Undo command 633
uninstalling TriStation 1131 5, 9
unipolar input 267, 592
upgrading (continued)
TriStation 1131 5
Usage property 635
Use Local Time property 635
user access
adding or modifying 59
creating 54
editing documents 54
level names tab 63
managing 58
Privileges tab 61
See also CM access list
See also TCM access list
user access logs 6467
user documents
copying 110
creating 109
User Documents report 93
user name
default 28
Windows 28, 55
user-defined
data types, using 163
functions 103, 150151
variables 169
users
adding 59
authentication of 55
logon name, changing 60
managing 58
modifying 59
password, changing 60
unregistered libraries 79
unused tagnames
definition 186
deleting 188
editing 187
viewing 186
Index
variables
adding annotations 465
Auto Name command 486
changing multiple 168
creating in FBD and LD 163
declaring in FBD and LD 164
declaring in ST 137
definition 103
deleting, initialization table impact 242
formatted name 537
in initialization table 242
initial value 544
initialization table sample 243
limit exceeded 241
maximum number in function block 102
maximum number in program 103
maximum number of 163, 241
monitoring on controller 463
naming multiple 167
overflow, initialization table 242
question mark while monitoring 463
reducing number of 241
retentive 242
specifying in CEM 152
types 103
user-defined data types in 163
viewing number of 169
Verify Last Download to the Controller command 637
Verify Password property 637
Verify Version command 638
viewing (continued)
undeclared tagnames 186
unused tagnames 186
viewing disabled points 476
views
enlarged 642
managing 162
saving 162
W
web site, Invensys xiv
Width property 640
Windows
administrator privileges 64
domain authentication 28, 55, 60
file access rules for projects 27
file properties dialog box 31
Guest account, using 30, 64
passwords, rules for 60
user name 28, 55
Windows Event Viewer 64
Wire Tool command 641
Wire Type property 641
workspace
controller 247, 313
project 20
Workspace View command 642
write access
by tagname or alias 172
disabling remote changes 513
OPC client 233, 238
restricting access to Tricon points 232
restricting access to Trident points 237
restricting access to Tri-GP points 237
to Tricon points 232233
to Trident points 235238
to Tri-GP points 235238
Tricon 230
Trident 235
Tri-GP 235
TSAA clients to CM 236
TSAA clients to TCM 232
715
viewing
custom Help files 52
initialization table 242
total variables and tagnames used 169
716
Index