EditParametersInSeveralDrivesAddIn DOC v10 en
EditParametersInSeveralDrivesAddIn DOC v10 en
EditParametersInSeveralDrivesAddIn DOC v10 en
Siemens
Edit parameters in several drives Add-In V16 Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/109777633 Support
Legal information
Legal information
Use of application examples
Application examples illustrate the solution of automation tasks through an interaction of several
components in the form of text, graphics and/or software modules. The application examples are
a free service by Siemens AG and/or a subsidiary of Siemens AG (“Siemens”). They are non-
binding and make no claim to completeness or functionality regarding configuration and
equipment. The application examples merely offer help with typical tasks; they do not constitute
customer-specific solutions. You yourself are responsible for the proper and safe operation of the
products in accordance with applicable regulations and must also check the function of the
respective application example and customize it for your system.
Siemens grants you the non-exclusive, non-sublicensable and non-transferable right to have the
application examples used by technically trained personnel. Any change to the application
examples is your responsibility. Sharing the application examples with third parties or copying the
application examples or excerpts thereof is permitted only in combination with your own products.
The application examples are not required to undergo the customary tests and quality inspections
of a chargeable product; they may have functional and performance defects as well as errors. It is
your responsibility to use them in such a manner that any malfunctions that may occur do not
result in property damage or injury to persons.
Disclaimer of liability
Siemens shall not assume any liability, for any legal reason whatsoever, including, without
limitation, liability for the usability, availability, completeness and freedom from defects of the
application examples as well as for related information, configuration and performance data and
any damage caused thereby. This shall not apply in cases of mandatory liability, for example
under the German Product Liability Act, or in cases of intent, gross negligence, or culpable loss of
life, bodily injury or damage to health, non-compliance with a guarantee, fraudulent
non-disclosure of a defect, or culpable breach of material contractual obligations. Claims for
damages arising from a breach of material contractual obligations shall however be limited to the
© Siemens AG 2020 All rights reserved
foreseeable damage typical of the type of agreement, unless liability arises from intent or gross
negligence or is based on loss of life, bodily injury or damage to health. The foregoing provisions
do not imply any change in the burden of proof to your detriment. You shall indemnify Siemens
against existing or future claims of third parties in this connection except where Siemens is
mandatorily liable.
By using the application examples you acknowledge that Siemens cannot be held liable for any
damage beyond the liability provisions described.
Other information
Siemens reserves the right to make changes to the application examples at any time without
notice. In case of discrepancies between the suggestions in the application examples and other
Siemens publications such as catalogs, the content of the other documentation shall have
precedence.
The Siemens terms of use (https://support.industry.siemens.com) shall also apply.
Security information
Siemens provides products and solutions with industrial security functions that support the secure
operation of plants, systems, machines and networks.
In order to protect plants, systems, machines and networks against cyber threats, it is necessary
to implement – and continuously maintain – a holistic, state-of-the-art industrial security concept.
Siemens’ products and solutions constitute one element of such a concept.
Customers are responsible for preventing unauthorized access to their plants, systems, machines
and networks. Such systems, machines and components should only be connected to an
enterprise network or the Internet if and to the extent such a connection is necessary and only
when appropriate security measures (e.g. firewalls and/or network segmentation) are in place.
For additional information on industrial security measures that may be implemented, please visit
Fehler! Linkreferenz ungültig..
Siemens’ products and solutions undergo continuous development to make them more secure.
Siemens strongly recommends that product updates are applied as soon as they are available
and that the latest product versions are used. Use of product versions that are no longer
supported, and failure to apply the latest updates may increase customer’s exposure to cyber
threats.
To stay informed about product updates, subscribe to the Siemens Industrial Security RSS Feed
at: Fehler! Linkreferenz ungültig..
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 2
Table of Contents
Table of Contents
Legal information ......................................................................................................... 2
1 Overview ............................................................................................................. 5
1.1 Introduction ........................................................................................... 5
1.2 Overview of the Application Example ................................................... 5
1.3 Components used ................................................................................ 6
2 Purpose............................................................................................................... 7
2.1 Problem description .............................................................................. 7
2.2 Requirements ....................................................................................... 7
2.3 Objectives ............................................................................................. 7
3 Requirements ..................................................................................................... 8
3.1 Required practical knowledge .............................................................. 8
3.2 System requirements ........................................................................... 8
4 Parameter lists ................................................................................................... 9
4.1 Direct access lists ................................................................................. 9
4.2 DFI Lists (only SINAMICS G) ............................................................... 9
4.3 Acyclic lists (optional) ........................................................................... 9
4.4 List files............................................................................................... 10
5 Installation ........................................................................................................ 11
© Siemens AG 2020 All rights reserved
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 3
Table of Contents
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 4
1 Overview
1 Overview
1.1 Introduction
By using the TIA Portal Openness interface, your own .NET applications can
integrate the TIA Portal in your development environment. Working from one
application, the programmer can perform TIA Portal functions, which entails
benefits such as:
• Increased efficiency, thanks to faster execution of the task
• Accuracy, thanks to the automation of consistent processes
• Short commissioning times, thanks to program-supported creation of
configurations
• Competitiveness, thanks to targeted use of resources
Note More information on TIA Portal Openness can be found at the following link:
https://support.industry.siemens.com/cs/search?search=openness
Using the Openness Startdrive interface, a user can access drive devices and
thereby read and write parameter values.
ATTENTION Improper use of the interfaces can result in data loss and production halt.
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 5
1 Overview
Online functions were created and tested using the following hardware:
Table 1-3
Components File name
Manual 109777633_EditParametersInSeveralDrivesAddIn_DOC_v10_en.pdf
TIA Portal add-in 109777633_EditParametersInSeveralDrivesAddIn_ADDIN_v10.zip
Visual Studio
109777633_EditParametersInSeveralDrivesAddIn_SOURCE-CODE.zip
project
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 6
2 Purpose
2 Purpose
2.1 Problem description
In applications such as logistics systems or in the automobile industry, oftentimes
more than 100 drives are controlled by one PLC. In materials handling applications,
for instance, drive settings are often standardized for various conveyor elements. In
such cases, the configurations are the same, or they differ only with respect to
parameters that are not performance-related.
When commissioning such a system it is repeatedly the case that settings
parameters have to be adjusted in order to achieve the desired drive
characteristics. These changes then have to be carried out for a great number of
drives (10 to 50). Although these are simple changes, they take considerable time.
To support the commissioning technician, the intention is to create a tool which can
be used to automate such changes.
2.2 Requirements
The application will use the Openness interface in order to access TIA Portal. The
tool should be implemented as a TIA Portal add-in. The following functionality
© Siemens AG 2020 All rights reserved
2.3 Objectives
By using the TIA Portal add-in EditParametersInSeveralDrives, the following
should be achieved:
• Reduce commissioning time
• Change parameters even without knowledge of TIA Portal
• Prevent errors with the help of automatic processing
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 7
3 Requirements
3 Requirements
3.1 Required practical knowledge
To work with the tool you will need:
• Working knowledge of TIA Portal
• Working knowledge of SINAMICS drives
Note Refer to the Openness documentation in chapter 4.2.2 (see \3\) for how to add a
user to the user group "Siemens TIA Openness".
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 8
4 Parameter lists
4 Parameter lists
In the add-in you have the ability to create parameter lists in order to read, write
and compare parameter values.
The add-in supports two types of list.
The add-in will support you when creating the lists and will give tips about missing
parameters.
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 9
4 Parameter lists
Unit="rpm"
Min=""
Max="" />
</Parameters>
</SinParameterJob>
</Jobs>
</JobList>
Attention If you have worked with older versions of the tool and already created lists in the
old format, you can convert them with the Import button.
You can also copy the old lists in the list folder. Then they will be converted
automatically upon start. Please note that the lists will be overwritten in the
process and will no longer be available in the old format.
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 10
5 Installation
5 Installation
5.1 Installing add-in
The add-in must be copied in the AddIns folder in the installation directory for TIA
Portal so that TIA Portal recognizes the add-in. You can do this by hand, but you
must store the included library and the example lists either in the default directory
or in the settings (see chapter 6.2).
Figure 5-1 AddIns folder
© Siemens AG 2020 All rights reserved
You can also run the included batch file run_as_admin_to_install.bat to copy the
add-in. The batch file also copies the example lists and the library for the acyclic
communication into the appropriate folder. Please close TIA Portal before starting
the installation.
Attention You must run the batch file as an Admin because you need administrator
privileges in order to copy files to the installation folder of TIA Portal.
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 11
5 Installation
Before you can use the add-in you must enable it in the "Add-ins" task card.
Figure 5-3 Enabling the add-in
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 12
5 Installation
After you have enabled the add-in, you must accept the permissions.
Figure 5-4 Enabled add-in
© Siemens AG 2020 All rights reserved
Note You can select multiple groups or drive devices using the ctrl key and then
load with a right click.
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 13
5 Installation
The following figure shows the add-in start for three drive devices.
Figure 5-5: Starting add-in
© Siemens AG 2020 All rights reserved
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 14
6 Structure of the user interface
3
2
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 15
6 Structure of the user interface
General Settings
Here the following settings can be modified:
• Save location of all parameter lists. The add-in loads all lists in this
directory. New lists and lists imported by the user are saved there. This
change is taken into account on the next restart.
• Automatic saving of the TIA Portal project.
• Automatic saving of parameter lists
• Confirmation before deleting parameter lists or list items (parameters or
jobs)
• Delete lists from the file system or simply hide them in the add-in. List will
be displayed again after the next restart.
• Number of projects that are displayed in the "Recently opened" list.
• Reset settings to default values
• Delete list of the recently opened projects
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 16
6 Structure of the user interface
Parameter lists
The following settings can be modified in this dialog:
• Allow only whitelist parameters to be added to direct access lists.
© Siemens AG 2020 All rights reserved
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 17
6 Structure of the user interface
6.3 Drives
© Siemens AG 2020 All rights reserved
The drives are displayed in the tree view after starting. If the drives are divided into
groups, these are also displayed. Please note that only groups with SINAMICS
drives will be displayed.
The check boxes are for selecting drives that will be affected by batch actions
(writing parameters offline or writing motor and encoder data online and comparing
parameters). Using the Show all and Show selected buttons you can either show
all or only the selected drives.
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 18
6 Structure of the user interface
Creating whitelist
Using the context menu of a drive object and the Create whitelist option, you have
the ability to create a parameter list with all authorized parameters of the drive
object. Please note that this operation can be time-consuming.
DFI lists
Using the same menu, you can also create a list with all DFI parameters of a
SINAMICS G.
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 19
6 Structure of the user interface
The list types are distinguished by different icon colors. If the name is changed, the
file name will be changed too. Right click on a list to delete, save or duplicate it.
© Siemens AG 2020 All rights reserved
When creating the list, the name must be specified and an optional description can
be entered. The file path is displayed at the bottom of the dialog. If only a file exists
with the same name, the name will be changed by appending a number. The name
and description can be modified in the application. Parameter lists can also be
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 20
6 Structure of the user interface
created manually with a text editor. When doing so, however, attention must be
paid to the structure of the XML files. The parameter list can be saved in the default
list directory so that it is loaded automatically when the application starts; or it can
be imported in the application.
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 21
6 Structure of the user interface
Multiple parameters can be selected; they can be copied or deleted using the
context menu. You can also reorder the parameters by dragging them with the
mouse and letting go at the desired position.
Searching parameters
You can use this function to search for a parameter in the selected drive object. If
found, the parameter's description and value will be displayed, otherwise an error
message will appear.
You can input the complete parameter name or only the number. If you are
searching for a parameter with an index, enter the number and the index separated
by a comma. Index zero does not have to be entered. Use a period for bits.
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 22
6 Structure of the user interface
2. Parameter number
9. Parameter cannot
be found
If the setting Add Only White List Parameters is not selected, then you can add
any parameter without selecting a drive object. In this case only the syntax is
checked for correctness.
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 23
6 Structure of the user interface
You can set which parameters will be read using the check box in the Action
column. Using the buttons in the search area, only the active parameters are read.
You can enable or disable all parameters using the context menu. In order to read
all parameters regardless of the check boxes, click the option Update list from
selected drive→ Offline All or Online All in the context menu of the parameter
view or of the drive.
It is possible to see from the color of the icons which parameters were read
successfully. The colors can be reset using the context menu with the option Reset
Coloring.
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 24
6 Structure of the user interface
Note You can only select drive objects of the same SINAMICS family with the check
boxes.
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 25
6 Structure of the user interface
Writing offline
The CHANGE PARAMETERS OFFLINE button writes the values offline. The
values are written only in the project and must be transmitted to the device
manually in order to become effective.
Writing online
The CHANGE PARAMETERS ONLINE button writes the values online directly on
the device. A connection is established to all selected devices. The project
connection settings will be used, meaning that you first have to configure and
establish a connection to the devices in TIA Portal before you can use this function.
Recommendation: Use central setting for the offline access path.
See main menu "Extras / Settings / Online & Diagnostics / Preconfigured
connection path for online access"
Before the data are written, you will be asked whether the changes should be
saved in network failsafe mode (RAM to ROM).
CAUTION
© Siemens AG 2020 All rights reserved
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 26
6 Structure of the user interface
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 27
6 Structure of the user interface
The results are displayed in a separate window. You can open multiple windows at
the same time. The results of the comparison are shown in the following colors:
• Green: All values are the same
• Red: At least one difference in the values
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 28
6 Structure of the user interface
The Switch View button will change the view such that the columns are changed
to rows and the rows to columns.The results can be saved to a csv file with the
Save button.
6.10 Log
Messages are output in the lower area of the application. They are divided into
three categories: Info, warning and error. The output can be filtered with the
appropriate icons.
The messages can be saved to the computer with the Export button. The filters are
active when exporting, i.e. only the active message types will be exported.
Figure 6-18 Log
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 29
7 Acyclic lists
7 Acyclic lists
Acyclic lists can be employed in cases where parameters need to be written that
are not supported by the other two list types or if the drive device is not supported
by Startdrive. With these lists, the read/write commands from a PLC can be
executed.
Reading and writing is carried out by a function block which uses the LAcycCom
library.
Note You can find the LAcycCom library in SIOS at the following link:
https://support.industry.siemens.com/cs/de/en/view/109479553
The add-in creates all blocks necessary from your lists. All necessary blocks are
contained in the supplied library.
7.1 Jobs
Acyclic lists can consist of the following jobs:
• Read Job: List of parameters to be read. Up to 39 parameters can be read per
job. The values are then in the corresponding data block.
© Siemens AG 2020 All rights reserved
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 30
7 Acyclic lists
In order to create jobs, right click on the Jobs area and select Add New, then the
© Siemens AG 2020 All rights reserved
desired job. You can also use the keyboard shortcut to add jobs. Before you do
this, though, click on the Job area so that it is in focus and can accept keyboard
commands.
Figure 7-2 Adding jobs
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 31
7 Acyclic lists
Once you have added a job, you can add parameters. The figure below shows a
list for rapid commissioning of a G120X.
The parameters are added in the parameter area of the job with Right click >>
Add New or with Ctrl+Shift+N.
Figure 7-3 Example list
© Siemens AG 2020 All rights reserved
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 32
7 Acyclic lists
During generation the supplied library will be opened and all blocks will be copied
into the project. The blocks are stored in a group, AcycJobsGroup. A total of three
groups are created.
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 33
7 Acyclic lists
Besides the general blocks, two data blocks will be created for each selected axis:
• DbAcycInst_xxx is an instance DB from FB_AcycJobs and serves to call the
block.
• DbAcycCtrl_xxx represents the acyclic list and contains the jobs as well as
the tags which are linked with the inputs and outputs of the FB. This DB also
contains the values during reading of parameters.
As seen in the figure, the instance DB is used for the call. The inputs and outputs
are linked with the control DB. Once the loading is complete, the writing and
reading can be started by setting Execute in the control DB.
Data loss
Please note that the groups are deleted upon each generation event. Do not
store your own blocks there.
CAUTION
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 34
7 Acyclic lists
7.5 Settings
You can set the following in File >> settings >> Acyclic Lists:
• Save location of the supplied library
• Enable auto-numbering of blocks or assign start numbers
• Don't generate errors if the HW_ID cannot be found.
Figure 7-9
© Siemens AG 2020 All rights reserved
7.6 Diagnostics
If an error occurs, the error output will be set and the error number will be
displayed in status. You can find the index of the current job in the tag
CurrentJobIndex in the static region of the instance DB.
If an error occurs during reading or writing of a parameter, the error number is
found under errorValue in the current job in the control DB for the affected
parameter (JobValue).
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 35
7 Acyclic lists
The FB error is displayed in the status output. Errors from the write/read blocks of
the LAcycCom library are also copied to the status output. Using the type of the
current job and error number, you can find the error in the Error Code Tables in the
© Siemens AG 2020 All rights reserved
appendix.
• Read or Check Job: LAcycCom_ReadDriveParams diagnostics messages
• Write Job: LAcycCom_WriteDriveParams diagnostics messages
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 36
7 Acyclic lists
object
16#8607 ERR_PARAMETER_NO The number of parameters
received does not match the
requested number of
parameters
16#8608 ERR_DRIVE_OBJECT_NO The drive object does not match
the responded drive object
16#8609 ERR_ALLOCATION_TIME The allocation time exceeded
the configured value
16#8610 ERR_MOVE_BLK_VARIANT Error occurred during
MOVE_BLK_VARIANT
command
16#8611 ERR_UNDEFINED_STATE Error due to an undefined state
16#8612 ERR_UNDEFINED_SUBSTAT Error due to an undefined
E substate
16#8619 ERR_PARAMETER Error in at least one parameter
(see: errorValue in dataset)
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 37
7 Acyclic lists
WRREC command
16#8603 ERR_WRREC Error occurred during WRREC
command
16#8604 ERR_RDREC Error occurred during RDREC
command
16#8605 ERR_REFERENCE_NO Reference number of the
request does not match the
response reference number
16#8606 ERR_RESPONSE_ID Invalid response from the drive
object
16#8607 ERR_PARAMETER_NO The number of parameters
received does not match the
requested number of
parameters
16#8608 ERR_DRIVE_OBJECT_NO The drive object does not match
the responded DO
16#8609 ERR_ALLOCATION_TIME The allocation time exceeded
the configured value
16#8610 ERR_MOVE_BLK_VARIANT Error occurred during
MOVE_BLK_VARIANT
command
16#8611 ERR_UNDEFINED_STATE Error due to an undefined state
16#8612 ERR_UNDEFINED_SUBSTAT Error due to an undefined
E substate
16#8619 ERR_PARAMETER Error in at least one parameter
(see: errorValue in dataset)
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 38
7 Acyclic lists
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 39
8 Appendix
8 Appendix
8.1 Service and support
Industry Online Support
Do you have any questions or need assistance?
Siemens Industry Online Support offers round the clock access to our entire
service and support know-how and portfolio.
The Industry Online Support is the central address for information about our
products, solutions and services.
Product information, manuals, downloads, FAQs, application examples and videos
– all information is accessible with just a few mouse clicks: Fehler! Linkreferenz
ungültig.
Technical Support
The Technical Support of Siemens Industry provides you fast and competent
support regarding all technical queries with numerous tailor-made offers
– ranging from basic support to individual support contracts. Please send queries
to Technical Support via Web form:
www.siemens.com/industry/supportrequest
© Siemens AG 2020 All rights reserved
Service offer
Our range of services includes the following:
• Plant data services
• Spare parts services
• Repair services
• On-site and maintenance services
• Retrofitting and modernization services
• Service programs and contracts
You can find detailed information on our range of services in the service catalog
web page:
Fehler! Linkreferenz ungültig.
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 40
8 Appendix
mailto: applications.aud.koe.nrh.rd@siemens.com
https://support.industry.siemens.com/cs/ww/en/view/109777633
\3\ Openness Manual
https://support.industry.siemens.com/cs/ww/en/view/109773802
EditSinamicsParametersAddIn
Article ID: 109777633, V1.0, 01/2020 41