实例介绍
TriStation 1131 Developers Guide v4.9.0 开发向导
Contents Pre eface X New features in triStation 1131 v4.9.0 ,,,,...,,..,,,,..X111 Summary of sections Related documents ,,,....,.,.,,,,..XIV Product and Training Information Technical Support .,,,,,,,,XV We Welcome your comments 垂,垂 ,,·..Xv Chapter 1 project Administration Overview Project administration Steps Installing triStation 1131 4 ystem Requirements.… 4 Upgrading from Previous Versions of TriStation 1131 Changing a tristation 1131 v4.9.0 Installation Installing the TriStation 1131 Softwarc Customizing the security Banner Text Uninstalling the TriStation 1131 Software 679 Verifying the triStation 1131 Installation Converting Existing Projects to Version 4.9.0 electing the target system version during project conversion Rules for Tricon Project Target System Version Conversion Rules for Trident project Target System Version Conversion....... 12 Converting Version 4. x Tricon Projects onve rting version 4. x Trident projects 8 15 Converting Version 2. x and 3. x Tricon or Trident Projects Creating a New Project.∴∴… 20 The Project Workspace reating a New Tricon Project. 垂垂 Creating a New Trident P Creating a New Tri-GP Project Working with Projects gging In to an Existing Project 27 Logging In for the First Time When Enhanced Security Is enabled ..28 Logging In When Standard Security Is enabled Logging In When enhanced security Is Enabled Troubleshooting Login Problems Adding a Project Description 31 Adding Audit Commcnts Displaying version Numbers of Projects and Documents .32 pecifving project Options Specifying Language Options 垂看垂 ····.······.············.·· specifying Annotation Options pecifying monitor( olors for bool values?……… .37 specifying Forced Points Options TriStation 1131 Developers Guide, v4.9.0 2 Contents pecifying download Options ··· 41 pecifying Emulator Options 42 Specifying TriStation 1131 Options 45 g Directory locations 46 Specifying Drawing Colors ..47 Specifying fbd editor options 48 Specifying ld editor options 49 Specifying CEM Editor Options ········ 50 Adding or Removing Custom Help Files ··垂 .51 Adding a Custom Help file 52 Viewing Custom Help Files 2 Removing a custom help file 53 Managing U ser Access .54 Changing the Security Setting ......55 Managing users ····,······· .58 Adding and modifying user access Recommended rules for passwords .....60 Changing the Security Level for Privileges 61 Changing Security Level Names Viewing U A ser Access Logs 64 Viewing the User Access Log In Windows Event viewer 64 Saving the user access log to a file. 65 Changing Event Logging Options ......66 Clearing the User Access Log 67 Working with Libraries ·:··:··· ········ 68 Creating a Library of Project Elements b垂音垂垂音垂看··非香垂垂 69 Managing libraries Adding a Library∴ Updating a Library 75 Deleting a Library 76 Making Partial Changes to a Library Verifying a Library version........... 垂音番 Generating Reports...…… 翻· ·音 ,,,,,,,80 Updating the Report Data 0 Viewing and printing a report .80 Adding Custom Reports to a Project 82 Exporting Reports 82 Report Database Information Printing Project Documents · 91 Printable project documents · · 91 Printing Individual documents............ 94 Printing Multiple documents 94 Chapter 2 Application Development 97 Overview Application Development Steps Application elements 100 The application Workspace 100 The Declaration Tree .....,,,,101 The Implementation Tree .101 Parts of an Application ,,,,,,,,.102 Safety and control applications .....,,,,,104 Programming Languages ,,,,105 Function Block Diagram Language 105 Tristation 1131 Developer 's guide, v4 9.0 Contents 3 Ladder Diagram language .....,,...106 Structured Text Language 107 CEMPLE (Cause and Effect Matrix Programming Language Editor) .108 User documents 109 Creating a User Document 109 Copying User or library documents 110 Copying a user document 110 Copying a library document ..······.·.···· ,111 Specifying Document Summary Information............ 112 Specifying document attributes 113 Restricting access to a document .,.114 Changing a Document Owner 115 Function Block Diagram and ladder Diagram Development Using the Fbd editor ...117 Using the LD editor ·· ,,,,,,,,,,,,,,,,,118 Function and Function Block Graphics 119 Working with Logic Sheets 120 Selecting a Sheet Ten 120 Managing Logic Sheets Editing the sheet Title 122 Printing Logic Sheets.…… 122 Selecting Library Elements .124 Specifying Function Properties .125 Specifying Function Block Properties 126 pecifying Function Block Application Usage.……..…….127 Using a Space Saver Function Block 128 Structured Text Development ..129 Using the st editor 130 Using expressions 131 Defining an Enumeration Data Type 132 Defining an Array Data Type 133 Defining a Structured Data Typ ······ 134 Declaring a VAR constant 番着·垂 134 Declaring a VAR_ TEMP Declaring a VAR_EXTERNAL .·· .136 Declaring Local Variables in ST 137 Declaring Input and Output Variables in ST 137 Using Forloop and Exit Statements · 138 Using a CAse Statement .139 VAR IN OUT Function Parameters 140 Cause Effect matrix Development 141 CEMPLE Overview 142 Matrix Planning 142 How a matrix is evaluated 143 Using the cem editor 144 Matrix.,,,,,,,,,,, ..145 FBD Network 145 Variable detail table ...146 Setting up a CEMProgram ·.··· 147 pecifying CEM Editor Options ···· ..147 pecifying CEM Element Options.∴………… .148 Specifying Monitor Colors and Names................ 149 Using User-Defined Functions and Application-Defined States 150 Enabling User-Defined Functions and Application-Defined States 151 TriStation 1131 Developers Guide, v4.9.0 4 Contents pecifying Local variables, Tagnames, and Constants in a CEM Program...152 Specifying Properties in the variable Detail table..…………152 Working with Cells, Rows, and Columns in a CEM Program 153 Selecting and Editing Cells in a CEM Program 153 Displaying and sizing cells from the matrix............. 154 Inserting and Deleting Rows or Columns 155 Sizing and Hiding Columns 158 Sizing and hiding rows 垂4 159 Sizing and Hiding the Comment Column ····· 160 Editing the Title block .161 lews 162 Variables and Constants .163 Declaring variables 163 Dec irving variable pi g roperties 164 Specifying variable Annotation Properties................ 165 Naming multiple variables............ ..167 Changing Multiple variables .168 Viewing the number of variables and Tagnames in a program 169 Creating Constants∴… Specifying Constant Annotation Properties 171 Tagnames…… ········ Declaring tagnames Assigning an alias Number, Alias Type and physical address........ 174 Important Information about Alias Numbers 174 Procedure for Input and output Points ···· .175 Procedure for memory points caling a REAL Point 178 Specifying Display Options for Tagnames Creating Multiple Tagnames 180 Changing Multiple Tagnames 181 Renaming a Tagname.… ,,,,,,,,,,,,,,,,,,182 Deleting a tagname 182 Inserting a Column into the Tagnames table ·音 183 Deleting a Column from the Tagnames Table .......,184 Managing Undeclared and Unused Tagnames............... 184 What Are Undeclared Tagnames? 184 What Are Unused Tagnames? 186 Displaying undeclared and unused tagnames .,186 Editing Unused tagnames 187 Deleting unused tagnames 188 Importing and Exporting Tagnames ·· 8 Exporting Tagname Properties 189 Format of an Exported Tagname File 190 Preparing an Excel File for Import Q File Format requirements for Tagname Import 193 Import Options and validation Criteria 195 Importing tagname properties 196 Annotations and comments ∴.....200 Adding annotations 垂·D 200 Specifying Annotation Properties ············ .....,,..202 Adding a Comment. .,,,,,,,,,,203 pecifying Comment Style 204 Picking and Dropping Elements for Comments 205 Editing Comment Fields Tristation 1131 Developer 's guide, v4 9.0 Contents 5 Using macros with Annotations and Comments ··· 206 Editing Macro Text........ Modbus applications ∴.,,,,,,,,,209 assigning alias numbers to tagnames 210 How Tricon Transmits real values With Special Alias Numbers...,.. 211 Tricon Special Alias Numbers 212 How Trident and Tri-GP REAL Values are Transmitted Without Scaling,,,,,'1 How REaL Numbers are scaled to integers Scaling real Values to Integers 217 Disabling Scaling of real Values for Trident and Tri-GP Tagnames..... 218 Peer-to-Peer Applications ,,,,,,,219 Peer-to-Peer data Transfer time 219 Estimating the Peer-to-Peer Data Transfer Time 220 Allocating peer-to-Peer memory 221 SOE Development 22 Displaying the soe Configuration............... .222 Defining soe block properties .223 Assigning Tagnames to SOE Blocks 22 Specifying a Trip variable 请·垂 228 Tricon Application Access ....,,,,,,,,,,,229 Restricting access to a tricon controller 9 What Affects Tricon Write Access from External devices 230 Restricting write Access to Tricon points 232 Allowing write access to tricon points Trident and Tri-GP Application Access ·····: 234 Restricting aco Trident or Tri-GP Controller What Affects Trident and Tri-GP Write Access from External devices 234 Restricting Write Access to Trident or Tri-GP Points 237 Allowing Write Access to Trident or Tri-GP Points 238 Building an Applic 239 Specifying the Program Order and Scan Time 239 ilin compiling a pros gra 240 Building or Rebuilding an Application ,,,,,,,,,,,,,.241 About the applications Initialization table 24 Viewing and understanding Initialization table size information Solving an Initialization Table Overflow Problem 243 Chapter 3 Tricon Controller Configuration 245 Overview ···.···.·· 246 The Tricon Controller Workspace ·· 247 The Tricon Controller tree ,,,,,,,.247 The Tricon Configuration Tree 247 The Tricon Controller and emulator panels..,,,........,.248 Setting Tricon Operating Parameters ....249 Allocating memory for Tricon Points 251 Configuring the Tricon Target System version 252 Determining Your Tricon Controller's System Version ......252 Validating a tricon target system version change 253 Changing the tricon target system version 255 Target System Version Change Rules.……255 If You have a TCM Configured in Your TriStation project 255 Changing the target system version 256 Results of a Tricon Target System Version Change .258 Configuring Tricon H artware 262 TriStation 1131 Developers Guide, v4.9.0 6 Contents Adding or Deleting a Tricon Chassis .......262 Determining Tricon Chassis Power usage 264 nserting and Removing Tricon Module ....265 Configuring a Tricon AI Single-Ended or Differential Module 266 Configuring a Tricon DO Module ,,267 Configuring a Tricon PI Module .269 Adding a tricon Thermocouple module 270 Configuring Tricon Communication Modules ···· 271 Configuring Tricon ACM Ports 着垂 271 Configuring tricon HIM Ports Configuring tricon EICM Ports 274 Configuring Tricon NCM Ports......... 275 Configuring Tricon SMM Ports ,,,,,,,,277 Configuring TCM Ports 278 Configuring tcm serial ports ,,,,,,,,,,,,,,,,,,,,,,,,,280 Configuring tcm network ports ····· .,,,,,282 Configuring TCM Peer-To-Peer Ports .287 Configuring TCM Modbus tCP Ports 89 Configuring TCM Routing Configuring TCM Protocols(Tricon v10.3 and Later Only) 292 Exporting the TCM Configuration to a File Importing the TCM Configuration From a File .,,,,,297 Configuring Tricon Time Synchronization....... about Tricon Time Synchronization 298 Using a Tricon ACM to Synchronize Time .299 Using a Tricon NCM to Synchronize Time................ 300 Using a Tricon NCM/ G to Synchronize Time 301 Using a Tricon SmM to Synchronize Time∴….……………………302 Using a Tricon TCM to Synchronize Time 303 Configuring GPS Time Synchronization on the TCM 303 Configuring SntP Time Synchronization on the TCM 305 Configuring Triconex Time Synchronization on the TCM 307 Printing the tricon module configuration ···垂 · Chapter 4 Trident and Tri-GP Controller Configuration 311 Overview 312 The Trident and Tri-GP Controller Workspace............... 313 The Trident and Tri-GP Controller trees 313 The Trident and Tri-GP Configuration Trees............. 313 The Trident and Tri-GP Controller and Emulator Panels........ 314 Setting Trident or Tri-GP Operating Parameters 315 Allocating memory for Trident or Tri-GP Points 317 Configuring the trident or Tri-GP target system version ..318 Determining Your Trident or Tri-GP Controllers system version Validating a trident Target system ge Version chal 320 Ch sults of a Trident larget5 ystem Version Change∴、",… the trident target System versie 321 ,,,,,,,,324 Configuring Trident and Tri-GP Hardware 327 Configuring the Trident or Tri-GP Main Processors(MPs) .,,,,,,,,,327 Specifying Trident or Tri-GP MP Module properties.......... 327 Displaying Trident or Tri-GP MP Attribute Properties ......... 329 Configuring trident 1. MP Network Ports 330 Configuring Trident 2. x or Tri-GP MP Network Ports 331 Configuring Trident or Tri-GP MP Serial Ports 332 Tristation 1131 Developer 's guide, v4 9.0 Contents 7 Inserting a Trident or Tri-GP Module ·· 334 Removing a Trident or Tri-GP Module Configuring a Trident or Tri-GP SDO Module 335 Configuring a trident or tri-GP HRDI Module 336 Configuring a Trident or Tri-GP PI or EPI odule .339 Configuring the Trident or Tri-GP Communication Module 342 Configuring the Trident v1. Communication Module Configuring trident vl. x CM Network Ports.......... 342 Configuring Trident v1.x CM Serial Ports ....344 Configuring Trident v1.x CM Routing 345 Configuring the Trident v2. x or Tri-GP Communication module Configuring Trident v2.x or Tri-GP CM Serial Ports 348 Configuring Trident v2.x or Tri-GP CM Network Ports........ 350 Configuring Trident v2.x or Tri-GP CM Peer-To-Peer Ports Configuring Trident v2.x or Tri-GP CM Modbus TCP Ports 352 ∴...355 Configuring Trident v2. x or Tri-GP CM Routing 356 Configuring trident v2. x or Tri-GP CM Protocols ..358 Exporting the Trident v 2. x or Tri-GP CM Configuration to a File.... 360 Importing the trident v2 x or Tri- GP CM Configuration from a file 361 Configuring Trident or Tri-GP Time Synchronization 362 about Trident and tri-GP Time Synchronization USing a trident1. x CM to Synchronize Time∴….……… 362 ∴...363 USing a Trident 2. x or Tri-GP CM to Synchronize Time ..364 Configuring sntp time Synchronization on the trident 2.x or Tri-GP CM ...364 Configuring triconex Time Synchronization on the trident 2.x or Tri-GP CM ...367 Using Trident or Tri-GP System and Module attributes .369 Printing the Trident or Tri-GP Module Configuration............... 370 Chapter 5 Tricon Communication with Tristation 1 131 371 Ⅴ eries 372 TriStation 1131 Communication Steps Configuring the TriStation PC 373 Installing a Nic card in a triStation pc 373 Installing the TCP/IP Protocol on a TriStation PC 374 Connecting a Tricon Scrial Port to a TriStation PC. n Connecting to the Tricon Controller via a Serial connectie 376 When to use the tricon serial Connection 376 ···· 377 Configuring the TriStation 1131 Serial Connection Connecting to the Tricon Controller via a Network Connection 379 Directly Connecting an ACM or NCM Network Port to a TriStation PC 380 Connecting a TCM Network Port to a TriStation PC Using a Router or Hub . ..381 Connecting a Tricon Network Port Using a Media Converter .382 Configuring the TriStation 1131 Network Connection .384 pecifying the tricon default Connection type 385 Controlling Access to the tCm .386 What Are TCM resources ..386 How Is Access Controlled? 387 What Are Access levels? ..387 ple Access Control List and Resulting Access Control 388 Configuring the Access Control list 390 Configuring Tricon Controller Printing .392 Effect of printing on scan Time 392 TriStation 1131 Developers Guide, v4.9.0 8 Contents Connecting a Tricon EICM Port to a Printer.……∵ ·· 393 Configuring a Tricon EICM Port for Printing 394 Connecting a TCM to Printing Devices 395 Connecting a TCM to Printing Devices Using a Hub Configuring a Tricon TCM Port for printing About function Blocks for Printing ,,,,398 Setting Tricon Controller IP Addresses 399 Using the Default IP Address for TriStation Communication 400 Setting a Tricon Controller IP Address Using a rARP Server 401 Setting a Tricon Controller IP Address Using an EICM or TCM 402 Testing a network Connection 403 Chapter 6 Trident and tri-GP Communication with TriStation 1131 405 Overview ·· ..406 TriStation 1 131 Communication steps 406 Configuring the triStation pc .408 Installing a Nic card in a TriStation pc 408 Installing DLC or TCP/IP Protocol on a TriStation PC .........408 Connecting to the Trident 2.x or Tri-GP Controller for the First Time 411 Connecting Via the Serial Connection(Recommended) 411 Connecting via the Left MP Network Port 411 Connecting to the trident or Tri-GP Controller via a serial Connection....... 412 When to use the trident or Tri-gP Serial connection Connecting to the Trident or Tri-GP Controller for the First Time ∴...412 ......412 Connecting to the Trident or Tri-GP Controller When the Access Control List has Been Misconfigured er When the Network is down 412 Connecting to the Trident or Tri-GP Control ...........413 Connecting a Trident 2. x or Tri-GP Scrial Port to a TriStation PC 414 Configuring the TriStation 1131 Serial Connection 415 Connecting to the Trident or Tri-GP Controller via a Network Connection 41 Connecting the Trident 1. x MP to a Tristation Pc ,,,,,417 Directly Connecting a Trident 1. x MP to a TriStation PC .417 Connecting a Trident 1.x MP to a TriStation PC Using a Hub .,418 Configuring the Tristation 1131 Connection 419 Connecting the Trident 1. x CM to the TriStation PC Directly Connecting a Trident 1.x CM to a TriStation PC 421 ..,421 Connecting a Trident 1. CM to a TriStation PC Using a Hub 422 Connecting the Trident v2. x or Tri-GP Controller to a TriStation PC....423 Configuring the TriStation 1131 Connection ...426 Directly Connecting a Trident 2.x or Tri-GP Network Port to a Tristation pc 427 Connecting a Trident 2.x or Tri-GP Network Port to a TriStation PC Using a Hub 428 Configuring the TriStation 1131 Network Connection 429 Specifying the Trident or Tri-GP Default Connection Type 433 Controlling Ac to the trident 2.x or tri-GP CM 434 What Arc cm rcsources? 434 How Is Access controlled ........,434 What Are access levels? 435 Sample access control list and resulting access control 436 Configuring the Access Control List 437 Configuring Trident or Tri-GP Controller printing ............,.,439 Effect of Printing on Scan Time 439 Devices for Trident or Tri-GP Controller Printing 439 Tristation 1131 Developer 's guide, v4 9.0 【实例截图】
【核心代码】
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论