Beckhoff: New Features TwinCAT 3.1

September 5, 2019

One of the many advantages gained by the integration of TwinCAT 3 into Visual Studio® is the possibility to use source code control procedures which are already familiar from IT for software engineering in automation. Thus, management and revision control of complete configurations and the required program code are much simplified. TwinCAT Automation Interface provides a simple interface for automatic code generation. It enables complete configurations for I/O and Motion along with the corresponding program code to be generated automatically. With version 3.1, TwinCAT Scope is also integrated in Visual Studio®. New channels can be easily created by drag and drop. A link to the source code administration and the automation interface is directly integrated.

The core-isolation mode of TwinCAT 3.1 enables individual cores of multi-core CPUs to be reserved for the exclusive use of TwinCAT. Moreover, 64-bit and CE versions are supported as a platform for the TwinCAT runtime alongside 32-bit operating systems.

In TwinCAT 3.1, Scope is completely integrated into Visual Studio® including configuration and display functions. The Scope configuration is managed as an individual measurement project. Links to the Automation Interface and the source code administration tools are already integrated.

New functions in TwinCAT 3.1 Build 4024

  • General new features
    • integration of Visual Studio 2017 Shell (TcXaeShell)
    • new home page, including new RSS feed with TwinCAT information
  • Variant Management
    • simple configuration of machine options
    • version-specific deactivation/activation of components
    • version-specific parameterisation
    • mapped through ‘conditional compilation’ in the PLC
  • Multi-user PLC capability
    • several programmers can work on the same PLC project simultaneously
    • integrated workflow
  • Time synchronisation
    • corrected time stamps for data records, e.g. via NTP protocol
  • New properties in the IO configuration
    • improved overview in the mapping dialog
    • ‚Go To Definition‘ from the PLC process image to the PLC code
  • New PLC features
    • improvements in the cross-reference list (new filter, performance enhancements)
    • new keyword: ABSTRACT for abstract FB/method/property definition
    • improved monitoring of interface variables
    • small icons in the solution tree show access modifiers
    • ENUMs now also available as strings in the PLC
    • exception handling via TRY-CATCH
    • simplified commenting function in the PLC
    • ‘Released’ flag is used during library creation
    • conditional compilation also available in the declaration section (in addition to implementation part)
    • multi-line support in pragma declarations
    • new, optional Base64 memory format for graphical PLC objects
  • New PLC HMI features
    • automatic local start of the PLC HMI client at runtime
    • dynamic scaling for the operating elements of the measuring equipment category
    • offline rotation of elements
    • performance improvements during opening of dialogs
    • automatic transfer of scaling options of the TargetVisu object to the Tc3PlcHmi.ini file
  • New C++ properties
    • exchange of TcCOM modules while the machine is running
    • repository for versioned C++ projects
    • new way of signing TcCOM modules
  • New MATLAB®/Simulink® properties
    • exchange of TcCOM modules while the machine is running
    • new way of signing TcCOM modules
  • New AML data exchange
    • based on the AutomationML format
    • bidirectional exchange of I/O topologies with ECAD tools
    • incremental import of I/O topologies
    • fully integrated in TwinCAT
  • New safety-related features
    • User-defined function blocks can be created and instantiated as often as required (including GoToDefinition, Online View, nesting up to 2 levels).
    • multiple use of variables
    • global variables
    • auto-completion when entering variables
    • improved overview in variable mapping
    • improved commenting functions
  • New ADS features
    • ‘Secure ADS’ Extension (uses tcp port 8016): encrypted ADS communication
  • New Scope features
    • project wizard facilitates Scope configuration
    • new single bar and digital charts
    • dynamic style for dynamic display switching, depending on variables
    • shapes: display of geometric shapes in x/y plots
    • vision trigger: inserts images with time stamp into the Scope data stream
    • headless mode: allows the view to be disconnected from the server during recording
    • marker: with docking function on the x-axis and label feature
    • integrated dictionary with physical units
    • clear display option for clearing the chart after the display time has elapsed

New Features in TwinCAT 3.1 Build 4022

General Features

  • Multi-dongle support – use of more than one TC3 dongle in the same system
  • Automatic detection of TC3 USB dongle – no further dongle configuration required
  • Platform level downgrade option for TC3 dongles
  • ADS over MQTT – additional transport channel for ADS
  • Integrated PLC library TC3_IotBase for TF6701 IoT Communication
  • New node “Type System”
  • Share data types between TwinCAT projects via file
  • New .tnzip support – archiving of different projects in one file (i.e. TwinCAT project + Scope project)

PLC Features

  • Standalone PLC: PLC project can be separated from TwinCAT project
  • New symbolic mapping as a basis for standalone PLC
  • Multiple instances of the same PLC project possible
  • Zoom function in Structured Text editor
  • Expand/Collapse code segments identified with “region“
  • IntelliSense in CFC
  • Library Manager shows special icon when placeholder is redirected
  • Compiler detects write access to located input variables (with %I*)
  • New JSON and XML parser

TwinCAT Scope View

  • New Overwrite Mode to clear the chart display after display time
  • New Clear Display option for Restart and Stop Display Trigger
  • New oversampling support for trigger channels
  • New scaled values in Tool Tip of data marks
  • New Support Information Report Tool

Source

Related Articles


Changing Scene

  • Weidmüller Canada Is Growing Their Team & Investing in the Future of Engineering

    Weidmüller Canada Is Growing Their Team & Investing in the Future of Engineering

    Weidmüller Canada is growing their team and investing in the future of engineering. They are proud to welcome Ada Santavy, Laura Cochrane, and William Watson, the newest hires of Weidmüller’s Engineering Launchpad Program, an innovative initiative that combines technical and soft skills training, mentorship from industry veterans, and hands-on project experience to develop well-rounded engineering… Read More…

  • Leviton Canada Announces Jim Hartery as New Territory Manager, Alberta

    Leviton Canada Announces Jim Hartery as New Territory Manager, Alberta

    Please join Leviton Canada in welcoming Jim Hartery to their team! Jim brings extensive experience in sales and account management within the electrical industry, along with a proven track record of building strong customer relationships, developing new business opportunities, and driving growth across both new and existing accounts. Leviton is thrilled to have Jim on… Read More…


Sponsored Content
The Easy Way to the Industrial IoT

The way to the Industrial IoT does not have to be complicated. Whether access to valuable data is required or new, data-driven services are to be generated, Weidmuller enables its customers to go from data to value the easy way. Weidmuller’s comprehensive and cutting-edge IIoT portfolio applies to greenfield and brownfield applications. Weidmuller offers components and solutions from data acquisition, data pre-processing, data communication and data analysis.

Visit Weidmuller’s Industrial IoT Portfolio.


ADVANCED Motion Controls Takes Servo Drives to New Heights (and Depths) with FlexPro Extended Environment Product Line

Advanced Motion Controls is proud to announce the addition of six new CANopen servo drives with Extended Environment capabilities to their FlexPro line. These new drives join AMC’s existing EtherCAT Extended Environment FlexPro drives, making the FlexPro line the go-to solution for motion control applications in harsh environments.

Many motion control applications take place in conditions that are less than ideal, such as extreme temperatures, high and low pressures, shocks and vibrations, and contamination. Electronics, including servo drives, can malfunction or sustain permanent damage in these conditions.

Read More


Service Wire Co. Announces New Titles for Key Executives

Bruce Kesler and Mark Gatewood have been given new titles and responsibilities for Service Wire Co.

Bruce Kesler has assumed the role of Senior Director – Business Development. Bruce will be responsible for Service Wire’s largest strategic accounts and our growing Strategic Accounts Team.

Mark Gatewood has been promoted to the role of Vice President – Sales & Marketing. In this role, Gatewood will lead the efforts of Service Wire Company’s entire sales and marketing organization in all market verticals.

Read More


Tri-Mach Announces the Purchase of an Additional 45,000 sq ft. Facility

Tri-Mach Elmira Facility

Recently, Tri-Mach Inc. was thrilled to announce the addition of a new 45,000 sq ft. facility. Located at 285 Union St., Elmira, ON, this facility expands Tri-Mach’s capabilities, allowing them to better serve the growing needs of their customers.

Positioning for growth, this additional facility will allow Tri-Mach to continue taking on large-scale projects, enhance product performance testing, and provide equipment storage for their customers. The building will also be the new home to their Skilled Trades Centre of Excellence.

Read More


JMP Parent Company, CONVERGIX Acquires AGR Automation, Expanding Global Reach

Convergix Automation Solutions has completed the acquisition of AGR Automation (“AGR”), a UK-based provider of custom, high-performance automation design and systems integration primarily to the life sciences industry.

Following Convergix’s acquisitions of JMP Solutions in August 2021 and Classic Design in February 2022, AGR marks the third investment in Crestview’s strategy to build Convergix into a diversified automation solutions provider targeting the global $500+ billion market, with a particular focus on the $70 billion global systems integration and connectivity segments. Financial terms of the transaction were not disclosed.

Read More


Latest Articles

  • Texcan: Teck, Vertical Riser & AIRGUARD – Cable Solutions for Demanding Environments

    Texcan: Teck, Vertical Riser & AIRGUARD – Cable Solutions for Demanding Environments

    Teck, Vertical Riser Teck, and AIRGUARD address distinct installation needs for industrial and vertical‑riser installations. Each product targets specific installation needs: Teck for general industrial feeders, Vertical Riser Teck for continuous vertical runs, and AIRGUARD to deliver high crush resistance and corrosion protection on long runs. Understanding the differences in application can help ensure the right cable is selected for the… Read More…

  • Mouser: Industrial Ethernet vs Fieldbus – Architecture, TSN & Migration

    Mouser: Industrial Ethernet vs Fieldbus – Architecture, TSN & Migration

    Fieldbuses once replaced bundles of wiring with shared, deterministic networks. For years, they carried control signals reliably and predictably. However, as equipment, sensors, and data systems proliferated, fieldbus limitations emerged. The central issue today is real-time operational visibility. Engineers need networks that move control data, diagnostics, and process information across the plant as reliably as… Read More…