Somachine Software 4.3: Release Notes
Somachine Software 4.3: Release Notes
Somachine Software 4.3: Release Notes
4.3
Release Notes
.
Build: 17.06.21.01
Release Date: 21. June 2017
Development Stage: Final
This documentation is not intended as a substitute for and is not to be used for determining suitability or reliability of these products for
specific user applications. It is the duty of any such user or integrator to perform the appropriate and complete risk analysis, evaluation
and testing of the products with respect to the relevant specific application or use thereof. Neither Schneider Electric nor any of its
affiliates or subsidiaries shall be responsible or liable for misuse of the information contained herein. All pertinent state, regional, and
local safety regulations must be observed when installing and using this product. When devices are used for applications with technical
safety requirements, the relevant instructions must be followed. Failure to use Schneider Electric software or approved software with our
hardware products may result in injury, harm, or improper operating results. Failure to observe this information can result in injury or
equipment damage. If you have any suggestions for improvements or amendments or have found errors in this publication, please notify
us. No part of this document may be reproduced in any form or by any means, electronic or mechanical, including photocopying, without
express written permission of Schneider Electric.
3. APPENDIX .......................................................................................................................................... 20
3.1. Migrating an ATV32 to an ATV320. ............................................................................................... 20
3.1.1. As a preliminary step, you need the configuration file corresponding to the ATV32 device to
convert. .....................................................................................................................................................20
3.1.2. The conversion can be performed according to the following procedure: ......................................20
An Outdated Windows 7 is the reason for C++ Redistributible 2015 Installation getting stuck. After
Installing KB2999226 the installation of C++ Redist. can be done.
This KB is available at:
https://www.microsoft.com/en-us/download/confirmation.aspx?id=49093
For more details please have a look at “Troubleshooting and FAQ” in SoMachine Programming
Guide.
The SoMachine Installation may require a reboot after the first installation step is done.
A popup will be shown where you should confirm the reboot. Afterwards, start the SoMachine Configuration
Manager manually and continue the installation.
2.2. Registration
You can use the software for 21 days after installation without restrictions. After this trial period you have to
register SoMachine to run the software for an unlimited period.
Please refer to SoMachine Central’s Help Center Registration Menu for information on how to register.
• Management of I/O resource allocation were optimized for High Speed Counter and Pulse Train
Output, to provide more configuration capacities. It is possible to configure up to 4 HSC main or 4
PTO.
• An OPC UA server is embedded inside the controllers which allows exchanging up to 1000 variables
refreshed at 200 ms. In SoMachine, a new device editor tab allows accessing the configuration and
a new application object allows defining variables to exchange
2.3.2. Support of variable speed drives Altivar ATV6•• and ATV9•• ranges
New devices for CANopen, ModbusTCP, EtherNet/IP
TVDA Device Modules can be accessed from the software catalog , inside the tab
“Macros” > Function Template.
Device Templates are available for the supported fieldbuses: CANopen, ModbusTCP, and
EtherNet/IP.
They can be accessed from the Hardware catalog , inside the tab Device and Modules >
Motor Control. Note that you need to tick the checkbox to make them visible
A new library, FileFormatUtility, is introduced with this version. The library implements functions
to read and write files of formats XML and CSV.
TimeSync
The library offers services related to time synchronisation. With the SNTP client, the controller
clock can be synchronized with time servers located in the same network via SNTP (Simple
Network Time Protocol).
EMailHandling
The function block FB_SendEMail now supports to send an email with attachment and
configurable priority.
The new function block FB_Pop3EMailClient allows receiving and deleting emails from a server
using the Post Office Protocol (POP3)
SnmpManager
Support of SNMPv1
TcpUdpCommunication
The buffer size of the TCP server sockets is now configurable. (As already available for TCP
client sockets)
The newly created result ET_Result.BufferFull is now reported in case send buffer of the TCP
stack is full.
The PLCopen library provides the vendor specific data type Axis_Ref_Basic. This type has to
be used to pass the axis reference to PLCopen function blocks inside user function blocks.
Each example is provided together with an Example Guide. New examples are:
• TcpUdpCommunicationExample
• SqlRemoteAccessExample
• AltivarPLCopenCANopenExample
• AltivarPLCopenEtherNetIPExample
• LexiumPLCopenCANopenExample
• LexiumPLCopenEtherNetIPExample
The already existing function BRH4 implemented in the Altivar 71 device can help to prevent suspended
loads from falling for the rare case when the holding brake fails (see documentation of the Altivar 71 device).
The BRH4 function uses the encoder feedback to detect movement of the axis, after the brake should have
been closed. If a movement is detected, the drive applies current to the motor in order to hold the load.
However, when Altivar71 is controlled via communication, the BRH4 function works only, if the drive is in
state "Operation Enabled".
Normally, the Altivar71_Control function block sets the drive to state "Switched On" as soon as there is no
any direction command applied (i_xFwd = FALSE and i_xRev = FALSE) and the actual velocity and actual
current decrease to zero, and thus the BRH4 function does not work.
The improvement of the Altivar71_Control function block consists in a new input i_xKeepOpEn, which
allows keeping the Altivar 71 in state "Operation Enabled", in order that the BRH4 function can work.
The new behavior becomes active after the first direction command (i_xFwd = TRUE or i_xRev = TRUE) until
the Function Block is disabled with i_xEn = FALSE.
The default value for the new input i_xKeepOpEn is FALSE, which means the default behavior of the
Altivar71_Control FB is the same as in the past.
To get the new behavior (i.e. keeping Altivar71 in state "Operation Enabled" and making use of the BRH4
function) two steps have to be performed:
1. activate the BRH4 function, e.g. HMI, SoMove or within the application
NOTE: In case you were updating a project, the new input of the Altivar71_Control FB will not be initially
visible. To make it visible use the contextual ResetPins command on the box in CFC and the
UpdateParameters command in FBD/LD respectively.
2.5.2. LogicBuilder
For limitations please have also have a look at FAQ in SoMachine Programming Guide
CAA File, sysFile and sysDir library must not be used as user libraries in SoMachine. These
libraries are intended for internal purposes only, and therefore are not fully documented in
SoMachine. Usage of the Function Blocks and functions located inside these libraries may
provoke unintended consequences.
As part of SoMachine V4.3, two versions of the "CAA File" library are installed: V3.5.3.132 is
dedicated for usage with LMC078 controller, V3.5.3.0 is dedicated for the other controllers. As
for this library a placeholder is existing (and also not a FCL library), the recommended way is to
add the library (via the Library Manager) to your device as placeholder. Thus, SoMachine will
add the right library version to your device (This is in sync with the procedure described in
chapter "Adding Libraries to a SoMachine Project" of Online Help.).
The hardware catalog is not updated nor is the new device visible until you restart SoMachine
after import of an eds file
Disable device is only supported on CANopen devices.
2.5.3. DTM
The tab "CANopen Configuration" is displayed when opening the DTM of the TM5 or TM7
CANopen Interface. This editor allows you to configure CANopen parameters. It is intended for
use only by CANopen experts.
When using Altivar 32 and Altivar 71 DTMs, the Command Panel should be deactivated before
closing the DTM Editor. If the user decides to force the closing of the Editor while the Command
Panel is still active, the DTM internal state will be unreliable. In this case, reopen the project.
After Uploading parameters on the Altivar 32, 71 and 320 DTMs, if the hardware configuration
changes (e.g. Option Board), the changes might be incompatible with the current DTM
configuration. In such a case, the user will receive an information message, "The configuration
file is not compatible with this drive". Add a new 'Advanced Settings' device and execute the
'Upload Parameters' command to get the current Hardware Configuration
Oscilloscope: Lexium 32M: Selecting an empty Slot in the Channel select dialog may lead to
unresponsive equipment either hardware or software.
Sporadic connection loss may occur due to incorrect timing behavior of USB to RS485 dongles
In order to prevent triggering the fault, in the DTM you can modify the FDR Server settings, prior setting the
Device Name ( 1 ).
In the Parameter List tab, select Fieldbus > Port - Modbus TCP/EthernetIP > FDR from the tree view ( 2 ).
Set FDR Disabled, transfer to the device, and restart the device ( 3 ).
To transfer the initial device configuration in the FDR server, refer to the Troubleshooting section on the DTM
screen ( 4 ).
The following document shows how to transfer the configuration from an Altivar 312 device to a new Altivar
320 device:
2.5.6. IO-Scanner
Lexium32 IO-Scanner slave may not get reconnected after a Lexium power cycle: If the
LXM32MU45M2 FW VERSION 1.12.XX, and if you are using the Ethernet accessory
VW3A3616 labeled “Made in Sweden”, the connection may not restart after power cycle. Use
VW3A3616 labeled V1.07 IE03 ( Made in China).
2.5.7. Conversion
In case where Python API is used to convert a device, you must take care to update this
device if needed, before starting any conversion operation.
Please refer to the “SoMachine Compatibility and Migration” guide for more details.
2.5.10. ATV-IMC
In the Devices tree location: Local --> Drive--> I/O Mapping, the column ‘Default Value’ is not
taken into account for fallback mode, i.e., when behavior for outputs in Stop = ‘Set all outputs to
default’.
2.5.14. M221
Refer to the SoMachine Basic Release Notes
2.5.16. LMC078
When an USB memory key is inserted in the connector CN2 of the LMC078 controller and the
controller is booting, the boot is unsuccessful. The controller will present the message "!ERR:
SD-Card" in the display. To avoid this issue, please remove USB memory key before rebooting
the controller.
When resetting the user rights on an LMC078 with the operation "reset origin", it is necessary to
reboot the controller for the action to be affected. To avoid this issue, please reboot the
controller after resetting the user rights to complete the operation.
The documented function FC_PrgResetAndStart is not available in this version of the LMC078.
13 of 28 SoMachine V4.3 Release Notes | Schneider Electric
The LMC078 only allows to configure its IP address mode in SoMachine on the ethernet
connector object. To switch between DHCP, BOOTP and fixed IP address (default), please:
1. select the ethernet connector object inside SoMachine
2. change the setting
3. download the project to your controller
When converting a LMC058 project to LMC078, the ethernet connector can contain
configuration data for the IP address in grayed out fields.
After the conversion those fields are not editable. The data shown in the fields has no effect. The
IP address is configured using the process communication settings command in the controller
selection tab on the LMC078 object. Only the IP mode (DHCP/BOOTP/fixed IP Address) is set in
the on the ethernet connector.
Ignore the displayed values.
When LMC078s Ethernet connection is configured as DCHP it does not activate the gateway
address it receives from the DHCP server. Instead it operates with the gateway address
configured on the SD card. This does not affect communication between the controller and
devices in the same subnet (e.g. on the same switch).
Workaround:
for devices in same subnet (e.g. PC attached to same switch): no action necessary
for communication with devices in other subnets (e.g. maintenance via remote PC): set
gateway address via the process communication settings command in the controller
selection tab on the LMC078 object.
By default the LMC 078 (via USB) is turned off by Gateway Management console.
When activating LMC 078 (via USB) the port specified by “Device name starts with:” is reserved
for LMC078 communication. If other non SoMachine applications try to use the same USB Port it
will lead to conflicts.
Sercos phase up is unsuccessful if any unconfigured LXM32S are present on the Sercos
network (ring/line). The Sercos master (LMC078) shows the diagnosis code 8506 "SERCOS
Master comm. not possible" with the extended diagnosis "Err:0x00020021". The LXM32S does
not support inactive participation in the Sercos network. To resolve the issue either:
1. physically remove unconfigured LMX32S from the Sercos network by rewiring the Sercos
cables
or
2. configure all LXM32S connected to the Sercos network in your application so that the
master actively communicates with them
The switching of the Operation mode between the Velocity mode and the Position mode may
lead to a small, rapid movement of the motor.
WARNING
UNINTENDED MACHINE OPERATION
Do not switch the Operation Mode from Velocity mode to Position mode with the drive in STANDSTILL.
Failure to follow these instructions can result in death, serious injury, or
equipment damage.
2.5.17. Hoisting
Part of the delivery of two of the three Hoisting Templates, which are:
i. Hoisting_Industrial Crane_CANopen_M241
ii. Hoisting_Industrial Crane_CANopen_M241_Safety,
the project file for the safety controller is to be uploaded to the Preventa XPSMC controller.
To be able to load this project to the Preventa XPSMC controller, the corresponding Preventa
software XPSMCWIN must be obtained. This software is not a standard part of SoMachine V4.3.
You can obtain the XPSMCWIN software from your local Schneider-Electric sales representative
or your ADE.
To send an email to the controller configure inside your email client the email format to “plain
text only”.
To receive emails correctly on the controller, configure the email server to keep emails in the
inbox accessible via POP as long as the function block FB_Pop3EMailClient sends a delete
command.
In case an error occurs while FB_Pop3EMailClient is receiving emails, the function block tries
to delete the successfully downloaded emails from the server and to keep them inside the
application. If this does not succeed all downloaded emails will be marked as not valid inside
the application, but the successfully downloaded attachments will not be automatically deleted
from the file system of the controller. With the next function block execution all emails, including
all attachments, will be downloaded again. In case the value of i_xOverwriteAttachment inside
the credentials is set to False, an error indicating that a file with the same name already exists
possibly occurs. To avoid this, enable the overwrite attachment function (at least after an
unsuccessful function block execution) or delete all attachments inside your application. Use
therefore the paths indicated from the function block inside iq_astInbox.
The CODESYS WebVisu is a client based on a HTML5 and javascript which communicates with the
web server integrated in controller and displays the visualization in any given visualization systems.
It can be used if there is a WebVisu object inserted below the visualization manager, in the
application.
Then to access to the WebVisu thanks to web browser, the following address should be entered in
the web browser:
http://<IP_address of controller>:8080/<webvisu>.htm
<webvisu>.htm is the HTM file defined in the Visualization Manager, as Visualization Entry page -
Thereafter the visualization can be operated in the browser.
This document describes the limitation of the WebVisu for the following components since version:
Component Version
SoMachine V4.1
M258/LMC058 V4.0.2.32
M241/M251 V4.0.2.36
LMC078 V1.51.10.4
Controllers
Data security
In order to minimize the risk of data security breaches, consider the following technical and
organizational measurements for the system running your applications:
As far as possible avoid exposing PLCs and PLC networks to public networks and the Internet.
For protection, use additional security layers like, for example, VPN for remote access, and
install firewall mechanisms. Restrict access to authorized people. If available, please change
default passwords at start-up and modify them frequently. Check regularly and frequently the
effect of these measurements.
If you nevertheless want to publish your Web Visualization, give it at least a simple password
protection to prevent access to the functionality of your PLC over the Internet. This can be done by
the general User Right configuration of the application.
Web browser
On Windows PCs, some problems can occur with Internet Explorer and HTML-Canvas 5.
Mozilla Firefox or Google Chrome operate normally with HTML-Canvas 5.
Sometimes the web browser can have difficulties to display the visualization. Please flush the
cache of your web browser in this case.
Some scaling problems can appear in your browser. To fix this issue, you can use a rectangle
and put the visualization objects inside this rectangle.
Use less than 50 variables in a visualization page; otherwise it might have an impact on the
application load and can provoke a watchdog timeout exception.
If there are issues concerning the performance of the WebVisu display, try to adjust the “size of
memory for Visu” or the “size for Paint Buffer”, in the "extended settings" in the visualization
manager configuration screen.
If some photos are used in the visualization, please use photos that are compressed.
Uncompressed photos, like bitmap photos, have a negative impact on the performance.
When building visualization, you should avoid using the zooming feature.
2.6.4. Programming
A new task VISU_TASK is added automatically when using WebVisu. Please make sure that
your application is not overloaded with this new, low priority task. If after adding WebVisu, the
PLC application encounters "Exceptions", you should adjust the Cycle time of the applicative
tasks.
The FreeWheeling tasks must not be used together with the WebVisu because freewheeling
mode does not leave spare time for WebVisu to run.
Adding the WebVisu service to the application will significantly increase the size of the
application.
2.6.6. Controller
In some situations during intensive processing while using WebVisu, SoMachine connection
problems can be encountered. It is recommended to quit the browsing of WebVisu when you
want to connect SoMachine to the controller.
2.6.7. Network
The WebVisu connection should be established through local Ethernet network or through
reliable Wireless networks. Any connection through the Internet can provoke some difficulties to
display the visualization in the web browser.
3.2.1.1. On CANopen
Step 3a: Go to the "CANopen Remote Device" tabulation
3.2.1.2. On EtherNet/IP
Step 3a: Go to the "Target Settings" tabulation
3. Then Push the button “ENTER” for 5s, until the graphic keypad displays again the menu
"2.IDENTIFICATION ".
Note:
- use d#0 for "Application 17" in order to have the default ATV320 mode
- use d#1 for "Application 17" in order to activate the ATV32 mode
3.5SP3Patch8HF5 (Release
CoDeSys
3.5SP3Patch8HF5_Modified)
SESUVersion 2.1.0
LMVersion 1.9.9.0