0% found this document useful (0 votes)
96 views28 pages

infoPLC Net 109792547 Manual G120X BasicSetup AddIn TIA V17 v1.0.1 en

Uploaded by

mauricio zuniga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
96 views28 pages

infoPLC Net 109792547 Manual G120X BasicSetup AddIn TIA V17 v1.0.1 en

Uploaded by

mauricio zuniga
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 28

PLC based basic

commissioning solution
for SINAMICS G120X
Siemens
SINAMICS / G120(X) / TIA Portal ADDin v17 Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/109792547 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 2022 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
https://www.siemens.com/industrialsecurity.
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
under https://www.siemens.com/cert.

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 2
Table of contents

Table of contents
Legal information ......................................................................................................... 2
1 Introduction ........................................................................................................ 4
1.1 Overview............................................................................................... 4
1.2 Components used ................................................................................ 5
2 HW preparation .................................................................................................. 6
2.1 Hardware setup .................................................................................... 6
2.2 Hardware configuration in TIA Portal ................................................... 6
3 Software description ......................................................................................... 7
3.1 Add-in installation ................................................................................. 7
3.2 Description of SINAMICS G120X Basic Setup add-in ......................... 9
3.2.1 Entry window ........................................................................................ 9
3.2.2 List of faceplates ................................................................................ 10
3.2.3 Motor setup ........................................................................................ 10
3.2.4 Operation limits .................................................................................. 11
3.2.5 I/O configuration ................................................................................. 12
3.2.6 Automatic Restart ............................................................................... 12
3.2.7 Boost .................................................................................................. 13
3.2.8 Flying restart ....................................................................................... 13
3.2.9 Skip frequencies ................................................................................. 14
3.2.10 Summary ............................................................................................ 15
© Siemens AG 2022 All rights reserved

3.3 Function block structure ..................................................................... 16


3.4 Error handling ..................................................................................... 18
3.4.1 LAcycCom_ReadDriveParams diagnostics messages ...................... 18
3.4.2 LAcycCom_WriteDriveParams diagnostics messages ...................... 19
3.4.3 FB_AcycJobs Error Codes ................................................................. 20
4 Application example ........................................................................................ 21
4.1 Preparation of setup data in “SINAMICS G120X Basic Setup”
add-in.................................................................................................. 21
4.2 Download to PLC and execution of the G120X demo kits setup ....... 23
5 Appendix .......................................................................................................... 27
5.1 Service and support ........................................................................... 27
5.2 Industry Mall ....................................................................................... 28
5.3 Links and literature ............................................................................. 28
5.4 Change documentation ...................................................................... 28

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 3
1 Introduction

1 Introduction
1.1 Overview
In this application example it is shown how to work with the Openness add-in
SINAMICS G120X Basic Setup in TIA Portal to parametrize two SINAMICS G120X
demo-cases from a PLC. Besides others, in this solution, the PLC has also a role
of a local storage center. I.e. the data necessary to make remote setup of the
G120X converters are stored here and can be used anytime in a future. For
example in a case of a converter replacement. The parametrization is done via
PROFINET using Acyclic communication.
Add-in SINAMICS G120X Basic Setup contains several faceplates that guide
the user throughout preparation of G120X basic setup offline, including setup of
frequently used application-related functions. It also allows to prepare the
complete basic setup for more identical drives in one step to save engineering
time. The output of this add-in are the Program blocks for a PLC in the project.
These blocks can be further modified to fit engineering needs. For example the
user can work with the add-in to prepare parametrization for many various
power rating drives having common most of the setting, like I/O's setup, ramps,
etc…. And later – once the Program blocks are created – modify only power
rating data inside the Data blocks. This saves the engineering effort in
preparation of setup data for many converters installed on site.
Our example is worked out on using two SINAMICS G120X demo-cases and the
© Siemens AG 2022 All rights reserved

SIMATIC S7-1200 PLC.


The workflow in TIA Portal comprises following steps:
• Using add-in to prepare setup data and backing them up (optionally) on a
PC/PG in .xml format.
• Generation of Program blocks and downloading them to the PLC where
they are stored and ready for execution of G120X converters setup.
• Execution of setup, i.e. parametrizing of G120X converters. The PN Acyclic
data transfer is used in this step.

Figure 1-1 Workflow

TIA Portal Add-In PLC Execution of drive(s)


setup whenever required

G120X G120X
G120X setup Storage of drive(s)
data preparation and setup data in a PLC
backup on PC/PG memory

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 4
1 Introduction

1.2 Components used


This application example has been created with using the following hardware and
software components:
Table 1-1
Component Number Article number Note
SIMATIC S7-1200 1 6ES7 214-1AG40- Alternatively, other
CPU 1214C DC/DC/DC 0XB0 types of SIMATIC S7-
(Firmware V4.4) 1200 or S7-1500 can
be used.
SINAMICS G120X 2 6SL3200-0AE70-0AA0 Alternatively, any type
Starter Kit (FW1.0.1) of SINAMICS
G120(X) drives with
PROFINET interface
can be used.
SIMATIC STEP 7 1 6ES7810-5CE14-0YB5 TIA Portal V17 and
Professional V17/2021 higher can be used to
do the configuration
as described.

This application example consists of the following components:


Table 1-2
© Siemens AG 2022 All rights reserved

Component Note
TIA PORTAL It is automatically integrated in TIA Portal V17. There is no
OPENNESS V17 need to install it.
G120X GSDML File can be downloaded from:
PROFINET file https://support.industry.siemens.com/cs/ww/en/view/109763250
Used file: G120X_GSDML_PN_V1.03.zip (35,7 KB)
SINAMICS Startdrive Required due to Add-In activation but otherwise not used in
V17 this application example.
Program can be downloaded from:
https://support.industry.siemens.com/cs/ww/en/view/109794362
TIA Portal Add-In File can be downloaded from:
https://support.industry.siemens.com/cs/ww/en/view/109792547
Used file:
109792547_SINAMICS_G120X_Basic_Setup_v17.0.120.12.zip

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 5
2 HW preparation

2 HW preparation
2.1 Hardware setup
This application example shows the case of two G120X demo-cases on the PN
network with S7-1200.

Figure 2-1 – HW connection

2.2 Hardware configuration in TIA Portal


© Siemens AG 2022 All rights reserved

After you have created a project in TIA Portal make following configuration:
• Add the PLC as a new device
• Add G120X PN V1.0 drives from HW catalog (installation of SINAMICS
GSD library required) and rename them to G120X_Demo1 and 2.
• Create the PN network and set IP addresses

Figure 2-2 – PN network configuration

• Finally move the added drives from Ungrouped devices folder to a project
root (drag-drop)
Figure 2-3 – Moving out from Ungrouped devices

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 6
3 Software description

3 Software description
3.1 Add-in installation
Before you can start using the Openness add-in ensure it is installed and activated
as per following procedure (Close TIA Portal before installation).
1. Download and unpack the add-in file in your PC/PG

2. In the subfolder run the batch file (.bat) as an administrator


© Siemens AG 2022 All rights reserved

OR manually copy:

*.addin file into the following location

*.zal17 compressed library file into the location

NOTE: Folder AppData is hidden by default. You might need to change


the Folder settings in your operating system to find it:

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 7
3 Software description

3. Start TIA Portal V17 and


click on Add-ins in right
hand tab

4. Show the list of all


installed Add-ins

5. Select the add-in


Sinamics G120X Basic
Setup.addin

6. Change status to
Activate

Note: Only one add-in


is recommended to be
activated at a time.
© Siemens AG 2022 All rights reserved

7. Confirm the activation

8. The status is now


Activated

9. The Sinamics G120X


Basic Setup add-in can
be now found and
launched by right-mouse
click on project root or
any G120X drive

Sinamics G120X Basic Setup

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 8
3 Software description

3.2 Description of SINAMICS G120X Basic Setup add-in


This add-in can be launched by right-mouse click on a project root, any group of
devices or only a single device in the project. The project must contain at least one
G120X inverter. Note once the app is running the main TIA Portal window is
inhibited.
The entry window that appears after app launch lets you select whether you want
to work with a new- or already saved drive configuration. You are also supposed to
select which drive(s) you want to create the setup data to.

3.2.1 Entry window

Figure 3-1 – SINAMICS G120X Basic Setup: Entry window

1
3
2
© Siemens AG 2022 All rights reserved

4 5

1. Saved configurations – in this area you have displayed all previously saved
or imported configurations that you can use for drive(s) commissioning either
unchanged or you can modify them in the next steps.
2. Import from file – if you migrate configuration file from another PG/PC you
can use „Import from file” button to import .xml file. Saved configurations are
stored under the path:

3. Select device(s) – in this area you can select (tick) the inverters you want the
new or selected configuration to apply to.
4. Next with selected configuration – moves you to the next window (Motor
Setup) with pre-filled setting according to selected Saved configuration. This
button is inhibited if no Saved configuration nor device is selected.
5. Next with new configuration – moves you to the next window (Motor Setup)
with zeroed setting. This button is inhibited if no device is selected.

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 9
3 Software description

3.2.2 List of faceplates

Figure 3-2 – SINAMICS G120X Basic Setup: List of faceplates

1 2 3 4

1. Expand All – expands the list of available faceplates, which displays their
short descriptions and allows to activate or deactivate a particular faceplate.
2. Collapse All – collapses the list of available faceplates to see the headlines
© Siemens AG 2022 All rights reserved

only.
3. Enable All – switches On all available faceplates.
4. Disable All – switches Off all available faceplates.
5. List of available faceplates – use On-Off switch to enable/disable a particular
faceplate allowing further setup of the function.

3.2.3 Motor setup

Figure 3-3 – SINAMICS G120X Basic Setup: Motor setup

2 4

1. Back and Next buttons – moves you one step back or forward without
discarding values (applies to all following windows).

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 10
3 Software description

2. Converter supply voltage – enter nominal value of power supply grid here
3. Start with Parameter reset – this box is preselected if you start with a new
configuration. If ticked the parametrization starts with drive parameters reset so
all previous drive setting is cleared and set to factory default.
4. Select Motor Control Mode – if you commission asynchronous motors as a
rule select SDC for drives up to 15kW and DDC above this power rating. For
commissioning other types of motors (synchronous, reluctance) select always
DDC.
5. Select Motor Standard – depending on motor nameplate units select either
IEC or NEMA (SI units) if the rated power is expressed in „kW” or NEMA (US
units) if it’s in „HP”.
6. Select Motor Type – select type of motor. If using SIMOTICS motor then
preferably select the correct design type, f.e. 1LE1 induction motor (not a code
number). If you know the SIMOTICS motor code then better select the option
with code required, f.e. 1LE1 induction motor (code required).
7. Motor data – enter motor nameplate data in all displayed and enabled fields.
Select also right connection type Y or . If you selected  then you are allowed
to choose also 87Hz operation if suitable. Perform motor stationary ID test
option is by default ticked and it is strongly recommended to keep this setting
on.

3.2.4 Operation limits

Figure 3-4 – SINAMICS G120X Basic Setup: Operation limits


© Siemens AG 2022 All rights reserved

1. Max. and Min. speed – enter limits in RPM units. For conversion from Hz units
use formula RPM = 60 * Hz / number of motor pole pairs.
Min. speed value should not be less than 15% of motor nominal speed.
2. Ramp up and Ramp down – enter the acceleration and deceleration time.
Default value is 10s.

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 11
3 Software description

3.2.5 I/O configuration

Figure 3-5 – SINAMICS G120X Basic Setup: I/O configuration

1. Select Macro from the drop-down menu according to the required drive I/O
pre-configuration. The I/O function assignment is then displayed in the table
below the selection box.
© Siemens AG 2022 All rights reserved

3.2.6 Automatic Restart

Figure 3-6 - SINAMICS G120X Basic Setup: Automatic Restart

1. Select Automatic Restart (AR) Mode – select suitable AR mode from the
drop-down menu.
2. AR monitoring time for restart – enter the monitoring time. The monitoring
time starts when the faults are detected. If the automatic acknowledgments are
not successful, the monitoring time runs again. If, after the monitoring time has
expired, the drive has still not successfully started again (flying restart and
magnetizing of the motor must have been completed: r0056.4 = 1), then fault
F07320 is output. The monitoring is deactivated with p1213 = 0.
3. AR wait time start attempts – set the delay time before the restart attempt.
4. AR start attempts - set the start attempts of the automatic restart function.
Available for AR Mode = 4, 6, 14, 16, 26.

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 12
3 Software description

5. Reset AR monitoring time for start-up counter – enter the delay after the
start-up counter is reset to initial value once the AR succeeded.
6. AR faults not active – enter up to 10 fault codes you want not to be
automatically acknowledged by the AR function.
7. Activate continues operation – select to activate Keep running mode.

3.2.7 Boost

Figure 3-7 – SINAMICS G120X Basic Setup: Boost

2
© Siemens AG 2022 All rights reserved

1. Boost for SDC or V/F mode – enter the voltage boost at the zero output
frequency. Permanent boost value is active always at low output frequencies,
accelerating value is added only during ramping up and starting value only
after ON command (start from standstill).
2. Boost for DDC mode – enter the static torque setpoint in % of nominal motor
torque that is constant during the open-loop motor start (up to speed defined
by p1755) and acceleration torque that is added during acceleration/start.

3.2.8 Flying restart

Figure 3-8 – SINAMICS G120X Basic Setup: Flying restart

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 13
3 Software description

1. Flying restart operation mode – activates the flying restart function with the
possibility to select either searching of motor frequency in both directions (but
starting always in the setpoint direction) or only in one direction identical with
the setpoint.
2. Flying restart enable signal source – sets the signal source to enable the
"flying restart" function. Note that by entering value 0 or 1 the function can be
disabled or enabled.
3. Flying restart detection current – sets the search current for the "flying
restart" function. The value is referred to the motor magnetizing current. The
optimized value is preset in the converter during quick commissioning and it is
recommended not to change it. If the change is needed after all, then unlock
the field by the adjacent tick box.
4. Flying restart search rate factor – sets the factor for the search speed for
flying restart. The value influences the rate at which the output frequency is
changed during a flying restart. A higher value results in a longer searching
time. The default value is preset in the converter during quick commissioning
and it is recommended not to change it. If the change is needed after all, then
unlock the field by the adjacent tick box.
Recommendation: For sensorless vector control and motor cables longer than
200 m, set the factor p1203 >= 300 %.

3.2.9 Skip frequencies

Figure 3-9 – SINAMICS G120X Basic Setup: Skip frequencies


© Siemens AG 2022 All rights reserved

2 3

1. Skip speed bandwidth – sets the bandwidth for the skip speeds 1 to 4 in rpm
units. The setpoint (reference) speeds are skipped (suppressed) in the range
of the skip speed +/-p1101 so as the steady-state operation is not possible in
this range.
2. Skip speed 1 to 4 – sets skip speeds 1 to 4 in rpm units. The skip
(suppression) speeds can be used to prevent the effects of mechanical
resonances.
3. Skip speed scaling – sets the signal source for scaling the skip speeds. Note
that by entering value 0 or 1 you can either disable or enable all skip speeds
defined by parameters p1091 to p1094.

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 14
3 Software description

3.2.10 Summary

Figure 3-10– SINAMICS G120X Basic Setup: Summary

2
6

4 5

1. Save RAM to ROM – activates saving in ROM after parameters are download
to the converter. Note that using some functions forces saving into ROM
automatically as they are active only after power cycle.
2. List of functions – displays the list of functions that have been used for the
© Siemens AG 2022 All rights reserved

setup.
3. Setup summary – displays the summary of the setup for each above selected
function.
4. Save configuration – this button allows you to save the configuration locally
on your PG/PC in .xml format. Enter the name and optionally the description.

5. Finish – click on this button to generate program and data blocks for PLC that
are needed for drive(s) commissioning. If you already used the add-in in the
past you are asked to delete temporary data from previous use. Press Yes to
proceed.

Once the blocks are generated you will see the pop-up window:

Press Yes to exit the application or No to stay in it (for future exit you can use
the icon at right top corner).

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 15
3 Software description

6. Log – toggles between Log and Summary table.

3.3 Function block structure


DbAcycCtrl_xxxx - this control block contains AcycJobs data, i.e. Job Type,
Waiting time, Values and Comments generated automatically with an Add-in for
© Siemens AG 2022 All rights reserved

each selected device.


Figure 3-11 – DbAcycCtrl_xxxx control block structure

Control parameter to start device setup


Hardware ID
Device setup in progress…
Device setup successfully done
Device setup failed
Device setup status code

AcycJobs data – Type, Waiting time,


Device parameter number and value…
As an example, see the way the value 30
(which is 1E in hex) is preset to be written
to p10 once executing is started.

There are also some other Boolean inputs/outputs:


Execute (input) – change from False to True starts commissioning of the specific
device HwiD
Busy (output) – value True shows the commissioning being in progress
Done (output) – value True shows the commissioning was successfully done
Error (output) – value True shows error during commissioning, see Status code to
find the cause.

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 16
3 Software description

OB_AcycJobs_xxx – this is the block calling DbAcycInst_xxxx to update


DbAcycCtrl_xxxx inputs/outputs and Acyclic job data.

Figure 3-12 – OB_AcycJobs_xxx operating block structure


© Siemens AG 2022 All rights reserved

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 17
3 Software description

3.4 Error handling


In DbAcycCtrl_xxxx if during program execution (sending/reading data to/from a
frequency converter) any error occurs the Error output is set to 1 and Status
output is showing the error code.
Figure 3-13 – Finding error value in DbAcycCtrl_xxxx

In case of the error during processing of Read/Write Job (reading/writing converter


parameters) the Error number is displayed in ErrorValue variable of the Job.
To be able to track down in which Job the parameter caused the error see the
variable CurrentJobIndx in DbAcycInst_xxxx.
Figure 3-14 – Tracking down the error via CurrentJobIndx tag
© Siemens AG 2022 All rights reserved

Depending on Job type and its Error code you can find the cause of the error in
following tables.
• Read or Check Job: LAcycCom_ReadDriveParams diagnostics messages
• Write Job: LAcycCom_WriteDriveParams diagnostics messages

3.4.1 LAcycCom_ReadDriveParams diagnostics messages

Status Meaning Comment


16#0000 STATUS_EXECUTION_FINISH Execution finished without
ED errors
16#7000 STATUS_NO_CALL No call of FB
16#7001 STATUS_ALLOCATE FB is currently allocating a
request element
16#7002 STATUS_GET_RESOURCE FB is waiting until it has
“speaking rights”
16#7003 STATUS_BUSY FB is currently in processing
16#7004 STATUS_RELEASE FB is releasing the allocated
element
16#7100 WARN_EXECUTE Execute input set during silent
operation mode
16#7101 WARN_EXECUTE_SET_DURI Execute input set during
NG_PROCESSING processing
16#8001 ERR_NO_OF_PARAMETERS Invalid count of parameters
16#8002 ERR_INVALID_PRIORITY_CL FB is not called in OB1
ASS
16#8004 ERR_JOB_REJECTED Request rejected

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 18
3 Software description

16#8005 ERR_RESOURCE_RELEASED Request is already released


16#8006 ERR_AMBIGUOUS_FB_CALL Execute input set during
processing (possible
inconsistent data at output)
16#8200 ERR_INVALID_DATA_TYPE Invalid PLC data type at the
input “dataset”
16#8201 ERR_INVALID_BUF_INDEX Buffer index is invalid
16#8600 ERR_COMMAND_TIMEOUT The assigned buffer element is
no longer available for the
request
16#8601 ERR_RDREC_TEMP_COUNT Counter for temporary errors
ER reached the maximum during
RDREC command
16#8602 ERR_WRREC_TEMP_COUNT Counter for temporary errors
ER reached the maximum during
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
© Siemens AG 2022 All rights reserved

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)

3.4.2 LAcycCom_WriteDriveParams diagnostics messages

Status Meaning Comment


16#0000 STATUS_EXECUTION_FINISH Execution finished without
ED errors
16#7000 STATUS_NO_CALL No call of FB
16#7001 STATUS_ALLOCATE FB is currently allocating a
request element
16#7002 STATUS_GET_RESOURCE FB is waiting until it has
“speaking rights”
16#7003 STATUS_BUSY FB is currently in processing
16#7004 STATUS_RELEASE FB is releasing the allocated
element
16#7100 WARN_EXECUTE Execute input set during silent
operation mode
16#7101 WARN_EXECUTE_SET_DURI Execute input set during
NG_PROCESSING processing
16#8001 ERR_NO_OF_PARAMETERS Invalid count of parameters
16#8004 ERR_REQUEST_REJECTED Request rejected

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 19
3 Software description

16#8005 ERR_RESOURCE_RELEASED Request is already released


16#8006 ERR_AMBIGUOUS_FB_CALL Execute input set during
processing (possible
inconsistent data at output)
16#8200 ERR_INVALID_DATA_TYPE Invalid PLC data type at the
input “dataset”
16#8201 ERR_INVALID_BUF_INDEX Buffer index is invalid
16#8600 ERR_COMMAND_TIMEOUT The assigned buffer element is
no longer available for the
request
16#8601 ERR_RDREC_TEMP_COUNT Counter for temporary errors
ER reached the maximum during
RDREC command
16#8602 ERR_WRREC_TEMP_COUNT Counter for temporary errors
ER reached the maximum during
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
© Siemens AG 2022 All rights reserved

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)

3.4.3 FB_AcycJobs Error Codes

Status Meaning Comment


16#9000 ERR_NEXT_JOB MOVE_BLK_VARIANT error
while copying next job
16#9001 ERR_UNKNOWN_JOB Unknown job type
16#9002 ERR_READ_COPY MOVE_BLK_VARIANT error
while copying read values
16#9003 ERR_WRITE_COPY MOVE_BLK_VARIANT error
while copying write values
16#9004 ERR_CHECK_TIMEOUT Timeout error in check job.
Time elapsed without reaching
the expected values
16#9005 ERR_CHECK_COPY MOVE_BLK_VARIANT error
while copying check values

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 20
4 Application example

4 Application example
The following example shows the offline preparation of identical setup data for two
G120X PN democases on a same PN network. It is also described how to execute
the setup of the drives afterwards from the PLC.
Let's assume it is required to have these democases:
• Commissioned for operation, i.e. to use Basic commissioning setup faceplates
• Pre-set with improved motor starting performance, i.e. to use Boost setup
faceplate

4.1 Preparation of setup data in “SINAMICS G120X Basic


Setup” add-in
Run the add-in from project root to
ensure both drives are shown in
the add-in.
© Siemens AG 2022 All rights reserved

Select both inverters and click on


Next with new configuration.

In the list of functions enable Basic


Commissioning and Boost. Then
click on Next.

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 21
4 Application example

Enter the Converter supply voltage


(420V in this case) and motor type
and data according to its rating
plate.
Proceed with Next.

Limits for drive operation can stay


at default.
Proceed with Next.

Depending on preferred way of


drive control select suitable macro
(I/O preset). In this case Analog
control.
© Siemens AG 2022 All rights reserved

Proceed with Next.

On a Boost faceplate, modify the


Start boost value from 0 to 10 and
proceed with Next.

To make the configuration backup


click on Save Configuration button
and enter Name and Description.
Then click on Save.

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 22
4 Application example

Finally click on Finish button which


will initialize the automatic
generation of PLC blocks and
export of setup data into TIA Portal.

In case it appears, confirm the


warning message of the TIA Portal.

Exit the add-in and continue


according to the description in the
following chapter 4.2.
© Siemens AG 2022 All rights reserved

4.2 Download to PLC and execution of the G120X demo


kits setup
Generated blocks are now visible
under PLC device Program blocks.

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 23
4 Application example

Select the PLC device and compile the


project.

During compilation you might face the


warning message informing about
numbering of some blocks. It can be
easily resolved automatically by a click
on Yes button.

Download the project to the PLC.


© Siemens AG 2022 All rights reserved

Select correct PG/PC interface and the


slot “1 X1” on the PLC side.

Start search for target device and


select the PLC CPU.

Press the Load button.

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 24
4 Application example

Confirm loading…

… after download select the action


Start module and Finish.

Since now the setup data for both


demo kits are stored in the PLC and
you can initiate their parametrization
anytime when needed…

In TIA Portal select PLC device and Go


© Siemens AG 2022 All rights reserved

online.

The statuses should signalize OK.

Open the OB_AcycJobs_PLC_1 and


switch ON the monitoring.

For both converters toggle the inputs


".execute" to TRUE.

Notice that outputs ".busy" turn TRUE


during execution of converter's setup.

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 25
4 Application example

The ".done" output should become


TRUE after a while indicating
successful data transfer.

Before you save the project in TIA


Portal, manually reset all ".execute"
inputs to FALSE.

Go offline and Save the TIA Portal


project.
© Siemens AG 2022 All rights reserved

Both demo kits are now parametrized.


On the next RUN command each drive
will perform Stationary ID test.
Then they will be fully commissioned
and ready for operation.

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 26
5 Appendix

5 Appendix
5.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:
support.industry.siemens.com

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:
support.industry.siemens.com/cs/my/src
© Siemens AG 2022 All rights reserved

SITRAIN – Digital Industry Academy


We support you with our globally available training courses for industry with
practical experience, innovative learning methods and a concept that’s tailored to
the customer’s specific needs.
For more information on our offered trainings and courses, as well as their
locations and dates, refer to our web page:
siemens.com/sitrain

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:
support.industry.siemens.com/cs/sc

Industry Online Support app


You will receive optimum support wherever you are with the "Siemens Industry
Online Support" app. The app is available for iOS and Android:
support.industry.siemens.com/cs/ww/en/sc/2067

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 27
5 Appendix

5.2 Industry Mall

The Siemens Industry Mall is the platform on which the entire siemens Industry
product portfolio is accessible. From the selection of products to the order and the
delivery tracking, the Industry Mall enables the complete purchasing processing –
directly and independently of time and location:
mall.industry.siemens.com

5.3 Links and literature


Table 5-1
No. Topic
\1\ Siemens Industry Online Support
https://support.industry.siemens.com
© Siemens AG 2022 All rights reserved

\2\ Link to this entry page of this application example


https://support.industry.siemens.com/cs/ww/en/view/109792547
\3\ Add-In "EditParametersinSeveralDrives"
https://support.industry.siemens.com/cs/ww/en/view/109777633

5.4 Change documentation


Table 5-2
Version Date Modifications
V1.0.0 02/2022 First version
V1.0.1 12/2022 SINAMICS Startdrive V17 added to Table 1-2

SINAMICS G120X: Basic Setup Add-in V17


Entry-ID: 109792547, V1.0.1, 12/2022 28

You might also like