TIA PRO1 15 Drive With Startdrive ENG
TIA PRO1 15 Drive With Startdrive ENG
Contents 15
15. Integrating and Commissioning a Drive with Startdrive ................................... 15-2
Task Description: G120 as an Additional Conveyor Drive ................................................................. 15-3
15.1. Communication Standard PROFIdrive ............................................................................... 15-4
15.1.1. CPU - Drive Communication: CPU - G120 ......................................................................... 15-5
15.1.2. Standard Telegrams ........................................................................................................... 15-6
15.1.3. Structure of the Control Word (CDS0 - ControlDataSet for Fieldbus Control) ................... 15-7
15.1.4. Structure of the Status Word............................................................................................... 15-8
15.1.5. Setpoint / Actual Value → Speed Values ........................................................................... 15-9
15.2. Inserting a Drive into the Project ....................................................................................... 15-10
15.2.1. Networking a Drive ............................................................................................................ 15-11
15.2.2. Parameterizing the Module Address and Name ............................................................... 15-12
15.2.3. Configuring a Power Unit .................................................................................................. 15-13
15.2.4. Parameterizing the Process Data Area (PZD) .................................................................. 15-14
15.2.5. Assigning the Device Name ONLINE (Module Initialization) ............................................ 15-15
15.3. Parameterizing the Drive: with the "Commissioning Wizard" ........................................... 15-16
15.3.1. Exercise 1: Reading-out the Firmware Version of the Drive............................................. 15-17
15.3.2. Exercise 2: Restoring the Factory Settings ....................................................................... 15-18
15.3.3. Exercise 3: Inserting and Networking the Drive in the Offline Project .............................. 15-19
15.3.4. Exercise 4: Configuring and Parameterizing the Drive ..................................................... 15-20
15.3.5. Exercise 5: Assigning the PROFINET Device Name ONLINE ......................................... 15-21
15.3.6. Exercise 6: Parameterizing the Drive OFFLINE with the Commissioning Wizard........... 15-22
15.3.7. Exercise 7: Downloading the Parameterization into the Drive.......................................... 15-27
15.3.8. Exercise 8: Commissioning the Program Expansion ........................................................ 15-29
15.4. Additional Information ....................................................................................................... 15-30
15.4.1. Changing Parameters in the Inverter ................................................................................ 15-31
15.4.2. Activating / Deactivating the Control Panel....................................................................... 15-32
15.4.3. Operating the Control Panel ............................................................................................. 15-33
15.4.4. Monitoring Control and Status Word Online ..................................................................... 15-34
15.4.5. Monitoring Active Messages Online ................................................................................. 15-34
15.4.6. G120 Reset to Factory Settings via BOP-2 ...................................................................... 15-35
G120 speed
setting
PROFINET
Task Description
Imagine that the drive is being used as an additional drive for the conveyor model.
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 operator
panel.
PROFIdrive
PROFIBUS & PROFINET
International (PI)
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
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.
Parameterizing Controlling
acyclic cyclic
Process Control
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
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
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.
15.1.3. Structure of the Control Word (CDS0 - ControlDataSet for Fieldbus Control)
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
The inverter can be controlled in various ways. The G120 can either be operated via the field bus
or via the terminal strip.
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
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.
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)
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
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
The status word (Bit 0 to 10) complies with the PROFIdrive profile standard.
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 again is only possible with ON/OFF1 "0"→"1".
Warning, Message
Messages (bit 13, bit 15) and Warnings (bit 11)
-16384 0 +16384
Select correct
version
Drag connection
between devices
Editor
"Devices & networks" → "Network view"
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
Status word
and actual
value
Control word
and setpoint
value
T QW 60 Control word
T QW 62 Main setpoint
...
L I W 60 Status word
L I W 62 Main act. value
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 with the drive, simple load and transfer operations are all
that are required in the program. When a double word is transferred, data 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.
OFFLINE
configured
device name
1xR
ONLINE
accessible
device
Device Name
The PROFINET device name that was configured OFFLINE must be assigned to the drive that
actually exists ONLINE.
Name Assignment
Currently, the menu item is only included in the context menu of the network connection; not
with the drive.
Commissioning Wizard
The most important settings for the drive can be made with the menu-driven Commissioning
Wizard. These are:
• Data sets
• Open-loop/closed-loop parameters
• Defaults of the setpoints / command sources
• Drive settings
• Motor (data)
• Important parameters (dynamic data)
• Drive functions
1
Temporary
IP address
MAC address
of G120
22
Task
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
of the firmware specified on the outside of the drive 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
IP address is required for this diagnostic service.
What to Do
1. In case the drive does not yet have an IP address:
Assign a temporary IP address as shown in the picture and update the list "Update accessible
devices".
2. In the list of "accessible devices", open the drive and activate "Online & diagnostics".
3. In the window that appears on the right, activate the function "General diagnostics" and make
note of the firmware version of the inverter.
4. Close the window.
Task
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
retained.
What to Do
1. Under the Online access, select the interface Inte(R) 82574L Gigabit.... and update the list
"Update accessible devices".
2. Open the drive and there activate the function "Commissioning".
3. In the window that appears on the right, activate the function "Save/Reset" and there start the
function "Restore factory setting".
4. In the dialog that then appears activate the option "Save factory setting in EEPROM" so that
even after a power recovery, the drive retains the factory setting.
5. Close the window.
15.3.3. Exercise 3: Inserting and Networking the Drive in the Offline Project
Task
The drive is to be inserted in the project and networked with the CPU via PROFINET.
What to Do
1. Open the "Devices & 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. Pay attention to the 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.
Task
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.
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
order number and version in the "Information".
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.
OFFLINE
configured
device name
1xR
ONLINE
accessible
device
Task
ONLINE, assign the PROFINET device name and the IP address that was configured OFFLINE
for the drive.
What to Do
1. Open the Devices & networks editor and there activate the Network view.
2. Select the PLC_1 IO-System (100) and, with a right-click, activate the function "Assign device
name".
3. Complete the dialog that follows with the information shown in the picture and assign the
name.
4. Check whether the name assignment was successful by updating the "Update accessible
devices" under ‘Online access’.
5. Save your project.
Task
OFFLINE set the most important drive parameters and use the "Commissioning Wizard" for this.
What to Do
1. Start the Commissioning Wizard as shown in the picture. Implement the parameterization as
shown in the following.
• Data sets
• Drive setting
• Motor
Take the motor data from the motor’s nameplate and enter it in the Motor dialog:
• Important parameters
Change the ramp-function generator times:
• Drive functions
• Summary
2. Close the Commissioning Wizard (with Finish) and save your project.
Task
Now that you have implemented the basic parameterization offline, it is now to be downloaded
into the drive online.
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 shown in the picture.
2. The dialog "Extended download to device" appears which contains the list of "Compatible
devices in 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 of "Compatible devices in target subnet", select the drive of your training area and
start the "Download".
So that the drive doesn’t lose the parameterization even after a power failure, answer the
following dialog as follows:
4. Then, download the device configuration into the CPU so that the drive is passed the
parameterized IP address.
(With Profinet, the distributed I/O is recognized by the CPU by means of the device name
and in this way is assigned the parameterized IP address. For that reason, when the IP
address is changed, this information must also be passed to the CPU.)
Task
Imagine that the G120 serves as the drive for the conveyor model when parts are automatically
transported from Bay1 or 2 through the light barrier.
Accordingly, the G120 must be switched on and off parallel to the conveyor model motor when
"P_Operation" (Q0.1) is switched on. The G120 speed can be set via the right slide control
potentiometer.
The described function is already implemented in the block "FC_Drive" (FC120) and is now to be
copied from a library and commissioned.
What to Do
1. Open the library C:\Archives\TIA\PRO1_Lib
2. Using drag & drop, copy the library elements "FC_Drive" (FC120) and "Drive" (PLC tag table)
into your project.
3. Program the call of "FC_Drive" (FC120) in OB1.
4. Download all blocks into the CPU and check whether the G120 is switched on and off parallel
to the conveyor model motor when "P_Operation" (Q0.1) is switched on.
5. Check whether you can change the speed of the G120 via the right slide control
potentiometer of the operator panel.
6. Save your project.
Calling the "Parameter" Editor from the Device in the Project Tree
This function must be activated so that the online parameters of the drive are also visible.
You can see this in that the parameters are displayed on an orange-colored background.
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.
Prerequisite:
• Online connection PG ↔ Drive exists
• No fault is active (if necessary, acknowledge first)
Activate
Acknowledge fault
As soon as the drive has a valid IP address and thus is accessible online, the parameterization
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.
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.
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.
Continuous mode
according to specified
speed
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)
If the master control is “fetched to the PG”, “Modify” can be switched on.
Operation is enabled and the buttons for modifying are active.
Safety Shutdown
The drive is stopped and...
• operating enables are cancelled,
when the “Commissioning” editor is exited through a Windows task change.
⇒
• the master control is deactivated with a fault message,
when a switch is made to the editor of another device.
⇒ and
Menu "Extras"
Exit menu
ESC / OK