You are on page 1of 65
212128, 1:21 PM Introduction to Windchill Modeler Introduction and Getting Started > Introduction to Windchill Modeler Introduction to Windchill Modeler Windchill Modeler provides all the design facilities you need to produce high quality systems and software efficiently and quickly. Running directly on an active multi-user database, Windchill Modeler live collaboration environment scales from one to hundreds of users: + Model-based systems engineering (MBSE) with SysML. + Model-based software engineering with UML. * Integrated product line variation modeling. + Simple and powerful variant selection. * Automated product model generation. + Extensible meta-model and diagram notations + End-to-end traceability, * Automatic, configurable & extensible model review. * Profiles, generators and reversers for; IDL3/IDL3+, OMG XMI™, MARTE, SPT and UPDM (DoDAF & MODAF). * Fully configurable automatic code synchronization for C, C++, C#, Ada, Java and VB. * Integration with PTC Integrity Lifecycle Manager, MATLAB Simulink® and IBM Rational DOORS® * Automatic document generation. System & Software Design Challenges As mission and safety critical system development projects become more sophisticated, it is increasingly difficult to create and communicate design ideas that can be easily understood and agreed by all stakeholders. Designing and building complex systems and software can present many challenges, including * Visualizing, communicating & understanding complex designs. * System structures, behavior, requirements traceability & parametrics. * Industry standard modeling notations and their extension. + System-of-systems, component-based & service oriented architectures. * Product lines, their variations & similarities. * Designer collaboration, reuse and review. * Continual quality & productivity improvement. * Achieving returns on your modeling investments. The Modeler Solution Modeler is a pragmatic solution to these problems with SysML, UML and Variability modeling, all integrated within a single tool. You can create consistent, high quality fie:1C:/Program Files (x86)Windchll ModelerModeler'Systen/Holpfindex himl¥pagellntegty. Modeler 2Frisme%2Fintroduction to_modlerh... 12 212128, 1:21 PM Introduction to Windchill Medeter models for systems and software engineers to communicate requirements and consider design alternatives. Then make decisions involving the entire team, regardless of their location Modeler reduces the time and effort required to design products, systems & software by leading you through the appropriate industry standard diagrams and automating repetitive tasks, It also reduces costs by finding potential problems much earlier and simplifies the design process by modeling the way you build. On its own Modeler enables model-based systems, software and product line engineering (PLE). In conjunction with Asset Library it extends these techniques with modular design, to model SoS, CBD and SOA solutions. A Single Source of Truth As well as facilitating collaboration, design review, impact analysis and stakeholder agreement, models are a valuable single source of traceable truth that can also auto- generate many other project artifacts. Linking and traceability is provided between all model elements and also with PTC Integrity Lifecycle Manager, Simulink® and DOORS®. Tailor, Review and Publish ModelerUML notation, SysML and other profiles are easily adaptable to precisely match your domain language and project needs. At any time during your project, the optional Reviewer tool is used to check your models for completeness, correctness and consistency. Finding errors early and improving confidence in the robustness of your designs. Once your models are ready for wider distribution, auto-generates your documentation, applying your organizations styles and templates. Generated document types include Microsoft Word and navigable HTML, Model Interchange ModelerOMG Model Interchange Working Group (MIWG) compliant XMI import and export enable interchange with any other compliant tool, future proofing your models and letting you benefit from a variety of additional XMI utilities. Software Generation & Synchronization Model also generates software code for C, C++, C#, Ada, Java, VB, SQL, IDL and XMI These generators and synchronizers dramatically increase productivity and quality, reusing the core model assets again and again. They also manage change, with impact analysis and automated updates in both directions. fie:1C:1Program Files (x86)'Windchll ModelerModeleriSystenvHelpfindex himl¥pagellntegrty_ Modeler 2Frisme%42Fintroduction_to_modelerh 22 212123, 1:21 PM Gating started with Windchit Mod: Introduction and Getting Started > Getting started with Windchill Modeler Getting started with Windchill Modeler Purpose of tl le gu Welcome to Windchill Modeler 9.5, PTC’s model-based system and software engineering solution. This guide is aimed at new users and covers the fundamentals and main functional areas of Windchill Modeler. After reading you will be able to navigate the user interface, create, share and analyze models as well as manage product traceability with other design tools, Starting Windchill Modeler To start Windchill Modeler, locate the shortcuts on the Windows Start menu or on your desktop and click the Modeler icon Welcome page When Windchill Modeler is launched for the first time, a welcome page will be displayed This provides quick access to key functions such as open model, create model, as well as roviding links to Help and PTC Support. ‘Welcome to Wi windchill modeler ee Getting started wi Ei Prc a ore Coon’ show this page again fil yProgram Files (x86)'Windchill ModelerModeleriSystem/Helpindex himi#pagelintegrty. Madeler2Fgettingstarted™2Fgating_started_.. 1/11 21am, 1:21 PM Going start with Windehil Modeler Opening models Select Open Model from the welcome page or from the ribbon toolbar, shown below: This launches Model Explorer which is used to open, create, and manage Windchill Modeler models. If you have the example models installed, double-click the HSUV model to open. If not, select another model to open. HSUV- Open Model Look in; | \WSQLAICENTERVOS@SOLBCPRESS\Ecarnples\HSUV 4 © 6 2 KES * £4 KASH TO Bly So Name = (3) ICENTERVOS@ SQLEXPRESS i Hsu £3 Bamples (5 Active Deferted Ball Game Example BallCpp C# Another Block (Tetris) ample Cabin Electric Car Charger (lave) Filling Station Heart Monitor © Heart Moniter Java > Search and Rescue Speed Controler Template - Companent-based Praducts [if Template - Incremental Process [Template - Small Project [| Trafic Lights [if Trafic Lights - Sysim & [& VB Another Elock (Tetris) Example [i Waste Spstern HSUV Version: 2 CCreatedey: ICENTERVOS\Adninistrator Last Changed fy: ICENTERVOS|Administrator (Created Ont 1/15/2020 11:48:30 FM Lct Changed On: 1/22/2020 2:42:58 AM Attributes: RWO Last Operation Cerament: Des Da) Bey Bea ad Da Bed dD < Click here for more information on Model Explorer. file:11C:1Program Files (x86)'Windchll ModelerModeleriSystenvHolpfindex himl¥pagellntegrty_ Modeler 2F gattingslarled™2Fgoting_started_.. 2/11 212128, 1:21 PM Gating started with Windchit Mod: Viewing models, diagrams, and items You access Windchill Modeler functions using the ribbon toolbars (shown below) or using the context (right-click) menus. AOE: ie bes ROCA db RS New Open Close Find NewClast Creste Ne 7 Medel Medel Model Objects Diagram Item/Diagram > Models Find Create edit Common functions are located on the Home and Manage tabs. Other tabs provide access to different functional areas including Diagram Tools, Find, Tools, and Help. Q User roles provide the ability to hide data, buttons, and menu choices. You can select a user role to provide a focused, role-based user experience. For more information click here. In the Packages browser on the left, click + to expand the packages in the model and view model items and diagrams When you select diagrams or items, their properties are displayed in the Properties pane (located to the bottom-right of the Modeler window). Double-click a diagram to view in the diagram pane - the example below shows a use case diagram. file:11C:tProgram Files (x86)'Windchll ModelerModeleriSystenvHelpfindex himl¥pagellntegrty. Modeler 2Fgattingslarled™2Fgoting_started_.. 3/11 212123, 1:21 PM Getting started with Windchil Modeler Dagram Tools Use Case Diagram Ty Selection ‘onstraint 9 @ e I t he A [Note -£ Note Linke Te as ¢ g Actor Use Interaction Extend Include Generalization Dependency Requirement Case Flow Flow S Nodes Flos Requi [Ei Comment £23 Frame Box To LR Ei NewDiagram~ [j &) @ = Packages rAx A HSUV A (a +ModdingDomsin 2 + HSUVModel ES +HsUVAnalysic: ES +H8UvEchavior BS +HSUVRequirenents ES +HsVstructare Bl +HsuvUseCases »-R *Department of Motor Vehicles ‘ucHSUYUseCases[Operatonal UseCases] area oR Diver ta: R +Insurance Company @-Q +Maintainer Dave aR «Passenger tae +Registered Owner tr +Accelerte f-D +Brake fe-© +Drive the vehicle (9D slate fe-® +Insure the vehicle [e-D +Maintain the vehicle (5-D + Operate the vehicle oa Es > GPactages @ You can easily change the positioning of panes using drag-and-drop. Panes can also be set to floating or auto-hide. For more information, see Modeler panes. Creating models New Model button. To create a new model, on the Home tab, click the In the New Model dialog, select the options to reflect the type of model you want to create. For example, if you plan to create a software design model you can select the UML (Unified Modeling Language) option. If you are creating a system model you can select the SysML (Systems Modeling Language) option. Enter a model and click OK fie:C:fProgram Files (x86/Windchill Mod: 2F gottingstarlod%.2Fgeting started... 4/11 212128, 1:21 PM Gating started with Windchit Mod: @ Windchill Modeler allows you to create many different types of models to support different types of design activities. Examples include requirements engineering, structure modeling, behavior modeling, model simulation as well as being able to generate software code from models, For more information on the SysML profile, click here. Creating diagrams and model items Model diagrams and items are organized using packages. In the Packages browser, right click on the model (root) node and select New > Package or click New Package icon on the Home ribbon. as shown below. Enter a name (for example, Use Cases) for the new package or accept the default name. Diagram Toole RO Ch dg +/B]x Oo w Open Close find New Class Create J New ut Model Model Model Objects Diagram™ ltem/Diagrar Package Models Find Create BR Bi New Diagram KO+ Fiter Package (New) Class Diagram (New\Diagram\UML) Profile Diagram (New\Diagram\UML) Rename Variant Diagram (New\Diagram\Vaviabilty) Reinitialize Profile Helper Hew = Right-click on the new package and select New > Diagram > SysML > Use Case Diagram. Enter a name for the new diagram on accept the default name. A new Use Case diagram is now created, @ Windchill Modeler stores model data in a live, multi-user database, All updates to models are automatically saved to the database meaning you never have to worry about saving your work or managing model files. To create a model item and add it to the diagram, on the Use Case Diagram ribbon tab, click Use Case, and then click in empty space in the diagram. This creates a new Use Case item and adds it to the diagram, as shown below. Enter a name or accept the default. fie:1C:fProgram Files (x86)'Windchll ModelerModeleriSystenvHolpfindex himl¥pagellntegrty_ Modeler 2F gattingslarled%2Fgoting_started_.. 6/11 212123, 1:21 PM Getting started with Windchil Modeler Diagram Tools Use Case Diagram | tO) S53 7 & | we CR Ea New diagram- Cy) @ > Packages vax aA Tuckor ‘aD +UML Profile po} +SyoMLProfie <2 $8 +Uslities Profile 5:5 +Packaget ED #Use Cael Qo «[Package] Package! [1] ‘Add an Actor to the diagram and then create an Interaction by clicking on the Use Case on the diagram and dragging the link to the Actor. The resulting use case diagram is shown below. Diagram Tools Use Case Diagram cee § All Priorities . The Overview page is displayed giving a high-level view of the various review checks that have been performed. Scroll down to view the individual reviews and click one to see user actions. In the example below, HSUVModel:: HSUVUseCases. Insure the Vehicle does not have a related sequence diagram, so it has been flagged. The actions available are to ignore this violation for future reviews, add a comment or view the affected item in Modeler. Use case without OSD Use cases should have child sequence diagrams to ensure functionality is defined. ve HSUVModel:-HSUVUseCases Insure the vehicle does not have a child OSD For more information on Windchill Modeler Reviewer, click here. The following are some other Windchill Modeler capabilities you can utilize to optimize your designs: * Dynamic modeling with state diagrams * Windchill Modeler SySim * Integration with Simulink * Integration with Phoenix ModelCenter fleuProgram Files (x86)Wndehl ModelrModele/System/Melpindex hinifpageintegly. Madeler2Fgetngslartad2rgeting stared. a/tt 212128, 1:21 PM Gating started with Windchit Mod: Sharing models Windchill Modeler is a multi-user system so models are automatically shared with other Windchill Modeler users, based on their access permissions. For more information on multi-user deployments click here. You can share a read-only view of models using Windchill Modeler Web Interface. This provides a web-based experience that is tailored to non-system engineering users and can be made accessible to all people in your company. For more information click here. Windchill Modeler Publisher provides capabilities to publish model information into a document format. This is a convenient way for you to share software and system designs with other stakeholders for review and approval. For more information click here. To share entire models with other Windchill Modeler users you can use import/export features, either for models or for specific packages. For more information click here. If you wish to work in decompose your models into re-usable components, Windchill Modeler provides component sharing features, In addition, Windchill Modeler has an integration with Windchill Modeler Asset Library, which provides a web-based platform for managing reusable assets. For more information click here. Model configurations As your software and system design projects evolve over time, it is good practice to create new model versions at significant milestones. Creating a new version of a model acts as a baseline, with the previous version of the model frozen and unable for editing and the new version being the current, active model version. For more information, click here Private sandboxes are personal versions, or copies of a model. When you create a private sandbox, you can update this copy of the model without affecting the main trunk version of the model. Model changes made in a private sandbox can be rolled into the main trunk version using the Reconcile fun Manage @,| @ |B @¢ Model | Model Meds) Prafie rote Protection ~Versianng Profies Windchill Modeler has powerful capabilities for defining variability within software and system models. These features enable you to manage variable product line models that can be used to generate configured product models. An example of a Variant diagram is shown below. For more information, click here. file:11C:1Program Files (x86)'Windchll ModelerModeleriSystenvHelpindex himl¥pagellntegrty_ Modeler 2F gattingslarled%2Fgoting_started_.. 9/11 212128, 1:21 PM Getting started with Windchil Modeler Diagram Tools Variant Diagram [y'Selettion) © Constraint A 4 a 4 & ae tte Go & ‘omment [}Frame Box Package Variation Variant Atemative Mandetory Optional _ Requires Excludes Bc We SCE tee Choice Dependency Dependency Dependency Dependency To jodes Fows EA LR 5 NewDiagram> Ci El @ wit) +Blocks eT 2.) +Diagrams ced) +Date must be properly set forthe time machine {4 +BDD (Truck Domain) sBucget Chassis Diagram [2] +Graphicel BDD (Truck Domain) GB] «Requirements Diagram «Requirements Diagram 2 Be slse Case Diagram Bo sUse Case Diogrom? & $5 Wariant Diagram 2 fb *Vationt Holder 5) +Requirements Use Cates i Variation +c +o +Long Distance Diesel TE] +ChassisLengtn aE +City Truck ie ses +Truck Parts 8DD iW Managing digital product traceabi ity Windchill Modeler provides a range of features that enable you to define and manage critical dependencies within your software and system designs. These traceability relationships can be captured as links between different elements of your Windchill Modeler model as well as with external links to design information in other tools. The following are some of the Windchill Modeler features you can use to manage digital product traceability: * OSLC Links and Surrogates + HTML Links and Surrogates * Integrity Lifecycle Manager Synchronizer * Windchill Exporter fie:C:fProgram Files (x86/Windchill Mod: riModeleriSystem/Melplindex himi#pagelintegrty. Madelar% 2Fgettingstarted’.2Fgating_started.... 10/11 212123, 1:21 PM Gating started with Windchit Mod: Next steps Now you understand some of the fundamentals of using Windchill Modeler. The following are some additional resources you can use to further your learning: + PTC Help Center — Windchill Modeler Help is also available online here. * Windchill Modeler MBSE tutorial — a detailed end-to-end tutorial for Windchill Modeler is available here + PTC Community — engage in the PTC user community to ask questions, discuss solutions, and raise product ideas. * YouTube — various demos and tutorials available here. fie:/1C:1Program Files (x86)'Windchll ModelerModeleriSystenvHelpindex himl¥pagellntegrty_ Modeler%2Fgttingstarlad™s2Fgeting_started_ wn 212123, 1:21 PM Functional areas of Modeler Introduction and Getting Started > Functional areas of Modeler Functional areas of Modeler Modeler provides the following functional areas. Database Management Modeler uses Microsoft's SQL Server relational database service. SQL Server Management Studio is used to manage users and databases. Model Management and Development You develop models using the Modeler application. The many supported diagram types provide intuitive representations of the information contained in the model. The explorer type panes provide alternative views of the model and the relationships defined in that model. Through Modeler configuration management, you can develop models in parallel through private sandboxes, and then reconcile those sandboxes back into the trunk and into other sibling sandboxes. Modeler provides change tracking so that you can record an audit trail of changes made to a Model The Component Sharing Wizards allows you to export and import Packages between different models. Architectural Frameworks In addition to Modeler's core support for UML, Modeler supports the SysML and UPDM architectural frameworks through the SysML and UPDM profiles. SySim allows you to test, verify and simulate a SysML model. SySim provides a mechanism for validating complex system behavior defined in a Modeler SysML model. Extensibil ity Through Profiles Through Profiles, Stereotypes and Tag Definitions you can extend the properties and links of items and diagrams in a model. Furthermore, you can create new item and diagram types. You can extend some PTC Profiles through lightweight extensions. Reporting Facilities flelIC:yProgram Files (x86)'Windchill ModelerModeleriSystem/Helplindex.himi#pagelintegrty. Madeler2Frisme%2Ftunctional_areas_of_artsa... 1/2 212128, 1:21 PM Functional areas of Modeler You can create reports within Modeler and external reports * Modeler can create reports about selected dictionary items and diagrams. These reports appear in the Output pane of Modeler, * Publisher provides fully customizable reports, and is supplied with example templates, These reports can be generated as Microsoft Word documents, Publisher HTML and Publisher XML. + Reviewer provides reviews and reports for you to check the completeness, correctness and consistency of your models. Code Generation and Reverse Engineering The Automatic Code Synchronizer (ACS) add-in generates code for Ada, C, C#, C++, IDL, Java, and VB configurations. The Reversers can reverse engineer legacy code into a model for Ada, C, C#, C++, IDL and Java. System Simulation ACS for C and C++ can generate code to implement a Class’ State Diagrams and build an application that includes notification calls for Modeler. Through the application you can simulate a Class' State Machine and animate instances of your State Diagrams. Using Microsoft VisualBasic, for example, you can simulate your system's user interface. Integration with Other Applications Modeler is integrated with the following applications: + I8M Rational DOORS + IBM Rational DOORS Next Generation + IBM Rational Rose * MATLAB Simulink * PTC Integrity Lifecycle Manager * PTC ThingWorx * PTC Windchill Modeler includes a documented automation interface. Modeler Automation Interface The Modeler Automation Interface is a comprehensive API that allows you to create items and links in a model, read and set properties, and control the Modeler user interface. fie:11C:tProgram Files (x86)'Windchill ModelerModeleriSystenvHelpindex himl#pagelntegry_ Modeler%2Frismo%42Ffunctional_areas_of_artsa 22 212123, 1:22 PM Components of Modeler Introduction and Getting Started > Components of Modk Components of Modeler The main components of Modeler are as follows: * The Modeler application - manages and maintains the models you are developing. * Modeler Database - contains the models you develop. * Model Explorer - allows Modeler to connect to local and remote databases and manage models in those databases. In addition to the main components, Modeler includes these optional add-ins * Component Sharing Wizard - imports and exports packages, * Connector for IBM Rational Rose - populates a Modeler model with diagrams defined in an IBM Rational Rose model. * Integration for IBM Rational DOORS - integrates Modeler with IBM Rational's DOORS. * Integration for MATLAB Simulink ~ integrates a Modeler with the mathematical modeling tool, MATLAB Simulink. * Publisher - generates customizable Microsoft Word documents, HTML output and XML. output from data stored in a database. + SysML Profile ~ sets up a model for modeling SysML. + UML Standard Profile - makes the Package Diagram and the UML Standard Stereotypes available in the model. + XMI Import/Export - exports and imports model data in XMI files. The following applications and add-ins are available with additional licenses: * ACS - allows automatic code synchronization of Ada, C, C++, C#, IDL, Java, SQL and VB code. * Ada Code Reverser ~ reverse engineers legacy Ada code to a model. * C Code Reverser ~ reverse engineers legacy C code to a model. * C# Code Reverser ~ reverse engineers legacy C# code to a model. + C++ Code Reverser - reverse engineers legacy C++ code to a model. * IDL Code Reverser ~ reverse engineers legacy IDL code to a model. * Integration for PTC Integrity Lifecycle Manager ~ integrates Modeler with PTC Integrity Lifecycle Manager. * Integration for PTC ThingWorx ~ integrates Modeler with PTC ThingWorx * Integration for PTC Windchill - integrates Modeler with PTC Windchill. * Java Code Reverser - reverse engineers Java code to a model. * Object Animator - animates object interaction defined in a Sequence Diagram + Reviewer - allows you to review models for completeness, correctness and consistency. * Storage Mapper ~ creates in the model, tables and relationships from classes. * SySim - allows you to test, verify and simulate a SysML model. + TDK - allows you to generate code generation schemes for ACS. + UPDM Profiles - sets up a model for modeling UPDM. flelIC:yProgram Files (x86)'Windchill ModelerModeleriSystem/Helplindex.himi#pagelintegrty. Madeler2Frismesk2Fcomponents_ef_modele... 1/2 212128, 1:22 PM Components of Modeler * Web Interface - allows you to view models through your internet explorer, fie:1tC:tProgram Files (x86)Windchill ModeleriModelerSystem/Hal index htmidpagelintegrty. Modeler%2Frisme%2Fcompanents_of_modeler.... 2/2 212128, 1:22 PM ‘Starting Modeler Introduction and Getting Started > Starting Modeler Starting Modeler You can start Modeler in the following ways. From the Windows Desktop: On the Windows Desktop, double-click the Windchill Modeler icon. From the Windows Start menu: On the Windows Start menu, click All Programs, click Windchill Modeler > Modeler. From Windows Explorer, a supported web browser or the Windows Run dialog: Type the following text in the address bar or dialog, and then press the Enter key: ptcintegritymodeler:[?] Where + is the reference of the model, as shown on the Model's property pages in Modeler. * is the id of an item or diagram in the model. When the id of an item or diagram is included, Modeler selects the item or diagram in the Packages pane. You can use TellMe to find out the id of an item or diagram. For example: + ptcintegritymodeler:\\SQL\SE1\Examples\Traffic Lights\@ * ptcintegritymodeler :\\SQL\SE1\Examples\Traffic Lights\@?4344214-fbf2-11d2- a53d-001e4bbaSafs Note that Chrome is not supported, and a % character in the model name can prevent that Model from being opened, file:11C:1Program Files (x86)'Windchll ModelerModeleriSystenvHelpindex himl¥pagellntegrty. Modeler 2Frisme%42Fstating modeler himI23 1/1 212128, 1:22 PM Modeler panes. Introduction and Getting Started > Modeler panes and tabs > Modeler panes Modeler panes Modeler includes a number of panes that allow you to view different aspect of a model, such as the Package structure and diagrams. The first time you open Modeler and whenever you run the Reset Views command, the Modeler panes are organized into two groups The group of panes in the top left of Modeler includes the Packages, Parts, Diagrams, Relationships and Dictionary panes. These panes contain browsers to help you find and organize items and diagrams: + Packages - provides a view of a model in the context of the Package hierarchy. The Package pane shows you which items and diagrams are scoped by each Package in the model, in addition to providing an easy way of maintaining Packages in the model. Through drag and drop operations, you can quickly change the Package hierarchy, and quickly move items and diagrams between Packages. The context menu of a Package allows you to create items that are then scoped by the Package you right-clicked * Parts - provides a view of a model in the context of the Parts hierarchy. The Parts pane shows Packages, Classes, Data Types, Interfaces, Signals, Parts and Ports, The Parts pane shows sub-Parts and sub-Ports, including inherited sub-Parts and sub- Ports, and redefinitions; so that you can work with these Parts and Ports in context. * Diagrams - contains a folder for each diagram type within the model; you can open the diagrams through the context menus in the Diagrams pane. The diagram folders are organized into UML, Variability, Proprietary and profile folders, All diagrams appear in the All Diagrams folder. * Relationships - contains folders for the key modeling activities that you manage within Modeler: Concurrency, Constraints, System Architecture, Use Case, Instance, Class, Object Interaction, Data, Activity and State. The Relationships pane shows associations and containments and allows you to view and manage the hierarchical structure of your model. You can add items to the dictionary through the dictionary item context menus and you can also add and maintain relationships between dictionary items by using the context menus or by dragging and dropping dictionary items within the structural hierarchy of the model. * Dictionary - contains a folder for each dictionary item within the model; the Dictionary pane alphabetically lists each dictionary item type and you can expand the folders to see the dictionary items contained in your model. The dictionary item folders are organized into UML, Variability, Proprietary and profile folders, The Dictionary pane does not show any relationships between dictionary items, although you can manage links between dictionary items through the dictionary item context menus. * OSLC - provides a view of external OSLC systems and data within those systems. It allows you to specify external servers (e.g. IBM Rational DOORs Next Generation), browse for information and create OSLC Links to the external data. * Creator - allows you to quickly create items and diagrams and add them to the selected package and also to a currently open diagram. The group of panes in the bottom left of Modeler includes the Contents, Results, Results 2, Output and Favorite panes. The information contained in the tabs is organized in the same way as the standard Windows Explorer and you can double-click the folders to access the information you require fie:1C:/Program Files (x86)Windchill ModelerModeleriSystenvHolpfindex himl¥pagellntegty. Modeler 2Frisme%2Fmodeler_panes.himI%s23. 12 212123, 1:22 PM Modeler panes. * Contents - displays the contents of the currently-selected item in the Packages, Parts, Diagrams, Relationships or Dictionary pane. You can also use the Contents pane to navigate through your model. Use the drop down list on the Contents pane to determine which aspect of the model you want to display. This corresponds to the way in which information is displayed in the Packages, Parts, Diagrams, Dictionary and Relationships panes. You can navigate through the information using the standard Windows Explorer features (double click to move down into the folders, the Up one Level icon on the toolbar to move up). You can also display the icons in the Contents pane in different ways, using the standard Windows toolbar buttons (large icons, small icons, list and details). The Contents pane allows you to sort information by headings. For example, the standard headings are Name, Changed by, Changed on; you can sort each item by the date that it was changed, by clicking on the heading. Clicking again on a heading reverses the order of the search. The Contents pane also enables you to perform multiple selection, so that you can change the common properties of selected dictionary items. * Results - displays the results of a dictionary search, for example, or report details + Results 2 - alternative tab for displaying the results of a dictionary search. * Output - displays messages for the user, for example error messages and diagram checking results. If the Output pane is being continuously updated, for example when logging the progress of a system simulation, the Output pane scrolls so that you can see the new entries as they occur; however, If you click or select text in the Output pane, the Output pane will stay anchored to that text. If the Output pane is anchored to some text and you want to see new entries as they occur, click any text in the Output pane, and then press Ctri+End. + Diagram Thumbnai diagram. + Favorites - allows you quickly access items and diagrams that you use regularly. For more information, see Working with the favorites pane. allows you to pan, zoom in and zoom out of the active The Properties pane (the Property Pages) is shown in the bottom right of Modeler: + Properties - displays the properties of the active item or diagram. The item or diagram type determines which property tabs are displayed. You can organize the panes as required, and you can set up panes to auto hide. You can create panes for each browsable profile Package in the model. For more information, see Overview of creating panes for profile packages. You can quickly find an item in a Modeler pane, by right-clicking the item, pointing to Find, and then clicking the appropriate Browser command, If you hover the mouse pointer over a pane, a ToolTip displays the name of the pane. Profiles, such as the SysML Profile, create additional panes in Modeler. Related Topics Organizing Modeler panes Returning to the standard layout of windows Using the diagram thumbnail pane flelIC:yProgram Files (x86)'Windchill ModelerModeleriSystem/Helplindex.himi#pagelintegrty. Madeler2Frisme%2Fmodeler_panes.himi%23 22 212128, 1:22 PM Mosler tabs Introduction and Getting Started > Modeler panes and tabs > Modeler tabs Modeler tabs The following tabs are available to help you work with Modeler. + Model - includes options for opening/closing models, printing, and customization among others. More information about in the following section. + Home - includes buttons for standard operations such as cut, copy, paste, refresh. The Home tab is displayed by default whenever you open Modeler. + Manage - includes buttons for managing models. * Tools - includes buttons for accessing tools such as TellMe, Publisher, Manage OSLC Links among others. * Find - includes buttons for performing find operations * Change Tracking - includes buttons for selecting active change notes (available only when change tracking is enabled). * ACS/TDK Control - includes buttons for controlling TDK and ACS. * Simulation - includes buttons for working with system simulations. * Review - includes buttons for opening Reviewer and performing quick review functions for the selected package, * Window- includes buttons for arranging windows, resetting layouts, selecting user roles among others. + Help - includes buttons for accessing Modeler Help and contacting tech support among others. When a diagram is active, the following tabs are available: + - includes buttons for adding items to a diagram. + Layout - includes buttons for aligning items in diagrams. * View - includes buttons for zooming in/out and options for filtering out items in diagrams * Variability - includes buttons for adding variability items to a diagram. When the Code Editor is active, the following tab is available: * Code tab - includes buttons for working with the Code editor, such as, Expand All, Collapse All, Find, and Save buttons. When working with text, the following tab is available * Text - includes buttons for formatting and aligning text, such as, button to change text colors, option to change text font or its size. The Model tab The Model tab is the backstage area of Windchill Modeler and contains the following options + New Model - Create a new model. + Open Model - Open an existing model. + Close Model ~ Close the model. fie:11C:/Program Files (x86)Windchll ModelerMdelerSystenVHolpfindex himl¥pagellntegty. Modeler 2Frisme%2Fmodeler toolbarsinimi¥23 1/2 21a, 1:22 PM Modeler tabs * Exit - Exit from Windchill Modeler, + Recent Models - Select from a list of recently accessed models, + Page Setup - Change the page setup options. * Print Setup - Configure the printer and print options. * Print — Print selected items. * Options - Configure Modeler. * Customize Tools - Customize the Tools ribbon tab. + Configuration Management Options - Modify configuration management options. + Floating License Status - Check the license status of Modeler. + View ERROR.LOG - Open the Error.log file. + View REPORT.LOG - Open the Report.log file + Opens a text file - Open a text file + About - Display information about Modeler such as version, copyright, patches installed, if any. Related Topics Organizing Modeler panes Returning to the standard layout of windows fie:1C:/Program Files (x86)Windchll ModelerModeleriSysten/Holpfindex himl¥pagellntegty. Modeler 2Frisme'2Fmodeler toolbarsinimi¥23 22 212123, 1:22 PM Diagram window Introduction and Getting Started > Modeler panes and tabs > Diagram window Diagram window By default, the Diagram window is displayed in the upper right section of Modeler. You use the Diagram window to manage and maintain diagrams and the window automatically opens when you create or open a diagram. If you open two or more diagrams, the diagrams become tabbed so that you can easily switch between them The Diagrams window does not dock so it behaves in the same way as a standard MDI window; using the window controls, you can minimize and maximize (and close) the Diagrams window according to the way you want to view a diagram. It is often helpful to. maximize the area you have available for diagramming If you have many diagrams open, you can use the Arrange Windows dialog to organize those windows - on the Windows menu, click Windows @ You can make more room available for diagrams by setting your panes to auto hide: Note that when you select an item on a diagram, the Property pages display properties for the selected item. Related Topics Organizing Modeler panes fie:1C:/Program Files (x86)'Windchll ModelerModeler'Systen/Holp/index himl¥pagellntegty. Modeler 2Frisme%2Fdiagram_window.himii23 1" 212123, 1:22 PM Organizing Modeler panes Introduction and Getting Started > Modeler panes and tabs > Organizing Modeler panes Organizing Modeler panes When you first start Modeler or after you have reset the layout, all the Modeler panes are shown: + The Packages, Parts, Diagrams, Relationships and Dictionary panes are grouped together in the top left of Modeler. These panes contain browsers that allow you to find items and diagrams in the model. + The Contents, Results, Results 2, Output and Diagram Thumbnail panes are grouped together in the bottom left of Modeler, The Contents, Results, Results 2 panes can list items and diagrams; the Output pane can display text output from add-ins and Modeler processes; and the Diagram Thumbnail pane allows you to pan, zoom in and zoom out of the active diagram. + The Properties pane (Property Pages) is shown in the bottom right of Modeler. The Property Pages show the properties of a selected item or diagram. The easiest way to learn how to organize panes is to read this topic and experiment with the panes in Modeler. The organization of Modeler panes is saved for each model you work with, A Modeler pane can be by itself (as the Property Pages pane is by default) or part of a group of panes. A group of panes can be organized collectively as if a single pane. Opening and closing panes You can close Modeler panes you are not using, so that there is less clutter in the Modeler window: * To close a pane, click its x Close button, or right-click the pane’s title bar or tab, and then click Close. + To open a pane, click on the pane's tab, or on the Window > Panes ribbon tab, click the appropriate command. Resizing panes You can resize a pane or group of panes by dragging its borders to the required position. Auto hiding panes You can free up space within the Modeler window by auto hiding panes and groups of panes. When you auto hide a pane or group of panes, a tab for the pane (or a tab for each pane in a group of panes) appears on the edge of the Modeler window, depending on which edge the pane is docked to, When you hover the mouse pointer over the pane's tab or click the pane's tab, the pane is shown so that you can work with it. When you click elsewhere in Modeler, Modeler hides the pane. fielIC:yProgram Files (x86)'Windchill ModelerModeleriSystem/Helalindex.himi#pagelintegrty. Madeler2Frisme%s2Farganizing_modeler_pane... 13 212128, 1:22 PM Organizing Modeler panes Using auto hide is a good way of maximizing the area available for diagrams without closing panes. To auto hide a pane or group of panes, right-click the pane's title bar or tab, and then click AutoHide. @ When a pane is docked, you can quickly auto hide a pane by clicking its # Auto hide button. Moving a pane to docked po: By default, Modeler panes and groups of panes are docked. When docked, a pane or group of panes is part of the Modeler window - when you move or resize the Modeler window, the docked panes and groups of panes are moved or resized accordingly. ‘To move a pane to another a position, drag the pane's title bar or tab to an arrow type docking pane sticker. When you drag a pane, ‘docking pane stickers’ appear on the Modeler window. & an arrow type docking pane sticker When you hover the mouse pointer over a docking page sticker, a shaded area indicates where the pane will be docked in the Modeler window: * A docking pane sticker at the edge of the Modeler window, results in the pane taking up a space along the length of that Modeler window edge. * A docking pane sticker within a Modeler pane, results in the pane sharing space within the space taken up by that pane Moving a pane to a group of panes You can move a pane to a group of panes, or you can create a group of panes by moving a pane to another pane. To move a pane to another pane or group of panes, drag the pane's title bar or tab to the central docking pane sticker that is displayed for the required pane or group of panes. a central docking pane sticker Note that you can remove a pane from a group by moving that pane to a different pane or position. Reordering panes within a group of panes You can change the order of panes within a group of panes by dragging a pane's tab to a different position within the group. fie:HC:fProgram Files (x86)'Windchll ModelerModeleriSystenvHelpfindex himl¥pagellntegrty. Modeler 2Frisme%42Forganizing_modeler_pane, 28 212128, 1:22 PM Organizing Modeler panes Moving a pane to an undocked position When undocked, a pane or group of panes is independent of the Modeler window - when you move or resize the Modeler window, undocked panes and groups of panes do not change size or position. An undocked pane or group of panes can be positioned outside of the Modeler window, To move a pane to an undocked position, drag the pane's title bar or tab to free space, that is, not to a docking pane sticker. Alternatively, double-click the pane's title bar or tab. To move an undocked pane to its previously docked position, double-click the pane's title bar. Note that when a pane is undocked, you can make that pane floating so that you can move it around without the docking pane stickers appearing. To make a pane float, right click the pane's title bar or tab, and then click Floating. fielICyProgram Files (x86)'Windchill ModelerModeleriSystem/Helpindex himi#pagelintegrty. Madeler2Frisme‘2Farganizing_modeler_pane, as 212123, 1:22 PM ‘The Quick Access Toolbar Introduction and Getting Started > Modeler panes and tabs > The Quick Access Toolbar The Quick Access Toolbar The Quick Access toolbar is a customizable toolbar that contains frequently used commands and by default, is located below the ribbon tab The default options in the Quick Access toolbar are: + New Model — Displays the New Model dialog * Open Model — Displays the Open Model dialog + New Package — Opens a new package * New Diagram — Displays a list of diagrams that you want to create. + Find Objects (Ctrl+M) — Displays the Find Objects dialog * Fit Symbols to view — Zooms out the current diagram to fit the view. + Help Topics — Displays the icon that points to Modeler help. To move the Quick Access toolbar: By default, the location of the toolbar is below the ribbon tab, but can be relocated above the ribbon. To move the toolbar, click the arrow at the end of the toolbar, and select Show Above the Ribbon to move above the ribbon and click Show Below the Ribbon to move below the ribbon tab. To add or remove commands from the Quick Access toolbar: 1. Click the arrow at the end of the toolbar and select More Commands. 2, To add commands, select the menu and then the appropriate command that you want to add, and then click Add >> to populate the list on the right 3. To remove commands, select the command on the right, and click << Remove. Or, right-click on the button (on the Quick Access toolbar), and select Remove From Quick Access Toolbar. To add commands to the Quick Access Toolbar from the ribbon tab: Right-click the ribbon tab button that you want to add and select Add to Quick Access Toolbar. Note that this option is not available for diagram buttons. To reset the Quick Access toolbar to default: 1. Click the arrow at the end of the toolbar and select More Commands. 2. Click Reset, The Quick Access toolbar now displays the default commands. flelIC:yProgram Files (x86)'Windchill ModelerModeleriSystem/Helalindex.himi#pagelintegrty. Madeler2Frisme%s2Farganizing_modeler tool... 1/2 212123, 1:22 PM ‘The Quick Access Toolbar Related Topics Modeler tabs Returning to the standard layout of windows file:tC:/Program Files (x86) Windchill ModeleriModeler'System/Hal index himipagelintegrty. Modeler%2Frisme%42Farganizing_modeler_toolb... 2/2 212123, 1:22 PM “The Creator pane Introduction and Getting Started > Modeler panes and tabs > The Creator pane The Creator pane With the creator pane, you can select a group of items and diagrams to be added to a selected package. You can also add the selected items to an open diagram as well. This chapter explains how to use the creator feature. To open the creator pane, click the “icon from the Home ribbon or click Window > Panes > Creator. The following dialog is displayed atexthiter sutelected package 2.Diagramsthatean becreated S.Fiterereation 4. other tens thatean be ceeates ‘ene Te eee 6.ustof tems that The creator dialog contains the following sections 1. Name of the selected package into which the items and diagrams will be created. Text filter used to search for items. Displays a list of diagrams that can be created. Displays a list of all other items that can be created. Contains a set of filters that you can use to narrow down the items based on your requirement. Displays a list of all the items that you have selected to be added to the current package. van = \B The creator is disabled when the selected in the Packages pane changes to anything other than a package. You will be able to create and add items and diagrams only to a package. flelICyProgram Files (x86)'Windchill ModelerModeleriSystem/Melalindex.himi#pagelintegrty. Madeler2Frismes2Fereator_paneimi23 1/5 212123, 1:22 PM “The Creator pane Creating and adding items to a package 1. Select the package that you want to add items to. You can use the filters to select the items. 2. On the creator pane, select the item or diagram and then click Add or double-click the items to add to the current package. For more information, see the Using Filters section. The selected items are added to the list as shown below. — ‘see yor ts te Ma [ross [seemed nee 4 fm) os ff fl A fare Ses ect edage | Regaeret Seat perm oe.. Sapan Sayan “Bien” “DSgan sare ‘ » rat Hf. |S BEB A 5 = & FE Vv Gurgetbie Catant Gatmsnce Regurment Rate Ene rame den tens) 3. You can rename the selected items. Select the item and type the new name. 4. You can remove the items that you do not want to be added to the package. To remove items, select the item and click Remove. You can also select multiple items by using the CTRL OR SHIFT keys. 5. If you want to add the selected items to a currently open diagram, select the Add to the current diagram check box. 6. Click the Create button. The selected items are added to the package and, if you had selected the Add to the current diagram check box, to the diagram as well. Using Filters To filter the list, do the following: * Select the relevant check boxes from the Filters section. The following image shows a filter set on Variability displaying all Variability related items and diagrams. flelICyProgram Files (x86)'Windchill ModelerModeleriSystem/Helplindex.himi#pagelintegrty. Madeler2Frismes:2Fereator pane him23 25 212123, 1:22 PM “The Creator pane ‘Creator =* Select ganar tens to oeate (st — ve" Ener nane ofr tani) tame Te wesage ca Aaimarentdogan | Reeme | | Seite * Use the text filter to search for items, The following image shows all items filtered by the search strings “type”. Note that this is a case insensitive filter and filters the search based on the typed string. fie:1C:/Program Files (x86)Windchll ModeleriModeleriSystenvHolpfindex himl¥pagellntegrty. Modeler 2Frisme%2Fereator_panehimii2s 35 212123, 1:22 PM “The Creator pane Enver nane of re ten) Name Tipe Message Heb Remove) | Gente You can also use the text filter to enter a regular expression, which is a more effective method of searching. Select the Regexp check box before entering the regular expression, Note that this performs a case-sensitive search, The following are some examples of regular expressions. * .*Cla.* — lists all items that have Cla in their name, * Com.* — lists all items that begin with the letters Com. * .*ent — lists all items that end with the letters ent. In case of problems while creating any of the selected items, the items that caused the problems remain in the items to create list and an error is displayed in the Message column as displayed in the image below. fie:1tC:tProgram Files (x86/Windchill Mod: riModelerSystem/Melplindex himlfpagellntogrty_ Model 2Fisme%2Fereator panehim2s 45 212123, 1:22 PM fie:1tC:tProgram Files (x86/Windchill Mod: [crestor e=x = [resopet | [Stewie] rece Tes a &@ oH = 2 soa eae = So. ear ee || J - ‘Gungetiate consvant Cem le Regurenent Rater ‘re er ee we Te ro — a | ea | Joram Ee Ce] riNodelerSystem/Melplindex.himi#page/Integrty_Modeler"2Frisme%2Fcreator_pane.him!23 55 212123, 1:24 PM Opening the last model at Modeler start up Opening the last model at Modeler start up 1. On the Model tab, click Options. 2. On the General tab, select the Open last model on Start up check box. fie yProgram Files (x86)'Windchill ModelerModeleriSystem/Helpindex.himi#pagerintegrty. Madeler2Frisme%2Fapening the_last_madel.. 1/1 212123, 1:24 PM Setting the default font for rch text Introduction and Getting Started > Customizing Modeler > Setting the default font for rich text Setting the default font for rich text On the Model ribbon, click Options. Click the Rich Text entry. Click the Select button that is associated with the Default Font text box. Set the formatting options as required, and then click OK. On the Tool Options dialog, click OK. yawn ‘A * Changing the default font does not affect existing text, * For clarity, we recommend that you use only true type fonts, Related Topics Formatting rich text Overview of rich text features fie: yProgram Files (x86)'Windchill ModelerModeleriSystem/Helpindex himl¥pagerintegrty. Madeler2Frismesk2Fseting_the_defaut font {... 1/1 212123, 1:24 PM ‘Setting how model abject referances updated Introduction and Getting Started > Customizing Modeler > Setting how model object references are updated Setting how model object references are updated To optimize the performance of the diagram editor, model object references are updated only when a diagram is opened or refreshed. You can make model object references dynamic, so that they immediately reflect any name changes you make to the names of referenced objects. ‘B+ On slower computers, updating model object references dynamically will have an adverse effect on the performance of the diagram editor. + Add-ins, such as Publisher, refresh model object references that appear on diagrams. To update model object references dynamically On the Model tab, click Options. Click the Rich Text entry. Select the Update Rich Text dynamically check box. Click OK. DYN is displayed in the Status Bar, awNe Related Topics Adding model object references to rich text Overview of rich text features file:!1C:tProgram Files (x86)'Windchill ModelerModeleriSystenvHelpfindex himl¥pagellntegrty. Modeler 2Frisme%42Fsetting_how_model_sbjec. 1" 212123, 1:24 PM Setting the default presentation for model object references Introduction and Getting Started > Customizing Modeler > Selting the default presentation for model object references Setting the default presentation for model object references You can set a default font for model object references, and chose whether to show a referenced object's name or full name. To set the default font for model objects references On the Model tab, click Options. Click the Rich Text entry. Click the Select button that is associated with the Model Object Font text box, Set the formatting options as required, and then click OK, On the Tool Options dialog, click OK. yaenue To Set the default presentation of model object reference names 1. On the Model tab, click Options. Click the Rich Text entry. 3. To show the full name of referenced objects, select the Show Full Name For Embedded Objects check box. To show the name of referenced objects, clear the Show Full Name For Embedded Objects check box. 4. Click OK. N ‘A + Changing the default presentation does not affect existing model object references. * You can right-click a model object reference and choose to show either its name or full name. * For clarity, we recommend that you use only true type fonts, Related Topics Adding model object references to rich text Overview of rich text features ‘lel yProgram Files (x86)'Windchill ModelerModeleriSystem/Helpindex himi¥pagelintegrty. Madeler2Frismesk2Fseting the _defaut_prese.... 1/1 212123, 1:24 PM Staring Windows applications from the Tools tab Introduction and Getting Started > Customizing Modeler > Starting Windows applications from the Tools tab Starting Windows applications from the Tools tab You can add your own commands (which start Windows applications) to the Modeler Tools menu. Note that by default, the Tools menu includes commands to start installed Modeler add-ins. To add a command to the Tools menu: 1. On the Model tab, click Customize Tools. 2. Click the & button. 3. Type the text you want to appear in the Tools tab. A You can specify submenus using backslashes, for example, Editors\Text\Notepad Press the Enter key. Select the Display in tools tab check box. Click Browse. Select the required application, and then click Open. 8, If you want the new command to appear in a specific place on the Tools menu, select the command in the list, and then use the arrow buttons to move the command to the required position. 9. Click OK. Noose Related Topics Starting Windows applications from an item's context menu fie:11C:/Program Files (x86)'Windchll ModelerModelerSystenvHolp/index himl¥pagellntegty. Madeler%2Frisme%2Fstarting windows_appliat. 1" 212123, 1:24 PM Starting Windows applications from an item's context menu Introduction and Getting Started > Customizing Modeler > Starting Windows applications from an item's context menu Starting Windows applications from an item's context menu You can add your own commands (which start Windows applications) to the context menu of each item and diagram type. Commands you create appear on the Tools submenu of the context menu. To add a command to the Tools context menu: 1. On the Model tab, click Customize Tools. 2. Click the & button. 3. Type the text you want to appear on the context menu. A You can specify submenus using backslashes, for example, Editors\Text\Notepad 4. Press the Enter key. 5. Click Browse. 6. Select the required application, and then click Open. 7, Click Advanced>>, 8, Select the check boxes associated with the required item and diagram types. 9. Click OK. Related Topics Starting Windows applications from the tools menu file:1C:fProgram Files (x86)'Windchill ModelerModeler'SystenvHolp/index himl¥pagellntegty. Modeler 2Frisme%2Fstarting windows_appliat. 1" 212128, 1:24 PM Overview ofthe example models Introduction and Getting Started > Working with the supplied example models > Overview af the example models Overview of the example models Modeler is supplied with the following example models. These models are supplied in the Examples database, which is created, by default, during a Modeler Server or Standalone installation. Each of the example models has been created to illustrate particular aspects of Modeler, although all the models can be used to explore the features of Modeler. * Active Deferred Ball Game Example—This model demonstrates how making a Class active or applying the «C++ Deferred» stereotype to a Class affects the generation of C++ code. * BallCpp—This model is a very simple model that has been included mainly to illustrate the use of Modeler Automatic Code Synchronizer (ACS). It will generate C++ code files that can quickly be built (using Visual C++) into a simple executable application. You can make use of ACS to illustrate how you can work seamlessly in both Modeler and an IDE such as Microsoft Visual C++ at the same time. For more information about ACS, see Overview of ACS. * Cabin—This model demonstrates how variability parameters can be used to set property values of artifacts in product models, It also demonstrates parameter propagation, derivation and validation + C# Another Block (Tetris) Example—This model demonstrates how a C# application can be modeled in Modeler. Through ACS and the C# Generator Code Generator DLL, you can generate a C# Tetris game from the model + Electric Car Charger (Java)—This model demonstrates how to use the ThingWorx Profile in a model, The ReadMe text diagram in the model provides information for generating the Java code, and building and running the system * Filling Station—This model is quite large and complex. The Filling Station model is a good vehicle for exploring the facilities and potential of the Configuration Management features of Modeler, It should be borne in mind that the Filling Station is essentially an analysis and design model; it has not been implemented through to code generation. For example, its state diagram actions are written in a form to relate easily to other design elements rather than to produce compilable code + Heart Monitor C—This model has been designed to illustrate code generation (to C) from both state machine and class information, This model has been designed to operate using state machine simulation linked to a Microsoft VisualBasic application that represents a heart monitor. + Heart Monitor Java—This model has been designed to illustrate code generation (to Java) from both state machine and class information. * HSUV—This model is a SysML, rather than UML, model. It is an almost complete implementation of the HSUV example provided in Annex B of the SysML Final Adopted Specification (May 2006). The model is largely self-documenting; it contains a couple of text files, including a ReadMe that describe the model content. This model is also used as an illustrative model in the SysML Tutorial, which can be downloaded from the PTC website, + Search and Rescue—This model is a UPDM model. It is an almost complete implementation of the Search and Rescue example provided in Annex C of the ‘Unified Profile for the Department of Defense Architecture Framework (DoDAF) and the Ministry of Defence Architecture Framework (MODAF)' (Beta 2, June 2009). Some of ‘ile:11C:/Program Files (x86)Windchll ModelerModeler'SystenVHolpfindex himl¥pagellntegty. Modeler 2Frisme%2Fexample_models_overvic.. 1/2 212128, 1:24 PM Overview ofthe example models the diagrams in the model have been altered from that in Annex C to correct them and make the model more consistent. + Speed Controller—This model models a system that controls the speed of a motor. Through SySim you can generate and run the speed controller system. + Template - Component-based Products, Template - Incremental Process and Template - Small Project—These three models can be used as model structuring templates for different project types. Each model contains a structured set of packages, organized to hold the various model items that are likely to be produced for each project type. Each model contains a text diagram that describes the project type and the package structure. One or more class diagrams are also incorporated, specifying package dependencies, These models are there to be used and adapted as required - it is unlikely that one of these will be an exact fit to any specific project. To use one of these models, clone it to the appropriate database * Traffic Lights—This model is a very simple model that illustrates the use of the automation interface in linking state machine code simulation with a Microsoft VisualBasic application. As with the Waste System no life cycle dimension is present. The Operations in this model contain C++ code. * Traffic Lights - SySim—This model models a traffic light system that can be generated and run through SySim. See also, the Speed Controller model. + VB Another Block (Tetris) Example—This model demonstrates how a Visual Basic application can be modeled in Modeler. Through ACS and the VB Generator Code Generator DLL, you can generate a Visual Basic Tetris game from the model. + Waste System—This model has been designed to illustrate code generation (to C++) from both state machine and class information. It is a smaller and simpler model and consequently contains less in the way of Help information. It is not organized around a life cycle and therefore will produce only a limited subset of generated documents. The model can be viewed as a realistic prototype for exploring operator and diagnostic interaction. This model has been designed to operate using state machine simulation linked to a Microsoft VisualBasic application that represents a system visualization incorporating a diagnostic front panel. The model is supplied with both source and executable files. Introduction to the Supplied State Machine Simulations Modeler supports state machine simulation. So that you can see state machine simulations working, the following models are supplied with the files required to simulate their state machines: * Traffic Lights model—uses C++ code + Waste System model—uses C++ code + Heart Monitor C model—uses C code The user interfaces of the Waste System, Heart Monitor C, and Traffic Lights models are simulated using Microsoft Visual Basic applications, The supplied files that accompany each model were created using ACS. For information about simulating the state machines in your models, see Introduction to system generation and simulation (system simulation). file:11C:fProgram Files (x86) Windchill ModelerModeler'SystenVHolp/index himl¥pagellntegty.Madeler%2Frisme'2Fexample_models_overvic.. 22 212128, 1:24 PM Overview af the Bap application Introduction and Getting Started > Working with the supplied example models > BallCpp model > Overview of the Ballpp application Overview of the BallCpp application This model is supplied to let you see a simple model developed with, and providing an illustration of, the Automatic Code Synchronization (ACS) technology. Running the executable file that can be created from this model will result in a ‘train’ of 'o' characters moving within a rectangular frame, and bouncing off the frame walls. The model itself is very simple and can be easily changed to alter the effect of running the executable. To use this model with ACS you will require an ACS license, an ACS Language Pack for C++ license and a Modeler license. Before generating and building the C++ Code application, ensure that you have built the dependent libraries. See Overview of generating C++ code for system simulation To find out more about installing and using ACS, see Overview of ACS (ACS). To generate the BallCpp application through ACS: 1. In Modeler, open the BallCpp model. 2. On the Packages pane, select the Model = Load or Unload ACS button. 3. On the ACS/TDK Control tab, click the 4, On the ACS/TDK Control tab, click the [7 Edit ACS Scheme button. 5. From the Launch ACS/TDK dialog, click the [= Settings File selection button. 6. Select the provided BallCpp.sni file that resides in the following folder (assuming you have installed Modeler to the default location). C:\ProgramData\PTC Integrity Modeler\Example Most options on the Launch ACS/TDK dialog should be set as required. 7. Click the =| button associated with the Generator Dil box, and select the Cpp Win32 Production Code Generator DLL. If you have installed Modeler to the default location, the Code Generator DLL appears in the following folder: + For Windows 7 and later operating systems %APPDATA%\ItsShadow\ScriptDir\cppgen\cpp win32 production ° For pre Windows 7 operating systems (64-bit versions of) C:\Program Files (x86)\Windchill Modeler\Modeler\system\cppgen\cpp win32 production * For pre Windows 7 operating systems (32-bit versions of) :\Program Files\Windchill Modeler\Modeler\system\cppgen\cpp win32 production 8. Specify the Target Directory for the code files. 9. Click the Save and Launch button. fie:11C:/Program Files (x86)Windchill ModelerModeler'SystenvHolp/index himl¥pagellntegty. Modeler 2Frisme%2Foverview_of the_ballopp_.. 1/2 212128, 1:24 PM Overview af the Bap application 10. On the ACS/TDK Control tab, click the *] Force Generate button. You can now change the model to see corresponding change in the code files, or change operation bodies in the code files to see corresponding change in the model. To create the executable in Visual C++: 1, From the target directory, double-click the appropriate generated WinApp file to open the project in Visual C++. 2. Add to the project, all the .h and .cpp files from the BallCpp folder. Note that the StdAfx files should already be included in the project. 3. Build an executable (F7) or run directly (FS). fie:11C:/Program Files (x86)Windchll ModelerModeler'SystenvHolpfindex himl¥pagellntegty. Modeler 2Frisme%2Foverview_of the_ballopp_.. 22 212128, 1:25 PM Creating the C# Another Block (Tetris) Example application Introduction and Getting Started > Working with the supplied example models > The C# Another Block (Tetris) Example Application > Creating the Cif Anather Block (Tetris) Example application Creating the C# Another Block (Tetris) Example application The Another Block application is built from source files generated from the C# Another Block (Tetris) Example model - ACS generates these files using the C# Generator Code Generator DLL. If you want to generate the source files for the Another Block example application, generate the files to the following folder, which contains the supporting files required to build the application: C:\ProgramData\PTC Integrity Modeler\Example\C#\Another Block (Tetris)\VS Project To generate the source files for the C# Another Block (Tetris) Example application: 1. In Modeler, open the C# Another Block (Tetris) Example model, which is provided in the Examples database 2. On the Packages pane, select the Model. =] 3. On the ACS/TDK Control tab, click the | Load or Unload ACS button. 4. On the ACS/TDK Control tab, click the | Edit ACS Scheme button. 5, From the Launch ACS/TDK dialog, click the |=! settings File selection button. 6, Select the provided C# Another Block (Tetris) Example.sni file that resides in the following folder (assuming you have installed Modeler to the default location): C:\ProgramData\PTC Integrity Modeler\Example\C#\Another Block (Tetris) 7. On the Standard tab of the Launch ACS/TDK dialog, confirm that the C# Generator.dll Code Generator DLL is selected. Specify the Target Directory for generated code. 9. Click the Save and Launch button. Wait for ACS to finish generating to the cache: 2 10. On the ACS/TDK Control tab, click the | 2_ Force Generate button. To build the C# Another Block (Tetris) Example application: 1. In Visual Studio, open the Another Block.sin file that resides in the following folder (assuming that you have installed Modeler to the default location) C:\ProgramData\PTC Integrity Modeler\Example\c#\Another Block (Tetris)\VS Project 2. Build the Another Block application fie:11C:1Program Files (x86)'Windchll ModelerModeleriSystenvHelpfindex himl¥pagellntegrty. Modeler 2Frisme%42Fereating_esharp another... 1/1 212128, 1:25 PM Overiaw ofthe Filing Staton made! Introduction and Getting Started > Working with the supplied example models > Filling Station scenario > Overview of the Filling Station mode! Overview of the Filling Station model This model shows the design stage of a filling station. Diagrams and model items are structured into a set of packages. The packages and their related stages are described in the sections that follow Requirements Package Contains requirement related elements from a requirement analysis and validation stage of a project. Incorporates three sub-packages: Architecture, Constraints and Function. + The Architecture package defines the physical architecture and also contains an Architecture Base Types package. * Function and Constraints contain model elements that specify the functional and non-functional requirements, respectively, of the Filling Station system, Solution Package Contains two main sub-packages: Object Design and Task Design. * The Object Design package contains model elements relating to the technical architecture definition stage of a project. This package also contains two further sub- packages: Dispenser and Kiosk, each of which contains sets of application classes. + The Task Design package contains those model elements that relate to the task design activities of a project. It also contains a sub-package, pRTOS containing a set of RTOS wrapper classes. fel yProgram Files (x86)'Windchll ModelerModeleriSystem/Helpindex.himi#pagelintegrty. Madeler2Frisme%.2Faverview_of_the flings. 1" 212128, 1:25 PM Overiaw ofthe Filing Staton made! Introduction and Getting Started > Working with the supplied example models > Filling Station scenario > Overview of the Filling Station mode! Overview of the Filling Station model This model shows the design stage of a filling station. Diagrams and model items are structured into a set of packages. The packages and their related stages are described in the sections that follow Requirements Package Contains requirement related elements from a requirement analysis and validation stage of a project. Incorporates three sub-packages: Architecture, Constraints and Function. + The Architecture package defines the physical architecture and also contains an Architecture Base Types package. * Function and Constraints contain model elements that specify the functional and non-functional requirements, respectively, of the Filling Station system, Solution Package Contains two main sub-packages: Object Design and Task Design. * The Object Design package contains model elements relating to the technical architecture definition stage of a project. This package also contains two further sub- packages: Dispenser and Kiosk, each of which contains sets of application classes. + The Task Design package contains those model elements that relate to the task design activities of a project. It also contains a sub-package, pRTOS containing a set of RTOS wrapper classes. fel yProgram Files (x86)'Windchll ModelerModeleriSystem/Helpindex.himi#pagelintegrty. Madeler2Frisme%.2Faverview_of_the flings. 1" 212123, 1:25 PM Object animation with the Filing Station made! Introduction and Getting Started > Working with the supplied example models > Filling Station scenario > Object animation with the Filing Station model Object animation with the Filling Station model The Object Animator add-in provides a graphical animation too! for the verification and validation of Sequence Diagrams. The Object Animator Help system describes its features and usage One of the features of this add-in is the use of user defined icons to represent the objects specified on the sequence diagram. To illustrate this feature the Filling Station model is supplied with a set of user defined icons already associated with some of the model items within the Requirements package. Opening one of the sequence diagrams within this package, and then running the Object Animator will result in these icons being used instead of the default icons. fil yProgram Files (x86)'Windchill ModelerModeleriSystem/Helpindex himi#pagerintegrty. Madeler2Frisme%s2Fabject animation_with th... 1/1 212123, 1:25 PM (Overview of the Heart Monitor C simulation Introduction and Getting Started > Working with the supplied example models > Heart Monitor C simulation > Overview of the Heart Monitor C simulation Overview of the Heart Monitor C simulation The Heart Monitor C model models a system for monitoring the heart rate of a patient. It displays each pulse of the patient on the Heart Beat display, and shows the intensity of each pulse through the Intensity LEDs and Meter, The Gain slider allows you to vary the gain of the system so that you can easily see the pulses on the Heart Beat display. The Rate Adjust slider allows you to simulate the heart rate of the patient. The behavior of the Heart Monitor C has been modeled through the State Diagram in the Heart Monitor C model. This simulation allows you test the behavior of the state machine that has been generated from that State Diagram. The simulation allows you to simulate the Heart Monitor's user interface, and simulate the heart rate of the patient. To find out more about the state machine being simulated, view the State Diagram in Modeler. ‘A The Operations in the Heart Monitor C Model contain C code. If you installed Modeler to the default locations, the generated files reside in the following folder: MPROGRAMDATA%\PTC Integrity Modeler\Example\Heart Monitor C The provided HeartMonitorUI.exe application is built using the C Win32 Animation Code Generator DLL. Before generating and building the C Code application, ensure that you have built the dependent libraries. See Overview of generating C code for system simulation in Modeler, Related Topics Starting the Heart Monitor C simulation fie:1C:/Program Files (x86)'Windchll ModelerModeleriSystenvHolpindex himl#pagellntegrty_ Modeler 2Frismo%42Foverview_of the_heart_m. 1" 212123, 1:25 PM Opening the heart monitor C model Introduction and Getting Started > Working with the supplied example models > Heart Monitor C simulation > Opening the heart ‘monitor C mode! Opening the heart monitor C model 1. From Modeler, on the Model tab, click Open. 2. Double-click the Examples database 3, Double-click the Heart Monitor C model. fil ICyProgram Files (x86)'Windchll ModelerModeleriSystem/Helpindex himi¥pagerintegrty. Madeler2Frsme%s2Fstating the_heart_monito.... 1/1 212123, 1:25 PM Staring the Heart Monitor C simulation Introduction and Getting Started > Working with the supplied example models > Heart Monitor C simulation > Starting the Heart Monitor C simulation Starting the Heart Monitor C simulation 1, From Modeler, open the Heart Monitor C model that resides in the Examples database (see the instructions), 2. On the Simulation tab, ensure that the following buttons are selected, that is, depressed Enable Animation button: 6 2) L09 to the output Pane button 3. From Windows Explorer, double-click the Heart Monitor application (HeartMonitorUI.exe). If you have installed Modeler to the default location, the path of the HeartMonitorUI.exe application is as follows: XPROGRAMDATA%\PTC Integrity Modeler\Example\Heart Monitor C\VB\HeartMonitorUI.exe 4. In the Heart Monitor application, ensure that the Auto-Launch check box is selected. 5. Click the Power button Enable Open Diagram Mode. After starting the simulation: + The Heart Monitor C application connects to Modeler. + Modeler loads the Listener DLL. * Modeler opens the instance diagrams required to animate the simulation. On the instance diagrams, the red outline indicates the state machine has entered the Created state. The state machine is waiting for the Power button to be pressed. * The Output pane of Modeler records a log of the simulation session. You can see that the last activity to take place was the Enter Operation for the Cardio class. * You can now interact with the simulation through the Heart Monitor C application. * You can use Modeler to inject Events and Operations, and set the values of Attributes, For more information, see Injecting an Operation into a Simulation. For information about interacting with the simulation, see the Related Topics. Related Topics Interacting with the Heart Monitor C simulation Overview of the Heart Monitor C simulation fil ICyProgram Files (x86)'Windchll ModelerMedeleriSystem/Helpindex himi¥pagerintegrty. Madeler2Frsme%s2Fstating the_heart_monito.... 1/1 212123, 1:25 PM fle ICxProgram Files (x86)Windchll ModelerModeleriSystem/Helo/index himi#pagelintegrty_ Madeler<2Fsme%2Finteraction_with_ Interacting with the Heart Monitor C simulation Introduction and Getting Started > Working with the supplied example models > Heart Monitor C simulation > Interacting with the Heart Monitor C simulation Interacting with the Heart Monitor C simulation 1. From the Heart Monitor's user interface, click the Power button to start the system The Lamp on the Power button is on. The pulse is displayed on the Heart Beat display. The intensity of the pulse is indicated by the Intensity LEDs and Meter. 2. Simulate an increased heart rate by moving the Rate Adjust slider to the right. The Actual Rate value increases accordingly and the rate of the pulses displayed on the Heart Beat display increases. 3. Move the Gain slider to the top, so that the intensity of the pulses increases. The Intensity LEDs and Meter indicate that the intensity of the pulses has increased. 4. Click the Power button to stop the system. The Lamp on the Power button is off. 5. Close the Heart Monitor application. The state machine is removed from the memory of your computer. Related Topics Overview of the Heart Monitor C simulation Starting the Heart Monitor C simulation 212123, 1:25 PM Overview of the He Monitor Java simulation Introduction and Getting Started > Working with the supplied example models > Heart Monitor Java simulation > Overview of the Heart Monitor Java simulation Overview of the Heart Monitor Java simulation The Heart Monitor Java model models a system for monitoring the heart rate of a patient. It displays each pulse of the patient on the Heart Beat display, and shows the intensity of each pulse through the Intensity LEDs and Meter, The Gain slider allows you to vary the gain of the system so that you can easily see the pulses on the Heart Beat display. The Rate Adjust slider allows you to simulate the heart rate of the patient. The behavior of the Heart Monitor Java has been modeled through the State Diagram in the Heart Monitor Java model. The Heart Monitor Java model contains a readme item that provides instructions for generating, building and simulating the model using Eclipse. ‘ie:/1C:tProgram Files (x86)'Windchill ModelerModeleriSystenvHlpindex himl¥pagelintegrty_ Modeler 2Frisme%42Foverview_of the_heart_m. 1" 212123, 1:28 PM ‘Overview ofthe Traffic Lights simulation Introduction and Getting Started > Working with the supplied example models > Traffic Lights simulation > Overview of the Traffic. Lights simulation Overview of the Traffic Lights simulation The Traffic Lights model models the processing for sequencing the Red, Amber and Green lights of a Traffic Lights system. The Traffic Lights system has a Wait button which allows pedestrians to cross the road. After pressing the Wait button, the Wait sign is on until the Red light is on. After the Red light is on, the Wait sign is off and the Amber light flashes 4 times. The behavior of the Traffic Lights has been modeled through the State Diagrams in the Traffic Lights model. This simulation allows you test the behavior of the state machines that have been generated from those State Diagrams. The simulation allows you to simulate the Traffic Lights sequence, and simulate the interaction of the Wait button. The Traffic Lights' user interface has been simulated using Microsoft VisualBasic. To find out more about the state machine being simulated, view the State Diagrams in Modeler. ‘A The Operations in the Traffic Lights Model contain C++ code. If you installed Modeler to the default locations, the generated files reside in the following folder: C:\ProgramData\PTC Integrity Modeler\Example\Traffic Lights The provided Traffic Lights application (WinApp.exe) is built using the Cpp Win32 Animation ACS Code Generator DLL. If you want to generate the application using a production Code Generator DLL, you must not generate any Classes as stubs, and you must comment out the body code of the Main function, Before generating and building the C++ Code application, ensure that you have built the dependent libraries. See Overview of generating C++ code for system simulation Related Topics Starting the Traffic Lights simulation Interacting with the Traffic Lights simulation fel IC:yProgram Files (x86)'Windchill ModelerModeleriSystem/Helpindex himi¥pagelintegrty. Madeler2Frisme%k2Faverview_of the traffic i... 1/1 212123, 1:28 PM ‘Opening the tafe ights medal Introduction and Getting Started > Working with the supplied example models > Traffic Lights simulation > Op lights mode! Opening the traffic lights model 1. From Modeler, on the Model tab, click Open. 2. Double-click the Examples database 3, Double-click the Traffic Lights model. afc fil yProgram Files (x86)'Windchill ModelerModeleriSystem/Helpindex himi#pagelintegrty. Madeler2Frsme%k2Fstating the traffc_ights_... 1/1 212123, 1:28 PM Staring the Taff Lights simulation Introduction and Getting Started > Working with the supplied example models > Traffic Lights simulation > Starting the Traffic Lights simulation Starting the Traffic Lights simulation 1. From Modeler, open the Traffic Lights model that resides in the Examples database (see instructions), 2. On the Simulation tab, ensure that the following buttons are selected, that is, depressed Enable Animation button: 6 (4) Log to the Output pane button. 3. From Windows Explorer, double-click the Traffic Lights application (TrafficLightsUI.exe). If you have installed Modeler to the default location, the path of the TrafficLightsUI-exe file is as follows: C:\ProgramData\PTC Integrity Modeler\Example\Traffic Lights \vb\TrafficLightsUI.exe 4, From the Traffic Lights application, ensure that the Auto-launch check box is selected. 5. Click the Start button, Enable Open Diagram Mode. After starting the simulation: * The Traffic Lights application connects to Modeler. * Modeler loads the Listener.dll * Modeler opens the instance diagrams required to animate the simulation. On the instance diagrams, the red outline indicates the active state in the state machine. * The Output pane of Modeler records a log of the simulation session. * You can now interact with the simulation through the Traffic Lights application. * You can use Modeler to inject Events and Operations, and set the values of Attributes. For more information, see Injecting an Operation into a Simulation. For information about interacting with the simulation, see the Related Topics. Related Topics Interacting with the Traffic Lights simulation Overview of the Traffic Lights simulation fie:H1C:tProgram Files (x86)'Windchll ModelerModeleriSystenvHelpindex himl¥pagellntegrty_ Modeler 2Frismo%42F starting the_traffic_lights_. 1" 212123, 1:28 PM fle IC:xProgram Files (x86)'Windchill ModelerModeleriSystem/Helo/index.himi#pagelintegrty_ Madeler<2Fsme%2Finteraction_with_{ laracting withthe Traffic Lights simulation Introduction and Getting Started > Working with the supplied example models > Traffic Lights simulation > Interacting with the Traffic Lights simulation Interacting with the Traffic Lights simulation Before you start interacting with the Traffic Lights simulation, arrange the Traffic Lights application and Modeler so that you can see both at the same time. The Traffic Lights simulation uses timer Events to cycle through the traffic light sequence. 1. From the Traffic Lights application, click the Wait button. The Wait sign is on. After the Red light is on, the Crossing State Diagram is used to make the Amber light flash 4 times before returning to the traffic light sequence. 2. From the Traffic Lights application, click the Off button. The simulation enters the Off state. The Off/On button demonstrates how you can use a Visual Basic application to inject an event with parameters. To view the script for the Off/On button, open the source files for the Traffic Lights application, which reside in the same folder as the Traffic Lights application. 3. From the Traffic Lights application, click the On button. The traffic light sequence resumes. 4. From the Traffic Lights application, click the Stop button. The state machine is removed from the memory of your computer. Related Topics Overview of the Traffic Lights simulation Starting the Traffic Lights simulation 212128, 1:26 PM Creating the VB Anather Block Example application Introduction and Getting Started > Working with the supplied example models > VB Another Block (Tatris) Example model > Creating the VB Another Block Example application Creating the VB Another Block Example application The Another Block application is built from source files generated from the VB Another Block (Tetris) Example model - ACS generates these files using the VB Generator Code Generator DLL. If you want to generate the source files for the Another Block example application, generate the files to the following folder, which contains the supporting files required to build the application. C:\ProgramData\PTC Integrity Modeler\Example\C#\Another Block (Tetris)\VS Project To generate the source files for the VB Another Block (Tetris) Example application: 1. In Modeler, open the VB Another Block (Tetris) Example model, which is provided in the Examples database 2. On the Packages pane, select the Model. j= 3. On the ACS/TDK Control tab, click the |Z_ Load or Unload ACS button 4 4. On the ACS/TDK Control tab, click the 7 Edit ACS Scheme button. 5. From the Launch ACS/TDK dialog, click the |=!_ Settings File selection button. 6. Select the provided VB Another Block (Tetris) Example.sni file that resides in the following folder (assuming you have installed Modeler to the default location): C:\ProgramData\PTC Integrity Modeler\Example\vB\Another Block (Tetris) 7. On the Standard tab of the Launch ACS/TDK dialog, confirm that the VB Generator.dll Code Generator DLL is selected. 8. Specify the Target Directory for generated code. 9. Click the Save and Launch button. Wait for ACS to finish generating to the cache. 10. On the ACS/TDK Control tab, click the [*_ Force Generate button. To build the VB Another Block (Tetris) Example application: 1. In Visual Studio, open the Another Block. sin file that resides in the following folder (assuming that you have installed Modeler to the default location) C:\ProgramData\PTC Integrity Modeler\Example\VB\Another Block (Tetris) \VS Project 2. Build the Another Block application. fie:!#C:1Program Files (x86)'Windchll ModelerModeleriSystenvHelpfindex himl¥pagellntegrty_Madelor2Frisme%42Fcreating vb_enother bloc... 11 212123, 1:28 PM The Waste System Introduction and Getting Started > Working with the supplied example models > Waste System scenario and simulation > The Waste System The Waste System The system requirements are as follows. 1. System Overview Containers of toxic waste are loaded on to a conveyor belt for scanning to identify any defects in the containers, prior to long term storage. Containers passing the scan are packed into storage cages; containers failing the scan are routed to a re-packaging area. 2. Equipment All items of equipment have built-in controllers that provide them with some degree of autonomy. For example, each item can carry out a self-test when triggered, and return a test result (as a Boolean value). a. Main Conveyor Belt Detects new containers via a pressure sensor and then transports the containers to the various items of equipment. Belt speed is selected by the operator via a 3- position switch. Starting and stopping of the belt motor is enacted via operator control of the Start and Stop buttons. The belt controller emits a signal each time the belt completes 1 cm of travel. This is used to determine the position of containers relative to items of equipment. b. Bar Code Reader When a start signal is sent to the bar code reader, it will then automatically detect the arrival of a container, read and store the bar code. It will then transmit the code number on its output line and return to idle mode. c. Scanner Scanning is triggered by a start signal. The scanner will then produce 4 frames of image data from 4 successive scans. Following transmission of the final frame, the scanner automatically returns to idle mode. d. Router The router is essentially a robotic clamp which can lift a faulty container from the belt and deposit it in a special storage area. The clamp is fitted with a set of jaws which incorporate a pressure pad that can detect the arrival of a container, The detection of a container by the jaws automatically invokes the clamping of the container and its removal from the belt. The pressure pads are activated by a start command sent to the router. On completion of routing, the router sends out a ‘completed’ signal. The router must now be reset, that is, the clamp re-positioned on the belt, before further routing activity can take place e. Cager The cager takes each container from the end of the main belt and lays it into a packing cage for later sealing, The cager operates identically to the router, f, System Controller This contains the communication and contro! hardware, operator I/O panel and main system computer. g. Operator I/O Panel This contains the controls and displays required by the operator to manually control the system. Operator functions include system start and stop, in addition to changing the belt speed. System displays include system status, the number of containers detected by the belt, and the number of faulty containers found so far. 3. Normal Operation flelIC:yProgram Files (x86)'Windchill ModelerModeleriSystem/Helplindex.himi#pagelintegrty. Madeler2Frisme%s2Fexample_models_waste.h.. 1/2 212123, 1:28 PM The Waste System A ‘cold start’ involves the operator switching on the power, and then hitting the system start button. Alll items of equipment should be tested (self test). When the belt is up to speed containers are then placed on the belt. The arrival of a container is detected by the belt pressure sensor and the ‘number of containers detected’ display is incremented. For every 1 cm of travel the belt signals the system controller which then determines the position of all containers on the belt relative to all items of equipment. When a container reaches the bar code reader the system controller sends a start signal to the reader. The reader reads the bar code and sends this back to the controller. When a container reaches the scanner, the scanner is started by the system controller. Scanning of a container takes place while the container is moving along the belt. The scanning process should categorize the container as either faulty or ok Ifa container is found to be defective, the router should remove the container from the main conveyor belt and place it in a secure re-packaging area. The ‘number of faulty containers’ display should be incremented. Non-defective containers are transported to the cager where containers are removed into a storage cage for sealing. 4. Diagnostics A diagnostic panel (separate from the operator I/O panel) provides the following. a. The display of the bar code number of the last container to be detected. b. The display of the current status of each item of equipment. cc. A mechanism for altering the arrival rate of containers. d. A mechanism for altering the fault rate of containers. e. A mechanism for injecting a faulty container on to the belt. Related Topics Creating the Waste System application Interacting with the Waste System simulation Overview of the Waste System Simulation Starting the Waste System simulation flelIC:yProgram Files (x86)'Windchill ModelerModelerSystem/Helalindex himi#pagelintegrty. Madeler2Frisme%s2Fexample_models_waste.h.. 22 212123, 1:28 PM Overview ofthe Was ‘System Simulation Introduction and Getting Started > Working with the supplied example models > Waste System scenario and simulation > Overview of the Waste System Simulation Overview of the Waste System Simulation The Waste System model models part of a processing plant that handles containers containing toxic waste. Each container is placed on a conveyor belt, where it is scanned for its bar code and leakage. If the container is OK, it is sent to the Cager; however, if the scanner detects a leak, the container is sent to the Router to be re-packaged. For information about the system requirements being modeled by the Waste System, see The Waste System. The behavior of the Waste System has been modeled through the State Diagrams in the Waste System model. This simulation allows you to test the behavior of the state machines that have been generated from those State Diagrams. The simulation allows you to simulate the system's user interface, and simulate the containers being scanned and sent to either the Cager or the Router. The simulation allows you to control whether good or leaking containers are supplied to the system. To find out more about the state machine being simulated, view the State Diagrams in Modeler. The provided Waste System application (WinApp.exe) is built using the 'Cpp Win32 Animation’ ACS Code Generator DLL. Before generating and building the C++ Code application, ensure that you have built the dependent libraries. See Overview of generating C++ code for system simulation 'A_ + The Operations in the Waste System Model contain C++ code. If you installed Modeler to the default locations, the generated files reside in the following folder: :\ProgramData\PTC Integrity Modeler\Example\Waste System\Design + On some computer configurations the waste system simulation may stop Modeler from working after a number of barrels have been processed Related Topics Creating the Waste System application Interacting with the Waste System simulation Starting the Waste System simulation The Waste System fie:11C:1Program Files (x86)'Windchill ModelerModeleriSystenvHlpindex himl#pagellntegrty_ Modeler 2Frisme%42Foverview_of th 1"

You might also like