Differences: Predecessor product to current product

When you migrate logi.CAD/32 projects/objects to logi.CAD 3 projects/objects, you will notice that the resulting logi.CAD 3 projects/objects differ from the logi.CAD/32 projects/objects in some aspects. The main reason for the differences is that:

  • logi.CAD 3 is based on the standard IEC 61131-3, edition 3.0 (= IEC-standard).

  • logi.CAD/32 is based on the standard IEC 61131-3, edition 2.0 but there have been deviations from it.

logi.cals tries to provide a complete list regarding the differences of the logi.CAD/32 compared to logi.CAD 3. However, be aware that this list does not claim to be comprehensive. Please inform logi.cals when you become aware of additional differences so that this list is modified/enhanced accordingly.

The following tables inform in which aspects logi.CAD 3 differs from its its predecessor logi.CAD/32. The aspects are grouped as logi.cals sees fit.

Explanation for tables

The columns of the tables have the following meaning:

  • Title specifies the appropriate aspect as known from logi.CAD/32.

  • Migration points out how the migration handles the aspect. Mind that the aspect is adjusted so that it matches the implementation in logi.CAD 3.
    Migration can be done by the migration wizard
    or a command line interface for migration (identified as "headless tool" in the following description). Some of the migration results can be changed by configuring a file in JSON format (= JSON file) for the migration wizard or by specifying appropriate parameters when invoking the headless tool. See the documentation "Administrator's Manual" for information about the configuration possibilities for the migration wizard and the invocation of the headless tool and its parameters.
    The icons used in this column have the following meaning:

    images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

    The aspect will be migrated.

    images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg

    The aspect will be migrated. But logi.cals advises you to check the results in logi.CAD 3. If they are not to your liking, you might have to adjust them in logi.CAD 3.

    images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/warning.svg

    The aspect will be migrated. But logi.CAD 3 will report some problems after the migration of this aspect. Check the results in logi.CAD 3 and fix the reported problems.

    images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg

    The aspect will not be migrated.
    If this aspect is not supported in logi.CAD 3, the results in logi.CAD 3 will not contain this aspect. Otherwise the columns to the right inform what can be done or how the aspect is realized in logi.CAD 3.

  • LC32 informs about details of the aspect how it is realized for logi.CAD/32. Just the different parts are mentioned.

  • LC3 informs about details of the aspect how it is realized for logi.CAD 3. Just the different parts are mentioned.

Basics

Title

Migration

LC32

LC3

identifiers in the logic
(ST and FBD)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg
Non-IEC-conform identifiers are automatically replaced.
Example: By default, Pulse-On becomes: _U_PulsetOn

If you are interested in a different replacing method, it is possible to specify a replacement list and/or the simpler algorithm (instead of the default one). This is possible for the migration wizard (by changing a JSON file) as well as the headless tool (by specifying the appropriate parameter).

Only in case of inputs (also BYREF inputs) as well as outputs: The original identifier of the logi.CAD/32 input/output is automatically used as alternate name for the logi.CAD 3 input/output as long as no alternate name is displayed for the input/output in logi.CAD/32.
The advantage of this behavior is that the block interface in logi.CAD 3 will still display the original identifiers of logi.CAD/32 while the identifiers themselves are conform to the IEC-standard. The reason for this behavior is that the alternate names are automatically used for the visual display in logi.CAD 3 (as described below).

Non-IEC-conform identifiers are allowed.
Example: Pulse-On

At special locations (e.g. at the declaration location), such identifiers might have been embedded in: @""

Only IEC-conform identifiers are allowed.
IEC-identifiers are: combination of letters, numbers, and underscore characters which begins with a letter or underscore and which names a language element; The case of letters shall not be significant in identifiers, for example, the identifiers abcd, ABCD, and aBCd shall be interpreted identically. The underscore character shall be significant in identifiers, for example, A_BCD and AB_CD shall be interpreted as different identifiers. Multiple leading or multiple embedded underlines are not allowed; for example, the character sequences __LIM_SW5 and LIM__SW5 are not valid identifiers. Trailing underscores are not allowed; for example, the character sequence LIM_SW5_ is not a valid identifier.

Example: Pulse_On

reserved keywords

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Identifiers that are reserved keywords are automatically replaced as follows:

  • For ST/FBD:

    • Identifiers that are reserved keywords in a logi.CAD 3 ST/FBD object are automatically replaced.

    • Identifiers that are reserved keywords in a logi.CAD 3 PLC object are not automatically replaced.

  • For items that become an item within a PLC-object:
    Identifiers that are reserved keywords in a logi.CAD 3 PLC object are automatically replaced.

Such identifiers are allowed.

Such identifiers might not be allowed – depending on the context

See the logi.CAD 3 product user documentation for information on reserved keywords in logi.CAD 3 product – search for "Reserved keywords in ST".

names of system blocks as names for user-defined blocks in the logic (ST and FBD)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg The names of system blocks are automatically replaced, if they are used as

  • names for user-defined blocks (as type name of user-defined functions and function blocks)

  • instance name for user-defined function blocks.

Example: The user-defined block Move becomes: _8_Move

If you are interested in a different replacing method, specify a replacement list and/or the simpler algorithm (instead of the default one). This is possible for the migration wizard (by changing a JSON file) as well as the headless tool (by specifying the appropriate parameter).

Names of system blocks are allowed as names for user-defined blocks.
Example: user-defined block Move

Names of system blocks are not allowed as names for user-defined blocks.
Example: user-defined block Move (compare MOVE block)

names of system blocks as names for variables or structuring elements in the logic (ST and FBD)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Names of system blocks are allowed as names for variables or structuring elements. Example: variable Move



Case of letters in identifiers
(ST and FBD)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Case sensitive identifiers for local variables become unique identifiers.

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/warning.svg logi.CAD 3 will report errors for other case sensitive identifiers, i.e. for for inputs, outputs, global/external variables or blocks.

case sensitivity of identifiers
Example: The variables Var1 and VAR1 are possible.

case insensitivity of identifiers
Example: The variables Var1 and VAR1 are not possible.

Objects in Project Management

Errors and omissions when migrating objects

  • When a logi.CAD/32 object is exported to an XML-file but this object is not supported in logi.CAD 3, the migration using this XML-file will not be successful. Example: A documents-object is exported.
    Best practice is to export the parent object of such objects (e.g. the project) to an XML-file. The migration using this XML-file will skip the objects not supported.

  • In logi.CAD/32, it is possible to enter various definitions in the properties of objects (in the tabs). Most of these definitions are not migrated to logi.CAD 3.
    Definitions not migrated are: printing forms (entered in tab Print-Forms), information for print-outs (entered in tab Master Data, Var.-List, Print-Order, Contents, GV-XRef, Var.-XRef), specific settings (entered in tab More), basic text for documentation (entered in tab Documentation), information for signal list (entered in tab SIG, Signal List or Signal-XRef)
    Those definitions that are migrated are listed in the following table.

Title

Migration

LC32

LC3

project

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Blanks in the project name are deleted.
Example: Version 1x3 becomes: Version1x3

Blanks in the project name are allowed.
Example: Version 1x3

Only a project name without blanks is allowed.
Example: Version1x3

libraries

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Libraries are realized ...

... as folders.

POU(ST);
ST = structured text

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

POU(ST) are realized ...

... as ST-objects.

program types(ST)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg


ST-objects containing one program

function block types(ST)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg


ST-objects containing one function block

functions(ST)





ST-objects containing one function

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg for default migration when using the migration wizard
As a consequence, the storing behavior does not change for the included variables (see "Variable declarations for ST and FBD" for details.)

It is not possible to change this migration result (by changing a JSON file).

The function(ST) becomes...

... a function block(ST).

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg for default migration when using the headless tool (without parameter -userFunctionsAsFunctionBlocks):
As a consequence, the storing behavior changes for the included variables (see "Variable declarations for ST and FBD" for details.)

The function(ST) becomes...


... a function (ST).

data types

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Data types are realized ...

... as ST-objects containing one data type.

POU(FBD);
FBD = function block diagram


POU(FBD) are realized ...

... as FBD-objects.

program types(FBD)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg


FBD programs

function block types(FBD)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg


FBD function blocks

functions(FBD)





FBD functions

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg for default migration when using the migration wizard
As a consequence, the storing behavior does not change for the included variables (see "Variable declarations for ST and FBD" for details.)

It is not possible to change this migration result (by changing a JSON file).

The function(FBD) becomes...

... a function block(FBD).

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg for default migration when using the headless tool (without parameter -userFunctionsAsFunctionBlocks):
As a consequence, the storing behavior changes for the included variables (see "Variable declarations for ST and FBD" for details.)

The function(FBD) becomes...

.... a function(FBD).

POU(LD);
LD = ladder diagram

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

program types(LD)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

function block types(LD)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

functions(LD)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

configurations

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Configurations are realized ...

... as items within a PLC-object.

resources

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Resources are realized ...

... as items within a PLC-object.

program instances

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Program instances are realized ...

... as items within a PLC-object.

type instances

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Type instances are migrated to program types and program instances.

A type instance becomes ...

  • ... an ST- or FBD-object containing the program instance-name_TypeThe object is filed in a folder with the name of the configuration and resource.

  • .... an item for a program instance within a PLC-object.

task

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Tasks are migrated with an exception.

Tasks are realized ...
Exception: A triggered task becomes ...

... as items within a PLC-object.
... a comment within the PLC-object.

global variables in configurations

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Configuration-global variables are realized ...

... as global variables in a global-object (located in a folder with the name of the configuration). The configuration in the PLC-object contains a reference to these global variables.

global variables in resources

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Resource-global variables are realized ...

... as global variables in a global-object (located in a folder with the name of the resource). The resource in the PLC-object contains a reference to these global variables.

documents-objects

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

structuring folders

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Structuring folders are realized ...

... as folders.

links

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


Create a linked resource in logi.CAD 3.

non logi.CAD/32 objects
such as PDF-files, HTML-files etc.

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg

Such objects must be copied from the logi.CAD/32 project ...

... into the logi.CAD 3 project.

vendor libraries with

vendor function blocks and/or
vendor functions

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Only the interface of vendor function blocks and vendor functions is migrated.

Regarding the sorting of variables:
images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg The same sorting is used for default migration to LC3.
images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg The variables are sorted in alphanumeric order for migration when using the headless tool with parameter -sortVariables.

Use POU-unique names (when possible, project- and POU-unique) for all C-identifiers that are available in a global namespace. Details on the reason for this can be found in the logi.CAD 3 user documentation, under "The dos and don'ts when working, When creating blocks with C-code".

The required C-code must be integrated ...

... into the application in logi.CAD 3.

definitions entered by an OEM in the tab Master Data for vendor function blocks and/or vendor functions

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg – if the project/objects are migrated when using the headless tool and the corresponding OEM-parameter -customerMode OEMID

This migration result is also possible when using the migration wizard (by changing a JSON file).

Contact logi.cals for more information.

The definitions become ...

... so-called instance parameter items.
Ask your system integrator
for details on the instance parameters.

signal data base

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

properties LC3_Namespace and LC3_Using (entered in tab More) for POUs, program instances and data types

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

The values might be a comma-separated list. These values become ...

... the according settings for namespaces.

Contact logi.cals, if you are interested in details on how to specify the mentioned logi.CAD/32 properties.

Supported elementary data types

Title

Migration

LC32

LC3

BOOL

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



SINT

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



USINT

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



BYTE

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



INT

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



UINT

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



WORD

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



DINT

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



UDINT

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



DWORD

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



REAL

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



LREAL

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



TIME

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



DATE

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

lower limit: D#0001-01-01

lower limit: D#1970-01-01

TIME_OF_DAY

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

upper limit: TOD#23:59:59.9999

upper limit: TOD#23:59:59.999_000_000

DATE_AND_TIME

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

lower limit: DT#0001-01-01-00:00:00.00

lower limit: DT#1970-01-01-00:00:00.000_000_000

STRING

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg String literals not conform to the IEC-standard are migrated. This affects e.g. string literals with double quotes or with special characters.

String literals (constants) with double quotes are migrated ...
String literals (constants) with special characters (e.g. ' µm') are migrated...

... to string literals with single quotes.
... to string literals using a three-character combination of the dollar sign ($) followed by two hexadecimal digits (e.g. ' $B5m').

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg for default migration when using the migration wizard: Strings without a size become strings with a length of 250.
It is possible to change this migration result (by changing a JSON file).

Strings with a size always keep their length – no matter if the parameter -stringLength is specified or not.



images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg for default migration when using the headless tool (without parameter -stringLength): Strings without a size become strings with a length of 128.

Strings with a size always keep their length – no matter if the parameter -stringLength is specified or not.



Variable declarations for ST and FBD

Title

Migration

LC32

LC3

variables in programs

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg – as specified in this table



variables in function blocks

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg – as specified in this table



variables in functions

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg The storing behavior changes.
Otherwise, the variables are migrated as specified in this table.

Observe that it is possible to migrate LC32 functions so that they become LC3 function blocks. As a consequence, the storing behavior does not change for the included variables (see " Objects in Project Management", items " functions(ST)" and functions(FBD) for details).

Variables in functions have storing behavior.

Variables in functions do not have storing behavior.

variables
of the following sections





VAR

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Regarding the sorting of variables:
images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg The same sorting is used for default migration to LC3.
images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg The variables are sorted in alphanumeric order for migration when using the headless tool with parameter -sortVariables.



VAR_INPUT

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



VAR_OUTPUT

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



VAR_GLOBAL

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Regarding the sorting of variables:
images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg The same sorting is used for default migration to LC3.
images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg The variables are sorted in alphanumeric order for migration when using the headless tool with parameter -sortVariables.



VAR_EXTERNAL

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Initial values for VAR_EXTERNAL are discarded.

Regarding the sorting of variables:
images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg The same sorting is used for default migration to LC3.
images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg The variables are sorted in alphanumeric order for migration when using the headless tool with parameter -sortVariables.

Initial values for VAR_EXTERNAL are possible.

Initial values for VAR_EXTERNAL are not possible.

variables
of the following types




derived variables

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



subrange variables

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/warning.svg The variable is migrated but the subrange is lost.

The subrange becomes...

a comment.

array variables

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



enumeration variables

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/warning.svg logi.CAD 3 will report errors for such variables.


not supported

variables
with the following attributes




CONST

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg A variable with attribute CONST is migrated.
But the attribute is lost for a VAR_EXTERNAL variable, a VAR_TEMP variable or a BYREF input.

CONST becomes...
The attribute is lost for VAR_EXTERNAL, VAR_TEMP or BYREF ...

CONSTANT.
because CONSTANT is not supported there.

RETAIN

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg A variable with attribute RETAIN is migrated.
But the attribute is lost or highlighted as faulty for a VAR_EXTERNAL variable, a VAR_TEMP variable or a BYREF input.

The attribute is lost or highlighted as faulty for VAR_EXTERNAL, VAR_TEMP or BYREF ...

because RETAIN is not supported there.

BYREF

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg A BYREF input is migrated to an in-out variable.
logi.CAD 3 displays the user interface of the block as it is in logi.CAD/32. This means that only the input connection point of the in-out variable is displayed in logi.CAD 3. It is also possible that other variables are located on the opposite position of the input connection point.

The BYREF input becomes...

an in-out variable (VAR_IN_OUT).

visualize

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

parameter

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

the following pieces of information for variables




long name

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg The long name is automatically enclosed by single quotes: ''

Single quotes '' within the long name are replaced...

by double quotes "" within the long name.

comment

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg The comment is automatically enclosed by single quotes: ''

Single quotes '' within the comment are replaced...

by double quotes "" within the comment.

technical units

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

scaling

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

alternate names for in-/outputs

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Alternate names are only migrated in case of the active LC32 setting Alternate I/O-names.

There is a special behavior, if no alternate name for an input (also BYREF input) or output is displayed and the identifier is a non-IEC-conform identifier: The original identifier of the logi.CAD/32 input/output is automatically used as alternate name for the logi.CAD 3 input/output (see item "identifiers in the logic (ST and FBD)" for more information).



physical address

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Physical addresses for outputs are migrated to hardware addresses for outputs conform to the IEC-standard.
This means: The second character O of the address is migrated to the second character Q.

Invalid physical addresses are removed.

Example: %OB0 is migrated to...

%QB0.

additional information e.g. for variables (specified by an OEM)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

The definitions become...

... initial values of the so-called instance parameter.
Ask your system integrator for details on the instance parameters.

Data type declarations

Title

Migration

LC32

LC3

declarations
of the following types




derived data types

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



subrange data types

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/warning.svg The data type is migrated but the subrange is lost.

The subrange becomes...

a comment.

array data types

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



enumeration data types

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/warning.svg logi.CAD 3 will report errors for such data types.


not supported

structured data types

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Regarding the sorting of variables:
images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg The same sorting is used for default migration to LC3.
images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg The variables are sorted in alphanumeric order for migration when using the headless tool with parameter -sortVariables.



Regarding the sorting of variables:
For default migration, the specification {KeepElementOrder} is entered.
For migration with the parameter, this specification is not entered.

the following pieces of information for structure elements




long name

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg The long name is automatically enclosed by single quotes: ''

Single quotes '' within the long name are replaced...

by double quotes "" within the long name.

comment

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg The comment is automatically enclosed by single quotes: ''

Single quotes '' within the comment are replaced...

by double quotes "" within the comment.

scaling

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

layout for data types: color, line type

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


The default layout is used.

Elements for function block diagram

If the POU(FBD) in logi.CAD/32 contains faulty FBD-elements, those FBD-elements are still faulty in logi.CAD 3.

Title

Migration

LC32

LC3

empty value fields

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

value fields with content and the following pieces of information




position, size

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



text (variable or literal) in value field

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

String literals (constants) with double quotes are migrated ...
String literals (constants) with special characters (e.g. ' µm') are migrated ...

... to string literals with single quotes.
... to string literals using a three-character combination of the dollar sign ($) followed by two hexadecimal digits (e.g. ' $B5m').

inverted, connected in-/outputs

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Inverted in-/outputs are called ...

... negated in-/outputs.

inverted, unconnected in-/outputs

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/warning.svg


not supported
An error message will report this error.

layout: color, font

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


The default layout is used.

flipped value fields

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Re-position such value fields in order to correct the line connections.

Flipped value fields become ...

... normal values fields but the original line connections are kept.

call of function block or functions with the following pieces of information




position, size

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



name of function block or function

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



in-/outputs: name and position

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



EN and ENO: behavior

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg
There are some differences, when EN=FALSE.

The left columns contain only the differences.
If you want information on the general behavior of EN and ENO, see the appropriate documentation.


The different behavior, when EN=FALSE:

  • All outputs of a function block or a function (except ENO) keep the most recently assigned values.

  • If the outputs of the block are connected with value fields either directly, via connector fields or indirectly (via other value fields), there will be no assignment to the variables defined in the value fields.

  • An inverted, unconnected EN input is supported but its value is ignored regarding the execution of the function block or function.


See the logi.CAD/32 online-help for information on the behavior in logi.CAD/32 – search for "Behavior of Processing Blocks with EN and ENO".

The different behavior, when EN=FALSE:

  • All outputs of a function block (except ENO) keep the most recently assigned values. But all outputs and the return value of a function (except ENO) get the initial value. Reason: Variables in functions do not have storing behavior.

  • If the outputs of the block are connected with value fields either directly or via connector fields, there will be no assignment to the variables defined in the value fields.

  • A negated, unconnected EN input is supported and evaluated with the value FALSE. EN=FALSE is applied as expected for the execution of the function block or function.

See the logi.CAD 3 user documentation for information on the behavior in logi.CAD 3 – search for "Execution control: EN, ENO".

inverted, connected in-/outputs

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Inverted in-/outputs are called ...

... negated in-/outputs.

inverted, unconnected in-/outputs

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/warning.svg


supported but such inputs are causing a warning
See the logi.CAD 3 user documentation for details – search for "Negating inputs and outputs".

layout: color, font

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


The default layout is used.

displayed instance name

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



displayed priority

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

flag for inline

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

flag for retain

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

instance data

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Some lists and/or a format string might become normal text.

The list %"@ID:*" ... %"" becomes ...
The other lists (starting with %"@MD:*" or %"*") become ...
Format strings %n, %t, %v in the list become ...
The format string %i in the list becomes ...

Wildcards for data items within the list are supported in logi.CAD/32.
Example: %"@ID:A*"Value: %v%"" becomes ...

... the appertaining dynamic text for the instance data: {instanceData("...")}
... normal text, that is: %"@MD:*" and %"*"
... the parameters %n, %t, %v for the instance data.
... normal text, that is: %i

Wildcards for the instance data elements are not supported in logi.CAD 3.
... the dynamic text {instanceData("A*", "Value: %v")} – But no text would be displayed in logi.CAD 3.
Workaround in logi.CAD 3: Change A* to the specific name of an instance data element, e.g. ActiveGroup. Subsequently, the value would be displayed for {instanceData("ActiveGroup", "Value: %v")}.

comment fields with the following pieces of information




position, size

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



text in comment field

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



graphics in comment field

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

layout: color, font

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


The default layout is used.

comment fields attached to empty value fields

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

comment fields attached to other elements in FBD

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Some format strings might become normal text.

Attached comment fields become ...
Format strings in attached comment fields become ...

... attached comment fields.
... dynamic text, if the appertaining dynamic text is supported in logi.CAD 3 (see the logi.CAD 3 user documentation for information which dynamic texts are supported).
Other format strings become normal text.

connector fields with the following pieces of information


Connector breaks are called ...
Connector continuations are called ...

... connectors.
... continuations.

position, size

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



text in connector field

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg

The text (name) for the connector is adjusted ...

... so that the name is unique.
Example: when there is already a variable with the same name

layout: color, font

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


The default layout is used.

flipped connector fields

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Re-position such connector fields in order to correct the line connections.

Flipped connector fields become ...

... normal connector fields but the original line connections are kept.

invisible connector fields (= mini connector fields)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg

Invisible connector fields become ...

... normal connector fields.

lines connected to FBD-elements, connecting an input with an output

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



lines connected to FBD-elements, connecting an input with a different input

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/warning.svg Such lines are migrated but they are highlighted as faulty in logi.CAD 3.

It is possible to create a line and its starting or ending point are different inputs.

It is not possible to create such lines.

open lines
(lines not connected to FBD-elements)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg

It is possible to create a line and its starting or ending point is not connected to any element.

It is not possible to create such lines.

line connections with the following pieces of information




routes of lines

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



fixed nodes for lines

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Nodes for lines are called ...

... connection points.

layout: color, font

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


The default layout is used.

OLT-fields in function blocks or programs




OLT-fields for value fields with content

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



OLT-fields for empty value fields

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

OLT-fields for function block instances

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



OLT-fields for function calls

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

OLT-fields for in-/outputs of function block instances

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



OLT-fields for inputs of function calls

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

OLT-fields for outputs of function calls

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



unconnected OLT-fields

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

OLT-fields in functions

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

OLE-objects

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

feedback loops

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/warning.svg Feedback loops are not touched.
That means logi.CAD 3 will report the feedback loops not allowed, after the logi.CAD 3 has been imported.

A feedback loop caused after a function call is allowed.

A feedback loop caused after a function call is only allowed, if a value field or a function block call follows the function call.

Depending on the configuration of logi.CAD 3, feedback loops for functions without a variable in between are highlighted as error or warning.

execution order of networks, if all network inputs are part of explicit feedback loops within the network

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg A different execution order might result. This different execution order of networks might influence the behavior at the end of the task cycle.

If all inputs of the network are part of explicit feedback loops within the network or an input is used as output by another network, the network cannot be evaluated at first.
In such a case the next network to be evaluated is determined.

If all inputs of the network are part of feedback loops within the network, the network can be evaluated.
Only if an input of the network is used as output by another network, the network cannot be evaluated at first and the next network to be evaluated is determined.

execution order of networks, if a variable is used as array index for statements

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg A different execution order might result.

In the default variant, logi.CAD/32 distinguishes where the array variable is used for the statement:

  • If the array variable is used as source for the statement, logi.CAD/32 waits for the evaluation of the variable which is used as array index.

  • If the array variable is used as target for the statement, logi.CAD/32 does not wait for the evaluation of the variable which is used as array index.

Note: There is a processing variant for logi.CAD/32 that is identical to the logi.CAD 3 behavior.

logi.CAD 3 always waits for the evaluation of the variable which is used as array index – no matter where the array variable is used for the statement.

execution order within networks

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg A different execution order might result, if:

  1. there is no assignment in the feedback loop.

  2. the feedback loop is caused after a function call.

  3. the network contains a call with a connected input EN.

  1. The call of the function or of the function block being most top/left is selected for evaluation.

  2. Functions in feedback loops might result ...

  3. An EN-bracketing includes all following assignment statements (up to the next invocation statement). These statements are executed, if the input EN=TRUE.

  1. The call of the function block being most top/left is selected. The outputs of this call are considered as evaluated until the call can actually be evaluated.

  2. ... in a different execution order within the network.

  3. An EN-bracketing includes the immediately following assignment statement only. This statement is executed, if the input EN=TRUE.

Note: Different rules are applied, if you have used the start option lc3.fbdStatementSortLC32 to activate the execution order modeled after the predecessor product logi.CAD/32. The behavior modeled on the predecessor product corresponds to the behavior in the predecessor product with the logi.CAD/32 environment variable LC32_SORTORDER_TAR_DEP_CHECK=1. Details about the rules of the execution order for logi.CAD/32 can be found in the online help of logi.CAD/32. the information about LC32_SORTORDER_TAR_DEP_CHECK=1 can be found in the documentation for administrators of the predecessor product (in the article "Defining Processing Variant Concerning Variables Used as Array Index").

the following pieces of information for FBD-elements




hyperlinks

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

properties

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

shapes

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

the following pieces of information for the drawing field




size

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg
Due to the different dimensions of page sizes in logi.CAD/32 and logi.CAD 3, the page size is decreased by one size.

Example: The page size "DIN A3" in logi.CAD/32 becomes...

page size "DIN A4" in logi.CAD 3.

layout: value field area

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



other layout: connector field area, grid, color, DXF-forms in background

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


The default layout is used.

the following pieces of information for the sheets




page number, short name

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

long name

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

The long name becomes...

the page name.

information on creation, changes

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

information on labeling system: ULS, PPLS, page ID

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

Sequential function chart (SFC)

Title

Migration

LC32

LC3

steps and initial steps

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



transitions

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/warning.svg

Transitions with an inverted input for the transition condition but without a connected value field differ in their behavior.
In contrast: Other transitions have the same behavior.


Such transitions are never enabled.


Such transitions are not supported in logi.CAD 3. An error message will report this error.

action blocks

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/warning.svg
The comment of an action block is not migrated.
The indicator variable of the action block is transferred – but only if it is shown.


The comment of an action block...
The shown indicator variable of an action block...
If an indicator variable is hidden in logi.CAD/32, ...


... is not supported in logi.CAD 3.
... becomes a value field containing the variable. The value field is connected to the action block.
... the hidden indicator variable is ignored (and will not become a value field).

connecting one step to one transition and vice versa

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Check the messages of the logi.CAD/32 tool LCxmlExport whether error messages on SFC connections prevent a migration.



other connections for step sequences:

  • connecting one step to several transitions (alternative branch)

  • connecting several transitions to one step (alternative junction)

  • connecting one transition to several steps (parallel branch)

  • connecting several steps to one transition (parallel junction)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



An alternative branch is called ...
An alternative junction is called ...
A parallel branch is called ...
A parallel junction is called ...

Lines of these connections are ...



... a divergence.
... a convergence.
... a simultaneous divergence.
... a simultaneous convergence.

... displayed with another line style.

execution order of SFC networks and SFC elements

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg The execution order of SFC differs.

The execution order of SFC differs ...

See the logi.CAD/32 online-help for information on the behavior in logi.CAD/32.

... from the evaluation of SFC elements.

See the logi.CAD 3 user documentation for information on the behavior in logi.CAD 3.

Ladder diagram

Title

Migration

LC32

LC3

LD (ladder diagram)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg

If you migrate ladder diagrams anyway, it is likely that the results in logi.CAD 3 will differ from your expectations.

Ladder diagrams in logi.CAD/32 are differently realized ...

... than in logi.CAD 3.

Graphical interfaces for user-defined function blocks or functions

Title

Migration

LC32

LC3

displayed text: name

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



displayed text: alternative text

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



size

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



extendable

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



in-/outputs

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



position of in-/outputs

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



layout: background color

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



other layout options, such as font

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


The default options for the layout are used, when a new call is set.

the following pieces of information




setting whether a specific in-/output is to be inverted

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

setting whether instance name is to be displayed

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg



setting whether to generate INLINE-code

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

setting whether EN and ENO are to be displayed

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

setting Alternate I/O-names (= whether alternate names for in-/outputs are to be displayed)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg The behavior is slightly different.

The alternate names are used for the visual display, only if the LC32 setting is checked.
If there are no alternate names, nothing is displayed.

The alternate names are automatically used for the visual display.
Currently, there is no LC3 possibility to define alternate name and to not use them for the visual display (instead of the I/O-names).

setting for priority

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

the following elements in the interface




attribute input fields

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported

comment fields containing the format string %I for the instance name

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Such comment fields become ...

... the instance name displayed within the interface.

other comment fields

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg
Some of the format strings are not resolved.
In case of attached comments fields, the attachment is lost.

Format strings in comment fields, such as %t and %q, become ...
Other format strings in comment fields ...
Attached comment fields become ...
Format strings evaluated due to the attachment ...

... normal text (such as the type name).
... are not resolved.

... normal comment fields.
... are not resolved.

layout of comment fields

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

The layout of comment fields is migrated...

as far as LC3 supports the respective layout option.

value fields for an input, if the input is not connected

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

The value field incl. its content ...

... is migrated. Reason: The content of the value field (e.g. a literal) is used as value for the input.

value fields for an input, if the input is connected

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg

Only the value field ...

... is migrated.
The content of the value field is not migrated. Reason: The value of the connected FBD-element is used as value for the input.

Note: This aspect applies to the textual format of the FBD-editor. If you delete the connection, the value field incl. its contents is displayed nevertheless. It is possible to enter a different value (that will be entered within the textual code of the FBD-editor).

graphics

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg


not supported