Professional Documents
Culture Documents
Developers Guide
TriStation 1131
Version 4.6
Assembly No. 9700100-008
June 2009
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. 20042009 by Invensys Systems, Inc. All rights reserved. Triconex, Tricon, Trident, TriStation 1131, TriStation MSW, and CEMPLE 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.6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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 . . . . . . . . . . . . . . . . . . . . . . . . . 4 Installing the TriStation 1131 Software. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Uninstalling the TriStation 1131 Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Verifying the TriStation 1131 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Converting Existing Projects to Version 4.6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Selecting the Target System Version During Project Conversion . . . . . . . . . . . . . . . . 8 Rules for Tricon Project Target System Version Conversion . . . . . . . . . . . . . . . 9 Rules for Trident Project Target System Version Conversion. . . . . . . . . . . . . . . 9 Converting Version 4.x Tricon Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Converting Version 4.x Trident Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Converting Version 2.x and 3.x Tricon or Trident Projects . . . . . . . . . . . . . . . . . . . . . 13 Creating a New Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 The Project Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Creating a New Tricon Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Creating a New Trident Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 Working with Projects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Logging On to an Existing Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Adding a Project Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 Adding Audit Comments. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 Displaying Version Numbers of Projects and Documents . . . . . . . . . . . . . . . . . . . . . 24 Differences in the Projects Downloaded Version. . . . . . . . . . . . . . . . . . . . . . . . 24 Specifying Project Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Specifying Language Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 Specifying Annotation Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 Specifying Monitor Colors for BOOL Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 Specifying Download Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 Specifying Emulator Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 Specifying TriStation 1131 Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Specifying Directory Locations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33 Specifying Drawing Colors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Specifying FBD Editor Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Specifying LD Editor Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
iv
Contents
Specifying CEM Editor Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Adding or Removing Custom Help Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38 Adding a Custom Help File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Viewing Custom Help Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Removing a Custom Help File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Managing User Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 Managing Users . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 Adding and Modifying User Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 Changing the Security Level for Privileges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Changing Security Level Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Working with Library Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Creating a Library of Project Elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Managing Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Adding Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 If Your Library Has a Function Block with a VAR_IN_OUT Parameter. . . . . 53 Updating Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Deleting Libraries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 Verifying a Library Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55 Generating Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Updating the Report Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Viewing and Printing a Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Adding Custom Reports to a Project . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Exporting Reports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Report Database Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Chapter 2
Application Development
67
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Application Development Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Application Elements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 The Application Workspace. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70 The Declaration Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 The Implementation Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71 Parts of an Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72 Safety and Control Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Programming Languages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Function Block Diagram Language. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 Ladder Diagram Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 Structured Text Language . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77 CEMPLE (Cause and Effect Matrix Programming Language Editor) . . . . . . . 78 User Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Creating a User Document. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 Copying User or Library Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Copying a User Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Copying a Library Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Specifying Document Summary Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 Specifying Document Attributes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Restricting Access to a Document . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 Changing a Document Owner. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 Function Block Diagram and Ladder Diagram Development . . . . . . . . . . . . . . . . . . . . . . . 86 Using the FBD Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 Using the LD Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 87 Function and Function Block Graphics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88 Working with Logic Sheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 Selecting a Sheet Template . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Contents
Managing Logic Sheets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Editing the Sheet Title . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 Selecting Library Elements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 Specifying Function Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Specifying Function Block Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94 Specifying Function Block Application Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Using a Space Saver Function Block . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Structured Text Development . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 97 Using the ST Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Defining an Enumeration Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Defining an Array Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Defining a Structured Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 Declaring a VAR CONSTANT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 Declaring a VAR_TEMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 Declaring a VAR_EXTERNAL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 Declaring Local Variables in ST. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 Declaring Input and Output Variables in ST. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 Using ForLoop and Exit Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 Using a CASE Statement. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 VAR_IN_OUT Function Parameters. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 Cause Effect Matrix Development . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 CEMPLE Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108 Matrix Planning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 How a Matrix is Evaluated. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Using the CEM Editor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 Matrix. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 FBD Network . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 Variable Detail Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 Setting up a CEM Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Specifying CEM Editor Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 Specifying CEM Element Options . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 Specifying Monitor Colors and Names . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 Using User-Defined Functions and Application-Defined States . . . . . . . . . . . . . . . 116 Enabling User-Defined Functions and Application-Defined States. . . . . . . . 117 Specifying Local Variables, Tagnames, and Constants in a CEM Program . . . . . . 118 Specifying Properties in the Variable Detail Table . . . . . . . . . . . . . . . . . . . . . . 118 Working with Cells, Rows, and Columns in a CEM Program . . . . . . . . . . . . . . . . . 119 Selecting and Editing Cells in a CEM Program. . . . . . . . . . . . . . . . . . . . . . . . . 119 Displaying and Sizing Cells from the Matrix . . . . . . . . . . . . . . . . . . . . . . . . . . 120 Inserting and Deleting Rows or Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 Sizing and Hiding Columns. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 Sizing and Hiding Rows . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 Sizing and Hiding the Comment Column . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 Editing the Title Block. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Managing Views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 Variables and Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 Declaring Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129 Specifying Variable Properties. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 130 Specifying Variable Annotation Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 131 Naming Multiple Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 Changing Multiple Variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 134 Viewing the Number of Variables and Tagnames in a Program . . . . . . . . . . . . . . . 135 Creating Constants . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 Specifying Constant Annotation Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
vi
Contents
Tagnames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 Declaring Tagnames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138 Assigning an Alias Number, Alias Type, and Physical Address . . . . . . . . . . . . . . . 140 Scaling a REAL Point . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 Specifying Display Options for Tagnames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 Creating Multiple Tagnames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 Changing Multiple Tagnames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146 Renaming a Tagname . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 Deleting a Tagname. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 Inserting a Column into the Tagnames Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 Deleting a Column from the Tagnames Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 148 Managing Undeclared and Unused Tagnames. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 What Are Undeclared Tagnames? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 What Are Unused Tagnames? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150 Displaying Undeclared and Unused Tagnames . . . . . . . . . . . . . . . . . . . . . . . . 151 Editing Unused Tagnames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 152 Deleting Unused Tagnames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 153 Importing and Exporting Tagnames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 Exporting Tagname Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 Format of an Exported Tagname File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155 Preparing an Excel File for Import . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157 File Format Requirements for Tagname Import . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 Import Options and Validation Criteria. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160 Importing Tagname Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161 Annotations and Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 Adding Annotations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 Specifying Annotation Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167 Adding a Comment. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168 Specifying Comment Style . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169 Picking and Dropping Elements for Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 170 Editing Comment Fields. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 Using Macros with Annotations and Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 Editing Macro Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173 Modbus Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 Assigning Alias Numbers to Tagnames. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 How Tricon Transmits REAL Values With Special Alias Numbers . . . . . . . . . . . . 176 Tricon Special Alias Numbers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 How REAL Numbers are Scaled to Integers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 Scaling REAL Values to Integers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181 How Trident REAL Values are Transmitted Without Scaling . . . . . . . . . . . . . . . . . 182 Disabling Scaling of REAL Values for Trident Tagnames. . . . . . . . . . . . . . . . . . . . . 183 Peer-to-Peer Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 Peer-to-Peer Data Transfer Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 Estimating the Peer-to-Peer Data Transfer Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185 Allocating Peer-to-Peer Memory. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 186 SOE Development . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 Displaying the SOE Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 Defining SOE Block Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188 Assigning Event Variables to SOE Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189 Specifying a Trip Variable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190 Tricon Application Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 Restricting Access to a Tricon Controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 191 What Affects Tricon Write Access from External Devices . . . . . . . . . . . . . . . . . . . . 192 Restricting Write Access to Tricon Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Contents
vii
Allowing Write Access to Tricon Points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195 Trident Application Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 Restricting Access to a Trident Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 196 What Affects Trident Write Access from External Devices. . . . . . . . . . . . . . . . . . . . 197 Restricting Write Access to Trident Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 199 Allowing Write Access to Trident Points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 200 Building an Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 Specifying the Program Order and Scan Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201 Compiling a Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202 Building or Rebuilding an Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203 About the Applications Initialization Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 204 Viewing and Understanding Initialization Table Size Information . . . . . . . . 204 Solving an Initialization Table Overflow Problem . . . . . . . . . . . . . . . . . . . . . . 205
Chapter 3
207
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 Tricon Controller Configuration Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 208 The Tricon Controller Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 The Tricon Controller Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 The Tricon Configuration Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 209 The Tricon Controller and Emulator Panels . . . . . . . . . . . . . . . . . . . . . . . . . . . 210 Setting Tricon Operating Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211 Allocating Memory for Tricon Points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 213 Configuring the Tricon Target System Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214 Determining Your Tricon Controllers System Version. . . . . . . . . . . . . . . . . . . . . . . 214 Validating a Tricon Target System Version Change . . . . . . . . . . . . . . . . . . . . . . . . . 215 Changing the Tricon Target System Version. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 Target System Version Change Rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217 If You Have a TCM Configured in Your TriStation Project . . . . . . . . . . . . . . 217 Changing the Target System Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 218 Results of a Tricon Target System Version Change . . . . . . . . . . . . . . . . . . . . . . . . . . 220 Configuring Tricon Hardware. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225 Adding or Deleting a Tricon Chassis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 225 Determining Tricon Chassis Power Usage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 227 Inserting and Removing Tricon Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228 Configuring a Tricon AI Single-Ended or Differential Module . . . . . . . . . . . . . . . . 229 Configuring a Tricon DO Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 230 Configuring a Tricon PI Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232 Adding a Tricon Thermocouple Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233 Configuring Tricon Communication Modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 Configuring Tricon ACM Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234 Configuring Tricon HIM Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236 Configuring Tricon EICM Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236 Configuring Tricon NCM Ports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238 Configuring Tricon SMM Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239 Configuring TCM Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 241 Configuring TCM Serial Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243 Configuring TCM Network Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245 Configuring TCM Peer-To-Peer Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 250 Configuring TCM Modbus TCP Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252 Configuring TCM Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 254 Configuring TCM Protocols (Tricon v10.3 and Later Only) . . . . . . . . . . . . . . 255 Exporting the TCM Configuration to a File . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259 Importing the TCM Configuration From a File. . . . . . . . . . . . . . . . . . . . . . . . . 260
viii
Contents
Configuring Tricon Time Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261 About Tricon Time Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261 Using a Tricon ACM to Synchronize Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262 Using a Tricon NCM to Synchronize Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263 Using a Tricon NCM/G to Synchronize Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264 Using a Tricon SMM to Synchronize Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265 Using a Tricon TCM to Synchronize Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266 Configuring GPS Time Synchronization on the TCM . . . . . . . . . . . . . . . . . . . 266 Configuring SNTP Time Synchronization on the TCM . . . . . . . . . . . . . . . . . . 268 Configuring Triconex Time Synchronization on the TCM . . . . . . . . . . . . . . . 270
Chapter 4
273
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274 Trident Controller Configuration Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274 The Trident Controller Workspace . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275 The Trident Controller Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275 The Trident Configuration Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275 The Trident Controller and Emulator Panels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276 Setting Trident Operating Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277 Allocating Memory for Trident Points. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279 Configuring the Trident Target System Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 Determining Your Trident Controllers System Version . . . . . . . . . . . . . . . . . . . . . . 280 Validating a Trident Target System Version Change. . . . . . . . . . . . . . . . . . . . . . . . . 281 Changing the Trident Target System Version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 283 Results of a Trident Target System Version Change . . . . . . . . . . . . . . . . . . . . . . . . . 285 Configuring Trident Hardware. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288 Configuring the Trident Main Processors (MPs) . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288 Specifying Trident MP Module Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288 Displaying Trident MP Attribute Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . 290 Configuring Trident 1.x MP Network Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . 291 Configuring Trident 2.x MP Network Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . 292 Configuring Trident MP Serial Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293 Inserting a Trident Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 295 Removing a Trident Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296 Configuring a Trident SDO Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296 Configuring a Trident HRDI Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297 Configuring a Trident PI or EPI Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300 Configuring the Trident Communication Module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303 Configuring the Trident v1.x Communication Module. . . . . . . . . . . . . . . . . . . . . . . 303 Configuring Trident v1.x CM Network Ports . . . . . . . . . . . . . . . . . . . . . . . . . . 303 Configuring Trident v1.x CM Serial Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305 Configuring Trident v1.x CM Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306 Configuring the Trident v2.x Communication Module. . . . . . . . . . . . . . . . . . . . . . . 307 Configuring Trident v2.x CM Serial Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309 Configuring Trident v2.x CM Network Ports . . . . . . . . . . . . . . . . . . . . . . . . . . 311 Configuring Trident v2.x CM Peer-To-Peer Ports . . . . . . . . . . . . . . . . . . . . . . 313 Configuring Trident v2.x CM Modbus TCP Ports . . . . . . . . . . . . . . . . . . . . . . 315 Configuring Trident v2.x CM Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316 Configuring Trident v2.x CM Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 318 Exporting the Trident v2.x CM Configuration to a File . . . . . . . . . . . . . . . . . . 320 Importing the Trident v2.x CM Configuration From a File. . . . . . . . . . . . . . . 321 Configuring Trident Time Synchronization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322 About Trident Time Synchronization. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 322 Using a Trident 1.x CM to Synchronize Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 323
Contents
ix
Using a Trident 2.x CM to Synchronize Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324 Configuring SNTP Time Synchronization on the Trident 2.x CM . . . . . . . . . 324 Configuring Triconex Time Synchronization on the Trident 2.x CM . . . . . . 327 Using Trident System and Module Attributes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
Chapter 5
331
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332 TriStation 1131 Communication Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 332 Configuring the TriStation PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333 Installing a NIC Card in a TriStation PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 333 Installing the TCP/IP Protocol on a TriStation PC . . . . . . . . . . . . . . . . . . . . . . . . . . . 334 Connecting to the Tricon via a Serial Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335 When to Use the Tricon Serial Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335 Connecting a Tricon Serial Port to a TriStation PC. . . . . . . . . . . . . . . . . . . . . . . . . . . 336 Configuring the TriStation Serial Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337 Connecting to the Tricon via a Network Connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338 Directly Connecting an ACM or NCM Network Port to a TriStation PC . . . . . . . 339 Connecting a TCM Network Port to a TriStation PC Using a Router or Hub . . . . 340 Connecting a Tricon Network Port Using a Media Converter . . . . . . . . . . . . . . . . . 341 Configuring the TriStation Network Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343 Specifying the Tricon Default Connection Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344 Controlling Access to the TCM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345 What Are TCM Resources? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 345 How Is Access Controlled? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346 What Are Access Levels? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 346 Sample Access Control List and Resulting Access Control . . . . . . . . . . . . . . . 347 Configuring the Access Control List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349 Configuring Tricon Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351 Effect of Printing on Scan Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351 Connecting a Tricon EICM Port to a Printer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 352 Configuring a Tricon EICM Port for Printing . . . . . . . . . . . . . . . . . . . . . . . . . . 353 Connecting a TCM to Printing Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354 Configuring a Tricon TCM Port for Printing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356 About Function Blocks for Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357 Setting Tricon IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358 Using the Default IP Address for TriStation Communication . . . . . . . . . . . . . . . . . 359 Setting a Tricon IP Address Using a RARP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . 360 Setting a Tricon IP Address Using an EICM or TCM. . . . . . . . . . . . . . . . . . . . . . . . . 361 Testing a Network Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 362
Chapter 6
363
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364 TriStation 1131 Communication Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 364 Configuring the TriStation PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365 Installing a NIC Card in a TriStation PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 365 Installing DLC or TCP/IP Protocol on a TriStation PC . . . . . . . . . . . . . . . . . . . . . . . 365 Connecting to the Trident 2.x for the First Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 368 Connecting to the Trident via a Serial Connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369 When to Use the Trident Serial Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369 Connecting a Trident 2.x Serial Port to a TriStation PC . . . . . . . . . . . . . . . . . . . . . . . 370 Configuring the TriStation Serial Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371 Connecting to the Trident via a Network Connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 372 Connecting the Trident 1.x MP to a TriStation PC . . . . . . . . . . . . . . . . . . . . . . . . . . . 373 Directly Connecting a Trident 1.x MP to a TriStation PC . . . . . . . . . . . . . . . . 373
Contents
Connecting a Trident 1.x MP to a TriStation PC Using a Hub . . . . . . . . . . . . 374 Configuring the TriStation Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 375 Connecting the Trident 1.x CM to the TriStation PC . . . . . . . . . . . . . . . . . . . . . . . . . 377 Directly Connecting a Trident 1.x CM to a TriStation PC . . . . . . . . . . . . . . . . 377 Connecting a Trident 1.x CM to a TriStation PC Using a Hub . . . . . . . . . . . . 378 Configuring the TriStation Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 379 Connecting the Trident v2.x to a TriStation PC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381 Directly Connecting a Trident 2.x Network Port to a TriStation PC . . . . . . . 382 Connecting a Trident 2.x Network Port to a TriStation PC Using a Hub . . . 383 Configuring the TriStation Network Connection . . . . . . . . . . . . . . . . . . . . . . . 384 Specifying the Trident Default Connection Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 388 Controlling Access to the Trident 2.x CM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389 What Are CM Resources?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389 How Is Access Controlled? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389 What Are Access Levels? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390 Sample Access Control List and Resulting Access Control. . . . . . . . . . . . . . . 390 Configuring the Access Control List. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 392 Configuring Trident Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394 Effect of Printing on Scan Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394 Devices for Trident Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 394 Directly Connecting a Trident CM to Printing Devices. . . . . . . . . . . . . . . . . . . . . . . 395 Connecting a Trident CM to Printing Devices Using a Hub. . . . . . . . . . . . . . . . . . . 396 Configuring a Trident CM for Printing Devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 397 About Function Blocks for Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 400 Setting Trident IP Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 401 Using the Default IP Address for TriStation Communication . . . . . . . . . . . . . . . . . 402 Setting an IP Address Using a RARP Server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 403 Setting a Trident IP Address Using an MP Connection . . . . . . . . . . . . . . . . . . . . . . 404 Setting a Trident 1.x IP Address Using a CM Connection . . . . . . . . . . . . . . . . . . . . 405 Specifying a Trident CM Default Gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406 Specifying a Trident CM for Network Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407 Testing a Network Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 407
Chapter 7
Implementation
409
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410 Implementation Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 411 Controlling the Operational Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412 Emulator Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413 Connecting to and Configuring the Emulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414 Saving the Emulator Configuration to a File . . . . . . . . . . . . . . . . . . . . . . . . . . . 418 Loading the Emulator Configuration from a File . . . . . . . . . . . . . . . . . . . . . . . 418 Testing Peer-to-Peer Communication with the Emulator . . . . . . . . . . . . . . . . . . . . . 419 Configuring Peer-to-Peer Communication for Emulator Testing . . . . . . . . . 419 Guidelines for Testing Peer-to-Peer Communication on the Emulator. . . . . 420 Downloading to the Emulator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 421 Monitoring Scan and Execution Times on the Emulator. . . . . . . . . . . . . . . . . . . . . . 424 Monitoring Variables on the Emulator. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 425 Monitoring the Program Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 426 Adding Annotation for Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 427 Controller Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428 Downloading to the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 428 Monitoring Variables on the Controller . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431 Monitoring the Program Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 432 Adding Annotation for Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 433
Contents
xi
Determining the Scan Surplus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 434 Setting the Scan Time for a Downloaded Application. . . . . . . . . . . . . . . . . . . . . . . . 435 Displaying Hardware Allocation Exceptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 436 Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 437 Steps for Downloading Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 438 Planning and Controlling Changes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 439 Commands Required with Application Changes. . . . . . . . . . . . . . . . . . . . . . . . . . . . 440 Disabling (Forcing) Points . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 442 Using the Download Changes Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 443 Using the Download All Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
447 595
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 596 Elementary Data Types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 597 BOOL Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598 DATE Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 598 DINT Data Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599 DT Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 599 DWORD Data Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 600 INT Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 601 LREAL Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 601 REAL Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 603 STRING Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 605 TIME Data Type. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 606 TOD Data Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 607 Generic Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 608
609
Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 610 Configuring TCM Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 611 Configuring TCM Serial Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 613 Configuring TCM Network Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 615 Configuring TCM Peer-To-Peer Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 617 Configuring TCM Modbus TCP Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 619 Configuring TCM Routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 620 Using a Tricon TCM to Synchronize Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 622 Configuring GPS Time Synchronization on the TCM . . . . . . . . . . . . . . . . . . . . . . . . 622 Configuring SNTP Time Synchronization on the TCM . . . . . . . . . . . . . . . . . . . . . . . 624 Configuring Triconex Time Synchronization on the TCM . . . . . . . . . . . . . . . . . . . . 626 Configuring a Tricon TCM Printer Port for Printing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 627
Index
629
xii
Contents
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.
Summary of Sections
Chapter 1, Project AdministrationDescribes how to install the TriStation 1131 software, create a project, set up security, and use libraries of functions and function blocks. Chapter 2, Application DevelopmentExplains how to develop an application. Chapter 3, Tricon Controller ConfigurationExplains how to configure modules installed in a Tricon controller. Chapter 4, Trident Controller ConfigurationExplains how to configure modules installed in a Trident controller. Chapter 5, Tricon Communication with TriStationDescribes how to set up communication between a TriStation 1131 PC and a Tricon controller. Chapter 6, Trident Communication with TriStationDescribes how to set up communication between a TriStation 1131 PC and a Trident controller. Chapter 7, ImplementationExplains how to implement an application on a controller. Appendix A, Commands and PropertiesDescribes TriStation 1131 commands, properties, and tools.
TriStation 1131 Developers Guide, v4.6
xiv
Preface
Appendix B, Data TypesDescribes the data types used in applications developed with TriStation 1131. Appendix C, TCM Model 4351/4352 ConfigurationExplains how to configure the model 4351 or 4352 Tricon Communication Module (TCM).
Related Documents
TriStation 1131 Libraries Reference SOE Recorder Users Guide Enhanced Diagnostic Monitor Users Guide TriStation 1131 XML Import/Export Utility Getting Started Guide Tricon and Trident Safety Considerations Guides Communication Guide for Tricon v9-v10 Systems Communication Guide for Trident Systems Product Release Notices for specific Tricon, Trident, and TriStation versions
Preface
xv
Technical Support
Customers in the U.S. and Canada can obtain technical support from the IPS Global Client Support (GCS) center at the numbers below. International customers should contact their regional support center. Requests for support are prioritized as follows: Emergency requests are given the highest priority Requests from participants in the System Watch Agreement (SWA) and customers with purchase order or charge card authorization are given next priority All other requests are handled on a time-available basis
If you require emergency or immediate response and are not an SWA participant, 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 Web Site http://support.ips.invensys.com/ (registration required) E-mail support@ips.invensys.com 508-549-4999
xvi
Preface
Send e-mail to us at: triconextechpubs@ips.invensys.com Please keep in mind that this e-mail address is only for documentation feedback. If you have a technical problem or question, please contact the Customer Satisfaction Center. See Technical Support on page xv for contact information. Or, you can write to us at: Attn: Technical Publications Triconex 15345 Barranca Parkway Irvine, CA 92618 Thank you for your feedback.
1
Project Administration
Overview Installing TriStation 1131 Converting Existing Projects to Version 4.6 Creating a New Project Working with Projects Specifying Project Options Specifying TriStation 1131 Options Managing User Access Working with Library Documents Generating Reports 2 4 8 16 21 26 32 41 47 56
Chapter 1
Project Administration
Overview
This figure shows a typical project cycle and the main steps for setting up a TriStation 1131 project.
Overview
Install the TriStation1131 software (if needed) Create or open an existing project.
Specify the language to be used as a default. Specify whether annotations are automatically included. Specify monitor colors for displaying variables in the emulator and controller. Specify sort options for the tagnames table used by the TCM embedded OPC server. (Optional) Specify options to be used when you use TriStation 1131. Specify FBD, LD, and CEM Editor options, as needed. (Optional)
Specifying Language Options on page 26 Specifying Annotation Options on page 27 Specifying Monitor Colors for BOOL Values on page 29 Specifying Download Options on page 30
Specifying TriStation 1131 Options on page 32 Specifying FBD Editor Options on page 35 Specifying LD Editor Options on page 36 Specifying CEM Editor Options on page 37
Add custom Help files for user-defined libraries, as needed. (Optional) Create TriStation users and configure user access levels. Add libraries from other projects. (Optional) View standard reports; add custom reports.
Adding or Removing Custom Help Files on page 38 Managing User Access on page 41 Adding Libraries on page 53 Generating Reports on page 56
Chapter 1
Project Administration
System Requirements
The following are the minimum system requirements for TriStation 1131: PC running Windows XP Professional, or Windows Server 2003 Pentium 233 MHz with 128 MB RAM 125 MB free hard drive space CD-ROM drive Network adapter card SVGA monitor running at 1024 x 768 resolution with 64,000 colors 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 365)
However, uninstalling v4.0 after you have installed v4.6 will cause v4.6 to no longer work. To correct this, simply uninstall both v4.0 and v4.6 and then reinstall v4.6. Additionally, if you installed other Triconex applications (such as SOE Recorder) after you installed TriStation 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 v4.0.
Procedure
1 2 3 4 5 6 7 8 Log on as an administrator or as a user with administrator privileges. Close all open applications. Insert the TriStation 1131 CD in the CD-ROM drive. If the installation starts automatically, go to step 8. Otherwise, go to the next step. From the Start menu, click Settings, and then click Control Panel. Double-click Add New Programs. Click the CD or Floppy button, and then browse to locate the setup.exe file on the CD. Double-click setup.exe to start the installation. Follow the InstallShield Wizard instructions. Triconex recommends installing the TriStation 1131 software in the default destination folder, which is: C:\Program Files\Triconex\TriStation 1131 4.6. 9 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. To complete the installation, click Finish.
Chapter 1
Project Administration
Procedure
1 2 3 4 Log on as an administrator or as a user with administrator privileges. From the Start menu, click Settings, and then click Control Panel. Double-click Add/Remove Programs, and select TriStation 1131 4.6. 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 directory, (C:\Program Files\Triconex\TriStation 1131 4.6), the uninstall program does not remove them.
5 6
Click Yes or Yes to All if the Remove Shared File dialog box asks about removing unused DLLs. Click Finish to complete the uninstallation process.
Procedure
1 2 From the Start menu, select Programs, Triconex, and then Install Check 4.6. Click Run. Install Check verifies that all TriStation files are correctly installed. When verification is complete, the name, version, and status of each file are displayed in the list.
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.
Chapter 1
Project Administration
This procedure explains how an existing TriStation 1131 project can be automatically converted to v4.6. Any project created with v2.x through v4.5 can be converted to v4.6. However, once a project has been opened in v4.6, it can no longer be opened with an earlier version of TriStation 1131. Note A Trident project created in any previous version of TriStation 1131, or a Tricon project created in version 4.0 or 4.1, is backed up automatically prior to project conversion. This 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 518) after project conversion is complete.
For all projects, if the libraries need to be updated as part of the conversion process, the project state will be changed to Download All. Topics include: Selecting the Target System Version During Project Conversion on page 8 Converting Version 4.x Tricon Projects on page 10 Converting Version 4.x Trident Projects on page 12 Converting Version 2.x and 3.x Tricon or Trident Projects on page 13
1.
This limitation does not apply to projects created in TriStation 1131 v4.6.
10
Chapter 1
Project Administration
Procedure
1 Open the TriStation 1131 project to be converted.
2 3 4 5
When prompted, click Yes to continue the conversion or No to cancel. Enter your user name and password. Click Log On. 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 Libraries on page 54.
11
Do one of the following: If the projects hardware configuration includes a model 3006 or 3007 Main Processor, click OK when prompted to convert the project with Tricon v9 - 3006 Main Processor as the target system version. If the projects hardware configuration includes a model 3008 Main Processor, specify these properties in the Select Main Processor dialog box.
Property Model Target System Version Description The Main Processor model installed in the Tricona that this project will be downloaded to. The system version of the Tricon that this project will be downloaded to. Use the on-screen descriptions to help you determine the correct version to select, based on your Tricon configuration.
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 IPS 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 214 for more information.
Click OK. Project conversion is complete when the project file opens in TriStation and you see the Application Workspace.
12
Chapter 1
Project Administration
CAUTION
TriStation v4.6 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 v4.6.
Procedure
1 2 3 4 Open the TriStation 1131 project to be converted. When prompted, click Yes to continue the conversion or No to cancel. Enter your user name and password. Click Log On. The Select Main Processor dialog box appears.
a. TriStation 1131 v4.6 does not support Trident versions 1.1 and earlier. For a list of TriStation versions compatible with your Trident, see the applicable Trident Product Release Notice (available on the IPS Global Customer Support web site).
13
Note 6 7
If you arent sure which Trident system version to select, see Determining Your Trident Controllers System Version on page 280.
Click OK. 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 Libraries on page 54.
Project conversion is complete when the project file opens in TriStation and you see the Application Workspace.
CAUTION
TriStation v4.6 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 v4.6.
Procedure
1 2 Open the TriStation 1131 project to be converted. When prompted, click Yes to continue the conversion or No to cancel. To get information about what is converted, click Help.
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.
Do one of the following: For a Tricon project, click Yes when prompted to convert the project with Tricon v9 - 3006 Main Processor as the target system version.
14
Chapter 1
Project Administration
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 445).
The following table identifies the changes made during a v2.x or v3.x project conversion. Table 1
Item Application Snapshot
Naming Conflicts
If renaming a program input or output results in a name conflict with a local variable, the name of the local variable is appended with ?Dup? and a message is written to the message output view. You must rename the local variable before compiling the program.
15
Table 1
Item
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.
16
Chapter 1
Project Administration
Topics include: The Project Workspace on page 16 Creating a New Tricon Project on page 17 Creating a New Trident Project on page 19
17
3 4
For the Platform (controller), select Tricon or Tricon Low Density. Click OK to continue.
Navigate to the folder you want to save the project in, enter a file name, and click Save. Note TriStation 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.
18
Chapter 1
Project Administration
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 IPS Global Customer Support web site).
Click OK. 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 214 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. 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).
19
3 4 5
For the Platform (controller), select Trident. 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 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.
20
Chapter 1
Project Administration
Description The Main Processor model installed in the Trident that this project will be downloaded to. 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.6 does not support Trident versions 1.1 and earlier. For a list of TriStation versions compatible with your Trident, see the applicable Trident Product Release Notice (available on the IPS Global Customer Support web site).
Click OK. Note If you arent sure which Main Processor model and Trident system version to select, see Determining Your Trident Controllers System Version on page 280. 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. 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).
21
Procedure
1 2 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.
3 4
Enter a user name and password. The default user name is MANAGER. The default password is PASSWORD. Click Log On. The project opens.
22
Chapter 1
Project Administration
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 project file (.pt2) will prevent TriStation from opening the file. There is no way to recover a project file that has been changed in this way.
Procedure
1 On the Project menu, click Project Description.
2 3
23
Procedure
1 Close a program, function, or function block that was changed. The following dialog box appears, allowing you to describe the changes before the element is saved.
24
Chapter 1
Project Administration
For example, if the current downloaded version is 6.8 for both the emulator and the controller, a Download All to the emulator will change the downloaded version for the emulator to 7.0, while maintaining the controllers downloaded version at 6.8. Note The complete list of downloaded version changes can be viewed in the Project History dialog box. See View Project History Command on page 590.
25
Description The version of the project (application) which was last downloaded to the controller or the 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). Use the View Project History Command on page 590 to see the complete list of downloaded version changes.
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.
26
Chapter 1
Project Administration
Procedure
1 On the Project menu, click Project Options, and then click the Language tab.
27
Enabled Features
Procedure
1 On the Project menu, click Project Options, and then click the Annotations tab.
28
Chapter 1
Project Administration
29
Procedure
1 On the Project menu, click Project Options, and then click the Monitor Colors tab.
30
Chapter 1
Project Administration
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 alphabetically to view tagnames in a single, non-hierarchical list, organized in alphabetical order, regardless of their group assignments. This sort order is useful for small projects without a lot of tagnames. 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. 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.
Note
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 On the Project menu, click Project Options, and then click the Download tab. Select the sort order for the table: Sort by Tagname (alphabetical view) Sort by Group (hierarchical view)
31
Procedure
1 On the Project menu, click Project Options, and then click the Emulator tab.
32
Chapter 1
Project Administration
33
Procedure
1 On the Tools menu, click TriStation 1131 Options, and then click the Directories tab.
Note 3
TriStation projects must always be run from a local drive. You should not enter directory paths that point to a location on your network.
34
Chapter 1
Project Administration
Procedure
1 On the Tools menu, click TriStation 1131 Options, and then click the Drawing Colors tab.
35
Procedure
1 On the Tools menu, click TriStation 1131 Options, and then click the FBD Editor tab.
36
Chapter 1
Project Administration
Procedure
1 On the Tools menu, click TriStation 1131 Options, and then click the LD Editor tab.
Compiler Warning When Right Power Rail is Missing Left-Handed Link Tool
37
Procedure
1 On the Project menu, click TriStation 1131 Options, and then click the CEM Editor tab.
38
Chapter 1
Project Administration
You are responsible for the creation of the Help files you want to add to the TriStation 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. Note You must be logged into Windows as an administrator, or a user with administrator privileges, in order to add or remove custom Help files. If you dont have administrator privileges, see your network administrator for assistance.
Topics include: Adding a Custom Help File on page 39 Viewing Custom Help Files on page 39 Removing a Custom Help File on page 40
39
Procedure
1 On the Help menu, click Options. The Add or Remove Custom Help File dialog box appears.
2 3
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 Help menu.
40
Chapter 1
Project Administration
Procedure
1 On the Help menu, click Options. The Add or Remove Custom Help File dialog box appears.
2 3
In the list of custom Help files, select the file(s) you want to remove. Click Remove File(s). The selected Help files are removed from the list of installed files, and will no longer appear in the TriStation Help menu.
41
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 84. Note If you have a Tricon Communication Module (TCM)2 or a Trident v2.x CM installed in your system, access to the controller via TriStation can also be managed via the optional access control list. See Controlling Access to the TCM on page 345 or Controlling Access to the Trident 2.x CM on page 389.
Topics include: Managing Users on page 42 Adding and Modifying User Access on page 43 Changing the Security Level for Privileges on page 44 Changing Security Level Names on page 46
2.
Except models 4351 and 4352, which do not have the access control list feature.
42
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.
Procedure
1 On the Project menu, click Security, and then click the Users tab.
Note
Unless you have level 01 access, you cannot add or delete users who have the same or higher security level as yourself. For example, if you have level 02 access, you cannot add or delete users with level 02 or 01 access. If you have security level 01 access, you can add or delete other level 01 users, but you cannot delete yourself.
43
Procedure
1 On the Project menu, click Security, and then click the Users tab. To add a user, click Add. To modify a user, click the user name, and then click Modify.
44
Chapter 1
Project Administration
Procedure
1 On the Project menu, click Security, and then click the Privileges tab.
3.
Except TCM models 4351 and 4352, which do not have the access control list feature.
45
Action Select Controller Operations or TriStation 1131 Operations, depending on the operations you want to specify. 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
Click OK to save your changes. Because they cannot access the Privileges tab, users with security levels 0410 cannot perform the following tasks: Security: Add/modify users, Security: Change level descriptions, Security: Change level privileges. Additionally, you cannot remove privileges from your own security level. For example, if you are a level 03 user, you cannot remove privileges from security level 03.
46
Chapter 1
Project Administration
Procedure
1 On the Project menu, click Security, and then click the Level Names tab.
Enter the name to associate with each security level. The default names are as follows:
Level 01 02 03 04 05 Name Corporate Manager Site Manager Project Manager Project Engineer Project Programmer Level 06 07 08 09 10 Name Maintenance Manager Maintenance Engineer Operations Manager Operator Level 10
47
These libraries are available: TCXLIB: Triconex library for Tricon and Trident controllers STDLIB: Industry-standard library for Tricon and Trident controllers TR1LIB and TX1LIB: Libraries for Tricon controllers TRDLIB: Library for Trident controllers
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 v4.x, available on Triconex the IPS Global Customer Support web site. Topics include: Creating a Library of Project Elements on page 48 Managing Libraries on page 52 Adding Libraries on page 53 Updating Libraries on page 54 Deleting Libraries on page 54 Verifying a Library Version on page 55
48
Chapter 1
Project Administration
Procedure
1 2 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.
49
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.
50
Chapter 1
Project Administration
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.
51
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.
10
Click Finish.
52
Chapter 1
Project Administration
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.
Procedure
1 Expand the Application tree, right-click Library Documents, and click Manage.
53
Adding Libraries
This procedure explains how to add libraries to a TriStation 1131 project. This allows you to update libraries provided by Triconex, and add libraries of project elements from other TriStation projects.
Procedure
1 Expand the Application tree, right-click Library Documents, click Manage, and then click Add. If the library you want to add is located in a path other than the default directory, browse to select the path where the library you want to add is located. Click the library to add, and then click OK. Click Yes on the Query screen. The library is added to the project, and is displayed in the list.
3 4
Note
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 IPS Global Customer Support web site, for more information, including detailed instructions for obtaining and using the Project Analysis Utility.
54
Chapter 1
Project Administration
Updating Libraries
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.
Procedure
1 2 Expand the Application tree, right-click Library Documents, and then click Manage. On the Manage screen, click the library to be updated, and then click Update.
Deleting Libraries
This procedure explains how to delete a library from a TriStation 1131 project.
Procedure
1 2 Expand the Application tree, right-click Library Documents, and then click Manage. Click the library to be deleted, and then click Delete.
When prompted, click Yes to confirm deletion of the library. Click No to cancel.
55
Procedure
1 2 Expand the Application tree, right-click Library Documents, and then click Manage. Click the library to be verified, and then click Verify Version. A message appears, identifying the library, version, and whether the project library is the same as the installed library.
56
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 Crystal Reports, which can be purchased separately. Topics include: Updating the Report Database on page 56 Viewing and Printing a Report on page 56 Adding Custom Reports to a Project on page 58 Exporting Reports on page 58 Report Database Information on page 59
Procedure
1 2 Open the Project Workspace (see The Project Workspace on page 16), and right-click the Default Reports or User Reports folder. Click Update Reports Database. The status of the updated operation can be viewed in the status bar at the bottom of the TriStation window.
Procedure
1 Open the Project Workspace and then double-click a report. The report appears in the report viewer window.
Generating Reports
57
Note
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 56) and then try viewing the report again.
58
Chapter 1
Project Administration
Procedure
1 2 In Crystal Reports, 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 33. 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 2 Open the Project Workspace and then double-click the report you want to export. The report appears in the report viewer window. On the report viewer toolbar, click the Export Report button.
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
59
60
Chapter 1
Project Administration
The TRHWDCHS file contains information about the chassis types used in the system. Table 2
Field Name CHASTYPE (key) CHASDESC
The TRHWDMOD file contains information about the modules used in the system. Table 3
Field Name MODTYPE (key) MODDESC MODMODEL
The TRPRGINS file contains information about the programs in the project. Table 4
Field Name PROGNAME SEQUENCE
The TRINSVAR file contains information about the variable connections in the program. Table 5
Field Name INSTNAME (key) VARPATH PROGNAME VARNAME TAGNAME VAROUTPUT
Generating Reports
61
The TRGLBVAR file contains information about the tagnames (global variables) in the project. Table 6
Field Name TAGNAME (key) GROUP1 GROUP2 DESCRIP LOCATION MODBUS DATATYP DATACLASS TYPECLASS APPLICATN SHARED RETENTIVE INITVALUE DECPL MINSPAN MAXSPAN SYSTEMTAG MULTIWRIT
The TRSYSOPS file contains information about the operating parameter settings in the project. Table 7
Field Name CNFGVERS NETNODE NETALIAS SCANRATE PSWDREQD DSBLSTOP DSBLMBWR DSBLRCHG DSBLPNTS
62
Chapter 1
Project Administration
The TRSOEBLK file contains information about the SOE block definitions in the project. Table 8
Field Name SOEBLKNUM (key) SOEBLKTTL SOEBUFSIZ SOEBLKTYP
The TRSOEVAR file contains information about the SOE tagnames used in the project. Table 9
Field Name SOEBLKNUM (key) TAGNAME TRUENAME FALSENAME TRUECLR FALSECLR
The TRMODCFG file contains information about the module configuration used in the project. Table 10
Field Name CHASNUM (key) CHASTYPE SLOTNUM MODTYPE
The TRMALLOC file contains information about how memory is allocated. Table 11
Field Name DATADESC MAXPTS ALLOCPTS FCASTPNTS CURRPTS
Generating Reports
63
The SECUSERS file contains information about the users authorized access to the project. Table 12
Field Name LOGINNAME (key) USERNAME DESCRIP PRIVLEVEL
The SECLVLS file contains information about the users access (privilege) level in the project. Table 13
Field Name PRIVLEVEL (key) DESCRIP
The SECOPRS file contains information about the level of access required to use TriStation and controller operations. Table 14
Field Name CATEGORY DESCRIP PRIVLEVEL
The PRINFO file contains information that is used when reports are printed. Table 15
Field Name PRJNAME DESCRIP VERSION COINFO1 COINFO2 COINFO3 DBDATE DBTIME
64
Chapter 1
Project Administration
The PRLIBS file contains information about the libraries included in the project. Table 16
Field Name LIBNAME (key) DESCRIP VERSION
The PRELEMS file contains information about the elements (programs, functions, function blocks, and data types) in the project. Table 17
Field Name ELEMNAME (key) VERSION CATEGORY DESCRIP ELEMTYPE LANGUAGE OWNER USERDEFINE LIBRARY LIBNAME LOCKED READONLY DRWGTITLE DRWGNUM DRWGREV DRWGCBY DRWGCDATE DRWGCTIME DRWGMBY DRWGMDATE DRWGMTIME DRWGAB DRWGADT
Generating Reports
65
Table 17
Field Name
APPLICATN
The PRPOUVAR file contains information about the POUs (program organizational units), which include programs, functions, and function blocks. Table 18
Field Name VARPATH POUNAME (key) VARNAME ((key) DESCRIP DATATYPE DATACLASS INITVALUE
The PRPOUXRF file contains information about where variables are located in the project. Table 19
Field Name VARPATH (key) SEQNO SHTCOORD
The PRHIST file contains information about the project history. Table 20
Field Name EVENTID USERNAME ELEMNAME COMMENT DATE TIME ACTION
66
Chapter 1
Project Administration
2
Application Development
Overview Application Development Steps Application Elements User Documents Function Block Diagram and Ladder Diagram Development Structured Text Development 68 69 70 79 86 97
Cause Effect Matrix Development 108 Variables and Constants 129 Tagnames 138 Importing and Exporting Tagnames 154 Annotations and Comments 165 Modbus Applications 174 Peer-to-Peer Applications 184 SOE Development 187 Tricon Application Access 191 Trident Application Access 196 Building an Application 201
68
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
- C reate programs and functions - Restrict access to application elements - Restrict access to application points - Declare tagnames
Errors? No
69
Add annotations and comments. Determine access to a document. Determine access to points.
Annotations and Comments on page 165 Restricting Access to a Document on page 84 Tricon Application Access on page 191 Trident Application Access on page 196
Declaring Variables on page 129 Creating Constants on page 136 Tagnames on page 138 Importing and Exporting Tagnames on page 154 Modbus Applications on page 174 Peer-to-Peer Applications on page 184 Compiling a Program on page 202 Building an Application on page 201
Assign Modbus aliases. Add Peer-to-Peer features. Compile project programs and functions. Build the application.
70
Chapter 2
Application Development
Application Elements
This section describes the elements of an application and the steps in application development. Topics include: The Application Workspace on page 70 The Declaration Tree on page 71 The Implementation Tree on page 71 Parts of an Application on page 72 Safety and Control Applications on page 74 Programming Languages on page 75
Application Elements
71
72
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
73
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 21
Input In/Out Output Local Tagname VAR_TEMP
Variable Type
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 Controller Configuration.
74
Chapter 2
Application Development
Implementation Information
Implementation information includes the Execution List, Scan Time, SOE, and Peer-to-Peer setup.
Application Elements
Tagnames
Application Elements
75
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: Function Block Diagram Language (FBD) Ladder Diagram Language (LD) Structured Text Language (ST) CEMPLE (Cause and Effect Matrix Programming Language Editor)
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 Triconex.
Figure 1
76
Chapter 2
Application Development
Figure 2
Application Elements
77
Figure 3
78
Chapter 2
Application Development
Figure 4
User Documents
79
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 Creating a User Document on page 79 Copying User or Library Documents on page 80 Specifying Document Summary Information on page 82 Specifying Document Attributes on page 83 Restricting Access to a Document on page 84 Changing a Document Owner on page 85 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 84.
Procedure
1 Expand the Application tree, right-click the User Documents folder, and then click New Document.
80
Chapter 2
Application Development
Procedure
1 Expand the Application tree, right-click the document to be copied, and click Copy. If the document is open in TriStation, the Copy command will be unavailable. Close the document and then repeat step 1. 2 On the Edit menu, click Paste.
Enter the name for the new document, and click OK.
User Documents
81
Procedure
1 2 Expand the Application tree, open the Library Documents folder and locate the function or data type you want to copy. Right-click on the function or data type, and select Copy. If the document is open in TriStation, the Copy command will be unavailable. Close the document and then repeat steps 1 and 2. 3 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.
82
Chapter 2
Application Development
Procedure
1 Expand the Application tree, right-click a document (program, function, function block, or data type) and click Properties.
User Documents
83
Procedure
1 2 Expand the Application tree, right-click a document (program, function, function block, or data type), and click Properties. Click the Attributes tab.
84
Chapter 2
Application Development
Procedure
1 Expand the Application tree, right-click a document (program, function, function block, or data type), and click Properties.
2 3
On the Summary tab, select the access type for this document. The default value is Read/Write. Click OK to save your changes.
User Documents
85
For more information about user security levels, see Managing User Access on page 41.
Procedure
1 2 Expand the Application tree, right-click a document (program, function, function block, or data type), and click Properties. On the Summary tab, click Change Owner.
3 4
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.
86
Chapter 2
Application Development
6 7 8 9 10
3
11 12 13 14 15
16 17 18 19
9 10 11 12 13 14 15 16
17 18 19
Figure 5
87
7 8 9 10 11 12
13 14 15 16 17 18
Link Tool Comment Horizontal Network Vertical Network Auto Name Zoom
19 20 21 22
9 10 11 12 13 14 15 16 17 18 19 20 21 22
Figure 6
88
Chapter 2
Application Development
Output terminal
Instance name for the function block Names of input terminals Input terminals Evaluation order in program
Function Block Type name (CSCHED) Output terminal names Output terminals
Figure 7
Table 23
Item
89
Procedure
1 2 Expand the Application tree, and then create or open a program, function, or function block. On the Sheets menu, click Select Sheet Template.
90
Chapter 2
Application Development
Description 17 x 22 22 x 34
Note
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 2 Expand the Application tree, and then create or open a program, function, or function block. On the FBD or LD Editor toolbar, click the Sheets Manager button .
Do any of the following: 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.
91
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. To view a specific sheet, select the sheet and then click Go To.
Note 4
Procedure
1 2 3 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. On the Sheets menu, click Edit Sheet Title.
4 Note
Enter the sheet title and then click OK. 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 90.
92
Chapter 2
Application Development
Procedure
1 2 Expand the Application tree, and then create or open a program. On the FBD or LD Editor toolbar, click the Select Function (Block) Tool Element button .
3 4
Select the function or function block to be inserted, and then click OK. Click on the logic sheet to place the element.
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 81.
93
Procedure
1 2 Expand the Application tree and open a program or function. Double-click the graphic of the function whose properties you want to define.
Invert Input
94
Chapter 2
Application Development
Procedure
1 2 Expand the Application tree and open a program or function block. Double-click the graphic of the function block whose properties you want to define.
95
Procedure
1 2 Expand the Application tree and expand the User Documents folder. Right-click a function block, click Properties, and then click the Usage tab.
96
Chapter 2
Application Development
97
98
Chapter 2
Application Development
3 4
5 6
7 8
Figure 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.
99
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
100
Chapter 2
Application Development
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.
Syntax Example
TYPE STRUCT_SENSOR : STRUCT INPUT:DINT; STATUS:BOOL; HIGH_LIMIT:REAL; ALARM_COUNT:INT; END_STRUCT; END_TYPE
101
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; 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
102
Chapter 2
Application Development
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;
103
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
104
Chapter 2
Application Development
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
105
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
106
Chapter 2
Application Development
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
107
CAUTION
You should not use the VAR_IN_OUT variable in a safety application. Safety standards (such as IEC 61508) recommend limiting the use of pointers in safety applications; VAR_IN_OUT is used as a pointer in TriStation 1131. To automatically check for the use of VAR_IN_OUT in your safety application, set the Application Type to Safety for the programs included in the application (for more information, see Application Type on page 450).
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
108
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 specify up to 99 causes, 99 effects, and 1,000 intersections Ability to invoke functions and function blocks to evaluate cause, intersection, and effect states Choice of de-energize-to-trip or energize-to-trip matrix evaluation Automatic conversion of matrix to Function Block Diagram language Customized view monitoring of active causes, intersections, and effects Multiple levels of undo and redo editing
109
Matrix Planning
Planning includes determining the causes (problems) to be monitored, and determining how the matrix is to be evaluated.
2. For each intersection from the bottom to the top, a state is determined based on the cause state and intersection function. For typical AND evaluations, all cause states must be True for the intersection state to be True and one False state makes the output False. For typical OR evaluations, all cause states must be False for the intersection state to be False and one True state makes the output True.
1. For each cause from the top row to the bottom, a state is determined based on the inputs and function associated with the cause.
Figure 9
110
Chapter 2
Application Development
FBD Network
Figure 10
111
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.
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.
112
Chapter 2
Application Development
Figure 12
Figure 13
113
Procedure
1 On the Tools menu, click TriStation 1131 Options, and then click the CEM Editor tab.
114
Chapter 2
Application Development
Action Enter the number of columns to include in a new matrix. The default is 25.
Procedure
1 Expand the Application tree, double-click a program, click the Document menu, and then click Options.
115
Action Specify how the matrix is to be evaluated when it includes multiple intersections between a cause and effect. The default is OR.
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. Click OK to save your changes.
116
Chapter 2
Application Development
User-Defined Functions
User-defined functions must be enabled before they can be used in a CEM program. (Triconexsupplied 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.
For the cause function block, the second output is the application state.
For the intersection function block, the second input and output of the function is the application state.
For the effect function block, the second input and output of the function is the application state.
Figure 14
117
Procedure
1 Expand the Application tree, right-click the user-defined function, click Properties, and then click the Attributes tab.
3 4 5
Click OK to save the settings. In the Application tree, double-click the function to open it on a logic sheet. On the Document menu, click Compile. The compile process determines whether the function can be used.
TriStation 1131 Developers Guide, v4.6
118
Chapter 2
Application Development
Procedure
1 2 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 Expand the Application tree, and open a CEM program.
If the changes are valid, the declaration is changed. If not, a message displays explaining why the declaration was not changed.
119
Click here to select all causes Click here to select all intersections Click here to select one cause Click here to select all intersections in a row
Figure 15
120
Chapter 2
Application Development
To ... Enter edit mode Complete a cell entry Move to the next cell Delete the contents of a cell or group of cells
Do This ... Click directly over the text in an editable cell. 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.
121
CAUTION
Doing either of the following will cause the function block instance(s) in the remaining rows or columns to be renamed: Adding or deleting a row above one or more rows containing a function block Adding or deleting a column to the left of one or more columns containing a function block
When a Download Changes operation is then performed, the renamed function block output(s) will be re-initialized (set to zero).
Inserting Columns
This procedure explains how to insert columns in a CEM program.
Procedure
1 Expand the Application tree, open a CEM program, and do either of these: 2 3 4 5 Click the Insert Columns button toolbar on the
Enter the number of columns to insert. 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.
122
Chapter 2
Application Development
Inserting Rows
This procedure explains how to insert rows in a CEM program.
Procedure
1 Expand the Application tree, open a CEM program, and do either of these: 2 3 4 5 Click the Insert Rows button on the toolbar
Enter the number of rows to insert. Select the row and click Before or After to specify where the row 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 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 Expand the Application tree, open a CEM program, and do either of these: 2 Click the Delete Columns button toolbar on the
Enter the number of columns to delete and the starting column number. The selected column (E01 in this example), and the x columns to the right of the selected column will be deleted, where x is the number of columns to delete.
Confirm your selections, and then click OK. The selected columns are deleted.
123
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 Expand the Application tree, open a CEM program, and do either of these: 2 Click the Delete Rows button on the toolbar
Enter the number of rows to delete and the starting row number. The selected row (C01 in this example), and the x columns below the selected row will be deleted, where x is the number of rows to delete.
Confirm your selections, and then click OK. The selected rows are deleted.
Procedure
1 Expand the Application tree, open a CEM program, and do either of these: Click the Size/Hide Columns button on the toolbar
Click the View menu, and then click Size/Hide, and then Columns
124
Chapter 2
Application Development
125
Procedure
1 Expand the Application tree, open a CEM program, and do either of these: Click the Size/Hide Rows button on the toolbar
Click the View menu, and then click Size/Hide, and then Rows
126
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 Restore Default Size New size Hide or Unhide Action Select to restore the comment column to its default size. Select and then enter the new size for the column. Select Hide or Unhide. If hidden, the column is not displayed.
127
Procedure
1 Expand the Application tree, open a CEM program, click the Sheets menu, and then click Edit Sheet Title.
2 3
128
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 2 3 Expand the Application tree and open a CEM program. Change the view by showing or hiding columns and rows. Use commands on the View menu or drag columns and rows on the matrix. On the View menu, click Manage Views.
Perform one or more of these actions in the View Manager dialog box.
Command Load Save Remove Restore All Defaults Close Cancel Action Select a view and click Load to have it displayed. Click to save the currently displayed view. Select a view and click Remove to delete the view from the list. Click to restore the current view to show all causes and effects. Click to save your changes and close the View Manager dialog box. Click to close the View Manager dialog box without saving your changes.
129
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 Create a variable by doing either of the following: On the toolbar, click the icon for the variable, and then click on the logic sheet (FBD or LD only). On the program or function Declarations tree, right-click the folder for the type of variable to be declared, and click New Declaration.
The Item Properties dialog box for the variable appears. 2 Specify these properties on the Declaration tab.
130
Chapter 2
Application Development
Action Enter a name for the variable. Use only alphanumeric characters and underscores. No symbols or spaces are allowed. Select a data type. Required. If the variable is dragged to a function terminal, the data type is automatically set to the correct type for the function. User-defined data typessuch as arrays, structures, and enumerations that you have defined in structured textcan also be selected as data types in local variable declarations. However, you must successfully compile your user-defined data type before it will appear in the Data Type list.
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. Enter a description for the variable. (Optional) Select the type of variable. Required. For programs, can be Local only. For functions, can be Input, Output, In/Out, or Local.
Procedure
1 2 Expand the Application tree and then open a program or function. On the logic sheet, double-click the icon that represents the variable.
131
Action To change the selected variable to a different variable, select the variable name and click Apply. To create a new variable, enter a new name, and click Apply. To change the name of all the variables with this name, click Declaration and change the name of the variable.
Displays the data type that was set on the Declaration tab. If the variable has not been declared, the Data Type is undefined. Click + or to increase or decrease the width of the variable icon on the logic sheet. Select the check box to add an annotation to the variable. The default is cleared. See Specifying Variable Annotation Properties on page 131 for more information about annotations. Click to view the Declaration tab for the variable. See Declaring Variables on page 129 for more information. Click to view the Automatic Naming dialog box. See Naming Multiple Variables on page 132 for more information.
Procedure
1 2 3 Expand the Application tree and then open a program or function. 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.
132
Chapter 2
Application Development
Action Enter text or copy macros to be used in the annotation. To copy a macro, see Using Macros with Annotations and Comments on page 171.
Select this check box to display the value of the variable in the annotation when the element is run on the controller or emulator. Available only in programs. Click to display the list of macros that can be added. To copy a macro, click the macro and press Ctrl+C. Click OK to close the Edit Macro dialog box. To paste the macro in the Annotation tab, press Ctrl+V.
Close the Properties dialog box to save your changes to the Annotation tab.
Procedure
1 Expand the Application tree and open a program or function logic sheet. On the logic sheet, hold the Shift key. To have variables named based on the selection order, click them in the order in which you want them named. 2 On the Tools, menu, click Auto Name Selected Items.
133
134
Chapter 2
Application Development
Procedure
1 2 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.
4 5
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.
135
Procedure
1 On the Project menu, click Compile All User Documents. The Messages View automatically opens and displays the status of the compile process, as shown below.
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.
136
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 2 Expand the Application tree, and open a program or function. On the toolbar, click , and then click in the logic sheet.
137
Procedure
1 2 On a logic sheet, double-click a constant. The Item Properties dialog box appears. On the Constant tab, select the Annotate check box and then click the Annotation tab.
138
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. Topics include: Declaring Tagnames on page 138 Assigning an Alias Number, Alias Type, and Physical Address on page 140 Scaling a REAL Point on page 143 Specifying Display Options for Tagnames on page 144 Creating Multiple Tagnames on page 145 Changing Multiple Tagnames on page 146 Renaming a Tagname on page 147 Deleting a Tagname on page 147 Inserting a Column into the Tagnames Table on page 148 Deleting a Column from the Tagnames Table on page 148 Managing Undeclared and Unused Tagnames on page 149
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.
Procedure
1 Create a tagname by doing any of these: On the toolbar, click the tagname tool , click on the logic sheet, enter a new name, and then click the Declarations button. Right-click the Tagname Declarations folder, and click New Tagname. Right-click the Declarations tree, and click New Tagname.
Tagnames
139
3 Note
Click Apply to save your changes. 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 135 for more information.
140
Chapter 2
Application Development
Enter a physical address by doing either of these: Enter the number representing the Physical Address (for example: 01.06.05), then go to step 6. Click the Browse button then go to step 4. to select an address from a list of related modules,
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.
Tagnames
141
Specify the Alias Number assignment as follows: For Tricon, the default alias number must be used. For Trident, the alias number can be user-specified (within the range), systemspecified based on a default range, or not aliased. For alias number information, see Alias Number on page 447.
7 8
To allow the point to be written to multiple times from programs in the application, select the Enable Multiple Writes check box. To save your changes, 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.
142
Chapter 2
Application Development
To save your changes, 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.
Tagnames
143
Procedure
1 Open a tagname by doing either of these: 2 On the Tagname Declarations or Declarations tree, double-click a tagname. Double-click a tagname on a logic sheet, and then click the Declarations button.
To save your changes, 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.
144
Chapter 2
Application Development
Procedure
1 Open a tagname by doing either of these: 2 On the Tagname Declarations or Declarations tree, double-click a tagname. Double-click a tagname on a logic sheet, and then click the Declarations button.
To save your changes, click Apply. 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.
Tagnames
145
Procedure
1 Expand the Application tree, right-click the Tagname Declarations folder, and click New Tagnames (plural).
146
Chapter 2
Application Development
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.
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 135 for more information.
Tagnames
147
Renaming a Tagname
This procedure explains how to rename a tagname.
Procedure
1 2 On the Tagname Declarations or Declarations tree, right-click a tagname, and then click Rename. Enter the new name and press Enter. If the tagname already exists, a message is displayed and you must enter another name.
Deleting a Tagname
This procedure explains how to delete a tagname.
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:
If you deleted the tagname from the program Declarations tree, the message is similar to this screen:
To cancel, click No or Cancel. To confirm deletion of the tagname, click Yes or OK. This action cannot be undone.
148
Chapter 2
Application Development
Procedure
1 2 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.
Procedure
1 2 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 148.
Tagnames
149
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 213 or Allocating Memory for Trident Points on page 279. 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.
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.
Of these points, 8 have been used and 9 have been forecast (declared). The 9 declared points will appear in the Tagname Declarations tree.
150
Chapter 2
Application Development
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 150). 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.
Note
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 135 for more information.
Tagnames
151
Procedure
1 Expand the Application tree and double-click the folder that contains the tagnames you wish to displayUndeclared or Unused Tagnames.
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.
152
Chapter 2
Application Development
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 152. Undeclared tagnames cannot be edited; see What Are Undeclared Tagnames? on page 149.
Procedure
1 2 On the Tagname Declarations or Declarations tree, double-click on the tagname you want to edit. Make changes to the tagnames attributes, as needed. See Declaring Tagnames on page 138 for detailed attribute information.
Tagnames
153
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. 2 To cancel, click No. To confirm deletion of the tagname, click Yes. This action cannot be undone.
154
Chapter 2
Application Development
Procedure
1 Expand the Application tree, right-click the Tagname Declarations folder, and click Export.
2 3
Select the location, file name, and file type to save the tagname information. Click Export. 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.
155
Point Property
ALIASNUM
The alias number for the point. For Tricon, from 0 to 49999 For Trident, from 0 to 42000
TAGTYPE
TAGCLASS
INITVALUE
The initial value: For BOOL, True or False For DINT, an integer value For REAL, a real value
RETENTIVE
Retentive flag: if R, the value is retained if a power outage shuts down the controller. N = Non-retentive R = Retentive
IOP number (1) (Trident) Slot number (1 - 6) (Trident) Point number (1 - 32) (Trident) Chassis number (0 - 15) (Tricon) Slot number (0 - 8) (Tricon)
156
Chapter 2
Application Development
Table 24
POINT MIN SPAN
Point Property
MAX SPAN
Upper limit for REAL in Engineering Units; the default is 32767.00. The range is 3.402823466e+38 to +3.402823466e+38. Must be greater than the MAX SPAN value.
DECPL SCALING
Decimal places for displaying Real variables. (Corresponds to the Precision property and Min/Max Accuracy field in the Import Wizard.) Scaling flag: if S, real numbers are scaled. N = Non-scaling S = Scaling For more information, see Disable Scaling on page 475.
APPLICATION
Shared for Read flag: Y = Yes, N = No Text. For example, False or Zero. Text. For example, True or Zero. Black, Red, Green, Blue, Cyan, Yellow, Pink, and White are allowed. Black, Red, Green, Blue, Cyan, Yellow, Pink, and White are allowed.
157
Procedure
1 2 Open an Excel file that contains tagname data. Ensure the data is formatted as follows: All cells must have the Format setting as Text. 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.
3 4 5
Select the range of data cells to be included by selecting the headings and cells. Do not select empty records. On the Insert menu, click Name, then Define. In the Define Name dialog box, enter the new name (in this example, NewTagnames) in the text box, and then click Add. Select the names to delete (in this example, tagnames), click Delete, and then click OK. Ensure the Refers to range reference at the bottom of the screen includes information. If it is blank, repeat step 3 through step 6.
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 Save the file. The file is ready to be imported.
158
Chapter 2
Application Development
Columns or Fields
Can include more columns than the number of fields to be imported, but no more than one column can be mapped to each point property. Column headings can be any name. Blank numeric fields and blank string fields are allowed for new tagnames only (in .DBF or .XLS files).
159
Table 26
TAGNAME
Point Property
ALIAS NUMBER
The alias number for the point. For Tricon, from 0 to 49999 For Trident, from 0 to 42000
TAG TYPE
TAG CLASS
INITIAL VALUE
The initial value: For BOOL, True or False For DINT, an integer value For REAL, a real 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 number (1) (Trident) Slot number (1 - 6) (Trident) Point number (1 - 32) (Trident) Chassis number (0 - 15) (Tricon) Slot number (0 - 8) (Tricon) Point number (0 - 64) (Tricon)
160
Chapter 2
Application Development
Table 26
MIN SPAN
Point Property
MAX SPAN
Upper limit for REAL in Engineering Units; the default is 32767.00. The range is 3.402823466e+38 to +3.402823466e+38. Must be greater than the MAX SPAN value.
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
Scaling flag: if S, real numbers are scaled. N = Non-scaling S = Scaling For more information, see Disable Scaling on page 475.
APPLICATION
SHARED READ FALSE STATE TRUE STATE FALSE COLOR TRUE COLOR
Shared for Read flag: Y = Yes, N = No Text. For example, False or Zero. Text. For example, True or Zero. Black, Red, Green, Blue, Cyan, Yellow, Pink, and White are allowed. Black, Red, Green, Blue, Cyan, Yellow, Pink, and White are allowed.
161
TAGNAME field (see below), can be updated for an existing tagname. If an updated value is invalid in any way, a message is displayed alerting you of the error when the import operation is complete, but the attribute is still changed to the new value. Updating the TAGNAME field for an existing tagname will create a new tagname. The existing tagname will be retained. For example, if you update the TAGNAME field for the tagname Counter1 by changing it to Counter10, after the import process is complete, you will have two tagnames: Counter1 AND Counter10.
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 457 to change the project state before continuing this procedure.
Click Select Import Data File and go to the folder that contains the file.
162
Chapter 2
Application Development
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 4 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
5 6
Once fields and properties are linked, click Next. On the Select Import Options screen, select options as needed.
163
7 8
Click Next to continue. 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. 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.
164
Chapter 2
Application Development
Note
If you opened the Tagnames table before you imported new tagnames, you need to close the Tagnames table and then open it again in order to see the newly imported tagnames in the table.
165
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 27 and Using Macros with Annotations and Comments on page 171.
Procedure
1 2 Expand the Application tree, and open an FBD or LD program or function. Double-click the graphic for a constant, tagname, or variable. The Item Properties dialog box appears.
3 4
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. Click the Annotation tab.
166
Chapter 2
Application Development
5 6
To add text, enter the text in the annotation area. To add a macro: Click Macros. The Edit Macros dialog box appears.
Select a macro to be added. To change the value of a macro identified by a pencil icon, double-click the macro, enter the value, and click OK. With the macro selected, press Ctrl+C to copy the macro. Click OK to close the Edit Macros dialog box. 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.
167
Procedure
1 2 Expand the Application tree, and open an FBD or LD program or function. On the logic sheet, double-click an annotation. The Item Properties dialog box appears, with the Annotation tab selected.
168
Chapter 2
Application Development
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 2 3 4 Expand the Application tree, and open an FBD or LD program or function. On the toolbar, click the icon for comments . On the logic sheet, click and drag to create the comment box. Double-click the comment box to display the Comment properties.
169
Procedure
1 2 Expand the Application tree, and open an FBD or LD program or function. Double-click a comment, and then click the Style tab.
170
Chapter 2
Application Development
Procedure
1 2 Expand the Application tree, and open an FBD or LD program or function. Double-click a comment, and then click the Pickup/Drop tab.
171
Procedure
1 2 Expand the Application tree, and open an FBD or LD program or function. Double-click a comment, and then click the Edit Fields tab.
3 4 5
Select a field and then click Modify. Change the text used for the macro. Click OK to save the change.
CAUTION
172
Chapter 2
Application Development
Procedure
1 2 Expand the Application tree, and open an FBD or LD program or function. Do either of these: 3 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.
Do any of the following: To change the value of a user-modifiable macro, identified by a pencil icon select the macro, click Modify and then make the change. To copy a macro to an annotation or comment, select the macro and copy it by pressing Ctrl+C. ,
5 6
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.
173
Procedure
1 2 3 Expand the Application tree, and open an FBD or LD program or function. Double-click a comment, constant, tagname, or variable. The Item Properties dialog box appears. Click the Edit Fields tab, select the field to be changed, and then click Modify.
4 5
Enter the text to be used when the macro is displayed. Click OK to save.
174
Chapter 2
Application Development
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.
Trident Functionality
The Trident controller has serial ports on the CM and MP that provide options for communication with a Modbus devices. Each CM and MP port can operate in a point-to-point configuration with a single Modbus device. In addition, each CM port can operate in a multipoint configuration with several Modbus devices connected to a serial link. Topics include: Assigning Alias Numbers to Tagnames on page 175 How Tricon Transmits REAL Values With Special Alias Numbers on page 176 Tricon Special Alias Numbers on page 177 How REAL Numbers are Scaled to Integers on page 178 Scaling REAL Values to Integers on page 181 How Trident REAL Values are Transmitted Without Scaling on page 182 Disabling Scaling of REAL Values for Trident Tagnames on page 183
Modbus Applications
175
Procedure
1 Open a tagname by doing either of these: 2 On the Tagname Declarations tree, double-click a tagname. Double-click a tagname on a logic sheet, and then click the Declaration button.
176
Chapter 2
Application Development
Note
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 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
Modbus Applications
177
Figure 19
178
Chapter 2
Application Development
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.
Modbus Applications
179
Figure 21
To avoid division by zero, do not set Modbus Max equal to Modbus Minthe REAL value result is undefined. For the Trident 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.
180
Chapter 2
Application Development
Figure 23
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.
Modbus Applications
181
Procedure
1 Open a tagname by doing either of these: 2 On the Tagname Declarations tree, double-click a tagname. Double-click a tagname on a logic sheet, and then click the Declaration button.
4 5
Click Apply to save your changes. On the Setup dialog box for the communication module, specify the Modbus minimum and maximum range. See the following sections for detailed instructions: Configuring Tricon EICM Ports on page 236 Configuring TCM Serial Ports on page 243 Configuring Trident 1.x MP Network Ports on page 291 Configuring Trident v1.x CM Serial Ports on page 305 Configuring Trident v2.x CM Serial Ports on page 309
182
Chapter 2
Application Development
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
Modbus Applications
183
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. 2 Click the Scaling tab.
3 4
On the Scaling tab, select the Disable Scaling check box to ensure the point is not scaled. The default is cleared. Click OK to apply and save.
184
Chapter 2
Application Development
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: Tricon TCM: Configuring TCM Peer-To-Peer Ports on page 250 Trident v2.x CM: Configuring Trident v2.x CM Peer-To-Peer Ports on page 313
Topics include: Peer-to-Peer Data Transfer Time on page 184 Estimating the Peer-to-Peer Data Transfer Time on page 185 Allocating Peer-to-Peer Memory on page 186
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.
Peer-to-Peer Applications
185
Procedure
1 2 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 BOOL DINT REAL Allocated Bytes _________ _________ _________ Operation 8= x4= x4= Result _________ _________ _________ _________ _________ _________ _________ _________ _________ _________ _________ _________ _________ _________ DT= _________ _________
Total bytes of aliased points TBS = 2. Multiply the total bytes sending (TBS) from step 1 by 0.01 3. Enter the number of bytes for each point type on the receiving controller and divide or multiply as indicated. Add the results. BOOL DINT REAL _________ _________ _________ TS = 8= x4= x4=
Total bytes of aliased points TBR = 4. Multiply the total bytes receiving (TBR) from step 3 by 0.01 5. Get the scan time of the sending node in milliseconds by viewing the Scan Time in the Execution List. 6. Get the scan time of the receiving node in milliseconds by viewing the Scan Period in the Execution List. 7. Multiply the larger of TS or SS by 2. 8. Multiply the larger of TR or SR by 2. 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. TR = SS = SR =
186
Chapter 2
Application Development
Steps
Point Type
Allocated Bytes
Operation Adjusted DT
Result
11. Multiply the results of steps 9 and 10 to get the adjusted data transfer time.
_________
Procedure
1 Expand the Application tree, double-click Implementation, and then click Peer-to-Peer Configuration.
Set these properties by clicking the up and down arrows. Maximum Number of Peer-to-Peer Sends Maximum Number of Peer-to-Peer Receives
If you want to change the settings for an application running on the controller, you must build the application and perform a Download All.
SOE Development
187
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 SOE Recorder Users Guide and the Communication Guide for Tricon v9-v10 Systems. Topics include: Displaying the SOE Configuration on page 187 Defining SOE Block Properties on page 188 Assigning Event Variables to SOE Blocks on page 189 Specifying a Trip Variable on page 190
Procedure
1 Expand the Application tree, double-click Implementation, and click SOE Configuration.
To change the SOE block properties, see Defining SOE Block Properties on page 188.
188
Chapter 2
Application Development
Procedure
1 2 Click the Application tree, and double-click Implementation. Expand the SOE Configuration tree, and double-click a block number.
4 5
Click Apply to save your changes. Repeat steps 2 and 3 for all the blocks to be configured.
SOE Development
189
Procedure
1 2 3 Open the Application tree, and double-click Implementation. 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. 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.
5 6
Continue to assign tagnames to blocks as needed. After assigning all the event variables, save the project so the tagnames are available when specifying a trip variable.
190
Chapter 2
Application Development
Procedure
1 2 Open the Application tree, and double-click Implementation. Double-click SOE Configuration. The Item Properties dialog box appears.
191
Procedure
1 2 Expand the Controller tree, and double-click Configuration. On the Configuration tree, click Operating Parameters.
1.
Except models 4351 and 4352, which do not have the access control list feature.
192
Chapter 2
Application Development
Property Password Disable Stop on Keyswitch Disable Remote Changes to Outputs Allow Disabling of Points
Action Enter the password required to access the controller. The default is PASSWORD. Select the check box to prevent the keyswitch from halting the application if it is turned to Stop. The default is cleared. Clear the check box to allow remote devices to write to output points. The default is selected. Select the check box to allow the TriStation PC to disable points while the application is running on the controller. The default is cleared. This property can be changed only when your project is in the Download All state. Once you have changed this property (by selecting or clearing the check box), you must perform a Download All to apply your changes to the controller. TriStation will automatically rebuild the application before it is downloaded.
The settings you selected are used when the application is built.
This table describes write access to Tricon points from external devices. Table 27 Tricon Write Access
Description A system setting that determines write access to output and memory points unless overruled by the GATENB function block in the application. Restricts write access when set to the Run position. Allows write access when set to the Remote or Program position. GATENB A Tricon function block that programmatically allows write access to a specified range of aliased memory points when the keyswitch is in the Run position.
193
Table 27
GATDIS
Property or Feature
A Tricon TCM setting that determines whether TriStation, TSAA, or Modbus have write access to the selected port. The default value is cleared, meaning the port is read-only. The Tricon EICM, ACM, NCM, HIM, and SMM modules do not have this property.
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 345. A Tricon SMM module setting that determines whether Honeywell devices have write access to output points and read/write aliased memory points. The default is cleared, which means write access is allowed. A tagname setting that determines whether the output and memory point is assigned a Read or Read/Write alias number. For output points, all alias numbers are Read/Write. For memory points, alias numbers can be Read or Read/Write.
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.
CAUTION
By default, TSAA clients have write access to the NET 1 and NET 2 ports on the model 4351B, 4352B, 4353, and 4354 Tricon TCMs. Depending on your configuration, this may create a security issue. Please note that this default behavior is opposite of that on the model 4351/4352, and 4351A/4352A TCMs. 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 345.
194
Chapter 2
Application Development
Procedure
1 2 Expand the Controller tree, and double-click Configuration. On the Configuration tree, click Operating Parameters.
Ensure the Disable Remote Changes to Outputs check box is selected. The default is selected.
195
Procedure
1 2 Expand the Controller tree, and double-click Configuration. On the Configuration tree, click Operating Parameters.
3 4
Clear the Disable Remote Changes to Outputs check box. The default is selected. Do one of the following: 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 540. 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 537 or Controlling Access to the TCM on page 345.
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 140.
2.
Except models 4351 and 4352, which do not have the access control list feature.
196
Chapter 2
Application Development
Procedure
1 2 3 Expand the Controller tree, and double-click Configuration. 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.
197
The settings you selected are used when the application is built.
This table describes write access to Trident points from external devices. Table 28 Trident Write Access
Description A system setting on the MP Operating Parameters tab that determines write access to output points. When selected, external devices cannot write to output points, no matter what other settings are made.
198
Chapter 2
Application Development
Table 28
A CM module setting that determines whether network devices using DDE, OPC, or TSAA communication have write access to output points and read/write aliased memory points. The default is Read/Write. This setting does not affect Modbus access.
An optional CM feature that gives you the ability to control which clients can access CM resources, the protocols they can use, and the level of access each client has. See Controlling Access to the Trident 2.x CM on page 389. A tagname setting that determines whether the output and memory point is assigned a Read or Read/Write alias number. For output points, all alias numbers are Read/Write. For memory points, alias numbers can be Read or Read/Write.
Point Type
CAUTION
By default, TSAA clients have write access to the NET 1 and NET 2 ports on Trident 2.x 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 CM on page 389.
199
Procedure
1 2 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.
On the Operating Parameters tab, ensure the Disable Remote Changes to Outputs check box is selected.
200
Chapter 2
Application Development
Procedure
1 2 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.
Do one of the following: 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 291. The default is Read/Write. If the external devices are communicating through a Trident 2.x 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 CM on page 389.
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 140.
Building an Application
201
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: Specifying the Program Order and Scan Time on page 201 Compiling a Program on page 202 Building or Rebuilding an Application on page 203 About the Applications Initialization Table on page 204
Procedure
1 2 On the Application Tree, double-click Implementation. On the Implementation tree, double-click Execution List.
202
Chapter 2
Application Development
Action Enter the number of milliseconds anticipated for the scan. The actual scan time is determined after the application is downloaded and run on the controller. For more information, see the Enhanced Diagnostic Monitor application. The default is 200 milliseconds. Click to add a program to the list. Click to delete the selected program from the list. Select a program and then click to move a program up in the execution order. Select a program and then click to move a program down in the execution order. To add or change a program, double-click a program, then enter the name, or click the Browse button to select a name from the available programs.
New (insert) button Delete button Move Up button Move Down button Browse button
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 2 On the Project menu, click Compile All User Documents. The Message View automatically opens and displays the status of the compile process. If there are errors, fix them before building the application.
Building an Application
203
Procedure
1 2 3 On the Project menu, click Build Application or Rebuild Application. Check the Message View 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.
4 Note
Correct the errors, compile the affected user documents, and then build or rebuild the application. 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.
204
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: Viewing and Understanding Initialization Table Size Information on page 204 Solving an Initialization Table Overflow Problem on page 205
Building an Application
205
The maximum size of the initialization table is 64K (65,535 bytes). The size of the initialization table is calculated as follows: Each variable carries a overhead of 8 bytes. Each BOOL variable uses an additional 1 byte. Each DINT or REAL variable uses an additional 4 bytes. Each TIME variable uses an additional 8 bytes.
The following sample calculation shows how the values for each variable are used to determine the total size of the initialization table.
6,032 (overhead) + 2,219 (bytes used) = 8,251 In this example, there are a total of 8,251 bytes in the initialization table. Because this is less than the 65,535 limit, you will be able to download the application without encountering an overflow error.
206
Chapter 2
Application Development
3
Tricon Controller Configuration
Overview 208 Setting Tricon Operating Parameters 211 Allocating Memory for Tricon Points 213 Configuring the Tricon Target System Version 214 Configuring Tricon Hardware 225 Configuring Tricon Communication Modules 234 Configuring Tricon Time Synchronization 261
208
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
Errors? No - Set operating parameters C onfigure the C ontroller - Allocate memory and configure hardware - C onfigure communication to external devices - Set up Time Synchronization (optional)
Set the operating parameters. Allocate memory and hardware. Configure hardware. Configure communication to external devices. Set up time synchronization.
Overview
209
210
Chapter 3
211
Procedure
1 Expand the Controller tree, double-click Configuration, and then click Operating Parameters.
212
Chapter 3
Action Select the check box to allow points to be disabled from TriStation. See Disabling (Forcing) Points on page 442 for more information. The default is cleared. This property can be changed only when your project is in the Download All state. If you change this property (by selecting or clearing the check box), you must perform a Download All to apply your changes to the controller. TriStation will automatically rebuild the application before it is downloaded.
Select the check box to allow the controller to participate in time synchronization across the Peer-to-Peer network as a master node or a slave node (see Configuring Triconex Time Synchronization on the TCM on page 270).
213
CAUTION
After an application has been downloaded to the controller or emulator, changes to memory allocation require a Download All (see Using the Download All Command on page 445).
See What Are Undeclared Tagnames? on page 149 for more information about memory allocation for points.
Procedure
1 2 Expand the Controller tree, double-click Configuration, and then expand Memory Allocation. Double-click the type of point you want to change.
3 4
Move the slider up or down to change the memory allocated for the selected point. Repeat for all points to be changed.
214
Chapter 3
Topics include: Determining Your Tricon Controllers System Version on page 214 Validating a Tricon Target System Version Change on page 215 Changing the Tricon Target System Version on page 217 Results of a Tricon Target System Version Change on page 220
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.
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.
215
View the system version information, located at the top of the System Overview window.
Procedure
1 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the chassis whose target system version you want to change, and then click Replace MPs.
216
Chapter 3
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 IPS 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 214 for more information.
4 5
Select the Validate Only check box. 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.
217
Topics include: Target System Version Change Rules on page 217 If You Have a TCM Configured in Your TriStation Project on page 217 Changing the Target System Version on page 218
When changing the target system version, you cannot: Downgrade from a model 3008 MP to a model 3006 MP. Downgrade a project created in TriStation v4.6 with a mix of High-Density and Enhanced Low-Density chassis to a target system version of 10.2.x or earlier.
218
Chapter 3
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 241. 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 241. You cannot import a TCM configuration file that was exported from the 4351A/4352A module originally configured in the v10.3 project.
Procedure
1 If needed, change the project state to Download All. 2 3 On the Commands menu, click Change State to Download All. In the Change Project State to Download All dialog box, click Change State.
Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. 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 1 to change the project state before continuing.
219
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 IPS Global Customer Support web site).
220
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 214 for more information.
5 6 7
Click OK. When asked to confirm your selection, click Yes to continue. 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. Click No to continue without creating a backup file.
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. 8 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 221. To finish the process, you must build the application and download it to the controller.
Table 29
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
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.6 on page 8. NOT ALLOWED
UPGRADE
NOT ALLOWED
DOWNGRADE
NOT ALLOWED
DOWNGRADE
NOT ALLOWED
DOWNGRADE
NOT ALLOWED
DOWNGRADE
NOT ALLOWED
DOWNGRADE
NOT ALLOWED
DOWNGRADE
Remove TCMs (all models) Remove model 3720, 3721, 3625 I/O modules
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
3008 MP v10.0.x
DOWNGRADE
DOWNGRADE
Remove model 4351A, 4352A TCMs Add support for model 4351, 4352 TCMs
Remove model 4351A, 4352A TCMs Remove model 3720, 3721, 3625 I/O modules Add support for model 4351, 4352 TCMs
Remove model 4351A, 4351B, 4352A, 4352B, 4353, 4354 TCMs Remove model 3720, 3721, 3625 I/O modules Add support for model 4351, 4352 TCMs
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
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
221
Table 29
222 Chapter 3
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
3008 MP v10.5.x
UPGRADE Add support for model 4351A and 4352A TCMs Remove model 4351 and 4352 TCMs
DOWNGRADE
DOWNGRADE
DOWNGRADE
DOWNGRADE
Remove model 4351B, 4352B, 4353, 4354 TCMs Remove model 3720, 3721, 3625 I/O modules
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
DOWNGRADE
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
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 configuratio n options for model 4351A, 4352A TCMs
DOWNGRADE
Remove model 4351B, 4352B, 4353, 4354 TCMs Remove model 4351A and 4352A TCMsa
Remove model 4351B, 4352B, 4353, 4354 TCMs Remove support for model 3807 I/O module
Remove model 4351B, 4352B, 4353, 4354 TCMs Remove support for model 3807 I/O module
Table 29
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
3008 MP v10.5.x
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
DOWNGRADE
DOWNGRADE
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
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
DOWNGRADE
No hardware change
223
Table 29
224 Chapter 3
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
3008 MP v10.5.x
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
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 217 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 217 for more information.
225
For information on configuring communication modules, see Configuring Tricon Communication Modules on page 234.
Note
See Configuring the Tricon Target System Version on page 214 for the target system version upgrade/downgrade rules that apply to configurations with mixed chassis types.
226
Chapter 3
Procedure
1 Expand the Controller tree, double-click Configuration, and then double-click Hardware Allocation. The Item Properties dialog box for the chassis appears.
227
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. 2 3 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. Available: Shows the amount of available (unused) logic power.
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.
228
Chapter 3
Procedure
1 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the chassis that you want to add or remove a module from.
Do one of the following: 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.
229
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.
Procedure
1 2 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.
1.
The model 3720 and 3721 AI modules are compatible only with Tricon v10.2 and later systems.
230
Chapter 3
Action Select the resolution to be used for the point. Available with SingleEnded and Differential AI modules. Standard Resolution: Data resolution is 12 bits, which is 4095 counts at the maximum range of 5 volts. For a Differential AI module, Standard Resolution cannot be selected if Bipolar Input is selected. High Resolution: Data resolution is 14 bits, which is 16383 counts at the maximum range of 5 volts. The default is Standard Resolution.
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 over-range). Available only if High Resolution is selected. The default is Unipolar Input.
Select whether the module should monitor field power at the termination panel. When field power monitoring is On, the module will report when field power at the term panel goes in or out of range. Applicable only if you are using a term panel that passes field power to the module. The default is Off. If you are not using a term panel that passes field power to the module, you must select Off. If you select On, and the term panel does not support field power monitoring, you will see Field Power faults on the module. For more information about external term panels, see the Field Terminations Guide for Tricon v9-v10 Systems.
Procedure
1 2 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.
2.
The model 3625 DO module is compatible only with Tricon v10.2 and later systems.
231
Select the tagname to be configured, and then specify these properties in the DO Setup dialog box.
Property DO Point Options Action Select the option to be used for the DO point. Not Used: Provides the same fault detection as for Non-Supervised points, except reporting of benign field fault conditions is suppressed. Points configured as Not Used will be energized if the application commands them on. Non-Supervised: Provides detection of all internal faults and limited external faults associated with the field device or wiring. Supervised: Provides detection of all internal faults and detection of all external faults associated with field device or wiring. The default is Non-Supervised. Shorted Point Alarm Threshold Enter the number of ohms below which values are alarmed as a shorted load. Typical threshold values are 10 to 48 ohms. The available range is 0 to 65,535. The default is 10. Only available if the points are supervised. Open Point Alarm Threshold Enter the number of ohms above which values are alarmed as an open load. Typical threshold values are 480 to 3,200 ohms. The available range is 0 to 65,535. The default is 2,400. Only available if the points are supervised.
4 5
Continue to select tagnames and specify settings as needed. Click OK to save your changes.
232
Chapter 3
Procedure
1 2 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 Rate Type Maximum RPM Maximum Speed Pulses Per Revolution Scale Factor Action Select the type of rate applied to pulse input signals: Speed or RPM. Enter the revolutions per minute for the pulse input device; used with RPM. Enter the speed for the pulse input device; used with Speed rate type. Enter the number of pulses per revolution of the measuring shaft; used with RPM rate type. Enter the scaling value to convert pulse input signals into engineering units. For: Pulses per second, set to 0.016667. Pulses per minute, set to 1.0 (default). Pulses per hour, set to 60.0
4 5
Continue to select tagnames and specify settings as needed. Click OK to save your changes.
233
Procedure
1 2 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 Model Type E, J, K, T Description 3706/A/AN or 3708/E/EN Specifies the thermocouple type installed. For 3706, J, K, or T. For 3708, E, J, K, or T. Degree conversion UpS (upscale) DnS (downscale) dgC is converted to Celsius. dgF is converted to Fahrenheit. Specifies value returned if voltage is out-of-range, or burnout occurs. Upscale returns +32,767. Downscale returns 32,767. For model 3708E only. Points For model 3706, 32 points. For model 3708, 16 points.
Click the type of module installed in the controller, and click OK. There are no other properties to specify.
234
Chapter 3
Topics include: Configuring Tricon ACM Ports on page 234 Configuring Tricon HIM Ports on page 236 Configuring Tricon EICM Ports on page 236 Configuring Tricon NCM Ports on page 238 Configuring Tricon SMM Ports on page 239 Configuring TCM Ports on page 241
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 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the ACM slot, and then click Setup.
235
For a NET 1 connection, specify these properties on the ACM Setup screen.
Property SOE Block Name Privilege Redundant Mode Time Synchronization Action If using SOE, specify the block number. Specify Read/Write to allow external devices to read and write points. The default is Read. Select the check box to specify that a redundant ACM is installed. Select On NET 1 enable time synchronization with external source to allow time synchronization with the I/A DCS.
For a NET 2 connection, specify these properties on the ACM Setup screen.
Property Redundant Mode Used/Not Used Action Select the check box to specify that a redundant module is installed. Select Used to specify the slots that have an installed ACM module. To enable the right slot, select the Redundant Mode check box (above). Privilege IP Address Specify Read/Write to allow external devices to read and write points. The default is Read. If using a default IP address, leave blank. If not, enter the IP address that identifies the controller on the network. This must be the same IP address as entered on the TriStation Communication screen (see Configuring the TriStation Network Connection on page 343). IP Subnet Mask If the controller is on a subnet, enter the subnet address.
236
Chapter 3
Action If needed, enter an IP address to be used as the default for a gateway. Select NET 2 to enable time synchronization with the Tricon Master controller.
Procedure
1 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the HIM slot, and then click Setup. Specify these properties on the HIM Setup screen.
Property Base Address Number of Extended Block Action Enter a number between 5 and 31 to specify the block address for the HIM based on the Data Hiway memory map. The default is 5. Enter a number which identifies a pair of HIM blocks consisting of a base block and a secondary block (which is offset from the 6-bit block address by 32). The default is 4.
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.
237
Procedure
1 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the EICM slot, and then click Setup.
238
Chapter 3
Action Type the number of characters for the printer; only available with port 5 and 10. Rows can be 0255; columns can be 0255. The SOE block name. Reserved for future use.
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 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the NCM slot, and then click Setup.
239
Property Installed/Not Installed Privilege IP Address Global Positioning System Installed Time Synchronization
Action Select to indicate which slots have modules installed. Available for the right slot only when the module is installed in a redundant (non-COM) slot. Select Read or Read/Write. Enter the IP address for the NCM. Select the check box to synchronize time with a GPS. The default is cleared. Select the check box to synchronize time with the Tricon master node. The default is cleared.
Procedure
1 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the SMM slot, and then click Setup.
240
Chapter 3
Action Select the check box to prevent Honeywell workstations from writing to memory and output points. The default is cleared. Should only be selected if requested by Honeywell factory test personnel. The default is cleared. Select the check box to enable time synchronization with the UCN. The default is cleared.
241
A single Tricon v10.x system3 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/4352A, 4351B/4352B, 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. 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, 4351B, and 4353 (Copper); and 4352A, 4352B, and 4354 (Fiber) on network and serial ports.
Network Ports (Models 4351A/4351B and 4352A/4352B) NET 1, NET 2 NET 1, NET 2 NET 1, NET 2 NET 1, NET 2 NET 1 NET 1, NET 2 NET 1 NET 1, NET 2 NET 1, NET 2 NET 1, NET 2
Protocol or Standard
Network Ports (Models 4353 and 4354) NET 1, NET 2 NET 1 NET 1 NET 1 NET 1 NET 2 NET 1 NET 1 NET 1 NET 1, NET 2 NET 1
TriStation TSAA (UDP/IP) TSAA with IP Multicast (UDP/IP) Peer-to-Peer (UDP/IP) Peer-to-Peer (DLC) Embedded OPC Server (Data Access and Alarms & Events) Modbus Slave (ASCII or RTU) Modbus Master (RTU) Modbus Master or Slave (TCP) GPS Time Synchronization Triconex Time Synchronization via DLC Triconex Time Synchronization via UDP/IP SNTP Triconex Time Synchronization Network Printing using Jet Direct
a. means the protocol is not available on this port.
3.
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.
242
Chapter 3
Note
Triconex 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.
To configure specific types of ports, see these topics: Configuring TCM Serial Ports on page 243 Configuring TCM Network Ports on page 245 Configuring TCM Peer-To-Peer Ports on page 250 Configuring TCM Modbus TCP Ports on page 252 Configuring TCM Routing on page 254 Configuring TCM Protocols (Tricon v10.3 and Later Only) on page 255
For additional information on configuring the TCM, see these topics: Configuring Tricon Time Synchronization on page 261 for instructions on configuring the TCM to synchronize time. Controlling Access to the TCM on page 345 for instructions on controlling access to the TCM on a per-client level. Configuring a Tricon TCM Port for Printing on page 356 for instructions on configuring the TCM for use with a printer.
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.
243
Procedure
1 2 3 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. Click the Serial Ports tab.
244
Chapter 3
Property Protocol
Action Select the communication protocol for the port: All ports can use Modbus Master, Modbus Slave ASCII, Modbus Slave RTU. Only port 1 can use GPS. This port is automatically configured for GPS when you enable time synchronization. See Using a Tricon TCM to Synchronize Time on page 266. Only port 4 can use TriStation.
Modbus Slave Address Baud Rate Data Bits Stop Bits Parity Transceiver Mode Handshake Termination Options FP Ordering
If you selected Modbus Slave RTU or ASCII, enter the number of the Modbus slave device (1-247). The default is 1. Enter the communication rate for the port. The default is 9600. Select 8 or 7 bits. The default is 8. Available only with Modbus Slave ASCII. Select 1 or 2 bits. The default is 1 bit. Select the type of parity for the port. The default is Odd. Select RS-485 or RS-232. The default is RS232. On port 4 when TriStation is selected as the protocol, RS-485 is not available. Select None or Hardware; the default is None. Select the type of termination used with cables. Only available with RS-485 Transceiver Mode. The default is None. Select the order to be used with floating point numbers. Determines whether the most significant bits in a 32-bit address are the first 16 (high) or the last 16 (low). The default is Low 16 Bits First. Enter the minimum and maximum values to be used for the Modbus data range. The default minimum is 0. The default maximum is 32,767. Enter the port number (1-32) that the TCM will use in Modbus Master functions to access the port. Only available for Modbus Master.
245
For more information about the target system version, see Configuring the Tricon Target System Version on page 214.
246
Chapter 3
Action Select the physical slot where the TCM module you want to configure is installed. 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.a See the Planning and Installation Guide for Tricon v9-v10 Systems for more information about slot locations.
Click Installed to enable configuration of the module. Clicking Not Installed resets all options to their default state and makes them unavailable for configuration. The default is Not Installed. Select the communication mode. For the model 4352A with fiber connectors, the default is 100 Mbps Half Duplex. The 4352A module cannot connect at 10 Mbps. For the model 4351A, the default is Auto-Negotiate.
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.
If needed, enter the IP address for the subnet. The default is 255.255.255.0. If needed, enter the IP address for the default gateway. The default is 0.0.0.0. Typically, this is the IP address of the network router. The default gateway address must be part of the subnet. Enter the UDP port to use for the TriStation connection. The default is 1502. See UDP Base Port Number on page 583 for additional information.
247
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 583 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
Click OK to save your changes. Changes to TCM IP addresses are not effective until the existing connection is closed and a new connection is opened. Once a connection is opened, it remains open until you close it, even if the IP address is changed via a download changes operation.
Procedure for Tricon v10.3 and Later (Models 4351A/4352A, 4351B/4352B, and 4353/4354)
1 2 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/OPC or TCM/B Setup dialog box appears.
248
Chapter 3
Action Select the physical slot where the TCM module you want to configure is installed. 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.a See the Planning and Installation Guide for Tricon v9-v10 Systems for more information about slot locations.
Click Installed to enable configuration of the module. Clicking Not Installed resets all options to their default state and makes them unavailable for configuration. The default is Not Installed. Select the communication mode. For a model 4352A, 4352B or 4354 with fiber connectors, the default is 100 Mbps Half Duplex. These modules cannot negotiate the connection speed or connect at 10 Mbps. For a model 4351A, 4351B or 4353, the default is Auto-Negotiate. 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.
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.
If needed, enter the IP address for the subnet. The default is 255.255.255.0. If needed, enter the IP address for the default gateway. The default is 0.0.0.0. Typically, this is the IP address of the network router. The default gateway address must be part of the subnet.
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.
249
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. Triconex 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 Triconex Technical Support for assistance with configuring these settings.
Property Lowest TCP Port Number Highest TCP Port Number Action Enter the lowest TCP port number to use for an outgoing connection from the TCM. Can be from 1024 to 65535. The default value is 49152. Applicable to Modbus/TCP and OPC ports. Enter the highest TCP port number to use for an outgoing connection from the TCM. Can be from 1024 to 65535. The default value is 65535. Applicable to Modbus/TCP and OPC ports.
5 Note
Click OK to save your changes. Changes to TCM IP addresses are not effective until the existing connection is closed and a new connection is opened. Once a connection is opened, it remains open until you close it, even if the IP address is changed via a download change operation.
250
Chapter 3
Procedure
1 2 3 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. Click the Peer-to-Peer tab.
4 5
Under Slot Selection, select the module (slot) you want to configure Peer-to-Peer ports for. Select a node (controller), and specify these properties.
Property Destination UDP Port Action Enter the UDP port number for each controller to be communicated with on the Peer-to-Peer network. This must be the same number that the controller uses as its UDP Base Port Number. The default is 1503. You should not need to change this setting unless the TCM is located behind a firewall.
251
Property Network
Action Click the network port that the TCM uses to communicate with the selected Peer-to-Peer node. The default is NET 1. NET 2 is not available for model 4353 and 4354 TCMs. Enter the IP address for the controller.
IP Address
6 7
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. Repeat steps 4 through 6 for each node to be included in the network. Note 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 UDP Base Port Number 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 Peer-toPeer 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 583 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 Select the check box to enable communication with Tricon version 8 and 9 systems on the NET 1 port. The default is cleared. Available only for a module installed in the left slot.
252
Chapter 3
Procedure
1 2 3 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. Click the Modbus TCP tab.
4 5
Under Slot Selection, select the module (slot) you want to configure Modbus TCP ports for. Select a port and specify these properties.
253
Action Select the communication protocol for the port. Options include Modbus TCP Master and Modbus TCP Slave Net. Available only if Modbus TCP Slave is selected as the communication protocol. Select this check box if you want to allow Modbus writes to this slave port. The default is cleared (the port is read-only). Enter the number of the Modbus Master node (1-32). Available only with Modbus TCP Master protocol. Must be unique for each TCM installed in a system. Enter the number for the TCP port. The default is 502. Click the network that the selected port is connected to. For models 4351A/4352A and 4351B/4352B, the default is NET 2. For models 4353 and 4354, the default is NET 1 (NET 2 is not available for these TCMs).
IP Address
If the port uses Modbus Master protocol, enter the IP address of the slave node. If the port uses Modbus Slave protocol, enter either of these: To accept communication from any Modbus Master, leave the IP address as 0.0.0.0. To accept communication only from a defined Modbus Master, enter the specific master IP address.
Select the ordering to use for floating point numbers. The default is Low 16 Bits First. Enter the minimum and maximum for the Modbus data range. Available only with Modbus TCP Slave Net.
254
Chapter 3
Procedure
1 2 3 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. Click the Routing tab.
4 5 6
Select the module (slot) you want to configure routing for. Select the network (NET 1 or NET 2) you want to configure routing for. Select a destination route and then specify these properties.
Property Destination IP Address Destination IP Subnet Mask Action Enter the IP address which is used if the controller is not on the same subnet as other devices. Enter the IP address of the subnet mask. If the gateway address is on NET 2, then the subnet mask must be the same as the NET 2 subnet mask defined on the Network tab. If the gateway address is on NET 1, then the subnet mask must be the same as the NET 1 subnet mask defined on the Network tab. See Configuring TCM Network Ports on page 245.
255
Action Enter the IP address of the gateway to which the controller is connected. The gateway address must always be on NET 1 or NET 2.
Click Update Destination to apply the settings. Note If necessary, click Reset All to change all destination settings for the selected slot to their default, unconfigured state.
Procedure
1 2 3 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/OPC or TCM/B Setup dialog box appears. Click the Protocols tab.
256
Chapter 3
4 5
Select the module (slot) you want to configure protocols for. Specify these properties for the protocol(s) you will be using with the TCM.
Protocol TriStation Property TriStation Port Number Action Enter the UDP port to use for TriStation connections on NET 1 and NET 2. The default for both ports is 1502. Cannot be the same as the Management or TSAA port numbers. See UDP Base Port Number on page 583 for additional information. Management Management Port Number Enter the UDP port to use for the Enhanced Diagnostic Monitors connection to TCM communication status information on NET 1 and NET 2. The default for both ports is 1510. This must be the same value as the Management UDP Port Number property in the Enhanced Diagnostic Monitors Network Configuration dialog box. Cannot be the same as the TriStation or TSAA port numbers. For more information, see the Enhanced Diagnostic Monitor Users Guide.
257
Action Enter the UDP port to use for TSAA connections, including DDE Server and SOE Recorder, on NET 1 and NET 2. The default for both ports is 1500. Available only for NET 1 on model 4353 and 4354 TCMs. Cannot be the same as the TriStation or Management port numbers. A value of 0 indicates that TSAA communication is disabled on that port. See UDP Base Port Number on page 583 for additional information.
Multicast IP Address
Enter the IP address that TSAA multicasts should be sent to. The default is 0.0.0.0 (IP multicasting is disabled). Available only for NET 1 on model 4353 and 4354 TCMs. Bin data and/or SOE data available messages will be sent to the specified address, so that all members of the group will receive the data. Note: To use TSAA multicasting, your network hardware (such as routers) must also support multicasting. See your Network Administrator or IT department for more information.
Enter the update rate, in milliseconds, for TSAA IP multicasting. Can be from 250 to 2,000. The default value is 1000. Available only for NET 1 on model 4353 and 4354 TCMs. 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 1,000ms).
Enter the SOE block number used when events are retrieved by an OPC client. Can be from 0 to 14. The default value is 0 (not configured). Must be unique for each TCM installed in a system. Available with TCM models 4353 and 4354 only. Enter the severity (priority) level for SOE events (state changes obtained from the SOE block). Can be from 1 to 1,000. The default value is 500. Available with TCM models 4353 and 4354 only. Severity levels identify the urgency of an event. Enter a number to represent the severity level for informational system events. Can be from 1 (lowest) to 1,000 (highest). Enter 0 if you do not want the TCM to send notifications of informational system events to OPC clients. The default value is 100.
SOE Severity
Info Severity
258
Chapter 3
Protocol
Action Enter a number to represent the severity level for minor system events. Can be from 1 (lowest) to 1,000 (highest). Enter 0 if you do not want the TCM to send notifications of minor system events to OPC clients. The default value is 300. Enter a number to represent the severity level for major system events. Can be from 1 (lowest) to 1000 (highest). Enter 0 if you do not want the TCM to send notifications of major system events to OPC clients. The default value is 500. Enter a number to represent the severity level for fatal system events. Can be from 1 (lowest) to 1000 (highest). Enter 0 if you do not want the TCM to send notifications of fatal system events to OPC clients. The default value is 700. Click to prevent the TCM from sending system event notifications to OPC clients. Sets the severity levels for all system event types to 0. Click to reset all OPC severity levels to their default values.
Major Severity
Fatal Severity
Disable All
Reset All
Click OK to save your changes. By default, TSAA clients have write access to the NET1 and NET2 ports on the model 4351B, 4352B, 4353, and 4354 Tricon TCMs. Depending on your configuration, this may create a security issue. Please note that this default behavior is opposite of that on the model 4351/4352, and 4351A/4352A TCMs. 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 345.
CAUTION
259
Procedure
1 2 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.
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.
260
Chapter 3
Procedure
1 2 3 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. 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.
4 5 6
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. Click OK to save your changes.
261
To the GPS (Global Positioning System). To the Tricon master node in a Peer-to-Peer network. To the Honeywell Universal Control Network (UCM). To the GPS (Global Positioning System). To SNTP. To the Tricon master node in a Peer-to-Peer network (Triconex Time Synchronization).
262
Chapter 3
Procedure
1 2 Expand the Configuration tree, double-click Configuration, and expand Hardware Allocation. Double-click the ACM slot, and then click Setup.
263
3 4
Select the On NET 1 enable time synchronization with Tricon Master Node check box. Click OK to save your changes.
264
Chapter 3
CAUTION
Procedure
1 2
To ensure the accuracy of GPS time adjustments, the Tricon clock must be set to within 10 minutes of the correct local time.
Expand the Configuration tree, double-click Configuration, and expand Hardware Allocation. Double-click the NCM/G slot, and then click Setup.
265
Procedure
1 2 Expand the Configuration tree, double-click Configuration, and expand Hardware Allocation. Double-click the SMM slot, and then click Setup.
3 4
Select the Enable time synchronization with external source check box. Click OK to save your changes.
266
Chapter 3
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: Configuring GPS Time Synchronization on the TCM on page 266 Configuring SNTP Time Synchronization on the TCM on page 268 Configuring Triconex Time Synchronization on the TCM on page 270
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.
4. NET 2 is not available for Triconex Time Synchronization with model 4353 and 4354 TCMs.
267
Procedure
1 2 3 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. Click the Time Sync tab.
4 5
Under Slot Selection, click Left Slot. You must configure the module in the left slot first. Under Time Synchronization Configuration, select GPS. If you previously configured Port 1 to use a Modbus protocol, selecting GPS will reset Port 1 to use the GPS protocol. See Configuring TCM Serial Ports on page 243 for more information.
(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 245) 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 2 In the Configuration tree, click Operating Parameters (see Setting Tricon Operating Parameters on page 211). Select the Enable Tricon Node Time Synchronization check box.
268
Chapter 3
Procedure
1 2 3 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. Click the Time Sync tab.
4 5
Under Slot Selection, click Left Slot. You must configure the module in the left slot first. Select these properties.
269
Property Time Synchronization Configuration SNTP Master Network SNTP Master IP Address
Action Select SNTP. The default is None. Click the network the SNTP server is located on. Enter the IP address of the SNTP server to synchronize time with.
(Optional) If you have a redundant TCM installed in the right slot, under Slot Selection, click Right Slot, and then select these properties.
Property Time Synchronization Configuration SNTP Master Network SNTP Master IP Address Action Select SNTP Redundant. Click the network the SNTP server is located on. This can be different than the master network selected for the left slot. Enter the IP address of the SNTP server to synchronize time with.
Note
The module in the right slot can be configured only if it has been installed (see Configuring TCM Network Ports on page 245) 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 sychronization of other controllers on a Peer-to-Peer network (using Triconex Time Synchronization) do the following: 1 2 In the Configuration tree, click Operating Parameters (see Setting Tricon Operating Parameters on page 211). Select the Enable Tricon Node Time Synchronization check box.
270
Chapter 3
Procedure
1 2 3 4 5 6 7 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. Click the Time Sync tab. Under Time Synchronization Configuration, select None. Click OK to save your changes. In the Configuration tree, click Operating Parameters (see Setting Tricon Operating Parameters on page 211). Select the Enable Tricon Node Time Synchronization check box. This allows the controller to participate as a master node in time synchronization across the Peer-to-Peer network.
Procedure
1 2 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.
271
4 5
Under Slot Selection, click Left Slot. You must configure the module in the left slot first. Specify these properties.
Property Time Synchronization Configuration Peer-to-Peer Master Network Action Select Peer-to-Peer. The default is None. Click the network you want to enable Triconex Time Synchronization for. The default is NET 2.This property applies to the modules installed in both the left and right slots simultaneously.
Note 6 7 8
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.
Click OK to save your changes. In the Configuration tree, click Operating Parameters (see Setting Tricon Operating Parameters on page 211). Select the Enable Tricon Node Time Synchronization check box. This allows the controller to participate as a slave node in time synchronization across the Peer-to-Peer network.
272
Chapter 3
4
Trident Controller Configuration
Overview 274 Setting Trident Operating Parameters 277 Allocating Memory for Trident Points 279 Configuring the Trident Target System Version 280 Configuring Trident Hardware 288 Configuring the Trident Communication Module 303 Configuring Trident Time Synchronization 322 Using Trident System and Module Attributes 329
274
Chapter 4
Overview
This figure shows the main steps for configuring the Trident 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
Errors? No - Set operating parameters C onfigure the C ontroller - Allocate memory and configure hardware - C onfigure communication to external devices - Set up Time Synchronization (optional)
Set the operating parameters. Allocate memory and hardware. Configure hardware. Configure communication to external devices. Set up time synchronization.
Overview
275
276
Chapter 4
277
Procedure
1 2 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.
278
Chapter 4
Property Password Required for Connection Password Restart on Power Up Disable Remote Changes to Outputs Allow Disabling of Points
Action Select the check box to restrict access by requiring a password when connecting to the controller. The default is cleared. Enter the password required to access the controller. The default is PASSWORD. Select the check box to have the application restarted after a power failure. The default is cleared. Clear the check box to allow remote devices to write to output points. The default is selected. Select the check box to allow points to be disabled from TriStation 1131. The default is cleared. This property can be changed only when your project is in the Download All state. If you change this property (by selecting or clearing the check box), you must perform a Download All to apply your changes to the controller. TriStation will automatically rebuild the application before it is downloaded.
Select the check box to allow the controller to participate in time synchronization across the Peer-to-Peer network as a master node or a slave node (see Configuring Triconex Time Synchronization on the Trident 2.x CM on page 327). Applicable to Trident 2.x systems only. The default is cleared. Clear the check box if you do not want to use local time. The default is selected. Select the check box to prevent the Trident MPs from restarting automatically after a fatal error occurs. By default, when a Trident MP detects a fatal error condition, it will automatically restart, and when possible, re-educate from the other active MPs. This allows the system to overcome temporary problems without user intervention. When this property is selected, if the MP detects a fatal error, it will shut down without a restart attempt, requiring user intervention to restart the MP. This will cause the Trident to go to either DUAL or SINGLE mode. In all cases, if an MP attempts to automatically restart more than three times in 30 minutes, all future restart attempts will be disabled, to prevent the MP from continually restarting. If all three MPs shut down, user intervention will be required to restart the system. Applicable to Trident 2.x systems only. The default is cleared. Note: The default restart behavior described above applies to Trident 1.x systems, but cannot be changed.
Use Local Time Prevent Restart Following Fatal Error (Trident 2.x only)
Click OK to save.
279
CAUTION
After an application has been downloaded to the controller or emulator, changes to memory allocation require a Download All (see Using the Download All Command on page 445).
See What Are Undeclared Tagnames? on page 149 for more information about memory allocation for points.
Procedure
1 2 Expand the Controller tree, double-click Configuration, and then expand Memory Allocation. Double-click the type of point you want to change.
3 4
Move the slider up or down to change the memory allocated for the selected point. Repeat for all points to be changed.
280
Chapter 4
Topics include: Determining Your Trident Controllers System Version on page 280 Validating a Trident Target System Version Change on page 281 Changing the Trident Target System Version on page 283 Results of a Trident Target System Version Change on page 285
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 Do one of the following: If any of the following scenarios are true, go to step 2: You know you have a Trident 1.x system. You are unable to connect to the Trident. You do not have the Enhanced Diagnostic Monitor v2.21 or later.
1. The Trident target system version is not available in Enhanced Diagnostic Monitor v2.1 and earlier.
281
2 3 4 5
Refer to your sales order paperwork, which should specify your Tridents system version. You do not need to continue with this procedure. Open the Enhanced Diagnostic Monitor v2.2 or later (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.
Procedure
1 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the IOP whose target system version you want to change, and then click Replace MP.
282
Chapter 4
a. TriStation 1131 v4.6 does not support Trident versions v1.1 and earlier. For a list of TriStation versions compatible with your Trident, see the applicable Trident Product Release Notice (available on the IPS Global Customer Support web site).
Note
If you arent sure which Trident system version to select, use the Enhanced Diagnostic Monitor or your sales paperwork to verify your Trident system version information. See Determining Your Trident Controllers System Version on page 280 for more information.
4 5
Select the Validate Only check box. 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.
283
You will need to re-enable time synchronization after the target system version change is complete. See Configuring Trident Time Synchronization on page 322 for more information. Upgrading or downgrading within a major Trident version (for example, from 1.2 to 1.6) will NOT change your time synchronization settings.
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.
Procedure
1 If needed, change the project state to Download All. On the Commands menu, click Change State to Download All. In the Change Project State to Download All dialog box, click Change State.
284
Chapter 4
2 3
Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the IOP whose system version you want to change, and then click Replace MP.
Note
If the Replace MP button is unavailable, the project is in the Download Changes state. Go back to step 1 to change the project state before continuing.
a. TriStation 1131 v4.6 does not support Trident versions 1.1 and earlier. For a list of TriStation versions compatible with your Trident, see the applicable Trident Product Release Notice (available on the IPS Global Customer Support web site).
285
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 Controllers System Version on page 280 for more information.
5 6 7
Click OK. When asked to confirm your selection, click Yes to continue. 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. Click No to continue without creating a backup file.
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. 8 9 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 286. To finish the process, you must build the application and download it to the controller.
286
Table 31
Chapter 4
NEW VERSION
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.6 on page 8. 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.
NOT ALLOWED
DOWNGRADE Remove model 3361 AI /DI module.
NOT ALLOWED
DOWNGRADE Remove model 3361 AI /DI module. Remove support for enhanced model 3201 CM.
NOT ALLOWED
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.
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.
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.
Table 31
v1.5.x or v1.6.x
UPGRADE Add support for enhanced model 3201 CM.
v2.0
v2.1
DOWNGRADE Remove model 3382 EPI module. Add support for model 3381 PI module. Remove model 3411 SDO module. Remove model 3311 HRDI module.
v2.0
v2.1
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.
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.
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.
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.
287
288
Chapter 4
Procedure
1 2 On the Controller tree, double-click Configuration. On the Configuration tree, open the Hardware Allocation node, and then double-click an MP. The Item Properties dialog box appears.
289
4 Note
Click Confirm to save your changes. You cannot specify point properties for a Trident MP.
290
Chapter 4
Procedure
1 2 On the Controller tree, double-click Configuration. On the Configuration tree, open the Hardware Allocation node, and then double-click an MP. The Item Properties dialog box appears.
Click the Attributes tab. These properties are displayed on the Attributes tab.
Property Tagname Data Type Location Description Description The name of the status or control attribute. The data type. The memory location for the attribute. The description of the attribute.
291
Procedure
1 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the MP slot, click Setup, and then click the Network Ports tab.
292
Chapter 4
Procedure
1 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the MP slot, click Setup, and then click the Network Ports tab.
293
Action Set to TriStation; cannot be changed. Set to RJ-45; cannot be changed. Select half or full duplex depending on the installation. Specify the IP address of the controller. The default IP address is 192.168.255.n, where n is the node number of the controller. The default IP address is for connection to the Left MP only.
Procedure
1 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the MP slot, click Setup, and then click the Serial Ports tab.
294
Chapter 4
Property Port Selection Protocol Modbus Slave Address Baud Rate Data Bits Stop Bits Parity Transceiver Mode Handshake Wire Type Modbus (Minimum and Maximum) Range Signal Delays Copy Current Setup to Other Serial Ports Command
Action Select the port to be configured. Only Modbus Slave RTU is available. Enter the slave address of the serial port on the MP Baseplate. Select the rate used in the installation. Set at 8 bits; cannot be changed. Select 1 Bit or 2 Bits. Select a parity option. Select RS-232 or RS-485, depending on the physical connection. Set to none; cannot be changed. Set to 4 wire; cannot be changed. Enter a minimum value (0 is default) and maximum value (32,767 is maximum). Set to 0; cannot be changed. Click to have the settings for the selected port copied to the other two serial ports on the MP.
295
Procedure
1 2 On the Controller tree, double-click Configuration. On the Configuration tree, open the Hardware Allocation node, and then click the MP slot. On the Tools menu, click Insert Module. The Insert Module dialog box appears. Select the type of module you want to add to the configuration, and click OK. The mouse pointer changes to look like this: 5 Click on the configuration pane to add the module to the configuration.
3 4
Configuration pane
If you added an SDO, HRDI, EPI, PI, or CM module, configure the module using the instructions specific to that module: Configuring a Trident SDO Module on page 296 Configuring a Trident HRDI Module on page 297 Configuring a Trident PI or EPI Module on page 300 Configuring the Trident Communication Module on page 303
296
Chapter 4
Procedure
1 2 3 On the Controller tree, double-click Configuration. On the Configuration tree, click Hardware Allocation. On the configuration pane, click the icon that represents the module, and then press the Delete key.
Procedure
1 2 3 On the Controller tree, double-click Configuration. On the Configuration tree, expand the Hardware Allocation node, and then expand the MP node the SDO module is installed in. Double-click the SDO module, and then click Setup.
2.
The model 3411 SDO module is compatible only with Trident v2.1 and later systems. See the Planning and Installation Guide for Trident v2 Systems for more information.
297
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
Using the SYS_OVD_INHIBIT function block to inhibit OVDs on a point overrides the supervisory configuration and results in loss of supervision of that point. See the TriStation Libraries Reference for more information about the SYS_OVD_INHIBIT function block.
Continue to select tagnames and specify settings as needed. Press Shift and click to select multiple contiguous tagnames. Press Ctrl and click to select multiple non-contiguous tagnames.
Procedure
1 2 3 On the Controller tree, double-click Configuration. On the Configuration tree, expand the Hardware Allocation node, and then expand the MP node the HRDI module is installed in. Double-click the HRDI module, and then click Setup.
3.
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.
298
Chapter 4
Select the tagname to be configured, and then specify these properties in the HRDI Setup dialog box.
Property SOE Trigger State Action Determines if SOE is enabled for the selected point. When SOE is enabled, the HRDI module will time stamp and record point transitions for the selected point. Select the option to be used for the selected point. 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). The default is Disabled.
299
Action Defines the number of milliseconds (with an accuracy of 1 msec or less) a signal must be stable before its change in state (transition) causes the reporting of an event. Also known as the debounce period. A longer trigger time results in a longer debounce period, so that pulse widths that fall within the debounce period will not be reported as an event. Enter the trigger time in milliseconds. The available range is 0 to 250 msec. If any trigger with a pulse width larger than x msec needs to be reported as an event, then enter x-1 msec. For example, to report a pulse width larger than 75, enter 74 as the trigger time (because 75-1=74). 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. For example, to filter out a pulse width smaller than 30, enter 31 as the trigger time (because 30+1=31). The default is 0, meaning there is no debounce period, and: 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. Only available if SOE has been enabled for the point.
Defines the length of time after a transition before a subsequent transition will be reported. Once a transition on the selected point has occurred, any subsequent transitions will be reported only after the dead time interval has elapsed. A longer dead time interval is better able to prevent the higherlevel SOE application from being flooded with events, but it also means there is a higher chance of losing subsequent transition events. Enter the amount of dead time in seconds. The available range is 0 to 250 sec, with an accuracy of 10 msec or less. The default is 0, meaning any subsequent transition will generate an event as long as the previous transition on the same point has been collected and cleared. It does not mean that every transition on the same point will generate an event, as a transition on the same point that occurs too soonbefore the previous event is clearedmay be missed. Only available if SOE has been enabled for the point.
Continue to select tagnames and specify settings as needed. Press Shift and click to select multiple contiguous tagnames. Press Ctrl and click to select multiple non-contiguous tagnames.
300
Chapter 4
A maximum of 5 EPI modules can be configured in a Trident 2.1 or later 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. Note 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. TriStation will not allow you to upgrade the projects target system version to Trident 2.1 or later if more than 5 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 Target System Version on page 280 for more information about changing the target system version. If you have more than 5 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 2 3 On the Controller tree, double-click Configuration. On the Configuration tree, expand the Hardware Allocation node, and then expand the MP node the PI or EPI module is installed in. Double-click the PI or EPI module, and then click Setup.
4.
The model 3382 EPI module is compatible only with Trident v2.1 and later systems. The model 3381 PI module is compatible only with Trident v2.0 and earlier systems. See the Planning and Installation Guide for Trident v2 Systems for more information.
301
Select the tagname (point) to be configured, and then specify these properties in the PI Setup dialog box.
Property Field Power Action Select Field Power Present if the installed system has field power connected to the Pulse Input Baseplate. The default is Field Power Absent. Enter the minimum range for field power in volts. The default is 0 volts. Available only when Field Power Present is selected. Max Field Enter the maximum range for field power in volts. The default is 33 volts. Available only when Field Power Present is selected. Rate Type Select Speed or RPM to specify the type of rate applied to pulse input signals. Speed: Used for pulses measured in seconds, minutes, or hours. RPM: Used for pulses measured in the number of revolutions per minute of the shaft that connects a gear to the rotating equipment. Not available if an Acceleration or Jerk point is selected (EPI module only). Triggering Mode Select Rising Edge or Falling Edge depending on the installation. Not available if an Acceleration or Jerk point is selected (EPI module only).
Min Field
302
Chapter 4
Action Enter the number of gear teeth that are counted in each revolution. The Rate Type property must be specified as RPM to enable this property. Not available if an Acceleration or Jerk point is selected (EPI module only).
Scale Factor
Specifies how to convert pulse input signals into engineering units. For: Pulses per second, set to 0.016667. Pulses per minute, set to 1.0 (default). Pulses per hour, set to 60.0 Not available if an Acceleration or Jerk point is selected (EPI module only).
Continue to select tagnames and specify settings as needed. Press Shift and click to select multiple contiguous tagnames. Press Ctrl and click to select multiple non-contiguous tagnames.
303
Topics include: Configuring the Trident v1.x Communication Module on page 303 Configuring the Trident v2.x Communication Module on page 307
See Configuring Trident Printing on page 394 for instructions on configuring the Trident CM for use with a printer.
Procedure
1 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the CM, click Setup, and then click the Network tab.
304
Chapter 4
305
Procedure
1 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the CM slot, click Setup, and then click the Serial Ports tab.
Baud Rate Data Bits Stop Bits Parity Transceiver Mode Handshake Wire Type
306
Chapter 4
Action Enter a minimum value (0 is default) and maximum value (32,767 is maximum). Only available with Modbus. Enter the number of milliseconds to adjust timing of the data transmission.
Procedure
1 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the CM slot, click Setup, and then click the Routing tab.
4 5
Repeat for each route required on your network. Click OK to save your changes.
307
A single Trident v2.x controller supports a maximum of two CMs on one CM baseplate. See the Planning and Installation Guide for Trident v2 Systems for detailed CM installation guidelines. The following table lists the protocols supported by the enhanced Trident CM (model 3201) on network and serial ports.
Protocol or Standard TriStation TSAA (UDP/IP) TSAA with IP Multicast (UDP/IP) Peer-to-Peer (UDP/IP) Peer-to-Peer (DLC) Modbus Slave (ASCII or RTU) Modbus Master (RTU) Modbus Master or Slave (TCP) GPS Time Synchronization Triconex Time Synchronization via DLC Triconex Time Synchronization via UDP/IP SNTP Triconex Time Synchronization Network Printing using Jet Direct
a. means the protocol is not available on this port.
Network Ports NET 1, NET 2 NET 1, NET 2 NET 1, NET 2 NET 1, NET 2 NET 1, NET 2 NET 1, NET 2 NET 1 NET 1, NET 2 NET 1, NET 2 NET 1, NET 2
Serial Ports Port 3 only a Any port Any port Any port
Note
While the preferred means for connecting the TriStation PC to the Trident controller is via a network connection, Triconex 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 for the First Time on page 369 for more information.
To configure specific types of CM ports, see these topics: Configuring Trident v2.x CM Serial Ports on page 309 Configuring Trident v2.x CM Network Ports on page 311
308
Chapter 4
Configuring Trident v2.x CM Peer-To-Peer Ports on page 313 Configuring Trident v2.x CM Modbus TCP Ports on page 315 Configuring Trident v2.x CM Routing on page 316 Configuring Trident v2.x CM Protocols on page 318
For additional information on configuring the CM, see these topics: Using a Trident 2.x CM to Synchronize Time on page 324 for instructions on configuring the CM to synchronize time. Controlling Access to the Trident 2.x CM on page 389 for instructions on controlling access to the CM on a per-client level. Configuring Trident Printing on page 394 for instructions on configuring the CM for use with a printer.
309
Procedure
1 2 3 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the CM, and then click Setup. The CM Setup dialog box appears. Click the Serial Ports tab.
310
Chapter 4
Action Enter the communication rate for the port. The default is 9600. For a TriStation connection, the default is 115200 and cannot be changed.
Data Bits Stop Bits Parity Transceiver Mode Handshake Termination Options FP Ordering
Select 8 or 7 bits. The default is 8. Available only with Modbus Slave ASCII. Select 1 or 2 bits. The default is 1 bit. Select the type of parity for the port. The default is Odd. Select RS-485 or RS-232. The default is RS-232. On port 3 when TriStation is selected as the protocol, RS-485 is not available. Select None or Hardware; the default is None. Select the type of termination used with cables. Only available with RS-485 Transceiver Mode. The default is None. Select the order to be used with floating point numbers. Determines whether the most significant bits in a 32-bit address are the first 16 (high) or the last 16 (low). The default is Low 16 Bits First. Note: If you select Modbus Master as the communication protocol, this property is automatically set to High 16 Bits First and cannot be changed.
Enter the minimum and maximum values to be used for the Modbus data range. The default minimum is 0. The default maximum is 32,767. Enter the port number that the CM will use in Modbus Master functions to access the port (1-15). Only available for Modbus Master.
311
Procedure
1 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the CM, and then click Setup. The CM Setup dialog box appears.
312
Chapter 4
Action Click Installed to enable configuration of the module. Clicking Not Installed resets all options to their default state and makes them unavailable for configuration. The default is Not Installed. Select the communication mode. For NET 1, the default is 10 Mbps Half Duplex. For NET 2, the default is Auto-Negotiate.
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 for the First Time on page 368 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.
If needed, enter the IP address for the subnet. The default is 255.255.255.0. If needed, enter the IP address for the default gateway. The default is 0.0.0.0. Typically, this is the IP address of the network router. The default gateway address must be part of the subnet.
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. 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. Triconex 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 Triconex Technical Support for assistance with configuring these settings.
313
Action Enter the lowest TCP port number to use for an outgoing connection from the CM. Can be from 1024 to 65535. The default value is 49152. Applicable to Modbus/TCP ports. Enter the highest TCP port number to use for an outgoing connection from the CM. Can be from 1024 to 65535. The default value is 65535. Applicable to Modbus/TCP ports.
5 Note
Click OK to save your changes. Changes to CM IP addresses are not in effect until the existing connection is closed and a new connection is opened. Once a connection is opened, it remains open until you close it, even if the IP address is changed via a download changes operation.
Procedure
1 2 3 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the CM, and then click Setup. The CM Setup dialog box appears. Click the Peer-to-Peer tab.
314
Chapter 4
4 5
Under Slot Selection, select the module (slot) you want to configure Peer-to-Peer ports for. Select a node (controller), and specify these properties.
Property Destination UDP Port Action Enter the UDP port number for each controller to be communicated with on the Peer-to-Peer network. This must be the same number that the controller uses as its UDP Base Port Number. The default is 1503. You should not need to change this setting unless the CM is located behind a firewall. Network IP Address Click the network port that the CM uses to communicate with the selected Peer-to-Peer node. The default is NET 1. Enter the IP address for the controller.
6 7
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. Repeat steps 4 through 6 for each node to be included in the network. Note 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 UDP Base Port Number 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 Peer-toPeer 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 583 for reserved values. Enable Communication with Tricon V8, Tricon V9, and Trident v1 Peerto-Peer Systems Select the portNET 1 or NET 2on which you want to enable Peer-to-Peer communication with Tricon version 8 and 9 systems, and/or Trident version 1 systems. The default is None. Available only for a module installed in the left slot.
315
Procedure
1 2 3 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the CM, and then click Setup. The CM Setup dialog box appears. Click the Modbus TCP tab.
4 5
Under Slot Selection, select the module (slot) you want to configure Modbus TCP ports for. Select a port and specify these properties.
Property Protocol Port Write Enabled Action Select the communication protocol for the port. Options include Modbus TCP Master and Modbus TCP Slave Net. Available only if Modbus TCP Slave is selected as the communication protocol. Select this check box if you want to allow Modbus writes to this slave port. The default is cleared (the port is read-only).
316
Chapter 4
Action Enter the number of the Modbus Master node (1-15). Available only with Modbus TCP Master protocol. Must be unique for each CM installed in a system. Enter the number for the TCP port. The default is 502. Click the network that the selected port is connected to. The default is NET 2. If the port uses Modbus Master protocol, enter the IP address of the slave node. If the port uses Modbus Slave protocol, enter either of these: To accept communication from any Modbus Master, leave the IP address as 0.0.0.0. To accept communication only from a defined Modbus Master, enter the specific master IP address.
FP Ordering
Select the order to be used with floating point numbers. Determines whether the most significant bits in a 32-bit address are the first 16 (high) or the last 16 (low). The default is Low 16 Bits First. Note: If you select Modbus TCP Master as the communication protocol, this property is automatically set to High 16 Bits First and cannot be changed.
Enter the minimum and maximum values to be used for the Modbus data range. The default minimum is 0. The default maximum is 32,767. Available only with Modbus TCP Slave Net.
Procedure
1 2 3 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the CM, and then click Setup. The CM Setup dialog box appears. Click the Routing tab.
317
4 5 6
Select the module (slot) you want to configure routing for. Select the network (NET 1 or NET 2) you want to configure routing for. Select a destination route and then specify these properties.
Property Destination IP Address Destination IP Subnet Mask Action Enter the IP address which is used if the controller is not on the same subnet as other devices. Enter the IP address of the subnet mask. If the gateway address is on NET 2, then the subnet mask must be the same as the NET 2 subnet mask defined on the Network tab. If the gateway address is on NET 1, then the subnet mask must be the same as the NET 1 subnet mask defined on the Network tab. See Configuring Trident v2.x CM Network Ports on page 311. Enter the IP address of the gateway to which the controller is connected. The gateway address must always be on NET 1 or NET 2.
Click Update Destination to apply the settings. Note If necessary, click Reset All to change all destination settings for the selected slot to their default, unconfigured state.
318
Chapter 4
Procedure
1 2 3 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the CM, and then click Setup. The CM Setup dialog box appears. Click the Protocols tab.
4 5
Select the module (slot) you want to configure protocols for. Specify these properties for the protocol(s) you will be using with the CM.
Protocol TriStation Property TriStation Port Number Action Enter the UDP port to use for TriStation connections on NET 1 and NET 2. The default for both ports is 1502. Cannot be the same as the Management or TSAA port numbers. See UDP Base Port Number on page 583 for additional information.
319
Protocol Management
Action Enter the UDP port to use for the Enhanced Diagnostic Monitors connection to CM communication status information on NET 1 and NET 2. The default for both ports is 1510. This must be the same value as the Management UDP Port Number property in the Enhanced Diagnostic Monitors Network Configuration dialog box. Cannot be the same as the TriStation or TSAA port numbers. For more information, see the Enhanced Diagnostic Monitor Users Guide.
TSAA
Enter the UDP port to use for TSAA connections, including DDE Server and SOE Recorder, on NET 1 and NET 2. The default for both ports is 1500. Cannot be the same as the TriStation or Management port numbers. A value of 0 indicates that TSAA communication is disabled on that port. See UDP Base Port Number on page 583 for additional information.
Enter the IP address that TSAA multicasts should be sent to. The default is 0.0.0.0 (IP multicasting is disabled). Bin data and/or SOE data available messages will be sent to the specified address, so that all members of the group will receive the data. Note: To use TSAA multicasting, your network hardware (such as routers) must also support multicasting. See your Network Administrator or IT department for more information.
Enter the update rate, in milliseconds, for TSAA IP multicasting. Can be from 250 to 2,000. The default value is 1,000. 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 1,000ms).
Click OK to save your changes. By default, TSAA clients have write access to the NET 1 and NET 2 ports on the Trident v2.x 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 CM on page 389.
CAUTION
320
Chapter 4
Procedure
1 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the CM, and then click Setup. The CM Setup dialog box appears.
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 later system cannot be imported to a CM installed in a Trident v1.x system.
321
Procedure
1 2 3 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the CM, and then click Setup. The CM Setup dialog box appears. 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.
4 5 6
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. Click OK to save your changes.
322
Chapter 4
CM (v2.x)
All of the v1.x CM capabilities, plus: To SNTP. To the Tricon or Trident master node in a Peer-to-Peer network (Triconex Time Synchronization).
MP
By writing aliased data to the TIMESET or TIMEADJ function blocks in a TriStation application. For assistance with the specialized programming that is required, contact Technical Support.
323
Procedure
1 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the CM slot, click Setup, and then click the Network tab.
Select one of the following: On NET 1 Enable Time Synchronization with Trident Master Node On NET 2 Enable Time Synchronization with Trident Master Node
324
Chapter 4
In a redundant network of Trident 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 CMs. If you are configuring a Trident 1.x CM, please see Using a Trident 1.x CM to Synchronize Time on page 323.
Topics include: Configuring SNTP Time Synchronization on the Trident 2.x CM on page 324 Configuring Triconex Time Synchronization on the Trident 2.x CM on page 327
Procedure
1 2 3 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the CM, and then click Setup. The CM Setup dialog box appears. Click the Time Sync tab.
325
4 5
Under Slot Selection, click Left Slot. You must configure the module in the left slot first. Select these properties.
Property Time Synchronization Configuration SNTP Master Network SNTP Master IP Address Action Select SNTP. The default is None. Click the network the SNTP server is located on. Enter the IP address of the SNTP server to synchronize time with.
(Optional) If you have a redundant CM installed in the right slot, under Slot Selection, click Right Slot, and then select these properties.
Property Time Synchronization Configuration SNTP Master Network SNTP Master IP Address Action Select SNTP Redundant. Click the network the SNTP server is located on. This can be different than the master network selected for the left slot. Enter the IP address of the SNTP server to synchronize time with.
Note
The module in the right slot can be configured only if it has been installed (see Configuring Trident v2.x CM Network Ports on page 311) and if the module in the left slot has already been configured for SNTP time synchronization.
326
Chapter 4
Enabling the Trident 2.x 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. 2 Click Setup. The MP Setup dialog box appears.
327
Procedure
1 2 3 4 5 6 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the CM, and then click Setup. The CM Setup dialog box appears. Click the Time Sync tab. Under Time Synchronization Configuration, select None. Click OK to save your changes. On the Configuration tree, open the Hardware Allocation node, and then double-click the MP. The Item Properties dialog box appears. 7 8 Click Setup. The MP Setup dialog box appears. Select the Enable Trident Node Time Synchronization check box. This allows the controller to participate as a master node in time synchronization across the Peer-to-Peer network.
Procedure
1 2 Expand the Controller tree, double-click Configuration, and expand Hardware Allocation. Double-click the CM, and then click Setup.
328
Chapter 4
The CM Setup dialog box appears. 3 Click the Time Sync tab.
4 5
Under Slot Selection, click Left Slot. You must configure the module in the left slot first. Specify these properties.
Property Time Synchronization Configuration Peer-to-Peer Master Network Action Select Peer-to-Peer. The default is None. Click the network you want to enable Triconex Time Synchronization for. The default is NET 1.This property applies to the modules installed in both the left and right slots simultaneously.
Note 6 7
If you have a redundant CM installed in the right slot, Time Synchronization Configuration is automatically set to Peer-to-Peer and cannot be changed.
Click OK to save your changes. 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. Select the Enable Trident Node Time Synchronization check box. This allows the controller to participate as a slave node in time synchronization across the Peer-to-Peer network.
8 9
329
Procedure
1 2 Expand the Controller tree and double-click Configuration. Expand Status Attributes and double-click the attribute to be assigned an alias.
Click Get Default, or enter a number for the Modbus Alias and click Confirm Alias. The alias number is assigned to the attribute.
330
Chapter 4
5
Tricon Communication with TriStation
Overview 332 Configuring the TriStation PC 333 Connecting to the Tricon via a Serial Connection 335 Connecting to the Tricon via a Network Connection 338 Specifying the Tricon Default Connection Type 344 Controlling Access to the TCM 345 Configuring Tricon Printing 351 Setting Tricon IP Addresses 358
332
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
Errors?
- Establish the physical connection Set Up TriStation C ommunication - C onfigure the connection to the TriStation PC - Set node and IP address of the controller
Controlling Access to the TCM on page 345 Configuring Tricon Printing on page 351
333
Note
Run the diagnostics provided with the network interface card according to the manufacturers instructions.
Run the diagnostics provided with the network interface card according to the manufacturers instructions.
TriStation 1131 Developers Guide, v4.6
334
Chapter 5
4 5 6
Click Install, click Protocol, then click Add. 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.
4 5 6
On the General tab, click Install. In the Select Network Component Type dialog box, click Protocol, and then click Add. Click the TCP/IP protocol, and then click OK.
335
Connecting to the Tricon 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. 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 save the configuration.
336
Chapter 5
If this is not done, you will be unable to connect to the Tricon 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 and download changes to the access control list. See Controlling Access to the TCM on page 345 for more information.
Procedure
1 2 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.
Figure 25
337
Procedure
1 Expand the Controller tree, doubleclick Configuration, and then click TriStation Communication. Specify these properties on the TriStation Communication screen.
Action Select this check box. 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. Enter the UDP port to use for the TriStation connection. The default is 1502. Should be the same number specified on the TCM Setup Network tab. Select the COM port on the TriStation PC to which the serial cable is connected. Specify the data transmission speed. The default is 9600. Available only when a TCM is installed.
Note
The data displayed on this screen is used by TriStation 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 234.
338
Chapter 5
CAUTION
For instructions on installing a network interface card and the TCP/IP protocol on the TriStation PC, see Configuring the TriStation PC on page 333. Topics include: Note Directly Connecting an ACM or NCM Network Port to a TriStation PC on page 339 Connecting a TCM Network Port to a TriStation PC Using a Router or Hub on page 340 Connecting a Tricon Network Port Using a Media Converter on page 341 Configuring the TriStation Network Connection on page 343 If you are connecting the TCM or EICM to the TriStation PC via serial port, see Connecting to the Tricon via a Serial Connection on page 335.
339
Procedure
1 2 3 To each end of a 10Base2 cable, attach a BNC T-connector and a terminator. Attach one of the T-connectors to a BNC connector on NET 2 of the communication module. An NCM is used as an example in the following figure. Attach the other T-connector to the BNC connector on the network interface card in the TriStation PC.
Figure 26
4 5
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.
340
Chapter 5
Procedure
1 2 3 4 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.
341
Figure 28
342
Chapter 5
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.
343
Procedure
1 2 3 In TriStation 1131, expand the Controller tree, and double-click Configuration. On the Configuration tree, click TriStation Communication. Specify these properties on the TriStation Communication screen.
Action Select the Network Connection check box. 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.
Enter a name containing eight or fewer characters to identify the Tricon controller. Enter the physical address of the controller on the network. Enter the UDP port to use for the TriStation 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 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 234.
344
Chapter 5
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: Configuring the TriStation Serial Connection on page 337 Configuring the TriStation Network Connection on page 343 Network Connection Serial Connection
The next time you establish communication between the TriStation PC and the Tricon, 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.
345
CAUTION
1.
Models 4351A/4352A, 4351B/4352B, 4353, and 4354 only. TCM models 4351 and 4352 do not support access control.
346
Chapter 5
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 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.
347
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 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 serial connection to reconfigure the access control list. See Connecting to the Tricon via a Serial Connection on page 335.
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 537.
348
Table 33
Entry 1
206.216.1.12
255.255.255.0
TSAA
NET 1
Read Only
192.168.1.05
255.255.255.255
Deny Access
192.168.1.09
255.255.255.255
Deny Access
192.168.1.05
255.255.255.0
Read Only
192.168.1.05
255.255.255.0
NET 2
Read Only
192.168.1.09
255.255.255.0
OPC
NET 2
Read/Write
8 9
0.0.0.0 NULL
0.0.0.0 NULL
All NULL
All NULL
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.
349
Procedure
1 2 3 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. Click the Access List tab.
350
Chapter 5
Network
5 6
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.
If a TCM is installed in the right slot, do one of the following: 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.
351
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.
352
Chapter 5
Procedure
1 2 3 4 If the printer package has an installation program, copy the program to the TriStation PC. Follow the instructions, and run the diagnostic routine, if available. You do not need the printer driver that may have come with the package. 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.) Go to the next section to configure the EICM port for printing.
Figure 30
353
Procedure
1 2 In TriStation, 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.
Click OK.
354
Chapter 5
Procedure
1 2 3 If the print server and printer packages have installation programs, install them on the TriStation PC. Follow the instructions, and run the diagnostic routines if available. You do not need the printer drivers that came with the packages. 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 22).
Figure 31
2.
TCM models 4351/4351A/4351B and 4352/4352A/4352B only. NET 2 is reserved for OPC communication on model 4353 and 4354 TCMs.
355
Procedure
1 2 3 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 23).
Figure 32
Connecting the Tricon TCM to a Printer Server and Printer Using a Hub
3.
TCM models 4351/4351A/4351B and 4352/4352A/4352B only. NET 2 is reserved for OPC communication on model 4353 and 4354 TCMs.
356
Chapter 5
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 2 3 In TriStation, 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. Click the Printer tab.
Specify these properties for the module installed in the Left Slot.
Property Printer Number Action 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. Enter the number of characters to be printed on a line. The valid range is 80132 characters. The default is 80 characters. Enter the number of the TCP port for the print server. The default is 9100 for an HP printer.
357
Property Network
Action 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
5 6
If a module is also installed in the Right Slot, repeat step 4 for that module. Click OK.
Each time a message is printed, the print function blocks in the TriStation application are executed and the scan time increases. This table lists the print function blocks in the Tricon libraries.
Print Function Block PRINT_BOOL PRINT_CDT PRINT_CRLF PRINT_CTOD PRINT_DINT PRINT_REAL PRINT_STRING PRINTR_FLUSH Purpose Prints a three-character field containing either Off or On. Prints the current date and time. Prints a new line (carriage return and line feed). Prints the current time of day. Prints a DINT value. Prints a REAL value. Prints a string of text. Clears the print buffer.
See the TriStation 1131 Libraries Reference for more detailed information about the print function blocks.
358
Chapter 5
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: Using the Default IP Address for TriStation Communication on page 359 Setting a Tricon IP Address Using a RARP Server on page 360 Setting a Tricon IP Address Using an EICM or TCM on page 361 Testing a Network Connection on page 362
359
Procedure
1 2 3 4 5 Connect the Tricon to the network using the NET 2 port on the ACM, NCM, or TCM. Power up the controller. Connect the TriStation PC to the network, or directly to a NET 2 port on the ACM, NCM, or TCM. In the TriStation project, expand the Controller tree, double-click Configuration, and then click TriStation Communication. On the TriStation Communication screen, verify the IP Address is: 192.168.1.1 (Tricon ACM, NCM, or TCM) If the controller includes two communication modules, the default address applies to both modules. Note 6 7 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 Controller tree, click Configuration. 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.
8 9 10 11 12 13 14
In the Setup dialog box, enter the same IP address specified on the TriStation Communication screen. If the Tricon includes a redundant communication module, enter the same IP address for the other slot. 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. On the Commands menu, click Download All to download the TriStation 1131 project to the Tricon. 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.
360
Chapter 5
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 2 3 4 Give the network administrator the MAC address, which is: 40-00-00-00-00-00 (Tricon) Ask the network administrator for the IP address that is to be used for the Tricon. Connect the Tricon to the network through a network port on the communication module. Power up the controller. During initialization, the communication module sends a request to the RARP server for an IP address that has been mapped to its own 48-bit MAC address. Note 5 6 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.
Connect the TriStation PC to the network, or directly to a network port on the communication module.
361
8 9 10 11
In the TriStation 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. On the Commands menu, click Connect. Wait until the connection is made. On the Commands menu, click Download All to download the TriStation project to the controller.
Procedure
1 2 3 4 Ask the network administrator for the IP address to be used for the ACM, NCM, or TCM. Connect the TriStation PC to a serial port on the EICM 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. In the TriStation project, configure the following: 5 6 7 8 9 The EICM or TCM serial port and NET 2 Ethernet ports The node number and node name of the controller The intended IP address
Power up the controller. On the Controller tree, click Controller Panel. On the Command menu, click Connect To. On the Connect To screen, select the Serial Port option and the COM port to which the TriStation cable is connected. Connect to the Triconex controller and download the TriStation project. The ACM, NCM, or TCM initializes (resets) and accepts the IP address that you specify in the TriStation project.
10 11
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.
TriStation 1131 Developers Guide, v4.6
362
Chapter 5
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.
12
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 2 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.
6
Trident Communication with TriStation
Overview 364 Configuring the TriStation PC 365 Connecting to the Trident 2.x for the First Time 368 Connecting to the Trident via a Serial Connection 369 Connecting to the Trident via a Network Connection 372 Specifying the Trident Default Connection Type 388 Controlling Access to the Trident 2.x CM 389 Configuring Trident Printing 394 Setting Trident IP Addresses 401
364
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
Errors?
- Establish the physical connection Set Up TriStation C ommunication - Configure the connection to the TriStation PC - Set node and IP address of the controller
Controlling Access to the Trident 2.x CM on page 389 Configuring Trident Printing on page 394
365
Procedure
1 2 3 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 controller or to an Ethernet hub. Run the diagnostics provided with the network interface card according to the manufacturers instructions.
4 5 6
On the General tab, click Install. In the Select Network Component Type dialog box, click Protocol, and then click Add. Click the TCP/IP protocol, and then click OK.
366
Chapter 6
Step 1: Download the DLC Protocol Installation Program 1 2 3 4 5 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 prompted, save the dlc.exe file to your local drive. 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). Step 2: Modify the .INF File 1 2 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. Scroll down until you see the following section:
4 5
Change the value for StartType from 3 to 1. This ensures that the DLC protocol will start automatically each time you start your workstation. Save the file and then exit Notepad.
367
368
Chapter 6
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: 1 2 3 Configure the CM and/or MP (Right and Middle ports) network connection in TriStation, including configuring your own IP addresses for the desired network port(s). 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 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.
369
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 using the NET 1 or NET 2 port; see the Communication Guide for Trident v2 Systems for more information. Topics include: When to Use the Trident Serial Connection on page 369 Connecting a Trident 2.x Serial Port to a TriStation PC on page 370 Configuring the TriStation Serial Connection on page 371
Connecting to the Trident 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. Once you enable CM client access control by selecting the Enable
370
Chapter 6
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 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 and download changes to the access control list. See Controlling Access to the Trident 2.x CM on page 389 for more information.
Procedure
1 2 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
371
Procedure
1 Expand the Controller tree, double-click Configuration, and then click TriStation Communication. Specify these properties on the TriStation Communication screen. Note The data displayed on this screen is used by TriStation only to connect to a Trident communication port. The data that you enter will not be downloaded to the Trident controller.
Action Select this check box. Enter the name of the Trident controller. You can use a default name, or enter your own user-defined name. The default names are TRINODE01 through TRINODE31. Select the COM port on the TriStation PC to which the serial cable is connected. You cannot change the default baud rate of 115200.
Serial Port
3 4
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 Port Protocol Action 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 connection. Select TriStation.
Click OK.
TriStation 1131 Developers Guide, v4.6
372
Chapter 6
CAUTION
For instructions on installing a network interface card and the TCP/IP protocol on the TriStation PC, see Configuring the TriStation PC on page 365. Topics include: Note Connecting the Trident 1.x MP to a TriStation PC on page 373 Connecting the Trident 1.x CM to the TriStation PC on page 377 Connecting the Trident v2.x to a TriStation PC on page 381 If you are connecting the Trident 2.x to the TriStation PC via serial port, see Connecting to the Trident via a Serial Connection on page 369.
373
Procedure
1 2 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.
DSP2
DSP3
LOCK
LOCK
LOCK
C OMM BUS
C OMM BUS
C OMM BUS
SER IAL
SER IAL
SER IAL
LINK TR T IS ATION TX R X
LINK TR T IS ATION TX R X
MP3101
MP3101
MP3101
TX
Figure 34
374
Chapter 6
Procedure
1 Attach at least one 10BaseT straight-through cable from an RJ-45 connector on an MP Baseplate to the hub. Note 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
V SP2
P ASS F A U LT AC TIVE
P ASS F A U LT AC TIVE
+
ALAR M1
MODE R EM O TE R UN PR OG RAM HA L T
STA TUS PS1 PS2 SY STEM ALARM PR OG RAM ALARM OVER TEMPE RA TUR E
S TATUS PS1 PS2 SY STEM ALARM PR OG OVER RAM ALAR M TEMPE RA TUR E
L OC K
LOC K
L OCK
C OMMUNI
C A TIONS TX IO BUS RX
COMMUNI
CA TIONS TX IO BUS RX
COMMUNI
C A TIONS TX IO BUS RX
TX RX COMM BUS
TX RX
TX SER IAL RX
TX RX
LINK TX RX TR TA TION IS
LINK TX RX
MP3101
MP3101
MP3101
TX
C OAX MDI MDIX POWER 16 10BASE-T 9X 8X 1X
Figure 35
Connecting the TriStation PC to the Trident 1.x Main Processor Using a Hub
375
Procedure
1 2 3 Expand the Controller tree, and doubleclick Configuration. On the Configuration tree, click TriStation Communication. Specify these properties on the TriStation Communication screen.
Property Select Connection Node Number Node Name Main Processor Setup NIC Index
Action Select the Main Processor Connection (Trident 1.x only) check box. Enter the number specified on the address plug on the MP Baseplate. Enter a name with eight or fewer characters to identify the Trident controller. Select Left, Middle, or Right to specify which MP port is connected to the TriStation PC. Enter the index position of the network interface card in the TriStation PC.
Note
The data displayed on this screen is used by TriStation only to connect to a Trident communication port. The data that you enter will not be downloaded to the Trident controller.
4 5 6
On the Configuration tree, expand Hardware Allocation, and then double-click the Main Processors (MP/IOP1). In the Properties dialog box, click Setup. In the MP Setup dialog box, click the Network Ports tab.
376
Chapter 6
7 8
For the port that is physically connected to the TriStation PC (Left, Middle, or Right) specify the Transceiver Mode to match the installed hardware. Click OK to save your changes.
377
Procedure
1 2 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.
Figure 36
378
Chapter 6
Procedure
1 2 3 Attach one end of a straight-through cable to a NET 1 or NET 2 connector on the CM baseplate. Attach the other end of the straight-through cable to a network hub, as shown in the example below. Connect the TriStation PC to the hub using another straight-through cable.
LOCK
LOCK
SER IAL
TX RX
SER IAL
TX R X
SER IAL
TX RX
SER IAL
TX R X
LINK TX R X
LINK TX R X
CM 3201
CM
3201
8X
1X
16
10BASE-T
9X
Figure 37
379
Procedure
1 2 3 Expand the Controller tree, and double-click Configuration. On the Configuration tree, click TriStation Communication. Specify these properties on the TriStation Communication screen.
Action Select the Network Connection check box. Enter the number specified on the address plug on the MP baseplate. Enter a name that contains eight or fewer characters to identify the Trident controller. Enter the IP address.
Note
The data displayed on this screen is used by TriStation only to connect to a Trident communication port. The data that you enter will not be downloaded to the Trident controller.
4 5
On the Configuration tree, double-click the CM (COM: CM). In the Properties dialog box, click Setup.
380
Chapter 6
Specify these properties for the NET 1 or NET 2 port, depending on which is connected to the TriStation PC.
Property Slot Selection Mode Action Select Left Slot or Right Slot, depending on which slot contains the module that is connected to the TriStation PC. For the TriStation connection, select Open Network. For each CM on a baseplate, you can select Open Network for either NET 1 or NET 2, but not for both ports. Privilege Select Read or Read/Write to specify access privileges for external devices on the network. A TriStation application must use the Privilege option in conjunction with the MP.REMOTE_WRT_ENBL control attribute (and possibly other write controls) to enable writes by external devices. Transceiver Port Transceiver Mode Select RJ-45 or MAU depending on the type of CM baseplate port to which you have physically attached the TriStation cable. Select the Auto mode if the TriStation cable can auto-negotiate to either 10 or 100 megabits per second. If your cable operates at only one speed, select the appropriate speed from the list.
381
Property IP Address
Action If using the default node number, do not change this property (leave blank). If using a different node number, enter the IP address that identifies the controller on the network. This must be the same address you entered in step 2.
Get the subnet mask from your network administrator. If the CM connection to the TriStation PC goes through a default gateway, enter the IP address of the gateway. Select None. This property does not apply to TriStation communication.
CAUTION
382
Chapter 6
Procedure
1 2 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 DSP2 PASS F T AUL ACTIVE P ASS F AULT ACTIVE P ASS F AULT ACTIVE
DSP3
ST ATUS PS1 PS2 S YSTEM ALAR M PR RAM ALAR OG M OVER TEMPE ATUR R E
STATUS PS1 PS2 SYSTEM ALARM P OG R RAM ALARM OVER TEMPE RATURE
S ATUS T PS1 PS2 SY STEM ALARM PROG RAM ALAR M OVERTEMPE A R TURE
LOCK
LOCK
LOCK
C OMMUNICATIONS IO BUS TX RX TX RX TX RX
C OMM BUS
COMM BUS
COMM BUS
SER IAL
SERIAL
SERIAL
MP3101
MP3101
MP3101
TX
Figure 38
Connecting the TriStation PC Directly to a Trident 2.x MP (left) or CM (right) Using a Hub
383
Procedure
1 2 3 Attach one end of a straight-through cable to a NET 1 or NET 2 connector on the CM baseplate, or to a TriStation port on the MP baseplate. Attach the other end of the straight-through cable to a network hub, as shown in the example below. Connect the TriStation PC to the hub using another straight-through cable.
P ASS F T AUL
V SP1
ACTIVE
V SP2
PASS F AU LT AC TIVE
PASS F AU LT AC TIVE
+
ALAR M1
MODE R EM O TE R UN PR OG RAM HA L T
STA TUS PS1 PS2 SY STEM ALAR M PR OG RAM A M LAR OVER TEMP E RA TUR E
STA TUS PS1 PS2 SY STEM ALAR M PR OG OVER RAM A M LAR TEMPE RA TUR E
LOCK
L OC K LOC K L OC K
LOCK
C OMMUNI
C ATIONS TX IO BUS RX
COMMUNI
CA TIONS TX IO BUS RX
COMMUNI
C ATIONS TX IO BUS RX
SER IAL
TX RX
SER IAL
TX R X
SER IAL
TX COMM BUS RX COMM BUS TX RX COMM BUS TX RX
TX RX
SER IAL
TX R X
LINK
T X SER L IA RX S IAL ER RX TX S IAL ER RX TX
LINK NET 1 TX R X
NET 1
TX RX
LINK TX RX TR IS TA TION
LINK TX RX
LINK NET 2 TX R X
LINK NET 2 TX R X
MP3101
MP3101
MP3101
CM 3201
CM
3201
TX
C OAX MDI MDIX POWER 16 10BASE-T 9X
C AX O
8X 1X
8X MDI MDIX
1X
P OWER
16
10BASE-T
9X
Figure 39
384
Chapter 6
Procedure
1 2 3 Expand the Controller tree, and double-click Configuration. On the Configuration tree, click TriStation Communication. Specify these properties on the TriStation Communication screen.
Action Select the Network Connection check box. Enter the number specified on the address plug on the MP baseplate. Enter a name that contains eight or fewer characters to identify the Trident controller.
385
Property IP Address
Action Enter the IP address for the CM or MP network port you will be connecting to. Each node has seven connection options: Left MP Middle MP Right MP Left CM - NET 1 Left CM - NET 2 Right CM - NET 1 Right CM - NET 2 The default IP address is 192.168.255.n, where n is the node number of the controller. The default IP address is for connection to the Left MP only. To use the default IP address, click the browse button, and in the dialog box that appears, select the IP address for the node you are configuring. Note: Your own IP addresses for other MP and CM modules cannot be used for connecting to the controller until the control programwith the IP address configurationhas been downloaded to the controller at least once, using the Download All Command. See Connecting to the Trident 2.x for the First Time on page 368 for more information.
Specify the UDP port to use for the connection to a Trident 2.x with a
CM installed. The default is 1502. This must be the same value as the TriStation UDP Port Number property in the CM Setup dialog box. Required only for a connection to a Trident v2.x node with a CM installed.
Note
The data displayed on this screen is used by TriStation only to connect to a Trident communication port. The data that you enter will not be downloaded to the Trident controller.
Do one of the following: If the TriStation PC is connected to the CM, go to step 5. If the TriStation PC is connected to the MP, go to step 8.
On the Configuration tree, expand Hardware Allocation, double-click CM, and then click Setup.
386
Chapter 6
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 Slot Selection Installed IP Address Action Select Left Slot or Right Slot, depending on which slot contains the module that is connected to the TriStation PC. Select this property for all installed modules. If using a default IP address, leave blank. If not, enter the IP address that identifies the controller on the network. This must be the same IP address entered on the TriStation Communication screen. IP Subnet Mask If using a default IP Subnet Mask, leave blank. Otherwise, get the subnet mask from your network administrator. Default Gateway IP Address If the CM connection to the TriStation PC goes through a default gateway, enter the IP address of the gateway.
7 8 9 10
Go to step 13. On the Configuration tree, expand Hardware Allocation, and then double-click the Main Processors (MP/IOP1). In the Properties dialog box, click Setup. In the MP Setup dialog box, click the Network Ports tab.
387
11 12 13
For the port that is physically connected to the TriStation PC (Left, Middle, or Right) specify the Transceiver Mode to match the installed hardware. Specify the IP address for the port. This must be the same IP address entered on the TriStation Communication screen in step 3. Click OK to save your changes.
388
Chapter 6
Procedure
1 Expand the Configuration tree, double-click Configuration, and then click TriStation Communication. Verify that the Network Connection Setup (for a network connection), Main Processor Connection Setup (for a MP connection), or TriStation PC (for a serial connection) properties are correctly configured. See the following for additional information: Connecting to the Trident via a Serial Connection on page 369 Connecting to the Trident via a Network Connection on page 372
Under Default Connection, select one of the following: Network Connection Main Processor (for Trident 1.x only) Serial Connection (for Trident 2.x only)
The next time you establish communication between the TriStation PC and the Trident, 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.
389
CAUTION
390
Chapter 6
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 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 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 via a Serial Connection on page 369.
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 537.
Table 34
Entry 1
206.216.1.12
255.255.255.0
TSAA
NET 1
Read Only
192.168.1.05
255.255.255.255
TriStation
Deny Access
192.168.1.09
255.255.255.255
TSAA
Deny Access
192.168.1.05
255.255.255.0
TriStation
Read Only
192.168.1.05
255.255.255.0
TSAA
NET 2
Read Only
192.168.1.09
255.255.255.0
TriStation TSAA
NET 2
Read/Write
8 9
0.0.0.0 NULL
0.0.0.0 NULL
All NULL
All NULL
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.
391
392
Chapter 6
Procedure
1 2 3 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. Click the Access List tab.
393
5 6
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.
If a CM is installed in the right slot, do one of the following: 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.
394
Chapter 6
395
You can purchase communication cables from other manufacturers. You must purchase print servers elsewhere because Triconex does not supply them. Black-box cables and HewlettPackard print servers are examples of dependable network printing devices. Triconex has tested these Hewlett-Packard print servers and can recommend them. HP JetDirect Ex Plus HP JetDirect 500X Series, model J3265A
Printers
You must select a printer that is compatible with your print server. The Trident 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 2 3 If the print server and printer packages have installation programs, install them on the TriStation PC. Follow the instructions, and run the diagnostic routines if available. You do not need the printer drivers that came with the packages. Connect the printer to the print server, and connect the print server to a CM Ethernet port (NET 1 or NET 2).
Figure 40
396
Chapter 6
Procedure
1 2 3 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).
Figure 41
397
For more information about the target system version, see Configuring the Trident Target System Version on page 280.
398
Chapter 6
399
Specify these properties for the module installed in the Left Slot.
Property Printer Number Action 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 Network IP Address Enter the number of characters to be printed on a line. The valid range is 80132 characters. The default is 80 characters. Enter the number of the TCP port for the print server. The default is 9100 for an HP printer. Click the network that the print server is connected to. The default is NET 2. Enter the IP address of the print server.
5 6
If a module is also installed in the Right Slot, repeat step 4 for that module. Click OK to save the configuration.
400
Chapter 6
Each time a message is printed, the print function blocks in the TriStation application are executed and the scan time increases. This table lists the print function blocks in the Trident library.
Print Function Block PRINT_BOOL PRINT_CDT PRINT_CRLF PRINT_CTOD PRINT_DINT PRINT_REAL PRINT_STRING PRINTR_FLUSH Purpose Prints a three-character field containing either Off or On. Prints the current date and time. Prints a new line (carriage return and line feed). Prints the current time of day. Prints a DINT value. Prints a REAL value. Prints a string of text. Clears the print buffer.
See the TriStation 1131 Libraries Reference for more detailed information about the print function blocks.
401
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: Connect the Trident controller to a network Connect the TriStation PC to the controller Configure the TriStation 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: Using the Default IP Address for TriStation Communication on page 402 Setting an IP Address Using a RARP Server on page 403 Setting a Trident IP Address Using an MP Connection on page 404 Setting a Trident 1.x IP Address Using a CM Connection on page 405 Specifying a Trident CM Default Gateway on page 406 Specifying a Trident CM for Network Routing on page 407 Testing a Network Connection on page 407
402
Chapter 6
Procedure
1 Do one of the following, depending on your Trident system version: 2 3 Connect the Trident 1.x to the network using the NET 1 or NET 2 port on the CM. Connect the Trident 2.x to the network using the Left MP network port.
Power up the controller. Do one of the following, depending on your Trident system version: Connect the TriStation PC to the network (Trident 1.x or Trident 2.x) Connect the TriStation PC directly to an Ethernet port on the CM using a cross-over cable (Trident 1.x) Connect the TriStation PC to the Left MP network port using a cross-over cable (Trident 2.x)
4 5
In the TriStation project, expand the Controller tree, double-click Configuration, and then click TriStation Communication. On the TriStation Communication screen, verify the IP Address is: 192.168.1.1 (Trident 1.x CM NET 1) 192.168.2.2 (Trident 1.x CM NET 2) 192.168.255.n, where n is the node number of the controller (Trident 2.x Left MP)
If the Trident 1.x controller includes two communication modules, the default address applies to both modules. Note 6 7 The Left CM and Right CM use the same 48-bit physical MAC address and cannot be connected to the same network.
On the Controller tree, click Configuration. Expand Hardware Allocation, and then do one of the following: (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) Double-click the MP, click Setup, and then click the Network Ports tab.
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.
403
9 10 11 12 13
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. On the Commands menu, click Download All to download the TriStation 1131 project to the controller. 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. 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 2 3 4 Give the network administrator the MAC address, which is: 40-00-00-00-x-03 (where x is the Trident controller node number). 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. Power up the controller. During initialization, the communication module sends a request to the RARP server for an IP address that has been mapped to its own 48-bit MAC address. Note 5 6 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. 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
404
Chapter 6
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.
7 8 9 10 11
Connect the TriStation PC to the network, or directly to a network port on the CM. In the TriStation 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. On the Commands menu, click Connect. Wait until the connection is made. On the Commands menu, click Download All to download the TriStation project to the controller.
Procedure
1 2 3 4 Ask the network administrator for the IP address to be used for the controller. Connect the TriStation PC to a TriStation port on the MP Baseplate. Connect the controller to the network through a network port on the CM. In the TriStation project, configure the following: 5 6 7 8 9 The MP and CM ports The node name and node number of the controller The intended IP address
Power up the controller. On the Controller tree, click Controller Panel. On the Command menu, click Connect To. 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. After connecting to the controller, download the TriStation project.
405
The CM initializes (resets) and accepts the IP address you specified in the TriStation project. 10 11 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. 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 2 3 4 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: 5 6 7 8 9 10 11 12 192.168.1.x if the PC is physically connected to a NET 1 port, where x is any unused host number. 192.168.2.x if the PC is physically connected to a NET 2 port, where x is any unused host number.
Wait for the TriStation PC to reset. Open the TriStation project. 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. Power up the Trident controller. On the Controller tree, click Controller Panel. On the Command menu, click Connect To. On the Connect To screen, click the Serial Port option and the COM port to which the TriStation cable is connected.
406
Chapter 6
13 14
Verify that Communication Module Port is selected and the default IP address is displayed. Connect to the controller and download the TriStation project. Wait for the download to complete. After the download is complete, TriStation 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 16 17
On the TriStation PC, use Windows procedures to set the IP address of the PC to its actual address on the 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. 18 19 20 In the TriStation project, change the default IP address to the newly set IP address of the TriStation Communication screen. Use the Controller Panel to reconnect the TriStation project to the controller. After the IP address is set on the network, you must reconfigure the IP address in the TriStation project, and assign a valid IP address to the TriStation PC.
Procedure
1 2 3 4 5 Expand the Controller tree and double-click Configuration. 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. Do one of the following: 6 7 If you have a Trident 1.x, for NET 1 or NET 2 (depending on which one is connected the network), select Open Network from the list under Mode. If you have a Trident 2.x, go to the next step.
In Default Gateway IP Address, enter the IP address of the default gateway that is connected to the local subnet. Click OK to save your changes.
407
Procedure
1 2 3 4 Expand the Controller tree and double-click Configuration. 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. Do one of the following: For Trident 2.x, 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 Trident 1.x, 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 2 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.
408
Chapter 6
7
Implementation
Overview 410 Controlling the Operational Mode 412 Emulator Testing 413 Controller Testing 428 Maintenance 437
410
Chapter 7
Implementation
Overview
This figure shows the main steps for implementing an application, which is the last step in a TriStation project.
Set Up the Project
Errors? No
- Test application on emulator Implement on the C ontroller - Test application on offline system - C ommission the application - Maintain the application
Overview
411
Implementation Steps
This list includes steps for testing and maintaining an application.
Step See Connecting to and Configuring the Emulator on page 414 Testing Peer-to-Peer Communication with the Emulator on page 419 Downloading to the Emulator on page 421 Monitoring Scan and Execution Times on the Emulator on page 424 Monitoring Variables on the Emulator on page 425 Monitoring the Program Execution on page 426 Adding Annotation for Variables on page 427
Downloading to the Controller on page 428 Monitoring Variables on the Controller on page 431 Monitoring the Program Execution on page 432 Adding Annotation for Variables on page 427 Displaying Hardware Allocation Exceptions on page 436
Maintain an application
Steps for Downloading Changes on page 438 Planning and Controlling Changes on page 439 Commands Required with Application Changes on page 440 Disabling (Forcing) Points on page 442 Using the Download Changes Command on page 443 Using the Download All Command on page 445
412
Chapter 7
Implementation
Program
Controller allows application loading, verification, and write access. Allows Download All and Download Changes commands from TriStation. Also allows writes to program variables by Modbus masters and external devices. For Tricon, the keyswitch must be set to PROGRAM. For Trident, the Set Programming Mode option must be set to Enable Programming and Control Operations. (This is the default setting.)
Halt
Controller stops running the application and retains the values of tagnames. For Tricon, the Halt command is used. For Trident, 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, the keyswitch must be set to STOP. For Trident, the Stop command must be used.
Remote
Controller runs the downloaded application and allows writes to program variables by TriStation, Modbus masters, and external devices. Download All and Download Changes by TriStation are not allowed. For Tricon, the keyswitch must be set to PROGRAM. For Trident, the Set Programming Mode option must be set to Enable Programming and Control Operations. (This is the default setting.)
Emulator Testing
413
Emulator Testing
This section describes how to test an application on the emulator, which can be done without physically connecting to a controller or field instruments. Although the physical connections and logical configuration do not need to be completed, it is a good practice to do so before testing on the controller. Topics include: Note Connecting to and Configuring the Emulator on page 414 Testing Peer-to-Peer Communication with the Emulator on page 419 Downloading to the Emulator on page 421 Monitoring Scan and Execution Times on the Emulator on page 424 Monitoring Variables on the Emulator on page 425 Monitoring the Program Execution on page 426 Adding Annotation for Variables on page 427 Under certain conditions, an application may appear to work correctly during emulator testing, but will not work when downloaded to the controller. The emulator is designed only to check your application code; it does not check the application against any restrictions imposed by the specific controller you will be downloading to. For example, the size of your application is not emulated exactly due to code differences between the emulator and a controller. Thus, an application that appears to download correctly to the emulator may be unable to be downloaded to the controller, due to size restrictions imposed by the controller. Additionally, many function blocks in the controller library (TR1LIB, TRDLIB, or TX1LIB) are not emulated. One exception is TR_CALENDAR, which is emulated using the local time on your PC. Also, the print function blocks print to TriStations output window.
414
Chapter 7
Implementation
CAUTION
Procedure
1 2
You cannot run the emulator on the same PC as Triconex DDE Server. Prior to connecting to the emulator, verify that DDE Server is not running on your PC.
Open the Controller workspace, expand the Configuration tree, and double-click Emulator Panel. Click Connect .The emulator configuration dialog box opens in the background. In the Windows taskbar, click the TRxEMCodeEmulator button. The TRxEMCodeEmulator dialog box appears. The dialog box name differs, depending on the controller type and emulator options settings: For Tricon applications, the dialog box is named TR1EMCodeEmulator. For Trident applications, the dialog box is named TRDEMCodeEmulator. For both Tricon and Trident applications, if the multiple emulator instances option has been enabled (see page 31), the dialog box is named TRINODEx, where x is the node number configured in the project. If you have previously configured the emulator for use with this application, and you saved the emulator settings to a file, go to Loading the Emulator Configuration from a File on page 418.
Emulator Testing
415
If you have never configured the emulator for use with this application before, specify the following properties:
Property Node Number Action Enter the node number of the controller you are emulating, and then click Set Node. This MUST be the same as the node number you entered on the TriStation Communication screen (see Chapter 5, Tricon Communication with TriStation or Chapter 6, Trident Communication with TriStation for more information). The default is 1. Server IP Address Enter the IP address you want to use for the emulator, and then click Set IP. This MUST be the IP address of the PC the emulator is running on. Do not enter the IP address of the actual controller node. An error message will appear if you enter an incorrect IP address. If you have more than one network card in the PC, you can use any of the IP addresses assigned to the PC. If you are running multiple emulator instances on one PC, you must have multiple network cards installed, so you can have unique IP addresses for each emulator instance.
Peer-to-Peer (P2P)
Enter the UDP port number for the emulator on the Peerto-Peer network, and then click Set Port. The port number must be unique. It cannot be the same as the TSAA port number, or as any other UDP port number being used on the PC. The default is 1503. You should not need to change this setting unless the PC the emulator is running on is located behind a firewall.
416
Chapter 7
Implementation
Action Select this check box if you want the emulator to act as TSAA server. When this check box is selected, any TSAA client can connect to the emulator to send and receive TSAA messages. The default is selected (TSAA is enabled). Only the following TSAA commands are supported by the emulator: WRITE_TRICON_DATA READ_TRICON_DATA SET_TRICON_CLOCK READ_TRICON_CLOCK TRICON_CPSTATUS_REQ TRICON_DATA_REQ For more information about these command, and about using the TSAA protocol in general, see the Communication Guide for your controller.
Enter the UDP port to use for TSAA connections to the emulator (such as those from the DDE Server or SOE Recorder), and then click Set Port. The default is 1500. The port number must be unique. It cannot be the same as the P2P port number, or as any other UDP port number being used on the PC. Can be the same as the TSAA Port Number configured in your application, but it is not required. However, the TSAA port number configured in your TSAA client must match the TSAA port number configured for the emulator. Additionally, if two or more instances of the emulator are running simultaneously on the same PC, each instance must have a unique port value. See UDP Base Port Number on page 583 for additional information.
Enter the bin size, in bytes, and then click Set Bin. The bin size is the amount of data available to the emulator for emulation. The greater the number of configured points in your application, the larger the bin size should be. The default is 256 bytes. The valid bin size range is 48004 bytes.
Emulator Testing
417
Emulator Settings
Action Enter the update rate, in milliseconds, for TSAA IP multicasting, and then click Set Interval. Can be from 250 to 2,000. The default value is 1,000. 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 250ms).
Multicast IP Address
Enter the IP address that TSAA multicasts should be sent to, and then click Configure. The default is 0.0.0.0 (IP multicasting is disabled). Bin data and/or SOE data available messages will be sent to the specified address, so that all members of the group will receive the data. Note: To use TSAA multicasting, your network hardware (such as routers) must also support multicasting. See your Network Administrator or IT department for more information.
Redundancy IP Address
Enter the backup IP address you want to use for the emulator, and then click Set IP. The default is 0.0.0.0. If the IP address set in the Server IP Address field becomes unavailable, the emulator will automatically switch to the redundant IP address for TSAA messaging. This MUST be an IP address available on the PC the emulator is running on. You must have more than one network card in the PC in order to use a redundant IP address. Do not enter the IP address of the actual controller node. An error message will appear if you enter an incorrect IP address.
Note
Only the Node Number and Server IP Address properties are required. All other properties are optional. You do not need to specify properties that do not apply to your desired testing scenario. For example, if you will not be using TSAA functionality, you do not need to configure the TSAA properties.
Once you have configured all the settings required for your testing scenario, you are ready to download the application to the emulator. Go to Testing Peer-to-Peer Communication with the Emulator on page 419. Emulator settings are NOT saved automatically. Once you disconnect from the emulator (or click End in the TRxEMCodeEmulator dialog box), all settings are cleared and reset to the default values the next time you connect to the emulator. To save these settings to a file for future use, see Saving the Emulator Configuration to a File on page 418.
Note
418
Chapter 7
Implementation
Procedure
1 Under Set Configuration File, click Browse. The Open dialog box appears.
2 3 4 5
Browse to the location where you want to save the configuration file. In the File Name field, enter a name for the emulator configuration file. You can use any naming convention that you like. Click Open. The Open dialog box closes and you are returned to the emulator configuration dialog box. Click Save Configuration. The configuration information you entered for the emulator is saved to the file you created.
Procedure
1 2 3 4 Under Set Configuration File, click Load Configuration. The Open dialog box appears. Browse to the location where you previously saved the configuration file. Select the configuration file and then click Open. The Open dialog box closes and you are returned to the emulator configuration dialog box. Click Load Configuration. The configuration information from the selected file is copied into the emulator configuration dialog box. 5 Verify the emulator settings loaded from the file are correct before downloading your application.
Emulator Testing
419
Topics include: Configuring Peer-to-Peer Communication for Emulator Testing on page 419 Guidelines for Testing Peer-to-Peer Communication on the Emulator on page 420
Procedure
1 Verify that the node number configured for the emulator is the same as the node number configured on the TriStation Communication screen. Peer-to-Peer communication on the emulator will not work if these node numbers do not match. See Connecting to and Configuring the Emulator on page 414 to verify the emulators node number. See Chapter 5, Tricon Communication with TriStation or Chapter 6, Trident Communication with TriStation to verify the node number configured on the TriStation Communication screen.
Verify that the communication module in your project is configured for Peer-to-Peer communication. See the following (as appropriate for your application/controller): Configuring TCM Peer-To-Peer Ports on page 250. Configuring Trident v2.x CM Peer-To-Peer Ports on page 313. Configuring Trident v1.x CM Network Ports on page 303.
Verify that the Peer-to-Peer (P2P) port number configured for the emulator is the same as the UDP Base Port Number configured for the network (NET 1 or NET 2) the communication module in your project is connected to. For example, if the TCM in your Tricon project is connected to NET 1, the emulator Peerto-Peer port should be the same as the UDP Base Port Number configured for NET 1. See the following (as appropriate for your application/controller): Configuring TCM Peer-To-Peer Ports on page 250. Configuring Trident v2.x CM Peer-To-Peer Ports on page 313.
420
Chapter 7
Implementation
Note
Be sure to select the same network in the Select CM to Download Peer-to-Peer Configuration From dialog box when you download your application. If you configure the Peer-to-Peer port for NET 1, but select NET 2 for the communication module when you download your application, Peer-to-Peer will not work.
Verify that the following properties on the Peer-to-Peer Configuration screen in the Implementation tree are set to a value other than zero (0): Maximum Number of Peer-to-Peer Receives Maximum Number of Peer-to-Peer Sends The default value for these properties is zero (0). If Maximum Number of Peerto-Peer Receives and Maximum Number of Peer-to-Peer Sends are both set to zero, Peer-to-Peer communication is NOT enabled in your application, and you will not see any Peer-to-Peer messages sent, even if Peer-to-Peer communication is configured on the TCM or CM.
See Allocating Peer-to-Peer Memory on page 186 for more information. Note
Verify that you have added at least one pair of Send and Receive function blocks to your application, and have configured them to use the Peer-to-Peer nodes you configured in your project: See the TriStation 1131 Libraries Reference for more information about available Send and Receive function blocks. See Peer-to-Peer Applications on page 184 for more information about configuring Peer-to-Peer communication in your application.
Once you have completed steps 14 above, download and run the application on the emulator to start sending and receiving Peer-to-Peer data.
Emulator Testing
421
The transfer delay time is emulated at a time equal to twice the maximum of TS or SS, where: TS: Time for the sending node to transfer aliased data over the communication bus, in milliseconds(number of aliased variables in bytes / 20000) * 1000. SS: Scan time of the sending node in milliseconds.
Emulated Peer-to-Peer functions support all features of Peer-to-Peer functions when executed on a Triconex controller.
Procedure
1 2 Verify you have connected to the emulator and configured the settings as described in Connecting to and Configuring the Emulator on page 414. Do one of the following: To perform a Download All to the emulator, click Download All . .
If a communication module configured for Peer-to-Peer communication is found in the application being downloaded, the Select CM to Download Peer-to-Peer Configuration From dialog box appears.
422
Chapter 7
Implementation
Note
If the Select CM to Download Peer-to-Peer Configuration From dialog box does not appear, you have not configured any communication modules for Peer-toPeer communication in your project. Go to step 5.
Do one of the following: If you dont want to test Peer-to-Peer communication with the emulator, click Cancel. Note A message warning you that Peer-to-Peer configuration information will not be downloaded to the emulator will appear. Click OK to continue the download process.
If you want to test Peer-to-Peer communication with the emulator, specify these properties.
Property Communication Module Action Select the communication module you want to download Peer-toPeer configuration information from. The Peer-to-Peer configuration from the selected CM will be downloaded to the emulator so that you can test your Peer-to-Peer functionality using emulated nodes. Only one Peer-to-Peer configuration can be downloaded to the emulator. If redundant CMs are installed in a single logical slot, you must select the physical CM (LEFT or RIGHT) to download the configuration from. The default is LEFT. See Testing Peer-to-Peer Communication with the Emulator on page 419 for more information about using Peer-to-Peer communication with the emulator. Network Select the network that the CM you selected above is connected to. The default is NET 1.
Click OK.
Emulator Testing
423
Changes to the Project Version and State After Downloading to the Emulator
Downloading to the emulator changes the projects downloaded version and, if a Download All was performed, its download state.
The projects downloaded version is different for the emulator and the controller. Performing a download to the emulator changes the downloaded version for the emulator, but not the downloaded version for the controller. For example, if the existing downloaded version is 6.8 for both the emulator and the controller, a Download All to the emulator will change the downloaded version for the emulator to 7.0, while maintaining the controllers downloaded version at 6.8. Project version changes made due to download operations can be viewed in the Project History dialog box. See View Project History Command on page 590.
Example Assume that the project TestProject1 is in the Download All state because it has never been downloaded to the controller or the emulator. You then download TestProject1 to the emulator for the first time, which causes the following changes to the project state: The project state is changed to Download Changes for the emulator only. The project is still in the Download All state for the controller.
424
Chapter 7
Implementation
If the emulator Control Panel is open, the project state in the Status Bar displays as Download Changes. If the emulator Control Panel is NOT open, the project state in the Status Bar displays as Download All, and all rules pertaining to projects in the Download All state apply. All rules that pertain to projects in the Download Changes state will apply.
Procedure
1 2 3 4 Connect to and configure the emulator as described in Connecting to and Configuring the Emulator on page 414. Download an application, as described in Testing Peer-to-Peer Communication with the Emulator on page 419. In the Windows taskbar, click the TRINODEx button (where x is the number of the node you are emulating) to view the emulator configuration dialog box. View the following properties at the top of the dialog box:
Property Req Scan Description Displays the requested scan time for the application running on the emulator. The requested scan time is the time specified in the project. See Scan Time on page 553. Real Scan Displays the actual scan time for the application running on the emulator. The actual scan time is the actual length of time required by the emulator to complete the last scan. The actual scan time is equal to or greater than the requested scan time. See Scan Time on page 553. Exec Time Displays the execution time for the programs in the application that is running on the emulator, as specified in the program execution list. See Building or Rebuilding an Application on page 203. Status Displays the current state of the application running on the emulator. Possible states are OFFLINE, IDLE, RUNNING, HALTED, and PAUSED.
Emulator Testing
425
Procedure
1 2 3 4 Connect to and configure the emulator as described in Connecting to and Configuring the Emulator on page 414. Download an application, as described in Testing Peer-to-Peer Communication with the Emulator on page 419. If needed, drag variables to be tested onto the emulator sheet. Double-click a variable to view its Item Properties dialog box and make changes to its value.
5 6
For the Set Value property, enter a test value and click Confirm. The value is applied to the selected variable. Continue to monitor the program execution.
426
Chapter 7
Implementation
Procedure
1 2 3 4 5 6 Connect to and configure the emulator as described in Connecting to and Configuring the Emulator on page 414. Download an application, as described in Testing Peer-to-Peer Communication with the Emulator on page 419. On the emulator tree, expand Programs, and click the program you want to monitor. Click Display Program Document . or Single Step .
True Value in Red
To view the program execution, click Run To quit running the program, click Disconnect
False Value in Green
Figure 42
Emulator Testing
427
Procedure
1 2 3 4 Connect to and configure the emulator as described in Connecting to and Configuring the Emulator on page 414. Download an application, as described in Testing Peer-to-Peer Communication with the Emulator on page 419. If needed, drag variables to be tested onto the sheet. Double-click a variable, and select the Annotate check box on the Variable tab.
6 7
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. Continue testing, as needed.
428
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 must be completed and must match the physical configuration. Topics include: Downloading to the Controller on page 428 Monitoring Variables on the Controller on page 431 Monitoring the Program Execution on page 432 Adding Annotation for Variables on page 433 Determining the Scan Surplus on page 434 Displaying Hardware Allocation Exceptions on page 436
CAUTION
Note
The first time you connect to the Trident 2.x 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 for the First Time on page 368 for more information.
If the target system version configured for the project does not match the system version of the Tricon or Trident 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 214 or Configuring the Trident Target System Version on page 280.
Procedure
1 2 Open the Controller workspace, expand the Configuration tree, and double-click the Controller Panel. On the Commands menu, click Connect .
Controller Testing
429
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 344 or Specifying the Trident Default Connection Type on page 388. 3 4 Enter the connection password if required. Do one of the following: For Tricon, ensure the keyswitch is turned to PROGRAM. This is the factory setting. For Trident, 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 549. 6 7 To start the application, click Run Do one of the following: For Tricon, 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, 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. .
Changes to the Project Version and State After Downloading to the Controller
Downloading to the controller changes the projects downloaded version and, if a Download All was performed, its download state.
The downloaded version is different for the controller and the emulator. Performing a download to the controller changes the downloaded version for the controller, but not the downloaded version for the emulator. For example, if the existing downloaded version is 6.8 for both the controller and the emulator, a Download All to the controller will change the downloaded version for the controller to 7.8, while maintaining the emulators downloaded version at 6.8.
TriStation 1131 Developers Guide, v4.6
430
Chapter 7
Implementation
Project version changes made due to download operations can be viewed in the Project History dialog box. See View Project History Command on page 590.
Example Assume that the project TestProject1 is in the Download All state because it has never been downloaded to the controller or the emulator. You then download TestProject1 to the controller for the first time, which causes the following changes to the project state: The project state is changed to Download Changes for the controller AND the overall project. The project is still in the Download All state for the emulator. If the emulator Control Panel is open, the project state in the Status Bar displays as Download All. If the emulator Control Panel is NOT open, the project state in the Status Bar displays as Download Changes. All rules that pertain to projects in the Download Changes state will apply.
Controller Testing
431
CAUTION
Procedure
1 2 3
Monitoring and disabling variables should only be done if the controller is not connected to a live system or if maintenance is being performed.
To connect and download an application, see Downloading to the Controller on page 428 and Monitoring the Program Execution on page 432. Drag the function blocks and variables you want to monitor to the sheet. On the Commands menu, click Run Note 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.
5 Note
Continue testing, as needed. 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 doesnt have enough communications bandwidth to display all the new values in one scan.
432
Chapter 7
Implementation
Procedure
1 2 3 4 To connect and download an application, see Downloading to the Controller on page 428. On the controller tree, expand Programs, and click the program you want to test. Click Display Program Document . or Single Step .
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. .
True Value in Red
Figure 43
Controller Testing
433
Procedure
1 2 3 To connect and download an application, see Downloading to the Controller on page 428. If needed, drag variables to be tested onto the sheet. Double-click a variable, and select the Annotate check box on the Variable tab.
5 6
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. Continue testing, as needed.
434
Chapter 7
Implementation
For more information, see Setting the Scan Time for a Downloaded Application on page 435. 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.
Note
Controller Testing
435
Procedure
1 2 On the Controller tree, double-click the Controller Panel and download the application. On the Commands menu, click Set Scan Time. This is the Tricon 3008 screen. This is the Trident 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.
436
Chapter 7
Implementation
Procedure
1 Download an application to the controller. If the logical and physical configurations do not match, the Hardware Allocation Exception dialog box appears.
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 Asterisk (*) Description A red asterisk identifies a module mismatch, which means the module specified in the hardware configuration for the project is different from the module in the physical system. This error must be fixed by changing the hardware configuration in the project. Empty slot An empty slot error indicates either of these: The hardware configuration specifies a module that is empty in the controller. The controller contains a module that is not included in the hardware configuration. The application can be downloaded.
Maintenance
437
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:
Changing a safety-critical application that is running on a controller should be avoided because an error in the application could cause a trip or unpredictable behavior.
Steps for Downloading Changes on page 438 Planning and Controlling Changes on page 439 Commands Required with Application Changes on page 440 Disabling (Forcing) Points on page 442 Using the Download Changes Command on page 443 Using the Download All Command on page 445
438
Chapter 7
Implementation
WARNING
For a safety-critical application running on a live system, you must use extreme caution because a configuration error in the changed application could cause unpredictable behavior or a trip. When a Download Changes command is issued, the scan time is doubled for one scan immediately following the command. For example, if the normal scan time is 100 ms, the scan following a Download Changes would be 200 ms.
Step
See Verifying the TriStation 1131 Installation on page 6 Planning and Controlling Changes on page 439. Commands Required with Application Changes on page 440. See the Hardware Module Configuration report. See Generating Reports on page 56.
Verify the TriStation software is correctly installed. Plan for the change. Determine whether a Download All or Download Changes is required. Review the hardware configuration. If needed, correct the hardware configuration to match the physical configuration. Compare the current project with the last downloaded. Test on the emulator. Ensure the scan time has a surplus Download the changed application.
Compare Project to the Last Downloaded Command on page 461 Emulator Testing on page 413 Determining the Scan Surplus on page 434 Using the Download Changes Command on page 443. Using the Download All Command on page 445
Maintenance
439
Recommended Procedure
1 2 3 4 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 587. If the applications do not match, contact Triconex Technical 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. When approved by the board, download the changes to the controller. Save the downloaded application and back up the appropriate files on a CD or other storage medium. Archive two copies of the .pt2 (project) file and all associated documentation.
5 6 7 8 9 10 11
440
Chapter 7
Implementation
Download All: Required if the address plug and node number configuration are changed. Download All: Required if the number of send or receive function blocks is increased or decreased. Download All: Required if the Allow Disabling of Points property is changed. Download Changes: Allowed if these properties are changed: Disable Remote Changes to Outputs, Password Required for Connection, Restart on Power-Up (Trident only), Scan Time, and Use Local Time.
Programs
Download All: Required if a program is deleted from an application. Download Changes: Allowed if a program is added to an application and there is sufficient memory.
Tagnames
Download Changes: Allowed if tagnames are added, modified, or deleted. Tagnames can also be disconnected or connected to different points, if there is enough memory allocated for the required point types. Points must be enabled. Download All: Required if the target system version is changed (upgrade or downgrade), unless you are converting a project created in a version of TriStation prior to v4.6. Download Changes: Allowed if you changing the target system version while converting a project created in a version of TriStation prior to v4.6.
Maintenance
441
Table 36
Component Variables
Note
If the emulator is in the Download Changes state, all rules for projects in that state will apply, regardless if the controller is in the Download All state. This means that even when the controller is in the Download All state, if the emulator is already in the Download Changes state, you cannot: Delete or move a module in the projects controller configuration. Rebuild the application. Change the controllers target system version. Replace the controllers MP model.
In this case, if you need to perform commands that are available only while the project is in the Download All state, use the Change State to Download All Command to change the state of the project to Download All for both the controller and the emulator.
442
Chapter 7
Implementation
WARNING
Procedure
1 2
A project should not contain disabled points unless there is a specific reason for disabling them, such as initial testing or maintenance. Disabling points can increase the scan time.
Expand the Configuration tree, and click Controller Panel. 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 Tricon or Trident you are trying to connect to, you will be unable to connect to the controller. See Configuring the Tricon Target System Version on page 214 or Configuring the Trident Target System Version on page 280.
3 4
Double-click a point to be disabled, and click Disable. Only one point can be disabled at a time. Repeat step 3 until all desired points have been disabled.
Maintenance
443
WARNING
Changing a safety-critical application that is running on a controller should be avoided because an error in the application could cause a trip or unpredictable behavior. If the application has a negative Scan Surplus, do not use the Download Changes command because it could cause a trip or unpredictable behavior. When a Download Changes command is issued, the scan time is doubled for one scan immediately following the command. If the IP Address is changed, the Fault indicator on the communication module turns on during the reset, which temporarily compromises the TMR status of the controller. If an I/O module is added, the TMR status of the controller is temporarily compromised for as much as 8 to 16 scans. For more information, see Adding an I/O Module below. If the AI module type for models 3703 or 3704 is changed, the TMR status of the controller is temporarily compromised for as much as 8 to 16 scans. If the DO module type for models 3611, 3613, 3614, 3615, or 3617 is changed, the TMR status of the controller is temporarily compromised for as much as 8 to 16 scans. If in doubt about the effect of this command, contact Technical Support.
For more information, see the Tricon or Trident Safety Considerations Guide.
444
Chapter 7
Implementation
Procedure
1 2 Expand the Configuration tree, and double-click the Controller Panel. On the Commands menu, click Connect required. Note , and enter the connection password if
If the target system version configured for the project does not match the system version of the Tricon or Trident you are trying to connect to, you will be unable to connect to the controller. See Configuring the Tricon Target System Version on page 214 or Configuring the Trident Target System Version on page 280. .
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 549. 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.
Maintenance
445
WARNING
Procedure
1 2
Using the Download All command requires the current application running on the controller to be halted.
Expand the Configuration tree, and double-click the Controller Panel. On the Commands menu, click Connect Note .
If the target system version configured for the project does not match the system version of the Tricon or Trident you are trying to connect to, you will be unable to connect to the controller. See Configuring the Tricon Target System Version on page 214 or Configuring the Trident Target System Version on page 280.
3 4 5 6 7 8
If needed, change the connection setting. Click OK. If required, enter the connection password. If needed, change the state to Download All. On the Commands menu, click Change State to Download All. Click Halt to stop the application. For Tricon, turn the keyswitch to PROGRAM. For Trident, 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 549. If the download failed, review the error messages on both the Controller and Application tabs to determine the source of the failure. 10 11 Click Run to start the application running on the controller.
446
Chapter 7
Implementation
A
Commands and Properties
This appendix provides descriptions of TriStation 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, the alias number can be set within a default range or within a larger allowable range. This table identifies Tricon and Trident ranges.
448
Appendix A
Table 37
Bin 0 1 2 3 4 5 6 7 10 11 12 Data Type BOOL BOOL BOOL BOOL DINT DINT REAL REAL DINT DINT REAL
a. For Tricon 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.
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: Unaliased: Means the point cannot be read or written to. 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
Location
Application tree > Tagnames > Item Properties > Point Assignment tab
Alignment
449
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
Item Properties > Comment tab Project menu > Project Options > Annotations tab
Applies To
Memory and Output Points
Locations
Tricon Controller tree > Configuration > Operating Parameters Trident Controller tree > Configuration > MP Setup > Operating Parameters tab
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: The monitor value (value of the variable as the configuration executes) The default macro for the particular type of variable Other standard macros User-modified macros Text that you type in
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.
450
Appendix A
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
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 38
Setting Safety
Application Types
Description An application that is designed to take a process to a safe state when predetermined conditions are violated. Also referred to as an Emergency Shutdown System (ESD), Safety Instrumented System (SIS), and Safety Interlock System. Applies to programs and tagnames.
Apply Command
451
Table 38
Setting Control
Application Types
Description An application that controls a process. Cannot be used in Safety programs. Applies to programs, functions, function blocks, and tagnames. An application that includes a mixture of safety and control components. Applies to functions and function blocks.
Safety or Control
Applies To
Programs, Functions, Function Blocks, and Tagnames
Locations
Item Properties > Application tab Declarations > Application tab
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
452
Appendix A
Applies To
Variables
Locations
Auto Name button, or Tools menu Item Properties > Constants or Selected tab
Applies To
ST Language
Location
View menu > Set Editor Options
Procedure
1 2 3 Project On the File menu, click Backup Project. 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 Location
File menu
TriStation 1131 Developers Guide, v4.6
Base Address
453
Base Address
For Tricon, 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
Baud Rate
The Baud Rate property specifies the data transmission speed. Settings include: For Tricon EICM: 19200, 9600, 4800, 2400, or 1200. For Tricon TCM: 115200, 57600, 38400, 19200, 9600, 4800, 2400, or 1200. For Trident 1.x: 115200, 57600, 38400, 19200, 9600, 2400, or 1200. For Trident 2.x: 115200, 57600, 38400, 19200, 9600, 4800, 2400, or 1200.
Applies To
Tricon EICM, Tricon TCM, Trident MP, Trident 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 Controller tree > Configuration > Hardware Allocation > MP or CM Setup > Serial Ports tab
Block Type
See SOE Block Type on page 567.
454
Appendix A
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
Locations
Item Properties > Comment tab Project menu > Project Options > Annotations tab
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
455
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
456
Appendix A
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
Location
Tools menu > TriStation 1131 Options > Drawing Colors tab
457
Applies To
Programs and functions
Location
Right-click an element > Item Properties > Change Owner
WARNING
Applies To
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.
Downloaded application
Location
Project menu
458
Appendix A
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 CM. Also see IP Address on page 508. 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 Controller tree > Configuration > Hardware Allocation > CM Setup > Access List tab
459
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Access List tab
Client Protocols
The Protocols property in the TCM or Trident 2.x CM access control list specifies the protocol(s) that the selected client can use to access the TCM or Trident 2.x CM. Does not apply to model 4351/4352 Tricon Communication Modules (TCMs). Table 39
Protocol TSAA
OPC 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 Controller tree > Configuration > Hardware Allocation > CM Setup > Access List tab
460
Appendix A
Applies To
Project
Location
File menu
Applies To
LD program or function
Location
Coil Tool button Tools menu > Select Tools
Coil Type
The Coil Type property represents the output state of a coil used in an LD program or function. Table 40
Coil Type Normal (Momentary) Negated (Momentary) Positive Transition Negative Transition Set (Latch) Reset (Unlatch)
Applies To
LD program or function
Location
Item Properties > Selected tab
TriStation 1131 Developers Guide, v4.6
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
Comment Tool button Application tree > User Documents tree > Tools menu > Select Tool command Configuration tree > Controller or Emulator Panel > Tools menu > Select Tool command
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
Applies To
Application and configuration elements
Location
Project menu
462
Appendix A
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
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 41 Connect Properties for Communication Modules
Properties that can be set Serial or Network port settings. Serial or Network port settings, TriStation UDP Port Number, and Baud Rate (for serial connection only).
Contact Command
463
Table 41
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
Contact Tool button Tools menu > Select Tools
Contact Type
The Contact Type property specifies the type of a contact used in a Ladder Diagram. Table 42 Contact Type Symbols and Descriptions
Symbol | | Description The state of the left link is copied to the right link if the state of the Boolean variable is On. The state of the left link is copied to the right link if the state of the Boolean variable is Off. 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. 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.
Contact Type Normally Open Normally Closed Positive Transition Negative Transition
| / | | P |
| N |
Applies To
Contacts in Ladder Diagram programs
Location
Item Properties > Variable tab > Contact Type area
TriStation 1131 Developers Guide, v4.6
464
Appendix A
Applies To
Controller or Emulator Panel
Locations
Continuous Refresh button Controller tree > Controller or Emulator Panel > Commands menu
Copy CommandThe 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 MP serial ports
Location
Trident Controller tree > Configuration > Hardware Allocation > MP Setup > Serial Ports tab
Applies To
Tricon TCM access control list, Trident 2.x CM access control list
Current Version
465
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Access List tab
Current Version
The Current Version property identifies the current version of the project under development. This is how the version is determined: The version of a newly created project is 1.0. 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 CommandThe 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
466
Appendix A
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 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:
C:\Documents and Settings\<user_name>\My Documents\Triconex\TriStation 1131 4.6\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 data types, see Appendix B, Data Types. This table identifies the data types available for variables. Table 43
Variables Tagnames Constants and local variables
Applies To
Constants, local variables, and tagnames
Location
Item Properties > Constant or Declaration tab
Declarations Command
467
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 Element background Element text and border Selected element background Selected element text Sheet background Sheet background (read-only documents) Zone division lines
Applies To
Logic sheets in user documents Test sheets in Controller and Emulator Panels
Location
Tools menu > TriStation 1131 Options > Drawing Colors tab
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 and Trident 2.x, the default is Network Connection. For Trident 1.x, the default is Main Processor.
468
Appendix A
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Network and Routing tabs
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: Function Block Diagram Ladder Diagram Structured Text Cause Effect Matrix
Applies To
User documents
Location
Project menu > Project Options > Language tab
469
470
Appendix A
Table 46
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
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
471
Applies To
CEM programs
Locations
Delete Columns button Edit menu
Applies To
CEM programs
Locations
Delete Rows button Edit menu
Applies To
Logic sheets
Location
Sheets menu
Applies To
Tagnames
Location
Application tree > Tagname Declarations
472
Appendix A
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
Item Properties > Selected or Declarations tab Project menu > Security > New or Modify > Add User or Modify User
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
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 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 Controller tree > Configuration > Hardware Allocation > CM Setup > Routing tab
473
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Routing 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 Trident 2.x Controller tree > Configuration > Hardware Allocation > CM Setup > Peer-to-Peer tab
For detailed range information, see Resolution Type on page 547. The default is Unipolar.
Applies To
Analog input points
474
Appendix A
Location
Controller tree > Configuration > Hardware Allocation > Differential AI Setup
Directories
See: Data Files on page 466 Project Files on page 541 Temporary Files on page 575
WARNING
Applies To
Application
Location
Controller tree > Controller Panel > Commands menu
WARNING
475
Applies To
Application, modules
Location
Controller tree > Controller Panel > Commands menu
Applies To
Application
Locations
Tricon Controller tree > Configuration > Operating Parameters Trident Controller tree > Configuration > Hardware Allocation > MP Setup > Operating Parameters tab
Disable Scaling
For Trident, the Disable Scaling property specifies whether REAL numbers are scaled to integers when they are transmitted from a Trident controller. For Tricon, 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
476
Appendix A
Applies To
Application
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
Display Program Document button Controller tree > Controller or Emulator Panel > Commands menu
477
Applies To
Reports
Location
Project tree > Report viewer toolbar
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 3625 digital output module. Table 47
Option Not Used
DO Point Options
Description Fault detection is the same as for Non-Supervised points, except reporting of benign field fault conditions is suppressed. Points configured as Not Used will be energized if the application commands them on.
478
Appendix A
Table 47
Option
Non-Supervised
Supervised
Fault detection includes: Detection of all internal faults, including those in the output circuitry. Detection of all external faults associated with field device or wiring, such as, loss of power, shorted loads, open loads, and so on.
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. Read/Write: Any user can read or change the document. 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
479
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.
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 48
Component Chassis
A Download All command requires that the application on the controller is halted.
480
Appendix A
Table 48
Component
Functions and function blocks Memory allocation Modules Node Number Number of Send or Receive function blocks Operating Parameters Programs Tagnames Target System Version
Variables
Applies To
Application
Locations
Download All button Controller > Controller or Emulator Panel > Commands menu
WARNING
Changing a safety-critical application that is running on a controller should be avoided because an error in the application could cause a trip or unpredictable behavior. For additional warnings, see Using the Download Changes Command on page 443.
Table 49
Element
Downloaded Version
481
Table 49
Element Modules Operating Parameters
Programs Tagnames
Allowed if you are changing the target system version (upgrade or downgrade) while converting a project created in a version of TriStation prior to v4.6. Allowed if changing variable properties does not require additional memory allocation. If the Initial Value is changed, the value is not used until the application is stopped and restarted. Points must be enabled.
Applies To
Application changes
Locations
Download Changes button Controller tree > Controller or Emulator Panel > Commands menu
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).
Use the View Project History Command on page 590 to see the complete list of downloaded version changes.
482
Appendix A
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
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
483
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
Applies To
CEM programs
Location
Tools menu > TriStation 1131 Options > CEM Editor tab
484
Appendix A
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 65535 seconds. The default is 4 seconds. For advanced users only.
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. For the FBD language, the parameters are optional. For the LD language, the parameters are required.
Usage
If EN/ENO is visible on any function in a network, then EN/ENO must be visible on every function in the network. 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.
Description 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.
Parameter EN
485
Parameter ENO
Description 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
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Access List tab
Applies To
Application, tagnames
Location
Configuration tree > Controller or Emulator Panel > Commands menu
486
Appendix A
Applies To
CEM programs
Location
Application tree > open a CEM program > Document menu > Options
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
Enable Communication with Tricon V8, Tricon V9, and Trident v1 Peer-to-Peer Systems
The Enable Communication with Tricon V8, Tricon V9, and Trident v1 Peer-to-Peer Systems property specifies whether communication is enabled with these systems on the selected port (NET 1 or NET 2). By default, Peer-to-Peer communication with these systems is disabled. Available on Trident v2.x systems only.
487
Applies To
Peer-to-Peer communication
Locations
Trident v2.x Controller tree > Configuration > Hardware Allocation > CM Setup > Peer-to-Peer tab
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
488
Appendix A
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
489
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
Applies To
Communication
Location
Controller tree > Configuration > Operating Parameters
490
Appendix A
Applies To
Peer-to-Peer communication, time synchronization
Location
Trident 2.x Controller tree > Configuration > Hardware Allocation > MP Setup > Operating Parameters tab
Applies To
Tricon SMM
Location
Tricon Controller tree > Configuration > Hardware Allocation > SMM Setup
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
491
Applies To
ST programs and functions
Location
Larger Font button View menu
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
492
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, the filename must be eight characters or less.
Applies To
Tagnames
Location
Right-click the Tagname Declarations folder
Applies To
TCM configuration
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 Controller tree > Configuration > Hardware Allocation > CM Setup
Export Destination
493
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 Comma-separated values (CSV) Excel 5.0 (XLS) Excel 5.0 (XLS) (Extended) Excel 7.0 (XLS) Excel 7.0 (XLS) (Extended) Excel 8.0 (XLS) The default is PDF. Excel 8.0 (XLS) (Extended) Paginated Text Rich Text (Exact) Format Tab-separated text Tab-separated values Text Word for Windows document XML
Applies To
Reports
Location
Export Report button on Project tree > Reports toolbar
Applies To
Reports
Location
Export Report button on Project tree > Reports toolbar
494
Appendix A
False Color
See Monitor Display Options on page 522.
Fatal Severity
See System Events Severity on page 573.
Applies To
Functions and function blocks
Location
Tools menu > TriStation 1131 Options > FBD Editor tab
Field Power
For Trident, 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 Field Power Absent Field Power Present Description Select if field power is not connected to the PI Baseplate. This setting is typically chosen if all the field sensors are passive. Select if field power is connected to the PI Baseplate. This setting is typically chosen if some or all the sensors are active.
Applies To
Trident Pulse Input or Enhanced Pulse Input Setup
Location
Trident Controller tree > Configuration > Hardware Allocation > PI or EPI Setup
495
Applies To
AI Modules
Location
Tricon Controller tree > Configuration > Hardware Allocation > Single-Ended and Differential AI Setup
Applies To
Application elements
Location
Edit menu
Applies To
Application elements
Location
Edit menu
496
Appendix A
Applies To
Application elements
Locations
Find Text button View menu
Formatted Name
The Formatted Name property specifies a pattern to use when naming variables. The pattern includes: Text: The text used as the base for the name. Macro: The numbering scheme to use as an increment. For theater numbering (A to Z, and AA to ZZ), use %A. For normal numbering, (0-nnn), use %0. For example, ALARM_%0 would result in names of ALARM_1 through ALARM_nnn. ALARM_%A would result in ALARM_A ... ALARM_Z, depending on the start and increment value, and the number of variables.
Applies To
Comments and variables in user documents
Locations
Item Properties > Auto Name > Auto Name button Tools menu > Auto Name Selected Items
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
497
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.
The default value is Low 16 Bits First. Note On Trident 2.x 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 Controller tree > Configuration > Hardware Allocation > CM Setup > Serial Ports and Modbus TCP tabs
Function Variables
See Default Macros or Text on page 469.
Full Name
The Full Name property specifies the name of the user.
Applies To
User Security
Location
Project menu > Security > Users tab > Modify button
498
Appendix A
Applies To
Programs
Locations
Function Block button Tools menu > Select Tool > Function Blocks
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
499
Applies To
Tagnames
Location
Tagname Declarations > Declaration tab
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, the Halt command is used. For Trident, 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 and Trident 2.x 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 Hardware Description 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 Select for configurations that do not allow or require Hardware Handshake.
500
Appendix A
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 Controller tree > Configuration > Hardware Allocation > MP Setup > Serial Ports tab Trident Controller tree > Configuration > Hardware Allocation > CM Setup > Serial Ports tab
Applies To
Configuration
Locations
Hardware Allocation button View menu
501
Applies To
CEM programs
Location
View menu
Applies To
CEM programs
Location
View menu
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Network tab Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B Setup > Network tab Trident 2.x Controller tree > Configuration > Hardware Allocation > CM Setup > Network tab
502
Appendix A
Applies To
FBD logic sheets
Locations
Horizontal Network Divider button Tools menu > Select Tool
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
Applies To
TCM or Trident 2.x 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 Controller tree > Configuration > Hardware Allocation > CM Setup
503
Applies To
Variables
Location
Item Properties > Annotation tab
Info Severity
See System Events Severity on page 573.
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: The Download All and the Run command are issued The Halt command and the Run command are issued The application is restarted after a power failure
To identify whether a first scan has occurred, use the TR_SCAN_STATUS (Tricon) or SYS_SYSTEM_STATUS (Trident) function blocks. 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
504
Appendix A
Applies To
CEM programs
Locations
Insert Columns button Edit menu
Applies To
ST programs and functions
Location
Edit menu
Applies To
CEM, FBD, and LD functions
Locations
Input Variable Tool button Edit menu
Applies To
FBD and ST functions and function blocks
Locations
In/Out Variable Tool button Edit menu
505
Applies To
CEM, FBD, and LD programs
Locations
Local Variable Tool button Edit menu
Applies To
FBD and LD functions
Locations
Input Variable Tool button Edit menu
Applies To
Hardware configuration
Locations
Insert Module button (on Trident Configuration toolbar) Tricon Configuration tree > Hardware Allocation > double-click slot Trident Configuration tree > Hardware Allocation > MP/IOP1 > Tools menu
Applies To
CEM programs
Locations
Insert Rows button Edit menu
506
Appendix A
Applies To
Logic sheets
Location
Sheets menu
Applies To
FBD and LD programs
Locations
Tagname Declaration Tool button Edit menu
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
507
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. 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
508
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: Note ACM/NCM: 192.168.1.<node number> TCM: 192.168.0.<node number> for NET 1; 192.168.1.<node number> for NET 2 Trident 1.x: 0.0.0.0 Trident 2.x: 192.168.255.<node number> for Left MP network port only; 0.0.0.0 for all other MP and CM network ports 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
Controller tree > Configuration > Communication Tricon Controller tree > Configuration > Hardware Allocation > ACM or NCM Setup Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Network, Peer-to-Peer, Modbus TCP, and Printer tabs Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B Setup > Network, Peer-to-Peer, Modbus TCP, and Printer tabs Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Network, Peer-to-Peer, Modbus TCP, and Printer tabs Trident Controller tree > Configuration > Hardware Allocation > CM Setup > Network or Printer tab Trident 2.x Controller tree > Configuration > Hardware Allocation > MP Setup > Network Ports tab
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 ACM and TCM, see your network administrator. For Tricon NCM, do not change the default setting which is eight zeroes. For Trident CM, see your network administrator.
509
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Network and Routing tab
Applies To
Chassis, modules, tagnames, variables
Locations
Item Properties button View menu
Language
The Language property specifies the language to be used for the program, function, function block, or data type. Settings include: Function Block Diagram Ladder Diagram Structured Text Cause Effect Matrix
Applies To
Programs, functions, function blocks, and data types
Location
Project menu > New Document
510
Appendix A
LD Editor Options
The LD Editor Options include: Compiler Warning When Right Power Rail is Missing on page 462 Double Space Function (Block) Terminals by Default on page 479 Left-Handed Link Tool on page 510
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 Tricon Controller tree > Configuration > Hardware Allocation > TCM Setup > Printer tab Trident Controller tree > Configuration > Hardware Allocation > CM Setup > Printer tab
Link Command
511
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 Horizontal Description 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. 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.
Vertical
Applies To
LD programs
Locations
Link Tool button Tools menu > Select Tools
Applies To
Tagnames
Location
Controller tree > Controller Panel > Commands menu
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
512
Appendix A
Location
The Location property specifies the location of the tagname based on the position in the Tricon chassis or Trident system. The address is a three-part number in this format: CC.SS.PP
Identifier CC SS PP Description Stands for Tricon chassis, or Trident I/O Processor (IOP). Stands for slot (Tricon), or baseplate (Trident). Stands for point number.
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 Controller tree > Configuration > Hardware Allocation > PI or EPI Setup
Applies To
Project
Location
File menu
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
513
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 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
Locations
Document, Project, and Sheets menus Annotation tab (tagnames and variables) Comments tab (comments)
514
Appendix A
Applies To
TriStation communication
Location
Trident 1.x Controller tree > Configuration > TriStation Communication
Major Severity
See System Events Severity on page 573.
Applies To
Logic sheets
Location
Sheets menu
515
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Protocols tab
516
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Modbus TCP and Serial Ports tab
Max Field
For Trident, 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 Pulse Input or Enhanced Pulse Input Module
Location
Trident Controller tree > Configuration > Hardware Allocation > PI or EPI Setup
Applies To
Peer-to-Peer communication
Location
Application tree > Implementation > Peer-to-Peer Configuration
517
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
Applies To
Tagnames with REAL data types
Location
Application tree > Tagname Declarations > Scaling tab
518
Appendix A
Applies To
Configuration
Locations
Memory Allocation button View menu
Applies To
Troubleshooting problems
Location
Configuration tree > Controller Panel > Tools menu > Message Options
Min Field
519
Applies To
View
Locations
Message View button View menu > Messages
Min Field
For Trident, 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 Pulse Input or Enhanced Pulse Input Module
Location
Controller tree > Configuration > Hardware Allocation > PI or EPI Setup
Applies To
Tagnames with REAL data types
Location
Application tree > Tagname Declarations > Scaling tab
Minor Severity
See System Events Severity on page 573.
Applies To
Communication
520
Appendix A
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 Controller tree > Configuration > Hardware Allocation > MP and CM Setup > Serial Ports tab
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 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 50
Modes Open Network Peer-to-Peer TriStation
Communication Modes
Supported Protocols TriStation, TSAA, OPC, DDE, and printer protocol Peer-to-Peer and Time Synchronization TriStation
Applies To
Communication
Model 521
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 Controller tree > Configuration > Hardware Allocation > MP Setup > Network tab
Model
The Model property specifies the model of Main Processor installed in the Tricon or Trident that the project will be downloaded to. Note 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. For Trident versions 1.2 and later, select 3101. TriStation 1131 v4.6 does not support Tricon versions v9.4.x and earlier, or Trident versions v1.1 and earlier. For a list of TriStation versions compatible with your controller, see the applicable Tricon or Trident Product Release Notice (available on the IPS Global Customer Support web site).
Applies To
Project
Locations
File menu > New Project or > Select Main Processor File menu > Open Project > Select Main Processor Tricon or Trident Controller tree > Configuration > Hardware Allocation > Replace MPs
522
Appendix A
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
Multicast IP Address
523
Location
Item Properties > Style tab
Multicast IP Address
See TSAA Multicast IP Address on page 582.
Name
The Name property specifies an identifier or description for an element.
Feature Restrictions Description 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. 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.
Version Numbers
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: RowsNames are applied vertically, from left to right. ColumnsNames are applied horizontally, from top to bottom. Selection orderNames are applied based on the order in which they were selected.
Applies To
Comments and variables in user documents
Locations
Item Properties > Auto Name > Auto Name button Tools menu > Auto Name Selected Items
Network
The Network property specifies the TCM or Trident 2.x CM network portNET 1 or NET 2 that the selected external device is connected to.
Applies To
Communication
524
Appendix A
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 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
NIC Index
525
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. To determine the NIC index: 1 2 3 Open the Control Panel and click the System icon. 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
Location
Controller tree > Configuration > TriStation Communication
526
Appendix A
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). The numbers can be from 1 to 31.
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 Pulse Input or Enhanced Pulse Input Module
Location
Trident Controller tree > Configuration > Hardware Allocation > PI or EPI Setup
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
527
Number of Instances
The Number of Instances property specifies how many instances of the emulator you want available at any one time. The default is Single. For advanced users only.
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
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
528
Appendix A
Applies To
Application
Location
Project menu
Applies To
Tricon DO points
Location
Tricon Controller tree > Configuration > Hardware Allocation > DO Setup
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
529
Operations
The Operations property specifies TriStation and controller operations that can be assigned a security level. These tables describe the operations and default settings for security levels. Table 51
Panel Controller
Controller Operations
Operation Change point values Download All Download Changes Enable and disable points Change state to Download All Halt and run mismatched application Description Permits use of the Set Value command for variables in the Controller and Emulator Panels. Permits use of the Download All command in the Controller and Emulator Panels. Permits use of the Download Changes command in the Controller and Emulator Panels. Permits points to be disabled in the Controller Panel. Permits state to be changed from Download Changes to Download All. Permits use of the Halt, Download All, and Run commands when the project executing in the controller does not match the application that is currently open in TriStation. Permits use of the Halt command in the Controller and Emulator Panels. Permits use of the Configuration editor and the Build Element, Build Configuration, and Rebuild Configuration commands. Permits use of the Controller Panel. Permits the Configuration editor to be opened. Permits use of the Controller Panel. Permits use of the Pause and Single Step commands in the Controller or Emulator Panel. Permits use of the Run command in the Controller or Emulator Panel. Permits the operating parameters to be set. Permits use of the Emulator Panel. Default Level 1 1 1 1 1 1
1 1
Modify Controller Panel Open Configuration Open Controller Panel Pause and Single Step application Run Application Set Operating Parameters Emulator Open Emulator Panel
1 1 12 1 1 1 13
530
Appendix A
Table 52
Type Elements
TriStation Operations
Operation Change Access Attributes Change Owner Modify control elements Description Permits changes to Access Attributes property, which allows Read Only, Read/Write, or Lock status. Permits using the Change Owner command to change the owner of a document. Permits creating, modifying, and deleting programs, functions, and function blocks which are defined for control applications. Permits creating, modifying, and deleting programs, functions, and function blocks which are defined for safety applications. Permits viewing of programs, functions, and function blocks. Permits exporting project documents to a shared library. Permits importing shared libraries. Permits printing of reports. Permits use of the Update Data command. Permits changes to properties in Project Options. Permits use of Change State to Download All command. Permits use of the Clear History command. Permits adding, modifying, and deleting users if the user has equal or higher privileges than the selected user. Permits changes to the names associated with security levels. Permits changes to the privileges associated with security levels if the user has equal or higher privileges than the selected user. Permits changes to properties in TriStation Options. Default Level 13
13 15
15
View elements Libraries Export Import Printing Print reports Update report database Project Change Project Options Change state to Download All Clear history logs Security Add/Modify Users
19 12 12 19 15 13 12 12 12
12 12
Workbench
12
Applies To
Security
Location
Project menu > Security > Privileges tab
Organize Command
531
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 By Library By Type By Category By Name Description Organizes by the library where the elements are located. Organizes by Functions and Data Types. This is the default selection. Organizes by the typical usage. For example, Arithmetic, Data Type, Counter, and so on. Organizes alphabetically by name.
Applies To
TriStation 1131 Library data types, functions, and function blocks
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 Odd Even Mark Space None Description Sets the parity bit to 0 or 1 to make the total number of 1 bits odd. Sets the parity bit to 0 or 1 to make the total number of 1 bits even. Sets the parity bit to 1 for each data item. Sets the parity bit to 0 for each data item. Deletes the parity bit.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Serial Ports tab
532
Appendix A
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 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
Locations
Controller tree > Configuration > Operating Parameters Project menu > Security command > Users tab > Add or Modify button
Applies To
Security
Locations
Controller tree > Configuration > Operating Parameters Project menu > Security command > Users tab > Add or Modify button
Paste Command
533
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
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 or Trident 2.x CM for the selected client IP address. If the application includes safety-critical outputs, you should not set this property to Read/Write.
Setting Deny Access Description Prevents all access to resources provided by the TCM or Trident 2.x CM. Connections to the controller are not allowed.
534
Appendix A
Setting Read
Description Allows client to connect to the controller and view information provided via the TCM or Trident 2.x CM. Does not allow the client to change any settings or perform certain commands. Full access. Allows client to view information provided by the TCM or Trident 2.x CM, change settings, and perform all commands (including Download Changes or Download All for TriStation). This access level should only be provided to trusted clients.
Read/Write
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 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 CC SS PP Description Stands for Tricon chassis, or Trident I/O Processor (IOP). Stands for slot (Tricon), or baseplate (Trident). Stands for point number.
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
535
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. Default alias: A number is automatically assigned if the point is a Read or Read/Write Alias. No alias: Means the point is input, output, or an unaliased memory point.
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: Maximum RPM on page 517 Maximum Speed on page 517 Number of Gear Teeth on page 526 Scale Factor on page 552
Applies To
Pulse Input or Enhanced Pulse Input Setup
Location
Controller tree > Configuration > Hardware Allocation > Pulse Input or EPI Setup
536
Appendix A
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
Port Selection
The Port Selection property specifies the port to be configured. The default is port 1 or Left. Table 53
Module Tricon EICM
Tricon TCM
Left, Middle, and Right: Modbus Slave RTU. Ports 13 and 68: Modbus Slave ASCII, Modbus Slave RTU, Modbus Master, Modbus Master/Slave. 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 Controller tree > Configuration > Hardware Allocation > MP Setup > Serial Ports tab Trident Controller tree > Configuration > Hardware Allocation > CM Setup > Serial Ports tab
537
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 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
538
Appendix A
Applies To
Trident 2.x controller
Location
Trident 2.x Controller tree > Configuration > Hardware Allocation > MP Setup > Operating Parameters tab
Applies To
Logic sheets
Locations
Previous Sheets button Sheets menu
Print Command
The Print command prints the logic sheets or reports displayed in the current window.
Applies To
Logic Sheets, Reports
Locations
Print button Edit menu
539
Applies To
Logic Sheets, Reports
Location
Edit menu
Applies To
Reports
Locations
Print Report button Edit menu
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 Trident 1.x, the value must be from 1 to 10. For the TCM or Trident 2.x CM, the value must be either 5 or 10.
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 Tricon Controller tree > Configuration > Hardware Allocation >TCM Setup > Printer tab Trident Controller tree > Configuration > Hardware Allocation > CM Setup > Printer tab
540
Appendix A
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 Read Description 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 475. 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
Program Command
The Program command allows you to implement or change an application in these ways: Perform a Download All or Download Changes Disable points Change the values of points
For Tricon, the Program command is set by turning the keyswitch to PROGRAM. For Trident, 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.
Prohibit Writes
541
Applies To
Application, controller
Locations
Tricon keyswitch on PROGRAM Trident Configuration tree > Controller Panel > Set Programming Mode command Trident Application tree > Programs > SYS_SET_APP_LOCK function
Prohibit Writes
For Tricon, 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
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:
C:\Documents and Settings\<user_name>\My Documents\Triconex\TriStation 1131 4.6\Projects
Applies To
Project
Location
Tools menu > TriStation 1131 Options > Directories tab
542
Appendix A
Protocol
The Protocol property specifies the communication protocol used with the port. This table describes the protocols available with specific communication modules. Table 54
Protocol GPS Modbus Slave Modbus Slave ASCII
Tricon TCM, Trident MP and CM Tricon TCM, Trident 2.x CM Tricon EICM and TCM, and Trident CM Tricon TCM, Trident 2.x CM Tricon EICM and Trident CM Tricon NCM, TCM, and Trident CM Tricon EICM, NCM, TCM, and Trident CM
Modbus TCP Slave Net Modbus Master Modbus TCP Master Modbus Master/Slave Peer-to-Peer TriStation
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 Controller tree > Configuration > Hardware Allocation > MP and CM Setup
Protocols
543
Protocols
The Protocols property specifies the protocol(s) that a selected client can use to access the TCM or Trident 2.x CM: TriStation, OPC, and/or TSAA. Configured in the TCMs 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 Controller tree > Configuration > Hardware Allocation > CM Setup > Access List tab
Applies To
Tricon Pulse Input Module
Location
Tricon Controller tree > Configuration > Hardware Allocation > Pulse Input Setup
Rate Type
The Rate Type property specifies how the Pulse Input or Enhanced Pulse Input Module is to measure pulse inputs. Settings include: Speed: Used for pulses measured in seconds, minutes, or hours. 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
544
Appendix A
Applies To
ST programs and functions
Locations
Read Only button View menu
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.
Applies To
Programs, functions, and function blocks
Location
Edit menu
Applies To
ST programs and functions
Locations
Reduce Font Size button View menu
Redundant Mode
545
Redundant Mode
For Tricon, 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
Applies To
Tagnames for outputs
Location
Trident MP > Item Properties > Module tab
546
Appendix A
Applies To
Application
Location
Trident MP > Item Properties > Module tab
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, Remote mode is set by turning the keyswitch to REMOTE. For Trident, Remote mode is set programmatically by enabling write access with the SYS_SET_REMOTE_WRT_ENBL function block in a program.
The default is not enabled, which means external devices are not allowed to write to aliases.
Applies To
Application, controller, tagnames
Locations
Tricon keyswitch set to REMOTE Trident Application tree > Library Documents > Functions
Applies To
Application
Location
Help menu > Options > Add or Remove Custom Help Files
547
Applies To
Test sheets in the emulator and controller
Location
Configuration tree > Controller or Emulator Panel > Tools menu
Replace Command
The Replace command searches and replaces specified text in programs, functions, or function blocks.
Applies To
Editing
Locations
Replace Text button File menu
Resolution Type
The Resolution Type property specifies the resolution for the Tricon Single-Ended and the Differential AI Modules (models 3720 and 3721 only). The Single-Ended AI uses unipolar input. Types include: Standard Resolution: Data resolution is 12 bits. High Resolution: Data resolution is 14 bits.
The default is Standard Resolution. The value returned is based on the input voltage, the resolution type, and the module type. This table identifies the ranges and returns. Table 55
Input (volts) <-5.3 -5.3 -5
548
Appendix A
Table 55
Input (volts) <0 0 5 5.3 >5.3
Applies To
AI Modules
Location
Tricon Controller tree > Configuration > Hardware Allocation > Single-Ended and Differential AI Setup
Restart on Power Up
For Trident, 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 MP
Location
Trident 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
549
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
550
Appendix A
Applies To
LD logic sheets
Locations
Right Power Rail button Tools menu > Select Tools
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 Trident 2.x Controller tree > Configuration > Hardware Allocation > CM Setup > Routing tab
Run Command
551
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, 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. For Trident, the Run command is unavailable if the SYS_APP_HALT function is set to halt execution programmatically.
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
Applies To
Project
Location
Save Element button, or File menu
Applies To
Project
Locations
Save Project button File menu
552
Appendix A
Save As Command
The Save As command saves a project under a different name or folder.
Applies To
Project
Location
File 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
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 Pulses per second Pulses per minute Pulses per hour Set Scale to 0.016667 1.000000 (default) 60.000000
Scan Time
553
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
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
When a Download Changes command is issued, the scan time is doubled for one scan immediately following the command. For example, if the normal scan time is 100 ms, the scan following a Download Changes would be 200 ms.
The controller determines a valid range for the scan time based on these operations: Reads inputs Executes the application 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 (3006/3007 MP), the maximum scan time is 500 milliseconds. For Tricon (3008 MP), the maximum scan time is 450 milliseconds. For Trident, the maximum scan time is 450 milliseconds.
554
Appendix A
Applies To
Application
Location
Application tree > Implementation > Execution List
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: Level 01 is the highest security level Level 10 is the lowest security level
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
555
Applies To
Programs
Locations
Select Function Block Element button Tools menu > Select Tool > Function Block
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
Selection Tool button Tools menu > Select Tool
556
Appendix A
Serial Port
The Serial Port property specifies the port on the TriStation PC that is connected to the controller.
Applies To
Communication
Location
Controller tree > Configuration tree > TriStation Communication
When you download and run a TriStation 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 2 3 4 5 6 On the TriStation PC, right-click the time icon in the message bar or open the Date/Time dialog box from the Control Panel. Ensure the PC is set to the correct local time. Open the TriStation project that is running in the controller. On the Configuration tree, double-click the Controller 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
Location
View menu
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 Controller tree > Controller Panel > Commands menu
558
Appendix A
For Trident, 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
Location
Configuration tree > Controller or Emulator Panel > Commands menu
When you perform a Download All and run a TriStation 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 2 3 4 5 6 On the TriStation PC, right-click the time icon in the message bar or open the Date/Time dialog box from the Control Panel. Ensure the PC is set to the correct local time zone. Open the TriStation project that is running in the controller. On the Configuration tree, double-click the Controller 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
Shared Read
559
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 Sheet Title Edit Sheet Macros Next Sheet Previous Sheet Append Sheet Insert Sheet Delete Sheet Manage Sheets Select Sheet Template... Description 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. Displays the next sheet. Displays the previous sheet. Adds a new sheet after an existing sheet. Adds a new sheet before an existing sheet. Deletes the selected sheet. Allows you to append, insert, and delete sheets. Also allows you to change the sheet title and to display (go to) the selected sheet. Includes the following sheet templates: Sheet A 8.5" x 11" Sheet B 11" x 17" (default) Sheet C 17" x 22" Sheet D 22" x 34"
Applies To
Logic sheets in user documents, test sheets in Controller and Emulator Panels
Locations
Sheet Manager button Sheets menu
560
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
561
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
Line Numbers button View menu
Applies To
FBD and LD programs and functions
Location
View menu
562
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 2 3 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. Specify these parameters in the function block.
Parameter Alias Port Station D01 Action For CTS, enter 40001. For RTS, enter 40004. Enter the EICM port number. Enter the slave station address. Enter the delay in milliseconds; 0 to 10,000.
Applies To
Modbus Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > EICM Setup Trident Controller tree > Configuration > Hardware Allocation > CM Setup > Serial Ports tab
563
Applies To
Application
Locations
Single Step button Configuration tree > Controller or Emulator Panel > Commands menu
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 Same Height Same Size Align Left Align Right Align Top Align Bottom Center Horizontally Center Vertically Space Across Space Down
Applies To
Comments, constants, variables
Location
Right-click an element
Applies To
CEM programs
Locations
Size/Hide Columns button View menu
564
Appendix A
Applies To
CEM programs
Location
View menu
Applies To
CEM programs
Locations
Size/Hide Rows button View menu
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.
Slot selection rules for the Trident v2.x CM: The logical COM slot can hold two CMsone in the Left physical slot, and one in the Right physical slot.
565
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 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 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 Tricon Controller tree > Configuration > Hardware Allocation > TCM/A or TCM/B Setup > Time Sync tab Trident 2.x Controller tree > Configuration > Hardware Allocation > CM Setup > Time Sync tab
566
Appendix A
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 SOE Recorder Users Guide.
Applies To
Sequence of Events (SOE)
Locations
Application tree > Implementation > SOE Configuration Controller tree > Configuration > Hardware Allocation > HMM Setup
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
Applies To
Sequence of Events (SOE), OPC communication
567
Locations
Application tree > Implementation > SOE Configuration Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Protocols tab
Applies To
Sequence of events (SOE)
Location
Application tree > Implementation > SOE Configuration tree > Blocks
568
Appendix A
Applies To
Sequence of Events (SOE)
Location
Application tree > Implementation > SOE Configuration tree > Blocks
Applies To
Trident HRDI Module, Sequence of Events (SOE)
Location
Trident Controller tree > Configuration > Hardware Allocation > HRDI Setup
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
569
Applies To
Trident HRDI Module, Sequence of Events (SOE)
Location
Trident Controller tree > Configuration > Hardware Allocation > HRDI Setup
The default is 0, meaning there is no debounce period: 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 HRDI Module, Sequence of Events (SOE)
Location
Trident Controller tree > Configuration > Hardware Allocation > HRDI Setup
570
Appendix A
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.
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.
Applies To
Tagnames (OPC)
Location
Project menu > Project Options > Download Options tab
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. 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
TriStation 1131 Developers Guide, v4.6
571
Location
Function Blocks > Document Properties > Usage tab
Applies To
Comments and variables in user documents
Locations
Item Properties > Auto Name > Auto Name button Tools menu > Auto Name Selected Items
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 Controller tree > Configuration > Hardware Allocation > MP and CM Setup > Serial Ports tab
Stop Mode
Stop mode stops the TriStation application from reading field inputs and forces non-retentive 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, Stop mode is set by turning the keyswitch to the STOP position. For Trident, Stop mode is set by using the SYS_APP_HALT function in a program.
572
Appendix A
Applies To
Application, controller
Locations
Tricon keyswitch set to STOP Trident Controller tree > Controller Panel > Commands menu Trident Application tree > Library Documents > Functions
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
573
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
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, 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
574
Appendix A
Location
Application tree > Tagname Declarations > Declaration tab
Applies To
Project
Locations
File menu > New Project or > Select Main Processor File menu > Open Project > Select Main Processor Tricon or Trident Controller tree > Configuration > Hardware Allocation > Replace MPs Tricon or Trident Controller tree > Operating Parameters
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Printer tab
575
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:
C:\Documents and Settings\<user_name>\My Documents\Triconex\TriStation 1131 4.6\Temp
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.
Applies To
CEM programs
Location
Variable Detail Table
Terminals
See Double Space on page 479 and EN/ENO on page 484.
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: None: The cables are not terminated. This is the default. Resistor: Resistors are used at each end of the cables. Pull-Up/Pull-Down Resistors: Pull-up/pull-down resistors are used. All: Both pull-up/pull-down and standard resistors are used.
Applies To
Modbus communication
576
Appendix A
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 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
Locations
Properties > Comment tab Project menu > Project Options > Annotations tab
Applies To
SOE
Location
Application > Implementation > double-click SOE Configuration branch
Applies To
SOE
Location
Application > Implementation > double-click SOE Configuration branch
Time Synchronization
577
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 Tricon ACM Tricon ACM Tricon NCM Tricon SMM Tricon TCM Trident 1.x CM Property On NET 1 enable time synchronization with external source On NET 2 enable time synchronization with Tricon Master Node On NET 1 enable time synchronization with Tricon Master Node Enable time synchronization with external source See Time Synchronization Configuration on page 577. On NET 1 enable time synchronization with Trident Master Node On NET 2 enable time synchronization with Trident Master Node Trident 2.x CM See Time Synchronization Configuration on page 577.
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Time Sync tab
578
Appendix A
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Time Sync tab
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.
Transceiver Mode
579
Choosing the Appropriate Ethernet Port Setting 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 and Trident 2.x 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.
RS-232 Transceiver Mode with Handshake Hardware handshake is a method for controlling the flow of serial communication between two devices which uses a separate wire to send a signal when the receiving device is read to receive the signal. Hardware handshake can be used with Tricon TCM and Trident CM. With the Handshake property set to Hardware, the communication module asserts the Request to Send (RTS) signal when it has a message to transmit. The communication module begins transmission when it receives a Clear to Send (CTS) signal from the Modbus master. The communication module ignores all characters unless the Modbus master asserts the Data Carrier Detect (DCD) signal. This settings allows the Modbus master to use half-duplex modems. With the Handshake property set to None (typically for point-to-point connections), the communication module asserts RTS at all times and ignores CTS and DCD. In other words, the communication module 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. RS-485 Transceiver Mode with Handshake With the Handshake property set to Hardware, the communication module enables its RS-485 transmit driver only when it is sending data. Use this setting for all single-pair networks and for slave ports in two-pair, multi-point networks. With the Handshake property set to None, the communication module enables its RS-485 transmit driver at all times. Use this setting for a Modbus slave port in a two-pair, point-to-point network. RS-485 cannot be used for a TriStation serial connection on TCM port 4 or Trident 2.x CM port 3.
Applies To
Communication
Locations
Tricon Controller tree > Configuration > Hardware Allocation > TCM/OPC Setup > Network and Serial Ports tabs
TriStation 1131 Developers Guide, v4.6
580
Appendix A
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 Controller tree > Configuration > Hardware Allocation > MP Setup > Serial Ports tab Trident 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, 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 Pulse Input or Enhanced Pulse Input Module
Location
Trident 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
Trip Tagname
581
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Protocols tab
Applies To
Communication
Locations
Trident Controller tree > TriStation Communication
True Color
See Monitor Display Options on page 522.
582
Appendix A
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Protocols tab
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Protocols tab
583
Applies To
ST programs and functions
Locations
Type Over button View menu
Applies To
Tricon SMM
Location
Tricon Controller tree > Configuration > Hardware Allocation > SMM Setup
584
Appendix A
Also see Management Port Number on page 515, TriStation Port Number on page 581, and TSAA Port Number on page 582.
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Peer-toPeer 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
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, and Trident 2.x systems. See also TSAA Multicast IP Address on page 582.
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 Controller tree > Configuration > Hardware Allocation > CM Setup > Protocols tab
585
Applies To
Reports
Location
Project tree > right-click the Default Reports or User Reports folder
Applies To
CEM programs
Location
Tools menu
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: Exactly Once on page 491 Only Once on page 527 Space Saver on page 570 Internal State on page 506
Applies To
Library and user-defined function blocks
Location
Document Properties > Usage tab
Applies To
Application
586
Appendix A
Location
Trident Controller tree > Configuration > Hardware Allocation > MP > Setup > Operating Parameters tab
Applies To
Project
Location
Controller tree > Configuration > Hardware Allocation > Replace MPs
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
587
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
Var Type
The Var Type property specifies the type of variable. Types include:
Type Input Output In/Out Local Tagname Description A variable which provides a value to a program, function, or function block. Must be connected to a point. A variable which returns the result of a program, function, or function block. Must be connected to a point. A variable which is used as both an input and output variable. Must be connected to a point. A variable used for internal logic. Cannot be connected to a point. A variable that references a point. Also known as a global variable.
Applies To
Variables
Location
Properties > Declarations tab
Applies To
Application
Location
Controller tree > Controller Panel > Commands menu
588
Appendix A
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
Applies To
Libraries
Location
Application tree > right-click Library Documents > Manage command
Applies To
FBD logic sheets
Locations
Vertical Network Divider button Tools menu > Select Tool
589
Applies To
Project
Location
Project menu
Applies To
CEM programs
Location
Document menu
590
Appendix A
Applies To
Programs, Functions, and Function Blocks
Location
Document menu
Applies To
CEM programs
Location
View menu
Applies To
Project
Locations
Project History button Project menu
Width
591
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
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 Tool button Tools menu > Select Tool
592
Appendix A
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 MP serial ports must use this setting.)
Applies To
Serial ports
Location
Trident Controller tree > Configuration > Hardware Allocation > MP or CM Setup > Serial Ports tab
Applies To
TriStation 1131 workspace
Locations
Workspace View button View menu
Applies To
ST programs, ST functions, and intermediate ST for all programs and functions
Location
Edit menu
Zoom Command
593
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: Using the Zoom button or Zoom command from the View menu Double-clicking an empty area to see a Zoom Selection view.
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
Applies To
Logic sheets for user documents, test sheets for the Controller and Emulator Panels
Locations
Zoom To Fit button View menu Double-click an empty area in a logic sheet
594
Appendix A
Zoom To Region
The Zoom To Region command allows you to zoom into a region of the sheet.
Procedure
1 2 On the View menu, click Zoom to Region. The cursor changes to a cross-bar. 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
B
Data Types
Overview 596 Elementary Data Types 597 Generic Data Types 608
596
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 Tagname declarations and references Local, input, output, and I/O variables
597
Data Type BOOL 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.
598
Appendix B
Data Types
Application Notes
Can be used in Safety or Control applications. Can be used in CEM Cause, Effect, and Intersection cells.
Application Notes
Can be used in Safety or Control applications. Can be used in CEM Cause, Effect, and Intersection cells.
599
a. 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
Can be used in Safety or Control applications. Can be used in CEM Cause, Effect, and Intersection cells.
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 Keyword/type Description Size Syntax Description DT Date and time of day 64 bits 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 Lower limit DT#1970-01-01-00:00:00 DT#1970-01-01-00:00:00
600
Appendix B
Data Types
Attribute Upper limit Result if intermediate value is less than lower limit Result if upper limit is less than intermediate value
Application Notes
Can be used in Safety or Control applications. Can be used in CEM Cause, Effect, and Intersection cells.
Application Notes
Can be used in Safety or Control applications. Can be used in CEM Cause, Effect, and Intersection cells.
601
Application Notes
Can be used in Safety or Control applications. Can be used in CEM Cause, Effect, and Intersection cells.
602
Appendix B
Data Types
Attribute Least positive number Least negative number Most negative number Result if intermediate value is less than lower limit Result if upper limit is less than intermediate value
Description 4.9406564584124654 e 324 4.9406564584124654 e 324 1.7976931348623158 e +308 Infinity or HUGE +Infinity or HUGE
For values from 21075 to 21022, the maximum absolute error is a constant 21075.
This table shows how the precision changes as LREAL numbers approach zero.
If |x| Is Greater Than: 5.0E308 5.0E309 5.0E310 . . . 5.0E322 5.0E323 Then the Precision Is Greater Than: 17 digits 16 digits 15 digits . . . 3 digits 2 digits
603
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 0 < |x| 21075 21075 < |x| 21022 21022 |x| < 21024 2972 Maximum Absolute Error |x| 21075 253 * |x| Maximum Relative Error 1 21075 / |x| 253
Application Notes
Can be used in Safety or Control applications. Can be used in CEM Cause, Effect, and Intersection cells.
604
Appendix B
Data Types
This table shows how the precision changes as numbers approach zero.
If |x| Is Greater Than: 1.5E39 1.5E40 1.5E41 1.5E42 1.5E43 1.5E44 1.5E45 0.0 Then the Precision Is Greater Than: 7 digits 6 digits 5 digits 4 digits 3 digits 2 digits 1 digits 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.
605
Range 0 < |x| 2150 2150 < |x| 2126 2126 |x| < 2128 2103
Application Notes
Can be used in Safety or Control applications. Can be used in CEM Cause, Effect, and Intersection cells.
Application Notes
Can be used in Safety or Control applications. Can be used in CEM Cause, Effect, and Intersection cells.
606
Appendix B
Data Types
Application Notes
Can be used in Safety or Control applications. Can be used in CEM Cause, Effect, and Intersection cells.
607
Application Notes
Can be used in Safety or Control applications. Can be used in CEM Cause, Effect, and Intersection cells.
608
Appendix B
Data Types
Figure 44
This table lists the meaning of each generic data type and the standard data types it represents. Table 57
Data Type ANY ANY_NUM ANY_REAL ANY_INT ANY_BIT ANY_DATE ANY_NOTE1
C
TCM Model 4351/4352 Configuration
Overview 610 Configuring TCM Ports 611 Using a Tricon TCM to Synchronize Time 622 Configuring a Tricon TCM Printer Port for Printing 627
610
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 4 of this guide. Note 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: Configuring TCM Ports on page 241 Using a Tricon TCM to Synchronize Time on page 266 Configuring a Tricon TCM Port for Printing on page 356
611
See the Planning and Installation Guide for Tricon v9-v10 Systems for detailed TCM installation guidelines. TCM models 4351 (Copper)/4352 (Fiber) support the following protocols on network and serial ports.
Protocol TriStation TSAA (UDP/IP) Peer-to-Peer (UDP/IP) Peer-to-Peer (DLC) Modbus Slave (ASCII or RTU) Modbus Master (RTU) Modbus Master or Slave (TCP) GPS Time Synchronization Triconex Time Synchronization via DLC or UDP/IP SNTP Triconex Time Synchronization Network Printing using Jet Direct a. means the protocol is not available on this port. Network Ports NET 2 NET 2 NET 1 NET 1 NET 2 NET 1 NET 2 NET 2 Serial Ports Port 4 a Any port Any port Port 1
Note
Triconex 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.
1.
Model 4351 and 4352 TCMs can be installed only in Tricon v10.0.x systems. They cannot be installed in Tricon v9.x or earlier systems, or in Tricon v10.1.x or later systems. For more detailed compatibility information, please see the Product Release Notice for your Tricon system version.
612
Appendix C
To configure specific types of ports, see these topics: Configuring TCM Peer-To-Peer Ports on page 617 Configuring TCM Network Ports on page 615 Configuring TCM Peer-To-Peer Ports on page 617 Configuring TCM Modbus TCP Ports on page 619 Configuring TCM Routing on page 620
For additional information on configuring the TCM, see these topics: Using a Tricon TCM to Synchronize Time on page 622 for instructions on configuring the TCM to synchronize time. Configuring a Tricon TCM Printer Port for Printing on page 627 for instructions on configuring the TCM for use with a printer.
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.
613
Procedure
1 2 3 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. Click the Serial tab.
614
Appendix C
Action Available only if Modbus Slave (ASCII or RTU) is selected as the communication protocol. Select this check box if you want to allow Modbus writes to this slave port. The default is cleared (the port is read-only). If you selected Modbus Slave RTU or ASCII, enter the number of the Modbus slave device. The default is 1. Enter the communication rate for the port. The default is 9600. Select 8 or 7 bits. The default is 8. Available only with Modbus Slave ASCII. Select 1 or 2 bits. The default is 1 bit. Select the type of parity for the port. The default is Odd. Select RS-485 or RS-232. The default is RS232. On port 4 when TriStation is selected as the protocol, RS-485 is not available. Select None or Hardware; the default is None. Select the type of termination used with cables. Only available with RS-485 Transceiver Mode. The default is None. Select the order to be used with floating point numbers. Determines whether the most significant bits in a32-bit address are the first 16 (high) or the last 16 (low). The default is Low 16 Bits First. Enter the minimum and maximum values to be used for the Modbus data range. The default minimum is 0. The default maximum is 32,767. Enter the port number that the TCM will use in the Modbus Master functions to access the port. Only available for Modbus Master.
Modbus Slave Address Baud Rate Data Bits Stop Bits Parity Transceiver Mode Handshake Termination Options FP Ordering
5 Note
Click OK to save your changes. Even if port 4 is set to Not Configured (the default value), it can still be used to connect to the Tricon via TriStation. This is useful when you are unable to connect via a network connection.
615
Procedure
1 2 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.
616
Appendix C
Property IP Address
Action 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 TriStation Configuration: UDP Port Number TSAA Configuration: UDP Port Number Port Write Enabled
If needed, enter the IP address for the subnet. The default is 255.255.255.0. If needed, enter the IP address for the default gateway. The default is 0.0.0.0. Typically, this is the IP address of the network router. The default gateway address must be part of the subnet. The UDP port to use for the TriStation connection. The default is 1502. See UDP Base Port Number on page 583 for additional information. 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 583 for additional information. 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).
4 Note
Click OK to save your changes. Changes to TCM IP addresses are not effective until the existing connection is closed and a new connection is opened. Once a connection is opened, it remains open until you close it, even if the IP address is changed via a Download Changes operation.
617
Procedure
1 2 3 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. Click the Peer-to-Peer tab.
4 5
Under Slot Selection, select the module (slot) you want to configure Peer-to-Peer ports for. Select a node (controller), and specify these properties.
Property Destination UDP Port Action Enter the UDP port number for each controller to be communicated with on the Peer-to-Peer network. This must be the same number that the controller uses as its UDP Base Port Number. Enter the IP address for the controller.
IP Address
6 7
Click Update to apply the new settings for the selected node. Repeat steps 4 through 6 for each node to be included in the network. Note If necessary, click Reset All to reset all node settings for the selected slot to their default, unconfigured state.
618
Appendix C
Once all nodes have been configured, specify these properties (applicable to all nodes on the Peer-to-Peer network).
Property UDP Base Port Number 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 583 for reserved values. Enable Communication with Tricon V8 and V9 Peer-to-Peer Systems on NET 1 Select the check box to enable communication with Tricon version 8 and 9 systems. The default is cleared. Available only for a module installed in the left slot.
619
Procedure
1 2 3 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. Click the Modbus TCP tab.
4 5
Under Slot Selection, select the module (slot) you want to configure Modbus TCP ports for. Select a port and specify these properties.
Property Protocol Port Write Enabled Action Select the communication protocol for the port. Options include Modbus TCP Master and Modbus TCP Slave Net. Available only if Modbus TCP Slave is selected as the communication protocol. Select this check box if you want to allow Modbus writes to this slave port. The default is cleared (the port is read-only). Enter the number of the Modbus Master node. Available only with Modbus TCP Master protocol. Must be unique for each TCM installed in a system. Enter the number for the TCP port. The default is 502.
620
Appendix C
Property IP Address
Action If the port uses Modbus Master protocol, enter the IP address of the slave node. If the port uses Modbus Slave protocol, enter either of these: To accept communication from any Modbus Master, leave the IP address as 0.0.0.0. To accept communication only from a defined Modbus Master, enter the specific master IP address.
Select the ordering to use for floating point numbers. Enter the minimum and maximum for the modbus data range. Available only with Modbus TCP Slave Net.
Procedure
1 2 3 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. Click the Routing tab.
621
4 5
Select the module (slot) you want to configure routing for. Select a destination route and then specify these properties.
Property Destination IP Address Destination IP Subnet Mask Action Enter the IP address which is used if the controller is not on the same subnet as other devices. Enter the IP address of the subnet mask. If the gateway address is on NET 2, then the subnet mask must be the same as the NET 2 subnet mask defined on the Network tab. If the gateway address is on NET 1, then the subnet mask must be the same as the NET 1 subnet mask defined on the Network tab. See Configuring TCM Network Ports on page 615. Enter the IP address of the gateway to which the controller is connected. The gateway address must always be on NET 1 or NET 2.
6 7
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. Click OK to save your changes.
622
Appendix C
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). Topics include: Configuring GPS Time Synchronization on the TCM on page 622 Configuring SNTP Time Synchronization on the TCM on page 624 Configuring Triconex Time Synchronization on the TCM on page 626
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 2 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.
623
4 5
Under Slot Selection, click Left Slot. You must configure the module in the left slot first. Under Time Synchronization Configuration, select GPS. If you previously configured Port 1 to use a Modbus protocol, selecting GPS will reset Port 1 to use the GPS protocol. See Configuring TCM Peer-To-Peer Ports on page 617 for more information.
(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 615) 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 2 In the Configuration tree, click Operating Parameters (see Setting Tricon Operating Parameters on page 211). Select the Enable Tricon Node Time Synchronization check box.
624
Appendix C
Procedure
1 2 3 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. Click the Time Sync tab.
4 5
Under Slot Selection, click Left Slot. You must configure the module in the left slot first. Select these properties.
625
Action Select SNTP. The default is None. Enter the IP address of the SNTP server to synchronize time with.
(Optional) If you have a redundant TCM installed in the right slot, under Slot Selection, click Right Slot, and then select these properties.
Property Time Synchronization Configuration SNTP Master IP Address Action Select SNTP Redundant. Enter the IP address of the SNTP server to synchronize time with.
Note
The module in the right slot can be configured only if it has been installed (see Configuring TCM Network Ports on page 615) 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 2 In the Configuration tree, click Operating Parameters (see Setting Tricon Operating Parameters on page 211). Select the Enable Tricon Node Time Synchronization check box.
626
Appendix C
Procedure
1 2 3 4 5 6 7 8 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. Click the Time Sync tab. Under Time Synchronization Configuration, select None. Select the Peer-to-Peer Time Synchronization Enabled check box to enable Triconex Time Synchronization across the Peer-to-Peer network. Click OK to save your changes. In the Configuration tree, click Operating Parameters (see Setting Tricon Operating Parameters on page 211). Select the Enable Tricon Node Time Synchronization check box. This allows the controller to participate as a master node in time synchronization across the Peer-to-Peer network.
627
Procedure
1 2 3 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. Click the Printer tab.
Specify these properties for the module installed in the Left Slot.
Property Printer Number Line Width TCP Port Number IP Address Action Enter the number for the printer; can only be 5 or 10. The default is 0, meaning a printer is not configured. Enter the number of characters to be printed on a line. The default is 80 characters. Enter the number of the TCP port for the print server. The default is 9100 for an HP printer. Enter the IP address of the printer server.
5 6
If a module is also installed in the Right Slot, repeat step 4 for that module. Click OK to save your changes.
TriStation 1131 Developers Guide, v4.6
628
Appendix C
Index
A
access changing element owner 85 operations 529 to TCM, controlling 345 to Tricon, restricting 191 to Trident CM, controlling 389 to Trident, restricting 196 user 41 access control list see CM access list see TCM access list access levels CM 390 TCM 346 access list see CM access list see TCM access list ACM, see Tricon ACM actual scan time 434 Add File command 447 Add Program to Execution List command 447 adding logic sheets 90 AI modules, Tricon 229 Alias Number property 447 Alias Type property 448 aliases assigning 140 special for Tricon 177 Alignment property 449 allocating memory points Tricon 213 Trident 279 allocation, Peer-to-Peer memory 186, 420 Allow Disabling of Points property 192, 449 AND or OR, description 491 Annotate property 449 Annotation on by Default property 450 annotations adding in FBD and LD 165 adding macros to 167
annotations (continued) adding to variables 427, 433 Alignment property 449 Annotate property 449 Annotation on by Default property 450 Border property 454 default macros 469 specifying default 27 specifying in FBD and LD 131, 137 specifying properties 167 using macros 171 ANY data type 608 ANY_BIT data type 608 ANY_DATE data type 608 ANY_INT data type 608 ANY_NOTE1 data type 608 ANY_NUM data type 608 ANY_REAL data type 608 Append Sheet command 450 appending logic sheets 90, 450 application access 191, 196 building 203, 454 change requirements 440 changing document owner 85 comparing to last download 461 definition 72 development steps 69 Download All command 479 Download Changes command 480 execution order list 201 function block usage 95 parts 72 Peer-to-Peer 184 planning changes 439 rebuilding 203 run mode 551 safety and control 74 setting scan time 435 specifying Application Type 83 types of 450 Application Workspace 70 application-defined states 116, 117
630
Index
Apply command 451 array data type definition 99 attributes documents 83 status 329 audit comments 23 Auto Indent command 451 Auto Name command 452 Auto Scroll Delay property 452 auto-negotiate transceiver mode 578
CEM Element Options properties 456 CEM language about 78 editor properties 113 editor settings 37 CEM Monitor Colors property 455 CEM programs default settings 113 deleting columns 122 deleting rows 123 element options 114 inserting columns 121 inserting rows 122 intermediate FBD or ST code 203 options 116 planning 109 resizing cells 120 saving views 128 selecting cells 119 size/hide columns 123 size/hide comments 126 size/hide rows 125 title block 127 CEMPLE, overview 108 Centronics printing setup 394 using a Tricon EICM port 351, 352 Change Colors command 456 Change Owner Command 457 Change State to Download All command 457 changing logic sheet size 89 logic sheet title 91 password, user 43 Tricon system version 217 Trident system version 283 user logon name 43 chassis, Tricon adding or deleting 225 configuration rules 225 high-density 225 low-density 225 power usage 227 target system version 9 Choose Another Tagname command 458 Clear History command 458 Client IP Address property 350, 393, 458 Client IP Subnet Mask property 350, 393 Client Protocols property 350, 393, 459 clock, setting for controller 556
B
backing up CM configuration 320 project file 4, 429, 452 TCM configuration 259 Backup Project command 452 Base Address property 453 Baud Rate property 453 bin size, emulator configuration 416 bipolar input 230, 547 BNC connectors, terminating 339 BOOL definition 598 specifying colors for monitoring 29 Border property 454 BPAO module 140 Build Application command 454 building an application 203, 454
C
CASE statement 106 Category property 454 Cause and Effect Matrix, see CEM language Cause Effect Matrix Support property 455 Cause Header Functions On by Default property 455 cells, CEM 119 CEM editor FBD Network overview 111 language settings 37 managing views 128 matrix overview 111 overview 110 properties 113 specifying colors for monitoring 115 Variable Detail Table overview 112 CEM Editor Options properties 456
Index
631
Close Project command 460 CM, See Trident CM CM access list access levels 390 configuring 392 controller access 44 Deny Access 390 description 198 grouping clients 389 IP addresses 389 maximum number of entries 390 order of evaluation 392 permissions 390 protocols 390 Read Only 390 Read/Write 390 resources, defined 389 sample list 390 subnet mask, using 389 troubleshooting 369 code, intermediate FBD or ST 203 Coil Tool Command 460 Coil Type property 460 colors Change Colors command 456 Default Colors command 467 Drawing Item property 482 Enable Color Monitoring property 486 specifying for monitoring 29 columns comment 126 deleting 471 inserting 121 sizing and hiding 123 tagnames table 148 Comment Tool 461 comments adding in FBD and LD 168 Alignment property 449 audit trail 23 Border property 454 Comment Tool 461 dropping elements 170, 482 editing macros in 171 enclosing logic 522 picking up elements 170 style 169 using macros 171 Communication command 461 Compare Project to Last Downloaded command 461 Compile All User Documents command 462
Compile command 462 Compiler Warning When Right Rail is Missing property 462 compiling programs 202 configuration AI modules, Tricon 229 changing Tricon modules 228 CM protocols 318 DO modules, Tricon 230 emulator 414 emulator, loading from file 418 emulator, saving to file 418 inserting Trident modules 295 Peer-to-Peer 186, 419, 422 removing Trident modules 296 steps for controller 208, 274 target system version, Tricon 214 target system version, Trident 280 TCM protocols 255 tree 209, 210, 275 Tricon operating parameters 211 Trident operating parameters 277 Connect command 462 connecting to emulator 414 constants creating in FBD and LD 136 specifying in CEM 118 VAR CONSTANT 101 Contact command 463 Contact Type property 463 Continuous Refresh command 464 control application, defined 450 controller access 191, 196 adding and deleting a Tricon chassis 225 allocating Peer-to-Peer memory 186 changing target system version, Tricon 217 changing target system version, Trident 283 chassis types, Tricon 225 configuration 73 configuration checklist 208, 274 configuring Trident 1.x MP 291 configuring Trident 2.x MP 292 Connect command 462 download state changes 430 downloaded version number 24 downloading to 428 program execution 432 project version after download 429 restricting access to Tricon 191 restricting access to Trident 196 testing application on 428
632
Index
controller (continued) tree 209, 210, 275 Tricon chassis power usage 227 variables 431, 433 workspace 209, 210, 275 converting projects to 4.6 8 Copy command 464 Copy Current Setup to Other Serial Ports command 464 copying documents 80 ST code 98 CTS Pre-Delay setting 562 Current Version property 465 custom Help files, See Help files, custom custom reports 58 customer support xv Cut command 465
debounce period, Trident HRDI 299 Declaration Tree 71 Declarations command 467 Default Colors command 467 Default Connection property 467 default connection type Tricon 344 Trident 388 default gateway, Trident CM 406 Default Gateway IP Address property 468 default IP address, Trident 2.x 368 Default Language property 468 Default Macros or Text property 469 Default Number of Cause Rows property 470 Default Number of Effect Columns property 470 Delete Columns command 471 Delete command 470 Delete Rows command 471 Delete Sheet command 471 Delete Unreferenced Tagnames command 471 deleting columns 122 logic sheets 90 rows 123 unused tagnames 153 description project 22 using the %DESCRIPTION macro 472 Description property 472 Destination Gateway IP Address property 472 Destination IP Address 472 Destination IP Subnet property 473 Destination UDP Port property 473 development steps 69 Differential AI Input Type property 230, 473 digital output points, specifying fault detection 477 DINT data type 599 directories, TriStation 33 Disable OVD on All Modules command 474 Disable OVD on Module... command 474 Disable Remote Changes to Outputs property 475 Disable Scaling property 475 Disable Stop on Keyswitch property 476 disabled points, maximum 442 disabling points 192
D
Data Bits property 465 Data Files property 466 data transfer time, Peer-to-Peer 184, 185 Data Type property 466 data types array 99 BOOL 598 creating 79 DATE 598 definition 73 DINT 599 DT 599 DWORD 600 elementary 597 enumeration 99 generic 608 INT 601 LREAL 601 REAL 603 STRING 605 structured 100 TIME 606 TOD 607 user-defined 129 databases, reports 59 date and time data type 599 DATE data type 598 DCS, time synchronization 262 DDE Server 414 dead time, SOE 299
Index
633
Disconnect command 476 Display Program Document command 476 Display Report command 477 Display Tabular View command 477 DLC protocol, installing 365 DO modules, configuring 230 DO Point Options property 231, 477 Document Access property 84, 478 Document Type property 478 documents attributes 83 changing owner 85 copying 80 creating 79 restricting access 84 summary information 82 version number 24 Double Space Function Block Terminals by Default property 479 Double Space property 479 downgrading target system version Tricon 217 Trident 283 download options 30 state 8, 423, 430, 457 to controller 428 to emulator 421 Download All command 428, 479 procedure 445 Download Changes command 480 procedure 443 steps for 438 Download Version property 481 downloaded version 24, 423, 429 drawing colors Change Colors command 456 Drawing Item property 482 properties 34 Drawing Item property 482 Drop command 482 DT data type definition 599 DWORD data type 600
Edit Sheet Title command 483 Edit Title Block command 483 Edit...Macros command 482 Edit/View Source command 483 editors CEM properties 37, 113 FBD properties 35 LD properties 36 using FBD 86 using LD 87 using ST 98 Effect Cause Header Functions property 486 Effect Header Functions On by Default property 483 elementary data types 597 emulator allocating Peer-to-Peer memory for 420 bin size configuration 416 configuration 418 configuring 414 connecting to 414 download state changes 423 downloaded version number 24 downloading to 421 execution times, monitoring 424 IP address 415 maximum number of POUs 72 node number 415, 419 Peer-to-Peer testing with 419, 420, 422 program execution 426 project options 31 project version after download 423 redundant IP address 417 scan time, monitoring 424 testing 413 timeout value 31, 421 TSAA multicasting 417 TSAA server configuration 416 UDP port 415, 416, 419 variables 425, 427 Emulator Timeout command 31 Emulator Timeout property 484 EN/ENO property 484 Enable Access List command 350, 393, 485 Enable All Disabled Points command 485 Enable Color Monitoring property 83, 486 Enable Communication with Tricon V8 and V9 Peer-toPeer Systems property 486 Enable Communication with Tricon V8, Tricon V9, and Trident v1 Peer-to-Peer Systems property 486 Enable Effect Header Functions property 487
E
E_LD_EXP chassis 225
634
Index
Enable EN/ENO Terminals on Functions by Default property 487 Enable Floating Text in Intersection Cells property 487 Enable Intersection functions property 488 Enable Macro Editing property 488 Enable Multiple Writes property 488 Enable OVD on All Modules command 488 Enable OVD on Module... command 489 Enable Tricon Node Time Synchronization property 212, 271, 489 Enable Trident Node Time Synchronization property 278, 490 Enable UCN Test Mode property 490 Enabled Features property 490 enhanced low-density chassis 9, 225 Enlarge Font Size command 491 enumeration data type 99 EPI module, configuring 300 EPI Point Options properties 535 Evaluation Options property 491 evaluation options, CEMPLE matrix 114 evaluation order CEMPLE matrix 109 CM access list 392 functions 88 TCM access list 349 event variables, assigning to SOE blocks 189 Exactly Once setting 491 Excel, import tagname file 157 execution flow, monitoring 476 execution list 201 execution times, monitoring 424 Exit command 492 Exit statement 105 Expand Macros property 492 Export CM Configuration command 492 Export command 492 Export Destination property 493 Export Format property 493 Export Report command 493 Export TCM Configuration command 492 exporting CM configuration 320 project elements 48 reports, how to 58 tagnames, file format for 155
F
False Color property 494 False Severity property 494 False State Name property 494 FBD Editor options 494 FBD language about 75 adding annotations 165 adding comments 168 annotation 131, 137 creating constants 136 creating variables 129 declaring variables 130 editor 86 editor properties 35 EN/ENO property 484 intermediate code 203 selecting library elements 92 terminals 88 using macros 171 FBD Network, overview 111 fiber communication mode, TCM 246, 248 required cables for TCM 340 Field Power Monitoring property 230, 495 Field Power property 494 files data file location 466 project 541 Find In Application command 495 Find Text command 495 Find Text Options 496 firewall using with CM 311 using with TCM 248 first-time connection Tricon 335 Trident 368, 369 floating-point underflow for LREAL data types 602 for REAL data types 604 Font Size property 496 forcing points 442 ForLoop statement 105 Formatted Name property 496
Index
635
FP Ordering property 497 Full Name property 497 full-duplex transceiver mode 578 Function Block command 498 function blocks definition 72 printing, Tricon 357 printing, Trident 400 properties 94 space saver setting 96 SYS_OVD_INHIBIT 296 VAR_IN_OUT parameters in 53 functions creating 79 definition 72 EN/ENO property 484 enabling for a matrix 37, 113 enabling for CEM 114 properties 93 specifying Application Type 83 using in FBD 92
Help files, custom adding 39 description 38 format of 38 maximum number 38 removing 40 viewing 39 Hide Causes Unrelated to Effects command 501 Hide Effects Unrelated to Causes command 501 high-density chassis adding to Tricon system 225 target system version 9 Highest TCP Port Number property 501 history clearing 458 viewing 590 Horizontal Network Divider command 502 HRDI module, configuring 297 hub, using for TCM connection 340
I
I/A Series DCS 262 IDLE state 502 IEC 61131-3 standard 608 IEC-559 Standard Floating-Point format 603 implementation information 74 Implementation Tree 71 implementation, application 410, 411 Import CM Configuration command 502 Import command 502 Import TCM Configuration command 502 importing CM configuration 321 libraries 47 points 161 tagnames, file format for 155, 158 TCM configuration 260 Include Monitor Value in Annotation property 503 inhibiting supervision, SDO 296 Initial Value property 503 initialization table 204205 input, invert 507 Insert Columns command 504 Insert From File command 504 Insert In/Out Variable command 504 Insert Input Variable command 504 Insert Local Variable command 505
G
General Monitor Colors property 498 generic data types 608 Global Positioning System Installed property 498 global variables, see Tagnames Go To Cell command 498 GPS property 498 synchronization with NCMG 264 synchronization with TCM 266 gradual underflow effect on absolute and relative error 603, 604 for LREAL data types 602 for REAL data types 604 Group 1 and Group 2 property 499
H
half-duplex transceiver mode 578 Halt command 499 Handshake property 499 Hardware Allocation command 500 hardware allocation exceptions 436 HD_EXP chassis 225 HD_MAIN chassis 225 HD_RXM chassis 225
636
Index
Insert Module command 505 Insert Output Variable command 505 Insert Rows command 505 Insert Sheet command 506 Insert Tagname Declaration command 506 inserting logic sheets 90 installing TriStation 5 instance name, described 88 INT data type 601 integers, scaling from REALs 178 intermediate FBD or ST code 203 Internal State setting 506 Intersection Functions On by Default 506 Invert Input property 507 Invert Input/Output property 507 Invert Output property 507 IOP 9, 534 IP address emulator 415, 417 for CM network port 312 for TCM network port 246, 248 setting default, Tricon 359 setting default, Trident 402 setting Trident with a RARP Server 403 setting with a Tricon EICM or TCM 361 setting with a Trident CM 405 setting with a Trident MP 404 Trident 2.x 385 using default, Tricon 359 using default, Trident 402 IP Address property 508 IP multicasting, emulator 417 IP Subnet Mask property 508
LD language (continued) adding comments 168 annotation 131, 137 Coil Type property 460 Compiler Warning When Right Rail is Missing property 462 Contact Type property 463 creating constants 136 creating variables 129 declaring variables 130 editor 87 editor properties 36 EN/ENO property 484 power rails 549 selecting library elements 92 terminals 88 using macros 171 LD_EXP chassis 225 LD_MAIN chassis 225 LD_RXM chassis 225 Left-Handed Link Tool 510 Left-Handed Wire Tool 510 levels, user access 46 libraries adding 53 deleting 54 exporting elements 48 importing 47 TriStation 47, 52 unregistered 55 updating 8, 54 version numbers of 47, 55 library documents, copying 81 library functions, application usage 95 Line Width property 510 Link command 511 List Disabled Points command 511 loading, emulator configuration 418 Loc property 511 local variables Data Type property 466 declaring 104 Location property 512 locking application elements 84 Log On As New User command 512 logging in to a project 21 logic colors for drawings 34 logic sheets 8991 Logon Name property 512
K
keyswitch, disable stop 476
L
language Default Language property 468 setting default 26 Language property 509 languages, See CEM, FBD, LD, and ST languages LD Editor Options properties 510 LD language about 76 adding annotations 165
Index
637
logon name, changing 43 long reals, precision when approaching zero 602 loop power, NGDO 495 loop supervision 296 low-density chassis adding to Tricon system 225 target system version 9 Lowest TCP Port Number property 513 LREAL data type 601 LREAL numbers, precision when approaching zero 602
Maximum RPM property 517 Maximum Speed property 517 Maximum Value 517 MaxSpan 517 media converter 341 Memory Allocation command 518 memory allocation, example 149 memory points allocating, Tricon 213 allocating, Trident 279 assigning alias 142 Message Options command 518 Message property 518 Message View command 518 Min Field property 519 Minimum Value 519 Minor Severity property 519 MinSpan 519 Modbus assigning aliases 175 CM ports, configuring 315 Data Bits property 465 disabling scaling of REALs 183 scaling numbers 181 signal delays 562 TCM ports, configuring 252 Tricon and REAL numbers 176 Tricon functionality 174 Trident functionality 174 Modbus (Minimum and Maximum) Range property 519 Modbus Slave Address property 520 Mode property 520 Model property 521 modes, operational 412 module attributes, Trident 329 modules inserting, Tricon 228 inserting, Trident 295 removing, Tricon 228 removing, Trident 296 Tricon AI 229 Tricon BPAO 140 Tricon DO 230 Tricon PI 232 Tricon Thermocouple 233 Trident EPI 300 Trident HRDI 297 Trident PI 300
M
macros %DESCRIPTION 472 %TAG 469 adding to annotations 171 default for annotations 469 Default Macros or Text property 469 editing 482 editing text 173 enabling editing 488 expanding 492 with annotations and comments 171 Macros command 513 Main Processor Connection Setup property 514 Main Processors, upgrading 217, 283 maintenance, application 438 Major Severity property 514 Manage Sheets command 514 Manage Views command 515 Management Port Number property 515 Management protocol, CM 319 Management protocol, TCM 256 Master Logical Port property 516 master node, Triconex time synchronization 270, 327 matrix enabling functions 117 evaluation 109 evaluation options 114 FBD Network overview 111 overview 111 planning 109 resizing cells 120 Variable Detail Table overview 112 Max Field property 516 Maximum Number of Peer-to-Peer Receives property 516 Maximum Number of Peer-to-Peer Sends property 517
638
Index
modules (continued) Trident SDO 296 upgrading, Trident 295 monitor display, with tagnames 144 Monitor Display Options 522 Monitor Value on by Default property 522 monitoring CEM Monitor Colors property 455 colors 498 execution times, emulator 424 field power 230, 495 program execution, controller 432 program execution, emulator 426 programs 476 scan time, emulator 424 value included in annotation 503 variables, controller 431 variables, emulator 425 Move Behind Logic Elements property 169, 522 MP attribute properties, Trident 290 MPs Tricon 214 Trident 280 Multicast IP Address property 523 multicasting, TSAA 257, 319
node number, emulator 415, 419 Node Number property 526 non-supervised DO points 231 Number of Extended Block property 526 Number of Gear Teeth property 526 Number of Inputs property 526 Number of Instances property 527 numbers REAL, scaling to integers 178 scaling for Modbus 181
O
OFFLINE state 527 On NET 1 Enable Time Synchronization property 527 On NET 2 Enable Time Synchronization property 527 Only Once setting 527 OPC browsing tagnames 30 external client write access 195, 200 protocol 459 SOE block for 188, 257 SOE severity 257 system events severity 257 TCM connection speed 248 TCM tagnames table 30 user access to 346 OPC System Events Severity property 527 Open Document command 528 Open Project command 528 Opened Point Alarm Threshold property 528 operating parameters Tricon 211 Trident 277 operating systems supported 4 Operation Type property 528 operational modes 412 Operations property 529 options download 30 emulator 31 project 26 TriStation 32 order of evaluation, CEMPLE matrix 109 Organize command 531 output, invert 507 output points, disabling changes 475 overflow error, initialization table 204
N
Name Order property 523 Name property 523 naming multiple variables 132 NCM, see Tricon NCM negative scan surplus 434 Network Address Mask property 459 network connection, testing 362, 407 network ports connecting to PC, Tricon 338 TCM 241 Network property 523 networks, additional routing 407 New Document Command 524 new features xiii New Project command 524 New Tagname Command 524 New Tagnames Command 524 NIC card, installing in a TriStation PC 333, 365 NIC Index property 525 Node Name property 525
Index
639
owner, changing 85
P
Parity property 531 password default 21 user 43 Password property 532 Password Required for Connection property 532 Paste command 533 Pause command 533 Peer-to-Peer allocating memory 186, 420 applications 184 configuring 419, 422 data transfer time 184, 185 emulator, UDP port 415 testing with emulator 419, 420 time synchronization with TCM 270271 time synchronization with Trident 2.x CM 327328 Tricon TCM port configuration 250 Trident CM port configuration 313 Peer-to-Peer Time Synchronization Enabled property 459, 533 Permission property 350, 393, 533 physical address, assigning 140 Physical Address property 534 PI module configuring, Tricon 232 configuring, Trident 300 PI Point Options properties 535 Pickup command 535 Point Assignment properties 535 point supervision, SDO 296 point transition 297 Point Type property 536 points allocating memory, Tricon 213 allocating memory, Trident 279 Allow Disabling of Points property 449 assigning aliases 175 creating multiple tagnames 145 Data Type property 466 declaring tagnames 138 disabling 192, 442 import options 160 memory 142 overview 138 restricting access to Trident 199
points (continued) scaling REAL values 143 undeclared 149 write access to Tricon 194195 write access to Trident 197200 poll time 435 port numbers, reserved 583 Port Selection property 536 Port Write Enabled property description 193, 537 for CM Modbus ports 315 for CM serial ports 309 for TCM Modbus ports 253 for TCM network ports 247 for TCM serial ports 243 ports reserved numbers 583 Tricon ACM 234 Tricon EICM 236 Tricon HIM 236 Tricon NCM 238 Tricon SMM 239 Tricon TCM 241254 Trident 1.x CM 303 Trident 1.x CM serial 305 Trident 2.x CM 307318 Trident 2.x CM network 311 Trident 2.x CM serial 309 positive scan surplus 434 POUs 72, 421 power usage, Tricon 227 power, field 494, 516, 519 Precision property 537 Prevent Restart Following Fatal Error property 278, 538 Previous Sheet command 538 Print command 538 print function blocks 357, 400 Print Number property 539 Print Preview command 539 Print Report command 539 print server, with Trident CM 394 PRINTER parameter Tricon 357 Trident 400 printing configuring for Trident CM 397 configuring Tricon EICM port 353 configuring Tricon TCM port 356 connecting to Tricon TCM 354
640
Index
printing (continued) connecting to Trident CM 395 reports 56 scan time increases 351, 394 with Tricon 351 with Trident 394 Privilege property 540 privileges, security 44 process safety time 434 Program command 540 program execution controller 432 emulator 426 Program Execution List property 540 Program mode, described 412 program organizational units 72, 421 programming, about languages 75 Programming Mode, see Program command programs compiling 202 creating 79 definition 72 maximum number of 72, 201 order on execution list 201 specifying Application Type 83 viewing number of variables in 135 Prohibit Writes property 541 project annotation properties 27 backing up 4, 429, 452 cannot edit 41 cannot open 21 CEM monitor colors 115 changing the download state 457 closing 460 compiling 462 conversion rules, Tricon 9 conversion rules, Trident 9 converting from v2.x or v3.x 13 converting to 4.6 8 converting Tricon from v4.5 and earlier 10 converting Trident from v4.5 and earlier 12 creating 16 default directory for 33 description, adding 22 downgrading system version, Tricon 217 downgrading system version, Trident 283 download options 30 downloaded version 24 emulator options 31 enabling features 490
project (continued) exiting 492 exporting elements 48 file access rules 21 language properties 26 logging in 21 monitor colors 29 options 26 properties 26 Roll Backward or Forward command 550 selecting target system 8 selecting target system, Tricon 18 selecting target system, Trident 19 upgrading system version, Tricon 217 upgrading system version, Trident 283 version number 24 viewing history 590 Project Description property 541 Project Files property 541 project state controller 430 emulator 423 project version, downloaded 423, 429 Project workspace 16 properties annotations 167 function blocks 94 functions 93 project 26 TriStation 32 Properties command 509 Protocol property 542 protocols Tricon TCM 255 Trident 2.x CM 307, 318 Protocols property 543 Pulses Per Revolution property 543
R
rails 462 Rate Type property 543 Read Only command 544 read/write property 84 read-only property 84 REAL data type 603 real number, precision when approaching zero 604 REAL numbers disabling scaling 183, 475 scaling to integers 178
Index
641
REAL numbers (continued) unscaled 182 REAL points, specifying precision 537 Rebuild Application command 544 rebuilding an application 203 red X, explained 585 Redo command 544 Reduce Font Size command 544 reducing initialization table size 205 redundant IP address, emulator 417 Redundant Mode property 545 Refresh command 545 refreshing values of variables 464 Remote Access to Aliased Tagnames property 545 Remote Access to All Tagnames property 546 Remote mode 412, 546 remote write enabled, setting 546 Remove File command 546 Remove Invalid Items command 547 removing custom Help files 40 Replace command 547 reports adding custom 58 databases 59 default directory for templates 33 exporting 58 updating database 56 viewing and printing 56 requested scan time 434 reserved port numbers 583 Resolution Type property 230, 547 Restart on Power Up property 548 Restore command 548 Restore Project command 549 Restore Project To Last Download command 549 restricting access to Tricon 191 to Tricon points 194 to Trident 196 restrictions and limitations, CEMPLE matrix 109 Retentive property 549 retentive variables 204 Right Power Rail command 549 Roll Backward or Forward command 550 router, using for TCM connection 340
routing Tricon TCM 254 Trident 1.x CM 306 Trident 2.x CM 316 Routing Configuration property 550 rows deleting 123 hiding and sizing 564 inserting 122 sizing and hiding 125 RS-232 transceiver mode 579 RS-485 transceiver mode 579 RTS Pre-Delay setting 562 rules, target system version 9 Run command 551 Run mode 412, 551 RUNNING state 551
S
safety and control, about 74 safety application, defined 450 Save As command 552 Save Element command 551 Save Implementation command 552 Save Project command 551 Save View command 552 saving emulator configuration 418 Scale Factor property 552 scaling, for Modbus 181 scan surplus 434 scan time affect of print function blocks 351, 394 defined 434, 557 monitoring on emulator 424 setting for running application 435 Scan Time property 553 SDO module, configuring 296 Search Text command 554 security Operations property 529 user access 41 Security command 554 Security Level property 554 Select Function Block command 555 Select Network Contents command 555 Select Sheet Contents command 555
642
Index
Selection Tool command 555 Sequence of Events, See SOE serial connection Tricon 335 Trident 369 Serial Port property 556 serial ports connecting to PC, Tricon 336 connecting to PC, Trident 370 TCM 241, 243 Set Calendar Clock command 556 Set Editor Options command 557 Set Programming Mode command 557 Set Scan Time command 557 Set Time Zone command 558 Set Value property 558 severity levels, OPC 257 Severity property 558 Shared Read property 559 sheet templates, see logic sheets sheet title 91 sheets, see logic sheets Sheets Menu 91, 559 Shorted Point Alarm Threshold property 560 Show Causes for Selected Effect command 560 Show Effects for Selected Causes command 560 Show Grid command 560 Show IEC Representation command 561 Show Line Numbers command 561 Show Network Numbers command 561 Show Zones command 561 signal delays property 562 Single Step command 563 Size/Alignment command 563 Size/Hide Columns command 563 Size/Hide Comment Column command 564 Size/Hide Rows command 564 slave node, Triconex time synchronization 270, 327 slot selection, TCM 246 Slot Selection property 564 SNTP Master IP Address property 565 SNTP Master Network property 565 SNTP time synchronization 268, 324, 624 SOE assigning event variables 189
SOE (continued) blocks, defining properties 188 configuration 187 for OPC 188, 257 trip variable 190 using with Trident HRDI module 297 SOE Block Assignments property 566 SOE Block Name property 566 SOE Block Number property 566 SOE Block property 566 SOE Block Type property 567 SOE Buffer Size property 568 SOE Dead Time property 299, 568 SOE Severity property 568 SOE Trigger State property 298, 569 SOE Trigger Time property 299, 569 Sort by Group property 570 Sort by Tagname property 570 sort order, tagnames table 30 Space Saver property 96, 570 ST language about 77 copying and pasting code 98 Editor 98 font size 496 intermediate code 203 Start Value and Increment property 571 state changes controller download 430 emulator download 423 status attributes, Trident 329 STDLIB 47 Stop Bits property 571 Stop mode 412, 571 STRING data type 605 structured data type 100 subnet masks 346, 389 summary information, document 82 supervised DO points 231 supervision, point 296 Supports Application Defined States property 572 Supports Use in Cause Rows property 572 Supports Use in Effect Columns property 572 Supports Use in Intersections property 573 surplus, scan 434 synchronizing time, see Time Synchronization
Index
643
SYS_OVD_INHIBIT function block 296 system attributes, Trident 329 System Events Severity properties 573 system events, OPC 257 system requirements 4 system version Tricon 214 Trident 280
T
table, tagnames 148 table, initialization, see initialization table Tabs property 573 Tagname property 573 tagnames assigning aliases 140 changing multiple 146 creating multiple tagnames 145 declaring tagnames 138 definition 73 deleting 147 disabling 442 enabling for multiple writes 140 export command 492 exporting to file 154 file format 155 forcing 442 import command 502 import file format 158 importing from file 161 maximum number of 73, 129 memory allocation example 149 monitor color 144 monitoring colors 498 overview 138 physical addresses 140 renaming 147 restricting access 475 scaling 143 specifying DO points, Tricon 477 table 148 undeclared 149, 151 unused 150, 151, 152, 153 viewing number of 135 tagnames table, TCM OPC 30 target system version change matrix, Tricon 220 change matrix, Trident 285 changing, Tricon 217 changing, Trident 283 configuring, Tricon 214221
target system version (continued) configuring, Trident 280286 connection problems 428 conversion rules, Tricon 9 conversion rules, Trident 9 defined 8 determining current, Tricon 214 determining current, Trident 280 download state, Tricon 217 download state, Trident 283 on Tricon Operating Parameters screen 211 results of change, Tricon 220 results of change, Trident 285 rules for changing, Tricon 217 selecting during conversion 8 selecting during creation, Tricon 18 selecting during creation, Trident 19 TCM configuration rules 217 validating changes 586 validating changes, Tricon 215 validating changes, Trident 281 Target System Version property 574 TCM, see Tricon TCM TCM access list access levels 346 configuring 349 controller access 44 Deny Access 346 description 193 grouping clients 346 IP addresses 346 maximum number of entries 346 order of evaluation 349 permissions 346 protocols 346 Read Only 346 Read/Write 346 resources, defined 345 sample list 347 subnet mask, using 346 troubleshooting 335 TCP Port property 574 TCP Port Restrictions properties 575 TCP/IP protocol, installing 334, 365 TCXLIB 47 technical support xv Temporary Files property 575 Terminal property 575 terminals described 88 double spacing 479 enable EN/ENO by default 487
644
Index
terminals (continued) FBD and LD 88 Termination Options property 575 testing network connection 362, 407 on controller 428 on emulator 413 testing Peer-to-Peer communication 419, 420 Text Size property 576 Time After Trip property 576 Time Before Trip property 576 TIME data type 606 time synchronization GPS, with TCM 266 SNTP, with TCM 268, 624 SNTP, with Trident 2.x CM 324 TCM master node 270 TCM slave node 270 Triconex, with TCM 270 Triconex, with Trident 2.x CM 327 Trident 1.x CM 323 Trident 2.x CM master node 327 Trident 2.x CM slave node 327 Trident project conversion 9 with external source 262 with Tricon ACM 262 with Tricon NCM 263 with Tricon NCMG 264 with Tricon TCM 266 with Trident 2.x CM 324 Time Synchronization Configuration property 577 Time Synchronization properties 577 time zone, setting for controller 558 timeout value, emulator 31 title block, editing 127 title, logic sheet 91 TOD data type 607 Toggle Terminal Inverter command 578 TR1LIB 47 training xiv Transceiver Mode 578 Transceiver Port property 580 transfer delay time, emulation of 420 transfer time, Peer-to-Peer 184 transmission speed, Baud Rate property 453 TRDLIB 47 Tricon AI modules 229
Tricon (continued) BPAO modules 140 connecting serial port to PC 336 connecting to for first time 335 connecting via network port 338 converting project from v2.x or v3.x 13 converting project from v4.5 and earlier 10 default connection 344 disabling OVD 474 DO modules 230 Modbus functionality 174 modules 228233 operating parameters 211 PI modules 232 project, creating new 17 restricting access to 191 serial communication 335 special alias numbers 176 special aliases 177 target system version 8, 18, 214221 target system version change matrix 220 thermocouple input module 233 time synchronization 261 write access 192 Tricon ACM configuring connection 343 configuring ports 234 connection using media converter 341 default IP address 359 direct connection to TriStation 339 getting IP address using RARP server 360 installing NIC card for 333 time synchronization 262 TriStation Ethernet connection 338 TriStation network connection 338 Tricon CM backing up configuration 320 exporting configuration 320 importing configuration 321 peer-to-peer ports 313 Tricon EICM configuring a printing port 353 configuring ports 236 configuring serial TriStation connection 337 connecting a printer 351, 352 setting an IP address 361 TriStation serial communication 335 Tricon HIM Base Address property 453 ports 236 Tricon NCM configuring connection 343 connection using media converter 341
Index
645
Tricon NCM (continued) default IP address 359 direct connection to TriStation 339 getting IP address using RARP server 360 installing NIC card for 333 ports 238 time synchronization 263 TriStation Ethernet connection 338 TriStation network connection 338 Tricon NCMG, time synchronization 264 Tricon SMM ports 239 synchronizing time 265 Tricon TCM access list 345350 backing up configuration 259 configuring a printing port 356 configuring connection 343 configuring serial TriStation connection 337 connecting devices using a hub 355 connecting devices using a router or hub 340 connecting printing devices 354 connection using media converter 341 connection using router or hub 340 controlling access to 345350 default IP address 359 direct connection to TriStation 339 exporting configuration 217, 259 fiber cables 340 fiber mode 246, 248 firewall, using behind 248 GPS time synchronization 266 importing configuration 260 installation rules 241 installing NIC card for 333 IP addresses 246, 248 Management protocol 256 maximum number of 241 Modbus TCP ports 252 network ports 245, 247 OPC connection speed 248 peer-to-peer ports 250 printing from 351 protocols supported 241 protocols, configuring 255 routing ports 254 serial ports 243 setting an IP address 361 slot selection 246 SNTP time synchronization 268, 624 target system version change rules for 217 time synchronization 266 Triconex time synchronization 270 TriStation Ethernet connection 338
Tricon TCM (continued) TriStation network connection 338 TriStation protocol 256 TriStation serial communication 335 TSAA protocol 257 TSAA write access to 193 Triconex contact information xiv Triconex Time Synchronization 266, 324 Triconex Time Synchronization, with TCM 270271 Triconex Time Synchronization, with Trident 2.x CM 327328 Trident 1.x CM connection to TriStation 377 1.x MP connection to TriStation 373 2.x connection to TriStation 381 2.x network ports, configuring 292 access 196 attributes, status 329 CM configuration 303 configuring hardware 288 configuring serial TriStation connection 371 configuring TriStation connection, 2.x 384 connecting serial port to PC 370 connecting to for first time 368, 369 converting project from v2.x or v3.x 13 converting project from v4.5 and earlier 12 default connection 388 default IP address for 368 disabling OVD 474 EPI module 300 HRDI module 297 initial connection to 368 IP address, 2.x 385 Modbus functionality 174 modules 295296 operating parameters 277 PI module 300 printing devices 394 project, creating new 19 restricting access to 196 SDO module 296 serial communication 369 system and module attributes 329 target system version 8, 19, 280286 time synchronization 322 TriStation network connection 372 upgrading PI to EPI 300 version 1.1 and earlier support 12 write access 197 Trident CM 1.x routing 306 1.x serial ports 305 access list 389393
646
Index
Trident CM (continued) configuring 303 configuring printing devices 397 configuring TriStation connection 379 configuring, 2.x 307 connecting devices using a hub 355, 396 connecting printing devices 395 controlling access to 389393 direct connection to TriStation 377, 382 firewall, using behind 311 getting IP address using RARP server 403 hub connection to TriStation 378, 383 IP addresses 312 Management protocol 319 Modbus TCP ports, 2.x 315 network ports, 1.x 303 network ports, 2.x 311 project conversion upgrade 9 protocols supported, 2.x 307 protocols, 2.x 318 routing ports, 2.x 316 serial ports, 2.x 309 setting an IP address 405 setting default IP address 402 SNTP time synchronization 324 specifying default gateway 406 specifying network routing 407 time synchronization 324 time synchronization, 1.x 323 time synchronization, 2.x 327 TriStation protocol 318 TSAA protocol 319 TSAA write access to 198 upgrading from 1.x to 2.x 9 Trident MP attribute properties 290 configuring 288 configuring TriStation connection 375 configuring, 1.x 291 configuring, 2.x 292 direct connection to TriStation 373 hub connection to TriStation 374 module properties 288 serial ports 293 setting an IP address 404 trigger state, SOE 298 trigger time, SOE 299 Triggering Mode property 580 Trip State property 580 Trip Tagname property 581 trip variable, assigning 190
TriStation connection to Tricon ACM, NCM, or TCM 339 connection to Tricon TCM 340 connection to Trident 1.x CM 377 connection to Trident 1.x MP 373 connection to Trident 2.x 381 connection to Trident MP 373, 374 converting to v4.6 8 creating a project 16 Directories tab 33 Drawing Color tab 34 FBD Editor tab 35 hub connection to Trident 2.x 383 hub connection to Trident CM 378 installing 5 installing DLC protocol 365 installing TCP/IP protocol 334 LD Editor tab 36 libraries 47 options 32 properties 32 system requirements 4 Trident 2.x connection 382 Trident CM connection 377 Trident MP configuration 375 uninstalling 4, 6 upgrading 4 verifying the installation 6 TriStation Port Number property 581 TriStation protocol CM 318 definition 459 TCM 256 TriStation UDP Port Number property 581 troubleshooting access control list, CM 369 access control list, TCM 335 cannot edit project 41 cannot edit user documents 79 cannot open project 21, 22 CM access control list 369 TCM access control list 335 Tricon network connection 335 Trident network connection 369 viewing total variables used 135 True Color property 581 True State Name property 582 TSAA clients 193, 198 TSAA Multicast IP Address property 582 TSAA Port Number property 582 TSAA protocol 257, 319, 416, 419, 459 TX1LIB 47
Index
647
U
UCN Node Number property 583 UDP Base Port Number property 251, 314, 583 UDP port, emulator Peer-to-Peer 415 TSAA connections 416, 419 undeclared tagnames definition 149 viewing 151 underflow gradual for LREAL data types 602 gradual for REAL data types 604 Undo command 584 uninstalling TriStation 4, 6 unipolar input 230, 547 unregistered libraries 55 unused tagnames definition 150 deleting 153 editing 152 viewing 151 update rate emulator TSAA multicasting 417 TSAA multicasting 257, 319 Update Rate property 584 Update Reports Database command 585 Updated Selected Function Cells command 585 upgrading PI to EPI, Trident 300 target system version, Tricon 217 TriStation 4 Usage property 585 Use Local Time property 585 user access see also CM access list see also TCM access list adding or modifying 43 creating 41 editing documents 41 level names tab 46 managing 42 Privileges tab 44 user documents copying 80 creating 79 user name, default 21
user-defined data types, using 129 functions 73, 116117 variables 135
V
Validate Only command 586 validating target system version change Tricon 215 Trident 281 Value property 586 Value Range to Scale an Integer properties 586 VAR, declaring 104 VAR CONSTANT, defining 101 Var Type property 587 Var/Const property 587 VAR_EXTERNALS, declaring 103 VAR_IN_OUT function parameters 53, 107 VAR_TEMP, defining 102 Variable Detail Table, CEM editor 112 variables adding annotations 427, 433 Auto Name command 452 changing multiple 134 creating in FBD and LD 129 declaring in FBD and LD 130 declaring in ST 104 definition 73 deleting, initialization table impact 204 formatted name 496 in initialization table 204 initial value 503 initialization table sample 205 limit exceeded 203 maximum number in function block 72 maximum number in program 73 maximum number of 129, 203 monitoring on controller 431 monitoring on emulator 425 naming multiple 132 overflow, initialization table 204 question mark while monitoring 431 reducing number of 203 retentive 204 specifying in CEM 118 types 73 user-defined data types in 129 viewing number of 135 Verify Last Download to the Controller command 587 Verify Password property 588
648
Index
Verify Version command 588 verifying a TriStation installation 6 version number downloaded 24, 423, 429 projects 24 Tricon system version 214 Trident system version 280 verifying library version 47, 55 Vertical Network Divider command 588 View Download History command 589 View Intermediate FBD command 589 View Intermediate ST command 590 View Manager command 590 View Project History command 590 viewing custom Help files 39 initialization table 204 total variables and tagnames used 135 undeclared tagnames 151 unused tagnames 151 views enlarged 593 managing 128 saving 128
Z
Zoom command 593 Zoom To Fit command 593 Zoom To Region command 594
W
Width property 591 Windows file access rules for projects 21 file properties dialog box 22 Wire Tool command 591 Wire Type property 592 workspace controller 209, 210, 275 project 16 Workspace View command 592 write access by tagname or alias 138 disabling remote changes 475 OPC client 195, 200 restricting access to Tricon points 194 restricting access to Trident points 199 to Tricon points 194195 to Trident points 197200 Tricon 192 Trident 197 TSAA clients to CM 198 TSAA clients to TCM 193 Write To File command 592