SIMOCRANE Basic Technology 2012-06 en en-US PDF
SIMOCRANE Basic Technology 2012-06 en en-US PDF
SIMOCRANE Basic Technology 2012-06 en en-US PDF
Preface
___________________
System overview 1
___________________
Hardware interfaces 2
SIMOCRANE
___________________
Software structure 3
___________________
Crane function blocks 5
Operating Instructions
___________________
Communication 6
Alarm, error and system
___________________
messages 7
___________________
Commissioning 8
___________________
Possibility of adaptation 9
___________________
Standard applications 10
___________________
Spare parts/Accessories 11
___________________
Appendix A
Valid for
SIMOCRANE Basic Technology V3.0
Hardware:
– SIMOTION D435-2 DP/PN as of version V4.3 SP1
– SINAMICS as of version V4.5
06/2012
Legal information
Warning notice system
This manual contains notices you have to observe in order to ensure your personal safety, as well as to prevent
damage to property. The notices referring to your personal safety are highlighted in the manual by a safety alert
symbol, notices referring only to property damage have no safety alert symbol. These notices shown below are
graded according to the degree of danger.
DANGER
indicates that death or severe personal injury will result if proper precautions are not taken.
WARNING
indicates that death or severe personal injury may result if proper precautions are not taken.
CAUTION
indicates that minor personal injury can result if proper precautions are not taken.
NOTICE
indicates that property damage can result if proper precautions are not taken.
If more than one degree of danger is present, the warning notice representing the highest degree of danger will
be used. A notice warning of injury to persons with a safety alert symbol may also include a warning relating to
property damage.
Qualified Personnel
The product/system described in this documentation may be operated only by personnel qualified for the specific
task in accordance with the relevant documentation, in particular its warning notices and safety instructions.
Qualified personnel are those who, based on their training and experience, are capable of identifying risks and
avoiding potential hazards when working with these products/systems.
Proper use of Siemens products
Note the following:
WARNING
Siemens products may only be used for the applications described in the catalog and in the relevant technical
documentation. If products and components from other manufacturers are used, these must be recommended
or approved by Siemens. Proper transport, storage, installation, assembly, commissioning, operation and
maintenance are required to ensure that the products operate safely and without any problems. The permissible
ambient conditions must be complied with. The information in the relevant documentation must be observed.
Trademarks
All names identified by ® are registered trademarks of Siemens AG. The remaining trademarks in this publication
may be trademarks whose use by third parties for their own purposes could violate the rights of the owner.
Disclaimer of Liability
We have reviewed the contents of this publication to ensure consistency with the hardware and software
described. Since variance cannot be precluded entirely, we cannot guarantee full consistency. However, the
information in this publication is reviewed regularly and any necessary corrections are included in subsequent
editions.
Hardware:
● SIMOTION D435-2 DP/PN as of version V4.3 SP1
● SINAMICS as of version V4.5
Software:
● SIMOTION SCOUT as of version V4.3 SP1
● SIMOCRANE Basic Technology as of version V3.0
● Drive Control Chart (DCC) options package as of version V2.2 SP1
Additional information
Basic Technology
Operating Instructions, 06/2012 3
Preface
Further assistance
We also offer introductory courses to help you familiarize yourself with SIMOCRANE Basic
Technology. You can find more information here (www.siemens.nl/training/cranes).
If you have any additional questions please contact your local Siemens sales person.
Basic Technology
4 Operating Instructions, 06/2012
Table of Contents
Preface ...................................................................................................................................................... 3
1 System overview...................................................................................................................................... 11
2 Hardware interfaces................................................................................................................................. 19
2.1 Handling a CompactFlash card of a D4x5-2................................................................................19
2.2 Interfaces of the SIMOTION D435-2 DP/PN ...............................................................................19
2.2.1 Ethernet ports...............................................................................................................................20
2.2.2 PROFINET IO interface ...............................................................................................................23
2.2.3 Digital I/Os....................................................................................................................................26
2.3 Interfaces of the Communication Board Ethernet 30 (CBE30-2).................................................27
3 Software structure.................................................................................................................................... 29
3.1 Software structure........................................................................................................................29
3.2 Structure of a function module .....................................................................................................31
3.3 Control Structure..........................................................................................................................35
4 Function modules .................................................................................................................................... 37
4.1 Hoist .............................................................................................................................................37
4.2 Trolley(Cross Travel) ...................................................................................................................43
4.3 Gantry (Long Travel)....................................................................................................................49
4.4 Boom............................................................................................................................................55
4.5 Holding Gear ................................................................................................................................58
4.6 Closing Gear ................................................................................................................................61
4.7 Slewing Gear................................................................................................................................66
5 Crane function blocks .............................................................................................................................. 69
5.1 Nomenclature of the crane function blocks..................................................................................69
5.2 Crane DCC library........................................................................................................................71
5.2.1 General information .....................................................................................................................71
5.2.2 DCC_AccelChangeSlewGear ......................................................................................................72
5.2.3 DCC_ChangeOverHDFW ............................................................................................................77
5.2.4 DCC_ContLoadMeasurement......................................................................................................80
5.2.5 DCC_ContLoadMeasurement_1 ..................................................................................................88
5.2.6 DCC_CurrentDistribution .............................................................................................................93
5.2.7 DCC_CurrentEqualControl...........................................................................................................95
5.2.8 DCC_CurrentEqualControl_1.....................................................................................................100
5.2.9 DCC_GrabMonitor .....................................................................................................................102
5.2.10 DCC_HeavyDuty........................................................................................................................103
5.2.11 DCC_LoadDependingFieldWeak ...............................................................................................106
5.2.12 DCC_LoadDependFieldWeak_1 ................................................................................................113
Basic Technology
Operating Instructions, 06/2012 5
Table of Contents
Basic Technology
6 Operating Instructions, 06/2012
Table of Contents
Basic Technology
Operating Instructions, 06/2012 7
Table of Contents
Basic Technology
8 Operating Instructions, 06/2012
Table of Contents
Basic Technology
Operating Instructions, 06/2012 9
Table of Contents
Basic Technology
10 Operating Instructions, 06/2012
System overview 1
Introduction
The technology module T300 with MASTERDRIVES drive for crane-specific technology
(basic technology) was used in the previous crane application solution. Since mid-2007, the
new sector solution SIMOCRANE Basic Technology is available in the Siemens Cranes
business area. The new platform based on SIMATIC + SIMOTION + SINAMICS is available
for harbor and industrial cranes. All tasks are clearly segregated so that SIMOTION handles
all crane technologies, e.g. basic technology, sway control, etc., which can be structured
systematically on one another. The hardware configuration using an STS crane with new
platform is shown in the following diagram as an example.
Figure 1-2 STS configuration with the new platform using SIMOTION D435-2 as example
In comparison to the solutions based on T300 and/or SIMATIC with MASTERDRIVES, the
new solution on SIMOTION D includes the following features:
Basic Technology
Operating Instructions, 06/2012 11
System overview
● The basic technology covers the motion control of all the main drives of a crane. It
includes the functions of all six T300 modules (hoist, gantry, gantry-slave, slewing gear,
holding gear and closing gear) and more (e.g. boom etc.); for information on the scope of
the standard application, refer to Chapter STS crane (ship-to-shore) (Page 498).
● All of the functions proven in practice have been integrated into the new platform. All
methods have been updated. The new requirements were taken into account.
● SIMOTION D offers a centralized solution. The internal data exchange so replaces the
otherwise usual inter-axis communication.
● New closed-loop control concept for synchronous operation and positioning with position
controller.
● Possibility of adapting to customer-specific requirements.
● A package permits both ready-to-run (only parameterization) as well as also ready-to-
apply (adapted by the user) applications.
Basic Technology
12 Operating Instructions, 06/2012
System overview
Scope of delivery
The previous SIMOCRANE Basic Technology V2.0 SP2 package with SIMOTION D435
(order number: 6AU1660-4AA10-0AA0) will continue to be marketed. In parallel, the
SIMOCRANE Basic Technology V3.0 package with SIMOTION D435-2 (order number:
6AU1660-4AA20-0AA0) is supplied. This means, as customer you can choose between
these two packages depending on the project and the system.
The SIMOCRANE Basic Technology package offers a control system for various crane
applications. It includes:
Basic Technology
Operating Instructions, 06/2012 13
System overview
Product structure
The software package includes a Crane DCC library, a Crane FB library and several
complete standard applications (e.g. for STS cranes).
The Crane DCC Library comprises a collection of blocks (e.g. load dependent field
weakening) which are implemented as "Drive Control Charts" (DCC) blocks. DCC is a
representation which supports graphic configuring and interconnecting. For detailed
information about the scope of functions of the Cranes Library, refer to table 1-2.
The Crane DCC Library consists of a collection of blocks (e.g. OperationMode) which are
implemented in "Structured Text" (ST) as function blocks. These blocks are called in the
drive-oriented sequential control.
Basic Technology
14 Operating Instructions, 06/2012
System overview
The standard applications comprise ready-to-use configured application software for different
crane types, e.g. "Ship to shore crane" etc. These solutions are "Ready-to-Run" for users
who only want to be concerned with parameterization. These can be considered being a
"Ready-to-Apply" basis for large-scale adaptations and expansions, offering a high degree of
expansibility and flexibility.
Basic Technology
Operating Instructions, 06/2012 15
System overview
Functionality
The application software has a modular structure according to crane types. An overview of
the function modules, their operating modes and technology function used are shown in the
following tables.
Basic Technology
16 Operating Instructions, 06/2012
System overview
Basic Technology
Operating Instructions, 06/2012 17
System overview
For example, the standard application for the STS crane includes the four function modules:
Hoist, Trolley, Gantry and Boom. For the actual scope of these function modules, their
functions, operating modes and technologies, refer to Standard applications (Page 497).
Basic Technology
18 Operating Instructions, 06/2012
Hardware interfaces 2
2.1 Handling a CompactFlash card of a D4x5-2
The CompactFlash card is supplied bootable with the latest SIMOTION Kernel, the latest
drive software and the licenses required for the crane applications. The SIMOTION D4xx
cannot be operated without a CompactFlash card! The licensing is associated with the serial
number of the CompactFlash card.
NOTICE
The SIMOTION CompactFlash card must not be formatted. The crane application software
cannot run without licenses.
As of SIMOCRANE Basic Technology V3.0, the firmware versions for SIMOTION and
SINAMICS with which the associated version of the Basic Technology was released are
contained on the product CD-ROM. This means, should the firmware version of SIMOTION
or SINAMICS not be compatible, you can use the version stored on the CD.
Available interfaces
Basic Technology
Operating Instructions, 06/2012 19
Hardware interfaces
2.2 Interfaces of the SIMOTION D435-2 DP/PN
Non-usable interfaces
Basic Technology
20 Operating Instructions, 06/2012
Hardware interfaces
2.2 Interfaces of the SIMOTION D435-2 DP/PN
'LVSOD\
/,1.
'LVSOD\ 6WDWXV 0HDQLQJ
'LVSOD\
$&7
Figure 2-1 The position of the Ethernet interfaces and their displays (example of SIMOTION D445-2 DP/PN)
Note
Because, as of V4.3, the two Ethernet interfaces support PROFINET basic services, enter
the designation PN/IE-NET or PN/IE.
These PROFINET basic services (e.g. DCP, LLDP, SNMP) provide uniform functions for the
address assignment and diagnostics, but do not provide PROFINET IO communication for
the connection of drives, I/O modules, etc.
Additional references
Detailed information about the states of the status LEDs can be found in the SIMOTION
D4x5-2 Commissioning and Hardware Installation Manual, Diagnostics chapter.
Basic Technology
Operating Instructions, 06/2012 21
Hardware interfaces
2.2 Interfaces of the SIMOTION D435-2 DP/PN
Interface characteristics
Feature Version
Connector type RJ45 socket
Cable type Industrial Ethernet cable
• 4- and 8-wire cables can be used for 10/100 Mbit/s
• 8-wire cables must be used for 1000 Mbit/s
Max. cable length 100 m
Autocrossing Yes
Dust protection blanking plugs for Five blanking plugs contained in the D4x5-2 scope of delivery
sealing unused Ethernet ports Blanking plugs (50 pcs) order number: 6SL3 066-4CA00-0AA0
Miscellaneous X127 and X130 P1 are full-duplex 10/100/1000 Mbit/s Ethernet ports
Note
The MAC addresses are imprinted on an adhesive label that is located behind the protective
cover and can be seen from the front.
Basic Technology
22 Operating Instructions, 06/2012
Hardware interfaces
2.2 Interfaces of the SIMOTION D435-2 DP/PN
Interface position
The following figure contains information about the PROFINET interface of the control unit.
The position of the interface, the labeling of the ports and the associated displays are
described.
'LVSOD\
$&7
/('GLVSOD\VIRUWKHVWDWXVRILQWHUIDFH;
6WDWXVRIWKHLQWHUIDFH31
6\QFKURQL]DWLRQVWDWXVRIWKHLQWHUIDFH6<
Figure 2-2 The position of the PROFINET X150 P1 to P3 interfaces and their displays (SIMOTION D445-2 DP/PN)
Note
The third port of the PROFINET IO interface X150 P3 is also designated as X120 PN/IE OP.
This designation is not relevant for SIMOTION D.
Basic Technology
Operating Instructions, 06/2012 23
Hardware interfaces
2.2 Interfaces of the SIMOTION D435-2 DP/PN
Additional references
Detailed information about the states of the status LEDs can be found in the SIMOTION
D4x5-2 Commissioning and Hardware Installation Manual, Diagnostics chapter.
Interface characteristics
Feature Version
Connector type RJ45plus socket
Cable type PROFINET
Maximum cable length 100 m
Minimum transmission cycle 0.25 ms
Autocrossing Yes
i.e. crossed and uncrossed cables can be used
Dust protection blanking plugs for Five blanking plugs contained in the D4x5-2 scope of delivery
sealing unused PROFINET ports Blanking plugs (50 pcs) order number: 6SL3066-4CA00-0AA0
Connectable devices
The following devices can be connected to the PROFINET IO interface:
● PG/PC programming devices (communication with SIMOTION SCOUT / STEP 7)
● SIMATIC HMI devices
● SIMATIC controllers with PROFINET interface
● Distributed I/O
● Drive units with PROFINET IO interface (standard devices)
The SIMOTION D4x5-2 DP/PN then assumes the role of a PROFINET IO controller and can
offer the following functions:
● PROFINET IO controller, I device (also controller and device simultaneously)
● Supports real-time classes of PROFINET IO:
– RT (real-time)
– IRT (isochronous real-time).
The following functions are also supported by Industrial Ethernet:
● Communication between SIMOTION and SIMATIC NET OPC
The "SIMATIC NET SOFTNET-S7 (S7-OPC server)" software must be installed on the
PG/PC for this function.
● Communication with other devices using TCP/IP or UDP communication
● IT communication (via SIMOTION IT DIAG, SIMOTION IT OPC XML-DA, SIMOTION IT
Virtual Machine)
Basic Technology
24 Operating Instructions, 06/2012
Hardware interfaces
2.2 Interfaces of the SIMOTION D435-2 DP/PN
For more information regarding the software packages, see Catalog PM 21, refer to the list
of references (separate document) for the order number.
Note
A list of the modules released with SIMOTION is available at
(http://support.automation.siemens.com/WW/view/en/11886029).
The list is updated regularly and contains information on the use of these modules.
Take note of the documentation on the individual modules or devices!
Interface assignment
Basic Technology
Operating Instructions, 06/2012 25
Hardware interfaces
2.2 Interfaces of the SIMOTION D435-2 DP/PN
Interface characteristics
The digital I/Os on the X122, X132 and X142 connectors are provided for the connection of
sensors and actuators.
Characteristics Version
Connector type Mini Combicon
Connectable cable types and Rigid 0.2 mm2 to 1.5 mm2
conductor cross-sections Flexible 0.2 mm2 to 1.5 mm2
Flexible with end sleeve 0.25 mm2 to 1.5 mm2
AWG 24 to 16
Stripped length 10 mm
Tool Screwdriver 0.4 x 2.0 mm
Max. cable length 30 m
Max. current carrying capacity 8A
(ground)
'LJLWDOLQSXWV
SLQV
'LJLWDOLQSXWV
GLJLWDORXWSXWV
SLQV
SLQV
SLQV
'LJLWDOLQSXWV
SLQV
GLJLWDORXWSXWV
SLQV
DQG
SLQV
Figure 2-3 Position of the X122, X132 and X142 digital interfaces (example of SIMOTION D445-2 DP/PN)
Basic Technology
26 Operating Instructions, 06/2012
Hardware interfaces
2.3 Interfaces of the Communication Board Ethernet 30 (CBE30-2)
View
The connections and LED displays are provided on the front of the CBE30-2.
/LQN/('JUHHQ
SHUSRUW 3RUW
$FWLYLW\/('\HOORZ
SHUSRUW
3RUW
3RUW
3RUW
6\QF/('JUHHQ
)DXOW/('UHG
Basic Technology
Operating Instructions, 06/2012 27
Hardware interfaces
2.3 Interfaces of the Communication Board Ethernet 30 (CBE30-2)
Basic Technology
28 Operating Instructions, 06/2012
Software structure 3
3.1 Software structure
The complete software has a modular structure. Each function module (e.g. Hoist, Gantry,
Trolley etc.) has its own Software Unit. Using two application programs generated in the
graphic programming language "Motion Control Chart", the required function blocks are
called from the library "Cranes FB Library" in every unit to run the appropriate function
module. Further, every function module has a setpoint channel generated in the graphic
programming language "Drive Control Charts" (DCC) for velocity, acceleration and
deceleration. In addition, the DCC monitors various functions (e.g. current distribution
monitoring, overspeed).
Furthermore, a separate unit is responsible for cross-module monitoring and homing. If
needed, the special cornering functions for gantry, synchronization of the time on the
SIMOTION/SINAMICS by SIMATIC PLC and AutoSetting for the commissioning of the load-
dependent field weakening special functions can be activated.
Basic Technology
Operating Instructions, 06/2012 29
Software structure
3.1 Software structure
Basic Technology
30 Operating Instructions, 06/2012
Software structure
3.2 Structure of a function module
Basic Technology
Operating Instructions, 06/2012 31
Software structure
3.2 Structure of a function module
Basic Technology
32 Operating Instructions, 06/2012
Software structure
3.2 Structure of a function module
Basic Technology
Operating Instructions, 06/2012 33
Software structure
3.2 Structure of a function module
● The "FB_SynchronizeRTC" function block for setting the time of day is called as
background task.
Basic Technology
34 Operating Instructions, 06/2012
Software structure
3.3 Control Structure
Velocity path
The setpoint velocity is first interconnected to the "MasterSwitch_1" block in the DCC. If the
master switch functionality is to be used, then the master switch curve must be configured
and enabled. Otherwise, the velocity setpoint is directly connected from the input to the block
output without any change.
Basic Technology
Operating Instructions, 06/2012 35
Software structure
3.3 Control Structure
The velocity setpoint is then connected to the block "TractionControl". This block detects any
wheel slip of the travel gear running on rails. If wheel slip is identified, then the velocity can
be reduced step-by-step if the appropriate enable signals are set in the block.
The velocity setpoint is connected to the block "PreLimitSwitch". Depending on the control,
the setpoint velocity is reduced. Finally, the setpoint acceleration is interconnected to the
function block "FB_OperationMode".
Acceleration path
The acceleration setpoint is firstly interconnected to the block "ChangeOverHDFW" in the
DCC. In this block, the acceleration setpoint in heavy duty operation can be changed over
from the value specified from the SIMATIC S7 to a permanently configured value, if the
required enable signal is set.
The acceleration setpoint is then connected to the block "TractionControl". This block detects
any wheel slip of the travel gear running on rails. If wheel slip is identified, then the
acceleration can be reduced step-by-step if the appropriate enable signals are set in the
block.
Finally, the setpoint velocity is interconnected to the function block "FB_OperationMode".
Deceleration path
The deceleration setpoint is firstly interconnected to the block "ChangeOverHDFW" in the
DCC. In this block, the deceleration setpoint in heavy duty operation can be changed over
from the value specified from the SIMATIC S7 to a permanently configured value if the
required enable signal is set.
Finally, the setpoint deceleration is interconnected to the function block
"FB_OperationMode".
Basic Technology
36 Operating Instructions, 06/2012
Function modules 4
In terms of software, a function module contains an MCC unit, a DCC chart, a technology
object (TO), and a drive object (DO); also refer to the section titled Structure of a function
module (Page 31). A technology object models an axis at the SIMOTION level, also a drive
object at the SINAMICS level. Both objects are coupled through the appropriate
configuration. According to the sequence control, the function blocks are called from the
library "Crane_FB_library" in the MCC unit. In addition to the MCC unit, setpoint preparation
also requires the DCC blocks from the "Crane_DCC_Library".
4.1 Hoist
The function module Hoist comprises two axes – Hoist_1 (master) and Hoist_2 (slave). In the
section titled Ship-to-shore tandem crane (STS tandem) (Page 470), the Hoist function
module comprises four axes, where Hoist_3 is analogous to Hoist_1 and Hoist_4 is
analogous to Hoist_2. Every axis has an MCC unit and a DCC chart. The units of the MCC
program and the DCC blocks of the relevant function module are subdivided into the
modules Hoistp_1 (master) / Hoistd_1 and Hoistp_2 (slave) / Hoistd_2. The MCC programs
required are grouped in the Hoistp_1 and Hoistp_2 units. The DCC charts are grouped in the
Hoistd_1 and Hoistd_2 units.
Using a data set switchover for the particular technology object (TO-Hoist_1 and TO-Hoist_2)
- when required - it is possible to differentiate between the position actual value from the
motor encoder (data set 1) and a position actual value from an external encoder (data set 2).
A data set switchover for the associated drive object (DO-Hoist_1 or DO-Hoist_2) allows
different motor or encoder data sets to be selected (data set 0/1).
CAUTION
"Speed control without motor encoder (data set 1)" control mode for hoist is not permissible
for safety reasons.
Basic Technology
Operating Instructions, 06/2012 37
Function modules
4.1 Hoist
Basic Technology
38 Operating Instructions, 06/2012
Function modules
4.1 Hoist
Basic Technology
Operating Instructions, 06/2012 39
Function modules
4.1 Hoist
Basic Technology
40 Operating Instructions, 06/2012
Function modules
4.1 Hoist
Basic Technology
Operating Instructions, 06/2012 41
Function modules
4.1 Hoist
Basic Technology
42 Operating Instructions, 06/2012
Function modules
4.2 Trolley(Cross Travel)
Basic Technology
Operating Instructions, 06/2012 43
Function modules
4.2 Trolley(Cross Travel)
Mon_Ref comprises:
● FB_Monitoring
● FB_ReferenceMode
Basic Technology
44 Operating Instructions, 06/2012
Function modules
4.2 Trolley(Cross Travel)
Basic Technology
Operating Instructions, 06/2012 45
Function modules
4.2 Trolley(Cross Travel)
Basic Technology
46 Operating Instructions, 06/2012
Function modules
4.2 Trolley(Cross Travel)
Basic Technology
Operating Instructions, 06/2012 47
Function modules
4.2 Trolley(Cross Travel)
Basic Technology
48 Operating Instructions, 06/2012
Function modules
4.3 Gantry (Long Travel)
Basic Technology
Operating Instructions, 06/2012 49
Function modules
4.3 Gantry (Long Travel)
Basic Technology
50 Operating Instructions, 06/2012
Function modules
4.3 Gantry (Long Travel)
Basic Technology
Operating Instructions, 06/2012 51
Function modules
4.3 Gantry (Long Travel)
Basic Technology
52 Operating Instructions, 06/2012
Function modules
4.3 Gantry (Long Travel)
Basic Technology
Operating Instructions, 06/2012 53
Function modules
4.3 Gantry (Long Travel)
Basic Technology
54 Operating Instructions, 06/2012
Function modules
4.4 Boom
4.4 Boom
The Boom function module comprises a technology object (TO), an MCC unit, and a DCC
chart, but no drive object (DO). By default, the Boom function module is not activated until an
external TO switchover to the trolley is made. TO-Boom and TO-Trolley share a drive object
(DO-Trolley).
A data set switchover for the associated drive object (DO-Trolley_1 or DO-Trolley_2) allows
different motor or encoder data sets to be selected (data set 2/3).
CAUTION
"Speed control without motor encoder (data set 3)" control mode for boom is not
permissible for safety reasons.
Boom_2 is used if the Boom motor is also being run with the Trolley_2 converter. The
Boomp_2 and Boomd_2 programs are similar to Boomp_1 and Boomd_1. Boom_1 and
Boom_2 so do not form a master-slave or synchronous axis.
Basic Technology
Operating Instructions, 06/2012 55
Function modules
4.4 Boom
Basic Technology
56 Operating Instructions, 06/2012
Function modules
4.4 Boom
Basic Technology
Operating Instructions, 06/2012 57
Function modules
4.5 Holding Gear
CAUTION
"Speed control without motor encoder (data set 1)" control mode for holding gear is not
permissible for safety reasons.
Basic Technology
58 Operating Instructions, 06/2012
Function modules
4.5 Holding Gear
Basic Technology
Operating Instructions, 06/2012 59
Function modules
4.5 Holding Gear
Basic Technology
60 Operating Instructions, 06/2012
Function modules
4.6 Closing Gear
CAUTION
"Speed control without motor encoder (data set 1)" control mode for closing gear is not
permissible for safety reasons.
Basic Technology
Operating Instructions, 06/2012 61
Function modules
4.6 Closing Gear
Basic Technology
62 Operating Instructions, 06/2012
Function modules
4.6 Closing Gear
Basic Technology
Operating Instructions, 06/2012 63
Function modules
4.6 Closing Gear
Basic Technology
64 Operating Instructions, 06/2012
Function modules
4.6 Closing Gear
Basic Technology
Operating Instructions, 06/2012 65
Function modules
4.7 Slewing Gear
Basic Technology
66 Operating Instructions, 06/2012
Function modules
4.7 Slewing Gear
Basic Technology
Operating Instructions, 06/2012 67
Function modules
4.7 Slewing Gear
Basic Technology
68 Operating Instructions, 06/2012
Crane function blocks 5
5.1 Nomenclature of the crane function blocks
A function block in the Crane DCC and FB library is shown below as an example:
Prefix Type
DCC Crane DCC function blocks
FB Crane ST function block
Examples:
DCC_LoadDependingFieldWeak:
DCC block for the load-dependent field weakening
FB_OperationMode:
ST block for managing operating modes and travel motion
Basic Technology
Operating Instructions, 06/2012 69
Crane function blocks
5.1 Nomenclature of the crane function blocks
Connection type
Examples
Basic Technology
70 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Note
"in" or "out" is not included in every connection name. This is only true for I/O variables of the
same name.
Note
The source code of every DCC block is closed. A license for SIMOTION Crane Basic
Technology is required to use the Crane DCC library. If, when booting, the appropriate
licenses are not found, then the application is brought into the stop state.
If SIMOTION SCOUT is reinstalled, the crane package (setupBasicTechnology) must also
be reinstalled.
Descriptions of how to install and update the Crane_DCC_Library are provided in the section
titled Setup and version update for crane libraries (Page 289).
If not otherwise noted, then the following statements apply to all DCC blocks:
Firmware version
● SIMOTION Drive Based (D4x5-2): Firmware as of V4.3 SP1
● SINAMICS: Firmware as of V4.5
Configuring
The DCC blocks can be configured in cyclic tasks.
Basic Technology
Operating Instructions, 06/2012 71
Crane function blocks
5.2 Crane DCC library
Explanation
All inputs/outputs of DCC blocks have a pre-assigned value. The value can be pre-assigned
in three ways:
1. If the input/output is not assigned, then the default value applies.
2. The input/output is linked to a variable from the MCC interface section.
3. The input/output is linked to a variable from the DCC block.
5.2.2 DCC_AccelChangeSlewGear
Symbol
Basic Technology
72 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Note
With this DCC block, the term "velocity" refers to "angular velocity".
Brief description
The DCC block DCC_AccelChangeSlewGear allows the ramp-up time and/or the ramp-down
time for a slewing gear to be optimally adjusted as a function of the working radius and/or the
angular velocity (not too long but also not so short that the current limit is reached).
Mode of operation
The slewing gear on cranes is purely an acceleration drive. The larger the working radius of
the luffing gear, the larger the accelerating torques for the slewing gear.
To prevent the current limit from being reached on ramp-up, the ramp-up time for the ramp-
function generator of the slewing gear would normally need to be set for the largest working
radius. However, this would waste time with smaller working radii. For this reason, either the
ramp-up times or ramp-down times of the ramp-function generator are adjusted appropriately
as a function of the working radius and setpoint angular velocity.
Applying an additional option allows the high-speed up-ramp and/or down-ramp to be used.
In this case, the velocity evaluation is deactivated and only the acceleration and/or
acceleration component dependent on the working radius is applied.
Basic Technology
Operating Instructions, 06/2012 73
Crane function blocks
5.2 Crane DCC library
Note
The effective acceleration factor is limited to a maximum of -200% and +200%.
NOTICE
WARNING
Ensure that you enter the correct values for the polygon parameters! The input parameters
"rX1ActualWorkingRadius" to "rX10ActualWorkingRadius" and "rX1VelocitySetpoint" to
"rX5VelocitySetpoint" must be assigned in ascending sequence.
Basic Technology
74 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Note
The input parameters "rY1AccDecFactor" to "rY10AccDecFactor" and "rY1AccDecFactor_2"
to "rY5AccDecFactor_2" must be assigned in descending order.
WARNING
Proper operation of the block cannot be guaranteed if you do not set the parameters
correctly.
Connections
Basic Technology
Operating Instructions, 06/2012 75
Crane function blocks
5.2 Crane DCC library
Basic Technology
76 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
5.2.3 DCC_ChangeOverHDFW
Symbol
Brief description
Using the DCC block DCC_ChangeOverHDFW, the acceleration and deceleration times are
modified in heavy-duty operation (HeavyDuty) or in field weakening (FieldWeakening).
Mode of operation
This function block is required, for example, for Hoist with field weakening in order to prevent
the current limits from being reached during acceleration in the field-weakening range.
At low loads (steady-state load torque), in order to increase the handling capacity, the speed
is increased to a value that is permissible for a particular load by reducing the field current.
This means that in the field-weakening range, the acceleration torque available is also
correspondingly reduced. For the steady-state load torque and the acceleration torque of the
load, only the lower torque corresponding to the lower load is required. However, the
acceleration torque of the rotating masses remains the same due to the fact that the
moments of inertia have not changed (load dependent).
For hoists, the acceleration and deceleration times are normally set so that the drive, when
accelerating and hoisting with rated load and at the full motor field, doesn't quite reach the
current limit so that acceleration and deceleration distances are as short as possible.
If the acceleration and deceleration times are set so that the drive (also in field weakening)
when accelerating does not reach the current limit, then with constant acceleration in the
rated speed and field-weakening range, extremely long approach and deceleration distances
are obtained. In order to optimize these, the ramp-up time can be extended when
transitioning into the field-weakening range.
For heavy duty, to reduce the acceleration torques, when heavy-duty operation is selected,
then a long ramp-up time is immediately switched-in.
Basic Technology
Operating Instructions, 06/2012 77
Crane function blocks
5.2 Crane DCC library
Figure 5-3 Changing the ramp-up/ramp-down times for field weakening and heavy-duty operation
CAUTION
Consult the crane manufacturer for basic information about data settings. Carry out the
procedure described below, however, only if corresponding information is not available.
Note
Change of the velocity setpoint, acceleration time, delay time, initial rounding-off and final
rounding-off
a) The velocity, acceleration and deceleration can be changed at any time in the
SPEED_CONTROLLED operating mode.
b) The velocity and acceleration can be changed at any time in the AUTOMATIC,
EASY_POSITIONING and MANUAL operating modes.
A longer delay time is not applied in the delay phase. A shorter delay time, however, will be
applied. If the delay time is reduced during the braking phase, the target position is no longer
approached, but rather the drive is braked with the shorter delay time.
c) In the SENSORLESS EMERGENCY operating mode, the velocity can only be changed up
to the parameterizable limit "r64VelocitySensorlessEmergency".
d) In all operating modes, a change of the initial rounding-off and the final rounding-off is
applied only with a deflected master switch. The exception is the AUTOMATIC operating
mode. In this case, the change is applied immediately.
Basic Technology
78 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
NOTICE
Note
Values for ramp-up/ramp-down time ≤ 0 do not make any sense. The value 0 would mean
an infinite acceleration. The higher the value, the smaller the acceleration or deceleration,
and so the more current available for the static torque.
Connections
Basic Technology
Operating Instructions, 06/2012 79
Crane function blocks
5.2 Crane DCC library
5.2.4 DCC_ContLoadMeasurement
Symbol
Basic Technology
80 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Brief description
The DCC block DCC_ContLoadMeasurement performs a continuous load measurement on
the holding gear.
Mode of operation
This function is useful for every grab crane when no external load measuring cell is
available.
The load measurement is performed continuously. The crane driver can always see the
weight of the hoisted load. In the case of dredgers, for example, the crane driver cannot see
the submerged grab bucket. With the continuous load measurement function, the driver can
lift a fully loaded bucket out of the water every time. A "Grab touchdown" signal is also
displayed.
The continuous load measurement function is implemented with a sawtooth generator which
can be started and stopped via inputs "rLimittoStartSawToothGen" and
"rLimittoStopSawToothGen" respectively. When the generator reaches the stop limit, it starts
from the beginning again. You can view the result at output "rCountsSawToothGenerator".
You can set the counting increments with "rIntegrationTimeSawTooth".
Mode of operation of the input "rIntegrationTimeSawTooth":
The block is linked into runtime group T2. Let us assume that T2 equals 9 ms. If you now
specify 9 ms via the input "rIntegrationTimeSawTooth", then it will add 1 at each cycle. If you
set "rIntegrationTimeSawTooth" to 90 ms, then it will add 0.1 at each cycle. This setting acts
on inputs "rStartMeasurement" and "rStopMeasurement" as the count value of the sawtooth
generator (rCountsSawToothGenerator) must be entered here as the start and stop count
values.
In this way, you can store the desired sampling operations in the measuring window.
Example:
If you enter 2.0 in "rStartMeasurement" and 12.0 in "rStopMeasurement", either 10 cycles or
100 cycles will be available depending on the count value in T2
(rCountsSawToothGenerator).
Basic Technology
Operating Instructions, 06/2012 81
Crane function blocks
5.2 Crane DCC library
NOTICE
The reference torque in [Nm] must be entered at input "rTorqueNominal" as a fixed value,
or the maximum current must be interconnected with this input in the user program (refer to
the SINAMICS parameter p2003).
Enter the maximum velocity in [mm/s] at input "rMaximumVelocity" as fixed value, or
interconnect the maximum velocity with this input in the user program. (refer to e.g.
Technology Object: D4x5.HoldingGear_1.TypeOfAxis.MaxVelocity.maximum or function
block FB_OperationMode output variable r64maximumVelocity).
The block will not work correctly otherwise.
Basic Technology
82 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
WARNING
Ensure that you enter the correct values for the polygon parameters! The input parameters
"rX1_ActualVelocity_SGST1" to "rX10_ActualVelocity_SGST1" and
"rX1_ActualVelocity_SGST2" to "rX10_ActualVelocity_SGST2" must be assigned in
ascending sequence. Proper operation of the block cannot be guaranteed if you do not set
the parameters correctly.
Connections
Basic Technology
Operating Instructions, 06/2012 83
Crane function blocks
5.2 Crane DCC library
Basic Technology
84 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Basic Technology
Operating Instructions, 06/2012 85
Crane function blocks
5.2 Crane DCC library
Basic Technology
86 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Note
The following applies to all friction values:
The input value rXx (corresponding to the respective current velocity in percent relative to
"rMaximumVelocity") belongs to the corresponding friction value (in percent) rYx. Linear
interpolation is performed between the points. The friction value is included in the load value
calculation.
Note
Typical setting values:
• rDifferentiationTimeCons: Ramp-up time holding gear, e.g. 3000 ms
• rFact_AccTorqueRotMass1: Approx. 20% - 30%
• rFact_AccTorque_Load1: Approx. 5% - 10%
• rEfficiency_eta_drop: Approx. 110%
• rEfficiency_eta_lift: Approx. 90% - 100%
• rLimitToStartSawToothGen: Approx. 10% (to overcome the breakaway torque)
• Friction: Approx. 2% - 4%
Note
For a detailed description of this block, refer to Chapter Continuous load measurement
(CLM) (Page 434)
Basic Technology
Operating Instructions, 06/2012 87
Crane function blocks
5.2 Crane DCC library
5.2.5 DCC_ContLoadMeasurement_1
Symbol
Brief description
The DCC block DCC_ContLoadMeasurement_1 has a 6-point polygon.
The DCC block DCC_ContLoadMeasurement_1 performs a continuous load measurement
on the holding gear.
Mode of operation
The mode of operation of this block corresponds to that of the DCC_ContLoadMeasurement
block (refer to Chapter DCC_ContLoadMeasurement (Page 80)). The existing 10-point
polygon for the travel characteristic is however simplified to six points and the second
gearbox has been eliminated.
Basic Technology
88 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
NOTICE
The reference torque in [Nm] must be entered at input "rTorqueNominal" as a fixed value,
or the maximum current must be interconnected with this input in the user program (refer to
the SINAMICS parameter p2003).
The maximum velocity must be entered in [mm/s] at input "rMaximumVelocity" as fixed
value, or the maximum velocity interconnected with this input in the user program. (refer to
e.g. Technology Object: D4x5.HoldingGear_1.TypeOfAxis.MaxVelocity.maximum or
function block FB_OperationMode output variable r64maximumVelocity).
The block will not work correctly otherwise.
WARNING
Ensure that you enter the correct values for the polygon parameters! The input parameters
"rX1_ActualVelocity" to "rX6_ActualVelocity" must be assigned in ascending sequence.
Proper operation of the block cannot be guaranteed if you do not set the parameters
correctly.
Basic Technology
Operating Instructions, 06/2012 89
Crane function blocks
5.2 Crane DCC library
Connections
Basic Technology
90 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Basic Technology
Operating Instructions, 06/2012 91
Crane function blocks
5.2 Crane DCC library
Note
The following applies to all friction values:
The input values "rX1_ActualVelocity" to "rX6_ActualVelocity" (corresponding to the
respective actual velocity as a percentage relative to "rMaximumVelocity") belong to the
corresponding friction value (as a percentage) "rY1_Friction" to "rY6_Friction". Linear
interpolation is performed between the points. The friction value is included in the load value
calculation.
Note
For a detailed description of this block, refer to Chapter Continuous load measurement
(CLM) (Page 434)
Basic Technology
92 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
5.2.6 DCC_CurrentDistribution
Symbol
Brief description
The current of the master and slave is monitored using the DCC block
DCC_CurrentDistribution. An error message is generated if any deviation is exceeded.
Mode of operation
This function can be used for master-slave operation or synchronous operation. The block
checks that the total current of both drives is being distributed evenly. However, this is not
always the case for crane operation.
In synchronous operation, the current setpoint is monitored for the two drives. In master-
slave operation, it is the current actual value that is monitored.
Bit 3 "boFaultCurrentMonitoring" is set in application status word 1 if the difference between
the setpoint currents of the two drives exceeds the values configured for deviation and time.
An example of synchronous operation is illustrated below.
CAUTION
Basic Technology
Operating Instructions, 06/2012 93
Crane function blocks
5.2 Crane DCC library
Figure 5-6 Principle of current distribution monitoring based on the example of synchronous
operation
Connections
Basic Technology
94 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
5.2.7 DCC_CurrentEqualControl
Symbol
Short description
The DCC block DCC_CurrentEqualControl is required by the closing gear to distribute the
necessary hoisting power optimally between holding gear and closing gear.
Basic Technology
Operating Instructions, 06/2012 95
Crane function blocks
5.2 Crane DCC library
Mode of operation
A basic distinction is made between two current compensatory controller modes, i.e.
"orange-peel bucket mode" and "normal mode". The current compensatory controller (load
compensation controller) also features a speed droop feedback. The value of the droop can
be selected with "rPGainFactorDroop" (Kp of the P controller) and "rEvaluationStaticFactor"
and monitored with "rDroopFunction" or "rStaticSetpoint".
This function is needed on every grab crane.
When the load is raised or lowered with the grab bucket closed, the tension levels in the
holding and closing ropes should be approximately the same. This means that the hoisting
power is optimally distributed between the two hoisting motors. This requirement is fulfilled
by a compensatory control between the two drives.
The current setpoints generated by the speed controllers of the hoisting gear (holding gear
and closing gear) are compared and the difference between them is applied to the closing
gear speed setpoint via a controller; see the figure below.
The highest rope torque occurs when the grab closes almost completely. The positioning
data is falsified by the unavoidable rope elongation, i.e. the closing process is automatically
terminated when the grab is not quite fully closed.
This falsification is also corrected by enabling the current compensatory control in response
to the message "Grab closed".
In the case of multi-functional grab cranes (used for container, spreader beam, and hook
operation), it may be necessary to activate the current compensatory controller depending
on the application and mechanical construction of the crane.
Orange-peel bucket mode
In this operating mode, the grabs generally require a higher tension level in the closing rope
than in the holding rope. A supplementary circuit in the current compensatory control allows
the current to be divided asymmetrically in the required ratio.
This capability is required, for example, when compacted scrap, tree trunks and other bulky
loads are handled. When loads of this type are handled by pronged grabs (orange-peel
buckets), the grabs are only partially closed and the material is held only by the prong tips.
To prevent the load from slipping out of the grab, the highest possible closing force must be
achieved. For this purpose, the current compensatory controller distributes the load
asymmetrically.
Basic Technology
96 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Note
The current compensatory controller is a PI controller. At the beginning, the kp gain factor
(rPGainCurrentEqualCtrl) should be a low value and the integral time
(rIntegrCurrentEqualCtrl) a high value, see default setting. The fundamental principles of
closed-loop control and the properties of a PI controller must be taken into account.
NOTICE
Both "Start Pulse" and "Current compensatory control" functions are used for Closing Gear.
As both blocks DCC_StartPulse and DCC_CurrentEqualControl act on the shared
supplementary speed setpoint in SINAMICS, the output of block "DCC_StartPulse" must be
connected to input "rInVelocitySetpoint".
For technical reasons, only one of the two "StartPulse" or "CurrentEqualControl" functions
may be active at any one time.
A setpoint applied at input "rInVelocitySetpoint" is switched through directly to output
"rOutVelocitySetpoint" as long as input "boEnableCurrentEqualCtrl" is not set. In this case,
the current compensatory controller is disabled and does not specify a setpoint.
A setpoint applied at input "rInVelocitySetpoint" is not switched through directly to output
"rOutVelocitySetpoint" as long as input "boEnableCurrentEqualCtrl" is set. In this case, the
current compensatory controller is enabled and does specify a setpoint.
Basic Technology
Operating Instructions, 06/2012 97
Crane function blocks
5.2 Crane DCC library
NOTICE
Enter the maximum current in [A] at input "rCurrentNominal" as fixed value, or interconnect
the maximum current with this input in the user program (refer to the SINAMICS parameter
p2002).
Enter the maximum velocity in [mm/s] at input "rMaximumVelocity" as fixed value, or
interconnect the maximum velocity with this input in the user program. (refer to e.g.
Technology Object: D4x5.ClosingGear_1.TypeOfAxis.MaxVelocity.maximum or function
block FB_OperationMode output variable r64maximumVelocity).
The block will not work correctly otherwise.
Connections
Basic Technology
98 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Basic Technology
Operating Instructions, 06/2012 99
Crane function blocks
5.2 Crane DCC library
5.2.8 DCC_CurrentEqualControl_1
Symbol
Brief description
This DCC block is functionally identical with the DCC_CurrentEqualControl block, only that
input "rInVelocitySetpoint" has been removed. This input was originally added to switch
through from the setpoint channel of the start pulse. However, in the future, the setpoint
channel of the start pulse will be externally connected in parallel; refer to the standard
application software. In addition, the "rVelocitySmoothTimeOnOff" input has been added.
Connections
Basic Technology
100 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Basic Technology
Operating Instructions, 06/2012 101
Crane function blocks
5.2 Crane DCC library
Note
The "rVelSmoothTimeOnOff" input is a PT1 element that applies only during switch-on and
off. When switching off, the inverse function of the PT 1 element is used so there is no jump
for either switch-on or switch-off. The time value entered in the "rVelSmoothTimeOnOff"
corresponds to 1 Tau (1 τ).
5.2.9 DCC_GrabMonitor
Symbol
Short description
The DCC block DCC_GrabMonitor can be used to detect bulky load material in the closing
gear.
Mode of operation
When the grab of the closing gear attempts to close around bulky material (wood, for
example), it may not be able to close completely. The message "boMaxTorqueReached" is
generated if an adjustable torque value is exceeded as the grab closes.
Note
The reference torque in unit [Nm] at input "rTorqueNominal" must be entered as a fixed
value, or the nominal torque must be interconnected at this input in the user program (refer
to the SINAMICS parameter p2003).
The block does not work correctly otherwise.
Basic Technology
102 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Connections
5.2.10 DCC_HeavyDuty
Symbol
Short description
Using the DCC block DCC_HeavyDuty the drive also allows heavy duty operation
(HeavyDuty) by changing the velocity, or operation with constant field weakening
(FieldWeak).
Basic Technology
Operating Instructions, 06/2012 103
Crane function blocks
5.2 Crane DCC library
Mode of operation
This function is required, if with Hoist, loads greater than the rated load are to be raised. In
heavy duty operation, loads exceeding the rated load can be raised. However, this is
generally only possible with reduced velocity due to the crane mechanical system (static).
This is the reason that for this operating mode, the master switch setpoint is multiplied by a
selectable factor <1. This means that the deflection range is fully utilized with reduced
setpoint input.
Note
Enter the rated velocity in [mm/s] at input "rNominalVelocity" as fixed value, or interconnect
the rated velocity with this input in the user program (e.g.:
Enter the maximum velocity in [mm/s] at input "rMaximumVelocity" as fixed value, or
interconnect the maximum velocity with this input in the user program (e.g. refer to
Technology Object: D4x5.Hoist_1.TypeOfAxis.MaxVelocity.maximum or function block
FB_OperationMode output variable r64maximumVelocity).
The block will not work correctly otherwise.
Basic Technology
104 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Connections
Basic Technology
Operating Instructions, 06/2012 105
Crane function blocks
5.2 Crane DCC library
5.2.11 DCC_LoadDependingFieldWeak
Symbol
Brief description
A supplementary speed setpoint is calculated, depending on the load, using the DCC block
DCC_LoadDependingFieldWeak. This speed increase for partial loads above the rated
speed is required for cranes to increase the handling capacity. This is realized using the
motor curve that should be saved.
Basic Technology
106 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Mode of operation
When selecting field weakening, e.g. using the master switch, depending on the load, in
addition to the maximum value for the rated speed range specified from the master switch, a
supplementary speed setpoint for field weakening, which is permissible for the actual load, is
generated.
The load actual value is calculated from the torque-generating current and the acceleration
torque, which is determined using the speed actual value. The values for current and
acceleration are integrated over several sampling times to obtain a more precise figure. An
arithmetic average value is formed from this.
During the acceleration phase, the torque-generating current is measured, which in the rated
speed range, is directly proportional to the total torque MM provided by the motor (refer to the
formula and its description below). The acceleration torque of the rotating masses (moment
of inertia J), the acceleration torque of the load and the friction torque are subtracted from
this total torque.
The steady-state load current is calculated using the following torque equation:
MM = MLoad + MALoad + MArot + MFriction
Note
For a detailed description of this block, refer to Chapter Field weakening (LDFW)
(Page 414). This chapter also describes how a second gear stage is integrated.
Basic Technology
Operating Instructions, 06/2012 107
Crane function blocks
5.2 Crane DCC library
Error messages
The block only supplies one error message that indicates if the current actual value lies
above the rated current value. The block output boIact_greater_In then signals a False.
WARNING
This setting should only be carried out by qualified personnel. Particular attention must be
paid to the reduced breakdown torque of the drive within the field weakening range.
Allowances must be made for appropriate safety reserve in terms of the data provided by
the machine manufacturer.
WARNING
Enter the maximum current in [A] at input "rCurrentNominal" as fixed value, or interconnect
the maximum current with this input in the user program (refer to the SINAMICS parameter
p2002).
Enter the rated velocity in [mm/s] at input "rNominalVelocity" as fixed value, or interconnect
the rated velocity with this input in the user program (e.g.:
Enter the maximum velocity in [mm/s] at input "rMaximumVelocity" as fixed value, or
interconnect the maximum velocity with this input in the user program. (e.g. refer to
Technology Object: D4x5.Hoist_1.TypeOfAxis.MaxVelocity.maximum or function block
FB_OperationMode output variable r64maximumVelocity).
The block will not work correctly otherwise.
Basic Technology
108 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
WARNING
Ensure that you enter the correct values for the polygon parameters! The input parameters
"rX1PolygonParameter" to "rX10PolygonParameter" must be assigned in ascending
sequence. Proper operation of the block cannot be guaranteed if you do not set the
parameters correctly.
Connections
Basic Technology
Operating Instructions, 06/2012 109
Crane function blocks
5.2 Crane DCC library
Basic Technology
110 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Basic Technology
Operating Instructions, 06/2012 111
Crane function blocks
5.2 Crane DCC library
Basic Technology
112 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
5.2.12 DCC_LoadDependFieldWeak_1
Symbol
Brief description
A supplementary speed setpoint depending on the load is calculated using the DCC block
DCC_LoadDependFieldWeak_1. This speed increase for partial loads above the rated speed
is required for cranes to increase the handling capacity. This is realized using the motor
curve that should be saved.
The block has a 6-point polygon.
Basic Technology
Operating Instructions, 06/2012 113
Crane function blocks
5.2 Crane DCC library
Mode of operation
In principle, this block works in the same way as the DCC block
DCC_LoadDependingFieldWeak (refer to Chapter DCC_LoadDependingFieldWeak
(Page 106)). The 10-point polygon was reduced to 6 points so that the motor curve can be
mapped with 6 points.
In addition, it is now possible to connect the normalized value of a load measuring cell using
rExtLoadmeas and enable it using the boEnableExtLoadmeas input. By enabling the
external load measuring cell, the load calculated in the block is not forwarded immediately,
but compared with the value of the external load measuring cell. Only the maximum value is
forwarded and a setpoint depending on the motor curve is enabled only with this value.
The last change affects the behavior of the master switch when field weakening is enabled.
In this case, there were the following two variants in DCC_LoadDependingFieldWeak:
Variant 1:
boenable_MS_100_Percent = False
The master switch has two different reference speeds. At the start of a hoisting movement,
the reference speed is the rated speed. This means that the deflection (as percentage) is
multiplied with the rated speed provided the field weakening has not been enabled. After the
enable of the field weakening, the reference speed changes immediately from the rated
speed to the maximum speed. The deflection (as percentage) is now multiplied with the
maximum speed.
This switchover has the advantage that the velocity at the start can be set finer because the
full deflection of the master switch cannot exceed the rated speed.
Example: rCompareValueTo_MS = 95%, boEnableCompareValue_MS = True
Up to 95% of the master switch deflection means up to 95% of the rated speed. This gives a
large range of the master switch in order to set the velocity finely in the rated speed range.
As soon as the deflection exceeds 95% and the field weakening is enabled, the maximum
speed is the reference speed. The deflection of the master switch between 95 - 100% thus
causes a speed change of 0.95 * rated speed - maximum speed. If the value exceeds or
drops below the 95%, this causes an immediate setpoint change because the reference
speed changes immediately. This means the velocity transition from rated speed to field
weakening is not linear.
If the block, for example, releases 97% of the maximum velocity, a deflection of the final
three percent of the master switch does not change the velocity. This means the deflection
range 97-100% remains unused.
Variant 2:
boenable_MS_100_Percent = TRUE
The master switch always has the maximum speed as reference speed. The deflection of the
master switch between 0% and 100% causes a velocity change between 0 - maximum
speed without a switchover occurring. The velocity transition from rated speed to field
weakening remains linear.
If the block, for example, releases 97% of the maximum velocity, a deflection of the final
three percent of the master switch does not change the velocity. This means the deflection
range 97-100% remains unused.
DCC_LoadDependFieldWeak_1 has been given an additional option.
Basic Technology
114 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Variant 3:
boenable_Auto_Scaling = TRUE, boenable_MS_100_Percent = FALSE
Like variant 1, the master switch has two reference speeds. Provided the field weakening is
not enabled, the rated speed is the reference speed. As soon as field weakening is enabled,
the reference speed changes immediately from the rated speed to the calculated maximum
speed. If the block, for example, releases 97% of the maximum velocity, the reference speed
is then 0.97 * maximum velocity.
This means a deflection between 0 - 100% causes a velocity change between 0 - 97%. This
means the deflection range of the master switch is fully utilized.
If boenable_Auto_Scaling and boenable_MS_100_Percent are both TRUE, variant 2 remains
active.
Note
In variant 3, the reference speed after the internal enabling of the field weakening is always
the calculated maximum speed. This means the velocity change for the deflection always
depends on the load. If the load measurement 90% of the maximum velocity permits, the
deflection range is then scaled to 90%. If the load measurement releases only 55%, the
deflection range is scaled to 55%. The same deflection but different load also results in
different setpoint velocities.
Note
For a detailed description of the commissioning for this block, refer to Chapter Field
weakening (LDFW) (Page 414). This chapter also describes how a second gear stage is
integrated.
Error messages
The block only supplies one error message that indicates if the current actual value lies
above the rated current value. The block output boIact_greater_In then signals a False.
WARNING
This setting should only be carried out by qualified personnel. Particular attention must be
paid to the reduced breakdown torque of the drive within the field weakening range.
Allowances must be made for appropriate safety reserve in terms of the data provided by
the machine manufacturer.
Basic Technology
Operating Instructions, 06/2012 115
Crane function blocks
5.2 Crane DCC library
WARNING
Enter the maximum current in [A] at input "rCurrentNominal" as fixed value, or interconnect
the maximum current with this input in the user program (refer to the SINAMICS parameter
p2002).
Enter the rated velocity in [mm/s] at input "rVelocityNominal" as fixed value or interconnect
the rated velocity with this input in the user program (e.g.:
Enter the maximum velocity in [mm/s] at input "rMaximumVelocity" as fixed value, or
interconnect the maximum velocity with this input in the user program. (e.g. refer to
Technology Object: D4x5.Hoist_1.TypeOfAxis.MaxVelocity.maximum or function block
FB_OperationMode output variable r64maximumVelocity).
The block will not work correctly otherwise.
WARNING
Ensure that you enter the correct values for the polygon parameters! The input parameters
"rX1PolygonParameter" to "rX6PolygonParameter" must be assigned in ascending
sequence. Proper operation of the block cannot be guaranteed if you do not set the
parameters correctly.
Connections
Basic Technology
116 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Basic Technology
Operating Instructions, 06/2012 117
Crane function blocks
5.2 Crane DCC library
Basic Technology
118 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Basic Technology
Operating Instructions, 06/2012 119
Crane function blocks
5.2 Crane DCC library
5.2.13 DCC_MasterSwitch
Symbol
Brief description
Using this DCC block DCC_MasterSwitch, the drive can be moved with a fine sensitivity
using the master switch for manual positioning.
Basic Technology
120 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Mode of operation
Often, the master switch supplies a setpoint that is directly proportional to its angle of
deflection. In order that for low deflection angles lower speed setpoints are obtained than
those that correspond linearly to the deflection angle, the master switch setpoint is passed
through a non-linear function. This allows the drive to be precisely positioned in the manual
mode. For low deflection angles, this results in lower speed changes than for the same
change of the deflection angle in the medium and higher deflection range. The non-linear
function is realized in quadrants I and III using 20 adjustable straight line sections.
NOTICE
Basic Technology
Operating Instructions, 06/2012 121
Crane function blocks
5.2 Crane DCC library
WARNING
Ensure that you enter the correct values for the polygon parameters! The input parameters
"rX1PolygonParameter" to "rX20PolygonParameter" and "rY1PolygonParameter" to
"rY20PolygonParameter" must be assigned in ascending sequence. Proper operation of the
block cannot be guaranteed if you do not set the parameters correctly.
The master switch curve is invalid in AUTOMATIC mode. In this case, the value of
"rInVelocitySetpointMS" bypasses the stored curve.
The value converted from word to integer must be set at the X polygon parameters in all
other operating modes. The percentage of maximum velocity is entered at the Y polygon
parameters.
Connections
Basic Technology
122 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Basic Technology
Operating Instructions, 06/2012 123
Crane function blocks
5.2 Crane DCC library
5.2.14 DCC_MasterSwitch_1
Symbol
Brief description
The DCC block DCC_ContLoadMeasurement_1 has a 6-point polygon. Using this DCC block
DCC_MasterSwitch_1, the drive can be moved with a fine sensitivity using the master switch
for manual positioning.
Basic Technology
124 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Mode of operation
The mode of operation of the DCC_MasterSwitch_1 block essentially corresponds to the
mode of operation of the DCC_MasterSwitch block (refer to Chapter DCC_MasterSwitch
(Page 120)). The 20 point polygon DCC_MasterSwitch block for speed characteristic is
however simplified for DCC_MasterSwitch_1 to a 6-point polygon, whereby the zero point is
given. In so doing, the negative component of the characteristic is generated by mirroring
quadrant I.
Further, "boPosMasterSwitch" and "boNegMasterSwitch" direction bits are read in. In this
case, only one bit may be active. If both bits are simultaneously active, then the block
outputs a velocity setpoint of ZERO.
The master switch curve is invalid in AUTOMATIC mode. In this case, the value of
"rInVelocitySetpointMS" bypasses the stored curve.
Basic Technology
Operating Instructions, 06/2012 125
Crane function blocks
5.2 Crane DCC library
The value converted from word to integer must be set at the X polygon parameters in all
other operating modes. The percentage of maximum velocity is entered at the Y polygon
parameters.
NOTICE
WARNING
Ensure that you enter the correct values for the polygon parameters! The input parameters
"rX1PolygonParameter" to "rX6PolygonParameter" and "rY1PolygonParameter" to
"rY6PolygonParameter" must be assigned in ascending sequence. Proper operation of the
block cannot be guaranteed if you do not set the parameters correctly.
Basic Technology
126 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Connections
Basic Technology
Operating Instructions, 06/2012 127
Crane function blocks
5.2 Crane DCC library
5.2.15 DCC_Monitoring
Symbol
Short description
The DCC block DCC_Monitoring is used to monitor as to whether the velocity, acceleration
or deceleration have been reduced. Further, it is monitored as to whether the drive is in field
weakening.
Method of operation
This function is used to identify whether the velocity, acceleration or deceleration has been
reduced. The values sent from the control are read-in and compared with the values that go
to the technology object. If a deviation occurs, "Message a/v reduction" is transferred to the
control in application status word_2_S7, bit 3.
Further, it is monitored as to whether the drive is in field weakening. The actual velocity is
compared with the rated speed. If the actual velocity is greater than the rated speed, then
the drive is in field weakening.
Note
Enter the rated velocity in [mm/s] at input "rNominalVelocity" as fixed value, or interconnect
the rated velocity with this input in the user program.
The block will otherwise not work correctly.
Basic Technology
128 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Connections
Basic Technology
Operating Instructions, 06/2012 129
Crane function blocks
5.2 Crane DCC library
5.2.16 DCC_OverSpeed
Symbol
Brief description
For hoisting applications, the overspeed can be monitored (in the rated speed range and
also in the field weakening range) using the DCC block DCC_OverSpeed, or a setpoint-
actual value deviation is detected.
Note
The overspeed monitoring can also be handled in SINAMICS; see Overspeed signal from
SINAMICS (Page 338)
Mode of operation
Using this function, either the actual velocity can be monitored for an overspeed condition or
a setpoint-actual value deviation detected. These two functions cannot be simultaneously
activated.
A limit is defined for the setpoint-actual value deviation. If the actual velocity exceeds this
limit for the parameterized delay time "rDelayTime", then output "boOverSpeed" is set. The
limit comprises the sum of the setpoint velocity and offset. The setpoint-actual value
monitoring is activated using the "boSetpointActMonitoring" input.
The overspeed detection is implemented in the software for various velocities (field
weakening range and rated velocity). If the specified offset is exceeded for one of the two
velocities longer than the parameterized delay time, then this is signaled using the
"boOverSpeed" output.
The setpoint velocity of the load-dependent field weakening is only used as comparison
value if the drive is operating in the field-weakening range and field-weakening operation
was enabled for the drive. The comparison value of the load-dependent field weakening is
used until the determined load is reset.
Basic Technology
130 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
The overspeed monitoring signal is sent from SIMOTION D to SINAMICS via PROFIBUS
Integrated in control word 1 bit 15. In SINAMICS, the signal is connected to the onboard I/O
by means of BICO technology, see the table below. The SIMATIC S7 is connected to the
SINAMICS CU onboard I/Os via a wire connection, reads this signal in and evaluates the
signal status.
Note
If there is a fault (boOverSpeed = True), then this is only acknowledged if the condition is
fulfilled, so that the fault can no longer occur. Only then is the fault acknowledged.
For DCC_OverSpeed, setting a fault dominates over a reset.
Basic Technology
Operating Instructions, 06/2012 131
Crane function blocks
5.2 Crane DCC library
CAUTION
Enter the rated velocity in [mm/s] at input "rNominalVelocity" as fixed value, or interconnect
the rated velocity with this input in the user program (e.g.:
Enter the maximum velocity in [mm/s] at input "rMaximumVelocity" as fixed value, or
interconnect the maximum velocity with this input in the user program•(e.g.: refer to
Technology Object: D4x5.Hoist_1.TypeOfAxis.MaxVelocity.maximum or function block
FB_OperationMode output variable r64maximumVelocity).
The block will not work correctly otherwise.
Basic Technology
132 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Note
"rOffset_Overspeed" is relative to "rMaximumVelocity" and not to "rSetpointVelocity".
Basic Technology
Operating Instructions, 06/2012 133
Crane function blocks
5.2 Crane DCC library
Connections
5.2.17 DCC_PreLimitSwitch
Symbol
Short description
Using the DCC block DCC_PreLimitSwitch, when a pre-defined pre-limit switch is reached,
the drive velocity can be influenced.
Basic Technology
134 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Mode of operation
This function prevents that the drive moves with full velocity to the limit switch or to the safety
buffer. A total of five different velocity limits can be configured.
Interconnect the maximum velocity with velocity limit 1. This limits velocity to the maximum
value.
This means that effectively there are four velocity limits available. Velocity limits 2 to 4 are
controlled through the combination of inputs "Bit1LimitVelocity" and "Bit2LimitVelocity".
Velocity limiting 5 (prelimit switch limit) is controlled using the input "boPrelimitSwitch".
Setting tip:
NOTICE
Basic Technology
Operating Instructions, 06/2012 135
Crane function blocks
5.2 Crane DCC library
Connections
Basic Technology
136 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
5.2.18 DCC_SlackRopeControl
Symbol
Brief description
The DCC block DCC_SlackRopeControl is needed by the holding gear to tighten a slack
rope if required.
Basic Technology
Operating Instructions, 06/2012 137
Crane function blocks
5.2 Crane DCC library
Mode of operation
If the holding gear brake is simply closed when the grab closes, the grab cannot dig into the
material to be lifted and the bucket cannot fill sufficiently.
On the other hand, if the brake on the holding gear (holding winch) is simply released when
the grab closes, there is a risk that the taut rope will cause the drum on the holding gear to
accelerate in the lower direction and cause and undesirable slack rope.
The slack rope control prevents both these problems. The slack rope controller can prevent
slackness from developing in the rope when the grab is closed. This function also ensures
that the grab can bury itself into the material – therefore ensuring the maximum filling level.
The speed setpoint for the holding gear is input as the closing gear begins to close by means
of a slack-rope block which specifies the speed characteristics as illustrated in the diagram
below.
When the grab closes, the brake is opened and the holding rope is held with slight tension by
the slack rope control. Any rope slack is coiled in at slow speed. The holding gear drum then
remains under a residual tension, which is capable of keeping the rope tight enough to
prevent rope slack, but not so tight that the grab cannot bury itself into the material to be
moved. The grab submerges with the rope held under tension. This residual torque is
adjustable and must at least compensate for the weight of the longest holding rope that is
used.
If for any reason the grab starts to close in the air, the slack rope control also prevents the
grab from sagging quickly at an uncontrolled speed. In this instance, the grab attempts to
accelerate the holding gear in a vertical direction by its own weight. However, this speed is
likewise limited to a maximum sag speed (characteristic in diagram below) by the slack rope
control.
The DCC block SlackRopeControl is not a classic closed-loop control with setpoint/actual
value comparison. Instead, it is possible to choose between closed-loop control based on a
comparison value (for P controller, see note after connection table) or a stored curve
(polygon).
Basic Technology
138 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Figure 5-18 Characteristic of the slack rope controller; the blue "curve" represents the ideal curve
of the holding gear speed.
Basic Technology
Operating Instructions, 06/2012 139
Crane function blocks
5.2 Crane DCC library
NOTICE
The setpoint from the slack rope controller is transferred as a supplementary speed
setpoint from SIMOTION to SINAMICS via the same process word used for the start pulse.
The two blocks DCC_StartPulse and DCC_SlackRopeControl are used for the holding gear.
As both DCC blocks act on the common supplementary speed setpoint in SINAMICS, the
output of "DCC_StartPulse" must be connected to the input "rInVelocitySetpoint". For
technical reasons, these two DCC blocks must not be used or activated simultaneously.
A setpoint applied at input "rInVelocitySetpoint" is switched through directly to output
"rOutVelocitySetpoint" as long as input "boEnableSlackRopeControl" is not set. In this
case, the slack rope controller is disabled and does not specify a setpoint.
A setpoint applied at input "rInVelocitySetpoint" is not switched through directly to output
"rOutVelocitySetpoint" as long as input "boEnableSlackRopeControl" is set. In this case,
the slack rope controller is enabled and does specify a setpoint.
The ramp-function generator enable (control word 1, bit 4) must be reset before the slack
rope controller is activated.
WARNING
Ensure that you enter the correct values for the polygon parameters! The input parameters
"rX1CurrentValue" to "rX20CurrentValue" must be assigned in ascending sequence. Proper
operation of the block cannot be guaranteed if you do not set the parameters correctly.
NOTICE
Enter the maximum current in [A] at input "rCurrentNominal" as fixed value, or interconnect
the maximum current with this input in the user program (refer to the SINAMICS parameter
p2002).
Enter the maximum velocity in [mm/s] at input "rMaximumVelocity" as fixed value, or
interconnect the maximum velocity with this input in the user program (e.g. refer to
Technology Object: D4x5.HoldingGear_1.TypeOfAxis.MaxVelocity.maximum or function
block FB_OperationMode output variable r64maximumVelocity).
The block will not work correctly otherwise.
Basic Technology
140 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Connections
Basic Technology
Operating Instructions, 06/2012 141
Crane function blocks
5.2 Crane DCC library
Basic Technology
142 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Note
The P controller can be used via input "boEnableP_Controller" instead of the value specified
via the polygon. Input "boEnableSlackRopeControl" and input "boEnableP_Controller" must
both be set to True before this function can be enabled.
The polygon function and the P controller can never be active at the same time.
Note
All input values (rX1CurrentValue to rX20CurrentValue) are relative to the input value of
"rCurrentNominal".
All input values (rY1SpeedValue to rY20SpeedValue) are relative to the input value of
"rMaximumVelocity".
Basic Technology
Operating Instructions, 06/2012 143
Crane function blocks
5.2 Crane DCC library
5.2.19 DCC_SlackRopeControl_1
Symbol
Brief description
The block DCC_SlackRopeControl_1 has a 6-point polygon. This evaluates the holding
current and allows a slack rope to be avoided. In addition, the block offers three options of
the slack rope control, the EasyClosing function and adaptation to several types of material.
Basic Technology
144 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Mode of operation
The mode of operation of the DCC_SlackRopeControl_1 block essentially corresponds to the
mode of operation of the DCC_SlackRopeControl block (refer to Chapter
DCC_SlackRopeControl (Page 137)). The 20-point polygon DCC_SlackRopeControl block
for speed characteristic is however simplified for DCC_SlackRopeControl_1 to a 6-point
polygon.
In addition, the "rInVelocitySetpoint" input is removed. This input was originally added to
switch through from the setpoint channel of the start pulse. However, in the future, the
setpoint channel will be externally connected in parallel; refer to the standard application
software. In addition, the "rVelocitySmoothTimeOff" and "rCompareValueSmoothTime"
inputs have been added.
The DCC_SlackRopeControl_1 block does not concern a classic closed-loop control with
setpoint-actual value comparison, but includes the three options that can be selected:
● Closed-loop control using a setpoint value (P controller)
● Closed-loop control using a saved characteristic (polygon)
● Specifying a torque limit (from S7)
Basic Technology
Operating Instructions, 06/2012 145
Crane function blocks
5.2 Crane DCC library
Figure 5-19 Characteristic of the slack rope controller; the blue "curve" represents the ideal curve
of the holding gear speed.
In order to avoid a setpoint step (jump) when activating/deactivating the slack rope
control from the two methods described above, a PT1 filter "rSmoothTimeOutput" is
implemented after the slack rope control or before the signal output.
3. Using the input variable "boEnableTorqueLimit", in addition, the drive torque limits can be
connected from the higher-level control. These are entered via "rTorqueLimit". Besides,
as part of the user-engineered application software, the message "Motor blocked"
(p2144) must be deactivated using a bit in the drive. The "rOutTorqueLimit" output is
interconnected as a percentage to the torque limits of the drive.
Easy Closing function
When the grab is overfilled, the grab can be prevented from sinking into the material during
closing by either permanently activating the Easy Closing function or via the S7.
An additional 6-point polygon is made available to allow hoisting as a function of the closing
current. This function is enabled using "boEnableEasyClosing".
Basic Technology
146 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
NOTICE
The ramp-function generator enable (control word 1, bit 4) must be reset before the slack
rope controller is activated.
WARNING
Ensure that you enter the correct values for the polygon parameters! Proper operation of
the block cannot be guaranteed if you do not set the parameters correctly.
NOTICE
Enter the maximum current in unit [A] at input "rCurrentNominal" as fixed value, or
interconnect the maximum current with this input in the user program (refer to the
SINAMICS parameter p2002).
Enter the maximum velocity in unit [mm/s] at input "rMaximumVelocity" as fixed value, or
interconnect the maximum velocity with this input in the user program (e.g. refer to
Technology Object: D4x5.HoldingGear_1.TypeOfAxis.MaxVelocity.maximum or function
block FB_OperationMode output variable r64maximumVelocity).
The block does not work correctly otherwise.
Connections
Basic Technology
Operating Instructions, 06/2012 147
Crane function blocks
5.2 Crane DCC library
Basic Technology
148 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Note
The "rVelSmoothTimeOnOff" input is a PT1 element that applies only during switch-on and
off. When switching off, the inverse function of the PT 1 element is used so there is no jump
for either switch-on or switch-off. The time value entered in the "rVelSmoothTimeOnOff"
corresponds to 1 Tau (1 τ).
Note
The P controller can be used via input "boEnableP_Controller" instead of the value specified
via the polygon. Input "boEnableSlackRopeControl" and input "boEnableP_Controller" must
both be set to True before this function can be enabled.
The polygon is then not effective. Either the polygon function, the P controller or the torque
limit input is active at any one time - never together.
Note
All input values (rX1HGCurrentValue to rX6HGCurrentValue or rX1CGCurrentValue to
rX6CGCurrentValue) are referred to the input value of "rCurrentNominal".
All input values (rY1HGSpeedValue to rY6HGSpeedValue) are referred to the input value of
"rMaximumVelocity".
Basic Technology
Operating Instructions, 06/2012 149
Crane function blocks
5.2 Crane DCC library
5.2.20 DCC_StartPulse
Symbol
Brief description
Using the block DCC_StartPulse, "load sag" can either be prevented or reduced when
starting hoists with suspended load.
Mode of operation
For hoists, when starting (i.e. opening the hoisting gear brake) with freely suspended load,
often the load undesirably sags. The reason for this is that the torque is not available when
starting; the torque is relatively slowly established once the travel command has been output
as a result of the processing time of the systems, the time constants of the control (closed-
loop) and the time constants of the control loop. However, when starting with a suspended
load, the torque must be quickly established. There are two methods for the start pulse.
1. Method
In order to prevent the load sagging, a start pulse that decays after a defined time is applied
as supplementary speed in front of the speed controller. This is done in the hoisting gear
when starting and when the hoist or lower command is enabled. The characteristic of this
start pulse is that of an inverse e function that is "discharged" when enabled. This start pulse
can be constant (via "rInStartPulseLoadValue") or load-dependent for the S7 (via
"rInStartPulseS7 ") as supplementary speed in front of the speed controller that decays after
a defined time is applied here.
The start pulse quickly establishes the torque and so prevents load sag. The direction of the
start pulse is always in the hoisting direction.
Basic Technology
150 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
The start pulse is optimized experimentally using pre-optimized speed control for the
subsequent trial with load. When starting from zero speed with an attached, freely-
suspended load, the control lever is set for a minimum speed setpoint and then the starting
behavior of the drive is monitored at the hook or at the rope drum.
When setting a start pulse with a constant load, you must make a compromise between the
start with rated load and the start with empty hook; the reason for this is that the set,
constant value is only optimally set for a single load. Then, for other loads, either the load will
slightly sag or the empty hook will move in the hoisting direction.
2. Method
● To save the I component of the speed controller when the "Close brake" command is
issued.
● To set the I component when the "Release brake" command is issued.
The close or open brake is indicated using the AppSTW2 bit 0 (save and set the I
component (start pulse)).
– If the brake is closed and the I component should be saved, the bit must change from
TRUE to FALSE.
– If the brake is opened and the I component should be set, the bit must change from
FALSE to TRUE;
see also Figure 5-21 Open and close the brake for DCC_StartPulse_1 (Page 155).
Note
Also refer to the detailed description in Chapter Start pulse (Page 451).
CAUTION
Set the enable of the "boEnableStartpulse" start pulse for only 50 ms.
The "rTimePositivStartpulse" or "rTimeNegativStartpulse" input corresponds to one Tau (1
τ). The length of the start pulse is entered via this input and cannot be specified from the
higher-level control.
WARNING
Incorrect start pulse settings may lead to injury and material damage.
WARNING
For method 1 and method 2, the pulse must not be too large or be present too long. The
pulse must be set correctly. Otherwise, the IGBTs can be damaged.
Method 2 is preferred.
Basic Technology
Operating Instructions, 06/2012 151
Crane function blocks
5.2 Crane DCC library
Connections
Basic Technology
152 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Note
The "rFactorPosStartPulseS7" and "rFactorNegStartPulseS7" input values are limited to
max. -200% and +200%.
The "boSinamicsComReady" input must be linked to the "DO-name_boCyclicinterface"
variable. If "boSinamicsComReady" = false, the I component of the speed controller cannot
be saved.
Basic Technology
Operating Instructions, 06/2012 153
Crane function blocks
5.2 Crane DCC library
5.2.21 DCC_StartPulse_1
Symbol
Brief description
This DCC block is functionally identical with the DCC_StartPulse block except that the block
inputs have been optimized with regard to the brakes.
Connections
Basic Technology
154 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
The following diagram shows a normal sequence for opening and closing the brake with the
following method:
● Save the I component of the speed controller for the reset (1→0) of
"boCommandOpenBreak" via AppSTW2 bit 0 because the brake is then applied.
● Set the I component for the "open brake" command via AppSTW2 bit 0 (0 → 1).
Basic Technology
Operating Instructions, 06/2012 155
Crane function blocks
5.2 Crane DCC library
5.2.22 DCC_TractionControl
Symbol
Short description
The velocity between the motor encoder and the external encoder is monitored using the
DCC block DCC_TractionControl. If an excessively high velocity deviation occurs, the
velocity of the acceleration is adapted.
Mode of operation
This function is used to compare the velocities from the motor encoder and external encoder.
If the velocity difference exceeds the configured velocity threshold, then while accelerating,
the acceleration is reduced step-by-step and in the constant velocity phase, the velocity is
reduced step-by-step. If the last reduction stage is reached, then this is signaled at the block
output.
Basic Technology
156 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
In the synchronous operation control type, the reduction in acceleration or velocity acts
directly on the master only, not directly on the slave.
Note
The acceleration and velocity stages must be configured as follows. Velocity reduction stage
1 should be 100 %; the following should be continually smaller up to the last velocity
reduction stage 8; this must be the smallest.
1. r1VelocityFactor = 100%
2. r2VelocityFactor < r1VelocityFactor
3. r3VelocityFactor < r2VelocityFactor
4. r4VelocityFactor < r3VelocityFactor
5. r5VelocityFactor < r4VelocityFactor
6. r6VelocityFactor < r5VelocityFactor
7. r7VelocityFactor < r6VelocityFactor
8. r8VelocityFactor < r7VelocityFactor
Velocity reduction stage 1 should be 100%. The following reduction stages should be
continually smaller up to the last acceleration reduction stage 8; this must be the smallest:
1. r1AccelerationFactor = 100%
2. r2AccelerationFactor < r1AccelerationFactor
3. r3AccelerationFactor < r2AccelerationFactor
4. r4AccelerationFactor < r3AccelerationFactor
5. r5AccelerationFactor < r4AccelerationFactor
6. r6AccelerationFactor < r5AccelerationFactor
7. r7AccelerationFactor < r6AccelerationFactor
8. r8AccelerationFactor < r7AccelerationFactor
This deceleration is not reduced.
Note
The pulse width [ms] for the changeover from the acceleration to the deceleration reduction
stages must be proportional to twice the defined time.
NOTICE
Basic Technology
Operating Instructions, 06/2012 157
Crane function blocks
5.2 Crane DCC library
Connections
Basic Technology
158 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Basic Technology
Operating Instructions, 06/2012 159
Crane function blocks
5.2 Crane DCC library
5.2.23 DCC_VelocityChangeSlewGear
Symbol
Basic Technology
160 Operating Instructions, 06/2012
Crane function blocks
5.2 Crane DCC library
Note
For this DCC block, the term "velocity" refers to "angular velocity".
Brief description
The DCC block DCC_VelocityChangeSlewGear requests for slewing gear a peripheral
speed for the boom head which is independent of the working radius.
Mode of operation
This function is required to maintain the boom head at a constant peripheral speed on
slewable luffing jib cranes. Depending on the working radius (radius r) of the luffing gear, the
speed n (angular velocity ω) of the slewing gear is adjusted according to relation ω = v/r.
It is implemented using a hyperbolic function and a polygon.
For this purpose, the setpoint specified via the master switch (peripheral speed) is converted
into a speed setpoint (angular velocity) that is dependent on the working radius.
Note
The effective velocity factor is limited to a range of maximum -200% to +200%.
NOTICE
Basic Technology
Operating Instructions, 06/2012 161
Crane function blocks
5.2 Crane DCC library
WARNING
Ensure that you enter the correct values for the polygon parameters! The input parameters
"rX1ActualAngle" to "rX10ActualAngle" must be assigned in ascending sequence. Proper
operation of the block cannot be guaranteed if you do not set the parameters correctly.
The input parameters "rY1VelocityFactor" to "rY10VelocityFactor" must be assigned in
descending sequence.
WARNING
Proper operation of the block cannot be guaranteed if you do not set the parameters
correctly.
Connections
Basic Technology
162 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Firmware version
● SIMOTION Drive Based (D4x5-2): Firmware as of V4.3 SP1
● SINAMICS: Firmware as of V4.5
Call
The function blocks must be called in a cyclic task as data is cyclically exchanged between
SIMOTION and SINAMICS.
Basic Technology
Operating Instructions, 06/2012 163
Crane function blocks
5.3 Crane FB library
5.3.2 FB_TelegramSinamicsToSimotion
Task
The receive data words from SINAMICS are converted for further processing in SIMOTION
using the function block FB_TelegramSinamicsToSimotion.
Connections
Basic Technology
164 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Functionality
The data words to be connected at the inputs (e.g. b16ActualCurrentSinamics) are prepared
for further use and are available at the output as WORD (e.g. b16ActualCurrent) and as
LREAL value (e.g. r64ActualCurrent).
The LREAL variable r64ActualCurrent is formed from the current actual value
b16ActualCurrentSinamics using the following formula:
E$FWXDO&XUUHQW6LQDPLFV෬U6WDQG)DFWRU&XUUHQW6LQDPLFV
U$FWXDO&XUUHQW
Basic Technology
Operating Instructions, 06/2012 165
Crane function blocks
5.3 Crane FB library
The current actual value is available as both an LREAL value and WORD for further
processing by various programs.
CAUTION
If current, voltage, power, torque or speed should be used in SIMOTION, the reference
data must be entered in the associated standard factors (refer to the SINAMICS S120,
S150 List Manual, p2000, p2001, p2002, p2003, r2004). Value 1 can otherwise be retained
as the standard factor.
Error messages
None
5.3.3 FB_TelegramSimotionToSinamics
Task
The set data words from SIMOTION to SINAMICS are processed using the function block
FB_TelegramSimotionToSinamics.
Basic Technology
166 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Connections
Functionality
A switchover is made from the standard LREAL input (e.g. r64AdditionalSpeedSetpoint) to
the WORD input (b16AdditionalSpeedSetpoint) using a true signal of the boolean enable bits
(e.g. boEnableBitAddSpeedSetpointWord) - precisely the same as for the torque limits
(upper and lower).
The standard factors for the torque (r64StandFactorTorqueSetpoint) and the supplementary
speed setpoint (r64StandFactorAddSpeedSetpoint) are required for the conversion and must
therefore have as a minimum the value 1.0.
Basic Technology
Operating Instructions, 06/2012 167
Crane function blocks
5.3 Crane FB library
The calculation of the corresponding data word for SINAMICS is explained here as an
example for the upper torque limiting (b16TorqueSetpointSim). The formula for the
calculation is as follows:
U7RUTXH6HWSRLQW෬
E7RUTXH6HWSRLQW6LP
U6WDQG)DFWRU7RUTXH6HWSRLQW
The calculated value is available at the function block output as data word for further
processing.
CAUTION
If the torque or speed are to be transferred from SIMOTION to SINAMICS, the reference
data must be entered in the default factors for torque (refer to the SINAMICS S List Manual,
p2003) and speed (refer to TO configuration parameter
TypeOfAxis.MaxVelocity.Maximum).
Error messages
None
Basic Technology
168 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
5.3.4 FB_TelegramS7ToSimotion
Task
The receive data words for S7 for further processing in SIMOTION are converted using the
function block FB_TelegramS7ToSimotion.
Basic Technology
Operating Instructions, 06/2012 169
Crane function blocks
5.3 Crane FB library
Connections
Basic Technology
170 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 171
Crane function blocks
5.3 Crane FB library
Basic Technology
172 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Functionality
The control words (e.g. b16Stw2S7) to be connected to the inputs are conditioned for further
use and are available at the output as word (e.g. b16Stw2) and as boolean value (e.g.
boStw2Bit0 to boStw2Bit15).
The LREAL variable "r64ComVelocity" is generated from the setpoint velocity word
b16VelocityS7 under the following formula; this is available for further processing for various
programs:
E9HORFLW\6෬U6WDQG)DFWRU7LPH6
U&RP9HORFLW\
The same applies to the start pulse. For the ramp-up and ramp-down time from the S7 (e.g.
b16RampUpTimeS7), the LREAL variables are formed (e.g. r64Acceleration). If a value of
zero is in one of the two variables (e.g. b16RampUpTimeS7), then the zero is replaced by
the variable saved as minimum time (ms) (e.g. u16MinimumRampUpTime).
The target position "b16TargetPositionLS7" and "b16TargetPositionHS7" is formed using the
data words "r64TargetPosition".
NOTICE
The function block assigns zero to all outputs when the timer r64MonitoringtimeS7 has run
down and True is not applied to bit 10 in control word 1.
Basic Technology
Operating Instructions, 06/2012 173
Crane function blocks
5.3 Crane FB library
CAUTION
The reference data for the speed and start pulse values transferred from the S7 to
SIMOTION must be entered in the standard factor (refer to TO configuration parameter
TypeOfAxis.MaxVelocity.Maximum).
If the DINT range of values is to be extended, the position standard factor must be adapted
accordingly (r64StandFactorPositionS7).
If the UINT range of values is to be extended, the time standard factor must be adapted
accordingly (r64StandFactorTimeS7).
Error messages
None
Basic Technology
174 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
5.3.5 FB_TelegramSimotionToS7
Task
The send data words of SIMOTION to S7 are processed using function block
FB_TelegramSimotionToS7.
Basic Technology
Operating Instructions, 06/2012 175
Crane function blocks
5.3 Crane FB library
Connections
Basic Technology
176 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 177
Crane function blocks
5.3 Crane FB library
Basic Technology
178 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 179
Crane function blocks
5.3 Crane FB library
Functionality
Using the various Bool enable bits of the status words (e.g. boEnableBitsZSW1) it can be
selected whether the corresponding status word is created as bit or as data word. With a
True at the input of a Bool enable bit, inputs (e.g. boZsw1Bit0 to boZsw1Bit15 of ZSW1) are
fetched, otherwise the corresponding data word (here, b16zsw1) is evaluated.
Using the boolean inputs (e.g. boEnableBitActualSpeedWord), with a true, the data transfer
into the block can be activated as data word and not as LREAL. The corresponding is true
for the speed setpoint as well as the actual values of current, load, position and torque.
The standard factors for current, torque, velocity, load, position, actual velocity are required
for the conversion and must therefore have, as a minimum, a value of 1.0.
The calculation of the corresponding data words for the S7 are explained here using as an
example the speed actual value (b16ActualSpeedSim):
U$FWXDO6SHHG෬
E$FWXDO6SHHG6LP
U6WDQGIDFWRU$FWXDO6SHHG
CAUTION
The standard factors for current, torque, velocity, load, position and actual velocity are
required for the conversion and must therefore have, as a minimum, a value of 1.0. If an
absolute value is to be transferred from SIMOTION to the S7, the reference value must be
entered in the corresponding standard factor.
Error messages
None
Basic Technology
180 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
5.3.6 FB_ControlAxis
Task
Control words 1 and 2 are controlled using function block FB_ControlAxis. The function block
supplies status words 1 and 2 at the output.
Basic Technology
Operating Instructions, 06/2012 181
Crane function blocks
5.3 Crane FB library
Connections
Basic Technology
182 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 183
Crane function blocks
5.3 Crane FB library
Note
The input "boPositionControlled" must be connected with the "boPositionControlled" output
at function block FB_OperationMode. Only then is it ensured that the drive is also enabled,
closed-loop position controlled.
Functionality
The function block has the task of controlling control words 1 and 2. Status words 1 and 2
are output at the block output. When controlling bits 0 to 6, PROFIdrive V3.1 must be
carefully taken into consideration (see below, General State Diagram).
The following control bits cannot be used because these are already internally influenced by
the technology object:
Basic Technology
184 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 185
Crane function blocks
5.3 Crane FB library
Power supply on
Standstill detected
STW1 bit0=false STW1 bit1=false Coast Stop OR
enableAxis POWER AND STW1 bit1=true OR STW1 bit1=false STW1 bit3=false
OR AND STW1 bit2=true STW1 bit2=false
enableAxis ALL
67:ELW[\ 7KHVHFRQWUROZRUGELWVPXVWEHVHWE\WKHFRQWUROOHU
=6:ELW[\ 7KHVHVWDWXVZRUGELWVLQGLFDWHWKHFXUUHQWVWDWXV
$EEUHYLDWLRQSH SXOVHVHQDEOHGRSWLRQDOQRWVXSSRUWHGE\6,027,21
6WDQGVWLOOGHWHFWHGDQLQWHUQDOUHVXOWRID6WRSRSHUDWLRQ
ჀჀჀಹ7KHQXPEHURISRLQWVDWWKHLOOXVWUDWHGWUDQVLWLRQVGHWHUPLQHVWKHSULRULW\
7KHPRUHSRLQWVWKHKLJKHUWKHSULRULW\
:LWK6,027,219DQGKLJKHUWZRYDULDWLRQVDUHSRVVLEOHIRUWKHSDUDPHWHUDVVLJQPHQWRIWKH
BHQDEOH$[LVFRPPDQG
32:(5'5,9($//7KH6WDWH0DFKLQHLVFRQWUROOHGE\WKH$[LVWHFKQRORJ\REMHFW
%<B67:B%,77KH6WDWH0DFKLQHLVFRQWUROOHGE\WKHXVHUSURJUDP
7KHGULYHVWDWHV\VWHPYDULDEOHLVDFWLYHLQDOOVWDWHV66LI67:ELWVWRDUHVHWWRWUXH
Basic Technology
186 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Error messages
If an error occurs, output "boErrorFunctionBlock" is set and an error number is issued at
output "i32ErrorIDFunctionBlock"; see the Chapter Alarm, error and system messages
(Page 333).
5.3.7 FB_ErrorPriority
Task
Errors from function blocks SIMOTION technology objects, SINAMICS drive objects and
alarms from SINAMICS drive objects and function blocks are compiled and assigned
priorities using the function block FB_ErrorPriority.
Connections
Basic Technology
Operating Instructions, 06/2012 187
Crane function blocks
5.3 Crane FB library
Basic Technology
188 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Functionality
The following priority assignment is defined:
Error messages
none
5.3.8 FB_Monitoring
Task
The master-slave connection or synchronous relationship is monitored using the function
block FB_Monitoring. The synchronous relationship also includes tandem mode. For a
master-slave connection, the actual velocity of the master and that of the slave are
monitored. For synchronous operation, the system monitors for an excessively high velocity
difference or an excessively high position deviation. A fault signal is generated if the
difference of the velocity or the position is higher than the set tolerance.
Furthermore, input "boEnableActualActualSpeedMonitoring" can also be used to monitor the
actual-actual speed of a drive equipped with actual speed and position encoders.
Basic Technology
Operating Instructions, 06/2012 189
Crane function blocks
5.3 Crane FB library
Connections
Basic Technology
190 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 191
Crane function blocks
5.3 Crane FB library
Functionality
The function block must be cyclically called in the interpolator 1 or interpolator 2 task. The
function block has the task:
● In master-slave operation, to monitor the velocity between the master and the slave.
● In synchronous operation, in the AUTOMATIC or MANUAL operating mode, to monitor
the position between the master (leading axis) and the slave (following axis) and to only
monitor the velocity in all other operating modes.
● An offset can also be taken into account in the AUTOMATIC or MANUAL operating
mode.
● The actual current between the master and the slave is monitored in synchronous and
master-slave operation.
● If a drive is equipped with a pulse generator for the actual speed and also features a
pulse generator for the actual position, which is mounted on the drum rather than on the
motor, for example, a monitoring mechanism can be implemented by evaluating the
speed of both encoders. This functionality can be used, for example, for gear fracture and
coupling monitoring on two drives with rigid coupling. The gear factors "r64GearRatio_M"
and "r64GearRatio_S" are also effective for the second encoder. The gear difference
between the first and second encoder must be entered in this. If there is no difference, a
"1" must be entered.
● For master and slave monitoring, all that is required is one subroutine call of the
monitoring block. Gear monitoring of master and slave is also performed in this same
subroutine call.
● A total of three subroutine calls are needed for tandem mode.
– The first subroutine call is needed to compare the first master (tandem master) and its
slave (e.g. Hoist_1 and Hoist_2).
– The second subroutine call is needed to compare the second master (tandem slave)
and its slave (e.g. Hoist_3 and Hoist_4).
– The third subroutine call is needed to compare the tandem master and tandem slave
(Hoist_1 and Hoist_3).
There are also other points to consider in terms of interconnection for tandem mode:
● The two variables "TO_tolerancevelocitymonitoring" and
"TO_tolerancepositionmonitoring", which are only available for the slave drives in the
interface of the MCC unit, must be inserted here for the master drive which is operated as
the tandem slave in the interface of the MCC unit. These tolerances are required for
comparing the tandem master with the tandem slave.
Continuing with our example from above (Hoist_1 = tandem master and Hoist_3 =
tandem slave), the variables have to be inserted for Hoist_3 in the interface of the MCC
unit.
● In tandem mode, the two variables (Hoist_3_tolerancevelocitymonitoring and
Hoist_3_tolerancepositionmonitoring) have to be connected with the input variables
"r64tolerancevelocitymonitoring" and "r64tolerancepositionmonitoring" in the subroutine
call (monitoring).
Basic Technology
192 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
● For the purpose of variable assignment after the subroutine call, two variables must be
created for the tandem master drive in the interface of the MCC unit. One of these
variables must be a Boolean variable, which transmits the error signal, and the other
must be a DINT variable, which transmits the error code. During variable assignment,
errors and error codes from the subroutine call for tandem mode are connected with
these two new variables.
● These two new variables then have to be connected to a free "bofb_outerrorbool" and
"bofb_outerrorid" position in the "Errorpriority" module of the tandem master in the
subroutine call.
A brief sequence when an error is detected is listed in the following graphic. In this example,
in master-slave operation, the velocity between the master and the slave is monitored. In
point 1, it is identified that the velocities between the master and slave lie outside the
permissible tolerance but the velocities lie again within the tolerance before the delay time
expires. This is the reason that an error is not output. In point 2, the velocities lie outside the
permissible tolerance - even after the delay time has expired. This is the reason that an error
is output.
Basic Technology
Operating Instructions, 06/2012 193
Crane function blocks
5.3 Crane FB library
Error messages
If an error occurs, output "boError" is set and an error number is output at output
"i32ErrorID"; see Application error messages and alarm messages (Page 339).
5.3.9 FB_OperationMode
Task
The operating modes and travel motion are managed using the function block
FB_OperationMode.
Basic Technology
194 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 195
Crane function blocks
5.3 Crane FB library
Basic Technology
196 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Connections
Basic Technology
Operating Instructions, 06/2012 197
Crane function blocks
5.3 Crane FB library
r64positiveAccelerationStartJerk IN 0.0 LREAL Final jerk for the acceleration end [ms]
The jerk is specified by the higher-level
controller. [ms]
r64negativeAccelerationStartJerk IN 0.0 LREAL Initial jerk for the start of deceleration [ms]
r64negativeAccelerationEndJerk IN 0.0 LREAL End jerk for the end of deceleration [ms]
r64MinimumVelocityAutoPositive IN 0.0 LREAL Minimum velocity in the AUTOMATIC
operating mode; if a value not equal to
zero is entered in this variable, then when
the target position is reached, the system
changes over to a crawl velocity [mm/s].
Basic Technology
198 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 199
Crane function blocks
5.3 Crane FB library
Basic Technology
200 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 201
Crane function blocks
5.3 Crane FB library
Basic Technology
202 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 203
Crane function blocks
5.3 Crane FB library
Basic Technology
204 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 205
Crane function blocks
5.3 Crane FB library
Basic Technology
206 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 207
Crane function blocks
5.3 Crane FB library
CAUTION
5.3.9.1 Functionality
TO data set 1: Hoist, Gantry, Trolley, Boom, Holding Gear, Closing Gear, Slewing
Gear
The motor encoder evaluates the position actual value.
TO data set 2: Hoist, Gantry, Trolley, Holding Gear, Closing Gear, Slewing Gear
(when required): The external encoder evaluates the position actual value.
Note
TO data set 2 is used only when using an external encoder, if this encoder is directly
connected to SIMOTION / SINAMICS. The external encoder is used for positioning.
Basic Technology
208 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
DO data set 0: Hoist, Gantry, Holding Gear, Closing Gear, Slewing Gear
Closed-loop speed control with motor encoder
DO data set 1: Gantry, Trolley, Slewing Gear
Closed-loop speed control without motor encoder
Analog to this, further drive object data sets must be created in SINAMICS for the associated
switchover options. Where other switchover options are required, e.g. Gantry to Boom or
Gantry to Hoist, the relevant data sets must also be set up based on the example illustrated
here.
Note
DO data sets 4 and 5 can be selected only for the external TO switchover (refer to Chapter
Technology object switchover (Page 214)). They cannot be selected for the internal TO
switchover. Data sets 4 and 5 must be created for both TO switchover variants when a brake
test is required. A brake test is possible only with data set 6 and/or data set 7.
Basic Technology
Operating Instructions, 06/2012 209
Crane function blocks
5.3 Crane FB library
Note
DO data set 6 or 7 is used for the brake test.
The brake test is implemented in the standard "STS Crane" application, refer to STS crane
(ship-to-shore) (Page 498) ).
①: Selection ②:
Deselection
Function module Connection type Name Feedback signal Feedback
signal
Hoist IN boHoist TRUE FALSE
OUT boHoistActive TRUE FALSE
Gantry IN boGantry TRUE FALSE
OUT boGantryActive TRUE FALSE
Trolley IN boTrolley TRUE FALSE
Basic Technology
210 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
①: Selection ②:
Deselection
Function module Connection type Name Feedback signal Feedback
signal
OUT boTrolleyActive TRUE FALSE
Boom IN boBoom TRUE FALSE
OUT boBoomActive TRUE FALSE
Holding Gear IN boHoldingGear TRUE FALSE
OUT boHoldingGearActive TRUE FALSE
Closing Gear IN boClosingGear TRUE FALSE
OUT boClosingGearActive TRUE FALSE
Slewing Gear IN boSlewGear TRUE FALSE
OUT boSlewGearActive TRUE FALSE
The Hoist and Gantry function modules will now be explained in more detail using an
example.
Hoist active
The control and feedback signals are shown in the following sequence diagram. You will see
the selection as case ① and de-selection as case ②.
Case 1:
Output "boHoistActive" is set, if, when selecting input "boHoist" the plausibility check is OK.
Case 2:
Output "boHoistActive" is reset if, when de-selecting the input "boHoist" the plausibility check
is OK.
Basic Technology
Operating Instructions, 06/2012 211
Crane function blocks
5.3 Crane FB library
Gantry active
The control and feedback signals are shown in the following sequence diagram. You will see
the selection as case ① and de-selection as case ②.
Case 1:
Output "boGantryActive" is set if, when selecting the input "boGantry" the plausibility check is
OK.
Case 2:
Output "boGantryActive" is reset if, when de-selecting the input "boGantry" the plausibility
check is OK.
Basic Technology
212 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 213
Crane function blocks
5.3 Crane FB library
Note
General settings for the configuration data of the axes:
• Restart.behaviourInvalidSysvarAccess = 2
• Restart.restartActivationSetting = 0
• RestartCondition.restartAxisCondition = 0
• TypeOfAxis.DecodingConfig.transferSuperimposedPosition = 2
• TypeOfAxis.NumberofDataSets.changeMode = 7
• TypeOfAxis.DriveControlConfig.pulsesEnabled.bitNumber = 11
• TypeOfAxis.DriveControlConfig.pulsesEnabled.pzdNumber = 14
• TypeOfAxis.DriveControlConfig.releaseDisableMode = 7
Note
The "boChangeTechnologyObjectActive" feedback signal in AppZSW2 bit 15 = TRUE is
made for an internal switchover only when the switchover itself is active.
• Example: Switchover between TO data set 1 (Trolley) and TO data set 3 (Boom)
If "boChangeTechnologyObject" = FALSE, TO data set 1 becomes active and no
feedback occurs ("boChangeTechnologyObjectActive" = FALSE). If
"boChangeTechnologyObject" = TRUE, TO data set 3 becomes active and a feedback
occurs ("boChangeTechnologyObjectActive" = TRUE).
For external switchover, the feedback "boChangeTechnologyObjectActive" in AppZSW2
bit 15 = TRUE occurs once the TO becomes activated.
• Example:
TO Trolley "boChangeTechnologyObject" = FALSE →
"boChangeTechnologyObjectActive" = FALSE
"boChangeTechnologyObject" = TRUE → "boChangeTechnologyObjectActive" =
TRUE
Basic Technology
214 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Internal TO switchover
With internal TO data set switchover the technology object does not change. An additional
TO data set is simply set up containing the configuration data for the second drive. However,
this data set is created as the third data set because the second data set is reserved for
external encoders.
A second DO data set is also set up for the second motor in the drive object (DO). The
internal TO data set switchover functions only between two drives:
Note
The external encoder is optional. If no external encoder is present: Create a dummy TO data
set as TO data set 2, otherwise an internal switchover cannot occur.
TO data set 4 is required only when an external encoder is actually present.
Example:
Boom is being driven via the Trolley converter. Under "Axes" in the SCOUT project tree
there is just one (1) axis or just one (1) "Trolley" TO. This axis is used to move Trolley and
Boom.
In the technology object, at least three data sets must be created in the "Trolley" axis:
● TO data set 1: Trolley drive with motor encoder
● TO data set 2: Trolley drive with external encoder (if none is present, set up the data set
all the same and do not use it any further)
● TO data set 3: Boom drive with motor encoder
Basic Technology
Operating Instructions, 06/2012 215
Crane function blocks
5.3 Crane FB library
Three drive data sets must also be created in the drive object for the Trolley drive.
● DO data set 0: Trolley drive with motor encoder
● DO data set 1: Trolley drive without encoder
● DO data set 2: Boom drive with encoder
Note
With internal TO switchover, the options for adapting the configuration data to the second
motor are limited. Only the configuration data under TypeOfAxis.NumberOfDataSets and
TypeOfAxis.NumberOfEncoders can be adapted.
Other important variables, such as the maximum velocity or the leadscrew pitch, are fixed
(permanently stored) and, as such, are independent of individual data sets.
(TypeOfAxis.NumberOfEncoders: An encoder can be permanently allocated to a data set.)
Procedure:
Note
1. Operating modes must be deselected and may only be reactivated once the switchover
has been carried out.
2. There must be no errors present.
3. Drives must be at a standstill and switched-off.
4. Interconnections such as synchronous mode, master-slave operation or external encoder
selection have to be disconnected.
The control and feedback signals are shown in the sequence diagram below. Selection is
described in case ① and deselection in case ②.
● Case 1: Changeover from Trolley to Boom
1. For trolley: boInternalTOChange = TRUE
2. Deselect operating mode in Trolley: AppSTW1 bit 10 - 15 = FALSE (depending on the
selected operating mode)
Check whether the operating mode is deselected: AppZSW1 bit 10 – 15 = FALSE
3. Deselect pulse enable: STW1 bit 3 = FALSE
4. Select "boChangeTechnologyObject" in Trolley: AppSTW2 Bit 15 = TRUE
Check whether "boChangeTechnologyObjectActive" is selected: AppZSW2 bit 15 =
TRUE
5. Select operating mode in Trolley: AppSTW1 bit 10 - 15 = TRUE (depending on the
selected operating mode)
Check whether the operating mode is selected: AppZSW1 bit 10 - 15
6. Select pulse enable: STW1 bit 3 = TRUE
The internal TO switchover from Trolley to Boom is now complete.
Basic Technology
216 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 217
Crane function blocks
5.3 Crane FB library
The following points must be taken into account for external TO switchover:
Basic Technology
218 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
● Which motor is being driven via which converter must be determined. The boom motor
via the trolley or gantry converter or the gantry motor via the hoist converter.
● The FB_OperationMode must specify for each drive the associated function and its TO.
Example:
In the drive, i.e. DO data set, the following order must be maintained:
– DO 0/1 = Hoist
– DO 2/3 = Trolley
– DO 4/5 = Boom
This means the following inputs must be set in the associated function modules in
FB_OperationMode:
– Hoist boChangeTO_NR_1 = TRUE
– Trolley boChangeTO_NR_2 = TRUE
– Boom boChangeTO_NR_3 = TRUE
In addition, the boExternalTOChange = TRUE and boInternalTOChange = FALSE inputs
must be set for all technology objects involved in the external switchover.
Example:
For the Gantry motor, boGantry must be set to TRUE; for the Trolley motor, boTrolley
must be set to TRUE.
Note
The setting for which technology object is active following power-up can be made in the
configuration data for the technology object, e.g.
D435.Trolley_1.TypeOfAxis.SetpointDriverInfo.interfaceAllocation
This setting can be made for each encoder under
D435.Trolley_1.TypeOfAxis.NumberOfEncoders.Encoder_XY.interfaceAllocation.
There are three options here:
• EXCLUSIVE (939):
If no switchover is performed between multiple technology objects, EXCLUSIVE must
be set.
• NON_EXCLUSIVE_AND_STARTUP_DEACTIVATED (940):
This setting is selected for the appropriate technology objects that should be switched
(usually Boom, for example).
Bit 15 must be set in application control word 2 so that the drive evaluates status word 1,
bit 9. Otherwise, it does not evaluate status word 1, bit 9.
The application status word 2, bit 15 is set when application control word 2, bit ? and
status word 1, bit 9 are set.
Basic Technology
Operating Instructions, 06/2012 219
Crane function blocks
5.3 Crane FB library
Example:
The Boom is being driven via the Trolley converter. Under "Axes" in the SCOUT project tree
there are two axes, "Trolley" and "Boom". This means that each axis represents a motor.
Nevertheless, there is only one drive object (DO), i.e. only one converter for both motors,
which are operated alternately.
Only one data set is needed in the "Trolley" technology object (without external encoder).
● Data set 1: Trolley drive with motor encoder
● Data set 2: Trolley drive with external encoder (only if required)
Only one data set is needed in the "Boom" technology object (without external encoder).
● Data set 1: Boom drive with motor encoder
● Data set 2: Boom drive with external encoder (only if required)
Note
With external TO switchover, every motor has its own TO axis. The configuration data can
be individually adapted in the technology objects.
Procedure:
Note
1. There must be no errors present.
2. Drives have to be switched off.
3. Interconnections such as synchronous mode, master-slave operation or external encoder
selection have to be disconnected.
Basic Technology
220 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Note
The control of the external Trolley to Boom switchover and Boom to Trolley switchover with
the signal diagram for the S7 project are described in the Commissioning (Page 351).
Further, the changeover sequence is available in an S7 project on the CD that is supplied
when the system is shipped.
The control and feedback signals are shown in the sequence diagram below. Selection is
described in case ① and deselection in case ②.
● Case 1: Changeover from Trolley to Boom
1. Deselect pulse enable: STW1 bit 3 = FALSE
2. Deselect "boChangeTechnologyObject" in Trolley: AppSTW2 bit 15 = FALSE
Check trolley drive: ZSW1 bit 9 = FALSE
3. Select new TO Boom "boChangeTechnologyObject": AppStw2 bit 15 = TRUE
Check Boom drive: ZSW1 bit 9 = TRUE
The external TO switchover from Trolley to Boom is now complete.
Basic Technology
Operating Instructions, 06/2012 221
Crane function blocks
5.3 Crane FB library
For a switchover between Boom and another drive (Gantry or Trolley), external TO
switchover with Trolley is usually performed. For this reason, both function modules are
contained in the project in full.
Basic Technology
222 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
If a different switchover is required, for example, between Gantry and Hoist, or if the
switchover should be extended to three, for example for Trolley and Boom to Trolley and
Boom and Hoist, the following must be taken into account:
All switchable technology objects ultimately operate on a drive object (DO) in the SINAMICS.
The data is transferred between a technology object and a drive object using a standard
telegram. Depending on which the drive object is active, the connection is established
automatically using the telegram. The user does not need to make any additions. Additional
information, however, is exchanged between technology object and drive object not using a
standard telegram but rather using the I/O interface or the address list of the SIMOTION.
This must be be adapted in the case a reconfiguration of the external switchover.
All technology objects that can be switched between each other access the I/O variables of
the master TO axis. If, therefore, the master TO axis is a Trolley, the other TOs involved in
the switchover access those I/O variables whose name other with "Trolley".
Example:
Switchover between Trolley, Boom and Hoist: → TO Trolley, TO Boom and TO Hoist work on
DO trolley (converter). The following figure summarizes the relationship. In our example, Xxx
would be Trolley.
If a switchover is to be made to TO Boom, TO Boom must access the same variables in the
I/O as the TO Trolley in order to also receive the additional information. If the switchover is
extended to the Hoist, TO Hoist must also access the same I/O variables as TO Trolley and
TO Boom. The following figure shows that the variable assignments for the Boom (right-hand
side) access the variables for the Trolley (left-hand side) . Observe the possible differences
between Trolley and Boom for the nominal values! The variable assignment for Hoist then
corresponds exactly to that for Boom.
Basic Technology
Operating Instructions, 06/2012 223
Crane function blocks
5.3 Crane FB library
Basic Technology
224 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Change of the velocity setpoint, acceleration time, delay time, initial rounding-off and final
rounding-off:
● Velocity, acceleration and deceleration can be changed at any time in the
SPEED_CONTROLLED operating mode.
● In the AUTOMATIC, EASY_POSITIONING and MANUAL operating modes, velocity,
acceleration and deceleration can be changed at any time:
In the delay phase, a longer delay time is not accepted although a shorter delay time is
accepted. If the delay time is reduced, the target position is no longer approached, but
rather the drive is braked with the shorter delay time.
● In the SENSORLESS EMERGENCY operating mode, the velocity can only be changed
up to the parameterizable limit "r64VelocitySensorlessEmergency". Acceleration and
deceleration can be changed at any time.
● In all operating modes, a change of the initial rounding-off and the final rounding-off is
applied only with a deflected master switch. The exception is the AUTOMATIC operating
mode. In this case, the change is applied immediately.
Basic Technology
Operating Instructions, 06/2012 225
Crane function blocks
5.3 Crane FB library
AUTOMATIC request
In the AUTOMATIC operating mode, the controller (S7) specifies the target position, velocity,
acceleration and deceleration. Then, by starting the automatic request, the target position is
executed with the specified, dynamic values.
The various sequences of an automatic request are shown in the following sequence
diagram. The following should be observed regarding this sequence diagram:
● The operating mode was already correctly selected, i.e. the plausibility check is OK.
● Velocity, acceleration and deceleration are not changed in this sequence diagram.
● The master switch is not deflected.
Note
AUTOMATIC requests can only be executed if the module is in MasterMode
(boSlaveModeActive = FALSE).
Section 1:
In the first section of the sequence diagram, a target position of 20,000 mm is specified.
Then, the AUTOMATIC request is started with a positive edge of the input signal
"boStartAutomaticOrder". The feedback signal "boAutomaticOrderActive" is set as soon as
the request is executed. When the specified target position is reached, the feedback signal
"boAutomaticOrderActive" is reset and the feedback signal "boAutomaticPositionReached" is
set.
Section 2:
In the second section of the sequence diagram, a target position of 40,000 mm is specified.
As soon as the request is executed, the checkback signal "boAutomaticPositionReached" is
set. The same sequence as in section 1 is executed.
Section 3:
In the third section of the sequence diagram, a target position of 60,000 mm is specified. The
same sequence as in section 2 is executed. During an automatic request that is running, the
target position is changed from 60,000 mm to 0 mm. The new target position is accepted
immediately, i.e. the old target position is rejected and the new target position is approached.
When the specified target position is reached, the feedback signal "boAutomaticOrderActive"
is reset and the feedback signal "boAutomaticPositionReached" is set.
Basic Technology
226 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 227
Crane function blocks
5.3 Crane FB library
Section 1:
In the first section of the sequence diagram, a positive minimum velocity is not configured. A
target position of 10,000 mm is specified. Then, the AUTOMATIC request is started with a
positive edge of the input signal "boStartAutomaticOrder". The feedback signal
"boAutomaticOrderActive" is set as soon as the request is executed. When the specified
target position is reached, the feedback signal "boAutomaticOrderActive" is reset and the
feedback signal "boAutomaticPositionReached" is set.
Section 2:
In the second section of the sequence diagram, a positive minimum velocity is configured. A
target position of 20,000 mm is specified. The same sequence as in section 1 is started. The
AUTOMATIC request is cut-out in the deceleration phase as soon as the actual velocity
reaches the configured minimum velocity. The "boAutomaticOrderActive" feedback signal is
then reset. The drive continues with the configured minimum velocity until the power-down
command comes from the controller.
Basic Technology
228 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Note
As soon as the master switch is deflected in the AUTOMATIC operating mode, the control
(S7) must issue the following:
positive velocity setpoint in PZD2 and target position > actual position, or
negative velocity setpoint in PZD2 and target position < actual position
Sequence diagram
Various sequences of an AUTOMATIC request without deflected master switch and with
deflected master are shown in the following sequence diagram. It should be noted that
acceleration and deceleration are not changed in this sequence diagram.
Section 1:
In the first section of the sequence diagram, the master switch is not configured. A target
position of 10,000 mm is specified. The AUTOMATIC request then runs as shown in the
diagram "FB_OperationMode, AUTOMATIC request" (refer above).
Section 2:
In the second section of the sequence diagram, the master switch is deflected during an
AUTOMATIC request. A target position of 20,000 mm is specified. The AUTOMATIC request
is then started with a positive edge of the input signal "boStartAutomaticOrder" and the
feedback signal "boAutomaticOrderActive" is set. While the automatic request is being
processed, the master switch is deflected in the positive direction. The AUTOMATIC request
is interrupted and the control (S7) specifies a new maximum, positive target position. Using
his master switch, the crane driver has control over his crane.
Basic Technology
Operating Instructions, 06/2012 229
Crane function blocks
5.3 Crane FB library
Figure 5-38 FB_OperationMode, AUTOMATIC operating mode, interrupt by the master switch
Basic Technology
230 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
As soon as the remaining distance (r64distanceToGo) is less than the braking distance
(r64Stoping Distance) and the drive is in the deceleration phase, it is no longer possible to
change the deceleration time. The drive is braked with the last valid deceleration time. This
safety function has been incorporated so that if the deceleration ramp is
unfavorably/incorrectly set, then the drive does not move past the target.
Sequence diagram
Various sequences of an AUTOMATIC request where the deceleration time is changed are
shown in the following sequence diagram. In the sequence diagram, a differentiation is made
between the specified deceleration (r64Deceleration) from the control (S7) and the accepted
deceleration (r64Deceleration_internal). It should be noted that acceleration and velocity are
not changed in this sequence diagram.
Section 1:
In the first section of the sequence diagram, a target position of 20,000 mm is specified and
a deceleration time of 9,000 ms. Then, a normal sequence of the AUTOMATIC request
starts. During the constant-velocity travel, the delay time is changed from 9,000 ms to 7,000
ms. This change is also accepted as the drive is in the constant-velocity phase. When the
specified target position is reached, the feedback signal "boAutomaticOrderActive" is reset
and the feedback signal "boAutomaticPositionReached" is set.
Section 2:
In the second section of the sequence diagram, a target position of 40,000 mm and a
deceleration time of 7,000 ms are specified. Then, an AUTOMATIC process starts. The
distance to go (r64distanceToGo) is less than the braking distance (r64Stopping Distance)
and the drive is decelerating. In this phase, the delay time is changed from 7,000 ms to
5,000 ms. This change is not accepted as the remaining distance is less than the braking
distance and the drive is decelerating, i.e. the drive decelerates with the last valid
deceleration time. When the specified target position is reached, the feedback signal
"boAutomaticOrderActive" is reset and the "boAutomaticPositionReached" is set.
Section 3:
In the third section of the sequence diagram, a target position of 60,000 mm is specified and
a deceleration time of 9,000 ms. The AUTOMATIC request is then started. While
accelerating, the deceleration time is changed from 9,000 ms to 10,000 ms. This change is
accepted because the drive is accelerating. When the specified target position is reached,
the feedback signal "boAutomaticOrderActive" is reset and the feedback signal
"boAutomaticPositionReached" is set.
Basic Technology
Operating Instructions, 06/2012 231
Crane function blocks
5.3 Crane FB library
Basic Technology
232 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 233
Crane function blocks
5.3 Crane FB library
Basic Technology
234 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Note
During the first commissioning, a positioning must ensure that the gain is set correctly and
no overshoot occurs. The positioning must be tested again after every change of the gain,
deceleration or jerk.
5RRW)XQFWLRQ
UB&KDQJH2YHU3RLQW
)LQDO6HWSRLQW
Basic Technology
Operating Instructions, 06/2012 235
Crane function blocks
5.3 Crane FB library
Note
Experience has shown that the value 0.5 (default value for "r64KP_ChangeOverPoint")
works very well in practice.
The gain factor defines the length of the constant velocity phase and the start of the
deceleration phase. The specified ramp-up time is not changed, but only the ramp-down
time. As a consequence, the total delay time can be influenced.
NOTICE
The slope of the deceleration ramp determined by the KP variable must be set so that the
predefined ramp-down time (set by the higher-level controller, e.g. S7) is not undershot.
This is to stop the drive overshooting the target.
If "r64KP_ChangeOverPoint" is too small, the drive will go straight into the deceleration
phase during ramp-up without having reached the constant velocity phase because the KP
factor is too weak and the drive must start to brake earlier.
Basic Technology
236 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
If the KP factor is optimized in terms of time, the deceleration ramp will match the predefined
deceleration ramp. In this context, it is important that the predefined deceleration is not
undershot. This is to stop the drive overshooting the target. The predefined ramp-down time
cannot be increased further without adapting the KP factor accordingly.
Setting a KP factor which is too high shortens the ramp-down time and makes the ramp
steeper than would be the case with the predefined ramp-down time. The drive will
overshoot the target in this case.
Note
Ensure when positioning that the target is not overshot, not even briefly. The positioning
should be tested again after every change of the maximum velocity, gain, deceleration or
jerk. The target position for testing should be set so that an overshoot will not cause any
damage; otherwise the KP factor is too large.
Sequence diagram
In the following sequence diagram, various sequences associated with the
EASY_POSITIONING operating mode are shown without configured minimum velocity and
with configured minimum velocity. It should be noted that acceleration and deceleration are
not changed in this sequence diagram.
Basic Technology
Operating Instructions, 06/2012 237
Crane function blocks
5.3 Crane FB library
Section 1:
No positive minimum velocity is configured in the first section of the sequence diagram. The
master switch is deflected in the positive direction. In so doing, the maximum positive target
position (r64TargetPosition) of 120000 mm is specified. The velocity (r64Velocity) is defined
by the degree of deflection of the master switch. The velocity is slowly reduced down to
standstill (zero speed) using the master switch.
Section 2:
A positive minimum velocity is configured in the second section of the sequence diagram.
The master switch is deflected in the positive direction. In so doing, the maximum positive
target position (r64TargetPosition) of 120000 mm is specified. When the maximum positive
target position is reached and therefore the actual velocity reaches the configured minimum
velocity, then in the deceleration phase a changeover is made to the minimum velocity. The
drive continues to move with the configured minimum velocity until the master switch is no
longer deflected or the power-down command comes from the controller.
Basic Technology
238 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Note
The SPEED_CONTROLLED operating mode can be used instead of the previous JOGGING
operating mode; however, the limitation to the required velocity must be realized in the PLC.
Sequence diagram
Various sequences of SPEED_CONTROLLED operation are shown in the following
sequence diagram. It should be noted that acceleration and deceleration are not changed in
this sequence diagram.
Section 1:
In the first section of the sequence diagram, the master switch is deflected in the positive
direction. The velocity (r64Velocity) is defined by the degree of deflection of the master
switch. The master switch is slowly deflected in the positive direction up to approx. 50% and
after a short constant-velocity phase is again slowly returned to standstill.
Section 2:
In the second section of the sequence diagram, the master switch is deflected in the
negative direction. The velocity (r64Velocity) is defined by the degree of deflection of the
master switch. The master switch is slowly deflected in the negative direction up to approx. -
50 % and after a short constant-velocity phase is again slowly returned to standstill.
Basic Technology
Operating Instructions, 06/2012 239
Crane function blocks
5.3 Crane FB library
Note
The V/f control is permissible only in the SENSORLESS EMERGENCY operating mode.
WARNING
When using the V/f control type, the technology object (TO) must not be deleted and
created as the V/f drive. The technology object (TO) must not be deleted. The p1300
parameter only needs to be parameterized in the drive object (DO) in the correct drive data
set (DDS) for speed control with or without encoder on V/f control.
Basic Technology
240 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
WARNING
Active loads must not be operated without an encoder. "Active load" means that the load for
opened brake accelerates automatically (Hoist, Boom, Holding Gear, etc.).
Sequence diagram
Various sequences of SENSORLESS EMERGENCY are shown in the following sequence
diagram. It should be noted that acceleration and deceleration are not changed in this
sequence diagram.
Section 1:
In the first section of the sequence diagram, the master switch is deflected in the positive
direction. The velocity (r64Velocity) is defined by the degree of deflection of the master
switch and by the velocity configured for SENSORLESS EMERGENCY. The master switch
is slowly deflected in the positive direction up to approx. 50% but the velocity is limited to the
velocity configured for SENSORLESS EMERGENCY and after a short constant-velocity
phase is again slowly returned to standstill.
Section 2:
In the second section of the sequence diagram, the master switch is deflected in the
negative direction. The velocity (r64Velocity) is defined by the degree of deflection of the
master switch and by the velocity configured for SENSORLESS EMERGENCY
(r64VelocitySENSORLESSEMERGENCY). The master switch is slowly deflected in the
negative direction up to approx. -50%, but the velocity is limited to the velocity configured for
SENSORLESS EMERGENCY and after a short constant-velocity phase is again slowly
returned to standstill.
Basic Technology
Operating Instructions, 06/2012 241
Crane function blocks
5.3 Crane FB library
Basic Technology
242 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
In SWAYCONTROL operating mode the technology object only checks the maximum
velocity and acceleration. The acceleration and velocity limits must not be exceeded in the
technology object if limits are in place. The technology object no longer carries out
positioning, standstill, or following error monitoring.
Note
If the selection of the operating mode is not plausible, however, no error message is
output.
AUTOMATIC, MANUAL, EASY_POSITIONING or SWAYCONTROL operating mode can
only be selected if the drive has been homed in compliance with the conditions specified
above; in other words, if there is a clear reference between the measuring system and
the travel path.
Basic Technology
Operating Instructions, 06/2012 243
Crane function blocks
5.3 Crane FB library
The control of the operating modes is shown in various case examples in the following
pages. The POWER signal indicates the power enable signal at the technology object.
Case 2:
The SPEED_CONTROLLED operating mode is active and the axis moves. The
AUTOMATIC operating mode is selected. The AUTOMATIC operating mode is not accepted
because the drive is moving and is still in closed-loop control.
Case 3:
The OperationMode function block has an error. The AUTOMATIC operating mode is
selected. The AUTOMATIC operating mode is accepted.
Case 4:
The AUTOMATIC operating mode is selected. No other operating mode is selected, the
drive is stationary (zero speed), the drive is not being controlled, the OperationMode function
block does not have an error, and drive data set 0 or 2 is active. AUTOMATIC ACTIVE is
signaled back. This means that the operating mode was correctly accepted.
Basic Technology
244 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Case 1:
The drive is not homed, i.e. there is no reference between the measuring system and the
travel path. The MANUAL operating mode is selected. The Manual operating mode is not
accepted because the drive has still not been homed.
Case 2:
The SPEED_CONTROLLED operating mode is active and the axis moves. The MANUAL
operating mode is selected. The MANUAL operating mode is not accepted because the drive
is moving and is still in closed-loop control.
Case 3:
The OperationMode function block has an error. The MANUAL operating mode is selected.
The MANUAL operating mode is accepted.
Basic Technology
Operating Instructions, 06/2012 245
Crane function blocks
5.3 Crane FB library
Case 4:
The MANUAL operating mode is selected. No other operating mode is selected, the drive is
stationary (zero speed), the drive is not subject to closed-loop control, the OperationMode
function block does not have an error, and drive data set 0 or 2 is active. MANUAL Active is
signaled back. This means that the operating mode was correctly accepted.
Case 1:
The drive is not homed, i.e. there is no reference between the measuring system and the
travel path. The EASY_POSITIONING operating mode is selected. The
EASY_POSITIONING operating mode is not accepted because the drive has not been
homed.
Case 2:
The SPEED_CONTROLLED operating mode is active and the axis moves. The
EASY_POSITIONING operating mode is selected. The EASY_POSITIONING operating
mode is not accepted because the drive is moving and is still in closed-loop control.
Basic Technology
246 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Case 3:
The OperationMode function block has an error. The EASY_POSITIONING operating mode
is selected. The EASY_POSITIONING operating mode is accepted.
Case 4:
The EASY_POSITIONING operating mode is selected. No other operating mode is selected,
the drive is stationary (zero speed), the drive is not subject to closed-loop control, the
OperationMode function block does not have an error, and drive data set 0 or 2 is active.
EASY_POSITIONING active is returned. This means that the operating mode was correctly
accepted.
Basic Technology
Operating Instructions, 06/2012 247
Crane function blocks
5.3 Crane FB library
Case 2:
The OperationMode function block has an error. The SPEED_CONTROLLED operating
mode is selected. The SPEED_CONTROLLED operating mode is accepted.
Case 3:
The SPEED_CONTROLLED operating mode is selected. No other operating mode is
selected, the drive is stationary (zero speed), the drive is not subject to closed-loop control,
the OperationMode function block does not have an error, and drive data set 0 or 2 is active.
Then, the SPEED_CONTROLLED ACTIVE feedback signal is output. This means that the
operating mode was correctly accepted.
Basic Technology
248 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Case 2:
The OperationMode function block has an error. The SENSORLESS EMERGENCY
operating mode is selected. The SENSORLESS EMERGENCY operating mode is accepted.
Case 3:
The SENSORLESS EMERGENCY operating mode is selected. No other operating mode is
selected, the drive is stationary (zero speed), the drive is not in closed-loop control, the
OperationMode function block does not have an error. A drive data set is switched over
internally (DDS 1 or DDS 3) and then the SENSORLESS EMERGENCY ACTIVE feedback
signal is output. This means that the operating mode was correctly accepted.
Basic Technology
Operating Instructions, 06/2012 249
Crane function blocks
5.3 Crane FB library
Case 2:
The SPEED_CONTROLLED operating mode is active and the axis moves.
SWAYCONTROL mode is selected. SWAYCONTROL mode is not accepted because the
drive is moving and is still under control.
Basic Technology
250 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Case 3:
The OperationMode function block has an error. SWAYCONTROL mode is selected. The
SWAYCONTROL operating mode is accepted.
Case 4:
Heavy-duty operation is active and SWAYCONTROL mode is selected. SWAYCONTROL
mode is not accepted because the drive is in heavy-duty operation.
Case 5:
SWAYCONTROL mode is selected. No other operating mode is selected, the drive is
stationary (zero speed) and referenced, the drive is not in closed-loop control and drive data
set 0 or 2 is active. SWAYCONTROL ACTIVE is fed back. This means that the operating
mode was correctly accepted.
Basic Technology
Operating Instructions, 06/2012 251
Crane function blocks
5.3 Crane FB library
5.3.9.6 Homing
When the power is switched in at the system, generally, the motor encoder and the travel
path are not referenced with one another - unless an absolute measuring system for
SIMOTION is being used. This means that the motor encoder transfers an actual position to
the controller that does not correspond to the actual position of the travel path. Homing is
mandatory in the AUTOMATIC, MANUAL, EASY_POSITIONING and SWAYCONTROL
operating modes for this reason. Without homing, these operating modes do not become
active.
Homing is only possible if the drive has no power enable (power is inactive). There are two
homing possibilities:
Possibility 1:
The homing position is specified by the "S7" controller by means of target position
"r64TargetPosition". The input "boHomingValuePLC" must be set. The homing position is
only accepted from the target position "r64TargetPosition" after this input has been set. The
input "boStartHoming" is then started with a positive edge. This means that the actual
position "r64ActualPosition" is set to the value of the target position. The output
"boAxisHomed" is set after the operation has been completed.
Possibility 2:
The homing position is permanently saved in the variable "r64HomingFixValue". It is not
permissible that the input "boHomingValuePLC" is set. The input "boStartHoming" is then
started with a positive edge. This means that the actual position "r64ActualPosition" is set to
a permanently saved value. The output "boAxisHomed" is set after the operation has been
completed.
Note
The input "boStartHoming" is only briefly set using a positive edge.
The input "boHomingValuePLC" is used to select whether the homing value should be taken
from the target position "r64targetPosition" of the "S7" controller or from the permanently
saved value "r64HomingFixValue".
The output "boAxisHomed" indicates whether a drive has been referenced or not.
Basic Technology
252 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
The drive that operates closed-loop torque controlled is the slave. The SlaveMode must be
selected in this module, i.e. input "boSlaveMode = TRUE" and the output
"boSlaveModeActive" must be active. This means that it is also possible to select master-
slave operation "boSelectMasterSlaveOperation".
Basic Technology
Operating Instructions, 06/2012 253
Crane function blocks
5.3 Crane FB library
Selection and deselection in the master-slave operation control type for master and slave are
illustrated in the sequence diagrams below:
Selecting the master-slave operation control type
The selection is made, if
● there is no power enable (Power = FALSE, STW1 bit 3).
● the drive is at a standstill (zero speed) (boStandStill = TRUE, AppZSW1 bit 2).
● the master and slave operating modes are the same.
Basic Technology
254 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Master-slave operation selection is now active, i.e. the two drives now operate in this mode.
The master is normally controlled as in the operating modes that have already been
described.
Note
For the slave, no setpoint may be specified and the STW1 must be set as for the master.
The "boSelectMasterSlaveOperation" input must be set for the master and slave.
Note
For master-slave operation, the control by the control word 1 must remain active until both
drives have come to a standstill.
The setpoint enable (STW1, bit 6) must not be reset if the drives are in motion.
Basic Technology
Operating Instructions, 06/2012 255
Crane function blocks
5.3 Crane FB library
Note
If the master needs to be moved by itself after the master-slave operation control type has
been deselected, the "boSelectMasterSlaveOperation" input must be reset. The master can
only move alone if the output "boSelectMasterSlaveOperationActive" has been reset (the
output signals from the slave are no longer checked).
NOTICE
In the master-slave operation control mode, the setpoint and the position may be defined at
the master only. The setpoint that is entered must match the position. If this requirement is
not met, the drive command will be withdrawn.
The torque setpoint of the slave (p1503) is permanently connected to the torque setpoint of
the master (r0079). However, this does not have any effect on the selection of master-slave
operation.
Basic Technology
256 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 257
Crane function blocks
5.3 Crane FB library
A parameter in the slave – e.g. hoist 2 – is configured for the permissible position difference
for synchronous operation.
Basic Technology
258 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Selection and deselection for the master-slave operation for master and slave are shown in
the sequence diagrams:
Selecting the synchronous operation control type
Synchronous operation control type is selected, if
● there is no power enable (Power = FALSE, STW1 bit 3).
● the drive is at a standstill (zero speed) (boStandStill = TRUE, AppZSW1 bit 2).
● the master and slave operating modes are the same.
Basic Technology
Operating Instructions, 06/2012 259
Crane function blocks
5.3 Crane FB library
The selection of the synchronous operation control type is now active, i.e. both drives now
operate with this control type. The master is normally controlled as in the operating modes
that have already been described.
Note
Synchronous operation is closed-loop position controlled in the AUTOMATIC and MANUAL
operating modes.
Synchronous operation is controlled in a closed speed loop in the SPEED_CONTROLLED
and EASY_POSITIONING operating modes.
Synchronous operation should not be activated in the SENSORLESS EMERGENCY
operating mode.
Input "boSelectSynchronousOperation" must be set for both the master and slave.
For the master, it must be ensured in FB_OperationMode that the checkback signals of the
slave (bocheckbackSlave...) are correctly connected.
For the slave, the technology object Fixed Gear "TO_GearPos" / "TO_GearVel" must be
configured in FB_OperationMode.
Note
In the EASY_POSITIONING operating mode, the synchronous operation is speed-controlled
and so the positions of the two drives not equalized using TO_GearVel. If a position
synchronous operation is required in EASY_POSITIONING operating mode, the
FB_ReferenceMode block must also be made operational. This block is used to equalize the
positions taking into account of the desired offset; refer to FB_ReferenceMode (Page 273),
"Functionality" section.
Note
For synchronous coupling, control by the control word 1 must remain active until both drives
have come to a standstill.
The setpoint enable (STW1, bit 6) must not be reset when the drives are in motion.
If the control by the control word 1 is reset during the motion of the drives, an offset between
the master and the slave would occur.
NOTICE
In the synchronous operation control mode, the setpoint and the position may be defined at
the master only - and the STW1 must be set for both the slave and the master.
The setpoint that is entered must match the position. If this requirement is not met, the drive
command will be withdrawn.
Basic Technology
260 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Note
If the master should move alone after synchronous operation control has been deselected,
then the input "boSelectSynchronousOperation" must be reset. The master can only move
alone after the output "boSlaveAvailableActive" has been reset, i.e. the output signals from
the slave are no longer checked.
Basic Technology
Operating Instructions, 06/2012 261
Crane function blocks
5.3 Crane FB library
Figure 5-63 De-selecting the synchronous operation control type (closed-loop speed controlled)
Basic Technology
262 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Move the required offset between the master and slave without synchronous operation.
Once the required offset has been reached, select synchronous operation as described
previously.
If synchronous operation at the master and slave is active, the input
"boSelectSynchronousOffsetSave" (AppSTW2 bit 8) at the slave must be set with a positive
edge. This means that the offset between the master and slave is determined and saved.
This offset is kept for the complete travel.
The target position is corrected if the slave is closer to the target position than the master.
Otherwise, the slave would travel beyond the target. Two cases for raising and lowering are
shown below:
Case 1: Raising: Target position = +10,000 mm
1. Master is located at the position = +5,000 mm
2. Slave is located at the position = +6,000 mm
→ Corrected target position = +9,000 mm
Case 2: Lowering: Target position = 10,000 mm
1. Master is located at the position = -5,000 mm
2. Slave is located at the position = -6,000 mm
→ Corrected target position = -9,000 mm
Deselecting the synchronous operation control type with offset
The offset value is only deleted if active synchronous operation is deselected
(boSynchronousOperationActive" = FALSE).
Basic Technology
Operating Instructions, 06/2012 263
Crane function blocks
5.3 Crane FB library
Note
The offset can only be saved if synchronous operation is closed-loop position controlled - i.e.
only in the AUTOMATIC and MANUAL operating modes.
Note
Two data sets must be set up at the technology object.
1) TO data set 1: Position actual value from the motor encoder for the function modules
Gantry, Hoist, Trolley and Boom.
2) TO data set 2: Position actual value from an external encoder for the function modules
Gantry, Hoist, Trolley and Boom.
Basic Technology
264 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Section 1:
In the first section of the sequence diagram, the input "boSelectExternalEncoder" (AppSTW2
bit 12) is set. This means that the technology object data set "actualdataset" is changed over
from 1 to 2. After the switchover, the output "boExternalEncoderActive" (AppZSW2 bit 12) is
set.
Section 2:
In the second section of the sequence diagram, the input "boSelectExternalEncoder"
(AppSTW2 bit 12) is reset. This means that the technology object data set "actualdataset" is
changed over from 2 to 1. After the switchover, the output "boExternalEncoderActive"
(AppZSW2 bit 12) is reset.
Figure 5-66 Changing over the position actual value from the motor encoder to an external encoder
of a gantry.
Basic Technology
Operating Instructions, 06/2012 265
Crane function blocks
5.3 Crane FB library
Basic Technology
266 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Note
The brake test is implemented in the standard "STS Crane" application; refer to STS crane
(ship-to-shore) (Page 498).
Basic Technology
Operating Instructions, 06/2012 267
Crane function blocks
5.3 Crane FB library
Basic Technology
268 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Note
Set the brake opening time in parameter p1216 to 0 ms, otherwise a fault occurs (the drive
switches itself off). The brake opening time should be emulated in the PLC if it must be ruled
out that the drive moves against the brakes. No move command must be issued to
SIMOTION during the brake opening time.
Basic Technology
Operating Instructions, 06/2012 269
Crane function blocks
5.3 Crane FB library
5.3.9.15 Alarms
The OperationMode function block also outputs alarms from version 2.0 SP2 and higher.
These should provide users with information as to how they should change the control so
that the required command / the required motion can be executed by SIMOTION, e.g. if
enable signals are missing or an operating mode has not been selected.
If there is no fault and no alarm from a drive or from SIMOTION, then the function block
alarms are sent to the PLC via PZD4, also see Chapter FB_ErrorPriority (Page 187) and
Application error messages and alarm messages (Page 339).
5.3.9.16 Error
The function block OperationMode monitors errors in the technology object and the errors
that can occur when starting a command. If an error occurs at the technology object, the
block outputs the "boErrorTechnologyObject" signal and the corresponding error ID of
technology object "i32ErrorIDTechnologyObject". If an error is caused by a command or
incorrect operator action, the block outputs an "boErrorFunctionBlock" signal and the
corresponding error ID of function block "i32ErrorIDFunctionBlock". As soon as an error
occurs, the drive brakes with an active travel motion with the last specified, valid deceleration
time. In the case of a fault, as soon as the drive is stationary, the S7 control must reset the
power enable and remove the fault; also see Chapters FB_ErrorPriority (Page 187) and
Application error messages and alarm messages (Page 339).
Sequence diagram
Two error cases are shown in the following sequence diagram
Section 1:
In the first section of the sequence diagram, an error at the function block is shown. The
block outputs the "boErrorFunctionBlock" signal and the corresponding error ID
"i32ErrorIDFunctionBlock". If the drive is moving, then the S7 control must stop it in a
controlled fashion. Errors can only be acknowledged if the drive is stationary. In this case,
the input "boAcknowledge" must be set for a short time using a positive edge. An error that is
present is acknowledged, the output "boErrorFunctionBlock" and the error number
"i32ErrorIDFunctionBlock" are reset.
Section 2:
In the second section of the sequence diagram, an error at the technology object is shown.
The output "boErrorTechnologyObject" must be active and the associated error number
"i32ErrorIDTechnologyObject" is output. If the drive is moving, it is stopped in a controlled
fashion. The "S7" control should then reset the power enable. Errors can only be
acknowledged if the drive is stationary. In this case, the input "boAcknowledge" must be set
for a short time using a positive edge. An error that is present is acknowledged, the output
"boErrorFunctionBlock" and the error number "i32ErrorIDTechnologyObject" are reset.
Basic Technology
270 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 271
Crane function blocks
5.3 Crane FB library
5.3.10 FB_TractionControl
Task
The FB_TractionControl function block is used to read the current velocity of the motor
encoder or that of the external encoder from the master/slave technology object by means of
secure access; this information is then made available to the DCC_TractionControl function
block.
Connections
Basic Technology
272 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Error messages
If an error occurs, output "boError" is set and an error number is returned at output
"i32ErrorID" as for the other blocks; refer to Application error messages and alarm messages
(Page 339).
5.3.11 FB_ReferenceMode
Task
The function block FB_ReferenceMode is used for flying homing and equalizing an offset
between two drives that operate in a synchronous coupling (position or speed synchronism).
To home the axis, the digital inputs from this block must be connected to the signal source,
e.g. the TM31. If one of the digital inputs of X520 or X530 (DI0 to DI7) on the TM31 is
activated, for example by means of a BERO, then the corresponding axis is homed to the
value that was stored for the relevant digital input. The positive edge of the BERO signal
triggers homing.
On the other hand, for rail-bound drives such as gantry and trolley, in some instances wheels
may slip, which will mean the crane no longer runs parallel to the rails. The function block
FB_ReferenceMode also offers the option of equalizing this offset between the master (e.g.
trolley 1) and the slave (e.g. trolley 2).
Basic Technology
Operating Instructions, 06/2012 273
Crane function blocks
5.3 Crane FB library
Connections
Basic Technology
274 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Basic Technology
Operating Instructions, 06/2012 275
Crane function blocks
5.3 Crane FB library
Basic Technology
276 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Functionality
The block has eight digital inputs, four for the master and four for the slave, and the
matching (eight) inputs for the position values. If a slave drive has not been created, then the
eight inputs are automatically available for the master drive.
The block must be called in the IPO synchronous task.
Input r64additionalTimeComponent can be used to apply additional run times relevant to the
position correction. The interpolator cycle clock (IPO) in the SIMOTION system is
automatically included in the position correction and need not be added to the value applied
via r64additionalTimeComponent.
Compensatory control is activated in synchronous operation by means of a high signal level
at "boEnableSuperimpose" and is deactivated with a low signal level. There are two options
for compensating for an offset between the drives, which can be selected at the input
"boContCompCtrl":
Basic Technology
Operating Instructions, 06/2012 277
Crane function blocks
5.3 Crane FB library
The master now travels more slowly and allows the slave drive to catch up. The flying
change is realized automatically, without requiring any external intervention. As a
consequence, the crane always travels with the maximum velocity and the master now only
brakes, if the slave cannot catch up to it. However, if "boDriveMasterSuperimpose" = FALSE,
the slave cannot compensate the offset if it travels behind the master at the maximum
velocity. The slave can only move faster in order to compensate an offset in the
acceleration/deceleration phase - or if the crane is not traveling at the maximum velocity.
However, if the slave is leading, using the supplementary velocity, it can travel slower at any
time so that the master can catch up with the slave.
General
The supplementary velocity for the master can be set at the "r64VelocityFactor_Master" input
and for the slave at the "r64VelocityFactor_Slave" input. Compensatory motion can be used
in the auto mode, manual mode and speed controlled mode.
In the SPEED_CONTROLLED operating mode compensation is achieved using path control.
The "r64kpchangeoverpoint" gain factor should be set only for this mode during the
commissioning. The "r64kpchangeoverpoint" calculates the instant that deceleration is
started. If the value is set too low, deceleration is initiated too early and the deceleration
phase takes a lot of time. However, the target is not overshot. If the value is set too high,
deceleration is initiated too late and the deceleration ramp is extremely steep. The motor
cannot follow this ramp and overshoots the target position; further, under certain
circumstances it can also oscillate around the target point.
"r64kpchangeoverpoint" must therefore be increased until the deceleration of the
supplementary velocity is approximately the same magnitude or somewhat lower than the
acceleration of the supplementary velocity. This means that the supplementary velocity must
have an approximate trapezoidal characteristic.
Basic Technology
278 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Chapter Setting the closing velocity (Page 458) provides a more detailed explanation of
"r64kpchangeoverpoint".
Note
If "r64kpchangeoverpoint" is selected to be too high, then the drive overshoots the target
position; this is because the calculated deceleration is higher than the deceleration of the
drive that is actually possible.
Note
During acceleration, the slave can always travel faster than the master. This is because the
final velocity has still not been reached. If the slave must accelerate/travel faster in order to
compensate the offset, then it will do this up to the maximum velocity. Shortly before the
maximum velocity is reached, the velocity of the master is reduced and the slave continues
to travel normally (with maximum velocity) if "boDriveMasterSuperimpose" is activated. This
means that the supplementary velocity is transferred to the master - so that it travels slower -
before the slave reaches its maximum velocity.
Depending on the internal calculation, either both compensatory velocities are changed
together, or the slave waits until the master has reached its target velocity and only then is
the slave compensatory velocity adapted. This behavior is normal and does not have to be
investigated any further as the compensatory velocity isn't noticed in operation.
Note
Alarm 3260 or 3270 can only occur in closed-loop position controlled operation if, after
updating the position, the new offset is greater than that permitted for the synchronous
coupling. As soon as the slave drive comes to a standstill, the synchronous coupling is
automatically withdrawn and cannot be re-established (recoupled) until the offset is less than
the maximum permitted value (r64toleranceMasterSlavePosition). This means that
"r64toleranceMasterSlavePosition" must be set to the maximum possible offset. This
variable is in the FB_OperationMode and only has to be set for the slave drive.
Note
The version with "boContCompCtrl" = FALSE is the preferred version for the compensatory
control, as only one compensatory motion takes place if both BEROs (from the master and
slave) have feedback signals. As a consequence, before compensation it is ensured that
both positions have been updated. For the version with "boContCompCtrl" = TRUE,
compensatory motion always takes place, even if only one of the drives has a signal from the
BERO. The position from the other drive could also have a deviation, and under certain
circumstances, the offset could even be higher. As a consequence, this version should only
be selected, if the positions are additionally monitored using external encoders (wheel-
driven).
Note
Although flying homing can always be used, the compensatory control should only be used if
at both sides (master and slave sides) the positions are also updated from a BERO
momentary-contact switch / switch or corrected from a wheel-driven encoder.
Basic Technology
Operating Instructions, 06/2012 279
Crane function blocks
5.3 Crane FB library
Error messages
If an error occurs, output "boError" is set and an error number is returned at output
"i32ErrorID" as for the other blocks; refer to Application error messages and alarm messages
(Page 339).
5.3.12 FB_Cornering
Task
The function block FB_Cornering is used to perform a cornering movement during speed-
controlled operation. There follows a description of the function of a cornering movement,
using a ship to shore crane (STS) as an example.
In most cases, the wall of the quay at a shipping pier is straight and the crane rails run
parallel with it, which means the crane can be operated in a standard manner. But if a
section of the rails is not laid straight and follows a curved path, the crane's drives have to
follow this curve too. To make this work, either the wheel on the outside of the curve has to
be driven faster, or that on the inside of the curve slower, than the other wheel. Below, the
cornering movement is achieved by reducing the velocity of the wheel on the inside of the
curve. The factor to reduce the wheel on the inside of the curve is determined by the ratio of
the length of the rail on the outside of the curve to that of the rail on the inside of the curve.
Alternatively, the ratio of the rail curve radii can also be used. The cornering movement is
started by means of a sensor (BERO) at each end of the evenly curved section of track.
Note
Cornering is implemented in the standard "STS Crane" application; refer to STS crane (ship-
to-shore) (Page 498).
When commissioning, the "boEnableCornering" input should be used to define as to whether
the block should be active or not.
Basic Technology
280 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
Note
In a standard case, it is assumed that the longer rail of the curved section of track is on the
side nearest to the water, and that the curve radius is constant. Furthermore, the MASTER
must be on the side nearest to the water (outer edge of the curve) and the SLAVE on the
side nearest to the land (inner edge of the curve).
If these conditions are not met, i.e. the SLAVE is on the outer edge of the curve and the
MASTER on the inner edge, bit "boMasterAxisInside" must be set in order for the velocity
ratio to be calculated correctly.
NOTICE
Block FB_Cornering must be used properly to ensure that, when a cornering movement is
required, the inside wheels turn slower than the outside wheels in accordance with the
curve radius; if corresponding settings are not made, the gantry may tilt or even derail.
Connections
Basic Technology
Operating Instructions, 06/2012 281
Crane function blocks
5.3 Crane FB library
Functionality
Inputs "boOperationModeSPEED_CONTROLLEDActive",
"boOperationModeSENSORLESSEMERGENCYActive", and
"boSynchronousOperationActive" must be connected with the outputs of the corresponding
FB_OperationMode.
The block must be called in the IPO synchronous task.
Basic Technology
282 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
If the block is deactivated, the technology objects' override values for velocity and
acceleration do not change. The following conditions always apply for cornering movements:
● Sensors (boStartCornering_Neg_to_Pos_First and boStartCornering_Pos_to_Neg_First)
have to be installed before the curve and after the curve to trigger deceleration to
cornering velocity.
● Once there are no more sensors, after the "r64DistanceSensorCurve" distance has been
completed, cornering is started by means of additional deceleration of the inside wheels.
● If appropriate sensors have been installed at the start and the end of the curve, these will
ensure that cornering starts once the brakes have been applied. However, the
"r64DistanceSensorCurve" parameter must be set correctly if the brakes are to be applied
correctly.
● The Motor Modules for the right and left drives must work separately from one another,
i.e. the drives must not be cross-operated.
● The difference between the lengths of the two rails must be known.
● The operating mode must be speed-controlled, i.e. SPEED_CONTROLLED or
SENSORLESSEMERGENCY - and the drives must run in synchronous operation.
● If the cornering movement is triggered by the sensor, the velocity and the maximum
accelerations of the crane will be reduced to a percentage (r64VelocityLimitationFactor)
of the nominal velocity in order to prevent derailing.
● The cornering movement is achieved by reducing the velocity of the wheel on the inside
of the curve. The rate of reduction depends on the difference between the lengths of the
rails.
● Cornering ends when the crane passes a sensor. This can be one of the inside or outside
sensors. The additional deceleration of the inside wheels is also lifted at this point.
● Next, the reduction of the travel speed applied to all drives is also lifted.
● If the crane is situated on a continuous curve rail with constant radius, the block can be
set to continuous cornering via the "boContinuousCurve" input. In this case, the
"boStartCornering_…" inputs become irrelevant.
If the crane enters the curve in an incorrect operating mode (position-controlled and positive
edge at the corresponding sensor), an error message is output.
During the cornering movement the block monitors the velocity of the gantry and outputs an
error message if the maximum permissible curve velocity is exceeded. The dynamic
responses are also monitored during cornering.
Note
When cornering is active, the offset compensatory controller for synchronous operation,
which is located in FB_ReferenceMode, has to be deactivated.
Basic Technology
Operating Instructions, 06/2012 283
Crane function blocks
5.3 Crane FB library
The torque compensatory controller is activated using the current compensatory controller
block DCC_CurrentEqualControl from the Crane_DCC_Library. The block is integrated in the
DCC chart of the slave drive and must be connected as described below. In the following
example, Gantry 2 is selected as the slave drive.
● "rCurrentHoldingGear" is connected with "Gantry_1_Setpoint_Current_for_DCC"
● "rCurrentClosingGear" is connected with "Gantry_2_Setpoint_Current_for_DCC"
● "rCurrentNominal" is connected with "Gantry_2_NominalCurrent"
● "rMaximumVelocity" is connected with "Gantry_2_MaxVelocity"
● "rOutVelocitySetpoint" is connected with "Gantry_2_AdditionalVelocitySetpoint"
● The output variable of DCC chart "Gantry_2_AdditionalVelocitySetpoint" must be
connected with input "r64AdditionalSpeedSetpoint" of FB_TelegramSimotionToSinamics
by means of the REAL_to_LREAL() function.
The adjustable parameters for the current compensatory controller being used must be
adapted to the conditions of the actual cornering movement in question.
If the torque has to be distributed unevenly, the "orange-peel bucket" operating mode of
block DCC_CurrentEqualControl can be used to fine-tune the current compensatory
controller.
Note
For more detailed information on settings for the current compensatory controller, refer to the
section titled DCC_CurrentEqualControl (Page 95).
Error messages
If an error occurs, output "boError" is set and an error number is issued at output
"i32ErrorID"; refer to the section titled Application error messages and alarm messages
(Page 339).
Basic Technology
284 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
5.3.13 FB_SynchronizeRTC
Task
For error diagnostics, many applications require a consistent setting of the time of day in
SIMOTION and SINAMICS by the SIMATIC S7 controller. If SIMOTION is de-energized over
a longer time period, SIMOTION and SINAMICS lose their set times. The higher-level PLC
controller usually has a better emergency power supply. To permit consistent timestamps in
the system, the time of day from the higher-level PLC controller should be checked and, if
necessary, reset.
The "FB_SynchronizeRTC" function block in SIMOTION processes the higher-level PLC
controller request. The function block contains specifications of the higher-level PLC
controller (date, time, control word for set time). The date and time are always sent by the
higher-level PLC controller. A control word in the user-engineering area is used to set the
time of day in SIMOTION. The control word initiates the setting of the time. After the setting
command, the current time in the SIMOTION is fetched automatically and passed to the
higher-level PLC controller. The "Set time" function is executed in the user-engineering area
of the communication between the SIMATIC S7 higher-level PLC controller and SIMOTION.
Functionality
Basic Technology
Operating Instructions, 06/2012 285
Crane function blocks
5.3 Crane FB library
A positive edge at "boRTCSetForce" transfers the appropriate time and date from the I/O
container. The date and time are then fetched automatically. These values are sent to the
SIMATIC. The comparison function implemented in FC1740 ensures that the timestamp
between SIMATIC and SIMOTION is identical except for the propagation-delay difference.
The timestamp has been set to 1 second and must not be changed because the bus runtime
and execution time of the OB1 or FC1740 must be considered.
Connections
5.3.14 FB_AutoSettingFW
Task
This FB block simplifies the commissioning of the two DCC_LoadDependFieldweak_1
(LDFW) and DCC_ContLoadMeasurement_1 (CLM) DCC blocks. The use of the FB block is
optional. The detailed use is described in Chapters Field weakening (LDFW) (Page 414) and
Continuous load measurement (CLM) (Page 434).
When this block is used, the required physical quantities of the system (such as the friction
and acceleration compensation) are determined automatically. They must then be
transferred to the associated LDFW and/or CLM inputs.
Functions
When this block is used, the rope can be rolled up and the container spreader / grab fully
mounted. No measurements need to be performed beforehand.
Basic Technology
286 Operating Instructions, 06/2012
Crane function blocks
5.3 Crane FB library
The commissioning is performed in two steps. In the first step, test runs are performed
without load but with container spreader / grab. These are pure test runs that the
commissioning engineer must continue to perform until the function block completes the
measurement successfully.
In the second step, test runs are performed with the rated load. Also in this case, the
commissioning engineer must continue to perform the test runs until the function block
completes the measurement successful.
Finally, the values determined at the output must be sent by the commissioning engineer as
input values to the LDFW and/or CLM.
If a value for r64minLoad and r64maxLoad is already entered at the input, the parameters for
the curve calculation in the LDFW block are also determined at the output (
"r64X1ParameterLoad" to "r64X6ParameterLoad" or "r64Y1ParameterVelocity" to
"r64Y6ParameterVelocity"). They must also be transferred to the LDFW.
"R64MinLoad" and "r64MaxLoad" can be specified as percentage or physical unit, such as
kilograms or tons, depending on how "rLoadNormFactor" has been set for the LDFW.
Basic Technology
Operating Instructions, 06/2012 287
Crane function blocks
5.3 Crane FB library
Basic Technology
288 Operating Instructions, 06/2012
Crane function blocks
5.4 Setup and version update for crane libraries
Error messages
If an error occurs, output "boErrorFunctionBlock" is set and an error number is issued at
output "i32ErrorIDFunctionBlock"; refer to Chapter Application error messages and alarm
messages (Page 339).
Basic Technology
Operating Instructions, 06/2012 289
Crane function blocks
5.4 Setup and version update for crane libraries
Basic Technology
290 Operating Instructions, 06/2012
Crane function blocks
5.4 Setup and version update for crane libraries
2. You can now install the new Crane_DCC_Library by running the setup from the CD.
3. Open your project and delete the "Crane_DCC_Library" from the Libraries folder, if it is
still there.
4. Right-click to select "D435" and open the settings for "Select Technology Packages".
Select the following technology packages:
– DCBADM(V4.3)
– TPdcblib_SIMOTION_4_3
– TPcrane_dcc_library_SIMOTION_4_1_5 (V30.XX)
– CAM_EXT (V4.3)
5. Click "Update" and then "OK" (to close the window).
6. Open a DCC chart (e.g. Gantd_1) then select Options → Block Types and delete all
imported libraries from the chart by clicking the "<<" button. Then import into the DCC
plan all libraries installed in SCOUT by clicking the ">>" button.
Run the save and compile operation to complete the update of the Crane_DCC_Library. All
of the functions and features of the Crane_DCC_Library are now available for you to use.
Basic Technology
Operating Instructions, 06/2012 291
Crane function blocks
5.4 Setup and version update for crane libraries
Basic Technology
292 Operating Instructions, 06/2012
Communication 6
6.1 General overview
The communication between the higher-level SIMATIC S7 controller and the drive-related
SIMOTION D435-2 DP/PN controller is established via PROFIBUS DP / PROFINET RT (up
to max. 16 PZD for each drive). With PROFIBUS DP, up to 244 bytes can be transferred in
each direction and 16 PZD per drive allow up to seven drives to be implemented. With
PROFINET RT, up to 1400 bytes can be transferred in each direction and with 16 PZD per
drive, all of the drives required for a crane plus additional data for Advanced Technology can
be implemented. The SINAMICS Control Unit drive is integrated in the drive-based
SIMOTION D. Communication between both (SIMOTION and SINAMICS) works in the same
way as with PROFIBUS DP, but with Motion Control expansion up to a maximum of 32 PZD
per drive (according to the PROFIdrive profile for drive technology, refer to Ref. [1]).
SIMOTION D435-2 DP/PN has three PROFIBUS DP interfaces (two DP interfaces and one
DP Integrated interface). The communication for PROFIBUS operation between SIMATIC
and SIMOTION D435-2 DP/PN for Basic Technology is configured on DP 1. Communication
between SIMOTION and SINAMICS is permanently configured on integrated DP. In
PROFIBUS operation, the DP 2 interface is reserved for communication between SIMATIC
and SIMOTION D435-2 DP/PN involving sway control or other options, refer to Ref. [12].
SIMOTION D435-2 DP/PN has two PROFINET interfaces (an integrated PN interface with
three ports and an interface with the CBE20-2 options board) and assumes the role of a
PROFINET I/O controller. The communication between SIMATIC and SIMOTION D435-2
DP/PN for Basic Technology and Advanced Technology is configured at port 1 for
PROFINET RT operation.
Note
The definition of the telegram for Advanced Technology is not part of this documentation.
Basic Technology
Operating Instructions, 06/2012 293
Communication
6.1 General overview
Task distribution
The following list provides an overview of task distribution between SIMATIC S7, SIMOTION,
and SINAMICS.
SIMATIC S7:
● Overview of the crane
● I/O signal processing
● Infeed control
● Safety-related monitoring
● Setpoint and control commands for main drives
● Setpoint and control commands for auxiliary drives
● Brake control (optional)
SIMOTION:
● Crane technology in DCC
● Setpoint generator, position control, synchronous operation, and communication with the
drives in the TO
● Communication with SIMATIC and SINAMICS in MCC
● Sequence control (monitoring, use of Operation Mode, troubleshooting, etc.) in MCC
● Additional crane-specific functions in MCC, such as cornering movement, brake test,
flying homing, offset mode, auto-setting …
● The use of a Web-based tool (WebStart) for commissioning and diagnostics is possible
as of version Basic Technology V3.0.
SINAMICS:
● Speed control
● Current control
● Monitoring, if required
● Brake control (optional)
Prerequisites
In order to establish disturbance-free communication between these three parties, the
reference data in SIMATIC, SIMOTION and SINAMICS modules must be identically
configured. The reference data must be normalized to the maximum data.
The following parameters are involved in the modules:
Basic Technology
294 Operating Instructions, 06/2012
Communication
6.1 General overview
SIMATIC:
● Reference speed
● Reference voltage
● Reference current
● Reference torque
● Reference power
SIMOTION:
● TypeOfAxis.SetPointDriverInfo.DriveData.maxSpeed: Drive speed
● TypeOfAxis.MaxVelocity.maximum: Maximum permissible velocity (refer to Chapter
SIMOTION technology object (Page 407))
● MCC Interface "axis"_nominalVelocity, _nominalCurrent, _nominalVoltage,
_nominalTorque, _nominalPower
SINAMICS:
● p2000 = reference speed reference frequency ( ≈ p1082 = maximum speed)
● p2001 = reference voltage
● p2002 = reference current
● p2003 = reference torque
● r2004 = reference power
NOTICE
Note
A script is created to fetch all reference values from the SINAMICS and enter in SIMOTION;
also refer to Chapter General (Page 361), "Script files" section
The definition for the relationship between the percentage value and hexadecimal value is
shown in the following table and in the following diagram.
If only positive values are used in the process data, then the value range is doubled; this
means that the range starts at 0 and can be increased up to 65,535 (UINT, 0 to FFFF).
Basic Technology
Operating Instructions, 06/2012 295
Communication
6.1 General overview
1 word: Connector
Percentage value Hexadecimal value
0 16#0000
100 16#4000
199,994 16#7FFF
- 200 16#8000
- 100 16#C000
0,006 16#1
&
Basic Technology
296 Operating Instructions, 06/2012
Communication
6.2 Communication, SIMATIC – SIMOTION D
PROFIBUS DP
Communication between SIMATIC and SIMOTION D is established via PROFIBUS DP. A
connection from the DP interface of the S7 module to the SIMOTION DP1 interface is
established at the SIMATIC. A PROFIBUS data transfer rate of 6 Mbit/s is set as default
value. The S7 module is master and SIMOTION is an intelligent slave.
The DP1 segment is the default D-MASTER in the SIMOTION hardware configuration.
The configuration of the connection for PROFINET RT is similar to that for PROFIBUS DP
and is described in the following documentation, refer to Ref. 14. Additional information can
be taken from Ref. 15 and 16.
The PROFIBUS address of the DP1 line of SIMOTION should be defined as 44.
Basic Technology
Operating Instructions, 06/2012 297
Communication
6.2 Communication, SIMATIC – SIMOTION D
The DP1 line must now be configured as intelligent DP-SLAVE. This is done under
Properties – DP1 on the tab Operating Mode. The checkbox for Programming, status/modify
or other PG functions and unconfigures communication connections possible MUST be set.
Basic Technology
298 Operating Instructions, 06/2012
Communication
6.2 Communication, SIMATIC – SIMOTION D
After the DP1 line has been configured as an intelligent SLAVE, the hardware configuration
looks like that shown below.
Note
The DP1 line can no longer be seen in the hardware configuration after this has been
configured as intelligent slave.
Basic Technology
Operating Instructions, 06/2012 299
Communication
6.2 Communication, SIMATIC – SIMOTION D
Figure 6-6 Overview of the hardware configuration after setup of an intelligent DP slave
The DP segment is set per default in the hardware configuration of SIMATIC as PROFIBUS
with a data transfer rate of 6 Mbit/s. If the 6 Mbit/s cannot be attained, a different data
transfer rate can be set. Then, the SIMOTION is inserted from the catalog under "already
configured stations":
Basic Technology
300 Operating Instructions, 06/2012
Communication
6.2 Communication, SIMATIC – SIMOTION D
When inserting the already configured SIMOTION station, a coupling is listed, refer to the
diagram below. Click the Connect button so that the coupling is established between
SIMATIC and SIMOTION.
Note
Communication between SIMATIC and SIMOTION can only be configured after the coupling
has been established.
Basic Technology
Operating Instructions, 06/2012 301
Communication
6.2 Communication, SIMATIC – SIMOTION D
After the coupling has been established, data transfer between SIMATIC and SIMOTION
must be configured. 16 process data items must be configured for every node (TO). The
address areas for communication between SIMATIC and SIMOTION are defined as follows
in the document "CraneSoft-7".
For every node, these addresses must be generated under DP slave properties under the
tab Configuration.
Basic Technology
302 Operating Instructions, 06/2012
Communication
6.2 Communication, SIMATIC – SIMOTION D
The send and receive direction must be configured for every node. Hoist 1 with the starting
address 1184 is configured once from the master as output and once from the slave as
input.
The following settings in the DP slave properties window are very important:
– Length: 16
– Units: Word
– Consistency: All
This guarantees that communication between SIMATIC and SIMOTION is consistent when
sending and receiving with 16 words.
Basic Technology
Operating Instructions, 06/2012 303
Communication
6.2 Communication, SIMATIC – SIMOTION D
After all of the devices of the basic technology have been configured, the hardware
configuration must be compiled in the SIMATIC and SIMOTION.
Basic Technology
304 Operating Instructions, 06/2012
Communication
6.2 Communication, SIMATIC – SIMOTION D
The complete SIMATIC and SIMOTION hardware is displayed in the "NETPRO" screen. The
PG/PC should be connected at the DP1 line. An active connection must be configured at the
PG/PC; otherwise routing to SINAMICS_Integrated and the CX32 module is not possible.
The complete communication with the I/O or with the master via the I/O container is realized
in SIMOTION. An array with 16 process data items must be created for receiving and
sending each function module participating in communication.
The arrays must be integrated into the corresponding function modules as a user program
with the function blocks "FB_TelegramS7ToSimotion" and "FB_TelegramSimotionToS7".
Basic Technology
Operating Instructions, 06/2012 305
Communication
6.2 Communication, SIMATIC – SIMOTION D
Figure 6-14 Overview of the I/O Container in SCOUT (communication between SIMATIC and SIMOTION)
PROFINET RT
The configuration of the PROFINET RT connection is similar to that for PROFIBUS DP and
is described in the following documentation, refer to Ref. 14. Additional information can be
taken from Ref. 15 and 16.
A configuring example is provided on CD, refer to Chapter STS tandem crane (ship-to-shore
with four hoists) (Page 517).
Basic Technology
306 Operating Instructions, 06/2012
Communication
6.2 Communication, SIMATIC – SIMOTION D
Basic Technology
Operating Instructions, 06/2012 307
Communication
6.2 Communication, SIMATIC – SIMOTION D
Note
Monitoring the safety areas:
In the SIMOCRANE Basic Technology, SIMOTION is not used to monitor safety areas. This
means that the SIMATIC S7 monitors the safety areas (e.g. operating limit switch,
emergency limit switch); it then handles the following derived measures (e.g. disconnecting
the power) and sends the safety-related positions to the SIMOTION.
Note
Monitoring the infeed
SIMATIC S7 controls (activation/deactivation) the infeed (ALM), refer to Ref. 6.
Note
Ramp-up and ramp-down times:
Minimum values for the ramp-up and ramp-down times are configured in the SIMOTION. If
the S7 transfers a shorter ramp-up or ramp-down time to the SIMOTION, then the minimum
value from SIMOTION is used.
The effective ramp-up and ramp-down times are increased when using initial and final
rounding-off (smoothing). The following formula for the ramp-up and ramp-down times
(equivalent to Masterdrives Vector Control) is obtained:
teffective = tramp-up time + (tinitial rounding-off+ tfinal rounding-off)
Note
Initial jerk time and final jerk time apply to acceleration and deceleration.
Basic Technology
308 Operating Instructions, 06/2012
Communication
6.2 Communication, SIMATIC – SIMOTION D
Basic Technology
Operating Instructions, 06/2012 309
Communication
6.2 Communication, SIMATIC – SIMOTION D
Note
For more information on STW2 bits 0/1/2/3/4/5/11/12, refer to Chapter Ship-to-shore tandem
crane (STS tandem) (Page 470).
Table 6- 5 Application_control_word_1_S7
Basic Technology
310 Operating Instructions, 06/2012
Communication
6.2 Communication, SIMATIC – SIMOTION D
Basic Technology
Operating Instructions, 06/2012 311
Communication
6.2 Communication, SIMATIC – SIMOTION D
Mode selection
Signal name 10 11 12 13 14 15
AUTOMATIC operating mode 1 0 0 0 0 0
MANUAL operating mode 0 1 0 0 0 0
EASY_POSITIONING operating mode 0 0 1 0 0 0
SPEED_CONTROLLED operating mode (= JOGGING) 0 0 0 1 0 0
SENSORLESS EMERGENCY operating mode 0 0 0 0 1 0
SWAYCONTROL operating mode 0 0 0 0 0 1
Basic Technology
312 Operating Instructions, 06/2012
Communication
6.2 Communication, SIMATIC – SIMOTION D
NOTICE
• It is only possible to switch over an operating mode if the plausibility check was
successfully completed, the drive is not in closed-loop control and the drive is stationary
(zero speed).
• When processing an AUTOMATIC request, the crane driver can interrupt the active
request by operating the master switch (safety reasons!) and can continue to work with
the master switch.
Table 6- 6 Application_control_word_2_S7
Basic Technology
Operating Instructions, 06/2012 313
Communication
6.2 Communication, SIMATIC – SIMOTION D
Basic Technology
314 Operating Instructions, 06/2012
Communication
6.2 Communication, SIMATIC – SIMOTION D
Table 6- 7 SIMOTION → S7
Basic Technology
Operating Instructions, 06/2012 315
Communication
6.2 Communication, SIMATIC – SIMOTION D
Basic Technology
316 Operating Instructions, 06/2012
Communication
6.2 Communication, SIMATIC – SIMOTION D
Table 6- 8 Status_word_1_S7
Table 6- 9 Status_word_2_S7
Basic Technology
Operating Instructions, 06/2012 317
Communication
6.2 Communication, SIMATIC – SIMOTION D
Table 6- 10 Application_status_word_1_S7
Basic Technology
318 Operating Instructions, 06/2012
Communication
6.2 Communication, SIMATIC – SIMOTION D
Table 6- 11 Application_status_word_2_S7
Basic Technology
Operating Instructions, 06/2012 319
Communication
6.2 Communication, SIMATIC – SIMOTION D
6.2.3 Short description of the data blocks and function blocks in SIMATIC for
communication
The blocks described below are used to control communication between SIMATIC and
SIMOTION D.
Basic Technology
320 Operating Instructions, 06/2012
Communication
6.2 Communication, SIMATIC – SIMOTION D
Basic Technology
Operating Instructions, 06/2012 321
Communication
6.2 Communication, SIMATIC – SIMOTION D
Basic Technology
322 Operating Instructions, 06/2012
Communication
6.3 Communication, SIMOTION D – SINAMICS (internal SIMOTION D communication)
Note
If parameter p0922 has already been set to a free telegram (999) during configuration, it
needs to be set to standard telegram 4 (4) before the script for communication
interconnections is run (see below), and then reset to a free telegram (999) again afterwards.
This ensures that the correct values are assigned to the data words at the send and receive
sides of the telegram.
The address ranges for communications between SIMOTION and SINAMICS should be
configured as follows. These addresses can be adapted in the hardware configuration of
SIMOTION.
Basic Technology
Operating Instructions, 06/2012 323
Communication
6.3 Communication, SIMOTION D – SINAMICS (internal SIMOTION D communication)
The following additional information is transferred in the supplementary process data words:
1. Extension of the telegram SIMOTION → SINAMICS
Basic Technology
324 Operating Instructions, 06/2012
Communication
6.3 Communication, SIMOTION D – SINAMICS (internal SIMOTION D communication)
Every standard application makes available scripts that can be used to automatically execute
all the communication interconnections in SINAMICS. The particular script for the drive is
located in the drive object under the script folder.
Note
For communication, see General (Page 361), "Script files" section.
Basic Technology
Operating Instructions, 06/2012 325
Communication
6.3 Communication, SIMOTION D – SINAMICS (internal SIMOTION D communication)
Table 6- 13 Control_word_1_SINAMICS
Basic Technology
326 Operating Instructions, 06/2012
Communication
6.3 Communication, SIMOTION D – SINAMICS (internal SIMOTION D communication)
Note
The control in SIMOTION for bits 0 to 6 in control word 1 must be implemented using the
command _enableAxis. Bits 8, 9, 11 to 15 must be controlled using the command
_setaxisstw.
Table 6- 14 Control_word_2_SINAMICS
Note
The control in SIMOTION for bits 0 to 11 in control word 2 must be implemented using the
command _setaxisstw.
Basic Technology
Operating Instructions, 06/2012 327
Communication
6.3 Communication, SIMOTION D – SINAMICS (internal SIMOTION D communication)
Basic Technology
328 Operating Instructions, 06/2012
Communication
6.3 Communication, SIMOTION D – SINAMICS (internal SIMOTION D communication)
Table 6- 17 Status_word_1_SINAMICS
Basic Technology
Operating Instructions, 06/2012 329
Communication
6.3 Communication, SIMOTION D – SINAMICS (internal SIMOTION D communication)
Basic Technology
330 Operating Instructions, 06/2012
Communication
6.3 Communication, SIMOTION D – SINAMICS (internal SIMOTION D communication)
Table 6- 18 Status_word_2_SINAMICS
Basic Technology
Operating Instructions, 06/2012 331
Communication
6.3 Communication, SIMOTION D – SINAMICS (internal SIMOTION D communication)
Basic Technology
332 Operating Instructions, 06/2012
Alarm, error and system messages 7
The monitoring functions for following error, positioning, and standstill are handled by the
technology object in SIMOTION. Overspeed can be monitored by the drive object in
SINAMICS (except for Hoist axes). A list of the messages can be found in Section
Application error messages and alarm messages (Page 339).
The individual monitoring functions are described below; see also Ref. [2], Chapter 2.10 for
more information. Information on the SIMOTION technology object alarms can be found in
Ref. [3]. Information on the SINAMICS drive object alarms can be found in Ref. [4].
$FWXDWRU
%DODQFLQJ + + 0DQLSXODWHGYDULDEOH
,32
&RQWUROOHU
ILOWHU PRQLWRULQJVSHHGWRUTXH
–
$GDSWDWLRQ
6HQVRU
(QFRGHUIUHTXHQF\
– DFFHOHUDWLRQ
0RQLWRULQJIXQFWLRQV
Basic Technology
Operating Instructions, 06/2012 333
Alarm, error and system messages
7.2 Dynamic monitoring of following errors
PRWLRQ6WDWH'DWDFRPPDQG9HORFLW\
VHUYR0RQLWRULQJG\QDPLF)ROORZLQJ:DUQLQJ
VHUYR'DWDIROORZLQJ(UURU VHUYR0RQLWRULQJG\QDPLF)ROORZLQJ(UURU
0RQLWRULQJ
RIXSSHU
ORZHUOLPLWV
8SSHUDQGORZHUOLPLWVDUHGHSHQGHQWRQWKHFXUUHQWYHORFLW\
Basic Technology
334 Operating Instructions, 06/2012
Alarm, error and system messages
7.3 Position and standstill monitoring
Position monitoring
The behavior of the actual position at the end of the setpoint interpolation is monitored.
This position-related monitoring does not distinguish whether the setpoint interpolation is
ended as a result of reaching the target position from the setpoint side or due to a position-
controlled stop during the motion performed by the interpolator (e.g., with a _stop()
command). This monitoring is called position-related monitoring, although the position does
not have to be the same as the target position. The tolerance window specified for this
monitoring is called the positioning window.
SRVLWLRQLQJ6WDWHDFWXDO3RVLWLRQ
Sequence:
Basic Technology
Operating Instructions, 06/2012 335
Alarm, error and system messages
7.3 Position and standstill monitoring
Note
Position-related monitoring functions (e.g. following error monitoring or position
monitoring) are disabled with the command to reduce the torque.
Standstill monitoring
Standstill monitoring is defined by the standstill window and the tolerance time during which
the standstill window may be exited without alarm 50107 being triggered.
The standstill window is specified as a deviation in
typeOfAxis.standStillMonitoring.stillStandTolerance, meaning that half of the window width is
set.
The status of the standstill monitoring is displayed in servoMonitoring.stillstand. Standstill
monitoring is not available on the speed-controlled axis.
Basic Technology
336 Operating Instructions, 06/2012
Alarm, error and system messages
7.4 Standstill signal
Note
Below this velocity, the motion is stopped in response to _stopEmergency() at zero setpoint
without a preconfigured deceleration ramp.
$VWDQGVWLOOVLJQDOLVJHQHUDWHGZKHQWKHDFWXDOYHORFLW\LVOHVVWKDQWKHYHORFLW\VHWIRU
WKHVWDQGVWLOOVLJQDOGXULQJFRQILJXUDWLRQ
The standstill signal is available on the positioning axis and speed-controlled axis.
Figure 7-7 Function and adjustable parameters for the standstill signal
Basic Technology
Operating Instructions, 06/2012 337
Alarm, error and system messages
7.5 Overspeed signal from SINAMICS
Note
It is the standstill signal described here which is used in block FB_OperationMode and not
the standstill signal specified by the drive! For this reason, take particular care when you set
up the signal.
One of its functions, for example, is to ensure that switchover between operating modes
takes place only when the drive is at a standstill.
1% of the maximum velocity can be used as a guide value.
QBOLPLWQHJHIIHFWLYH QBOLPLWSRVHIIHFWLYH
U U S>@wV
)URPVHWSRLQWOLPLWLQJ
>@ S>@!
>@
QBDFWVPRRWK QBDFW!QBPD[
Q
U U
PV QBDFWVPRRWKVLJQDO Q
>@ >@
S U
>@ )PRWRURYHUVSHHG
QBDFW >@
>@
U>@ 530
>@ S>'@
6PRRWKLQJ
Positive and negative limits are derived from SINAMICS S parameter p1082 (maximum
speed). The hysteresis is set at SINAMICS S parameter p2162.
Note
The complete function diagram (8010) is available in the SINAMICS S List Manual (Ref. [4]).
Basic Technology
338 Operating Instructions, 06/2012
Alarm, error and system messages
7.6 Application error messages and alarm messages
The first entry has the highest priority, the last entry the lowest priority.
Basic Technology
Operating Instructions, 06/2012 339
Alarm, error and system messages
7.6 Application error messages and alarm messages
Basic Technology
340 Operating Instructions, 06/2012
Alarm, error and system messages
7.6 Application error messages and alarm messages
Basic Technology
Operating Instructions, 06/2012 341
Alarm, error and system messages
7.6 Application error messages and alarm messages
Basic Technology
342 Operating Instructions, 06/2012
Alarm, error and system messages
7.6 Application error messages and alarm messages
Basic Technology
Operating Instructions, 06/2012 343
Alarm, error and system messages
7.6 Application error messages and alarm messages
Basic Technology
344 Operating Instructions, 06/2012
Alarm, error and system messages
7.6 Application error messages and alarm messages
Basic Technology
Operating Instructions, 06/2012 345
Alarm, error and system messages
7.6 Application error messages and alarm messages
Basic Technology
346 Operating Instructions, 06/2012
Alarm, error and system messages
7.6 Application error messages and alarm messages
Basic Technology
Operating Instructions, 06/2012 347
Alarm, error and system messages
7.6 Application error messages and alarm messages
Basic Technology
348 Operating Instructions, 06/2012
Alarm, error and system messages
7.6 Application error messages and alarm messages
Note
If you receive a fault message that is not included in the above list, then look here:
• for SINAMICS in Ref. [4]
• for SIMOTION in Ref. [3]
Basic Technology
Operating Instructions, 06/2012 349
Alarm, error and system messages
7.7 Troubleshooting
7.7 Troubleshooting
Certain settings or actions, such as software or project updates, may lead to errors, where
the cause is not immediately obvious. To avoid and resolve problems such as these, see the
link in the following note.
Note
You can find FAQs on the subject of troubleshooting in the Internet
(http://support.automation.siemens.com/WW/view/en/10807397/130000). For other forms of
contact, such as a service request, see Preface (Page 3).
Basic Technology
350 Operating Instructions, 06/2012
Commissioning 8
8.1 Preliminary remark
CAUTION
Basic Technology
Operating Instructions, 06/2012 351
Commissioning
8.1 Preliminary remark
Prerequisites:
WARNING
The system must be in a no-voltage state when checking the subsequently described
prerequisites for commissioning
● All DRIVE-CLiQ nodes must be connected with one another precisely as was created in
the project (reference and actual topology must match).
● The commissioning engineer is responsible for ensuring that the motors are correctly
connected.
● The encoder must be correctly connected.
Basic Technology
352 Operating Instructions, 06/2012
Commissioning
8.2 SIMOCRANE WebStart
● Only connect in parallel drives of the same type and manufacturer in order to guarantee
identical drive data and symmetrical load distribution.
● Master-slave-coupled motors must have the same reference variables, i.e. p2000, p2001,
p2002, p2003 and r2004.
Basic Technology
Operating Instructions, 06/2012 353
Commissioning
8.2 SIMOCRANE WebStart
– Problem: The hardware configuration, the circuit diagrams and the topology of the
interconnections are designed according to the crane specification.
– Tool: The design of the SINAMICS drive can be performed with the SIZER
configuration tool.
2. Generation of the application software (configuration phase in the office):
– For 'ready-to-run' customers: Implementation of smaller customizations (e.g. power,
encoder types, topology) based on the standard application.
– For 'ready-to-apply' customers: Implementation of customizations (hardware, software
and communication) or in-house engineering with the existing Crane DCC/FB library.
– Tool: SCOUT
3. Commissioning (locally on the crane):
– Customization of the parameters and optimization of the control loops
– Tool: STARTER and SIMOCRANE WebStart
– SIMOTION SCOUT is required for changes to the application program.
4. Service and maintenance (locally on the crane):
– Monitoring, diagnostics and trace and, if necessary, customization of the parameters.
– Tool: SIMOCRANE WebStart
The SIMOCRANE Basic Technology with SIMOTION D controls the motion control and the
cranes technology functions for the main drives. In most cases, the following customizations
(hardware configuration, programs, DRIVE-CLiQ topology, etc.) can be performed during the
configuration phase or in steps 1 and 2 (see above). In steps 3 and 4, only changes to
parameters (system variables, parameters) and diagnostic options can be made locally.
SIMOCRANE WebStart offers sufficient functions for this purpose.
The exact procedure for the configuration and commissioning is shown in the following
figure:
Basic Technology
354 Operating Instructions, 06/2012
Commissioning
8.2 SIMOCRANE WebStart
$&UHDWH0DVWHU3URMHFW
ದ%DVLV 6WDQGDUGDSSOLFDWLRQ
ದ7RRO 6&287
ದ5HVXOW 0DVWHUSURMHFW9
%&RPPLVVLRQLQJ
ದ2EMHFW 'ULYHV
ದ7RRO 67$57(5
ದ5HVXOW H[SRUWHGGULYHGDWD
ದ2EMHFW 6,027,21
ದ7RRO :HE6WDUW
ದ5HVXOW 6,027,21FKDQJHOLVW
&8SGDWH0DVWHU3URMHFW
ದ%DVLV 0DVWHUSURMHFW
H[SRUWHGGULYHGDWD
6,027,21FKDQJHOLVW
ದ7RRO 6&287
ದ5HVXOW 0DVWHUSURMHFW9
A: Configuring phase:
A customer-specific SCOUT project is created on the basis of the standard application.
● For 'ready-to-run' customers: Implementation of smaller customizations (e.g. power,
encoder types, topology) based on the standard application.
● For 'ready-to-apply' customers: Implementation of customizations (hardware, software
and communication) or in-house engineering with the existing Crane DCC/FB library.
● SIMOTION SCOUT is required for this phase
Result: Creation of the master project V1.0 (original version)
B: Commissioning phase:
The commissioning of the drives is done with the STARTER. The data from the following
components must be checked: Motor Module, Motor and Encoders. The control loops of the
drives should then be optimized.
All changes must be saved and exported.
WebStart must be used to place the technology objects in the function module into
operation:
1. Set the velocities, encoder data, controllers, etc.
2. Parameterize the crane technology functions in the prepared screen forms.
Basic Technology
Operating Instructions, 06/2012 355
Commissioning
8.2 SIMOCRANE WebStart
Note
The following functions are not supported by WebStart:
• Program change
• Communications change
• Configuration change for DRIVE-CLiQ
• Drive commissioning
Basic Technology
356 Operating Instructions, 06/2012
Commissioning
8.2 SIMOCRANE WebStart
Basic Technology
Operating Instructions, 06/2012 357
Commissioning
8.2 SIMOCRANE WebStart
6. Place checkmarks for "Permit I/O variables: OPC-XML (load symbols into RT)" and for
"Permit global device variables: OPC-XML (load symbols into RT)".
Basic Technology
358 Operating Instructions, 06/2012
Commissioning
8.2 SIMOCRANE WebStart
Example for direct address specification (standard Internet address of the controller):
http://169.254.11.22/WEBSTART.MBS
Password protection
The access to SIMOCRANE WebStart is password-protected. With access to SIMOCRANE
WebStart, the user can browse all screen forms by clicking the "OPEN" button. A password
must be entered when you click the "LOGIN" button.
The default password "SIMOCRANE" can only be changed in the project. To do this, go to
the "xAdditional" unit in the "pBackGroundPasswordCheck" program.
Basic Technology
Operating Instructions, 06/2012 359
Commissioning
8.2 SIMOCRANE WebStart
WebStart buttons
Place the SIMOTION into operation in the sequence described below. Start at far left in the
commissioning bar.
1. "Start" button
The start page shows an overview of the project:
● Configured SIMOTION and SINAMICS axes
● Switching option
● DCC blocks for the selected axis
● Version details for SIMOTION, SINAMICS and SIMOCRANE
Online help
Each SIMOCRANE WebStart settings page has a context-sensitive help page.
The online help is called by clicking the adjacent icon.
Basic Technology
360 Operating Instructions, 06/2012
Commissioning
8.3 General
After completion of the commissioning: Download the commissioning file from the controller
and save. The commissioning file is located under the following path on the SIMOTION CF
card:
[User]\Simotion\HMI\Files\changelog.xml
It can be stored on the local hard disk of the notebook or on any other suitable storage
medium (e.g. a memory stick). This commissioning file should then be reimported into the
SIMOTION SCOUT project or archived appropriately.
The commissioning file is executed with the "SimocraneOffline" script located in the project
in the "Scripts" folder. If this is not done, the current commissioning data of the crane cannot
be reproduced, for example, should a replacement memory card need to be created.
8.3 General
The scope of delivery is described in the chapter titled System overview (Page 11). The CD
contains a number of standard applications for different crane types (see Standard
applications (Page 497)). Before the user begins configuring the system, the setup file needs
to be executed (see Setting up and updating the Crane_DCC_Library (Page 290)
It is then possible to open a suitable standard application with SIMOTION SCOUT. The
following data needs to be checked and adapted if necessary:
SINAMICS:
● Motor Module data in the drive object
● Motor and encoder data in the drive object
● Reference data in the drive object
● Execution of script files for the relevant drive object
SIMOTION:
● Mechanical data in the technology object
● Limits in the technology object
● Monitoring functions in the technology object
● Encoder data in the technology object
● Reference data in the technology object
Basic Technology
Operating Instructions, 06/2012 361
Commissioning
8.3 General
The adapted standard application must be loaded to the CompactFlash (CF) Card once all
necessary settings have been successfully adjusted. The user program can be loaded either
directly to the CF card by means of a card reader or loaded into the SIMOTION D. If the
second option is chosen, a RAM to ROM store operation must be performed afterwards to
ensure that the user program is copied to the CF card for retentive storage.
When a project is being downloaded, there is an option to initialize RETAIN and non-
RETAIN data. This selection can be made under Options → Settings → Download.
If the box next to Initialization of the non-RETAIN technology object data is checked, all
technology objects are reinitialized during the download and, as a result, all alarms are
cleared (including Power ON). No variable initialization will be performed for a download in
RUN, even if this function is active here, because values in the user program cannot be
changed during operation. If the box is not checked, only modified technology objects are
loaded to the target system and initialized during the download in SCOUT. Pending alarms
are acknowledged. If a Power ON alarm is pending on an unchanged technology object, this
causes the download to be aborted. This does not affect the source data.
Check the box Initialization of the non-RETAIN program data and the non-RETAIN global
device variables to initialize non-RETAIN program data and the non-RETAIN data of global
device variables during a download. This does not affect the technology object data.
If box Initialization of the RETAIN program data and the RETAIN global device variables is
checked, RETAIN program data and the RETAIN data of global device variables can be
initialized during a download too. This does not affect the technology object data.
However, as a consequence all of the actual positions of the various axes and the retain
variables under the global variables are reset to the initial value. As a consequence, for a
grab crane, the grab must be re-adjusted and for the other axes, it may be necessary to re-
reference them.
However, as a consequence, all of the actual positions of the various axes and the retain
variables under the global variables are reset to the initial value. Specifically, this means the
following:
Basic Technology
362 Operating Instructions, 06/2012
Commissioning
8.3 General
Communication via PROFIBUS between the S7 and SIMOTION and between SIMOTION
and SINAMICS is preconfigured in the standard projects; further information can be found in
the chapter titled Communication (Page 293).
The commissioning procedure is described below.
Before users start the commissioning procedure, they should ensure that the motor data and
encoder data in the SINAMICS drive object match those of their real system. This should be
checked in the configuration of the SINAMICS drive object (see the figure below). The users
must also ensure that the reference speed (p2000) and maximum speed (p1082) for
SINAMICS match the maximum speed (TypeOfAxis.SetPointDriveInfo.DriveData.maxSpeed)
for SIMOTION. In SINAMICS, the reference parameters p2000 to p2003 must be checked.
In SIMOTION, reference parameter TypeOfAxis.SetPointDriveInfo.DriveData must be
checked.
Basic Technology
Operating Instructions, 06/2012 363
Commissioning
8.3 General
The checkmark Tolerate the encoder failure when it is not involved in the closed-loop control
must be set for each technology object data under Encoder configuration → Settings for the
Drive in the technology object.
Basic Technology
364 Operating Instructions, 06/2012
Commissioning
8.3 General
The user must then check the settings for maximum velocity, acceleration, deceleration and
encoder data in the SIMOTION technology object. In SIMOTION, the reference data for
velocity must be checked in the configuration data of the TO Gantry_1 under
TypeOfAxis.SetPointDriverInfo.DriveData (see the section titled SINAMICS drive object
(Page 400)).
Basic Technology
Operating Instructions, 06/2012 365
Commissioning
8.3 General
Basic Technology
366 Operating Instructions, 06/2012
Commissioning
8.3 General
NOTICE
The balancing filter must be set to Mode_1 to ensure proper operation of the position
control.
Script files
The Com_Drive script file is located in the script folder of each drive. Start this script with
Accept and execute. The script file is performed and all necessary communication
connections created.
Note
The script file should be executed offline. The changes then have to be downloaded into the
control system.
Basic Technology
Operating Instructions, 06/2012 367
Commissioning
8.3 General
CAUTION
The reference values (p2000, p2001, p2002, p2003, r2004) are checked. They must be the
same for the master and slave drives and may need to be customized.
In addition, you must yourself for the slave (e.g. Gantry_2) connect the torque setpoint r79
of the master (e.g. Gantry_1) to the drive parameter p1503; the script does not perform this
change.
The current status of the script execution is shown in the output window.
Note
Before starting any travel, the torque limits should be checked in SINAMICS for boom
operation (r1526: Torque limit, upper And r1527: Torque limit, lower).
CraneAlarm
Alarms not necessary for the basic technology should be suppressed. This is done using the
script file "CraneAlarm". The script is located in the script folder under SIMOTION D435.
The script procedure for SINAMICS corresponds to the procedure for SIMOTION. The
communication script is located in the script folder under the drive object.
Basic Technology
368 Operating Instructions, 06/2012
Commissioning
8.4 Controlling the crane taking the PROFIdrive profile into account
Parameter_Transfer
Parameter_Transfer is used to match the reference data between the technology object, the
drive object and the unit-global variables. The script is executed as for CraneAlarm (right-
click to mark the script and select "Accept and execute"). The Parameter_Transfer script is
located in the script folder under SIMOTION D435.
Use this script to fetch the associated drive parameters (p2000, p2001, p2002, p2003,
r2004) and enter in the reference values of the relevant MCC source in the
X_nominalVelocity, X_nominalCurrent, X_nominalTorque, X_nominalVoltage,
X_nominalPower variables. In addition, the reference variable of the associated axis is set to
the value entered in p2000.
8.4 Controlling the crane taking the PROFIdrive profile into account
There follows an example of how to control the Active Line Module (Crane ON OFF) and
SPEED_CONTROLLED operating mode (SPEED_CONTROLLED ON OFF).
Basic Technology
Operating Instructions, 06/2012 369
Commissioning
8.4 Controlling the crane taking the PROFIdrive profile into account
8.4.3 SPEED_CONTROLLED ON
Select a motion task as follows:
● Select SPEED_CONTROLLED operating mode.
● Select OFF2 and OFF3.
The operating mode is signaled back. OFF2 and OFF3 checkback signals are output after
one program cycle. "Ready to power up" is also output. These signals switch OFF1. After
one further cycle, "Ready" is signaled.
The drive command, the pulse enable, and the speed controller enable magnetize the motor.
As soon as magnetization is complete, operation is enabled and the brake is released.
If "Brake released" is signaled back, the ramp-function generator and the setpoint can be
enabled.
A positive or negative command causes the drive motion to start after one program cycle
and a signal is sent back indicating that the axis is in motion.
Basic Technology
370 Operating Instructions, 06/2012
Commissioning
8.4 Controlling the crane taking the PROFIdrive profile into account
Basic Technology
Operating Instructions, 06/2012 371
Commissioning
8.4 Controlling the crane taking the PROFIdrive profile into account
Basic Technology
372 Operating Instructions, 06/2012
Commissioning
8.4 Controlling the crane taking the PROFIdrive profile into account
Basic Technology
Operating Instructions, 06/2012 373
Commissioning
8.5 Application examples for the S7 control
M2100.0 = On / Off1
M2100.1 = Off2
M2100.2 = Off3
M2100.3 = Pulse enable
M2100.4 = Ramp-function generator enable
M2100.6 = Setpoint enable
M2100.7 = Acknowledge fault
M2101.0 = Speed controller enable
M2101.2 = Master control by PLC
Basic Technology
374 Operating Instructions, 06/2012
Commissioning
8.5 Application examples for the S7 control
Basic Technology
Operating Instructions, 06/2012 375
Commissioning
8.5 Application examples for the S7 control
Note
• In this example, the brake control is not considered; the user must program this himself.
Another precondition is that there is no fault present.
• "Flag" is abbreviated with the letter M.
NOTICE
Basic Technology
376 Operating Instructions, 06/2012
Commissioning
8.5 Application examples for the S7 control
● The flag 2101.2 "Master control by the PLC" must be set so that the drive accepts all of
the commands from the higher-level control. A check is then made as to whether flag
2111.1 "Control requested to the PLC" is set.
● The switch-on command is received from the higher-level control. In this case, flag
2100.1 "Off2" must be set. A check is then made as to whether flag 2110.4 "Coast down
active" has been reset.
Basic Technology
Operating Instructions, 06/2012 377
Commissioning
8.5 Application examples for the S7 control
● The flag 2100.2 "Off3" must be set. A check is then made as to whether flag 2110.4
"Quick stop active" has been reset.
● The flag 2100.0 "Off1" must be set. A check is then made as to whether flag 2110.0
"Ready to switch-on" and flag 2110.1 "Ready" are set.
● The flag 2100.3 "Pulse enable" and flag 2101.0 "Speed control enable" must be
simultaneously set. A check is then made as to whether flags 2110.0 "Ready to switch-
on", 2110.1 "Ready" and 2110.2 "Enable operation" are set.
● The flag 2100.4 "Ramp-function generator enable" and flag 2100.6 "Setpoint enable"
must be simultaneously set. A setpoint can then be entered.
Basic Technology
378 Operating Instructions, 06/2012
Commissioning
8.5 Application examples for the S7 control
● The switch-on command from the higher-level control is reset. The flag 2100.6 "Setpoint
enable" must be reset. A check is then made as to whether flag 2111.2 "f or n comparison
value reached" has been reset.
● The flags 2100.3 "Pulse enable", 2100.4 "Ramp function generator enable" and 2100.8
"Speed controller enable" must be simultaneously reset. A check is then made as to
whether flags 2110.0 "Ready to switch-on" and 2110.1 "Ready" are set and whether flag
2110.2 "Enable operation" is reset.
Note
To switch-on or switch-off a drive, refer to Chapter Controlling the drive (Page 376).
NOTICE
Basic Technology
Operating Instructions, 06/2012 379
Commissioning
8.5 Application examples for the S7 control
Basic Technology
380 Operating Instructions, 06/2012
Commissioning
8.5 Application examples for the S7 control
Basic Technology
Operating Instructions, 06/2012 381
Commissioning
8.5 Application examples for the S7 control
Basic Technology
382 Operating Instructions, 06/2012
Commissioning
8.5 Application examples for the S7 control
8.5.3 Externally switching over from trolley to boom and vice versa
Using an example, a description will be given on switching over from trolley to boom and vice
versa.
Note
• In this example, the brake control will not be considered; the user must program this
himself.
• The "SPEED_CONTROLLED" operating mode has already been selected.
Basic Technology
Operating Instructions, 06/2012 383
Commissioning
8.5 Application examples for the S7 control
Basic Technology
384 Operating Instructions, 06/2012
Commissioning
8.5 Application examples for the S7 control
Basic Technology
Operating Instructions, 06/2012 385
Commissioning
8.5 Application examples for the S7 control
Note
In this example, the brake control is not considered; the user must program this himself.
Switching-on and switching-off the drive was already described in Chapter Controlling the
drive (Page 376).
Selecting and deselecting the operating modes was already described in Chapter
Selecting and deselecting operating modes (Page 379).
NOTICE
Basic Technology
386 Operating Instructions, 06/2012
Commissioning
8.5 Application examples for the S7 control
Basic Technology
Operating Instructions, 06/2012 387
Commissioning
8.5 Application examples for the S7 control
● The flags 1110.2 "Enable operation" for the holding gear and 1310.2 "Enable operation"
for the closing gear are set.
● The flag 1116.4 "Grab open" and 1116.5 "Grab closed" are set, as the grab has still not
been adjusted.
● The crane operator gives the command "Lift grab" until the limit switch switches-off the
holding gear.
● The flag 1307.1 "Select grab change" is set.
● Using the master switch, the crane operator issues the command "Open grab" until the
required position "Grab open" is reached.
● Using homing, the holding and closing gear are set to the position 0 mm; for this purpose,
the flags 1107.2 "Homing" for the holding gear and 1307.2 "Homing" for the closing gear
are set, each with a positive signal edge.
● The flag 1306.5 "Command, save grab open" is set. A check is then made as to whether
flag 1316.4 "Grab open" is set and flag 1316.5 "Grab closed" is not set.
● Using the master switch, the crane operator issues the command "Close grab" until the
grab is closed.
● When the grab is closed, flag 1306.6 "Command, save grab closed" is set. A check is
then made as to whether flag 1316.4 "Grab open" is not set and flag 1316.5 "Grab
closed" is set.
● The flag 1307.1 "Select grab change" is reset.
Basic Technology
388 Operating Instructions, 06/2012
Commissioning
8.5 Application examples for the S7 control
Basic Technology
Operating Instructions, 06/2012 389
Commissioning
8.5 Application examples for the S7 control
● The flags 1110.2 "Enable operation" for the holding gear and 1310.2 "Enable operation"
for the closing gear are set.
● It is not permissible that flag 1307.04 "Enable current equalization controller" for the
closing gear is set.
● The master switch gives the command "Close grab". With this command, flag 1106.4
"Enable slack rope controller" for the holding gear is set.
● The flag 1106.4 "Enable slack rope controller" remains set for the holding gear until the
master switch gives the command "Lift grab".
Basic Technology
390 Operating Instructions, 06/2012
Commissioning
8.5 Application examples for the S7 control
Basic Technology
Operating Instructions, 06/2012 391
Commissioning
8.5 Application examples for the S7 control
● The flags 1110.2 "Enable operation" for the holding gear and 1310.2 "Enable operation"
for the closing gear are set.
● It is not permissible that flag 1106.4 "Enable slack rope controller" for the holding gear is
set.
● If the flag 1316.5 "Grab closed message" is set, and the grab is to be lifted or lowered
using the master switch, then flag 1307.04 "Enable current equalization controller" is set
for the closing gear.
● The flag 1307.04 "Enable current equalization controller" for the closing gear remains set
until the command "Open grab" is issued by the master switch - or until the flag 1311.2 "f
or n comparison value reached" for the closing gear is not set.
Basic Technology
392 Operating Instructions, 06/2012
Commissioning
8.5 Application examples for the S7 control
Basic Technology
Operating Instructions, 06/2012 393
Commissioning
8.5 Application examples for the S7 control
● The flags 1110.2 "Enable operation" for the holding gear and 1310.2 "Enable operation"
for the closing gear are set.
● The grab is lifted with a positive master switch setpoint at the holding gear.
Basic Technology
394 Operating Instructions, 06/2012
Commissioning
8.5 Application examples for the S7 control
Basic Technology
Operating Instructions, 06/2012 395
Commissioning
8.5 Application examples for the S7 control
● The flags 1110.2 "Enable operation" for the holding gear and 1310.2 "Enable operation"
for the closing gear are set.
● The grab is lowered with a negative master switch setpoint at the holding gear.
Basic Technology
396 Operating Instructions, 06/2012
Commissioning
8.5 Application examples for the S7 control
Basic Technology
Operating Instructions, 06/2012 397
Commissioning
8.5 Application examples for the S7 control
● The flags 1110.2 "Enable operation" for the holding gear and 1310.2 "Enable operation"
for the closing gear are set.
● The grab is opened with a negative master switch setpoint at the closing gear.
Basic Technology
398 Operating Instructions, 06/2012
Commissioning
8.5 Application examples for the S7 control
Basic Technology
Operating Instructions, 06/2012 399
Commissioning
8.6 SINAMICS drive object
● Flags 1110.2 "Enable operation" for the holding gear and 1310.2 "Enable operation" for
the closing gear are set.
● The grab is closed with a positive master switch setpoint at the closing gear.
Basic procedure
● Enter the motor data according to the rating plate
● Enter the following drive data for any number (n_items) of drives wired in parallel:
– Rated voltage: p0304 ≤ Vrated
– Rated current: p0305 ≤ Irated • n_items
– Rated power: p0307 ≤ Prated • n_Stck.
– Rated power factor: p0308 ≤ cos_φrated
– Rated efficiency: p0309 ≤ ηrated
– Rated frequency: p0310 ≤ frated
– Rated speed: p0311 ≤ nrated
● As of SINAMICS V2.6 for motors connected in parallel, enter the following motor values
for a parallel connection:
– Rated voltage: p0304 ≤ Vrated
– Rated current: p0305 ≤ Irated
– Number of motors connected in parallel: n_motors
– Rated power: p0307 ≤ Prated
– Rated power factor: p0308 ≤ cos_φrated
– Rated efficiency: p0309 ≤ ηrated
– Rated frequency: p0310 ≤ frated
– Rated speed: p0311 ≤ nrated
● In order to set up the drive model with maximum precision, enter the SINAMICS
parameters p0230, p0233 and p0235 for each drive in accordance with the plant
configuration.
NOTICE
If this value is incorrectly preset for a motor with a separate winding system, extreme
torque surges will occur when the drive is switched on.
Basic Technology
400 Operating Instructions, 06/2012
Commissioning
8.6 SINAMICS drive object
● Measure the total line resistance (Motor Module to drive) for each drive and enter the
result in SINAMICS parameter p0352.
● Enter the motor series reactor (if installed) in SINAMICS parameter p0353.
● If the drives are in a master-slave coupling, r0079 from the master should be
interconnected to p1503 for the slave!
Note
When commissioning the system from the control panel of the drive object, a changeover
must be made from command data set 0 (command data set selection CDS p0810) to
command data set 1. After moving the axis from the control panel of the drive object, it
must be reset otherwise operator control from the S7 controller is not possible.
Stationary Measurement
After having checked all prerequisites, carry out a stationary measurement in SINAMICS for
each Motor Module (i.e. Hoist, Gantry, Trolley, etc.).
NOTICE
Basic Technology
Operating Instructions, 06/2012 401
Commissioning
8.6 SINAMICS drive object
Note
After having carried out the standstill measurement, do not forget to copy RAM data to
ROM and to transfer all data to the offline project. Select Upload to PG accordingly
and then save the project.
The stationary measurement is available in the Project Navigator at SINAMICS Drive object
(e.g. Hoist_1) in menu item Commissioning.
NOTICE
Check the torque and current limits after each stationary measurement!
Basic Technology
402 Operating Instructions, 06/2012
Commissioning
8.6 SINAMICS drive object
Basic Technology
Operating Instructions, 06/2012 403
Commissioning
8.6 SINAMICS drive object
Rotating measurement
The rotating measurement with speed controller optimization should then be carried out. The
rotating measurement function should only be initiated if the motor can freely rotate.
Otherwise, it is not permissible that this function is executed. The following values are
determined in the rotating measurement:
● The magnetizing characteristic is measured
● The magnetizing current is measured
● The speed controller is optimized
● The acceleration pre-control is set
● The ratio between the total moment of inertia and the motor is set
If the rotating measurement cannot be initiated, then the speed control loop should either be
optimized by re-calculating the control parameters or manually using the controller. If the
moment of inertia was entered, the control parameters are calculated using the automatic
parameterization (p0340 = 4). The controller parameters are defined in accordance with the
symmetrical optimum as follows:
Basic Technology
404 Operating Instructions, 06/2012
Commissioning
8.6 SINAMICS drive object
● Tn = 4 • Ts
● Kp = 0.5 • r0345 / Ts → Kp = 2 • r0345 / Tn (Ts = total of short deceleration times)
– Sum of the short deceleration times, vector operation with encoder:
Actual speed value smoothing time p1441 and speed controller, actual speed value
smoothing time p1442
– Sum of the short deceleration times, vector operation without encoder:
Speed controller, actual speed value smoothing time p1452
Note
As a general rule, the lowest possible actual speed smoothing values should be
selected for normal operation. When the encoders are well shielded, a smoothing
value of 0 can be entered.
If a setting of 0 is entered, the above formulas no longer apply. In this case, Tn should
be set to 0, Kp to overshoot-free, and then Tn increased until the desired controller
performance is obtained.
If vibration develops with these settings, reduce speed controller gain Kp manually. Actual
speed value smoothing can also be increased (standard procedure for gearless or high-
frequency torsional vibration) and the controller calculation performed again because this
value is also used to calculate Kp and Tn. The following relationships apply for optimization:
● If Kp is increased, the controller becomes faster and overshoot is increased.
● If Tn is reduced, the controller also becomes faster and overshoot is also increased.
When setting the speed control manually, you are advised to define the dynamic response
via Kp (and actual speed value smoothing) first, so that the integral time can subsequently be
reduced as much as possible. Please note that the closed-loop control must also remain
stable in the field-weakening range.
Reducing the controller gain will generally dampen any oscillations in the closed-loop speed
control. Another possible option is to increase the smoothing time setting in p1452. However,
the accuracy of the control will diminish if the smoothing setting is too high. The integral
output of the speed controller can be monitored via r1482 and the limited controller output
(torque setpoint) via r1508.
If the motor is to operate under closed-loop position control, the control parameters must be
set according to the absolute value optimum. Make sure that the speed controller is free of
overshoots!
You can also design the speed controller for the relevant motor according to the symmetrical
optimum and utilize the reference model. When correctly set, the reference model can
achieve a response to disturbances according to the symmetrical optimum and a response
to reference variables according to the absolute value optimum. For further information about
the reference model, refer to Ref. [4], Chapter 4.5.
NOTICE
Check the torque and current limits after each stationary measurement!
Basic Technology
Operating Instructions, 06/2012 405
Commissioning
8.6 SINAMICS drive object
Programming tips
● Adjusting the switchover from current model ("controlled") to voltage model ("regulated"):
– p1752 = to approx. 30% of p0311 "Rated motor speed"
– p1756 = 20 [%]: Hysteresis
Both value were proven useful, however, these can be adapted to suit your requirements.
● Conclude commissioning by testing the entire speed range and verifying smooth
operation in order to exclude universal shaft/gear problems.
● The trolleys excite inherent resonance of the crane frame at rapid changes of the speed.
This is not in the control loop of the trolley; it represents the reference system.
In order to avoid excitation of vibration: Kp low, Tn high, adaptation
– The integrator has a tendency towards saturation which leads to overshoot of the end
position and subsequent retraction
– It is possible that rounding-off could be helpful.
● Acceleration precontrol for known masses
Problem: Mass variation with/without container; set a precontrol value approx. 80% –
90%
Relieve the I component as far as possible with precontrol: Also observe r1482; r1481;
r0080 und r0078 in the trace.
– The precontrol function is available in the Project Navigator at SINAMICS Drive object
(e.g. Hoist_1) at Open-loop/closed-loop control > speed setpoint filter > Precontrol
– The precontrol function can be set accordingly at p0342 Ratio of total/motor moment
of inertia and p1496 Acceleration precontrol scaling.
● Setpoint/actual value smoothing – Balancing
– Actual value smoothing should be kept at minimum; high values increase overshoot
Setpoint smoothing provides a more constant velocity due to the motion profile
(master switch setpoint)
Basic Technology
406 Operating Instructions, 06/2012
Commissioning
8.7 SIMOTION technology object
The value for the maximum velocity is calculated using the formula below:
The reference velocity must be normalized to the maximum speed in the expert list under
TypeOfAxis.SetPointDriver Info.DriveData.speedReference. The maximum speed –
maxSpeed – setting must be identical to the reference speed (p2000) of the drive object.
If the relationship between the motor speed and the travel path is to be checked in advance,
it can be helpful to set the mechanics as follows:
● Number of motor revolutions: 1
● Number of load revolutions: 60
● Distance per spindle revolution: 1
Basic Technology
Operating Instructions, 06/2012 407
Commissioning
8.7 SIMOTION technology object
This setting is used to check the velocity interface, because one motor revolution per minute
is equal to one millimeter of distance travelled per second (1 1/min ≙ 1 mm/s). This means
that the velocity setpoint and the actual value channel can be compared without the need for
further conversions.
Note
Verify proper optimization of the speed control loop before you start tuning the position
control loop.
If the speed actual value is affected by high ripple, a position controller gain Kv higher than
"1" should be avoided, as this will increase vibration.
Basic Technology
408 Operating Instructions, 06/2012
Commissioning
8.7 SIMOTION technology object
After the optimum Kv factor was determined, the weighting factor for the speed pre-control
must be again set to 100 %. After this, several positioning operations should be carried out.
In so doing, the position setpoint and position actual value should again be checked and the
approach to the target recorded using the trace function. The following applies: The following
error must be low during the complete travel motion. It is not permissible that the position
actual value overshoots the target. In order to achieve this, the precise equivalent time
constant of the speed control loop vTC
(Hoist_1.TypeOfAxis.NumberOfDataSets.DataSet_1.DynamicData.velocityTimeConstant)
must be determined.
Basic Technology
Operating Instructions, 06/2012 409
Commissioning
8.7 SIMOTION technology object
In so doing, this time constant must be increased until the target is optimally approached
without any overshoot. Reduce the calculated Kv factor slightly if overshoot still develops;
refer to Ref.2, Chapters 2.11 and 2.12.
Adjust limitations
The next step is to adjust the limitations. In this case, it is particularly important to recheck
the maximum velocity which can be achieved as a result of the mechanical components
configured in the axis. It is also important to check on the "Dynamic response" tab whether
the maximum settings for acceleration and jerk have been adjusted according to the
configured mechanical system, i.e. that these maximum values cannot result in mechanical
damage to the crane.
Basic Technology
410 Operating Instructions, 06/2012
Commissioning
8.8 Crane DCC blocks
Basic Technology
Operating Instructions, 06/2012 411
Commissioning
8.9 User program (MCC program)
Figure 8-37 Symbol browser extract from the MCC program Hoistp_1
● Minimum velocity for the positive and negative directions, each for the AUTOMATIC,
MANUAL and EASY_POSITIONING operating modes.
● Velocity for the SENSORLESS EMERGENCY operating mode
Basic Technology
412 Operating Instructions, 06/2012
Commissioning
8.9 User program (MCC program)
● Rated velocity; this means that the system identifies when the drive is in the field
weakening mode.
● The following information must be entered:
– Reference current
– Reference torque
– Reference voltage
– Reference power
– Rated velocity
This information must be available so that the corresponding values can be converted.
● Fixed homing position if no HomingValuePLC selection has been made.
● An initial and final rounding-off; this permits soft starting and stopping of a traversing
motion.
● DecelerationFactor; decreases the deceleration.
● Determination of BreakTestDrive; see Selecting a function module (Page 210)
● Minimum acceleration and deceleration times; this guarantees that values below the
configured times are not accepted.
● SIMATIC S7 selects the homing position if S7 specifies the homing position.
● For a rigid connection between Hoist 1 and Hoist 2, master-slave operation is active. A
certain position tolerance must not be exceeded.
● The position, velocity and current tolerances are monitored in the monitoring block.
● ToleranceMinimumVelocity or MinimumVelocityTolerancposition are provided for the
changeover point of the minimum velocity for the AUTOMATIC, MANUAL and
EASY_POSITIONING operating modes.
Note
There are a couple of additional variables for the function module Hoist 2, which is also
operated as a slave of Hoist 1.
Figure 8-38 Symbol browser extract from the MCC program Hoistp_2
Basic Technology
Operating Instructions, 06/2012 413
Commissioning
8.10 Field weakening (LDFW)
Basic Technology
414 Operating Instructions, 06/2012
Commissioning
8.10 Field weakening (LDFW)
GQ GQ
0 0RWRU 0 /RDG0 /RDG෬N $/RDG෬ N $5RW෬ 0 )ULFWLRQ
GW GW
kAload and kArot are proportional factors whose quantity must be derived from measurement.
Mfriction must also be determined by measurement.
GQ GQ
0 0RWRU 0 /RDG෬ N $/RDG෬ N $5RW෬ 0 )ULFWLRQ
GW GW
GQ
0 0RWRU0 )ULFWLRQN $5RW෬
GW
0 /RDG
GQ
N $/RDG෬
GW
This equation only applies to hoisting and positive dn/dt when accelerating in the hoisting
direction. Torque can be derived from the constant current flow in the rated speed range of
the drive, as current is directly proportional to torque.
GQ
, 0RWRU, )ULFWLRQN $5RW෬
GW
/RDGฏ0 /RDGฏ, /RDG
GQ
N $/RDG෬
GW
Basic Technology
Operating Instructions, 06/2012 415
Commissioning
8.10 Field weakening (LDFW)
To determine the load, it is necessary to measure the speed change dn/dt. This is realized
using a differentiating element in the DCC block "DCC_LoadDependingFieldWeak". The
actual dn/dt values and the actual current value of the motor Imotor is continually transferred to
SIMOTION and is measured there. The measurement must have been completed within the
rated speed range of the machine in order to determine the corresponding load and
therefore to calculate the maximum field weakening speed. The measurement is made at
40% to 90% of the rated speed range of the machine; refer to
DCC_LoadDependingFieldWeak (Page 106).
WARNING
This setting should only be carried out by qualified personnel. Particular attention must be
paid to the reduced breakdown torque of the drive within the field weakening range.
Allowances must be made for appropriate safety reserve in terms of the data provided by
the machine manufacturer.
Basic Technology
416 Operating Instructions, 06/2012
Commissioning
8.10 Field weakening (LDFW)
Note
At maximum acceleration and at the end of the measuring window,
• the dn/dt average value (rAverage_dn_dt) should be approx. 100%; the measurement
window limits must then be adapted accordingly.
• the number of measurements (rCountsMeasurRange) must be at least 25.
If a new measurement is to be made, then it is absolutely necessary that a positive edge
is connected to connection "boResetLoadCurrent".
All measurements must always be taken in SPEED_CONTROLLED mode.
WARNING
If the rated motor current is not used as reference, then the subsequent values here
(rFact_AccCurrent_Load, rFact_AccCurrent_RotMass, rFrictionCurrent) must be
correspondingly adapted.
Example:
"rFact_AccCurrent_Load" should be between 5 % and 10 % if the current
(rCurrentSetpoint) is referred to the rated motor current (rCurrentNominal). However, if
for example, the current is referred to twice the rated current, then this value must be
converted and should now be between 2.5 % and 5 %. All of the values in the following
table are empirical and only serve as a guide.
The values at the actual crane system can deviate from the values specified here.
Basic Technology
Operating Instructions, 06/2012 417
Commissioning
8.10 Field weakening (LDFW)
Note
The orders of magnitude specified in the above table are guide values.
Basic Technology
418 Operating Instructions, 06/2012
Commissioning
8.10 Field weakening (LDFW)
Note
The use of the FB_AutoSettingFW block is optional. If you use this block, you do not need to
take Chapters Compensating the frictional current (Page 423) to Correcting the efficiency
(Page 425) into account.
Only when you use this block can the ropes be tightened early and the container spreader /
grab fully mounted. Otherwise, observe the procedures Compensating the frictional current
(Page 423) to Correcting the efficiency (Page 425).
Note
• The rated velocity must not be exceeded during the commissioning with this block. The
acceleration and deceleration should have the values with which the crane is operated
later.
• The hoisting and lowering actions should always run without interruption. Always traverse
at the rated velocity.
• The motors should be warmed up prior to the commissioning.
The FB_AutoSettingFW simplifies the commissioning so that at the end all important input
parameters for the DCC_LoadDependFieldweak_1 are issued at this block output. The
commissioning engineer then only needs to accept them at the inputs of the LDFW block.
If the DCC block DCC_ContLoadMeasurement_1 is also required on the crane, you do not
need to repeat the measurements. This block determines automatically the appropriate
inputs for both DCC blocks.
Two measuring steps must be performed during the commissioning. These two measuring
steps should be executed together without a significant pause in between.
The following inputs have already been linked in the standard projects. If a block is added
later, the links must be augmented in accordance with the following table.
Basic Technology
Operating Instructions, 06/2012 419
Commissioning
8.10 Field weakening (LDFW)
Basic Technology
420 Operating Instructions, 06/2012
Commissioning
8.10 Field weakening (LDFW)
Prerequisites:
● The ropes are tightened and the container spreader / grab is fully mounted.
● Limit switches, rated and maximum velocity should be set and all standardizations
completed. The crane must be available for several test runs.
● Container spreader / grab must not accept any load and all measurements must be
performed without load.
● boStartAutoSettingFW = TRUE → FB_AutoSettingFW is enabled.
● boAutoSettingFWStep10 = TRUE → first measuring step is started.
● boAutoSettingFWStep20 = FALSE
Procedure:
Perform ten uninterruptible hoisting operations. The rated velocity must be reached for each
hoist operation and travel constant for the time "r64MinTimeConstantDrive".
"r64MinTimeConstantDrive" is available as output value.
A hoist operation is considered to have completed successfully when the
"boSingleMeasFinished" output changes to TRUE. The hoist can then be lowered again in
order to start a new hoist operation. If this output does not change to TRUE in time, the hoist
operation was not valid. An intervention is not currently required and a new hoist operation
can be started. After ten valid hoist operations, the "boStep10MeasFinished" output is set to
TRUE.
If "boSingleMeasFinished" never changes to TRUE, the required sampling operations during
the positive or negative acceleration or during the constant travel will not be reached. A
check should be made whether constant travel is made long enough (at least
"r64MinTimeConstantDrive" ) and possibly decrease or increase the measurement window
"r64UpLimitMeasRange"/"r64LowLimitMeasRange" slightly.
If measuring step 1 must be repeated, you can use "boReset" to delete the measurement.
Ensure, however, that "boAutoSettingFWStep10" is set to TRUE.
Note
If "boReset" is pressed for three seconds, all measuring steps will be reset irrespective of
"boAutoSettingFWStep10/20".
Prerequisites:
● The ropes are tightened and the container spreader / grab is fully mounted.
● Limit switches, rated and maximum velocity should be set and all standardizations
completed. The crane must be available for several test runs.
● Container spreader / grab must now accept the rated load and all measurements must be
performed with the rated load.
Basic Technology
Operating Instructions, 06/2012 421
Commissioning
8.10 Field weakening (LDFW)
Procedure:
Perform ten uninterruptible hoist operations again. The same conditions for measuring step 1
now also apply to measuring step 2. After ten valid hoist operations,
"boStep20MeasFinished" is now set to TRUE.
If measuring step 2 must be repeated, you can use "boReset" to delete the measurement.
Ensure, however, that "boAutoSettingFWStep20" is set to TRUE.
Note
If "boReset" is pressed for three seconds, all measuring steps will be reset irrespective of
"boAutoSettingFWStep10/20".
You should avoid any unnecessary waiting times in the associated measuring steps. If the
waiting time exceeds three minutes, the associated measuring step is deleted and must be
repeated. This serves to ensure that the measurements are performed with a constant motor
temperature.
Completion
If "boStep10MeasFinished" and "boStep20MeasFinished" are both TRUE, the following
outputs are not equal to 0. The values can now be accepted for LDFW (and, if required, also
for CLM).
● r64AutoFrictionCurrent
● r64AutoFactAccCurrRotMa
● r64AutoFactAccCurrentLoad
● r64Eta_LDFW (only for the LDFW block)
● r64Eta_lift_CLM (only for the CLM block)
● r64Eta_drop_CLM (only for the CLM block)
If a value is present at the "r64MinLoad" or "r64MaxLoad" input, the following output values
are also output automatically:
● r64X1ParameterLoad
● r64Y1ParameterVelocity
● r64X2ParameterLoad
● r64Y2ParameterVelocity
● r64X3ParameterLoad
● r64Y3ParameterVelocity
● r64X4ParameterLoad
● r64Y4ParameterVelocity
Basic Technology
422 Operating Instructions, 06/2012
Commissioning
8.10 Field weakening (LDFW)
● r64X5ParameterLoad
● r64Y5ParameterVelocity
● r64X6ParameterLoad
● r64Y6ParameterVelocity
If an error occurs, "boErrorFunctionBlock" output is TRUE and "i32ErrorIDFunctionBlock"
sends the error ID. If "i32ErrorIDFunctionBlock" is not equal to 0 but "boErrorFunctionBlock"
= FALSE, this is an alarm. Chapter Application error messages and alarm messages
(Page 339) contains a complete list and description of all error and alarm messages of the
function blocks.
Note
After completion of all measurements, you can delete a specific measuring step. This must
be activated beforehand (Step10 or Step20). "boReset" can then be used to delete the
activated measuring step. This does not affect the other measuring step and the outputs are
formed again taking the two measuring steps into account. This means both measuring
steps do not need to be repeated in the event of an error. Do not press "boReset" longer
than three seconds, otherwise the two measuring steps will be reset.
Note
Finally, a plausibility check should also be performed. Empirical values can be found at
Table 8-7 Standard assignment of the setting connections before commissioning (Page 417).
GQ
, 0RWRU, )ULFWLRQN $5RW෬
GW
/RDGฏ0 /RDGฏ, /RDG
GQ
N $/RDG෬
GW
Setting instructions:
Move the empty drum at constant rated speed (nrated) in the hoisting direction. The inputs
"rCurrentNominal" and "rCurrentSetpoint" must be appropriately supplied with the ST
variables "hoist_X_setpoint_current_for_dcc" and "hoist_X_currentnominal_for_dcc". 120 ms
has proven itself as a good value for "rCurrentSmoothTime". However, this value can be
individually adapted. The friction current value can be read out as a percentage using
"rSmoothSetpointCurrent".
Repeat the measurement several times in the hoisting direction and enter the average value
(with the motor in the warm state and the gearbox oil warm) in "rFrictionCurrent" (approx. 1%
to 3%).
This means that the frictional current will be taken into account at output
"rmm_minusm_friction".
Basic Technology
Operating Instructions, 06/2012 423
Commissioning
8.10 Field weakening (LDFW)
GQ
, 0RWRU, )ULFWLRQN $5RW෬
GW
/RDGฏ0 /RDGฏ, /RDG
GQ
N $/RDG෬
GW
Setting instructions:
At the input of the DCC block, set "rLowLimitMeasRange" to 40 % and
"rUpLimitMeasRange" to 90 %. These values are automatically referenced to the rated
speed and do not require any additional conversion. However, if 100% is not reached at
output "rAverage_dn_dt", there are two ways of remedying this:
● Change the smoothing time (rSmoothTime_dn_dt) for the velocity setpoint applied to the
derivative action element to correct minor deviations
or
● Change of measuring window limits (rUpLimitMeasRange or rLowLimitMeasRange).
Tip:
If the value reached is significantly higher than 100%, reduce "rUpLimitMeasRange".
If the value reached is significantly lower than 100%, reduce "rLowLimitMeasRange".
Accelerate the empty drum, hoisting (raising) up to the rated speed. At the end of the
measurement phase (boOut_EnableFieldWeak is true) the value at the output of the DCC
block "rMm_minus_JBrot_Mf" (IMotor - IFriction - kARot • dn/dt) should be 0 %, as in this case, no
acceleration component of the load is included in the total current. Correspondingly vary
using the connection "rFact_AccCurrent_RotMass" (approx. 20 % to 30 %). Confirm these
values by making several acceleration trials.
Note
Connect a positive edge at input "boResetLoadCurrent" after every measurement.
"rAverage_dn_dt" must be + 100%.
Note
After you have made this setting, you can attach the rope.
Basic Technology
424 Operating Instructions, 06/2012
Commissioning
8.10 Field weakening (LDFW)
GQ
, 0RWRU, )ULFWLRQN $5RW෬
GW
/RDGฏ0 /RDGฏ, /RDG
GQ
N $/RDG෬
GW
Setting instructions:
Set connection "rEfficiency_eta" to 100 %. Approximately the rated load (=max. load) should
be suspended on the ropes. Accelerate hoisting to the valid speed.
After the measurement phase has been completed, connection "rLoadCurrent_plus_Frict"
should, as far as possible, correspond to the value that the drive draws after the acceleration
phase (only in the hoisting direction) when the load in a steady-state
(rSmoothSetpointCurrent). Correspondingly vary connection "rFact_AccCurrent_Load"
(approx. 5 % to 10 %). Confirm these values by making several acceleration trials.
Note
Connect a positive edge at input "boResetLoadCurrent" after every measurement.
"rAverage_dn_dt" must be + 100%.
WARNING
For safety reasons, AppSTW1 bit4 "enable field weakening" should be FALSE. Accelerate
hoisting only to the speed specified for rated loads (maximum load).
U/RDGBZLWKBHWD +RLVWLQJ
ˤ ෬
U/RDGBZLWKBHWD /RZHULQJ
Basic Technology
Operating Instructions, 06/2012 425
Commissioning
8.10 Field weakening (LDFW)
Calculation example:
● Displayed value with rated load, hoisting:
rLoad_with_etahoisting = 98%
● Displayed value with rated load, lowering:
rLoad_with_etalowering = 82%
ˤ ෬
Setting instructions:
1. Move the rated load in hoisting direction and then in lowering direction at constant rated
speed (nrated motor), assuming rEfficiency_eta = 100% (default setting).
2. Repeat your measurement several times.
3. Note down the mean value of "rLoadCurrent_with_etaHoisting" and
"rLoadCurrent_with_etaLowering".
4. Calculate the rEfficiency_eta corresponding to the specified example.
Note
Connect a positive edge at input "boResetLoadCurrent" after every measurement.
5. Check the settings by hoisting and lowering the rated load (up to the rated speed) several
times.
In so doing "rLoadCurrent_with_eta" and "rLoadWithNormFactor" should no longer
change when hoisting and lowering.
6. Adapt the factor rEfficiency_eta (approx. 115 %) to keep the change between hoisting
and lowering as low as possible.
Note
If the load when lowering is determined to be higher than the actual load, a higher value
of "rLoadCurrent_with_eta" while lowering with respect to hoisting ensures that the drive
is not overloaded when braking the load.
This setting is only necessary for the case that the load should be determined while lowering
(e.g. at the start of lowering). For normal applications, it is sufficient if the determined load is
only re-calculated again if it has changed. Normally, this is only possible after the spreader
has taken-up a new load. This means that the signals "Twistlocks open" and "Twistlocks
closed" can be used to set a positive edge of the signal "boResetLoadCurrent". This allows
the load to be recalculated.
Basic Technology
426 Operating Instructions, 06/2012
Commissioning
8.10 Field weakening (LDFW)
U/RDG1RUP)DFWRU
Basic Technology
Operating Instructions, 06/2012 427
Commissioning
8.10 Field weakening (LDFW)
Figure 8-40 Two LoadDependingFieldWeak blocks and selector switches (NSW, BSW) in a DCC chart
Basic Technology
428 Operating Instructions, 06/2012
Commissioning
8.10 Field weakening (LDFW)
2. Further, the lower measurement window limit (rLowLimitMeasRange) must have been
passed through in order to declare the measurement valid. This means that at the start of
the measurement, the actual velocity value must be below the measurement window and
then – as described in Point 1 – the upper measurement window limit exceeded. This
means that the measurement window has been completely run-through once.
3. The user can select the precise conditions for the enabling the field weakening using the
master switch. DCC_LoadDependingFieldWeak and DCC_LoadDependFieldWeak_1
have two or three possibilities, respectively; see DCC_LoadDependFieldWeak_1
(Page 113), "Mode of operation" section.
Setting instructions:
The required response threshold of the current monitoring should be defined or determined
when commissioning:
Example:
rCurrentInterval + rCurrentHysteresis = 105 % + 5 % = 110 % "on"
rCurrentInterval + rCurrentHysteresis = 105 % - 5 % = 100 % "off"
Basic Technology
Operating Instructions, 06/2012 429
Commissioning
8.10 Field weakening (LDFW)
Note
For Basic Technology, 100 % current corresponds to the maximum current!
Note
If "boSpeedRampToLowLim" is not True and current monitoring is active (boIact_greater_In
= False), the setpoint is not stepped down and field weakening is disabled directly. This
limits acceleration to the rated speed until a new measurement was initiated (positive edge
at boResetLoadCurrent).
Basic Technology
430 Operating Instructions, 06/2012
Commissioning
8.10 Field weakening (LDFW)
NMax 100%
P = constant
NGrund 50%
Speed (Y)
27,5T 45T
0T 56T
(50% current) (100% current)
Formula:
< ෬ ; ෬
;
Basic Technology
Operating Instructions, 06/2012 431
Commissioning
8.10 Field weakening (LDFW)
WARNING
• If excessively high current values occur during constant-velocity travel, then the velocity
(Y2-Y9) must be reduced.
• The initial points X1 (load) and Y1 (velocity) as well as end points X10 and Y10 are
fixed. The load points (X2-X9) can assume any intermediate values. The corresponding
intermediate values (Y2-Y9) are calculated according to the formula above.
• We recommend that the first points along the curve are selected close to one another as
the velocity is inversely proportional to the load.
• If using a linearized drive curve, make sure that its interpolation points (X1 to X10; Y1 to
Y10) remain below the constant power curve.
0 – 15 T → Velocity 100%
15 – 40 T → Velocity, refer to curve
40 – 56 T → Velocity 50 %
Start by determining the current required for lifting 40 tons at rated speed (no field
weakening). The current is directly proportional to the load. This means that for a current
measurement of 86% at 40 tons, then at 15 tons 32% will be necessary.
The curve can be calculated using the following formula:
n: Velocity
Q
4
෬;< Q: Load
X: Constant
Y: Constant
Synchronization with data specified above:
෬;<
෬;<
and ;
; <
Basic Technology
432 Operating Instructions, 06/2012
Commissioning
8.10 Field weakening (LDFW)
NMax 100%
NGrund 50%
Speed (Y)
15T 40T
0T 56T
(32% current) (86% current)
Q ෬
4
Basic Technology
Operating Instructions, 06/2012 433
Commissioning
8.11 Continuous load measurement (CLM)
WARNING
• If excessively high current values occur during constant-velocity travel, then the velocity
(Y2-Y9) must be reduced.
• The initial points X1 (load) and Y1 (velocity) as well as end points X10 and Y10 are
fixed. The load points (X2-X9) can assume any intermediate values. The corresponding
intermediate values (Y2-Y9) are calculated according to the formula above.
• We recommend that the first points along the curve are selected close to one another as
the velocity is inversely proportional to the load and the offset. Check - T
• If using a linearized drive curve, make sure that its interpolation points (X1 to X10; Y1 to
Y10) remain below the constant power curve.
GQ GQ
0 0RWRU 0 /RDG0 /RDG෬N $/RDG෬ N $5RW෬ 0 )ULFWLRQ
GW GW
Basic Technology
434 Operating Instructions, 06/2012
Commissioning
8.11 Continuous load measurement (CLM)
kAload and kArot are proportional factors whose quantity must be derived from measurement.
Mfriction must also be determined by measurement.
GQ GQ
0 0RWRU 0 /RDG෬ N $/RDG෬ N $5RW෬ 0 )ULFWLRQ
GW GW
GQ
0 0RWRU0 )ULFWLRQN $5RW෬
GW
0 /RDG
GQ
N $/RDG෬
GW
This equation only applies to hoisting and positive dn/dt when accelerating in the hoisting
direction.
To determine the load, it is necessary to measure the speed change dn/dt. This
measurement is performed by a differentiating element in the DCC block
"DCC_ContLoadMeasurement". The current dn/dt value and the current torque value are
continually transferred to SIMOTION and are measured there.
WARNING
This setting may only be made by qualified personnel. Pay particular attention to the
reduced breakdown torque of the drive within the field weakening range! Add a safety
reserve to the data provided by the machine manufacturer.
NOTICE
Basic Technology
Operating Instructions, 06/2012 435
Commissioning
8.11 Continuous load measurement (CLM)
DCC_ContLoadMeasurement
WARNING
If the rated motor torque is not applied as a reference, the following values must be
adjusted:
• "rFact_AccTorque_Load1" or "…2"
• "rFact_AccTorque_RotMass1" or "…2"
• All friction torques
Example:
"rFact_AccTorque_Load1" should be between 5% and 10% if the torque
(rSetpointTorqueHG) refers to the rated motor torque (rTorqueNominal). However, if for
example, the torque is to be referred to twice the rated torque, then this value must be
converted and should now be between 2.5% and 5%.
All of the values in the following table are empirical and only serve as a guide. The values on
the actual crane system can deviate from the values specified here.
Table 8- 10 Default assignments of setting connections prior to commissioning for gear stage 1
Basic Technology
436 Operating Instructions, 06/2012
Commissioning
8.11 Continuous load measurement (CLM)
DCC_ContLoadMeasurement_1
WARNING
If the rated motor torque is not applied as a reference, the following values must be
adjusted:
• rFact_AccTorque_Load
• rFact_AccTorque_RotMass
• All friction torques
Example:
"rFact_AccTorque_Load" should be between 5% and 10% if the torque
(rSetpointTorqueHG) refers to the rated motor torque (rTorqueNominal). However, if for
example, the torque is to be referred to twice the rated torque, then this value must be
converted and should now be between 2.5% and 5%.
All of the values in the following table are empirical and only serve as a guide. The values on
the actual crane system can deviate from the values specified here.
Basic Technology
Operating Instructions, 06/2012 437
Commissioning
8.11 Continuous load measurement (CLM)
Basic Technology
438 Operating Instructions, 06/2012
Commissioning
8.11 Continuous load measurement (CLM)
Note
The use of the FB_AutoSettingFW block is optional. If this block is used, Chapters Friction
torque compensation (Page 443) to Correcting the efficiency (Page 446) do not need to be
taken into account.
Only when you use this block can the ropes be tightened early and the container spreader /
grab fully mounted. Otherwise, observe the procedures Friction torque compensation
(Page 443) to Correcting the efficiency (Page 446).
Note
• The rated velocity must not be exceeded during the commissioning with this block. The
acceleration and deceleration should have the values with which the crane is operated
later.
• Hoisting and lowering operations should always run without interruption at the rated
velocity.
• The motors should be warmed up prior to the commissioning.
The FB_AutoSettingFW simplifies the commissioning by all important input parameters for
the DCC_ContLoadMeasurement_1 being calculated and issued to the output at the end.
The commissioning engineer then only needs to accept them at the inputs of the CLM block.
If the DCC_LoadDependFieldweak_1 block is also required on the crane, you do not need to
repeat the measurements. This block determines automatically the appropriate inputs for
both DCC blocks.
Two measuring steps must be performed during the commissioning. These two measuring
steps should be executed together without a significant pause in between.
The following inputs have already been linked in the standard projects. If this block was
added later, these links must be augmented in accordance with the following table.
Basic Technology
Operating Instructions, 06/2012 439
Commissioning
8.11 Continuous load measurement (CLM)
Prerequisites:
● The ropes are tightened and the container spreader / grab is fully mounted.
● Limit switches, rated and maximum velocity should be set and all standardizations
completed. The crane must be available for several test runs.
● Container spreader / grab must not accept any load and all measurements must be
performed without load.
● boStartAutoSetting FW = TRUE → FB_AutoSettingFW is enabled
● boAutoSettingFWStep10 = TRUE → first measuring step is started.
● boAutoSettingFWStep20 = FALSE
Basic Technology
440 Operating Instructions, 06/2012
Commissioning
8.11 Continuous load measurement (CLM)
Procedure:
Perform ten uninterruptible hoisting operations. The rated velocity must be reached for each
hoist operation and travel constant for the time "r64MinTimeConstantDrive".
"r64MinTimeConstantDrive" is available as output value.
A hoist operation is considered to have completed successfully when the
"boSingleMeasFinished" output changes to TRUE. The hoist can then be lowered again in
order to start a new hoist operation. If this output does not change to TRUE in time, the hoist
operation was not valid. An intervention is not currently required and a new hoist operation
can be started. After ten valid hoist operations, the "boStep10MeasFinished" output is set to
TRUE.
If "boSingleMeasFinished" never changes to TRUE, the required sampling operations during
the positive or negative acceleration or during the constant travel will not be reached. A
check should be made whether constant travel is made long enough (at least
"r64MinTimeConstantDrive" ) and possibly decrease or increase the measurement window
"r64UpLimitMeasRange"/"r64LowLimitMeasRange" slightly.
If measuring step 1 must be repeated, you can use "boReset" to delete the measurement.
Ensure, however, that "boAutoSettingFWStep10" is set to TRUE.
Note
If "boReset" is pressed for three seconds, all measuring steps will be reset irrespective of
"boAutoSettingFWStep10/20".
Procedure:
Perform ten uninterruptible hoist operations again. The same conditions from measuring step
1 now also apply to measuring step 2. After ten valid hoist operations,
"boStep20MeasFinished" is now set to TRUE.
Basic Technology
Operating Instructions, 06/2012 441
Commissioning
8.11 Continuous load measurement (CLM)
If measuring step 2 must be repeated, you can use "boReset" to delete the measurement.
Ensure, however, that "boAutoSettingFWStep20" is set to TRUE.
Note
If "boReset" is pressed for three seconds, all measuring steps will be reset irrespective of
"boAutoSettingFWStep10/20 ".
You should avoid any unnecessary waiting times in the associated measuring steps. If the
waiting time exceeds three minutes, the associated measuring step is deleted and must be
repeated. This serves to ensure that the measurements are performed with a constant motor
temperature.
Completion:
If "boStep10MeasFinished" and "boStep20MeasFinished" are both TRUE, the following
outputs are not equal to 0. The values can now be accepted for CLM (and, if required, also
for LDFW).
● r64AutoFrictionCurrent
● r64AutoFactAccCurrRotMa
● r64AutoFactAccCurrentLoad
● r64Eta_LDFW (only for the LDFW block)
● r64Eta_lift_CLM (only for the CLM block)
● r64Eta_drop_CLM (only for the CLM block)
If a value is present at the "r64MinLoad" and "r64MaxLoad" input, the following output values
are also output automatically: They are not necessary for CLM. If LDFW is not used, the two
"r64MinLoad" and "r64MaxLoad" inputs can be set to 0. The following outputs then also
return 0:
● r64X1ParameterLoad
● r64Y1ParameterVelocity
● r64X2ParameterLoad
● r64Y2ParameterVelocity
● r64X3ParameterLoad
● r64Y3ParameterVelocity
● r64X4ParameterLoad
● r64Y4ParameterVelocity
● r64X5ParameterLoad
● r64Y5ParameterVelocity
● r64X6ParameterLoad
● r64Y6ParameterVelocity
Basic Technology
442 Operating Instructions, 06/2012
Commissioning
8.11 Continuous load measurement (CLM)
Note
After completion of all measurements, you can delete a specific measuring step. This must
be activated beforehand (Step10 or Step20). "boReset" can then be used to delete the
activated measuring step. This does not affect the other measuring step and the outputs are
formed again taking the two measuring steps into account. This means both measuring
steps do not need to be repeated in the event of an error. Do not press "boReset" longer
than three seconds, otherwise the two measuring steps will be reset.
Note
Finally, a plausibility check should also be performed. Empirical values can be found at
Table 8-10 Default assignments of setting connections prior to commissioning for gear stage
1 (Page 436).
DCC_ContLoadMeasurement
GQ
0 0RWRU0 )ULFWLRQN $5RW෬
GW
/RDGฏ0 /RDG
GQ
N $/RDG෬
GW
Setting instructions:
Move the empty drum at constant base speed (nrated) in the hoisting direction. Positive values
must be passed accordingly to inputs "rTorqueNominal", "rSetpointTorqueHG" and
"rSetpointTorqueCG". You can set the friction torque by means of the friction characteristic
("rY1_Friction_SGST1" to "rY10_Friction_SGST1"). The friction torque can be displayed as a
percentage via "rSetpointTorquePercent".
Basic Technology
Operating Instructions, 06/2012 443
Commissioning
8.11 Continuous load measurement (CLM)
DCC_ContLoadMeasurement_1
You can set the friction torque by means of the friction characteristic ("rY1_Friction" to
"rY6_Friction"). The friction torque can be displayed as a percentage via
"rSetpointTorquePercent".
Note
Always enter the friction torque value at rated speed in the friction characteristic for the
commissioning phase. This makes the rest of the commissioning procedure easier. You can
assign friction torques to the relevant speeds later on.
GQ
0 0RWRU0 )ULFWLRQN $5RW෬
GW
/RDGฏ0 /RDG
GQ
N $/RDG෬
GW
Setting instructions:
Note
100% must be reached at output "rAccelerationMeanValue" for every measurement;
otherwise you will need to make adjustments using inputs "rDifferentiationTimeCons" and
"rSmoothTime_dn_dt".
Note
DCC_ContLoadMeasurement_1
After every acceleration attempt, rated speed 100% should be reached at output
"rAccel_MVS", otherwise you must make adjustments using the inputs
"rDifferentiationTimeCons" and "rSmoothTime_dn_dt".
Basic Technology
444 Operating Instructions, 06/2012
Commissioning
8.11 Continuous load measurement (CLM)
● Verify that you have identified the correct parameter setting by performing several
acceleration trial runs.
● When doing so, remember the following formula:
GQ
0 0RWRU0 )ULFWLRQN $URW෬
GW
Note
At the beginning, the factor at the input of block "rFact_AccTorque_RotMass1" or
"rFact_AccTorque_RotMass" for DCC_ContLoadMeasurement_1 is still 0. Enter the value
of output "rMm_minus_JBrot_Mf" as the start value. Then adjust the factor
"rFact_AccTorque_RotMass1" or "rFact_AccTorque_RotMass" for the
DCC_ContLoadMeasurement_1 by iteration until the output "rMm_minus_JBrot_Mf"
shows a value of 0.
NOTICE
After you have made this setting, you can attach the ropes.
GQ
0 0RWRU0 )ULFWLRQN $5RW෬
GW
/RDGฏ0 /RDG
GQ
N $/RDG෬
GW
Setting instructions
● Set the parameters "rEfficiency_eta_drop" and "rEfficiency_eta_lift" to 100%.
● Approximately the rated load = maximum load should be suspended on the ropes.
● Accelerate up to rated speed in the hoisting direction.
● On completion of the measurement, parameter "rLoad_eta_plus_Friction" should match
as closely as possible the value that the drive draws (rSetpointTorquePercent) after the
acceleration phase (only in the hoisting direction) when the load is in a steady-state.
● Try various values with the "rFact_AccTorque_Load1" or "rFact_AccTorque_Load"
parameter for the DCC_ContLoadMeasurement_1.
● Verify that you have identified the correct parameter setting by performing several
acceleration trial runs.
Basic Technology
Operating Instructions, 06/2012 445
Commissioning
8.11 Continuous load measurement (CLM)
/RDGOLIWLQJ/RDGGURSSLQJ
/RDGDYHUDJH
/RDGDYHUDJH
U(IILFLHQF\BHWDBOLIW ෬
/RDGOLIWLQJ
/RDGDYHUDJH
U(IILFLHQF\BHWDBGURS ෬
/RDGGURSSLQJ
As a result, the efficiency correction value will always be ≤ 100% for hoisting and ≥ 100 % for
lowering. This will be illustrated in the following example calculation:
Example calculation
U(IILFLHQF\BHWDBOLIW ෬
U(IILFLHQF\BHWDBGURS ෬
Basic Technology
446 Operating Instructions, 06/2012
Commissioning
8.11 Continuous load measurement (CLM)
Setting instructions:
● Move the rated load in hoisting direction and then in lowering direction at constant rated
speed (nrated motor), provided
rEfficiency_eta = 100% (default)
● Repeat your measurement several times. Note down the mean value of
"rLoadCurrent_with_etaHoisting" and "rLoadCurrent_with_etaLowering".
● Calculate the rEfficiency_eta corresponding to the specified example.
Note
Connect a positive edge at input "boResetLoadCurrent" after every measurement.
● Check the settings by hoisting and lowering the rated load (up to the rated speed) several
times. In so doing "rLoadCurrent_with_eta" and "rLoadWithNormFactor" should no longer
change when hoisting and lowering.
● Adapt the factor rEfficiency_eta (approx. 115 %) to keep the change between hoisting
and lowering as low as possible.
Note
When lowering, if a load higher than the actual load is determined, a higher value of
rLoadCurrent_with_eta while lowering with respect to hoisting ensures that the drive is not
overloaded when braking the load.
This setting is only necessary for the case that the load should be determined while lowering
(e.g. when starting with lowering). For normal applications, it is sufficient if the determined
load is only re-calculated again if the load has changed.
Basic Technology
Operating Instructions, 06/2012 447
Commissioning
8.11 Continuous load measurement (CLM)
The homing signal is routed to a memory block (TRK) by means of an edge evaluation
(ETE). As a rule, the grab should be homed to the highest position. The top position and,
thus, the maximum position value are saved in the memory block together with the homing
signal. When the grab is lowered, the position decreases, since lowering equates to negative
velocity. The current position is now subtracted from the maximum position (SUB) and the
result is the current rope length.
Note
The description above is simply an example; it is not the only method of determining the
current rope length.
Basic Technology
448 Operating Instructions, 06/2012
Commissioning
8.11 Continuous load measurement (CLM)
W W
U/RDG1RUP)DFWRU
Basic Technology
Operating Instructions, 06/2012 449
Commissioning
8.11 Continuous load measurement (CLM)
DCC_ContLoadMeasurement_1
The "boGrabTouchDown" output will change to TRUE if the inputs of the DCC block fulfill the
following conditions:
● "rActualRopeLength" is greater than the value entered in "rUnderWater" AND
● "rLoad" is less than the value entered in "rGrabWeight" AND
● the absolute value of "rActualVelocity" is greater than the value entered in
"rSpeedAverLimitValueMon" AND
● the "rOnDelayTimeLimitMonitor" timer has expired AND
● "rActualVelocity" is less than zero (lowering).
Basic Technology
450 Operating Instructions, 06/2012
Commissioning
8.12 Start pulse
8.12.2 Commissioning
The block DCC_StartPulse can also be tested during commissioning in just a few steps
without saving the I component, whereby the relevant value is sent by the S7.
The setpoint is sent to SIMOTION in PZD 7 "Setpoint for start pulse_S7" (see SIMATIC S7 →
SIMOTION (Page 307)). This value can be connected to the input "rTorqueValueRetain" of
the DCC block StartPulse in the DCC chart under the name "..._startpulse_receive". It is,
however, advisable to connect a numerical selector switch in front of this input. This enables
the user to toggle between the saved I component and the setpoint from the S7.
When commissioning of the block is complete, the numerical selector switch should be
cleared again and the input "rTorqueValueRetain" connected to the variable
"…_i_component_for_dcc".
Basic Technology
Operating Instructions, 06/2012 451
Commissioning
8.12 Start pulse
● boEnableStartpulse
● boEnableBrakeStoreValue
● boSinamicsComReady
A FALSE signal at "boSinamicsComReady" resets the output signal "boSetTorque" if the
pulse time has not yet elapsed. If the brakes issue the checkback signals "Brake open" and
"Brake closed", the inputs "boCheckbackBrakeOpened" and "boCheckbackBrakeClosed"
can (X? Note Chen: "The two variables are no longer present for Block_1. This page should
be checked and revised. We now have a "boCommandOpenBrake" input, please use it) be
provided at the start pulse (only DCC_StartPulse, not DCC_Startpulse_1). If the command
"Close brake" is issued, followed by the checkback signal "Brake closed", or if "Open brake"
is present, followed by "Brake open", this will also cause the output signal "boSetTorque" to
be reset.
--- The following description is valid only for DCC_StartPulse not DCC_Startpulse_1 ---
The command "close brake" can also be derived from the command "open brake" (negated),
if this does not come from the S7. In this particular case, a time delay is required for the
"close brake" command. A PDE DCC block can be used for this purpose. The call cycle
(T2 ≙ IPO cycle, e.g. 9 ms) should be selected as minimum delay time.
If checkback signals are used, they must actually come from the brakes, and not be
generated indirectly via the control commands "Open brake" and "Close brake", as in this
case the torque is only present during the period between setting the command "Open
brake" and when the checkback signal "Brake opened" is received. This prevents the load
from sagging while the brake is opening.
If no checkback signals are present, the two inputs "boCheckbackBrakeOpened" and
"boCheckbackBrakeClosed" must both be set to FALSE. This causes the output signal
"boSetTorque" to be reset either when a new close command is issued or, at the latest,
when the pulse time "rPulseTime" has elapsed.
WARNING
Incorrect start pulse values can lead to injury as well as material damage.
Basic Technology
452 Operating Instructions, 06/2012
Commissioning
8.13 Temporary travel at overspeed
CAUTION
Basically, the maximum speed should not be increased by any more than 10 percent; this is
because increasing the speed puts mechanical and electrical components under more
strain and may result in the system sustaining damage.
During commissioning it may be necessary to run the drive at a speed that is faster than the
maximum motor speed in order to check mechanical limits and, if required, to adjust them or
to test with the overspeed switch.
There are two situations in which the maximum speed may need to be increased:
1. The maximum motor speed (p0322) is preset to 0.0.
No further consideration has to be given to the maximum motor speed (p0322) in this
case. The maximum speed is increased in parameter p1082, with the value rising by 10
percent. Since the S7 defines the speed setpoint as a percentage value referred to the
reference speed (p2000), this needs to be increased by 10 percent too.
2. The maximum motor speed (p0322) is preset to a value greater than 0.0.
The maximum motor speed (p0322) and the maximum speed (p1082) must be increased
by 10 percent. Please note that parameter p1082 cannot be greater than p0322. The
reference speed (p2000) has to be increased by 10 percent too.
Both cases do not require any changes to be made to the technology objects, provided that
they have previously been set to the correct reference values for the system. When the
maximum motor speed (p0322) is changed, alarm "Incorrect friction characteristic" may
appear. Make sure that the value in p0322 is greater than or equal to the friction
characteristic p3820 to p3829.
If travel with overspeed is not to be used any longer, parameters p0322, p1082, and p2000
must be reset to the correct values.
Basic Technology
Operating Instructions, 06/2012 453
Commissioning
8.14 Grab Ship Unloader (GSU)
8.14.2 Procedure
The procedure for commissioning a grab crane (grab ship unloader or GSU) is described in
bullet points and applies equally to all types of commissioning.
Differences between GSU cranes and grab dredgers are highlighted.
Basic Technology
454 Operating Instructions, 06/2012
Commissioning
8.14 Grab Ship Unloader (GSU)
Note
Instead of setting parameter p1820[0] to "On", you can invert the electric power cable at
the motor and leave p1820[0] set to "Off". The direction can also be reversed via the
reciprocal swapping of two phases. For reasons of safety, however, it is more advisable
to reverse the direction by means of the electric power cable.
Similarly, the direction should preferably be reversed on the encoder via the hardware
and not via the software.
Figure 8-46 Left with no correction (incorrect), right with correction (correct)
Basic Technology
Operating Instructions, 06/2012 455
Commissioning
8.14 Grab Ship Unloader (GSU)
Note
In the case of data sets (DDS/MDS) which have already been set up, these measurements
must be repeated.
When taking the measurements, pay attention to the data set which is currently active
(r0051).
For further information on stationary and rotating measurements, see the section titled
SINAMICS drive object (Page 400).
Basic Technology
456 Operating Instructions, 06/2012
Commissioning
8.14 Grab Ship Unloader (GSU)
Note
You can also set the reference parameters using a script, see General (Page 361),
"Script files" section.
Note
You can also set the reference parameters using a script, see General (Page 361),
"Script files" section.
If the drive has an encoder, the reference speed must be converted into [mm/s]. The formula
for this is as follows:
QXPEHURIORDGUHYROXWLRQV PLQ UDWHGVSHHG
PP PP
9 V ෬ V ෬GLVSHUVSLQGOHUHYROXWLRQ URW
QXPEHURIPRWRUUHYROXWLRQV PLQ
For encoderless drives, which are often trolley drives on grab dredgers and small GSU
cranes, the reference speed must be converted into rpm. The formula for this is as follows:
QXPEHURIORDGUHYROXWLRQV PLQ
9 PLQ ෬ UDWHGVSHHG PLQ
QXPEHURIPRWRUUHYROXWLRQV PLQ
The following three variables can be found in the axes under "Configuration data".
Basic Technology
Operating Instructions, 06/2012 457
Commissioning
8.14 Grab Ship Unloader (GSU)
5RRW)XQFWLRQ
UB&KDQJH2YHU3RLQW
)LQDO6HWSRLQW
Note
Experience has shown that the value 0.5 (default value for "r64KP_ChangeOverPoint")
works very well in practice.
Basic Technology
458 Operating Instructions, 06/2012
Commissioning
8.14 Grab Ship Unloader (GSU)
The gain factor defines the length of the constant velocity phase and the start of the
deceleration phase. The specified ramp-up time is not changed, but only the ramp-down
time. As a consequence, the total closing time can be influenced.
NOTICE
The slope of the deceleration ramp determined by the KP variable must be set so that the
predefined ramp-down time (set by the higher-level controller, e.g. S7) is not undershot.
This is to stop the drive overshooting the target.
If "r64KP_ChangeOverPoint" is too small, the drive will go straight into the deceleration
phase during ramp-up without having reached the constant velocity phase because the KP
factor is too weak and the drive must start to brake earlier.
If the KP factor is optimized in terms of time, the deceleration ramp will match the predefined
deceleration ramp. In this context, it is important that the predefined deceleration is not
undershot. This is to stop the drive overshooting the target. The predefined ramp-down time
cannot be increased further without adapting the KP factor accordingly.
Basic Technology
Operating Instructions, 06/2012 459
Commissioning
8.14 Grab Ship Unloader (GSU)
Setting a KP factor which is too high shortens the ramp-down time and makes the ramp
steeper than would be the case with the predefined ramp-down time. The drive will
overshoot the target in this case.
Note
Ensure that the grab does not close suddenly but steadily; if this is not the case, the KP
factor is too large.
8.14.2.9 Deactivating control blocks in the DCC for the time being
At the beginning, deactivate the DCC_SlackRopeControl (AppStw2 Bit 4) and
DCC_CurrentEqualControl (AppStw2 Bit 8) and DCC_Startpulse (AppStw1 Bit 2) blocks.
These blocks must be activated again at a later time; as long as they are not adjusted
correctly, they can cause faults. Only if the holding gear and closing gear operate together at
the same time: Selectively switch-in the DCC blocks.
Basic Technology
460 Operating Instructions, 06/2012
Commissioning
8.14 Grab Ship Unloader (GSU)
8.14.2.11 Settings for load-dependent field weakening and continuous load measurement
If the two DCC blocks DCC_LoadDependingFieldWeak and DCC_ContLoadMeasurement
are used, some values such as the frictional torque and acceleration torque of the rotating
loads must be determined before the ropes are attached (see the sections titled Field
weakening (LDFW) (Page 414) and Continuous load measurement (CLM) (Page 434)). As a
rule, only DCC_LoadDependingFieldWeak is used for standard GSU cranes. Grab dredgers
are not usually operated with the load-dependent field weakening function active. However,
a continuous load measurement is performed so that the dredger operator knows whether
the grab is full and when the grab has touched down. Only once the relevant values have
been determined can the ropes be attached.
Re continuous load measurement:
At the start of the measurements, set "rLoadNormFactor" to 1.0 and
"rCompensationRopeFactor" to 0.0 (default values).
The system-specific settings for these two inputs should not be made until the end, because
making them at the beginning would distort the results; see the section titled Continuous load
measurement (CLM) (Page 434) for more information.
Note
Definition of the "Grab open" and "Grab closed" positions:
• Grab open: The positional difference between holding gear and closing gear is ZERO.
• Grab closed: The positional difference between holding gear and closing gear is a
positive value.
Hoisting or lowering the holding gear and closing gear with an open grab
The tables below show how the control words are set for hoisting and lowering with the grab
open. Hoisting equates to a positive setpoint and lowering to a negative one. As hoisting and
lowering involves movement of both the holding gear and the closing gear, all enables for
both drives must be available in control word 1.
Figure 8-53 Control word 1 for hoisting and lowering with an open grab
Basic Technology
Operating Instructions, 06/2012 461
Commissioning
8.14 Grab Ship Unloader (GSU)
Contrary to control word 1, the setpoint input for hoisting and lowering in PZD2 is different.
To hoist the open grab, only the holding gear needs to move in the positive direction. The
closing gear uses the velocity setpoint of the holding gear for the purpose of moving. This
means that a setpoint does not have to be entered for the closing gear.
The "Grab open" signal is only fed back in application status word 1, bit 4 of the closing gear.
To lower the grab, the setting of control word 1 remains the same. A negative setpoint for the
holding gear must be entered in PZD2. Thus, hoisting and lowering with the grab open only
differ in terms of the setpoint input for the holding gear.
Basic Technology
462 Operating Instructions, 06/2012
Commissioning
8.14 Grab Ship Unloader (GSU)
Figure 8-56 Control word 1 for opening and closing the grab in the air
To close the grab, the closing gear must be moved with a positive setpoint. At the start of the
closing operation, the checkback signal in application status word 1 indicates that the grab
has still not been closed.
Basic Technology
Operating Instructions, 06/2012 463
Commissioning
8.14 Grab Ship Unloader (GSU)
Basic Technology
464 Operating Instructions, 06/2012
Commissioning
8.14 Grab Ship Unloader (GSU)
Basic Technology
Operating Instructions, 06/2012 465
Commissioning
8.14 Grab Ship Unloader (GSU)
Basic Technology
466 Operating Instructions, 06/2012
Commissioning
8.14 Grab Ship Unloader (GSU)
Use the slack rope controller to close the grab once it has touched down.
If the grab is to take up a load (e.g. bulk goods), the open grab is set down on the material
and then closed (positive setpoint at the closing gear). During closing, the grab plunges into
the material; this can cause slackness in the rope at the holding gear. This slackening of the
rope can be compensated by enabling the slack rope controller (AppSTW2 bit 4). As the
holding gear drive moves during compensation, the enables have to be available (as
illustrated in the figure below).
Figure 8-60 Activation of the grab for closing with slack rope controller
● If the holding gear needs to be moved independently of the closing gear, then
synchronous operation must be deselected in the holding gear (AppSTW2 bit 7 = false).
● To move the closing gear independently of the holding gear, deselect slave operation in
the closing gear or activate grab change (AppSTW2 bit 13 = false or AppSTW2 bit 9 =
true).
● It is only advisable to operate the holding gear and closing gear independently of one
another during commissioning and when grabs are being changed.
Basic Technology
Operating Instructions, 06/2012 467
Commissioning
8.14 Grab Ship Unloader (GSU)
Basic Technology
468 Operating Instructions, 06/2012
Commissioning
8.14 Grab Ship Unloader (GSU)
With the slack rope controller you can store a characteristic curve of how the holding gear
should move in relation to the current, or you can also use the integrated proportional
controller, which is the most frequently used option. Here too, the gain "rp_gain" must be set
in such a way that the ropes are pulled tight and are free of vibration, but the closing gear is
not prevented from sagging. Experience has shown that 1 to 2% is a good value for the
comparison value "rCompareValueSetpointSRC". This is just a guide value, however, which
may be set lower or higher, depending on how the slack rope controller is to function.
Note
The current compensatory controller and the slack rope controller must not both be active at
the same time.
Basic Technology
Operating Instructions, 06/2012 469
Commissioning
8.15 Ship-to-shore tandem crane (STS tandem)
8.15.2 Interconnections
In order to give a clearer picture of the tasks associated with each drive, as well as the
"master" and "slave" designations, in tandem mode there are also the "tandem master" and
"tandem slave" designations. These describe the connection between the two masters. The
master selected as the tandem master takes on the master role. The other master, which
then has to be selected as the tandem slave, follows the tandem master.
The figure below depicts the exact relationships between the drives in tandem mode.
Basic Technology
470 Operating Instructions, 06/2012
Commissioning
8.15 Ship-to-shore tandem crane (STS tandem)
Fixed gear connections are needed for synchronous operation between the drives. A gear
connection is not required for master-slave operation. The table below shows the six gears
and their motion inputs.
A connection is configured for each of the position and velocity setpoints from Hoist_1 to
Hoist_2 and from Hoist_3 to Hoist_4. The connection for tandem mode is implemented via
Tandem_Position and Tandem_Velocity.
Basic Technology
Operating Instructions, 06/2012 471
Commissioning
8.15 Ship-to-shore tandem crane (STS tandem)
The motion outputs of the gears are interconnected with the motion inputs of the axes.
Figure 8-62 Diagram showing position synchronous operation with hoist 1 and hoist 2
Basic Technology
472 Operating Instructions, 06/2012
Commissioning
8.15 Ship-to-shore tandem crane (STS tandem)
The superimposed movement to establish and cancel an offset can be performed both by
the tandem master as well as by the tandem slave. However, regarding communication,
nothing changes. For the tandem-master, only bit 3 "boTandemMode" and bit 4
"boSlaveTandemMode" are required. For the tandem-slave, all six bits are required (bit 0 –
bit 5).
Note
All offset and equalization travels are controlled by the tandem-master and tandem-slave.
This is the reason that for the tandem-slave all control bits are required, and for the tandem-
master, only bit 3.
Basic Technology
Operating Instructions, 06/2012 473
Commissioning
8.15 Ship-to-shore tandem crane (STS tandem)
The master drive must always monitor the feedback signals from the slave. This means:
Hoist 1 (tandem-master) monitors the signals from hoist 2; hoist 3 (tandem-slave) monitors
the signals from hoist 4. This means control word 2, bit 8 must be set to TRUE for hoist 1
and hoist 3.
In addition, control word 2 bit 9/10 must be TRUE for hoist 1 (tandem-master) because this
as the tandem-master must monitor the tandem-slave (hoist 3) and the tandem-slave-slave
(hoist 4).
The checkback signals (SIMOTION → S7) are listed in the table below.
The following input signals must be set for the tandem-slave. For this purpose, the inputs are
already interconnected with unit-global variables and can therefore be sent in the MCC unit
from the tandem-slave (see the following diagram as example):
Basic Technology
474 Operating Instructions, 06/2012
Commissioning
8.15 Ship-to-shore tandem crane (STS tandem)
Basic Technology
Operating Instructions, 06/2012 475
Commissioning
8.15 Ship-to-shore tandem crane (STS tandem)
8.15.4 Procedure
Basic Technology
476 Operating Instructions, 06/2012
Commissioning
8.15 Ship-to-shore tandem crane (STS tandem)
Note
If the tandem-master has reached its target position, then an offset can still always be
traveled using the tandem-slave. The following applies:
End position, tandem-slave = end position, tandem-master + maximum offset
The difference between the end position of the tandem-master and the limit switch should be
at least the value of the maximum tandem offset.
Note
Both drives must always be switched on, even if at standstill only one drive should travel an
offset. For instance, if the tandem-master should travel through an offset at standstill, then
the tandem-master and the tandem-slave must be activated and all enable signals set.
However, for the tandem-slave, the brakes can be kept closed.
Basic Technology
Operating Instructions, 06/2012 477
Commissioning
8.15 Ship-to-shore tandem crane (STS tandem)
Note
For closed-loop speed controlled tandem mode (SPEED_CONTROLLED operating mode),
for homing or when traveling through an offset, the position isn't so precisely approached as
for position-controlled tandem mode (MANUAL operating mode). Deviations of up to a
millimeter can occur in closed-loop speed controlled operation.
Note
If the tandem master and the tandem slave are traveling with the maximum velocity, they
cannot travel any faster to compensate for an offset. Instead, the drive that is leading, must
be braked in order to compensate the offset.
Note
In the tandem mode, all checkback signals are sent to the FB_OperationMode block of
master 1. The following name convention is observed when reading into FB_OperationMode
of master 1:
• Slave 1:
bocheckbackSlaveErrorTO, etc.
r64checkbackSlaveoffsetSave
• Master 2:
bocheckbackSlaveTandemErrorTO, etc.
r64checkbackSlaveTandemoffsetsave
• Slave 2:
bocheckbackSlaveSlaveTandemErrorTO, etc.
r64checkbackSlaveSlaveTandemoffsetsave
8.15.6 Offset mode between tandem master and tandem slave (TandemMode)
In tandem mode, the four hoisting-gear motors or both masters and slaves are controlled via
a master switch. This is the master switch of the tandem master. Direction signals (STW2
Bit 0/1) are available for offset travel; these superimpose a positive or negative velocity
setpoint in addition to the basis motion.
An offset can be created or canceled (on the fly, if necessary) between the tandem master
and the tandem slave. In order to control the offset on the fly during operation, STW2 bit 5
should be used to define whether the tandem-master or the tandem-slave is allocated the
velocity superimposition. The set, maximum velocity also cannot be exceeded for velocity
superimposition. If the tandem-master and tandem-slave of already traveling at the
maximum velocity, then one of the two must be slowed down if an offset is to be traveled
through.
Basic Technology
478 Operating Instructions, 06/2012
Commissioning
8.15 Ship-to-shore tandem crane (STS tandem)
The maximum offset between the two must be defined during the configuration or
commissioning phase. The offset that has been set is not exceeded and can be traveled
through by either the tandem-master or tandem-slave.
The offset is increased until the maximum offset is reached or until the direction bit (STW2
Bit 0/1) is no longer selected.
A positive edge of the "boTandemHoming" signal causes the offset that has been created to
be canceled again automatically.
The action remains active until
● The motion task is complete and the offset is zero
or
● Homing is interrupted by the direction signal (STW2 bit 0/1),
or
● Homing is interrupted by a new homing signal.
Note
If the load-dependent field weakening is used, this then specifies a maximum velocity
dependent on the load. If the maximum velocity is reduced because of the load that is
already being moved by the master, the slave must not move faster. The permissible velocity
is monitored and, if necessary, the supplementary velocity for tandem or offset limited
accordingly.
If no load-dependent field weakening is used, the "boCheckLDFWLimitation" input must be
set to FALSE.
Note
The tandem mode and offset mode mutually exclude one another. If hoist 1 and hoist 3 are
moved in the tandem mode, then it is not permissible that the respective slaves, hoist 2 and
hoist 4 operate in the offset mode
Basic Technology
Operating Instructions, 06/2012 479
Commissioning
8.15 Ship-to-shore tandem crane (STS tandem)
Note
If the load-dependent field weakening is used, this then specifies a maximum velocity
dependent on the load. If the maximum velocity is reduced because of the load that is
already being moved by the master, the slave must not move faster. The permissible velocity
is monitored and, if necessary, the supplementary velocity for tandem or offset limited
accordingly.
If no load-dependent field weakening is used, the "boCheckLDFWLimitation" input must be
set to FALSE.
Interface description
Offset mode is essentially controlled with the three bits described below.
Basic Technology
480 Operating Instructions, 06/2012
Commissioning
8.15 Ship-to-shore tandem crane (STS tandem)
Basic Technology
Operating Instructions, 06/2012 481
Commissioning
8.15 Ship-to-shore tandem crane (STS tandem)
Basic Technology
482 Operating Instructions, 06/2012
Possibility of adaptation 9
The possibility of adaptation of the standard project is described in the following using as an
example an expansion from one trolley to two trolleys. The entire connection is described in
full detail for the MCC level and DCC level in Ref. [11].
Then add the addresses for SIMOTION – SINAMICS communication into the hardware
configuration; see Communication, SIMOTION D – SINAMICS (internal SIMOTION D
communication) (Page 323).
Basic Technology
Operating Instructions, 06/2012 483
Possibility of adaptation
9.2 Inserting a technology object and a fixed gear
Basic Technology
484 Operating Instructions, 06/2012
Possibility of adaptation
9.2 Inserting a technology object and a fixed gear
Basic Technology
Operating Instructions, 06/2012 485
Possibility of adaptation
9.2 Inserting a technology object and a fixed gear
Then connect the gears to the motion input of the slave axis (Trolley_2 in this case).
Basic Technology
486 Operating Instructions, 06/2012
Possibility of adaptation
9.3 Creating input and output addresses
The 16 process data items used for exchanging data between the S7 and SIMOTION must
be set up in the I/O container (see Configuring the connection (Page 297)).
Note
Observe the following information when inserting variables into the I/O Container: The newly
inserted variables must be assigned to the strategy "Substitute value". Furthermore, the
addresses for S7 – SIMOTION communication also have to be set in NetPro. The address
1384 is reserved for Trolley_2.
Basic Technology
Operating Instructions, 06/2012 487
Possibility of adaptation
9.3 Creating input and output addresses
Basic Technology
488 Operating Instructions, 06/2012
Possibility of adaptation
9.4 Setting up the program
Figure 9-9 Copying, pasting, and renaming the MCC program Gantry_2
Basic Technology
Operating Instructions, 06/2012 489
Possibility of adaptation
9.4 Setting up the program
Basic Technology
490 Operating Instructions, 06/2012
Possibility of adaptation
9.4 Setting up the program
● Open the MCC program "trolleymcc_2_s", the module "Receive S7", and then the
Variable assignment. Change all variable names from "Gantry_2_xxx" to "Trolley_2_xxx".
● This also needs to be done for all other user programs and instances of function blocks.
Basic Technology
Operating Instructions, 06/2012 491
Possibility of adaptation
9.4 Setting up the program
● Finally, link the user program "Trollp_2" to the execution system. This means that all user
programs are executed in a cyclic task. The Trollp_2.trolleymcc_2_f and
Trollp_2.trolleymcc_2s programs are called in different tasks. Trollp_2.trolleymcc_2_f
must be processed twice as fast as Trollp_2.trolleymcc_2_s.
● Trollp_2.trolleymcc_2_s and Trollp_2.trolleymcc_2_f in the execution system
Note
If, in the case of the DCC block, the inputs and outputs which are not interconnected need to
be visible in the symbol browser of SIMOTION SCOUT, they must be published by inserting
an @ character in the comment line of the required input or output (Ref. [10], Chapter
3.1.3.4).
Proceed as follows for DCC to generate and integrate the Trolley_2 DCC chart:
● Select "Gantd_2" and click on it with the right-hand mouse key.
● Select Copy from the context menu.
● Select Programs and click on it with the right-hand mouse key.
Basic Technology
492 Operating Instructions, 06/2012
Possibility of adaptation
9.4 Setting up the program
Figure 9-13 Create the DCC Trolld_2 (Copy, Paste und Rename)
Basic Technology
Operating Instructions, 06/2012 493
Possibility of adaptation
9.4 Setting up the program
Proceed in the same way with all variables that were taken from the MCC program Gantp_2.
You can identify the MCC variables in the DCC by the fact that they have a blue triangle by
the variable name.
After having interconnected the I/O of the DCC blocks with the correct MCC variable, check
the runtime system to determine whether all DCC blocks were integrated in time slice T3 in
the DCC chart folder of Trolld_2.
Basic Technology
494 Operating Instructions, 06/2012
Possibility of adaptation
9.4 Setting up the program
Finally, the Compile button from the symbol bar must be selected. The Compile window
opens. In this window, click on the button OK.
Note
You can also open another standard project, which contains Trolley2; then first copy Trollp_2
and then Trolld_2.
Basic Technology
Operating Instructions, 06/2012 495
Possibility of adaptation
9.4 Setting up the program
Basic Technology
496 Operating Instructions, 06/2012
Standard applications 10
The standard applications are arranged according to crane type. This means that we are
offering an initial basis both for ready-to-run and ready-to-apply applications.
Basic Technology
Operating Instructions, 06/2012 497
Standard applications
10.1 STS crane (ship-to-shore)
Table 10- 4 Linking the tandem digital output signals in SINAMICS Integrated CU
Table 10- 5 Linking the tandem digital output signals on SINAMICS CX32-2 CU
Basic Technology
498 Operating Instructions, 06/2012
Standard applications
10.1 STS crane (ship-to-shore)
Quantity structure
Note
"Standard" for switching means: The user does not need to become active explicitly.
"Application" for switching means: The user must create the drive data sets and determine
the selection using the function modules.
See Technology object switchover (Page 214), "External TO switchover" section
Basic Technology
Operating Instructions, 06/2012 499
Standard applications
10.1 STS crane (ship-to-shore)
Basic Technology
500 Operating Instructions, 06/2012
Standard applications
10.1 STS crane (ship-to-shore)
Description of functions
For information about each function module, refer to Chapter Function modules (Page 37) .
Commissioning
For information on commissioning the standard application, refer to Chapter Commissioning
(Page 351)
Basic Technology
Operating Instructions, 06/2012 501
Standard applications
10.2 RMG Crane (Rail-mounted Gantry)
Quantity structure
Basic Technology
502 Operating Instructions, 06/2012
Standard applications
10.2 RMG Crane (Rail-mounted Gantry)
Basic Technology
Operating Instructions, 06/2012 503
Standard applications
10.2 RMG Crane (Rail-mounted Gantry)
Description of functions
For information about each function module, refer to Chapter Function modules (Page 37)
Commissioning
For information on commissioning the standard application, refer to Chapter Commissioning
(Page 351)
Basic Technology
504 Operating Instructions, 06/2012
Standard applications
10.3 RTG crane (Rubber-Tired Gantry)
Quantity structure
Basic Technology
Operating Instructions, 06/2012 505
Standard applications
10.3 RTG crane (Rubber-Tired Gantry)
Description of functions
For information about each function module, refer to Chapter Function modules (Page 37)
Commissioning
For information on commissioning the standard application, refer to Chapter Commissioning
(Page 351)
Basic Technology
506 Operating Instructions, 06/2012
Standard applications
10.4 GSU (grab ship unloader) crane
Quantity structure
Basic Technology
Operating Instructions, 06/2012 507
Standard applications
10.4 GSU (grab ship unloader) crane
Note
"Standard" for switching means: The user does not need to become active explicitly.
"Application" for switching means: The user must create the drive data sets and determine
the selection using the function modules.
See Technology object switchover (Page 214), "External TO switchover" section
Basic Technology
508 Operating Instructions, 06/2012
Standard applications
10.4 GSU (grab ship unloader) crane
Description of functions
For information about each function module, refer to Chapter Function modules (Page 37)
Commissioning
For information on commissioning the standard application, refer to Chapter Commissioning
(Page 351)
Basic Technology
Operating Instructions, 06/2012 509
Standard applications
10.5 LSC (Luffing Slewing Crane)
Note
On the closing gear, only speed control is possible in grab operation. In hook operation,
positioning is also supported.
Quantity structure
Basic Technology
510 Operating Instructions, 06/2012
Standard applications
10.5 LSC (Luffing Slewing Crane)
Basic Technology
Operating Instructions, 06/2012 511
Standard applications
10.5 LSC (Luffing Slewing Crane)
Description of functions
For information about each function module, refer to Chapter Function modules (Page 37)
Commissioning
For information on commissioning the standard application, refer to Chapter Commissioning
(Page 351)
Basic Technology
512 Operating Instructions, 06/2012
Standard applications
10.6 OHBC (Overhead Bridge Crane)
Quantity structure
Basic Technology
Operating Instructions, 06/2012 513
Standard applications
10.6 OHBC (Overhead Bridge Crane)
Description of functions
For information about each function module, refer to Chapter Function modules (Page 37)
Commissioning
For information on commissioning the standard application, refer to Chapter Commissioning
(Page 351)
Basic Technology
514 Operating Instructions, 06/2012
Standard applications
10.7 GD Crane (Grab Dredger)
Quantity structure
Basic Technology
Operating Instructions, 06/2012 515
Standard applications
10.7 GD Crane (Grab Dredger)
Basic Technology
516 Operating Instructions, 06/2012
Standard applications
10.8 STS tandem crane (ship-to-shore with four hoists)
Description of functions
For information about each function module, refer to Chapter Function modules (Page 37)
Commissioning
For information on commissioning the standard application, refer to Chapter Commissioning
(Page 351)
Quantity structure
Basic Technology
Operating Instructions, 06/2012 517
Standard applications
10.8 STS tandem crane (ship-to-shore with four hoists)
Note
"Standard" for switching means: The user does not need to become active explicitly.
For switchover, see Technology object switchover (Page 214), "External TO switchover"
section
Basic Technology
518 Operating Instructions, 06/2012
Standard applications
10.8 STS tandem crane (ship-to-shore with four hoists)
Description of functions
For information about each function module, refer to Chapter Function modules (Page 37)
The STS Tandem Crane standard application is stored in two versions on the product CD:
One DP version with 12 PZD and one PN version with 16 PZD; refer to Chapter
Communication (Page 293).
Commissioning
For information on commissioning the standard application, refer to Chapter Commissioning
(Page 351)
Basic Technology
Operating Instructions, 06/2012 519
Standard applications
10.9 Easy RTG crane (simple rubber-tired gantry)
Quantity structure
Description of functions
For information about each function module, refer to Chapter Function modules (Page 37)
Commissioning
For information on commissioning the standard application, refer to Chapter Commissioning
(Page 351)
Basic Technology
520 Operating Instructions, 06/2012
Standard applications
10.10 GSU Tandem Crane (GSU with two closing gear and two holding gear)
10.10 GSU Tandem Crane (GSU with two closing gear and two holding
gear)
Quantity structure
Note
"Standard" for switching means: The user does not need to become active explicitly.
"Application" for switching means: The user must create the drive data sets and determine
the selection using the function modules.
See Technology object switchover (Page 214), "External TO switchover" section
Basic Technology
Operating Instructions, 06/2012 521
Standard applications
10.10 GSU Tandem Crane (GSU with two closing gear and two holding gear)
Basic Technology
522 Operating Instructions, 06/2012
Standard applications
10.10 GSU Tandem Crane (GSU with two closing gear and two holding gear)
Description of functions
For information about each function module, refer to Chapter Function modules (Page 37) .
Commissioning
For information on commissioning the standard application, refer to Chapter Commissioning
(Page 351)
Note
On the closing gear, only speed control is possible in grab operation. In hook operation,
positioning is also supported.
Basic Technology
Operating Instructions, 06/2012 523
Standard applications
10.11 OHBC (Overhead Bridge Crane distributed synchronous operation over two SIMOTION D)
CAUTION
This standard project implements the interconnection of technology objects between two
SIMOTION D, including the software extension, in order to activate the distributed
synchronous operation. The control with which the interface to the distributed synchronous
operation should be activated, as well as the error response and the monitoring functions
must be implemented by the user.
The distributed synchronous operation is possible only when position control is active
(operating mode: AUTOMATIC or MANUAL).
Basic Technology
524 Operating Instructions, 06/2012
Standard applications
10.11 OHBC (Overhead Bridge Crane distributed synchronous operation over two SIMOTION D)
Basic Technology
Operating Instructions, 06/2012 525
Standard applications
10.11 OHBC (Overhead Bridge Crane distributed synchronous operation over two SIMOTION D)
Description of functions
For information about each function module, refer to Chapter Function modules (Page 37)
Commissioning
For information on commissioning the standard application, refer to Chapter Commissioning
(Page 351)
Basic Technology
526 Operating Instructions, 06/2012
Spare parts/Accessories 11
Spare parts
● SIMOTION D435 (order no. 6AU1435-0AA00-0AA1)
● SIMOTION D435-2 (order no. 6AU1435-2AD00-0AA0)
● Memory card for SIMOTION D435 (order no. 6AU1400-2PA02-0AA0)
● Memory card for SIMOTION D435-2 (order no. 6AU1400-2PA22-0AA0)
● To request licenses, please contact
– Hotline (refer to the preface)
– Siemens A&D Web License Manager at
http://www.siemens.com/automation/license
Note
For questions relating to SIMOCRANE, such as application support, please contact
Siemens I DT Application Support (e-mail:
[email protected] ) or your local sales.
Supplementary components
Depending on the application, the following components can be required:
● SINAMICS Controller Extension SIMOTION CX32 (order no. 6SL3040-0NA00-0AA0)
● SINAMICS Controller Extension SIMOTION CX32-2 (order no. 6AU1432-2AA00-0AA0)
● SINAMICS DRIVE-CLiQ Hub Module DMC20 (order no. 6SL3055-0AA00-6AA0)
● SINAMICS Sensor Module Cabinet-Mounted SMC30 (order no. 6SL3055-0AA00-5CA2)
● SINAMICS Terminal Module TM31 (order no. 6SL3055-0AA00-3AA1)
● CBE30 (order no. 6FC5312-0FA00-0AA0)
● CBE30-2 (order no. 6FC5312-0FA00-2AA0)
● SIMOTION SCOUT V4.1.5 (order no. 6AU1810-1BA41-5XA0)
● Drive Control Chart DCC V2.0.5 option package
(order no. 6AU1810-1JA20-5XA0)
● SIMOTION SCOUT V4.1 SP5 upgrade DVD
(order no. 6AU1810-1BA41-5XE0)
● SIMOTION SCOUT V4.3.1 (order no. 6AU1810-1BA43-1XA0)
● SIMOTION SCOUT V4.3 SP1 upgrade DVD
(order no. 6AU1810-1CA43-1XE0)
Basic Technology
Operating Instructions, 06/2012 527
Spare parts/Accessories
Note
Drive systems, motors and connection systems are not included in the package. These
components must be ordered separately.
Basic Technology
528 Operating Instructions, 06/2012
Appendix A
A.1 References
Basic Technology
Operating Instructions, 06/2012 529
Appendix
A.2 Abbreviations
A.2 Abbreviations
Basic Technology
530 Operating Instructions, 06/2012
Appendix
A.3 Terminology (German/English)
Basic Technology
Operating Instructions, 06/2012 531
Appendix
A.3 Terminology (German/English)
Basic Technology
532 Operating Instructions, 06/2012