TwinCAT 3.1 Build 4024

The following new properties and features are available with TwinCAT 3.1 Build 4024.

Category

Feature

Further information

Available from build revision

Development support

"Go to definition" command available in the PLC process image

Command Go To Definition

4024.0

Menu command and hotkey for uncommenting or canceling an uncommenting

Command Comment Selection

Command Uncomment Selection

4024.0

Identification of unlinked allocated variables (AT%I, AT%Q)

see below

4024.10

Storage format

Optional storage format Base64

Command Properties (object)

4024.0

Compiler

Conditional compilation – in addition to the implementation editor – now also available in the declaration editor

Conditional pragmas

4024.0

Object-orientated programming

Extended monitoring of an interface variable:

Symbol path and online data of the currently assigned FB instance are displayed under the interface variables in the monitoring area (declaration editor, monitoring list).

Object Interface

4024.0

Mini-icons show access modifier:

Mini-icons on the object symbols in the project tree show whether the object is private, public or protected.

Object Method

4024.0

ABSTRACT keyword

ABSTRACT concept

4024.0

Online features

{attribute 'to_string'} for enums:

This attribute is used in order to textually query the name of an enum element by means of TO_STRING/TO_WSTRING.

Attribute 'to_string'

4024.0

Exception-Handling via __TRY/__CATCH
(for 32-bit runtime systems)

__TRY, __CATCH, __FINALLY, __ENDTRY

4024.0

Memory reserve for Online Change

Configuring the memory reserve for Online Change

4024.0

Details button in the message window when logging-in a changed PLC project

Updating the PLC project on the PLC

4024.0

Command "Go to instance"

Command Go to Instance

4024.0

Error analysis with core dump

Error analysis with core dump

4024.11

Miscellaneous

Option "Generate tpy file"

Category Compile

4024.0

Identification of unlinked allocated variables (AT%I, AT%Q)

With the help of the summary described below, you can obtain an overview of the allocated variables (AT%I, AT%Q) that are not linked. As a result of this you can, for example, obtain an overview of the links or the project status.

Procedure:

1. Double-click the input or output process image of a PLC task in the Solution Explorer (e.g. double-click the object "PlcTask Inputs" or "PlcTask Outputs").
A summary opens showing the allocated inputs or outputs of this PLC process image (see below, first screenshot).
2. Click the header of the second table column (column header: "[X]").
Only those allocated inputs or outputs that are not linked are still shown (column header changes to : "[ ]" (see below, second screenshot).
3. Click the header of the second table column again.
All allocated inputs or outputs are shown again (column header changes to "[X]").

Notes:

Values of the column "[X]" or "[ ]":

Column value

Meaning

Example (see *)

Example variable in the screenshots (see below)

Empty

Not linked

 

IbUnlinked

X

Linked

Individual linked variable

IbLinked

MAIN.aIn3[1]

Array where the array itself is linked

MAIN.aIn1

Array where all elements of the array are linked separately

MAIN.aIn2

P

Partially linked

Array where at least one, but not all elements of the array are linked separately

MAIN.aIn3

I

Indirectly linked (via a parent variable)

Elements of an array where the array itself is linked so that the array elements are indirectly linked as well

MAIN.aIn1[1]

* The named array examples are also transferrable to structured variables (e.g. structure instance) and their sub-elements.

TwinCAT 3.1 Build 4024 1:
TwinCAT 3.1 Build 4024 2: