• Articles
  • API reference
  • Previous Versions
Show / Hide Table of Contents
  • Introduction
  • How to
    • Implement recipe management
    • Connect to a influx database
    • Invoke C# from PLC
    • How to access TwinController
    • How to write documentation blocks
    • How to make Inxton compiler ignore unknown syntax
    • Cyclic, Synchronous and Batched access
    • How to generate UI
    • How to include TcOpen in your project 🔗
    • Video how tos 🔗
  • Core
    • Introduction
    • Compiler
      • Intro to compiler
      • Added Properties
      • Attributes
      • Documentation Block
      • Fake Comments
      • Ignoring Parts Of Code
      • Twin Controller
      • Twin Objects
      • Twins
    • Connector
      • About connector
      • Primitive Twins
  • Essentials
    • Introduction
    • Rendering engine
      • Generating user interface
      • How it works
      • Presentation types
    • Controls
      • Controls
    • Styling your app
      • Styling your application
      • Color system
      • How to apply styles
      • Override default colors
      • Buttons
    • Conmponents convetions 🔗
  • TcOpen 🔗
    • Messaging, Logging, sequences 🔗

TwinController

TwinController is the root object that represents the .net counterpart of the entire PLC project. It is the entry point to the PLC program objects. TwinController contains instances of all PRGs (Program POU) and GVLs (Global Variable Lists).


tc3toInxton

TwinController class is named by convention [PlcName]TwinController.

TwinController exposes two special properties 'Online' and 'Shadow'. Online gives access only to online variables (direct access to PLC's values )and reduces the exposure of members that are not related to online access. Shadow gives access to shadow value holder with no direct access to PLC's values.

NOTE: PRG's symbols are not present on the communication layer if not attached to a running task or if not called in a POU that is called in some task of the PLC.

See also

  • TwinObjects
  • PrimitiveTwins
  • Twin concepts
  • Improve this Doc
In This Article
Back to top

Generated by DocFX | Developed with ❤ at MTS - putting the heart into manufacturing.