How To Do Tracing Sinamics G120X Parameters Via Simatic PLC

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

How to do tracing

SINAMICS G120X
parameters via
SIMATIC PLC
Siemens
SINAMICS G120X / SIMATIC S7-1200 / TIA Portal V16 Industry
Online
https://support.industry.siemens.com/cs/ww/en/view/109793202 Support
This entry is from the Siemens Industry Online Support. The general terms of use
(http://www.siemens.com/terms_of_use) apply.

Security Siemens provides products and solutions with industrial security functions that
informa- support the secure operation of plants, systems, machines and networks.
tion 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 only
form one element of such a concept.
Customer is responsible to prevent unauthorized access to its plants, systems,
machines and networks. Systems, machines and components should only be
connected to the enterprise network or the internet if and to the extent necessary
and with appropriate security measures (e.g. use of firewalls and network
segmentation) in place.
Additionally, Siemens’ guidance on appropriate security measures should be
taken into account. For more information about industrial security, please visit
http://www.siemens.com/industrialsecurity.
Siemens’ products and solutions undergo continuous development to make them
more secure. Siemens strongly recommends to apply product updates as soon
as available and to always use the latest product versions. Use of product
versions that are no longer supported, and failure to apply 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 http://www.siemens.com/industrialsecurity.
© Siemens 2021 All rights reserved

Table of content
1 Introduction .................................................................................................... 3
1.1 Overview ........................................................................................... 3
1.2 Components used ............................................................................. 3
2 Engineering .................................................................................................... 4
2.1 Hardware setup ................................................................................. 4
2.2 Hardware configuration in TIA portal .................................................. 4
2.3 Cyclic communication setup............................................................... 5
2.4 TIA Portal Tracing setup .................................................................... 6
3 Appendix......................................................................................................... 9
3.1 Service and support ........................................................................... 9
3.2 Industry Mall .................................................................................... 10
3.3 Links and literature .......................................................................... 10
3.4 Change documentation .................................................................... 10

Tracing G120X parameters via PLC


Entry-ID: 109793202, V 1.0, 02/2021 2
1 Introduction

1 Introduction
1.1 Overview
Normally SINAMICS G120X users can use IOP-2 panel to trace slow process data.
It is possible by changing the Status screen to Trend View option. Minimum
sampling time is in this case 1.2s and two trends can be displayed simultaneously.

In situation where faster sampling rate is needed for tracing more dynamic
processes and operation conditions the SIMATIC PLC together with PROFINET
cyclic data communication (via Telegram 999) can be used.
Freely configurable Telegram 999 allows tracing up to 17 drive parameters
simultaneously.

As an example, configuration for tracing Actual motor speed, Current and Output
voltage of SINAMICS G120X PN 0.75kW 400V converter via SIMATIC S7-1200
PLC is described in following chapters.

1.2 Components used


This FAQ has been created with the following hardware and software components:
Table 1-1
© Siemens AG 2021 All rights reserved

Component Number Article number Note


SIMATIC S7-1200 1 6ES7 215-1AG40-0XB0 Other types of
CPU 1215C DC/DC/DC SIMATIC S7-1200 or
(Firmware V4.2) S7-1500 can be used.
SINAMICS G120X 1 6SL3200-0AE70-0AA0 Other types of
Starter Kit (FW1.0.1) SINAMICS G120(X)
drive with PROFINET
interface can be
used.
SIMATIC STEP 7 Prof. 1 6ES7822-1..06-.. Other versions of TIA
V16; Upgrade Portal (lower or
V11..V15-> V16 higher)
can be used to do the
configuration as
described.
SINAMICS G120X 1 G120X_GSDML_PN_V The file can be
GSDML PROFINET file 1.01.ZIP (19,2 KB) downloaded from:
https://support.industr
y.siemens.com/cs/ww
/en/view/109763250

Tracing G120X parameters via PLC


Entry-ID: 109793202, V 1.0, 02/2021 3
2 Engineering

2 Engineering
2.1 Hardware setup
Wiring of components as per the picture below.

Figure 2-1 PROFINET connection


© Siemens AG 2021 All rights reserved

2.2 Hardware configuration in TIA portal


We assume following steps are done in TIA Portal project:
1. Adding the PLC as a new device
2. Inserting G120X PN V1.0 converter from HW catalog (installation of
SINAMICS GSD library required)

Figure 2-2 Adding new devices in TIA Portal project

Tracing G120X parameters via PLC


Entry-ID: 109793202, V 1.0, 02/2021 4
2 Engineering

Create the PN network and set IP addresses and PN names.

Figure 2-3 Hardware configuration

2.3 Cyclic communication setup


In TIA Portal:

3. Go to Device view of G120X drive and select from HW catalog Submodule:


Free telegram, PZD-12/12. Double click to add it into Device overview.
4. Having selected Free telegram, PZD-12/12 Create IO tags for monitoring
actual motor speed, current and converter output voltage. Start naming
© Siemens AG 2021 All rights reserved

from the second line as first line refers to the address reserved for ZSW
(Status word).

Figure 2-4 IO tags configuration

Tracing G120X parameters via PLC


Entry-ID: 109793202, V 1.0, 02/2021 5
2 Engineering

In G120X converter (use BOP-2, IOP-2 or SAM as interface):

Assumption: Democase is commissioned with IO configuration p15 = 41:Analog


Control or is going to be Hand operated via IOP-2, SAM or BOP-2.

5. Check and eventually adjust the IP address and PN name according to


HW configuration (Chapter 2.2)
6. Check the Field bus protocol is set to p2030 = 7:PROFINET and set the
Free Telegram p922 = 999
7. Configure the PZD data in p2051:
p2051[1] = PZD2 r63[0] Actual speed (Note: this is factory setting)
p2051[2] = PZD3 r27 Motor current
p2051[3] = PZD4 r25 Output voltage
8. Check and eventually set scaling (reference values) for PZD’s depending
on quantities.
For Speed: p2000 = 3000rpm (recommended value is 2x motor rated
speed)
For Voltage: p2001 = 1000Vrms
For Current: p2002 = 3.2Arms (recommended value is the converter
maximum current)
9. Save the configuration in the converter. For example by p971 = 1.

2.4 TIA Portal Tracing setup


© Siemens AG 2021 All rights reserved

In TIA Portal select the PLC device and perform:


10. compilation
11. and downloading the configuration into PLC.
12. Go online.

Figure 2-5 Downloading the configuration into PLC

13. In PLC tree-view click on Traces and Add new trace


14. In Trace configuration window add IO tags as signals
15. Adjust sampling and recording duration if necessary. In our example we
record samples each pass of Main %OB1. In total 10000 samples.
16. Set trigger on rising signal of Actual current (value > 10), record with pre-
trigger 100 samples.
17. Transfer trace configuration to PLC

Tracing G120X parameters via PLC


Entry-ID: 109793202, V 1.0, 02/2021 6
2 Engineering

Figure 2-6 Tracing configuration


© Siemens AG 2021 All rights reserved

Now the tracing configuration is nearly done. The only remaining task is to adjust
scaling of displayed traces to match physical units according to the scaling set on
converter (see step 8). For that reason we introduce three new traces utilizing
calculator:

18. Add names of three new traces Act_Speed, Act_Current and Act_Voltage
19. Directly or using Formula Editor add formulas to match the scaling
parameters in converter. For example: Act_Speed: $0*3000/16384
where
$0 …….is alias of “Act_Speed_W” trace
3000…..is scaling factor (reference value) for Speed in converter, see step
8.
16384…is the range of PZD data (2^14)
20. Add units for each new signal
21. Hide unscaled signals to avoid duplicity
22. Start recording. Waiting for trigger is signalized by flashing .
23. Start drive either by DI0 or in Hand mode via IOP-2, BO-2 or SAM. Once
the converter is running and trigger is made the is signalized.
24. Depending on recording duration specified in step 15 the tracing is
finished after some time and result displayed.

Tracing G120X parameters via PLC


Entry-ID: 109793202, V 1.0, 02/2021 7
2 Engineering

Figure 2-7 Scaling adjustment


© Siemens AG 2021 All rights reserved

Figure 2-8 Final traces

Tracing G120X parameters via PLC


Entry-ID: 109793202, V 1.0, 02/2021 8
3 Appendix

3 Appendix
3.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 2021 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

Tracing G120X parameters via PLC


Entry-ID: 109793202, V 1.0, 02/2021 9
3 Appendix

3.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

3.3 Links and literature


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

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


https://support.industry.siemens.com/cs/ww/en/view/109793202

3.4 Change documentation


Table 3-2
Version Date Modifications
V1.0 02/2021 First version

Tracing G120X parameters via PLC


Entry-ID: 109793202, V 1.0, 02/2021 10

You might also like