When you update a legacy project to EcoStruxure Machine Expert V2.2, consider the following restrictions:
A new project format is used for POUs. You can open POUs that had been created with previous versions, but after you have modified and saved them with V2.2, they can no longer be opened and compiled with previous EcoStruxure Machine Expert versions.
The library profile is ignored for placeholder resolution. During a project update, the placeholders that were resolved in a previous EcoStruxure Machine Expert version by the library profile become . For further information, refer to the Functions and Libraries User Guide.
Visualization elements for trends and alarms are supported in web visualizations only. They are no longer supported in integrated visualizations.
The property LanguageModelAttribute of the library Codesys Memory Manager has been changed to qualified-access-only. Thus, symbols in this library (for example, symbol NULL
) need to be prefixed by the namespace CMM (for example, CMM.NULL
).
The EcoStruxure Machine Expert component ( menu) is no longer available with V2.2. For usage with V2.1, reinstall it using the Schneider Electric Software Installer:
Update SoMachine V1.1 projects in a first step to SoMachine V3.1. After that, update to the EcoStruxure Machine Expert version.
After updating a project made in SoMachine V3.1 to EcoStruxure Machine Expert, the Advantys OTB DTM and the TM5-7 DTM may be unresponsive or unreliable.
If this happens, copy and paste the same DTM. The new node will work fine.
You can then remove the old DTM node.
After updating a project made in EcoStruxure Machine Expert V1.2.x to V2.0, in the Continuous Function Chart (CFC), the Auto Data Flow Mode is selected which may change the execution order and can lead to a different behavior.
WARNING | |
---|---|
For further information, refer to the chapter Manually Defining the Execution Order in the EcoStruxure Machine Expert Programming Guide.
In SoMachine V3.1 it was possible to use internal variables implicitly created when adding a CANopen slave to access some information on the state of the device. For example, MyOTB.nStatus or MyOTB.bSlaveAvailable.
These internal structures are no longer supported in EcoStruxure Machine Expert. Instead, use the GET_STATE function blocks of the CIA405 library to retrieve the state of your CANopen slaves.
The feature that allows you to map variables on single bits is only available for devices that have been created with EcoStruxure Machine Expert.
In EcoStruxure Machine Expert projects that have been updated from a version earlier than SoMachine V4.0, this feature is not available for the existing / updated devices.
To make the feature available for these devices, create a new device node and delete the old one.
If you use the 3S CanOpenStack library in your project, the following error may be detected and displayed in the view:
where is a POU inside your project (for example, a POU named START or STOP).
As the library 3S CanOpenStack is of the category (not intended for direct usage), it is a best practice to enable the option in the dialog box of this library for overcoming the error.
When you update a SoMachine V3.1 project, the message may be displayed in the view. It indicates that variables defined in a GVL of a library are not correctly shared in the symbol configuration editor.
To share again this variable in the symbol configuration, proceed as follows:
Step |
Action |
---|---|
1 |
Double-click the EcoStruxure Machine Expert version. node in the to open the symbol configuration editor inside the updated project in your |
2 |
Deselect the variable that is not correctly shared. |
3 |
Close the symbol configuration editor. |
4 |
Reopen the symbol configuration editor. |
5 |
the application. |
6 |
Select the variable again in the symbol configuration editor. |
In SoMachine V3.1, a Remote Connection tool is available for connecting to controllers in remote subnets.
In EcoStruxure Machine Expert, connections to controllers in remote subnets are established with the tab in controller selection mode of the device editor by using the types for . For connections via OPC, use the tab of the Gateway Management Console.
In EcoStruxure Machine Expert, connections to controllers in remote subnets can be established from the tab of the Gateway Management Console. To open the Gateway Management Console, right-click the gateway icon in the Windows notification area. For further information, refer to the Gateway Management Console User Guide online help.
myvar AT %Mn : BOOL
Cause Error Messages
When you build a SoMachine or SoMachine Motion application (created with SoMachine V3.1 or earlier), with EcoStruxure Machine Expert, the message may be displayed if you use direct addresses of the type myvar AT %Mn : BOOL
in your variable declarations.
You can skip this message by selecting
.In any case, this usage will lead to view.
errors that will be displayed in the
To avoid these myvar AT %MXn.0 : BOOL
.
If you have defined an M251 MESE EtherNet/IP adapter function on an connector in an application built with SoMachine V4.1 SP1 or earlier, and you intend to convert this application to a later version, then the EtherNet/IP adapter previously configured will be deleted.
Starting from firmware V4.0.4.x (SoMachine V4.1 SP2) for M251MESE and V4.0.5.x (SoMachine V4.2) for M241 and M251MESC, the EtherNet/IP adapter service has the following limitations:
The File Object is removed.
The Modbus Object is removed.
The value displayed for the RPI (Requested Packet Interval) parameter is not valid for M251MESE with SoMachine earlier than V4.1SP2 and for M241 with SoMachine earlier than V4.2.
The RUN/IDLE status of the PLC_R structure is not valid.
The UCMM (Unconnected Message Manager) Error Count and Class 3 Error Count of the PLC_R structure are not valid.
When you update an application from SoMachine V4.2 to EcoStruxure Machine Expert, this may lead to a different M241 Logic Controller / M251 Logic Controller behavior on the TM3 bus:
SoMachine version |
Default behavior if an error is detected |
Default value of Parameter TM3_BUS_W_IOBUSERRMOD |
---|---|---|
V4.2 |
I/O exchanges continue on the TM3 bus. |
IOBUS_ERR_PASSIVE |
V4.3 |
I/O exchanges are stopped on the TM3 bus by the logic controller. |
IOBUS_ERR_ACTIVE |
To preserve the behavior of SoMachine V4.2, set the parameter TM3_BUS_W_IOBUSERRMOD to IOBUS_ERR_PASSIVE. For further information, refer to the M241 / M251 PLCSystem Library Guide.
Read/Write (FUNC23)
Is Not Transformed Automatically
Read/Write (FUNC23)
used in Modbus IOScanner for Serial Line in SoMachine V3.1 or earlier is not automatically transformed to Read (FUNC03) and Write (FUNC16) in EcoStruxure Machine Expert if the slave does not support the Read/Write function.
Modify the application manually by separating the Read/Write function into one Read and one Write.
Whenever you update a SoMachine or SoMachine Motion project file containing devices for which no new device description files are installed in the present EcoStruxure Machine Expert device repository, these devices are not recognized by EcoStruxure Machine Expert. This applies in particular to devices imported from EDS files.
To avoid this, install these devices before updating your project. For further information, refer to the chapters Using Existing SoMachine or SoMachine Motion Projects with EcoStruxure Machine Expert and Migration Considerations.
If you have renamed parameters of a POU for a library between versions, the old parameter names will still be used in the POU code.
In order to use the new parameter names, execute the command manually on the corresponding POU call usage.
For a description of this command, refer to the SoMachine Menu Commands Online Help section of the EcoStruxure Machine Expert Online Help.
When updating a project created with SoMachine or EcoStruxure Machine Expert V1.2.x or earlier versions, slider elements used in Web Visualizations may be displayed without a scale.
This is because, for compatibility reasons, existing sliders are not updated automatically during the project update. To update the element manually, update the scale proportion property of the slider by editing the property and accepting the present value.
For sliders without a scale, the show scale property has to be temporarily set.