TIA PRO1 16 Integrating Drive en

You might also like

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

SIMATIC TIA Portal Programming 1

Contents 16

AR
16. Integrating and Commissioning a Drive with Startdrive ................................... 16-2
16.1. Task Description: G120 as an Additional Conveyor Drive .................................................. 16-3
16.2. Communication Standard PROFIdrive ............................................................................... 16-4
16.2.1. Communication: CPU – Drive (e.g. G120) .......................................................................... 16-5
16.2.2. Standard Telegrams ........................................................................................................... 16-6
16.2.3. Structure of the Control Word ............................................................................................. 16-7
16.2.4. Structure of the Status Word............................................................................................... 16-8
16.2.5.
16.3.
16.3.1.
16.3.2.
16.3.3.
N
Setpoint / Actual Value → Speed Values ........................................................................... 16-9
Inserting a Drive into the Project ....................................................................................... 16-10
Networking a Drive with the CPU...................................................................................... 16-11
Parameterizing the Module Address and Module Name .................................................. 16-12
Configuring a Power Unit .................................................................................................. 16-13
AI
16.3.4. Parameterizing the Process Data Area (PZD) .................................................................. 16-14
16.3.5. Assigning a Device Name ONLINE (Module Initialization) ............................................... 16-15
16.4. Parameterizing the Drive: with the "Commissioning Wizard" ........................................... 16-16
16.5. Online Commissioning: Activating / Deactivating the Control Panel ................................ 16-17
16.5.1. Operating the Control Panel for Commissioning .............................................................. 16-18
16.5.2. Monitoring Control and Status Word(s) ONLINE .............................................................. 16-19
TR

16.6. Exercise 1: Reading-out the Firmware Version of the Drive ............................................. 16-20
16.6.1. Exercise 2: Resetting to Factory Settings ......................................................................... 16-21
16.6.2. Exercise 3: Inserting and Networking the Drive in the Offline Project .............................. 16-22
16.6.3. Exercise 4: Parameterizing the Drive Communication ..................................................... 16-23
16.6.4. Exercise 5: Parameterizing the Drive OFFLINE with the Commissioning Wizard ........... 16-24
16.6.5. Exercise 6: Downloading Drive Parameterization to the Drive and
Hardware Configuration to the CPU ................................................................................. 16-31
16.6.6. Exercise 7: Assigning the PROFINET Device Name ONLINE ......................................... 16-32
16.6.7. Exercise 8: Operating the Drive via the Control Panel ..................................................... 16-33
16.6.8. Exercise 9: Commissioning the Function "Drive" .............................................................. 16-34
SI

16.7. Additional Information ....................................................................................................... 16-35


16.7.1. Monitoring Active Alarms ONLINE .................................................................................... 16-36
16.7.2. Changing Parameters in the Inverter ................................................................................ 16-37
16.7.3. Reset to Factory Settings with the Basic Operator Panel 2 .............................................. 16-38

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-1
SIMATIC TIA Portal Programming 1

16. Integrating and Commissioning a Drive with Startdrive

At the end of the chapter the participant will ...

... be able to parameterize and test a drive with Startdrive

AR
... be able to integrate a drive in the device configuration

… be able to reset (restore) the inverter to factory settings

... be able to set basic parameters via Startdrive

… be able to control the drive via a PLC

N
AI
TR
SI

TIA-PRO1 - Drive with Startdrive


16-2 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

16.1. Task Description: G120 as an Additional Conveyor Drive

"S_slider2" (%IW30)
Specify the
G120 speed

AR
Task Description
N PROFINET

Imagine that the drive is being used as an additional drive for the conveyor model.
AI
The drive is to be controlled as follows:
• When "P_operation" (%Q0.1) is switched on (activated operation), the G120 drive is
automatically also switched on and off parallel to the conveyor motor.
• The speed of the G120 can be set via the right slide control (potentiometer) on the simulator.
TR
SI

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-3
SIMATIC TIA Portal Programming 1

16.2. Communication Standard PROFIdrive

PROFIdrive
PROFIBUS & PROFINET

AR
International (PI)

• Consistent industrial communication


• Comprehensive range of applications
• PROFIdrive is the standard profile for drives technology in conjunction
with the PROFIBUS and PROFINET communication systems
• Proven method for the easy and integrated connection of drives and
controllers of different manufacturers

Communication via PROFIBUS and PROFINET


N
PROFIBUS and PROFINET are the solutions which provide absolute consistency and are highly
application-oriented. The main reason that PROFIBUS and PROFINET stand out from other
AI
industrial communication systems is because they span such an extraordinary breadth of
applications.
One of the most important applications in industrial automation is drives technology.
Open technologies need, for their maintenance, ongoing development and market penetration, a
company-independent institution that can serve as a working platform. For this purpose, the
PROFIBUS Nutzerorganisation e.V. (PNO) [PROFIBUS User Organization] was founded in 1989
TR

as a non-profit organization representing the interests of manufacturers, users and institutes


(world’s largest interest association in the field of industrial communication).
PNO is a member of the international umbrella organization PI (PROFIBUS & PROFINET
International) founded in 1995.

PROFIdrive
PROFIdrive is the standard profile for drives technology in conjunction with the communication
systems PROFIBUS and PROFINET.
→ open "application profile" for connecting drives and controllers
SI

of different manufacturers via communication systems


The control word and status word of the G120 comply with the specifications of
PROFIdrive profile Version 2.0 or Version 3.0 for the "speed control" operating mode.

TIA-PRO1 - Drive with Startdrive


16-4 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

16.2.1. Communication: CPU – Drive (e.g. G120)

Main tasks of the CPU – Drive Communication:

Reading / Writing of parameters:


Controlling the drive process:
• Reading-out fault and diagnostic values
• Constant setting of control bits and setpoint values
• Reading and changing function values
• Constant reading of status bits and actual values
e.g. when setting up the machine

Parameter data range (PKW) Process data range (PZD)

Parameterizing Controlling

AR
Source of the main setpoint Value of main setpoint
Source of the control bits Logic state of control bits

The data is transferred:

• On request only if necessary • Fast and constantly triggered


• With free access to any parameter • With assigned (fixed) “wiring” to the process

acyclic cyclic

via DS47 telegrams via standard telegrams

Process Control
N
Fast data transmission of short data telegrams to all participating stations with the maximum
speed available on the bus whereby all participants can receive different data. In drive systems
AI
these are typically setpoints, control commands, status replies and actual values (measured
values).

Operating Control
In addition to this permanently available data, there is data that is only needed in particular cases.
It would therefore be senseless to permanently put load on the bus if this data is only needed
TR

once per hour or per day, for example, when starting up the machine (Class 1 Master). Another
reason for an expanded communication need could be the commissioning, optimization or
diagnosis of machine components from a central location. In this case, (such as a fault) a detailed
access of an Engineering Tool to the system components or the drive is enabled. Since, as a
rule, only one affected device/component is directly addressed, this window is only made
available once per bus cycle for one bus station and not simultaneously for every station.

Cyclic Data Exchange:


This is used to fulfill the demand for fast, permanent data exchange.
SI

Acyclic Data Exchange:


The acyclic exchange of entire data sets (for example, DS47, DS100) between Master/Controller
and Slave/Device occurs according to standardized procedures which are implemented with FBs
from the libraries (for example, Drive ES SIMATIC).
The initiation of a data transmission for the acyclic communication of a Class 1 Master/Controller
with a Slave/Device is always triggered by the user program. That is, the user program decides
whether a data exchange with a Slave/Device is necessary or not based on further conditions.
Only when there is a need, does a data transmission request get signaled to the DP
Master/Controller which then executes it.

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-5
SIMATIC TIA Portal Programming 1

16.2.2. Standard Telegrams

AR
Telegrams 1, 20 Manufacturer-independent Standard Tel. automatic configuration in drive
Telegrams 352 to 391 Siemens-specific Standard Telegrams automatic configuration in drive
Telegram 999 Free Telegrams manual configuration required

N
Master-Slave / Controller-Device Communication via Standard Telegram
The best way to implement a cyclic data exchange between Master/Controller (CPU) and
Slave/Device (G120) is using a standard telegram, which typically is also used for simple speed
AI
controls. Between the Master/Controller and Slave/Device, two input words and two output words
with the following contents are exchanged:
• Output word 1: Control word
• Output word 2: Main setpoint value
• Input word 1: Status word
R

• Input word 2: Main actual value


T
SI

TIA-PRO1 - Drive with Startdrive


16-6 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

16.2.3. Structure of the Control Word

1 = Motor ON
Rising edge for switching on !
0 0 0 0 0 1 0 0 0 1 1 1 1 1 1 0 = Motor OFF
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

ON / OFF1 (according to parameterized ramp)


OFF2 (coast to stop)

AR
OFF3 (default=quick stop, i.e. ramp-down time 0 sec.)
Pulse enable
Ramp-function generator-Enable
Ramp-function generator-Startup
Setpoint enable
Fault(s) acknowledge
reserved (can be parameterized, e.g. Jog1 with JOG in direction of rotation)
reserved (can be parameterized, e.g. Jog2 with JOG against direction of rotation)
Control from PLC
Reverse (reversal of direction of rotation)
---
Motor-Poti up
Motor-Poti down
Command data set Bit 0
N
The inverter can be controlled in various ways. The G120 can either be operated via the field bus
or via the terminal strip.
AI
This is controlled through a relevant Control Data Set (CDS)
Default for G120 = two CDS:
- Control data set CDS0: Control of the inverter via field bus
- Control data set CDS1: Control of the inverter via terminal strip

Control Word
TR

The control word (Bit 0 to 10) complies with the PROFIdrive profile standard. Bits 11 to 15 are
inverter-specific.
For reasons of safety in the case of a wire break, the inverter is always switched off when
the relevant OFF bit has signal 0.

ON/OFF1
A rising edge of this bit is generally required for switching on the inverter, and bits OFF2 and
OFF3 must have status 1.
When it is switched off using this bit, the motor is braked by the ramp down of the ramp-function
generator (Parameter 1121) and the inverter then switches itself off.
SI

OFF2
The inverter switches itself off immediately and as a result, the motor coasts down without
braking (coasts to a standstill). To switch the inverter on again, this bit must be set to 1 again and
a rising edge is necessary at ON/OFF1.

OFF3
The motor is braked by the OFF3 ramp down and the inverter remains on. This function is often
used as an EMERGENCY STOP
→ default for OFF3 = 0 seconds (in case of larger motors, this cannot always be achieved).

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-7
SIMATIC TIA Portal Programming 1

16.2.4. Structure of the Status Word

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Drive ready
Drive ready to run
Drive running
Drive fault active

AR
OFF2 active
OFF3 active
Switch-on inhibit active
Drive warning active
Deviation SETPOINT / ACTUAL
Control from PLC
Maximum frequency reached
Warning motor current max. (reached)
Motor holding brake active
Motor overload
Motor running direction right
Inverter overload

Status Word
N
The status word (Bit 0 to 10) complies with the PROFIdrive profile standard.
AI
Bits 11 to 15 are inverter-specific.

Switch-on Inhibit
This status is reached following the error elimination and acknowledgement of a drive fault. A
subsequent switch on is only possible with a "0"→"1"-edge of the bit "ON/OFF1".

Warning, Message
TR

Messages (bit 13, bit 15) and Warnings (bit 11)


SI

TIA-PRO1 - Drive with Startdrive


16-8 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

16.2.5. Setpoint / Actual Value → Speed Values


p2000: reference speed 1500 rpm
-100% 0% 100%

-16384 0 +16384

Value Value Inverter Speed under


(hexadecimal) (decimal) frequency (Hz) rated load (rpm)

4000 16384 50 1500

AR
Positive setpoint 3000 12288 37.5 1125
= direction of rotation 2000 8192 25 750
right
1500 5376 16.4 492.2
(View onto the drive axis)
1000 4096 12.5 375
500 1280 3.91 117,2

0 0 0 0

F000 -4096 -12,5 -375


Negative setpoint
= direction of rotation left E000 -8192 -25 -750
(View onto the drive axis)
C000 -16384 -50 -1500

Scaling the Speed Values


N
Via the parameter p2000, a reference speed is defined which all setpoint and actual values use
as a reference.
AI
The range of -100% to 100% of the setpoint or actual value, in turn, is scaled to the range
-16384 (C000HEX) to +16384 (4000HEX).
TR
SI

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-9
SIMATIC TIA Portal Programming 1

16.3. Inserting a Drive into the Project

Enter device name

AR
Select correct
version

"Startdrive" Option Package


N
If the "Startdrive" option package is installed in TIA Portal, drives can be added, configured and
assigned parameters as a new device.
AI
Otherwise, a drive can be inserted in the project via GSD file as a distributed I/O station using the
Hardware catalog. However, then only the communication with the CPU can be configured in TIA
Portal, no hardware configuration, no parameter assignment.
TR
SI

TIA-PRO1 - Drive with Startdrive


16-10 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

16.3.1. Networking a Drive with the CPU

AR
Drag connection
between devices

Editor
"Devices & networks" → "Network view"
N
AI
Networking
Click on the interface of the one module, hold the left mouse button and drag onto the interface of
the other module.
→ here in the picture: PN interface of the G120 dragged onto PN interface of the CPU

Unassigned Devices
TR

This section then disappears since the device is now assigned to the CPU.
And the link can be found in the Distributed I/O folder of the controller.
SI

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-11
SIMATIC TIA Portal Programming 1

16.3.2. Parameterizing the Module Address and Module Name

Select the control


unit

AR
Name of the Module
N
If the property "Generate PROFINET device name automatically" is activated in the Properties of
the drive under PROFINET interface > Ethernet addresses > PROFINET then the module name
AI
set under "Properties > General" is also the PROFINET device name. With the help of this name,
it is possible for the CPU to assign the module, that is, the PROFINET-IO Device is identified by
the PROFINET-IO Controller through this name.

This name must be assigned to the PROFINET-IO module online; otherwise, the
CPU (PROFINET-I/O Controller) cannot identify the module.
TR

Address Assignment of the Distributed IO-Module


For PROFINET-IO, the parameterized IP address of the module is assigned by the CPU through
the configured device name.
.
SI

TIA-PRO1 - Drive with Startdrive


16-12 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

16.3.3. Configuring a Power Unit

AR
Configuring a Power Unit:
N
A drive consists of two components
AI
• Control unit → already configured with the device that is added
• Power unit → must be configured
TR
SI

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-13
SIMATIC TIA Portal Programming 1

16.3.4. Parameterizing the Process Data Area (PZD)

Select control unit

AR
Status word and
actual value

Control word
and setpoint
(value)

T QW 60 Control word
T QW 62 Main setpoint
...
L IW 60 Status word
L IW 62

Process Data Area


Main act. value
N
Communication using Standard telegram 1 is based on a cyclic process data exchange that is
very easy to program.
AI
The control word and status word comply with the specifications of PROFIdrive profile
Version 2.0 or Version 3.0 for the "speed control" operating mode.

The control word and, if necessary, the main setpoint are sent from the CPU to the drive. In the
response telegram, the drive returns the status word and the main actual value.
Since only two words are exchanged between the CPU and the drive, simple load and transfer
operations are all that are required in the program. When a double word is transferred, data
TR

consistency is also assured.

Control Word
The control word contains 16 binary signals for controlling (On/Off, direction of rotation) the drive.

Main Setpoint
According to standard parameterization of the drive, the main setpoint specifies the setpoint
speed.
SI

TIA-PRO1 - Drive with Startdrive


16-14 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

16.3.5. Assigning a Device Name ONLINE (Module Initialization)

OFFLINE
configured
device name

AR
ONLINE
accessible
1xR device

N
Device Name
The PROFINET device name that was configured OFFLINE must be assigned to the drive that
actually exists ONLINE.
AI
Name of the Module
The name is the assignment CPU ↔ module.
Through this, the PROFINET-IO is identified by the PROFINET-Controller.
This name must be assigned to the PROFINET-IO module online; otherwise, the
CPU (PROFINET-Controller) cannot identify the module.
TR

Checking the Result in the Inspector Window


SI

Note:
If you do not use the "Assign device name" dialog but instead the Online access (Online &
diagnostics/Functions/Assign name) to set the device name on a device which already has a
PROFINET device name, then you will have to restart the device.

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-15
SIMATIC TIA Portal Programming 1

16.4. Parameterizing the Drive:


with the "Commissioning Wizard"

AR
Commissioning Wizard
N
AI
The most important settings for the drive can be made with the menu-driven Commissioning
Wizard. These are, among others:
• Defaults of the setpoints / command sources
• Drive setting and Drive options
• Motor (data)
TR

• Important parameters (dynamic data)


• Drive functions
SI

TIA-PRO1 - Drive with Startdrive


16-16 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

16.5. Online Commissioning: Activating / Deactivating the Control


Panel

Requirement:
• Online connection PG ↔ Drive exists
• No fault is active (if necessary, acknowledge first)

AR
Activate

N
Acknowledge fault

As soon as the drive has a valid IP address and thus is accessible online, the parameterization
AI
and functions of commissioning are available.

Online Accesses
As soon as the drive has been assigned a valid IP address in the subnet used, the functions of
commissioning are available here.
TR

Device in the Project Tree


If the drive was inserted as a new device, it is assigned the default IP address
192.168.0.1.

is only possible when the IP address of the device configuration corresponds to the
subnet used and is also assigned to the drive.

Control Panel
This can only be activated when an online connection exists and no fault exists.
SI

Caution!
Activation terminates a possibly existing connection to the CPU and gives the operator
full control of the drive. Therefore it is important to have at your disposal a hardware
solution for an Emergency Stop.

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-17
SIMATIC TIA Portal Programming 1

16.5.1. Operating the Control Panel for Commissioning

Activate / Deactivate Master Control Drive enables /disable

Continuous mode
Motor off according to specified speed

AR
Specify speed Jog Mode according to specified speed

For reasons of safety, the drive is stopped when the editor is exited (e.g. Editor change, Windows task change)

N
If the Master control is "fetched to the PG" you can switch on "Modify".
Operation is enabled and the buttons for modifying are active.
AI
Safety Shutdown
The drive is stopped and...
• operating enables are cancelled,
when the "Commissioning" editor is exited through a Windows task change.

TR

• the Master control is deactivated with a fault message,


when a switch is made to the editor of another device.
⇒ and
SI

TIA-PRO1 - Drive with Startdrive


16-18 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

16.5.2. Monitoring Control and Status Word(s) ONLINE

AR
Monitoring Control and Status Word(s)
N
The Control and Status words dialog displays the different control and status words for
diagnostics.
AI
The signals actually used by the inverter are indicated by LED lights. The display is only relevant
if the drive is controlled via the fieldbus.
TR
SI

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-19
SIMATIC TIA Portal Programming 1

16.6. Exercise 1: Reading-out the Firmware Version of the Drive

AR
Optional:
Assign IP address

Task
N
In order to be able to configure the drive in the project in the next exercises, you must know the
firmware version of the training unit. Since the firmware of the drive can be upgraded, the version
AI
of the firmware specified on the outside does not necessarily reflect reality. For that reason, the
current version of the firmware is now to be read out online from the drive.

Problem
Should the drive only have a MAC address (see Project tree, to the left in the picture) and neither
a PROFINET device name nor an IP address, the firmware version cannot be read out, since an
TR

IP address is required for this diagnostic service.

What to Do
1. Open the drive in the list of "accessible devices" and activate "Online & diagnostics".
2. In case the drive does not yet have an IP address:
3. Assign a temporary IP address in the working area via the menu item "Functions > Assign IP
address", update the list of "accessible devices" and once again activate the "Online &
diagnostics".
SI

4. In the working area, go to the menu item "Diagnostics > Diagnostics general" and make a
note of the inverter’s firmware version.
5. Leave the window open.

TIA-PRO1 - Drive with Startdrive


16-20 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

16.6.1. Exercise 2: Resetting to Factory Settings

AR
Task
N
The drive is to be reset to its factory settings.
With the "Restore factory settings" function, the PROFINET device name and the IP address are
AI
also deleted.

What to Do
1. In the working area, go to the menu item "Functions > Saving / reset"
2. In the window that appears on the right, select "All parameters will be reset" for the function
"Restore factory setting:".
TR

3. Start the resetting to factory settings.

Note:
After a PROFINET interface parameter is reset, the function "Saving / reset" is not available.
4. Close the window.
SI

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-21
SIMATIC TIA Portal Programming 1

16.6.2. Exercise 3: Inserting and Networking the Drive in the Offline Project

AR
Task
N
The drive is to be inserted in the project and networked with the CPU via PROFINET.
AI
What to Do
1. Open the "Hardware & Networks" editor and there activate the "Network view".
2. In the Task Cards, open the "Hardware catalog".
3. Insert the G120 drive by dragging the CU240E-2PN-F control unit into the Network view using
drag & drop.
TR

Pay attention to the Article no (order number) and the Version in the "Information".
4. Network the drive with the CPU by dragging the PROFINET interface of the drive to the
PROFINET interface of the CPU using drag & drop.
5. Save your project.
SI

TIA-PRO1 - Drive with Startdrive


16-22 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

16.6.3. Exercise 4: Parameterizing the Drive Communication

AR
Task
N
So that the configuration of the drive is complete, a power unit still has to be added. Furthermore,
the control unit still has to be parameterized.
AI
What to Do:
1. Open the Device configuration of the drive.
2. Open the Hardware catalog and, using drag & drop, add the power unit. Pay attention to its
Article no (order number) and Version in the "Information".
TR

3. Select the control unit and, in the Inspector window under "Properties", parameterize the
module with the parameters shown in the picture.
4. Save your project.
SI

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-23
SIMATIC TIA Portal Programming 1

16.6.4. Exercise 5: Parameterizing the Drive


OFFLINE with the Commissioning Wizard

AR
Task
N
OFFLINE, you are to set the most important drive parameters and use the "Commissioning
AI
Wizard" to do this.

What to Do
1. Start the Commissioning Wizard as shown in the picture. Implement the parameterization as
shown in the following.
TR

Note if Firmware of the drive is lower than 4.7.3


For a Firmware of the drive that is lower than 4.7.3., the Commissioning Wizard starts with
the setting "Setpoint specification".
• Setpoint specification
SI

TIA-PRO1 - Drive with Startdrive


16-24 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

• Open-loop/closed-loop parameters
Note: This setting can only be chosen if "[0] Expert" is selected for the Application class or for
a Firmware of the drive that is lower than 4.7.3.

AR
• Defaults of the setpoints / command sources
N
AI
TR
SI

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-25
SIMATIC TIA Portal Programming 1

• Drive setting

AR
Additional setting: Power unit
application for FW lower than
4.7.3 or selected Application
class "[0] Expert"

N
AI
TR

• Drive options
SI

TIA-PRO1 - Drive with Startdrive


16-26 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

• Motor
Take the motor data from the motor’s nameplate and enter it in the Motor dialog:

AR
N
AI
TR

Setting for FW lower than 4.7.3 or selected Application class


"[0] Expert" Additional Rated motor power factor.
SI

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-27
SIMATIC TIA Portal Programming 1

• Motor (holding) brake

AR
• Important parameters
Change the ramp-up and ramp-down times:

N
AI
TR
SI

• Drive functions

TIA-PRO1 - Drive with Startdrive


16-28 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

AR
Additional setting:
NCalculation of the motor data for FW
lower than 4.7.3 or selected Application
class [0] Expert
AI
TR
SI

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-29
SIMATIC TIA Portal Programming 1

• Summary

AR
N
AI
TR
SI

2. Have the Commissioning Wizard complete the commissioning by pressing the "Finish" button
and save your project.

TIA-PRO1 - Drive with Startdrive


16-30 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

16.6.5. Exercise 6: Downloading Drive Parameterization to the Drive and Hardware


Configuration to the CPU

AR
Task
N
AI
Now that you have implemented the basic parameterization offline, it is now to be downloaded
into the drive online. In addition, the hardware change of the CPU is also to be downloaded.

What to Do
1. In the Project tree, select the drive and start the download of the hardware configuration and
parameter assignment using the button "Download to device".
2. The dialog "Extended download to device" appears which contains the list of compatible
TR

devices in the target subnet in the lower part. Should the drive of your training area not be
listed there, activate the option "Show all compatible devices" (see picture).
3. In the list "Select target device", select the drive of your training area and start the
"Download".
4. So that the drive doesn’t lose the parameterization even after a power failure, answer the
following dialog as follows:
SI

5. Also download the hardware configuration of the SIMATIC station once more into the S7-
1500 so that the G120 is entered (listed) as a new IO-Device.

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-31
SIMATIC TIA Portal Programming 1

16.6.6. Exercise 7: Assigning the PROFINET Device Name ONLINE

OFFLINE
configured
device name

AR
ONLINE
1xR accessible device

Task
N
ONLINE, assign the OFFLINE configured PROFINET device name and the IP address to the
drive.
AI
What to Do
1. Open the "Hardware & Networks" editor and there activate the "Network view".
2. Select the subnet (see picture) and via the right mouse button, activate the function "Assign
device name".
TR

3. In the dialog that follows, complete it as shown in the picture and assign the name.
4. Check whether the name assignment was successful by "Updating the accessible devices"
under the Online access.
5. Save your project.
SI

TIA-PRO1 - Drive with Startdrive


16-32 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

16.6.7. Exercise 8: Operating the Drive via the Control Panel

Activate Master control

AR
Specify speed START backwards / forwards

Task
N
Since the drive is already configured and has been assigned an IP address by the Controller, it
can be operated via the Control panel.
AI
What to Do
1. In the Project tree under "G120" open the menu "Commissioning" and there the "Control
panel" (see picture).
2. Go online
TR

3. Activate the "Master control" and acknowledge the dialog that appears.
SI

4. Specify a speed and a direction "Backward" or "Forward".


5. The first time you switch on, a motor identification (if it was parameterized) is carried out;
you’ll have to wait this out.
6. If the drive enable is reset after the motor identification, repeat Steps three and four.
7. Let the motor move "Forward" and "Backward" with different speeds.
8. Switch the motor off again and deactivate the Master control.
9. Close the editor and disconnect the online connection to the G120 (Go Offline).

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-33
SIMATIC TIA Portal Programming 1

16.6.8. Exercise 9: Commissioning the Function "Drive"

AR
Task
N
Imagine that the G120 serves as the drive for the conveyor model when parts are transported
from Bay1 or 2 automatically through the light barrier.
AI
Accordingly, the G120 must be switched on and off parallel to the conveyor model motor when
"P_operation" (%Q0.1) is switched on. The speed can be set using the right slide control
potentiometer.
The described function is already implemented in the function "Drive" and is now to be copied
from a library and commissioned.
TR

What to Do
1. Open the library C:\_Archive\TIA-PRO1_V160000\PRO1_V160000.
2. Using drag & drop, copy the library elements "Drive_Blocks" and "PLCTags_Drive" (tag table)
into your project.
3. If you have not declared the variable "S_slider2" (%IW30) of the data type WORD in the
chapter "Troubleshooting", then declare it now in the variable table "My_Tags".

Note:
Since the object "Drive_Blocks" contains the FC "Drive" and a "Program cycle" OB which
SI

calls the FC, the new program can be loaded without further adjustments.
4. Download all blocks into the CPU and check whether the G120 is switched on and switched
off parallel to the conveyor model motor when operation ("P_operation" = "TRUE") is
switched on.
5. Check whether the speed of the G120 can be changed using the right slide control
potentiometer on the simulator.
6. Save your project.

TIA-PRO1 - Drive with Startdrive


16-34 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

16.7. Additional Information

AR
N
AI
TR
SI

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-35
SIMATIC TIA Portal Programming 1

16.7.1. Monitoring Active Alarms ONLINE

AR
Description
N
"Active alarms" displays the currently pending alarms and faults.
AI
• For a fault, the parameterized fault reaction is initiated and the status signal word 1.3 is sent.
In addition, the fault is entered in the Fault buffer. Faults must be acknowledged after the
cause is eliminated.
• For an alarm, the status signal word 1.7 is set. In addition, the alarm is entered in the Alarm
buffer.

Faults and Alarms


TR

Fault code / Alarm code Number of the fault / alarm

Message Description of the fault / alarm

Fault time / Alarm time Time stamp that shows when the fault / alarm occurred.
SI

Acknowledging Faults

Click on the button in order to acknowledge all active faults.


Faults and alarms are moved to the Alarm history after they have been acknowledged.

TIA-PRO1 - Drive with Startdrive


16-36 Training Document, V16.00.00
SIMATIC TIA Portal Programming 1

16.7.2. Changing Parameters in the Inverter

AR
Functional parameter groups:
• DI/DO assignment
• Control word structure
• Behavior in case of error
...etc.
Parameter lists
P-No. and Value:
• Entire list
• Filtered by function

N
Parameters can be changed through the "Parameter" editor.
Back up parameter assignments
AI
Calling the "Parameter" Editor from the Device in the Project Tree
When the online connection is to be terminated, a prompt comes up questioning whether the data
is to be copied to EEPROM (nonvolatile backup of the parameter changes).
If the change is only to be tried for test purposes, you can answer the query for copying
with NO and after a PowerOFF/ON, the inverter then works with its previous values.
TR

Calling the "Parameter" Editor from the Online Access


The change of these parameters is immediately written to the EEPROM.
SI

TIA-PRO1 - Drive with Startdrive


Training Document, V16.00.00 16-37
SIMATIC TIA Portal Programming 1

16.7.3. Reset to Factory Settings with the Basic Operator Panel 2

Menu "Extras"

AR
Menu function "DRVRESET"

Exit menu

ESC / OK

N
With the Basic Operator Panel 2 (BOP-2), you can optimize the interface and communication
options of SINAMICS inverters as well as set parameters without the engineering software.
AI
The BOP-2 can be attached to or removed from the inverter even when it is "live" (has voltage).
The BOP-2 is connected to the inverter via an RS232 interface. The BOP-2 recognizes all of the
following Control Unit variants of the SINAMICS series automatically and supports these as of
firmware version 4.3, Service Pack 2:
• SINAMICS G120 CU230P-2

TR

SINAMICS G120 CU240B-2


• SINAMICS G120 CU240E-2
• SINAMICS G120 CU250S-2
• SINAMICS G120C
SI

TIA-PRO1 - Drive with Startdrive


16-38 Training Document, V16.00.00

You might also like