HBIsl 0508 en en-US
HBIsl 0508 en en-US
Hardware Descriptions 2
SINUMERIK 840Di sl
Configuration 3
Ethernet communication 7
PROFIBUS DP
Communication 8
Drive commissioning
(SINAMICS) 9
Drive commissioning
(SIMODRIVE) 10
NC Commissioning with HMI
Advanced 11
Appendix A
Safety Guidelines
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
with a safety alert symbol, indicates that minor personal injury can result if proper precautions are not taken.
CAUTION
without a safety alert symbol, indicates that property damage can result if proper precautions are not taken.
NOTICE
indicates that an unintended result or situation can occur if the corresponding information is not taken into
account.
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 device/system may only be set up and used in conjunction with this documentation. Commissioning and
operation of a device/system may only be performed by qualified personnel. Within the context of the safety notes
in this documentation qualified persons are defined as persons who are authorized to commission, ground and
label devices, systems and circuits in accordance with established safety practices and standards.
Prescribed Usage
Note the following:
WARNING
This device may only be used for the applications described in the catalog or the technical description and only
in connection with devices or components from other manufacturers which have been approved or
recommended by Siemens. Correct, reliable operation of the product requires proper transport, storage,
positioning and assembly as well as careful operation and maintenance.
Trademarks
All names identified by ® are registered trademarks of the 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.
SINUMERIK documentation
The SINUMERIK documentation is organized in 3 parts:
● General documentation
● User documentation
● Manufacturer/Service documentation
An overview of publications, which is updated monthly and also provides information about
the language versions available, can be found on the Internet at:
http://www.siemens.com/motioncontrol
Select the menu items "Support" → "Technical Documentation" → "Overview of Publications".
The Internet version of DOConCD (DOConWEB) is available at:
http://www.automation.siemens.com/doconweb
Information on the range of training courses and FAQs (frequently asked questions) are
available on the Internet under:
http://www.siemens.com/motioncontrol under menu item "Support".
Target group
This documentation is intended for manufacturers/end users of machine tools and production
machines who use SINUMERIK 840Di sl and SINAMICS S120.
Benefits
This manual provides detailed information required for the configuration and commissioning
of a SINUMERIK 840Di sl system.
This manual describes the control system design and the interfaces of the individual
components. The commissioning procedure for SINUMERIK 840Di sl (NCK, PLC and drives)
is also described.
For detailed information about individual functions, function assignment and performance
data of individual components, please refer to the appropriate document for the subject
concerned (e.g. manuals, description of functions etc.).
Separate documents are available for user-oriented activities. These include, for example,
generating part programs and handling controls.
Separate information is also available for operations that the machine tool manufacturer
must carry out. These include, for example, configuring/engineering, installation and
programming the PLC.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 3
Foreword
Standard scope
This documentation only describes the functionality of the standard version. Additions or
revisions made by the machine manufacturer are documented by the machine manufacturer.
Other functions not described in this documentation might be executable in the control.
However, no claim can be made regarding the availability of these functions when the
equipment is first supplied or in the event of servicing.
Further, for the sake of simplicity, this documentation does not contain all detailed
information about all types of the product and cannot cover every conceivable case of
installation, operation or maintenance.
Technical support
If you have any technical questions, please contact our hotline:
Europe / Africa
Phone +49 180 5050 222
Fax +49 180 5050 223
Internet http://www.siemens.com/automation/support-request
America
Phone +1 423 262 2522
Fax +1 423 262 2200
Email mailto:[email protected]
Asia/Pacific
Phone +86 1064 719 990
Fax +86 1064 747 474
Email mailto:[email protected]
Note
Country-specific telephone numbers for technical support are provided under the following
Internet address:
Enter http://www.siemens.com/automation/service&support
Manual
4 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Foreword
EC Declaration of Conformity
The EC Declaration of Conformity for the EMC Directive can be viewed/downloaded from the
Internet at:
http://support.automation.siemens.com
under the Product Order No. 15257461or at the relevant branch office of the A&D MC group
of Siemens AG.
Danger notices
The following notices are intended firstly for your personal safety and secondly to prevent
damage occurring to the product described or any connected devices and machines. Non-
observance of the warnings can result in severe personal injury or property damage.
DANGER
Only appropriately qualified personnel may commission/start-up SINUMERIK equipment.
The personnel must take into account the information provided in the technical customer
documentation for the product, and be familiar with and observe the specified danger and
warning notices.
When electrical equipment and motors are operated, the electrical circuits automatically
conduct a dangerous voltage.
When the system is operating, dangerous axis movements may occur throughout the entire
work area.
A potential fire hazard exists due to the energy being transferred in the equipment and the
work materials used.
All work on the electrical system must be performed after the system has been switched off
and disconnected from the power supply.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 5
Foreword
DANGER
Proper transportation, expert storage, installation and mounting, as well as careful
operation and maintenance are essential for this SINUMERIK device to operate correctly
and reliably.
The details in the catalogs and proposals also apply to the design of special equipment
versions.
In addition to the danger and warning information provided in the technical customer
documentation, the applicable national, local, and system-specific regulations and
requirements must be taken into account.
Only protective extra-low voltages (PELVs) that comply with EN 61800-5-1 can be
connected to all connections and terminals between 0 and 48 V.
Should it be necessary to test or take measurements on live equipment, then the
specifications and procedural instructions defined in Accident Prevention Regulation VBG
A2 must be adhered to, in particular § 8 "Permissible deviations when working on live
components". Suitable electric tools should be used.
WARNING
Operating the equipment in the immediate vicinity (< 1.5 m) of mobile telephones with a
transmitting power of > 1 W may lead to incorrect functioning of the devices.
Connecting cables and signal lines should be installed so that inductive and capacitive
interference does not in any way impair the automation and safety functions.
SINAMICS equipment with three-phase motors conforms to EMC Directive 89/336/EEC in
the configurations specified in the associated EC Certificate of Conformity.
DANGER
Repairs to devices that have been supplied by our company may only be carried out by
SIEMENS customer service or by repair centers authorized by SIEMENS.
When replacing parts or components, only use those parts that are included in the spare
parts list.
EMERGENCY STOP devices EN 60204-1 (VDE 0113 Part 1) must remain active in all
modes of the automation equipment. Resetting the EMERGENCY STOP device must not
cause an uncontrolled or undefined restart.
Anywhere in the automation equipment where faults might cause physical injury or major
material damage, in other words, where faults could be dangerous, additional external
precautions must be taken, or facilities must be provided, that guarantee or enforce a safe
operational state, even when there is a fault (e.g. using an independent limit value switch,
mechanical locking mechanisms, EMERGENCY STOP devices)
Manual
6 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Table of contents
Foreword ................................................................................................................................................... 3
1 General Information on the SINUMERIK 840Di sl.................................................................................... 17
1.1 Overview of SINUMERIK 840Di sl ...............................................................................................17
1.1.1 System components ....................................................................................................................18
1.1.2 System software packages and quantity structures ....................................................................18
1.1.3 Hardware Components ................................................................................................................19
1.1.4 Software components ..................................................................................................................21
1.1.5 Real-time properties.....................................................................................................................23
1.1.6 System integrity ...........................................................................................................................24
1.1.7 Failure safety................................................................................................................................25
1.1.8 Switch off......................................................................................................................................27
1.1.9 UPS system .................................................................................................................................29
1.2 Overview of software components...............................................................................................31
1.3 Notes on startup...........................................................................................................................34
1.4 Standard/export version...............................................................................................................36
1.5 840Di startup................................................................................................................................38
1.5.1 Menu command: Windows...........................................................................................................39
2 Hardware Descriptions ............................................................................................................................ 43
2.1 Overview of hardware components .............................................................................................43
2.2 MCI2 board for 840Di sl ...............................................................................................................47
2.2.1 Assembly......................................................................................................................................47
2.2.2 Interface description.....................................................................................................................48
2.2.3 Replace module ...........................................................................................................................50
2.2.4 Technical data..............................................................................................................................54
2.3 MCI board extension slot variation ..............................................................................................56
2.3.1 Assembly......................................................................................................................................56
2.3.2 Installation instructions.................................................................................................................58
2.3.3 Interface description.....................................................................................................................60
2.3.4 Technical data..............................................................................................................................63
2.4 Cable distributor ...........................................................................................................................65
2.5 SINUMERIK Industrial PC ...........................................................................................................71
2.5.1 SINUMERIK PCU 50.3 ................................................................................................................71
2.6 SINUMERIK operator panel fronts...............................................................................................75
2.6.1 Operator panel front OP 012........................................................................................................75
2.7 TCU (Thin Client Unit)..................................................................................................................77
2.8 Handheld units .............................................................................................................................79
2.8.1 Handheld Terminal HT 8..............................................................................................................79
2.8.2 Handheld Terminal HT 2..............................................................................................................81
2.9 Floppy disk drives ........................................................................................................................83
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 7
Table of contents
Manual
8 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Table of contents
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 9
Table of contents
Manual
10 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Table of contents
8.2 Requirements.............................................................................................................................235
8.3 Creating a PROFIBUS configuration .........................................................................................239
8.3.1 Requirement...............................................................................................................................239
8.3.2 Inserting DP slaves ....................................................................................................................240
8.3.3 Parameterizing the equidistant DP-Slaves finally ......................................................................242
8.3.4 Generating system data blocks (SDB).......................................................................................248
8.3.5 Load the configuration in the PLC .............................................................................................249
8.3.6 PROFIBUS diagnosis ................................................................................................................249
8.4 SIMATIC I/O devices (ET200...) ................................................................................................249
8.5 DP slave I/O Module PP72/48 ...................................................................................................250
8.5.1 Parameterization of I/O Module PP72/48 ..................................................................................250
8.5.2 Inserting the DP slave................................................................................................................250
8.5.3 Setting PROFIBUS parameters .................................................................................................251
8.5.4 Setting the I/O addresses ..........................................................................................................252
8.6 DP slave MCP 310.....................................................................................................................253
8.6.1 General commissioning requirements .......................................................................................253
8.6.2 Parameterization of the MCP.....................................................................................................255
8.6.3 Functions of the machine control panel .....................................................................................258
8.6.4 Configure MCP 310 DP slave ....................................................................................................259
8.6.5 Linking to the basic PLC and user program...............................................................................264
8.6.6 Input/Output image ....................................................................................................................267
8.7 DP slave MCP 483.....................................................................................................................270
8.7.1 Conditions for general commissioning.......................................................................................270
8.7.2 Parameterization of the MCP.....................................................................................................272
8.7.3 Functions of the machine control panel .....................................................................................274
8.7.4 Configure MCP 483 DP slave ....................................................................................................275
8.7.5 Linking to the basic PLC and user program...............................................................................280
8.7.6 Input/Output image ....................................................................................................................283
8.8 ADI4 DP slave............................................................................................................................286
8.8.1 SlaveOM ....................................................................................................................................286
8.8.2 Inserting the DP slave................................................................................................................286
8.9 DP slave SINAMICS S120.........................................................................................................287
8.9.1 SlaveOM for SINAMICS.............................................................................................................287
8.9.2 Inserting the DP slave................................................................................................................287
8.9.3 Parameterizing DP slaves..........................................................................................................288
8.9.4 Dependencies of PROFIBUS DP communication .....................................................................294
8.10 DP slave SIMODRIVE drives.....................................................................................................297
8.10.1 SlaveOM ....................................................................................................................................297
8.10.2 Inserting the DP slave................................................................................................................297
8.10.3 Parameterizing DP slaves..........................................................................................................298
8.10.4 Dependencies of PROFIBUS DP communication .....................................................................303
8.11 DP slave diagnostic repeater for PROFIBUS DP ......................................................................305
8.11.1 Function .....................................................................................................................................305
8.11.2 Area of application .....................................................................................................................306
8.11.3 Connection and commissioning .................................................................................................306
9 Drive commissioning (SINAMICS) ......................................................................................................... 307
9.1 Requirements.............................................................................................................................307
9.1.1 Basic requirements ....................................................................................................................307
9.1.2 Safety information ......................................................................................................................308
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 11
Table of contents
Manual
12 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Table of contents
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 13
Table of contents
Manual
14 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Table of contents
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 15
Table of contents
Manual
16 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
General Information on the SINUMERIK 840Di sl 1
1.1 Overview of SINUMERIK 840Di sl
With the SINUMERIK 840Di sl, Siemens provides a complete PC-integrated control that
controls the drive units and I/Os through the standard fieldbus PROFIBUS DP with Motion
Control functionality and in this way permits a distributed design of the overall system. It
therefore constitutes the basis for PC-based automation solutions and is generally designed
especially for applications with the following requirements:
● Decentralized automation solutions in the fields of PLC I/Os and drives.
● Fully PC-integrated control, owing to increased integratability in the target or current
automation environment.
(WKHUQHW
2SHUDWRU3DQHOIURQW &RPSDQ\QHWZRUN
HJ23
3&8
(WKHUQHW
86% 0&3&,(
VWDQGDUG,2
0&,%RDUG([WHQVLRQ +7+7
0HDVXULQJ3XOVHV
2SWLRQ
H[WHUQDO+0,
+DQGZKHHOV
0&,%RDUG
7&8
)DVW,2V
$',
6,0$7,&'3
,2PRGXOHV
GDLJQRVWLFUHSHDWHU
352),%860&3
6,1$0,&66
33
(3
352),%86'3
$QDORJ
'ULYHV
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 17
General Information on the SINUMERIK 840Di sl
1.1 Overview of SINUMERIK 840Di sl
Note
It is not possible to combine the named system components with older versions.
Quantity framework
The system software packages are each designed for the following quantity structures:
6 axes 20 axes
Basic Maximum Basic Maximum
configuration configuration
Axes 3 6 5 20
Channels 1 2 1 10
Mode groups 1 2 1 10
Channels per mode 1 2 1 10
group
Basic configuration: Default number of available components
Maximum: Maximum possible number of components with additional options
Manual
18 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
General Information on the SINUMERIK 840Di sl
1.1 Overview of SINUMERIK 840Di sl
Hardware Basis:
The hardware basis of a SINUMERIK 840Di sl is an industrial-PC of SIEMENS A&D,
referred to as PCU (PC-Unit) from now on, together with the MCI-Board (Motion Control-
Interface).
PCU
The SINUMERIK 840Disl is available with the following PCU 50.3 versions, each with 24 V
power supply:
● PCU 50.3-C: 1.5 GHz, 512 MB SDRAM
● PCU 50.3-P: 2.0 GHz, 1024 MB SDRAM
PCU interfaces
The PCU 50.3 features interfaces to connect the SINUMERIK operator panel fronts (OP 0xx)
as well as standard PC interfaces for connecting, e.g. monitor, keyboard, mouse, and
Ethernet connection.
PCU slots
The PCU 50.3 has the following slots:
● 1 x PCI (length: max. 175 mm, occupied with option MCI board extension and MCI board
extension slot variant)
● 1 x PCI (length: max. 265 mm, occupied by the MCI board)
MCI2 board
The MCI2-Board, called only as MCI-Board from now on, is a small PCI-slot card with
integrated SIMATIC S7-compatible CPU PLC317-2 DP as the DP-Master with routing
capability. The MCI board has the following external interfaces:
● PROFIBUS DP with Motion Control Functionality (Master)
● MPI (Multi-Point Interface)/PROFIBUS DP (Master/Slave)
● MCI board extension (option)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 19
General Information on the SINUMERIK 840Di sl
1.1 Overview of SINUMERIK 840Di sl
Digital drives
SINUMERIK 840Disl is available with the components from the new SINAMICS range of
drives offering the following characteristics:
● SINAMICS S120
The drive components from the SIMODRIVE range of drives offering the following
characteristics can also be used:
● SIMODRIVE 611 universal and universal E with option module Motion Control with
PROFIBUS DP
● SIMODRIVE POSMO CD/CA
● SIMODRIVE POSMO SI
● SIMODRIVE POSMO A (not suitable for interpolatory procedures)
Note
SINAMICS S120 and SIMODRIVE drives cannot be operated in parallel on a
SINUMERIK 840Di sl.
Analog drives
To operate drives with an analog setpoint interface via PROFIBUS, the following interface
module is available:
● ADI4 (Analog Drives Interface for 4 Axes)
I/Os
For use as distributed I/Os, the module range SIMATIC DP ET 200 (for connection
conditions, see SIMATIC Documentation) as well as the I/O Module PP 72/48 are available.
Manual
20 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
General Information on the SINUMERIK 840Di sl
1.1 Overview of SINUMERIK 840Di sl
TCU
A TCU (Thin Client Unit) permits the distributed connection of an operator panel front to the
PCU. The TCU and PCU communicate via the Ethernet.
Windows XP
SINUMERIK 840Di sl runs on the Windows XP ProEmbSys operating system with Service
Pack 2.
Windows XP is the platform on which all applications, such as the individual user interfaces
of the HMI modular system and the commissioning tools run.
As is generally known, Windows XP does not have full real-time capability. We call this soft
real time. So SIEMENS has developed a procedure that allows operation of NC system
software in hard real time without making it necessary to modify Windows XP (see
Subsection "Real-time properties" (Page 23)).
NC system software
The NC system software mostly has the same functionality as the SINUMERIK 840D. It
comprises both simple Motion Control processes (positioning and linear interpolation) and
complex automation tasks of the type found on machining centers, handling and mounting,
machine tools, and machine tool-related applications.
NCK
The NCK (Numeric Control Kernel) is part of the NC System software that realizes the real-
time capability of SINUMERIK 840Di sl.
The NCK is characterized by the following features:
● The NCK is automatically started when Windows powers up.
● The NCK runs cyclically in the background.
● The current status of the NCK is displayed via the SINUMERIK 840Di sl-standard
operator panel 840Di-Startup:
Menu command Window > Diagnosis > NC/PLC
● The NCK is automatically ended when you exit Windows XP.
● When the NCK is ended, it writes the remanent SRAM data from NCK and PLC to the
hard disk of the PCU as a backup copy.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 21
General Information on the SINUMERIK 840Di sl
1.1 Overview of SINUMERIK 840Di sl
SinuCom NC
SinuCom NC is a Windows-based tool for commissioning the SINUMERIK 840Di sl NC
offering options for the:
● interactive parameterization of the NC
● option management and license management
● management of series startup files.
840Di startup
The Windows-based user interface 840Di-Startup (see Section "840Di-Startup" (Page 38))
offers basic operation functionality to allow the operator to become familiar with the
SINUMERIK 840Di sl.
840Di startup is part of the scope of supply of a SINUMERIK 840Di sl and is already installed
on the hard disk of the PCU.
Note
For a detailed list of the installed software components or the ones required to prepare for
installation, please refer to Section "Overview of the software components" (Page 31).
Manual
22 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
General Information on the SINUMERIK 840Di sl
1.1 Overview of SINUMERIK 840Di sl
Real-time violations
Real-time violations occur when unsuitable PC components block interrupt processing for
too long, stopping the NC system software from being activated at the specified time.
Inappropriate PC components are drivers or hardware extensions that have an adverse
effect on the real-time behavior due to overly long interrupt disable times or PCI bus disables
in PCI bus mastering.
With real-time violations exceeding 200 µs, we cannot guarantee that the NC system
software will operate correctly. The system will respond appropriately for the magnitude of
the real-time violation:
● Display of an error message
● Alarm with axis stop from the NC
● Alarm and drive-independent stopping of the axes
The real-time response can be monitored in the NCK latency displays in the system
diagnostics of the 840Di Startup (see Section "840Di Startup" (Page 38)) or the NC/PLC
diagnostics of HMI Advanced (see Section "NC/PLC Diagnostics").
Testing or switchover
If it is necessary to test the screen resolution or switch to a different resolution and/or color
depth, the NCK must be terminated first. Otherwise a malfunction may occur in the real-time
response.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 23
General Information on the SINUMERIK 840Di sl
1.1 Overview of SINUMERIK 840Di sl
NOTICE
Screen savers that modify the screen resolution when activated must not be used in
conjunction with SINUMERIK 840Di sl.
Note
The NCK must be stopped before testing/switching the screen resolution and/or color depth
on the PCU and started again explicitly after testing/switching using the Windows XP service
"SINUMERIK-NC". Otherwise a malfunction may occur in the real-time response.
Manual
24 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
General Information on the SINUMERIK 840Di sl
1.1 Overview of SINUMERIK 840Di sl
Note
For a product brief of the "PC OS fault" and "PC shutdown" interface signals, please refer
to Subsection "840Di sl-specific interface signals" (Page 587).
NOTICE
The "PC shutdown" interface signal must be reset in the organization block OB100 (cold
restart) of the PLC.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 25
General Information on the SINUMERIK 840Di sl
1.1 Overview of SINUMERIK 840Di sl
Voltage failure
A power failure lasting more than 5 ms is detected by the POWER FAIL functionality of the
SINUMERIK 840Disl as a fault scenario and the following actions are initiated:
● The background lighting of the operator panel display is switched off
● NC and PLC are closed down properly
● The NC and PLC user data are saved in the SRAM of the MCI board.
The battery-backed user data are available again immediately the next time the SINUMERIK
840Di sl is booted. The SINUMERIK 840Di sl is therefore ready to use again immediately,
without data loss.
If the power supply recovers before final PCU shutdown, the following message box is
displayed:
NOTICE
The following is to be taken into account:
• Power supply
A supply voltage of the PCU of at least 24 V is required to ensure consistency of the NC
and PLC user data.
References:
/BH/ Operator components Manual, Subsection "PCU 50.3"
• UPS system
The internal power backup time after a power failure is not long enough for Windows NT
to shut down correctly. To remedy this, we recommend using an uninterruptible power
system (see Subsection "UPS-system" (Page 29)).
• Exchange of MCI-boards or PCU-battery
The NC and PLC user data in the SRAM of the MCI board and on the hard disk of the
PCU are backed up. If the MCI board or PCU battery is replaced after a power failure,
this will result in a data loss of the battery-backed user data on the SRAM of the MCI
board.
How to proceed further: See Subsection "Power-up after changing the MCI-
Boards" (Page 129).
Manual
26 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
General Information on the SINUMERIK 840Di sl
1.1 Overview of SINUMERIK 840Di sl
Temperature sensor
The SINUMERIK 840Di sl monitors three different temperatures for their respective
thresholds:
1. Housing temperature
2. CPU module temperature
3. CPU temperature
Error reaction
● Alarm: "2110 NCK temperature alarm"
● Logbook entry: "Alarm: Critical temperature"
Cause of errors/error handling
One of the 3 monitored temperatures has reached its threshold value or exceeded it. A
temperature change of at least 3° C before the threshold value is necessary, so that the
alarm is reset.
If the temperature alarm occurs, the user and/or the machine manufacturer (PLC user
program) must decide whether to interrupt machining and end and shut down the
SINUMERIK 840Di sl.
Windows XP
To ensure safe operation of the SINUMERIK 840Di sl, Windows XP must be shut down
correctly before the PCU is switched off.
Note
Windows XP is shut down correctly as follows.
• Windows XP Start menu: Start > end
• PLC interface signal: "PC shutdown", see Subsection "840Di sl-specific interface signals".
Failure to shut down Windows XP correctly can damage the Windows XP installation and
prevent the SINUMERIK 840Di sl from operating.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 27
General Information on the SINUMERIK 840Di sl
1.1 Overview of SINUMERIK 840Di sl
NC and PLC
On correct shutdown of Windows XP the following occurs:
● The SINUMERIK 840Di sl components NC and PLC are terminated correctly
● The NC and PLC user data in the SRAM of the MCI board and on the hard disk of the
PCU are backed up.
If the PCU is switched off without first correctly shutting down Windows XP, the SINUMERIK
840Di sl's POWER FAIL functionality:
● ends the NC and PLC correctly;
● saves the NC and PLC user data in the SRAM of the MCI board.
The NC and PLC user data cannot be backed up on the hard disk of the PCU.
NOTICE
If you switch off the PCU without first having correctly shut down Windows XP, please
observe the following:
Power supply
A supply voltage of the PCU of at least 24 V is required to ensure consistency of the NC
and PLC user data.
References:
/BH/ Operator components Manual, Subsection "PCU 50.3"
UPS system
The internal power backup time after a power failure is not long enough for Windows NT to
shut down correctly. To remedy this, we recommend using an uninterruptible power system
(see Subsection "UPS-system" (Page 29)).
Exchange of MCI-boards or PCU-battery
When Windows XP is shut down correctly, the current NCK and PLC user data are saved
to the SRAM of the MCI board and to the PCU's hard disk. If the MCI board or the PCU
battery is replaced after the abnormal shutdown of Windows XP, this will result in loss of
the battery-backed user data on the SRAM of the MCI board.
How to proceed further: See Subsection "Power-up after changing the MCI-
Boards" (Page 129).
Manual
28 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
General Information on the SINUMERIK 840Di sl
1.1 Overview of SINUMERIK 840Di sl
Physical SRAM
The PCU has POWER FAIL detection in conjunction with the NC system software to ensure
that the user data are backed up in the SRAM of the MCI board during a PCU power failure
or power-off without a proper shut down of Windows XP.
The internal power backup time is not long enough for Windows XP to shut down properly.
This can be avoided by using a UPS, e.g. SITOP POWER DC UPS MODULE 15 (see
Section "Uninterrupted Power Supply UPS" (Page 87)). The UPS also backs up the power
supply of the PCU for a settable duration or until a set battery voltage limit has been reached.
This gives the user time to properly shut down Windows XP manually, or permits automatic
shutdown via a status signal from the UPS to the PLC, which then passes the "PC
shutdown" interface signal to the NC.
Connection options
The above UPS has the following connection options to signal the current status to the
SINUMERIK 840Di sl:
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 29
General Information on the SINUMERIK 840Di sl
1.1 Overview of SINUMERIK 840Di sl
NOTICE
One of the following connection variants must be used for full back-up protection:
• Variant 1: Connection 1) and 2)
• Variant 2: Connection 3)
SIEMENS
IUHHZLULQJ
(7,2
6,180(5,.'LVO
86%&RQQHFWLRQ
IUHHZLULQJ
352),%86'3
1)
2)
0&,%RDUG
0&,%RDUG([WHQVLRQRSWLRQ
Configuration
The UPS functionality can be configured in two different ways:
● When using SITOP POWER DC UPS MODULE 15 (see Section "Uninterrupted Power
Supply UPS" (Page 87)) with a special software tool.
Download: http://www.siemens.de/sitop > Further topics: Download Software DC UPS 15
A
● With Windows XP standard tools.
Start menu: Start > Settings > Control Panel > Power Options > Tab: UPS
Note
If the SINUMERIK user interface HMI Advanced (option) is installed on the PCU, the
application F:\mmc2\hmiexit.exe must be executed with the UPS software, before the
shutdown of the PCU.
Manual
30 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
General Information on the SINUMERIK 840Di sl
1.2 Overview of software components
Note
See Subsection "HMI-Explorer" (Page 140)for information on how to determine the
installation path of the SINUMERIK 840Di sl system software (CD path).
Before installing a software component, please read the information in the instruction file
(*.txt, *.rtf, *.wri).
Basic software
The basic software essentially comprises the following components:
● 840Di sl Base software(installed)
– NCK-specific real-time drivers
– 840Di startup
● PLC system software (installed)
● NCK system software(installed)
● PCU basic software(installed)
– Windows XP Pro with SP2, English version
– Internet Explorer 6, English version
– HMI Explorer
– Norton Ghost™
– Norton GhostWalker™
– ServiceCenter under Windows PE
– PCU-specific drivers
– TCU Support
● HMI basic software(installed)
– HMI-specific display and communications drivers
Engineering tools
The Engineering Tools include applications for the commissioning of the SINUMERIK 840Di
sl NC and SIMODRIVE drives:
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 31
General Information on the SINUMERIK 840Di sl
1.2 Overview of software components
● SinuCom NC(installed)
Startup-Tool for the SINUMERIK 840Di sl NC
● SIMODRIVE 611 universal tool box
Contents:
– Toolbox for PLC-parameterization
Various files for assigning parameters to an S7 configuration with SIMODRIVE drives
(611U, POSMO SI, CD, CA) and PROFIdrive communication (see readme.txt)
(Example-files: <Installation path>\611utb\toolbox\<version>\<file>)
– SimoCom U
Startup-Tool for SIMODRIVE 611 universal/E and SIMODRIVE POSMO SI, CD/CA
drives
(installs and in addition to installation: <CD-path>\611utb\SimoComU\Setup.exe)
– SIMODRIVE 611 universal Drive-Firmware
(Firmware file: <Installation path>\611utb\Sys611U\<version>\611u.ufw)
– SIMODRIVE 611 universal option module: "Motion Control with PROFIBUS DP"
firmware
(Firmware file: <Installation path>\611utb\dpc31\<version>\v1sl.ufw)
– SIMODRIVE POSMO SI, CD/CA Drive firmware
(Firmware file: <Installation path>\611utb\SysPosmo\<version>\posmo.ufw)
Note
SINAMICS drives
The drive commissioning tool: STARTER is not included in the SINUMERIK 840Di sl
scope of supply. The STARTER must be purchased separately. It is recommended
that you always use latest version.
References:
Catalog: NC 61 > SINAMICS S120 Drive System
Manual
32 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
General Information on the SINUMERIK 840Di sl
1.2 Overview of software components
Note
The PLC Toolbox should be installed on the PG/PC on which the SIMATIC STEP 7 is
already installed.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 33
General Information on the SINUMERIK 840Di sl
1.3 Notes on startup
Described components
This SINUMERIK 840Di sl Manual describes the basic commissioning of the following
components:
● SINUMERIK 840Di sl NC and PLC
● SINAMICS S120 drives
● Ethernet communication
● PROFIBUS DP and DP components
Note
We recommend performing commissioning of the SINUMERIK 840Di sl according to the
sequence in which the chapters of this manual are laid out.
Software
For commissioning the following software is required (part of a SINUMERIK 840Di sl):
● NCK commissioning:
– 840Di startup
– SinuCom NC
● PLC commissioning, including PROFIBUS communication:
– SlaveOM for SIMODRIVE drives
– PLC basic program
● SIMODRIVE drive commissioning
– SimoCom U
Additional software
For commissioning the following software is required (not part of a SINUMERIK 840Di sl):
● PLC commissioning, including PROFIBUS DP communication:
– SIMATIC Manager STEP 7: as from Version 5.3, Service Pack 2
– SlaveOM for SINAMICS drives (part of STARTER)
● SINAMICS drive commissioning
– STARTER
Manual
34 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
General Information on the SINUMERIK 840Di sl
1.3 Notes on startup
Additional hardware
The following hardware components are required for commissioning:
● Via the Ethernet interface, e.g. PG740:
– Creation of the SIMATIC S7 project for commissioning of the PLC, as well as the
PROFIBUS communication
– Installation of additional software on the PCU
For installing the software on the PCU see Section "License management" (Page 146).
● Communications link: PG/PC with NC, PLC and drives
– Ethernet cable
Note
No programming device is required in the following cases:
• SIMATIC Manager STEP7 is installed on the SINUMERIK 840Di sl PCU
• A PG/PC is needed for installing additional software
For installing the software on the PCU see Section "License
management" (Page 146).
Documentation
The following documentation is required for commissioning:
● /BH/ Operator Components Manual
– Operator panel fronts
– PCU 50.3
– Machine control panels
– Operator panel, handheld terminal HT8
Depending on the NC and PLC functions used, the corresponding function manuals are
needed:
● /FB/ Function Manual - Basic Functions
● /FB/ Function Manual - Extended Functions
● /FB/ Function Manual - Special Functions
● /LIS/ Lists
– Overview of functions
– Machine, Setting Data and Variables
– Interface Signals and PLC Blocks.
● /DA/ Diagnostics Manual:
– Interrupts
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 35
General Information on the SINUMERIK 840Di sl
1.4 Standard/export version
Drive commissioning:
● SINAMICS
– SINAMICS S120 Commissioning Manual
● SIMODRIVE
– /FBU/ SIMODRIVE 611 universal and universal E
Closed-loop control component for speed control and positioning
– /POS3/ SIMODRIVE SI and CD/CA
Distributed Servo Drive Technology
Note
A complete overview of options not available on the export version are listed in the
catalog NC 61.
The corresponding option bits can be set but they have no effect (alarm output if functions
programmed). The export version requires no export license with respect to its type.
(This does not mean that there is no export license requirement with respect to the intended
use. This is a separate matter and may apply in addition.)
The instance of the control is determined by the system software, which are available in two
versions (Standard and Export). This means that the licensing requirement of the system
software (for relevant details see delivery note or the invoice) is "inherited" with the
installation of the control system.
It is important to be aware of this in the case of updates/upgrades of the system software
because this might affect the export license requirement.
Manual
36 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
General Information on the SINUMERIK 840Di sl
1.4 Standard/export version
Note
The adhesive labels supplied additionally in the packaging are intended to identify the control
after commissioning and must be pasted into the control log book. In the case of license
orders, a corresponding number of labels is provided, which must also be pasted into the log
book.
When the control has booted, the export version can be identified by the additional character
'E' on the Service screen of the NCU version.
● HMI Advanced (option): Diagnosis operating area > Service displays > Version > Version
NCU
Identification of control variants in this way is important for service personnel and can also be
helpful as evidence on export, especially when using the embargo-exempt certificates
provided for the export version.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 37
General Information on the SINUMERIK 840Di sl
1.5 840Di startup
Overview of functions
The user interface comprises the following functions:
● Display of main screens
● Display of alarms and messages
● Management of part programs
● ASCII editor
● NC, PLC, and PROFIBUS diagnoses
● Logbook
Menu bar
The menu bar comprises the following menu commands:
● File
● Edit
● Windows
● Display
Manual
38 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
General Information on the SINUMERIK 840Di sl
1.5 840Di startup
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 39
General Information on the SINUMERIK 840Di sl
1.5 840Di startup
Manual
40 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
General Information on the SINUMERIK 840Di sl
1.5 840Di startup
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 41
General Information on the SINUMERIK 840Di sl
1.5 840Di startup
Manual
42 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions 2
2.1 Overview of hardware components
Spare parts
The following hardware components are available as spare parts:
● MCI2 Board for SINUMERIK 840Di sl
Spare-part order number: 6FC5 222-0AA02-2AA0
● Hard disk drive
For PCU 50.3 with support plate and damper
Spare-part order number: 6FC5 247-0AF08-4AA0
Optional components
The following hardware components are optional and can be ordered separately:
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 43
Hardware Descriptions
2.1 Overview of hardware components
Manual
44 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.1 Overview of hardware components
PROFIBUS DP modules
S7 I/O modules
● SIMATIC ET 200 (distributed peripheral system)
Detailed order information is given in:
References:
/ST7/SIMATIC S7 programmable logic controllers Catalog ST 70
● PP72/48 I/O module
Order number: 6FC5 611-0CA01-0AA0
Interface modules
● ADI4 (Analog Drive Interface for 4 Axes)
Order number: 6FC5 211-0BA01-0AA2
SINAMICS drives
● SINAMICS S120
For detailed order information on the SINAMICS S120, please refer to:
References:
/BU/ SINAMICS, SINAMICS S120, Servo Control Drive System, Catalog D21.2
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 45
Hardware Descriptions
2.1 Overview of hardware components
SIMODRIVE drives
● SIMODRIVE 611 universal
with options module Motion Control with PROFIBUS DP
● SIMODRIVE 611 universal E
with options module Motion Control with PROFIBUS DP
● SIMODRIVE POSMO CD/CA
● SIMODRIVE POSMO SI
● SIMODRIVE POSMO A
For detailed ordering information on various drives, see:
References:
/BU/ SINUMERIK & SIMODRIVE, Order Document, Catalog NC 60
Manual
46 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.2 MCI2 board for 840Di sl
2.2.1 Assembly
The MCI2 board for 840Di sl is a short 32-bit PCI plug&play card. The MCI2 board referred
to below simply as MCI board (Motion Control Interface) provides the following interfaces:
● PROFIBUS DP with Motion Control Functionality (X101)
● MPI (Multi-Point Interface) or PROFIBUS DP without Motion Control Functionality (X102)
(alternative)
● MCI board extension (slot variation: Section "MCI board extension slot version" (Page 56))
The MCI board also provides the following functionality:
● PLC: Compatible with SIMATIC S7 CPU 317-2 DP
● Static memory (SRAM) for storing retentive NCK and PLC-specific user data.
%DFNXSEDWWHU\FRQQHFWLRQFDEOH
;%DFNXSEDWWHU\
;0&,%RDUG([WHQVLRQ
*)
;03,'3 *)
*) ;3&,%XV
;352),%86'3 *)
ORFNLQJVFUHZV
,QWHUQDOWKUHDG81&
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 47
Hardware Descriptions
2.2 MCI2 board for 840Di sl
Interface overview
Interfaces of the MCI board module
Manual
48 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.2 MCI2 board for 840Di sl
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 49
Hardware Descriptions
2.2 MCI2 board for 840Di sl
NOTICE
The PROFIBUS DP (X101) and MPI/DP bus (X102) interfaces are isolated both from
one another and from the PCU.
License key
If the MCI board is to be inserted as a replacement (either only the MCI board or together
with the PCU), you will need a new license key.
Consult the central hotline. You will need the:
● HW series number of the old MCI board
● HW series number of the new MCI board
The HW series number of the MCI board is to be found on the rating plate of the module
(see Fig. ).
Manual
50 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.2 MCI2 board for 840Di sl
+:VHULHVQXPEHU
For instructions on how to enter the license key, see Section "License
management" (Page 146).
Note
If the MCI board is to be inserted as a replacement (either only the MCI board or together
with the PCU), you will need a new license key.
WARNING
Operating electrical equipment has parts and components that are at hazardous voltage
levels.
Improper use of these devices can lead to death, severe personal injury, or substantial
property damage.
Therefore, when servicing the equipment, you must follow all the instructions contained in
this section and provided with the product.
• Only qualified personnel should maintain this equipment.
• Before starting any maintenance and service work, disconnect the device from power
supply.
• Only spare parts approved by the manufacturer may be used.
• Strictly observe the prescribed maintenance intervals, as well as the instructions for
repair and replacement.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 51
Hardware Descriptions
2.2 MCI2 board for 840Di sl
NOTICE
This module contains electrostatically sensitive components.
Discharge yourself of electrostatic energy before touching the components. The easiest
way to do this is to touch a conductive, grounded object immediately beforehand (for
example, bare metal parts of control cabinet or the protective ground contact of a socket
outlet).
Implementation
To change the module, proceed as follows:
1. Check that there is a suitable series startup file (NCK and PLC) available before
removing the module.
For information on how to create a series startup file, please refer to Chapter "User-data
backup/series startup" (Page 541).
2. Shutdown SINUMERIK 840Di sl or Windows XP properly.
To do this, use one of the following options:
– Windows taskbar: Start > Shut Down.
– Interface signal: "PC shutdown", see Subsection "840Di sl-specific interface
signals" (Page 587).
3. Disconnect the device from the mains.
4. Remove the screws from the cover of the housing (Fig. ) and open the housing of your
PC, observing the relevant safety regulations.
Screws of the
cover of housing
Manual
52 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.2 MCI2 board for 840Di sl
5. Optional:
Remove interconnecting cable to the MCI board extension module, interface X2.
6. Remove the fastening screw (see Fig. below) and remove the module holding-down
device.
)L[LQJVFUHZ
%RDUGUHWDLQHU
3ODVWLF
VXSSRUW
;%DFNXSEDWWHU\
8. Loosen the fastening screw on the cover plate of the module and remove the module
while observing ESD measures.
9. Insert the new module into the appropriate slot on the mother board and fasten it using
the fastening screw on the cover plate.
10.Insert the cable connection X3 (backup battery) into the module.
11.Re-attach the board retainer.
12.Optional:
Remove interconnecting cable to the MCI board extension module, interface X2.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 53
Hardware Descriptions
2.2 MCI2 board for 840Di sl
13.Close the housing of your PC and fasten the screws from the cover of the housing (see
third Fig.).
14.Reconnect the power supply and start the computer.
Safety
Degree of protection IP 00
Safety class I, acc. to VDE 0106 P1: 1982 (IEC 536)
Safety regulations EN61131-1
Certifications CE, UL, CSA
Power consumption 5 V
Standard 3.75 W
Maximum 5W
Mechanical data
Dimensions PCI card, short
Weight 140 g
Climatic environmental conditions
Heat dissipation Open-circuit-ventilated
Temperature limits operation Storage/transport
• MCI board alone - -40 ... 70 °C
• MCI board in PCU 50.3 5 ... 55 °C -20 ... 60 °C
Tested according to DIN IEC 68-2-1, DIN IEC 68-2-2
(DIN EN 60068-2-2), DIN IEC 68-2-14
Limits for relative humidity 5 ... .80 % 5 ... .95 %
Tested according to DIN IEC 68-2-30
Per minute Per hour
Rate of temperature change Max. 1 K Max. 10 K
Condensation Not permissible
Quality assurance to ISO 9001
Vibrational load during operation
Class 3M4
Frequency range 10 ... 58 Hz/58... 200 Hz
Const. excursion/acceleration 0.075 mm / 1 g
Tested as per DIN EN 60068-2-6
Module in PCU 50.3
Shock load during operation
Acceleration 50 m/s2
Duration of nominal shock 30 ms
Tested as per DIN EN 60068-2-6
Module in PCU 50.3
Manual
54 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.2 MCI2 board for 840Di sl
Note
The specified safety regulations, certifications, degree of protection and safety class only
apply if the module is plugged into a SINUMERIK PCU 50.3.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 55
Hardware Descriptions
2.3 MCI board extension slot variation
2.3.1 Assembly
Functions
The MCI board extension slot variant provides the following functions as an optional
expansion board of the MCI board:
● 4 binary inputs (isolated)
● 4 binary outputs (isolated)
● 2 measuring inputs (isolated)
● 2 handwheels (non-isolated).
Either differential or TTL handwheels (switch S1) can be operated on the module.
;0&,ERDUGH[WHQVLRQ
6ZLWFK6
*)
;&DEOHGLVWULEXWRU
*) 3&,EXVPHFKDQLFDO
/RFNLQJ VFUHZV
)HPDOHWKUHDG81&
Manual
56 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.3 MCI board extension slot variation
Order Number
CAUTION
The plugging-in or disconnection of the cable distributor to or from the interface X121 of the
module, many be done only in the de-energized state.
Before you plug in or remove the cable distributor, switch off the PCU (shut down Windows
XP correctly!). Otherwise, short circuits might occur on the module. This could destroy the
module.
With switch S1 you can select the type of handwheel that is to be operated on the module:
Switch S1
● Differential handwheels:
Switch S1 closed (delivery state)
● TTL handwheels:
Switch S1 open
Differential or TTL handwheels can only be operated alternately.
6ZLWFK6
6ZLWFKSRVLWLRQRSHQ77/KDQGZKHHOV
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 57
Hardware Descriptions
2.3 MCI board extension slot variation
NOTICE
You select between differential and TTL handwheels on the module using switch S1 before
installing the module.
Conduct installation
To install the module, proceed in the sequence described below.
WARNING
Operating electrical equipment has parts and components that are at hazardous voltage
levels.
Improper use of these devices can lead to death, severe personal injury, or substantial
property damage.
When servicing this device, you should therefore observe all notices provided in this section
and attached to the product itself.
• Only qualified personnel should maintain this equipment.
• Before starting any maintenance and service work, disconnect the device from power
supply.
• Only spare parts approved by the manufacturer may be used.
• Strictly observe the prescribed maintenance intervals, as well as the instructions for
repair and replacement.
NOTICE
This module contains electrostatically sensitive components.
Discharge yourself of electrostatic energy before touching the components. The easiest
way to do this is to touch a conductive, grounded object immediately beforehand (for
example, bare metal parts of control cabinet or the protective ground contact of a socket
outlet).
Manual
58 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.3 MCI board extension slot variation
Screws of the
cover of housing
4. Remove the fastening screw of the module holding-down device (see Fig. below) of the
MCI board and remove the module holding-down device.
)L[LQJVFUHZ
%RDUGUHWDLQHU
3ODVWLF
VXSSRUW
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 59
Hardware Descriptions
2.3 MCI board extension slot variation
Interface overview
Interfaces of the MCI board extension slot variation
Manual
60 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.3 MCI board extension slot variation
2SWRFRXSOHU
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 61
Hardware Descriptions
2.3 MCI board extension slot variation
2SWRFRXSOHU
5HODLV
'ULYHUV
Digital inputs
Electrical data of the digital input interface:
● Isolated from the board electronics
● Common ground (GNDEXT)
Digital outputs
Electrical data of the digital output interface:
● Isolated from the board electronics
● Common ground and with regard to the external power supply (M24EXT)
● Rated current: 500 mA
Differential handwheels
Electrical data of the differential handwheel interface:
● Connected to the board electronics
● Signals used:
– MPGx_A
– MPGx_B
– MPGx_XA
– MPGx_XB
Manual
62 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.3 MCI board extension slot variation
TTL handwheels
Electrical data of the TTL handwheel interface:
● Connected to the board electronics
● Signals used:
– MPGx_A
– MPGx_B
– M
NOTICE
The optional power supply of the handwheels (P5) is electronically protected with 2
A. The maximum continuous load is 1 A. Per handwheel 500 mA.
Measuring inputs
Electrical data of the measurement probe interface:
● Isolated both from one another and from all other voltage areas (board electronics, digital
inputs/outputs and handwheels)
● Signal delay active edge: 10 μs
● Signal delay inactive edge: 100 μs
Note
The maximum cable length is 25 m for all functions.
Table 2-7 Technical data for MCI board extension, slot version
Safety
Degree of protection IP 20
Safety class Safety class I, in accordance with VDE 0106 P1: 1982 (IEC 536)
Safety regulations EN61131-1
Certifications CE, UL, CSA
Electrical data
Maximum Standard
Power consumption without I/Os 500 mW 350 mW
Power consumption with I/Os 2.1 W 850 mW
both handwheels per handwheel
Max. current-carrying capacity of 1A 500 mA
the 5 V power supply
Mechanical data
Dimensions Short PCI card
Weight 110g
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 63
Hardware Descriptions
2.3 MCI board extension slot variation
Note
The specified safety regulations, certifications, degree of protection and safety class only
apply if the module is plugged into a SINUMERIK PCU 50.3.
Manual
64 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.4 Cable distributor
Order Number
Cable connection
The cable distributor consists of a connector jacket for a 37-pin Sub-D connector with
enlarged interior. The cable distributor is used to split the I/O-MPG-extension interface (X121)
to a maximum of 7 single cables. These must be connected in the order shown in Table
"Plug assignment".
To supply the digital outputs, an external 24 V supply is possible at the cable distributor.
&DEOH
);$$MMM
&DEOH
);$$MMM
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 65
Hardware Descriptions
2.4 Cable distributor
Insert the appropriate individual cable in the opened cable distributor at the associated
connector X1 to X10. Place the cable in the appropriate cable guide.
Make sure that the shield jackets that became free have a large conductive connection to the
metallic contact areas of the cable distributor. See the following figure for this purpose. Insert
the upper terminal bar in such a way that its "teeth" are facing the "teeth" of the lower
terminal bar and then secure the upper housing section.
This will reliably press the cable shields between the contact areas of the contact springs
and contact them safely. The shield potential is reliably routed to the housing of the PCU
using the contact springs of the cable distributor on the front panel of the PCU.
&DEOH,QOHWV
7HUPLQDOFDSV
&RQWDFWVXUIDFHV
; ; ; ; ; ; ; ; ; ; 3OXJLQFRQQHFWRUV;;
6 6 6
6 6 6
6ELV6
FORVHG
;
RSHQ
6XE'VRFNHWFRQQHFWRU
switch S1 S2 S3 S4 S5 S6
Open x x x x
Closed x x
Manual
66 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.4 Cable distributor
Connector assignments
Table 2-9 Assignment of connector
NOTICE
When assembling the cable distributor, make absolutely sure that the supplied insulating
washer is installed correctly and the coding pins are installed.
Mounting
The cable distributor is fastened using the two supplied adapter plates at the X121 cable
distributor interface of the MCI board extension module using screws.
&DEOHGLVWULEXWRU7RSYLHZ &DEOHGLVWULEXWRUVLGHYLHZ
$GDSWHUSODWH
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 67
Hardware Descriptions
2.4 Cable distributor
Pin assignments
Connector designation: X1...X10
Plug-connector type: DU-BOX-plug connectors
Pin-No. Signal name DU-BOX- Cable Cable order No. Wire color I/O device Terminal
37-pin plug No. 6FX2002-4AA....
plug Pin. No./
- X10/2 7 41-0❑❑❑ rd
9 MEPUS 0 X10/1 or 1. Measuring Signal+24V
- X10/4 bn inputs
10 MEPUC 0 X10/3 bk Reference 0V
Shielding 1. Measuring
inputs
1 M24EXT X9/2 6 41-0❑❑❑ rd Supply of the 4 Chassis
20 P24EXT X9/1 or binary outputs/of ground
the MPI 24 V
2 M24EXT X9/4 bn
connector
21 P24EXT X9/3 bk Chassis
ground
Shielding
24 V
3 OUTPUT 1 X8/2 5 41-0❑❑❑ rd 4 binary outputs 2. Output
22 OUTPUT 3 X8/1 or 4. Output
4 OUTPUT 0 X8/4 bn 1. Output
23 OUTPUT 2 X8/3 bk 3. Output
Shielding
5 INPUT 3 X7/2 4 21-0❑❑❑ rd 4 binary inputs 4. Input
24 GNDEXT X7/1 or Chassis
6 INPUT 2 X7/4 bn ground
25 GNDEXT X7/3 bk 3. Input
7 INPUT 1 X6/2 green Chassis
ground
26 GNDEXT X6/1 yellow
2. Input
8 INPUT 0 X6/4 vt
Chassis
27 GNDEXT X6/3 bu
ground
Shielding
1. Input
Chassis
ground
- X5/2 3 41-0❑❑❑ rd
28 MEPUS 1 X5/1 or 2. Measuring Signal+24V
- X5/4 bn inputs
29 MEPUC 1 X5/3 bk Reference 0V
Shielding 2. Measuring
inputs
Manual
68 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.4 Cable distributor
Pin-No. Signal name DU-BOX- Cable Cable order No. Wire color I/O device Terminal
37-pin plug No. 6FX2002-4AA....
plug Pin. No./
11 MPG1 XA X4/2 2 21-0❑❑❑ rd 2. Handwheel XA
30 MPG1 A X4/1 or A
12 MPG1 5V X4/4 bn 6FC9320-5DB 5V
31 MPG1 0V X4/3 bk 0V
13 MPG1 5V X3/2 green 5V
32 MPG1 0V X3/1 yellow 0V
14 MPG1 XB X3/4 vt XB
33 MPG1 B X3/3 bu B
Shielding
15 MPG0 XA X2/2 1 21-0❑❑❑ rd 1. Handwheel XA
34 MPG0 A X2/1 or A
16 MPG0 5V X2/4 bn 6FC9320-5DB 5V
35 MPG0 0V X2/3 bk 0V
17 MPG0 5V X1/2 green 5V
36 MPG0 0V X1/1 yellow 0V
18 MPG0 XB X1/4 vt XB
37 MPG0 B X1/3 bu B
Shielding
Signal names:
MPG0, 1 5 V: Voltage supply 1./2. handwheel 5 V
MPG0, 1 0 V: Voltage supply 1./2. handwheel 0 V
MPG0, 1 A, XA: 1./2. differential handwheel input A, XA
MPG0, 1 B, XB: 1./2. differential handwheel input B, XB
MEPUS 0, 1: 1./2. Measurement impulse signal
MEPUC 0, 1: 1./2. Measuring impulse common (ground reference)
INPUT [0...3]: 1. till 4. binary NC-input
GNDEXT: External mass (ground reference for binary NC-inputs)
OUTPUT [0...3]: 1. till 4. binary NC-output
M24EXT: external 24 V-feed (-) for binary NC-outputs
P24EXT: external 24 V-feed (+) for binary NC-outputs
NOTICE
The maximum current carrying capacity of the handwheel interface is 1 A for both
handwheels. 500 mA per handwheel.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 69
Hardware Descriptions
2.4 Cable distributor
Colors:
rt: Red
or: Orange
br: Brown
bk: Black
gn: Green
ye: Yellow
vt: Violet
bu: Blue
Manual
70 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.5 SINUMERIK Industrial PC
**)
WRS *)
**)
2ULHQWDWLRQZLWKUHIHUHQFHWRRSHUDWLRQZLWK23
)L[LQJVFUHZVKRXVLQJFRYHU
Figure 2-13 PCU 50.3: Perspective view with installed hard disk drive
Order Number
PCU as spare part with MCI board
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 71
Hardware Descriptions
2.5 SINUMERIK Industrial PC
Features
The SINUMERIK industrial PC "PCU 50.3" provides, together with the MCI board, the basis
for the SINUMERIK 840Di sl. The PCU 50.3 has the following important features:
● Variants:
– Celeron M, 1.5 GHz, 512 MB SDRAM
– Pentium M, 2.0 GHz, 1024 MB SDRAM
● Hard disk min. 40 GB (replaceable)
● Operating system Windows XP ProEmbSys with Service Pack 2
● Robust design (continuous operation, high noise immunity)
● Compact dimensions for space-saving installation
● Easy installation with four screws on the rear of the operator panel front
● Mounting position and location to a large degree variable
● Screen resolution 640 x 480, up to max. 1600 x 1200
● Power supply: DC 24V
● Interfaces to peripheral devices:
– 1 x PROFIBUS DP (max. 12 Mbaud)
– 1 x DVI-I interface for external monitor
– 2 x Ethernet connections 10/100 Mbaud
– 1 x CF card shaft (covered)
– 4 x high-speed USB ports (USB 2.0)
● Interfaces to operator panel front:
– LVDS panel interface (channel 1 and optional channel 2)
– I/O USB panel interface
– Additional high-speed USB port (USB 2.0)
● Slots
– 1 x PCI (length: max. 265 mm, occupied by the MCI board)
– 1 x PCI (length: max. 175 mm, occupied with option MCI board extension slot variant)
Options
The following options are offered:
● Memory expansion up to max. 2048 MB
● External floppy disk drive
Fastening angle
Mounting brackets are required to mount the PCU directly behind the operator panel front:
● Mounting bracket MLFB: 6FC5 248-0AF20-2AA0
Manual
72 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.5 SINUMERIK Industrial PC
Replacing a device
When installing spare parts please note the following:
● When replacing the PCU, remove the mounting brackets (MLFB 6FC5 248-0AF20-2AA0)
from the defective PCU and attach to the replacement part.
References:
For the complete documentation on the PCU 50.3, please refer to:
/BH/ Operator components Manual, Component PCU 50.3
Technical data
Table 2-11 Technical data for PCU 50.3 with MCI board
Safety
Safety class I per IEC 60536
Degree of protection according to IP20
EN 60529
Certifications CE
Electrical data
Input voltage DC 24 V
Max. power consumption 1 x PCI slot (length: min. 140 mm)
1 x PCI slot (length: max. 288 mm)
3.3 V 2A
5V 2A
12 V 0.3 A
-12 V 0.05A
Power consumption PCU PCI slot 1)
Max. 190 W 15 W
Main power outage buffering time Min. 20 ms
Mechanical data
Dimensions (mm) Width 297 Height 267 Depth 81.7
Weight approx. 7.2 kg
Mechanical ambient conditions operation Transportation
(with OP 012) (in packing)
Vibratory load 10 to 58 Hz: 0.075 mm 5 to 9 Hz: 6.2 mm
58 to 200 Hz: 9.8 m/s2 9 to 500 Hz: 19,6 m/s2
DIN IEC 60068-2-6 DIN IEC 60068-2-6
Shock stressing 50 m/s2, 30 ms, 250 m/s2, 6 ms,
18 shocks 18 shocks
DIN IEC60068-2-27 DIN IEC60068-2-29
Noise < 55 dB(A) according to DIN 45635-1
Climatic environmental conditions
Heat dissipation Open-circuit-ventilated
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 73
Hardware Descriptions
2.5 SINUMERIK Industrial PC
Manual
74 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.6 SINUMERIK operator panel fronts
DOSKDEHWLF
NH\JURXS
6RIWNH\VDQGGLUHFWNH\V
6RIWNH\VDQGGLUHFWNH\V
QXPHULFDO
NH\JURXS
&XUVRU
NH\JURXS
&RQWURO
NH\
JURXS
86%
IURQW
LQWHUIDFH
6RIWNH\V
Order Number
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 75
Hardware Descriptions
2.6 SINUMERIK operator panel fronts
Features
The OP 012 operator front provides the following features:
● 12.1" TFT flat screen (color) with resolution 800 x 600 pixels
● Membrane keyboard with alphabetic, numeric, cursor, and control keypad
● Softkeys/direct keys:
– 2 x 8 horizontal rows of keys with softkey function
– 2 x 8 vertical rows of keys with softkey and direct control key function
– Direct keys connectable using PP031–MC or directly to the I/Os
● Shift key for switchover to the second key level (not for switching over the letters, since
they are uppercase only)
● Integrated mouse
● Status LEDs for power supply and overtemperature
● USB interface at the front
● Degree of protection IP65
● Can be combined with PCU or TCU
● External floppy disk drive can be connected
References
For detailed documentation about the operator panel front OP 012 please see:
/BH/ Operator Components Manual, Operator panel front OP 012
Manual
76 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.7 TCU (Thin Client Unit)
;;LQWHUIDFHVIRUFRQQHFWLRQWRWKH
;;86%$3RUWV RSHUDWRUSDQHOIURQWFRYHUHG
(WKHUQHW.DEHO
;(WKHUQHWLQWHUIDFH
;&RPSDFW)ODVK,QWHUIDFH
Order Number
Features
A TCU permits the distributed connection of SINUMERIK OP/TP operator panel fronts and
the SINUMERIK PCU. The features include the following:
● Communication with the PCU is performed via Industrial Ethernet (10/100 Mbaud) in a
separate sub-network with DHCP server (on the PCU).
● Permits large distances between the PCU and operator panel front (maximum possible
distance between two network nodes/access points: approx. 100 m).
● Graphics resolutions: 640x480 to 1024x768 pixels; depth of color: 16 bits
● Interfaces:
– 1 x Ethernet 10/100 Mbaud
– 1 x Compact Flash
– 2 x USB 1.1 for connection of mouse and keyboard
– Interfaces to operator panel front:
LVDS interface for SINUMERIK-OP,
USB interface for SINUMERIK-OP (internal)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 77
Hardware Descriptions
2.7 TCU (Thin Client Unit)
References:
Comprehensive documentation about the configuration and commissioning of the TCU is
given in:
Configuration:
/BH/Operator Components Manual, Distributed configuration with TCU
Startup:
/IAM/ Commissioning Manual HMI, Startup TCU (IM5)
Manual
78 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.8 Handheld units
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 79
Hardware Descriptions
2.8 Handheld units
Order Number
Features
The SINUMERIK HT8 is a handheld operating and programming device that combines the
functions of an operator panel front and a machine control panel. The HT8 has a 7.5" TFT
color display and is operated via a touch screen and membrane keys. It is equipped with an
emergency stop button and two 3-position acknowledgement buttons for left and right-
handed operators.
The HT 8 is hot-plug capable. This allows trouble-free connecting and disconnecting of the
connector during operation, without triggering an Emergency Stop.
The HT 8 is available in two variants:
● with acknowledgement button, Emergency Stop button, override rotary switch
● with acknowledgement button, Emergency Stop button, rotary override switch, and
handwheel
The module has the following essential features:
● LC display as a Touch Screen
– 640 x 480 (VGA) Color TFT
– Inverter on board
● 52-key membrane keyboard
– 24 machine control keys
– 28 control keys (number block keys, cursor pad, function keys)
● Emergency stop button
● Rotary override switch (19 positions)
● Handwheel (optional)
● 2 acknowledgement buttons (2-channel, 3-stage)
● Serial interfaces:
– HT 8 connecting cable to terminal box / connection module
– USB interface (with dummy plugs)
● CF Card interface
● Power supply (+24 V)
Manual
80 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.8 Handheld units
Order Number
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 81
Hardware Descriptions
2.8 Handheld units
Features
The hand operating device SINUMERIK HT2 (Handheld Terminal 2) is designed for the
manual operation of tool machines. The HT2 is preferably designed for the application case,
when the emphasis lies on mobility duting operation and observation. In this case the HT2
can be connected to any place in the system via a connection box "Basic PN" or "Plus PN".
This allows trouble-free connecting and disconnecting of the HT2 together with the
connection box PN during operation, without triggering an Emergency Stop.
For a mounting in the cabinet, the HT2 is connected to a connection module Basic PN.
Through two acknowledgement buttons the HT2 is suitable for both right and left-handed
persons. The magnetic handwheel allows intuitive axis feed motion. All of the HT 2 keys can
be freely configured and labeled.
The HT 2 can be mounted using a retaining magnet or an appropriate bracket. Both the
retaining magnet as well as the holder are available as accessory.
The module has the following essential features:
● LC display (black / white)
– Resolution: 168 x 72 pixels
– LCD controller on board
– 4 lines each with 16 characters can be displayed
● 20-key membrane keyboard
– 16 machine control keys
– 4 keys (upper row of keys) can be assigned as softkey or system key
● Emergency Stop button, 2-channel
● Rotary override switch (19 positions)
● Magnetic handwheel
● Recess for the bracket or retaining magnet
● Cable duct for the HT 2 connecting cable to
– terminal box PN (Basic / Plus)
– PN Basic connection module
● Key-operated switch (3 positions, 2 keys)
● two acknowledgement buttons (2-channel, 3-stage)
Manual
82 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.9 Floppy disk drives
Figure 2-18 External 3.5" floppy disk drive with USB interface
Order Number
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 83
Hardware Descriptions
2.9 Floppy disk drives
Features
The disk drive is used to read in and save data from/to 3.5" disks with a maximum capacity
of 1.44 MB. The disk drive has the following features:
● USB interface: Version 1.1
● Can be inserted into customized operator panel fronts
● Bootable
● Input voltage: 5.25 V DC
● Power consumption, max.2.5 W
● Degree of protection acc. to EN 60529:
IP 54 (at the front)
IP 00 (rear side)
References:
For a complete description of the 3.5'' floppy disk drive (USB), please refer to:
/BH/Operator Components Manual, 3.5" disk drive (USB)
Manual
84 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.10 Power supply
Order Number
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 85
Hardware Descriptions
2.10 Power supply
Features
The SITOP POWER Standard 24V/10A power supply mode provides the following features:
● Input voltage - rated value: 120/230 VAC
● Input voltage - range: 93 ... 132 V/187... 264 V
● Power failure buffering: > 20 ms
● Rated power frequency: 50/60 Hz
● Power frequency range: 47 ... 63 Hz
● Input current rated value: 3,5/1,7 A
● Switch-on current (25° C): 55 A
● Output current rated value: 24 VDC
● Output current tolerance: ± 3 %
● Efficiency: > 87 %
● Output current rated value: 10 A
● Electron. short circuit protection with automatic restart
● Electrical isolation (SELV to EN 60950)
● Safety class (IEC 536; VDE 1006 T1) Class I
● Degree of protection (VDE 0470, IEC 529) IP 20
● Radio interference level complying to EN 55011 Class A
Manual
86 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.11 Uninterrupted power supply (UPS)
86%LQWHUIDFH
Order Number
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 87
Hardware Descriptions
2.11 Uninterrupted power supply (UPS)
Features
The SITOP POWER DC UPS module 15 provides the following features:
● Compact design (H x W x D: 125 mm x 50 mm x 125 mm)
● Rated input voltage: 24 VDC
● Rated output voltage: 24 VDC
● Rated output current: 15 A DC
● High efficiency: approx. 96 %.
● Safety class (IEC 536; VDE 1006 T1) Class III
● Degree of protection (VDE 0470, IEC 529) IP 20
● Setting options
– Connection threshold
– Charging current
– End-of-charge voltage
– Operating state ON/OFF
– Backup time
– Interruption of output voltage
● Protection and monitoring functions
– Incorrect polarity protection
– Overcurrent and short-circuit protection
– Exhaustive discharge protection
– Accu test
● Signaling of current status via LED
– Normal operation
– >85% full charging
– Battery standby supply
– Buffer standby not available (alarm)
● Additional output of all signals via a PC-capable interface:
– Type ....-2EC31: Serial interface
– Type ....-2EC41: USB interface
Manual
88 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.11 Uninterrupted power supply (UPS)
USB interface
The USB interface corresponds to specification 2.0. Communication is however only
performed at "full speed" corr. to 12 Mbaud. A commercial type four-core shielded USB
cable with a maximum cable length of 3 m can be used.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 89
Hardware Descriptions
2.11 Uninterrupted power supply (UPS)
Order Number
Features
The SITOP POWER LEAD-ACID MODULE 24 V DC/10 A/3.2 AH features the following:
● It has two maintenance-free, closed lead-acid batteries from the same lot, which are
installed in a holder and connected in series.
● Complete with battery retainer and terminals
● Low self-discharge rate of approximately 3% per month (at +20 °C)
● Short circuit protection (battery fuse 15 A/32 V)
● Safety class (IEC 536; VDE 1006 T1) Class III
● Degree of protection (EN 60 529; VDE 0470 T1) IP 00
Manual
90 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.12 PP72/48 I/O module
2.12.1 Assembly
6',/VZLWFKIRUVHWWLQJWKH
352),%86DGGUHVV
;352),%86
;3RZHU6XSSO\ 21
2))
'LJLWDOLQSXWVRXWSXWV
SLQULEERQFDEOHFRQQHFWRU
Order Number
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 91
Hardware Descriptions
2.12 PP72/48 I/O module
Features
I/O module PP72/48 is a simple module (without a separate housing) for connecting digital
input/outputs as part of an automation system based on PROFIBUS DP.
The module has the following important features:
● PROFIBUS DP connection (max. 12 MBaud)
● 72 digital inputs and 48 digital outputs
● On-board status display via four diagnostic LEDs
To power the module and the digital outputs, an external power supply source (+24 V DC) is
required.
Interface overview
Interfaces of I/O module PP72/48
Manual
92 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.12 PP72/48 I/O module
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 93
Hardware Descriptions
2.12 PP72/48 I/O module
PROFIBUS DP (X2)
Interface description of the PROFIBUS DP interface (X2):
● Connection: 9-pin sub D socket
● Pin assignment
Manual
94 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.12 PP72/48 I/O module
switch Description
1 PROFIBUS address: 20 = 1
2 PROFIBUS address: 21 = 2
3 PROFIBUS address: 22 = 4
4 PROFIBUS address: 23 = 8
5 PROFIBUS address: 24 = 16
6 PROFIBUS address: 25 = 32
7 PROFIBUS address: 26 = 64
8 Not used
NOTICE
A newly set PROFIBUS address will only come into effect after power OFF/ON.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 95
Hardware Descriptions
2.12 PP72/48 I/O module
;;;
33 3287 3LQ1XPEHU
9'&
5HFHLYHU
5HFHLYHU
5HFHLYHU
9
H[WSRZHUVXSSO\
9VWDELOL]HG
3287H[W
9
0
Manual
96 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.12 PP72/48 I/O module
CAUTION
A max. current of Iout = 0.5 A on X111, X222, X333: Pin 2 must not be exceeded. An
exceeding of the maximum current might destroy the module.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 97
Hardware Descriptions
2.12 PP72/48 I/O module
H[WSRZHUVXSSO\
9VWDELOL]HG
33
;;;
9 9
3LQQXPEHU
'2&20[
5HOD\V
'ULYHUV
'ULYHUV
:
:
:
:
'ULYHUV
1 (M)
● Connection cable: The required connecting cables (ribbon cables) must be provided by
the user.
● Supply voltage:
To supply the digital outputs, an external 24V DC power supply must be connected to
DOCOMx (X111, X222, X333: Pin 47, 48, 49, 50).
The reference ground of the external power supply source must be connected to X111,
X222, X333: Pin 1 (M)
For further data, see Subsection "Power Supply" (Page 100).
CAUTION
It is the user's responsibility to ensure that the max. current consumption per DOCOMx
pin (X111, X222, X333: Pins 47, 48, 49, 50) does not exceed 1 A. The power supply
(+24 V DC) for the digital outputs must therefore be connected to all 4 pins (X111, X222,
X333: Pin 47, 48, 49, 50) for each DOCOMx.
Manual
98 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.12 PP72/48 I/O module
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 99
Hardware Descriptions
2.12 PP72/48 I/O module
Assembly
The supply voltage (24 V DC) of the I/O module PP72/48 is connected to the screw terminal
block X1. Refer to Section "Interface description" (Page 92)
Digital outputs
To power the digital outputs (+24VDC), an external power supply source is required. The
power supply is connected through terminals X111, X222, X333, pins 47, 48, 49, 50
(DOCOMx).
Digital inputs
If the internal power supply from X111, X222, X333, Pin 2 (P24OUT) is not used to power
the digital inputs, it can be replaced by an external power supply source (+24 V DC) as an
option.
The reference ground of the power supply source must be connected with X111, X222, X333,
Pin 1 (GND). X111, X222, X333, Pin 2 (P24OUT) then remains open.
CAUTION
The external power supply voltages must be generated as function extra-low voltages with
safe electrical isolation (IEC 204-1, Section 6.4, PELV) and must be grounded centrally by
the user.
Moreover, the external power supply voltages for the I/O modules PP72/48, the digital
outputs, and optionally the digital inputs must meet the specifications according to Table.
Voltage
Minimum 20.4 V
Nominal 24 V
Maximum 28.8 V
minimum (dynamic) 18.5 V
maximum (dynamic) 30.2 V
Non-periodic overvoltage
Manual
100 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.12 PP72/48 I/O module
2.12.4 Grounding
The module must be installed according to EN 60204.
If a large-area, permanent metallic connection with the central ground point through the rear
panel is not possible, the mounting plate must be connected to the grounding by means of a
line (cross section > 10 mm2).
CAUTION
A protective conductor must be connected.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 101
Hardware Descriptions
2.12 PP72/48 I/O module
6,(0(16$%&'(
Manual
102 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.12 PP72/48 I/O module
Safety
Degree of protection IP 00
Safety class Safety class I, in accordance with VDE 0106 P1: 1982 (IEC
536);
Protection against ingress of foreign bodies and water in
accordance with IEC 529
Certifications UL/CSA, CE
Power consumption
At nominal load 11W
Mechanical data
Dimensions WxHxD [mm] 194 x 325 x 35
Weight approx. 0.3 kg approx. 1.2 kg
without mounting plate with mounting plate
Climatic environmental conditions
Heat dissipation Open-circuit-ventilated
operation Storage/transport
Temperature limits 0 ... 50°C -20 ... 55°C/-40... 70°C
Limits for relative humidity 5 ... 95% 5 ... 95%
Without condensation Without condensation
Condensation Not permissible
Air pressure 700 ... 1060hPa 700 ... 1060hPa
Transportation altitude - -1000 ... 3,000m
Shock stress during transportation
Free fall in transport packaging v1000mm
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 103
Hardware Descriptions
2.13 ADI4 (Analog Drive Interface for 4 Axes)
2.13.1 Assembly
;H[WHUQDOSRZHUVXSSO\9'&
2))
21
;352),%86FRQQHFWLRQ
352),%86DGGUHVV
$+ '
FRUUWR
6',/VZLWFKIRUVHWWLQJWKH
352),%86DGGUHVV
;DQDORJVHWSRLQWRXWSXWV
s9'&$[LV
;HQFRGHUFRQQHFWLRQ ;HQFRGHUFRQQHFWLRQIRUD[LV
IRUD[LV
;HQFRGHUFRQQHFWLRQ ;HQFRGHUFRQQHFWLRQIRUD[LV
IRUD[LV
;FRQQHFWLRQIRUGLJLWDO ;FRQQHFWLRQIRUGLJLWDO
LQSXWVLJQDOV RXWSXWVLJQDOV
'LDJQRVWLF/('ಫV
+3:703 &RQQHFWLRQIRUSURWHFWLYH
+(;&+5'< JURXQGVFUHZ0
Order Number
Manual
104 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.13 ADI4 (Analog Drive Interface for 4 Axes)
Features
The interface module ADI4 is suitable for operating up to 4 drives with analog setpoint
interface on PROFIBUS DP.
The module has the following essential features:
● PROFIBUS DP connection (max 12 Mbits/s)
● 4 servo interfaces each with one:
– Input: TTL/SSI encoder for incremental and absolute measuring systems
– Output: ±10 V analog
● General and drive-specific digital input/output signals
● On-board status display via four diagnostic LEDs
To power the module and the digital outputs, an external power supply source (+24 V DC) is
required.
NOTICE
Please observe the following framework conditions for operating the ADI4 DP slave:
• An ADI4 DP slave can only be operated on an equidistant PROFIBUS DP (see
Subsection "DP-Slave ADI4" (Page 286)).
• An ADI4 DP slave is not a DP standard slave certified as compliant with the PROFIDrive
profile, e.g. the ADI4 DP slave does not support acyclic communication.
References:
For detailed documentation about the interface-module ADI4 please see:
/ADI4/ analog drive interface for 4 axes
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 105
Hardware Descriptions
2.14 Diagnostic repeater for PROFIBUS DP
2.14.1 Assembly
Order Number
Manual
106 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Hardware Descriptions
2.14 Diagnostic repeater for PROFIBUS DP
Features
The diagnostics repeater with online line diagnostics for PROFIBUS DP offers the following
main features:
● Module-specific features:
– PROFIBUS DP standard slave (DP-V1)
– Data transmission speed: 9.6 kBaud to 12 MBaud
– Maximum depth of cascading: 9
– Redundant operation: No
● Automatic detection of fault type and fault location
● Distance given in line diagonistics:
– Resolution: 0.5 m
– Accuracy: ±1 m
● Repeater throughput time:
– Baud rates ≥1.5 Mbaud: 2.5 TBIT + 153 ns;
(12 MBaud: TBIT = 83.3 ns)
– Jitter: 1T = 1/48 MHz = 20.83 ns
● Monitoring function of isosynchronous PROFIBUS
– DP bus cycle (TDP): min. 1 ms, max. 32 ms
– Tolerance range TDP monitoring: ± 2 μs
– Tolerance range TDX monitoring: ± 10 μs
● Supply voltage: Rated voltage 24 V DC (20.4 to 28.8 V)
● Permissible ambient conditions:
– Operating temperature 0 °C to +60 °C
– Transportation-/storage temperature -40 °C to +70 °C
– Relative humidity max. 95 % at 25 °C
● Mechanical design:
– Dimensions (B X H X T) 80 x 125 x 67.5
– Weight 300 g
● Degree of protection: IP20
References:
A full description of the diagnostic repeater for PROFIBUS DP is given in:
Manual SIMATIC diagnostic repeater for PROFIBUS DP
Drawing number: A5E00352937-01, 10/2004 Edition
Order number (MLFB): 6ES7972-0AB00-8AA0
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 107
Hardware Descriptions
2.14 Diagnostic repeater for PROFIBUS DP
Manual
108 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Configuration 3
3.1 System overview
3RVVLEOHFRQILJXUDWLRQV
FHQWUDOL]HGFRQILJXUDWLRQ
&RQQHFWLRQRIWKH2373GLUHFWO\
WRWKH3&8
GLVWULEXWHGFRQILJXUDWLRQ&RQQHFWLRQ
RIWKH2373WRD7&87KLQ&OLHQW
8QLW&RPPXQLFDWLRQZLWKWKH3&8
YLD(WKHUQHW
3&8
Figure 3-1 System overview of SINUMERIK 840Di sl: Operator panels and touch panels
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 109
Configuration
3.1 System overview
0&,%RDUG
;
;
'HFHQWU,2V\VWHP
6,0$7,&(7
6,180(5,.'LVO
0,1,++8
3&8
352),%86'3
352),%86'3
$OWHUQDWLYH
,20RGXO33
6,1$0,&66 6,02'5,9(XQLYHUVDO
RSWLRQPRGXOH0RWLRQ&RQWURO
3XVKEXWWRQ3DQHO
ZLWK352),%86'3
033+
PDFKLQHFRQWUROSDQHO PDFKLQHFRQWUROSDQHO
0&3 0&3
$'
2QO\WKH3/&KDVDFFHVVWRWKH352),%86'3
LQWHUIDFH;7KHUHIRUHQRGULYHVDQGQR,2VRIWKH1&
FDQEHRSHUDWHGYLDWKLV352),%86OLQH
3*3&]% 'LDJQRVH5HSHDWHUIRU
6,0$7,&32:(53* 352),%86'3
Manual
110 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Configuration
3.1 System overview
,QGXVWULDO3&3&8
6,72332:(5 6,723'&8690RGXOHZLWK
VWDQGDUG9$ 6,72332:(57OHDGDFLGPRGXOH
SIEMENS
SIEMENS
Figure 3-3 System overview of SINUMERIK 840Di sl: PCU components (as a diagram)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 111
Configuration
3.2 Electrical design
6,1$0,&66
2WKHUZLVH
6,02'5,9(XQLYHUVDO
ZLWKRSWLRQPRGXOH0RWLRQ
&RQWUROZLWK352),%86b'3
;
'LDJQRVWLFUHSHDWHUV
)RU352),%86b'3
;
;
;
0&,ERDUG 6,0$7,&'3(7
;
,20RGXOH33
3XVKEXWWRQSDQHO
033+
;
0DFKLQHFRQWUROSDQHO
0&3
0DFKLQHFRQWUROSDQHO
0&3 $',
3*3&HJ
6,0$7,&3RZHU3*
0&,ERDUG;
2QO\WKH3/&KDVDFFHVVWRWKH352),%86'3LQWHUIDFH
;7KHUHIRUHQRGULYHVDQGQR,2VRIWKH1&FDQEH
RSHUDWHGYLDWKLV352),%86OLQH
Manual
112 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Configuration
3.2 Electrical design
Note
For details on general accessories, such cables, connectors and prefabricated cables,
please refer to:
References: Catalog NC 61, MOTION-CONNECT
;
&DEOHGLVWULEXWRU
;
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 113
Configuration
3.2 Electrical design
6,72332:(5ZLWK
6,723'&836PRGXOHDQG 0&,ERDUGH[WHQVLRQ
6,72332:(5OHDGDFLGEDWWHU\ SIEMENS ; 2SWLRQ
PRGXOH
0&,ERDUG
1HWZRUNVZLWFK 3RZHUVXSSO\
2Q2IIVZLWFKRQO\VWDQGE\ ; ;
IRU9'&
IRUWKHSRZHUVXSSO\
[86%
6\VWHPQHWZRUN &RPSDQ\QHWZRUN
,2LQWHUIDFHIRUFRQQHFWLQJWKH,2 /9'6LQWHUIDFHIRUFRQQHFWLRQ
FDEOHRIWKHRSHUDWRUSDQHOIURQW RIWKH7)7GLVSOD\FDEOH
2SWLRQDOFRQQHFWLRQIRURSHUDWRUSDQHOIURQW
ZLWK86%IURQWLQWHUIDFH
Manual
114 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Configuration
3.3 Connection overview
6,180(5,.'LVO
3&8
UDSLGGLJLWDO&1&,2
ืP
&DEOHGLVWULEXWRU);%$
FDEHO 3UREH
0&,ERDUGH[WHQVLRQ
6ORWYDULDQW2SWLRQ
);$$ഋഋ PD[
ืP
;
FDEHO HOHFWURQLFKDQGZKHHO
);$$ഋഋ PD[
ืP
FDEHO FRQQHFWLRQNLW
0LQL++8
);$$ഋഋ );%*
(0(5*(1&<6723
ืPIRUKDQGZKHHOVLJQDOV HQDEOLQJFLUFXLW
FDEHO
GLVWULEXWRU
; );$$ഋഋ %+*
);%&
W\SH%03,
ืPIRUKDQGZKHHOVLJQDOV %)
%+ (0(5*(1&<6723
HQDEOLQJFLUFXLW
0LQL++8
(0(5*(1&<6723
HQDEOLQJFLUFXLW
352),%86'3 3/&LQSXWV
GLDJQRVWLFUHSHDWHU
; &RQQHFWLRQNLW
);%*
352),%86 ; PDFKLQHFRQWUROSDQHO
ื 0%DXGP
352),%86'3
0&,%RDUG
3XVKEXWWRQ3DQHO (OHFWURQLF
033 ืP KDQGZKHHO
Figure 3-8 Connection overview: MCI board and MCI board extension
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 115
Configuration
3.3 Connection overview
1. Connectors:
6ES7972-0BA41-0XA0; cable outlet 350, without PC socket connector
6ES7972-0BB41-0XA0; cable outlet 350, with PC socket connector
6ES7972-0BA12-0XA0; cable outlet 900, without PG socket connector
6ES7972-0BB12-0XA0; cable outlet 900, with PG socket connector
Cables:
6XV1830-0EH10; by the meter, non-trailable
6XV1830-3EH10; by the meter, trailable
2. Connectors:
6GK1500-0EA02; cable outlet 1800, without PG-socket connector
Cables:
6XV1830-0EH10; by the meter, non-trailable
6XV1830-3EH10; by the meter, trailable
3. Connectors:
6ES7972-0BB41-0XA0; cable outlet 350, with PC socket connector
6ES7972-0BB12-0XA0; cable outlet 900, with PG socket connector
Cables:
6XV1830-0EH10; by the meter, non-trailable
6XV1830-3EH10; by the meter, trailable
4. The cable is included in the scope of supply
for an overview of the standard PC interfaces see Section "PCU 50.3" (Page 114) as well
as:
References:
/BH/ Operator components Manual, Component PCU 50.3
5. Cables: 6FX8002-2CP00-1A⃞0
6. The detailed connection overview for ADI4 is given in:
References:
/ADI4/ analog drive interface for 4 axes, connection overview
7. Connection with the help of Fast Connect (insulation displacement method) see:
References:
SIMATIC Manual: Diagnostic repeater for PROFIBUS DP
8. Can be parameterized alternatively as MPI or PROFIBUS interface.
Only the PLC can access this PROFIBUS interface. No drives and no NCK I/Os can be
operated via this PROFIBUS line.
Manual
116 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Configuration
3.3 Connection overview
Note
The length codes for preassembled cables 6FX_002-... can be found in:
References:
Catalog NC 61, MOTION-CONNECT.
3.3.2 PCU50
6,180(5,.'LVO
3&8
6,180(5,.
/9'6,2
RSHUDWRUSDQHOIURQW
6,180(5,. 6,180(5,.
7KLQ&OLHQW8QLW RSHUDWRUSDQHOIURQW
7&8
(WKHUQHW
PDFKLQH HOHFWURQLF
FRQWUROSDQHO KDQGZKHHO
YP
0&3&,(
,QGXVWULDO
(WKHUQHW
(WKHUQHW
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 117
Configuration
3.3 Connection overview
Manual
118 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
EMC and ESD Measures 4
4.1 RI suppression measures
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 119
EMC and ESD Measures
4.2 ESD measures
Note
For further information about RI suppression measures and the connection of shielded
cables see:
References:
/EMC/ EMC Directives
CAUTION
The modules contain electrostatically sensitive devices. Discharge yourself of electrostatic
energy before touching the electronic modules. The easiest way to do this is to touch a
conductive, grounded object immediately beforehand (for example, bare metal parts of
control cabinet or the protective ground contact of a socket outlet).
NOTICE
Handling ESDS modules:
• When handling electrostatically sensitive devices, make sure that operator, workplace
and packing material are properly grounded.
• Generally, electronic modules may not be touched unless work has to be carried out on
them. When handling PC boards make absolutely sure that you do not touch component
pins or printed conductors.
• Personnel may only touch components if
– you are permanently grounded by means of an antistatic chain,
– you are wearing ESD boots or ESD boots with grounding strips in conjunction with
ESD flooring.
• Boards/modules must only be placed on conductive surfaces (table with ESDS surface,
conductive ESDS foam, ESDS packaging, ESDS transport container).
NOTICE!
Modules with their own voltage sources (e.g. batteries) are an exception. These may not
be placed on conductive surfaces, as this might result in short circuits and thus destroy
the component on the module.
• Never place modules in the vicinity of display units, monitors, or television sets
(minimum distance to the screen > 10 cm).
• Do not bring modules into contact with chargeable and highly-insulating materials, such
as plastic, insulating table tops or clothing made of synthetic materials.
• Measurements on modules are allowed only if
– the measuring instrument is properly earthed (e.g. equipment grounding conductor),
or
– when floating measuring equipment is used, the probe is briefly discharged before
making measurements (e.g. a bare-metal control housing is touched).
Manual
120 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Power-On and Power-Up 5
5.1 Preparing for commissioning
5.1.1 Checklist
SINUMERIK 840Di sl
The following checklist will help you to commission the supplied components without undue
problems and ensure a high availability on your product:
● When handling the components, all ESD measures are observed.
● All screws are tightened with their prescribed torque.
● All connectors are plugged correctly and locked/screwed.
● All components are grounded and connected to shields.
● The load capacity of the central power supply is taken into account.
Drives
Additional points should be observed depending on the drive system used. For detailed
information, please refer to:
● SINAMICS S120
Commissioning Manual, Section "Prerequisites for startup"
● SIMODRIVE 611 universal
/FBU/ Function Manual SIMODRIVE 611 universal, Section "General information on
startup"
Limit values
All components are dimensioned for defined mechanical, climatic and electrical
environmental conditions. No limit value may be exceeded, neither during operation, nor
during transportation.
In particular, the following must be observed:
● Power supply conditions
● Pollution burden
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 121
Power-On and Power-Up
5.1 Preparing for commissioning
● Function-impairing gases
● Climatic environmental conditions
● Storage/transport
● Shock stressing
● Vibratory load
● Ambient temperature
Requirements
The individual steps for first commissioning are listed below in the recommended order.
1. The whole plant is mechanically and electrically connected and tested for errors acc. to
the checklist (see previous section).
– SINUMERIK 840Di sl
– SINAMICS S120
References:
Guide for the SINUMERIK 840D sl machine configuring
– SIMODRIVE 611 universal-converter system
– Motors
– SIMATIC S7 I/O components
– HMI user interfaces
Note
Guidelines for machine configuration
The device manual "Guidelines for machine configuration SINUMERIK 840D sl"
currently refers only to SINUMERIK 840D sl with SINAMICS S120. The information
contained in this can, in principle, be applied to SINUMERIK 840Di sl with
SINAMICS S120. A revised edition for SINUMERIK 840Di sl is in preparation.
2. The order numbers (MLFB) of the SIMODRIVE 611 universal drives and SIMATIC S7-I/O
components should be available. When creating the SIMATIC S7 project you must check,
whether the component chosen from the hardware catalog by "HW Config" corresponds
to the component used on the plant.
Manual
122 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Power-On and Power-Up
5.1 Preparing for commissioning
Implementation
1. Configure the SINUMERIK 840Disl completely on first booting
(Section "First power-up" (Page 124))
2. Take the PLC default program supplied as the commissioning file for the PLC (basic PLC
program, PLC user program and configuration) or create your own SIMATIC S7 project
and load it into the PLC
(Section "PROFIBUS DP Communication" (Page 229))
3. Prepare the drives on the PROFIBUS DP for communication:
– SINAMICS S120 (Section "Drive-commissioning (SINAMICS)" (Page 307))
– SIMODRIVE 611 universal (Section "Drive-commissioning (SIMODRIVE)" (Page 345))
4. Perform commissioning of the NC (channels, axes and spindles, etc. (Section "Axes and
spindles" (Page 385))
5. Set up the alarm texts (Section "Alarm and message texts" (Page 493))
6. Perform the commissioning of the drives:
– SINAMICS S120 (Section "Drive-commissioning (SINAMICS)" (Page 307))
– SIMODRIVE 611 universal (Section "Drive-commissioning (SIMODRIVE)" (Page 345))
7. Carry out a dry run for all axes and the spindle.
(Section "840Di sl-specific Data and Functions" (Page 587)
8. Perform the optimization of the drives:
– SINAMICS S120: STARTER
– SIMODRIVE 611 universal: HMI Advanced (Section "Drive optimization with HMI
Advanced" (Page 507)) and/or SimoCom U
9. Carry out a user data backup (series startup file)
(Section "User data backup/Series commissioning" (Page 541))
10.Optional: Do a complete data backup (partition and/or hard-disk image):
References:
/IAM2/ Commissioning CNC Part 5, Section "IM8, Backup and restore data"
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 123
Power-On and Power-Up
5.2 First power-up
Factory settings
The hard disk of the PCU is already partitioned upon delivery for operating the SINUMERIK
840Di sl. Additional software applications, which have been been ordered, e.g. HMI
Advanced, are ready for installation under:
● D:\Setup\Apps\<Application1> . . . <Application n>
3ULPDU\SDUWLWLRQ ([WHQGHGSDUWLWLRQZLWKORJLFGULYHV
Manual
124 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Power-On and Power-Up
5.2 First power-up
Welcome to SINUMERIK !
These SINUMERIK products will be installed now:
Install NOW
CANCEL installing
Menu commands:
● Install NOW
All the applications displayed will be installed in the listed order. During the installation
procedure follow the instructions that appear on the screen.
NOTICE
The PC may not be switched off during the entire installation process. Data loss!
NOTICE
The current installation menu will not be displayed the next time the PCU is booted. The
installation procedure which was cancelled with "Cancel installing" cannot be repeated
Completion
When installation is complete rebooting automatically starts. Once the PCU has booted
again, you can continue with the basic PLC commissioning (Section "Basic commissioning of
the PLC").
See also
Basic commissioning of the PLC (Page 126)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 125
Power-On and Power-Up
5.2 First power-up
Manual
126 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Power-On and Power-Up
5.3 Power-up
5.3 Power-up
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 127
Power-On and Power-Up
5.3 Power-up
Manual
128 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Power-On and Power-Up
5.3 Power-up
Proper shutdown
Before replacing the PCU backup battery, the SINUMERIK 840Di sl or Windows XP must be
shut down correctly.
To do this, use one of the following options:
● Windows taskbar: Start > Shut Down.
● Interface signal: "PC shutdown", see Section "840Di sl-specific interface
signals" (Page 587).
NOTICE
If Windows XP is not correctly shut down before changing the backup battery, an inversion
of the SRAM memory cells during the battery change cannot reliably be detected.
The SINUMERIK 840Di sl must then be recommissioned.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 129
Power-On and Power-Up
5.3 Power-up
6,180(5,.'LV/1&.3/&
1RWH8VHUGDWDORDGHGLQWR0&,FDUG
NOTICE
The following is to be taken into account:
• If the MCI board is recognized as being faulty while the SINUMERIK 840Di sl is booting,
the last SRAM image is retained when Windows XP is shut down. After the MCI board
has been changed, proceed as described above.
• If the MCI board is to be replaced as a result of a suspected or actual error (suspected
error, sporadic errors, etc.), the SINUMERIK 840Di sl NC and PLC should be
recommissioned, as possible data errors may otherwise be imported from the SRAM
image.
6,180(5,.'LVO1&.3/&
$ODUP2OGEDFNXSRIXVHUGDWDORDGHGLQWR0&,FDUG
7KHXVHUGDWDZHUHVDYHDW
Manual
130 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Power-On and Power-Up
5.3 Power-up
6,180(5,.'LVO1&.3/&
1RWH8VHUGDWDIURP0&,FDUGXVHG
NOTICE
If the buffered user data is not going to be used again, the SINUMERIK 840Di sl must be
recommissioned.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 131
Power-On and Power-Up
5.3 Power-up
6,180(5,.'LVO1&.3/&
1HZ0&,FDUGGHWHFWHG9DOLGXVHUGDWDDUHIRXQG
RQ0&,FDUG
RQKDUGGLVN
,I\RXZDQWWRXVHWKHXVHUGDWDIURP0&,FDUGSUHVVಯ<HVಯ
,I\RXZDQWWRXVHWKHXVHUGDWDIURPWKHKDUGGLVNSUHVVಯ1Rಯ
<HV 1R
Manual
132 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Power-On and Power-Up
5.3 Power-up
NOTICE
Saving of the user data in the SRAM of the MCI board in case of power failure/Power Fail is
only guaranteed if the PCU is operated within its defined specifications.
References:
/BH/ Operator components Manual, Section "Component PCU 50"
1. Power-up
If power-up is executed with a pending shutdown signal, Windows XP is immediately
correctly shut down again.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 133
Power-On and Power-Up
5.3 Power-up
6,180(5,.'LVO1&.3/&
$ODUP1&.VWDUWHGZKLOH3RZHU)DLOXUHVKXWGRZQZLWK2.
2.
This system response ensures that an error in the protection circuit of the MCI board
extension module or in the configuration of the shutdown signal does not result in an endless
loop (power-up > shutdown signal > power-up etc.).
As long as the message box has not been acknowledged the protective circuit of the MCI
board extension module and the configuration of the shutdown signal (see Section , "Menu:
Settings" (Page 490)) can be checked and changed, if necessary.
If the shutdown signal has been acknowledged from the message box, the NC and PLC are
started. Otherwise Windows XP is again shut down correctly.
Manual
134 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Power-On and Power-Up
5.4 Service Desktop
5.4.1 Activating
Proceed as follows to enable the Service Desktop:
1. As soon as (1) is displayed under the version number on the bottom right of the startup
screen, press the key "3".
9
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 135
Power-On and Power-Up
5.4 Service Desktop
Manual
136 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Power-On and Power-Up
5.4 Service Desktop
NOTICE
When Windows starts up, the SINUMERIK 840Di sl NC system software is
automatically started in the background.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 137
Power-On and Power-Up
5.4 Service Desktop
OEM directories
OEM programs can be executed before starting the SINUMERIK system software. These
programs or their respective links must be stored in the following directories:
● C:\RunOEM\SeqOnce
Programs stored here are started once and sequentially.
● C:\RunOEM\Seq
Programs stored here are started on every power-up and sequentially.
Note
Sequential: The subsequent program will only be started when the previous program has
been ended.
● C:\RunOEM\ParOnce
Programs stored here are started once. They run in parallel with the HMI system software.
● C:\RunOEM\Par
Programs stored here are initiated at every boot. They run in parallel with the HMI system
software.
Manual
138 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Power-On and Power-Up
5.4 Service Desktop
Order of execution
Directories and programs are processed in the following order:
● Directories
1. C:\RunOEM\SeqOnce
2. C:\RunOEM\Seq
3. C:\RunOEM\ParOnce
4. C:\RunOEM\Par
● Programs
The programs within a subdirectory are started according to the chronological order in
which they were placed in the subdirectory.
Data files
In addition to executable programs, you can also place data files in the subdirectories. They
will be opened in the application with which their file type is associated.
Example:
● File type: ".txt"-> Notepad
● File type: ".htm"-> Internet Explorer
Directory structure
The directory structure must be created under "F:\OEM\IB\DATA" according to the following
schema:
● F:\OEM\IB\DATA\<NCK-Type>\<screen resolution>\<file name>.BMP
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 139
Power-On and Power-Up
5.4 Service Desktop
Note
in the folder screen resolution only one file may be stored.
HMI Explorer
)LOH9LHZ6\VWHP3URJUDP,QVWDOO,QIR
6,180(5,. 3URGXFW&XUUHQW9HUVLRQ5HOHDVH9HUVLRQ
'LVO 6LHPHQV6,180(5,.3URGXFWV
+0,%DVH 9 9
%DVH6RIWZDUH:,Q;3 9 9
+0,$GYDQFHG 9 9
+0,3URJUDPPLQJ3DFNDJH 9 9
+0,6HUYLFH3DFN
'LVO 9 9
6LHPHQV2WKHU3URGXFWV
03,'ULYHU 5 5
67(3 9 9
6,0$7,&3UR7RRO3UR&6 9 9
7KLUG3DUW\3URGXFWV
5HDG\
Manual
140 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Power-On and Power-Up
5.4 Service Desktop
Version display
The following versions are displayed for each software application:
● Current version
Current version number
● Release version
Version number with which the product was first installed.
Installation directory
The path of the installation directory of a software component is displayed in the Install
dialog box: Menu command: Install
5.4.8 SW installation/update
The Service Desktop allows you to install or update software directly from an external
computer using a specially configured network link. For a detailed description see Section
"License management" (Page 146).
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 141
Power-On and Power-Up
5.5 ServiceCenter
5.5 ServiceCenter
The ServiceCenter is used to create, restore and manage partition and hard disk images.
With the SINUMERIK 840Di sl, the startup mode of NCK and PLC can also be specified via
the ServiceCenter.
The ServiceCenter is intended for the machine manufacturer/service personnel.
5.5.1 Activating
Proceed as follows to enable the Service Desktop:
1. Restart the PCU, e.g. via Power Off/On.
2. While starting up the PCU, press the key "↓" (Cursor Down) in the selection image for the
operting system to be started. (The selection screen is displayed immediately after the
booting of the PCU.)
26/RDGHU
3OHDVHVHOHFWWKHRSHUDWLQJV\VWHPWRVWDUW
6,180(5,.
6HUYLFH'HVNWRSQRWYLVLEOH
8VH൹DQGൻWRPRYHWKHKLJKOLJKWWR\RXUFKRLFH
3UHVV(QWHUWRFKRRVH
Manual
142 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Power-On and Power-Up
5.5 ServiceCenter
Setting options
In the SINUMERIK 840Di sl-specific part of the ServiceCenter, you can specify the mode
that the NCK and PLC are to assume after startup. The following options can be set:
● Start NCK and PLC
● Do not start NCK and PLC
● Start NCK and PLC in specified mode:
6,180(5,.'L1&.3/&
,I\RXZDQWWRFKDQJH1&.3/&VWDUWXSPRGH
VHOHFWZDQWHGPRGHDQGSUHVV2.
6WDUW1&.3/&
'RQRWVWDUW1&.3/&
6WDUW1&.3/&ZLWKPRGLILHGVZLWFKVHWWLQJV
1&.VZLWFK1RUPDO
6723
3/&VZLWFK
5813
581
6723
05(6FRQILUPLQ+0,
NC modes
The following NCK modes can be set:
● Normal
● Loading standard machine data
After startup, the NC is in the reset state. All machine and user data are deleted and
standard machine data are loaded.
Note
You may have to consult your network administrator to obtain the above information or
any other information required for your current network.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 143
Power-On and Power-Up
5.5 ServiceCenter
PLC modes
The following PLC modes can be set:
● RUNP
In the "RUNP" mode, changes can be made to the PLC user program without activation
of the password.
● RUN
Only read accesses are possible via a programming device (PG) in the "RUNP" mode. It
is not possible to make changes to the PLC user program until the password has been
set.
● STOP
Processing of the PLC user program has stopped and all PLC outputs are set to
substitute values in the "STOP" mode.
● MRES (confirm in HMI)
The PLC is switched to STOP mode and then PLC general reset (default data) is
performed. The following actions are performed by the PLC:
1. The PLC disconnects all links.
2. The user data are deleted (data and program blocks)
3. The system data blocks (SDB) are deleted.
4. Battery-backed data are copied back into the RAM area from the PLC after general reset.
5. The diagnostics buffer, the MPI parameters, the clock time, and the operating hours
counter are not reset.
Note
After startup in the specified mode, the PLC must be explicitly switched to the desired
following mode, e.g. "RUNP". This can be performed via a programming device (PG) or
via the HMI user interface (see Section "NC/PLC diagnostics" (Page 486)).
Manual
144 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Power-On and Power-Up
5.6 Configuration of the network connection of the PCU (LAN/WAN)
PTP link
The PTP link (peer-to-peer) to a single computer is described in Section "PTP-network
connection" (Page 551).
LAN/WAN link
The PCU basic software is preconfigured for an Ethernet network link with protocol: TCP/IP.
The settings for the local network connection (Windows-Taskbar Start > Settings > Network
Connections > Local Area Connections) with respect to the IP addresses and the domains
are given as follows:
Dialog: Local Area Connections Properties
● Tab: General
– IP address via DHCP
Option: Obtain an IP address automatically
– Automatic DNS server address
Option: Obtain a DNS server address automatically
● Tab: Alternate Configuration
– Automatic IP address as alternative configuration
Option: Automatic private IP address
If changes have been made or a network link cannot be established, the following settings
are to be done or checked:
● TCP/IP protocol
● IP address and subnet mask
● Computer name and domain/workgroup
Note
You may have to consult your network administrator to obtain the above information or
any other information required for your current network.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 145
Power-On and Power-Up
5.7 License management
6LQX&RP1&>>2QOLQH@6LQX&RPB1&B3URMHFW@
PDFKLQHGDWD
EORFN
6LQXPHULN3URMHFWVREMHFWV
6LQXPHULN'LVO>FRQQHFWHG@
0DFKLQHGDWD 0'EORFN
Manual
146 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Power-On and Power-Up
5.7 License management
6LQX&RP1&>>2QOLQH@6LQX&RPB1&B3URMHFW0'EORFN@
)LOH(GLWLQJ7DUJHVV\VW'LDJQRVLV7RROV9LHZ:LQGRZ"
Accept Reject
Modifications Modifications
5HDG\ 6,1'LVOVO
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 147
Power-On and Power-Up
5.7 License management
Manual
148 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning 6
6.1 General
6.1.1 Compatibility
The PLC integrated on the MCI board of the SINUMERIK 840Di sl is compatible with the
SIMATIC S7 PLC: AS317-2 DP.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 149
PLC commissioning
6.1 General
Manual
150 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.1 General
NOTICE
The library of the basic PLC program must be installed on the computer on which the
SIMATIC manager for creating the S7 project is already installed.
Storage path
The example projects are on the SINUMERIK 840Di sl CD under:
● Example project with PROFIBUS MCP:
<CD-path>\support\840dismp\840Di_sl_DPMCP_smpl.zip
● Example project with Ethernet MCP:
<CD-path>\support\840dismp\840Di_sl_ETMCP_smpl.zip
Dearchive
Example projects must first be dearchived in the SIMATIC Manager before they can be used.
SIMATIC Manager: File > Dearchive...
The example projects can be dearchived to the default "S7Proj" target directory.
Use
The example projects are listed in the SIMATIC Manager in the target directory "S7Proj"
under user projects. SIMATIC Manager: File > Open... >Dialog: "Open project" Tab: "User
projects"
● Example project with PROFIBUS MCP: 840Disl_DPMCP
Station
● Example project with Ethernet MCP: 840Disl_ETMCP
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 151
PLC commissioning
6.1 General
Manual
152 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.1 General
2% )%
6WDUWXS
5HVWDUW HJ++8SDUDPHWHUV
8VHU3URJUDP
2%
)&
RQO\UHTXLUHGLID0&3RU03,
&\FOLF
3URFHVVLQJ EXVLVFRQQHFWHG
0&3B,17
1&.
)& 0RGH*URXS
&KDQQHO
*32%
$[LV
6SLQGOH
)&
0&3
++8
)&
70
)&
0&3
8VHU 0&3B,)0
SURJUDP 0&3B,)7 )&
+38B0&3
$68%FRQ
$[LV6SLQGOHV
)&
70
70B7UDQV )&
70B'LU
9DUUHDG
ZULWH
)& 3,6HUYLFHV
6WDU'HOWD
)&
(UURUDQG )&
RSHUDWLRQDO
PHVVDJHV %+*
GLVSOD\FRQWU
2% )&
*JURXS
3URFHVVDODUP *3B35$/
GLVWULEXWRU
8VHU
SURJUDP
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 153
PLC commissioning
6.1 General
Processing modules
The individual blocks in the basic PLC program can be processed in the SIMATIC manager:
● Select the appropriate block, e.g. OB 100 in the folder blocks of the corresponding
module
● Use the menu command Edit > Open Object to open the block or double-click the block
with the left mouse button
● Processing the blocks in the KOP/AWL/FUP Editor
Switching the block view via the menu command View > KOP or AWL or FUP
Manual
154 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.2 Commissioning
6.2 Commissioning
The PLC commissioning can be performed by:
● Creating an S7 project and loading the configuration.
Creating an S7 project by using the basic PLC program supplied with SINUMERIK
840Di sl as well as the basic parameterization of MPI and PROFIBUS communication are
described in the Section "Create SIMATIC S7 project" (Page 160).
● Loading an available series commissioning file.
Creating or importing a series commissioning file is described in the Chapter "User-data
backup/series commissioning" (Page 541).
SINUMERIK 840Di sl
The SINUMERIK 840Di sl must be successfully booted to commission the PLC:
● NCK in the cyclic operation
● PLC in the status: RUN
Note
The NCK and PLC status can be checked with:
• User interface 840Di startup
See corresponding online help
• Commissioning tool: SinuCom NC
See corresponding online help
• User interface HMI Advanced (option)
See Section "NC/PLC Diagnostics" (Page 486).
SIMATIC STEP 7
SIMATIC STEP 7 is required in the following version:
● SIMATIC STEP 7 as Version 5.4, Service Pack 2
SIMATIC STEP 7 can either be installed directly on the SINUMERIK 840Di sl PCU or on an
external computer (PG/PC).
Communications link
Depending on which computer is running SIMATIC STEP 7, there must be one of the
following communications links between SIMATIC STEP 7 and the SINUMERIK 840Di sl
PLC:
● External computer (PG/PC): Ethernet
● PCU of the SINUMERIK 840Di sl: SOFTMC (Local communications link)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 155
PLC commissioning
6.2 Commissioning
PG/PC interface
The PG/PC interface parameters can be checked and set in the SIMATIC Manager via menu
item: Options Set PG/PC interface...:
NOTICE
Do not select ISO interfaces as Ethernet interfaces from the list of interfaces, e.g. "ISO Ind.
Ethernet - Realtek RTL8139...".
Instead, use the appropriate TCP/IP interfaces, e.g. "TCP/IP - Realtek RTL8139...".
PG/PC interface
The PG/PC interface parameters can be checked and set in the SIMATIC Manager via menu
item: Options Set PG/PC interface...:
Manual
156 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.2 Commissioning
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 157
PLC commissioning
6.2 Commissioning
Dialog
Proceed as follows in the dialog boxes:
1. PLC general reset
Group PLC
Button: "PLC Delete Program"
NOTICE
After a general reset of the PLC, interface X102 (MPI/DP) of the MCI board is set to
"MPI" and the following MPI parameters are set:
• MPI address of the PLC = 2
• MPI data transmission rate = 187.5 kbaud
2. Delete NC data
Group NC
Button: "NCK Default Data"
3. Initiate NC Reset
To start cyclic operation or NC/PLC communication, NC reset (button "NCK Reset") must
be activated:
The subsequent SINUMERIK 840Di sl boot has been successfully completed if the following
display appears in the dialog box:
● NC status:
Group NC
6 NC in cyclic operation
● PLC Status:
Group PLC
LED RUN glows constantly
Manual
158 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.2 Commissioning
Note
Since no PLC program is executed after PLC general reset, the following alarms are
displayed:
• Alarm "120201 Communication failed"
• Alarm "380040 PROFIBUS DP: Configuring error 3, parameter"
• Alarm "2001 PLC not booted"
These alarms have no influence on how to continue.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 159
PLC commissioning
6.3 Creating a SIMATIC S7 project
Note
The interface X102 MPI/DP can either be used as an MPI or PROFIBUS interface. The
use of MPI communication is no longer recommended for SINUMERIK 840Di sl.
PROFIBUS DP
Maximum two PROFIBUS lines can be connected to a SINUMERIK 840Di sl:
● Interface X101: PROFIBUS DP
In the case of the SINUMERIK 840Di sl, the position controller cycle of the NC is derived
directly from the isochronous PROFIBUS cycle. Defined values must therefore always be
entered for the following PROFIBUS parameters:
– Mode: DP master
– Isochronous PROFIBUS: Active
– Isochronous time TDP on PROFIBUS DP: Position controller cycle clock
Both the PLC and the NC have direct access to this PROFIBUS interface. PROFIBUS
drives and NC-specific I/Os can only be connected via this interface.
● Interface X102: MPI/DP
This PROFIBUS interface is only available to the PLC. It can also be operated in "DP
Master" or "DP Slave" mode.
A full description of how to parameterize PROFIBUS communications is given in Chapter
"PROFIBUS DP communication" (Page 229).
Note
The instructions given in this section are essentially limited to the special characteristics of
the SINUMERIK 840Di sl. For more details about working with SIMATIC STEP 7 please refer
to the relevant SIMATIC documentation or Online Help.
Manual
160 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.3 Creating a SIMATIC S7 project
6,0$7,&0DQDJHU6,1'LVO
6WDWLRQ(GLW,QVHUW7DUJHW6\VWHP9LHZ7RROV:LQGRZ+HOS
QR)LOWHU!
6,1'LVOLQVWDOODWLRQSDWK!?VWHS?VSURM?6,1'LVO
6,1
&XW &WUO;
&RS\
3DVWH
'HOHWH
,QVHWQHZREMHFW 6,0$7,&6WDWLRQ
3/& 6,0$7,&6WDWLRQ
6,0$7,&+6WDWLRQ
5HQDPH)
6,0$7,&3&6WDWLRQ
2EMHFW3URSHUWLHV$OW5HWXUQ
2WKHU6WDWLRQV
6,0$7,&6
3*3&
03,
3URMHFW:LQGRZ
352),%86
,QGXVWULDO(WKHUQHW
373
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 161
PLC commissioning
6.3 Creating a SIMATIC S7 project
Starting HW Config
Start "HW Config" by opening the station and double-clicking the hardware icon.
6,1'LVO,QVWDOODWLRQSDWK!?VWHS?VSURM?6,1'LVO
6LQ'LVO +DUGZDUH
6,0$7,&
We recommend giving the inserted SIMATIC Station 300 a meaningful name, for example
840Di sl
Manual
162 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.3 Creating a SIMATIC S7 project
6.3.3 HW Config
The user interface of "HW Config" mainly contains:
● Station window:
The station window is split. The upper part displays the structure of the station graphically,
and the lower part provides a detailed view of the selected module.
● Hardware catalog
If the hardware catalog is not displayed, open it using the menu command View >
Catalog.
Suchen:
Profil: GHIDXOW
352),%86'3
6WDWLRQVZLQGRZVWDWLRQVWUXFWXUH 352),%863$
352),1(7,2
6,0$7,&
6,0$7,&
6,0$7,&3&%DVHGFRQWURO
6,0$7,&3&6WDWLRQ
6ORW'HVLJQDWLRQ
+DUGZDUHFDWDORJ
6WDWLRQVZLQGRZ'HWDLOHGYLHZ
Note
To check whether a module selected from the hardware catalog complies with the
module in the automation system, the following procedure is recommended:
1. Note the MLFB numbers of all modules used in the automation system.
2. Select the appropriate module from the hardware catalog and compare the order
number (MLFB) displayed with the noted MLFB number. The MLFB numbers must be
identical.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 163
PLC commissioning
6.3 Creating a SIMATIC S7 project
6HDUFK
3URILOH GHIDXOW
6,0$7,&
&
&3
&38
)0
,0
0(;7(16,21
*DWHZD\
36
5$&.
60
6,180(5,.
'LVO
'LVO
'LVO3/&'3$-
6,180(5,.'LVO
Manual
164 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.3 Creating a SIMATIC S7 project
NOTICE
If the interface X102 is not networked with PROFIBUS, then it must at least be networked
with MPI, in order to enable the internal communication via SOFTMC. See Subsection
"Parameterizing the MPI interface (X102) (optional)" (Page 169)
Equidistant time
The set equidistant DP cycleis accepted in case of SINUMERIK 840Di sl as NC system clock
cycle and position controller cycle.
Position controller cycle = NC system clock cycle = equidistant DP cycle
The time you can set for the equidistant DP cycle depends on:
1. The cyclic communication load by the drives and field devices on the PROFIBUS DP
2. The capacity utilization of the cyclic position controller level by the NC due to the number
of position-controlled machine axes and active functions
Dialog
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 165
PLC commissioning
6.3 Creating a SIMATIC S7 project
Note
S7-Subnetz-ID (S7 subnet ID)
It is recommended to note the S7-Subnetz-ID (S7 subnet ID) , because it will be needed later
for parameterization of the routing settings:
• SINAMICS: See Section Create new project without Project Wizard (Page 310)
• SIMODRIVE: See Section Setting the routing information (Page 351)
Manual
166 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.3 Creating a SIMATIC S7 project
352),%86'3PDVWHUV\VWHP
Suchen:
Profil: 'HIDXOW
'LVO 352),%86'3
3/&'3$- 352),%863$
;03,3 352),1(7,2
;'3 6,0$7,&
1&.'VO &
&3'VO &3
&38
)0
,0
0(;7(16,21
'LVO 1(7=%(5*$1*
36
6ORW0RGXOH2UGHU1XPEHU)L0($. 5$&.
3/&'3$-)&$-$%9 60
;03,3 6,180(5,.
;'3 'LVO
1&.'VO
'LVO
&3'VO9
'LVO3/&'3B$-
6,180(5,.'LVO
To parameterize the PROFIBUS interface (X102) as for slot X1, set the following parameters:
● Interface type
● Transmission rate
By double-clicking the module MPI/DP, slot X1 in the 840Di sl-rack, open the properties
dialog of MPI/DP.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 167
PLC commissioning
6.3 Creating a SIMATIC S7 project
Dialog
NOTICE
If the interface X102 is not networked with PROFIBUS, then it must at least be networked
with MPI, in order to enable the internal communication via SOFTMC. See Subsection
"Parameterizing the MPI interface (X102) (optional)" (Page 169)
Manual
168 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.3 Creating a SIMATIC S7 project
Dialog
NOTICE
With SINUMERIK 840Di sl, the MPI address of the PLC must always be set to 2.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 169
PLC commissioning
6.3 Creating a SIMATIC S7 project
Note
Determining the IP address and subnet mask of the PCU:
At the PCU: Windows XP taskbar: Start > Execute, command: ipconfig
By double-clicking the module CP 840D sl, slot 5 in the 840Di sl-Rack, open the properties
dialog:
Dialog
Manual
170 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.3 Creating a SIMATIC S7 project
*HQHUDO3DUDPHWHU
Netzübergang
,3DGGUHVV
QRURXWHU
6XEQHWPDVN
XVHURXWHU
DGGUHVV
Subnetz:
QRWQHWZRUNHG 1HZ
(WKHUQHW
3URSHUWLHV
'HOHWH
NOTICE
The IP address and subnet mask in the figure above are only sample values!
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 171
PLC commissioning
6.3 Creating a SIMATIC S7 project
Implementation
Perform the following actions for networking:
1. Start the NetPro configuration tool in HW Config.
+:&RQILJ>6,180(5,.&RQILJXUDWLRQ6,1'LVO@
6WDWLRQ(GLW,QVHUW7DUJHW6\VWHP9LHZ7RROV:LQGRZ+HOS
352),%86'3PDVWHUV\VWHP
'LVO
3/&'3$-
2. From the selection list of the network objects, open Stations and insert a PG/PC into the
project (1).
1HW3UR>6,1'LVO1HW]&?3URJUDP)LOHV??VSURM?6,1BVO@
1HWZRUN(GLW,QVHUW7DUJHW9LHZ7RROV:LQGRZ+HOS
)LQG
$XVZDKOGHU1HW]REMHNWH
352),%86'3
352),%863$
352),1(7
6WDWLRQV
2WKHU6WDWLRQV
3*3&
6,0$7,&
1 6,0$7,&
6,0$7,&+6WDWLR
6,0$7,&'3
6,0$7,&3&6WDWL
6,0$7,&6
6XEQHW
3URJUDPPLHUJHU¦W
RGHU3&
5HDG\ 7&3,3!5HDOWHN75/
Double-click on the inserted PG/PC station to open the Properties dialog box. Select the
"Interface (1)" tab. Click on "New..." to open the dialog box for creating a new interface (2).
Select "Industrial Ethernet (3)" as the interface type. Click OK to confirm the dialog.
Manual
172 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.3 Creating a SIMATIC S7 project
3URSHUWLHV3*3&
*HQHUDO,QWHUIDFH$VVLJQPHQW
1DPH
1
1HZ,QWHUIDFH7\SH6HOHFWLRQ Subnet
Typ: ,QGXVWULDO(WKHUQHW
3 03,
352),%86
1HZ /¸VFKHQ
2.&DQFHO+HOS
3. After confirming with OK, the properties dialog box of the Ethernet interface is displayed.
Select the "Parameter (1)" tab and enter the IP address and subnet mask of the PG/PC
(2).
Note
Determining the IP address and subnet mask of the PG/PC:
At PG/PC: Windows XP taskbar: Start > Execute, command: ipconfig
Select the "Ethernet (1)" (3) connection already parameterized in the previous Subsection
"Parameterizing the communication processor (CP 840D sl) (Ethernet)" (Page 170) as
the subnet.
Click OK to confirm the dialog.
3URSHUWLHV(WKHUQHWLQWHUIDFH
*HQHUDO3DUDPHWHU
6HWWKH0$&DGGUHVVXVH,62SURWRFRO
:KHQVHOHFWLQJDVXEQHWWKHQH[W
0$&DGGUHVV 09-00-07-01-00-02 DYDLODEOHDGGUHVVHVDUHVXJJHVWHG
,3SURWRNROOLVXVHG
*DWHZD\
,3DGGUHVV 157.174.219.45
157.174.219.45
1RURXWHU
6XEQHWPDVN 255.255.248.0
255.255.248.0
8VHURXWHU
$GGUHVV
Subnetz:
QRWQHWZRUNHG 1HZ
(WKHUQHW
3URSHUWLHV
'HOHWH
2. &DQFHO+HOS
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 173
PLC commissioning
6.3 Creating a SIMATIC S7 project
NOTICE
The MAC address, IP address and subnet mask in the figure above are only sample
values!
NOTICE
Do not select ISO interfaces as Ethernet interfaces from the "Interface parameterization
in the PG/PC" list, e.g. "ISO Ind. Ethernet - Realtek RTL8139...". Instead, use the
appropriate TCP/IP interfaces, e.g. "TCP/IP - Realtek RTL8139...".
*HQHUDO,QWHUIDFH$VVLJQPHQW
1RWDVVLJQHG
&RQILJXUHG,QWHUIDFHV
1DPH7\S6XEQHW
(WKHUQHW,QWHUIDFH,QGXVWULDO(WKHUQHW(WKHUQHW
,QWHUIDFHSDUDPHWHUL]DWLRQLQ3*3&
7&3,3!1GLV:DQOS
7&3,3!5HDOWH[57/[)
7&3,3$XWR!,QWHO5352:LUHOHVV
7&3,3$XWR!5HDOWH[57/ $VVLJQLQJ
5HPRYH
$VVLJQHG
,QWHUIDFH3DUDPHWHUL]DWLRQ6XEQHW62QOLQH
621/,1(DFFHVV
DFWLYH
2. &DQFHO+HOS
The list "Assigned" now contains the Ethernet interface (1). If several interfaces are
assigned, make sure that the interface to be used for communication, "Ethernet (1)" in
this case, is active. To do this, select the interface (Ethernet (1)) and activate the S7
online access for this interface (2). Click OK to confirm the dialog.
Manual
174 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.3 Creating a SIMATIC S7 project
3URSHUWLHV3*3&
*HQHUDO,QWHUIDFH$VVLJQPHQW
1RWDVVLJQHG
&RQILJXUHG,QWHUIDFHV
1DPH7\S6XEQHW
,QWHUIDFHSDUDPHWHUL]DWLRQLQ3*3&
,62,QG(WKHUQHW!LQWHO5352:LUH
,62,QG(WKHUQHW!5HDOWHN57/
3&$GDSWHU03,
3&$GDSWHU352),%86
$VVLJQLQJ
5HPRYH
$VVLJQHG
,QWHUIDFH3DUDPHWHUL]DWLRQ6XEQHW62QOLQH
(WKHUQHW,QWHUIDFH7&3,3!5HDOWH(WKHUQHWDFWLYH
621/,1(DFFHVV
DFWLYH
2. &DQFHO+HOS
5. The PG/PC networking with the Ethernet interface is displayed in the project view and
identified by the highlighted connection (1).
1HW3UR>6LQ'LVO1HWZRUN&?3URJUDP)LOHV??6SURM?6,1BVO@
1HWZRUN(GLW,QVHUW7DUJHW9LHZ7RROV:LQGRZ+HOS
)LQG
6HOHFWLQJWKHQHWZRUNREMHFWV
352),%86'3
352),%863$
1 352),1(7,2
6WDWLRQV
2WKHU6WDWLRV
3*3&
6,0$7,&
6,0$7,&
6,0$7,&+VWDWLRQ
6,0$7,&'3
6,0$7,&3&VWDWLRQ
6,0$7,&6
6XEQHWV
3URJUDPPLQJ'HYLFHRU3&
5HDG\ 7&3,3!5HODWHN75/
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 175
PLC commissioning
6.3 Creating a SIMATIC S7 project
)LQG
6HOHFWLQJWKHQHWZRUNREMHFWV
352),%86'3
352),%863$
352),1(7,2
6WDWLRQV
2WKHU6WDWLRQV
3*3&
6,0$7,&
6,0$7,&
6,0$7,&+VWDWLRQ
6,0$7,&'3
6,0$7,&3&VWDWLRQ
6,0$7,&6
6XEQHWV
3URJUDPPLQJ'HYLFHRU3&
5HDG\ 7&3,3!5HDOWHN75/
Manual
176 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.4 Creating a PLC program
2SHQLQJDSURMHFW
8VHUSURMHFWV/LEUDULHV([DPSOHSURMHFWV0XOWLSOHSURMHFWV
1DPH6WRUDJHSDWK
JS[G)?3URJUDP)LOHV?6LHPHQV?6WHS?6OLEV?JS[G
PFS'L)?3URJUDP)LOHV?6LHPHQV?6WHS?6SURM?PFS'L
6,0$7,&B1(7B&3)?3URJUDP)LOHV?6LHPHQV?6WHS?6OLEV?VLPDWLFQ
6WDQGDUG/LEUDU\)?3URJUDP)LOHV?6LHPHQV?6WHS?6OLEV?6WG/LE
VWGOLEV9)?3URJUDP)LOHV?6LHPHQV?6WHS?6OLEV?67'/,%6
Copying blocks
Copy all blocks of the PLC basic program from the library to the block directory of the PLC.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 177
PLC commissioning
6.5 Creating a PROFIBUS configuration
6,0$7,&0DQDJHU6,1'LVO
)LOH(GLW,QVHUW7DUJHW9LHZ6\VWHP7RROV:LQGRZ+HOS
1R)LOWHU!
6,1'LVO,QVWDOODWLRQSDWK!?6WHS?63URM?6,1'LVO
6,1'LVO 2%
6,0$7,&
3/&'3$-
63URJUDP
6RXUFHV
0RGXOHV
JS[G)?6LHPHQV?6WHS?6OLEV?JS[G
JS[GI 2%2%2%)%
JS[G )%)%)%)%
6RXUFHV )%)%)%)%
0RGXOHV
)%)%)%)%
Overwrite OB1
Inserting blocks overwrites the existing organization block OB1. Confirm the query as to
whether you want to overwrite the block with "Yes".
Manual
178 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.6 Load configuration (STEP 7 -> PLC)
6.6.1 Requirements
For loading the configuration into the PLC, the following prerequisites must be fulfilled:
● A communications link exists between STEP 7 and the PLC.
● The configuration to be loaded corresponds to the actual station configuration.
● SINUMERIK 840Di sl is active:
– NC: Cyclic operation
– PLC: RUN or STOP mode
Note
It is recommended to check consistency of the configuration before loading it.
HW Config: Station > Check consistency
Supplementary condition
The following boundary conditions regarding the system data blocks are observed when the
configuration is loaded:
● SIMATIC Manager
When loading the configuration via the SIMATIC manager all the system data blocks are
loaded into the module.
● HW Config
When loading the configuration via HW Config, only the system data blocks generated by
HW Config during compilation of the configuration are loaded into the module.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 179
PLC commissioning
6.6 Load configuration (STEP 7 -> PLC)
Download to module
To load the configuration into the PLC select the following menu item Target system > Load
in module.
The dialog box for loading the configuration now displayed offers the following options:
● Set the PLC to the operating status STOP. See note below.
● Compress the memory if not enough contiguous free memory is available
● Reset PLC to operating status RUN
Note
When the PLC program is loaded in the RUN operating status, each block loaded
becomes active immediately. This can result in inconsistencies when executing the active
PLC program. You are therefore advised to place the PLC in the STOP mode before
loading the configuration.
Initiate NC Reset
The STOP mode of the PLC which is taken by the PLC for a short time on loading is
interpreted by the NC as a PLC failure with an appropriate alarm response.
Once the configuration has been loaded you must therefore initiate an "NC Reset", for
example, via the "840Di-Startup" user interface. In "840Di-Startup" select menu command
Window > Diagnosis > NC/PLC:
Dialog
Manual
180 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.7 Testing the PLC program
Retentive ranges
The ranges of the times, counters and markers, which are to be retentive, must be set via
the dialog Properties, tab Retention of the PLC-CPU-module.
NOTICE
The retention of the data areas can only be achieved with the backup supply (backup
battery) active. If the battery backup is empty, the PLC will not restart.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 181
PLC commissioning
6.7 Testing the PLC program
NC communication
Communication of the PLC with the NC is carried out using the NC/PLC interface. The
interface is divided into the following areas:
● Mode groups
● Channels
● Axes/spindles
● General NC data
Data exchange through the NC/PLC interface is carried out in the basic PLC program at the
beginning of "OB1". This ensures that the data for the PLC remain constant over the entire
PLC cycle.
The current G functions of the NC channels are transferred to the PLC (provided function is
activated) at the process alarm level (OB40).
Sign-of-life monitoring
A cyclic, mutual sign-of-life monitoring function is activated between PLC and NCK once
power-up and the first OB1 cycle have been completed.
In case of failure of the PLC or in case of STOP of the PLC program execution, the following
alarm is displayed:
● Alarm "2000 sign-of-life monitoring for PLC"
Manual
182 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.7 Testing the PLC program
Assignment of values to variables of the PLC user program or of the CPU module.
● Release PA and Activate control values
Assignment of values to I/O outputs of the PLC user program or of the CPU module in the
operating mode STOP.
● Forcing variables
Assigning values to variables of the PLC user program or CPU module that cannot be
overwritten from the PLC user program.
Variable types
The values of the following variable types can be defined or displayed:
● Inputs, outputs, bit memory, timers and counters
● Contents of data blocks
● I/O
The variables that are to be displayed or controlled are grouped in variable tables.
You determine when and how often variables will be monitored or overwritten with values by
defining trigger points and trigger conditions.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 183
PLC commissioning
6.7 Testing the PLC program
Input syntax
Both the following tables show the input syntax of the fields Operand and Format of the PLC
status display.
Syntax Description
En.x Input byte n, bit x
EBn Input byte n
EWn Input word n
EDn Input double-word n
DBn.DBXm.x Data block n, byte m, bit x
DBn.DBBm Data block n, byte m
DBn.DBWm Data block n, word m
DBn.DBDm Data block n, double word m
To Output n
Mn Flag n
Tn Timer n
Cn Counter n
Syntax Description
H Hexadecimal
D decimal
B Binary
G Floating point (only in conjunction with double word)
Monitoring
After entering the variable to be displayed in the field Operand using the syntax described
above, the actual value of the variable is displayed in the format you have set.
Controlling: Start
Use the softkey Change to switch over to the mode Control. Using the field Value the new
values for the displayed variables can now be displayed. The entered value must be within
the definition range of the set format.
Controlling: End
As long as the mode Control is active, the values entered are not imported. Only when you
quit the mode using the softkey Accept, the entered values are written to the variables and
processed in the PLC program.
Manual
184 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PLC commissioning
6.8 Load configuration in PG (PLC -> STEP 7)
Requirements
The following conditions must be fulfilled:
● The computer can communicate via Ethernet or an Ethernet connection has been
established
● The PG/PC is connected to the Ethernet interface 1 (Company Network) of the
SINUMERIK 840Di sl PCU. (See Subsection "Ethernet connections of the PCU
50.3" (Page 187))
● The IP address of the Ethernet interface 1 (company network) of the SINUMERIK 840Di
sl PCU is known. (See Subsection "Determine Ethernet communication parameters of the
PCU" (Page 188))
Implementation
Perform the following steps to load the configuration from the target system:
1. Start STEP 7 on the external computer (PG/PC).
2. Create a new STEP 7 project to which the configuration shall be loaded.
3. Select in STEP 7 for the project via the menu bar Target system > Load station in PG.
Since the communication parameters have not yet been communicated to STEP 7, the
node address selection dialog is displayed. Enter the following data:
Dialog
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 185
PLC commissioning
6.8 Load configuration in PG (PLC -> STEP 7)
Manual
186 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication 7
7.1 General information
3&8
(WKHUQHW
&RPSDQ\1HWZRUN
(WKHUQHW
6\VWHP1HWZRUN
Ethernet 1
The interface: "Ethernet 2" is preset as a SINUMERIK DHCP server for connecting to a
system network with IP address 192.168.214.241.
Ethernet 2
The Ethernet components described below, e.g. Machine control panel MCP 483C IE, are
connected via this Ethernet interface.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 187
Ethernet communication
7.2 SINUMERIK 840Di sl commissioning tool SinuCom NC
Manual
188 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.3 STARTER SINAMICS drive commissioning tool
Note
The SINAMICS STARTER drive commissioning tool can only be operated currently on a
SINUMERIK 840Di sl PCU if at least one of the two Ethernet interfaces is active. To do this,
at least one component must be connected to the relevant Ethernet interface, e.g. an "MCP
483C IE" machine control panel to Ethernet interface 2 (system network), and communicate
with the SINUMERIK 840Di sl.
([WHUQDOFRPSXWHU
3&8ZLWK23
6,180(5,.'LVO3&8
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 189
Ethernet communication
7.4 External HMI Advanced
Note
There are no restrictions in terms of Ethernet topology within the SINUMERIK 840Di sl PCU
and HMI PCU.
Requirements
The following requirements must be fulfilled:
● There is an Ethernet connection between SINUMERIK 840Di sl PCU and HMI PCU and
both computers communicate.
● The communication parameters of the SINUMERIK 840Di sl PCU Ethernet interface with
which the HMI PCU is connected are known.
To check an Ethernet connection, see Subsection "Check Ethernet
Connection" (Page 188).
HMI configuration
The configuration of HMI Advanced, with respect to the Ethernet connection to the
SINUMERIK 840Di sl, is performed as follows:
1. Start HMI Advanced.
2. Open the dialog for entering the IP address: Operating area switchover > Startup > HMI >
NCU link > NCU address
3. Enter the IP address of the interface by which the HMI communicates with the
SINUMERIK 840Di sl.
Example:
Interface: Ethernet 2 (system network)
IP Address: 192.168.214.241 (default)
Manual
190 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.5 MCP 483C IE
Hardware
The following hardware is required:
● Ethernet connecting cable
Software
The following software is required:
● PLC basic program
The relevant modules of the basic PLC program are FB 1 (MCP communication
parameters), FC 19 (Interface parameter assignment, version: milling) and FC 25
(interface parameter assignment version: turning).
The library of the PLC basic program is part of the SINUMERIK 840Di sl. How to install
the library is described in detail in Section "Create PLC Program" (Page 177).
● SIMATIC STEP 7
SIMATIC STEP 7 is needed to customize the PLC basic and user programs to the
requirements of the respective automation system. SIMATIC STEP7 can be installed
directly on the PCU of the SINUMERIK 840Di sl. How to install additional software is
described in the Section "License Management" (Page 563).
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 191
Ethernet communication
7.5 MCP 483C IE
References:
The following manuals are required for the commissioning of the MCP:
/FB1/Function Manual, Basic Functions Subsection P3, PLC Basic Program, Program
structure and modules of the PLC basic program.
/FB2/Function Manual, Extended Functions, Section H1, Manual and Handwheel Travel,
Commissioning of handwheels
/BHsl/Operator Components Manual, Description of MCP (interfaces, electrical connection,
etc.)
/Z/ Catalog NCZ, Connection components: Cables, connectors, etc.
Automation system
To commission the MCP the automation system must be completely electrically and
mechanically connected with respect to NC, PLC and MCP.
The drives must be secured against accidental moving.
Interfaces
In the following figure, the interfaces are shown on the rear side of the module:
5RWDU\6ZLWFK (WKHUQHWFRQQHFWLRQ
For a detailed description of the electrical and mechanical design and of the machine control
panel interfaces, please refer to:
Manual
192 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.5 MCP 483C IE
References:
/BHsl/ Operator Components Manual, Chapter "Machine Control Panel MCP 483C IE"
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 193
Ethernet communication
7.5 MCP 483C IE
7UDQVLWLRQ
VWGLJLW QGGLJLW UGGLJLW $FWLYDWHGLVSOD\
OHIW/('%ORFN FHQWHU/('%ORFN ULJKW/('%ORFN
Switch S1
With switch S1 you can select the type of handwheel that is to be operated on the module:
● Differential handwheels
Switch S1 closed (delivery state)
● TTL handwheels
Switch S1 open
Manual
194 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.5 MCP 483C IE
Switch S2
Switch S2 is used to set the address by which the MCP is addressed by the PLC user
program:
10 9 8 7 6 5 4 3 2 1 Meaning/value
off off - - - - - - - - Reserved
MCP address
- - off off off off off off off off 0
- - off off off off off off off on 1
- - off on off off off off on off 2
- - off off off off off off on on 3
- - : : : : : : : : :
- - on on off off off off off off 192 (on delivery)
- - : : : : : : : : :
- - on on on on on on on off 254
- - on on on on on on on on 255
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 195
Ethernet communication
7.5 MCP 483C IE
NOTICE
Processing of additional I/O data is the sole responsibility of the user (machine
manufacturer) and is not supported by the PLC basic program.
NOTICE
Parameters: MCPxStop and MCPxNotSend are of no significance.
References:
For a detailed description of the PLC basic program or of function block FB 1, please refer to:
/FB1/ Function Manual - Basic Functions; P3 Basic PLC Program, Chapter "FB 1: RUN_UP
Basic program, startup section
Manual
196 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.5 MCP 483C IE
NOTICE
Function blocks FC 19, FC 24 and FC 25 are part of the PLC basic program. It is the
user's (machine manufacturer's) responsibility to call the block correctly or assign the
interface the appropriate parameters.
References:
A detailed description of the function blocks for transferring machine control panel signals to
the VDI interface can be found in:
/FB1/ Function Manual - Basic Functions; P3 Basic PLC Program, Section "FC 19:
MCP_IFM ...", Section "FC 24: MCP_IFM2 ...", Section "FC 25: MCP_IFT ..."
Example
The following example shows the communication parameter settings for function block FB 1
for an MCP:
MCP failure
The basic PLC program detects an MCL failure even if no data is exchanged between MCP
and PLC. For instance, after a PLC restart.
The monitoring function is activated as soon as all components have signaled "Ready" after
powerup.
An alarm is displayed on the user interface if an MCP fails:
● 1. MCP alarm: "400260 Failure of machine control panel 1"
● 2. MCP alarm: "400261 Failure of machine control panel 2"
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 197
Ethernet communication
7.5 MCP 483C IE
Note
The MCP 483C IE is connected via an Ethernet interface of the PCU. Since the
communication of the MCP with the SINUMERIK PLC is based on Windows components,
the MCP monitoring time may be exceeded in the following cases:
• 1. Cause: Windows XP identifies a fatal exception error (blue screen)
Possible measure: none
• 2. Cause: Impairment of Ethernet communication through unsuitable PC components.
Possible measure: Increase in MCP monitoring time (parameter: MCPxTimeout)
/('
/('V
6 6 6 6 6 6 6 6 6 .H\
6 6 6 6 6 6 6 6 6 6 6 6 6 6
Manual
198 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.5 MCP 483C IE
Input image
The following information is to be found in the table for each input bit:
● 1. Row: Default designation
● 2. Row: Key number (Sxy) or feedrate override switch (X30/X31), keyswitch (X50)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 199
Ethernet communication
7.5 MCP 483C IE
Output image
The following information is to be found in the table for each output bit:
● 1. Row: Default designation
● 2. Row: LED number
Manual
200 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.6 HT 8
7.6 HT 8
Hardware
An HT 8 is connected to the SINUMERIK 840Di sl via one of the following interface modules,
and not directly:
● Terminal box PN Basic
● Terminal box PN Plus
● Connection module Basic PN
● Machine Pushbutton Panel MPP 483 HTC
Software
The following software is required:
● PLC basic program
The relevant modules of the basic PLC program are:
– FB 1 (MCP communication parameters)
– FC 26 (HPU_MCP transfer of HT8 signals from/to the VDI interface)
The library of the PLC basic program is part of the SINUMERIK 840Di sl. How to install
the library is described in detail in Section "Create PLC Program".
● SIMATIC STEP 7
SIMATIC STEP 7 is needed to customize the PLC basic and user programs to the
requirements of the respective automation system. SIMATIC STEP7 can be installed
directly on the PCU of the SINUMERIK 840Di sl. How to install additional software is
described in Chapter "License Management".
References:
The following references are required for connecting and commissioning an HT 8:
Function Manual, Basic Functions,
Chapter P3, PLC Basic Program, Program structure and modules of the PLC basic program
Device Manual - Operator Components and Networking,
Chapter Handheld Terminal HT 8
Catalog NCZ, Connection components: Cables, connectors, etc.
Automation system
To commission an HT 8, the automation system must be completely electrically and
mechanically connected with respect to NC, PLC, connecting device and HT 8.
The drives must be secured against accidental moving.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 201
Ethernet communication
7.6 HT 8
Set identification
The following figure displays the relevant position of the rotary coding switches S1 and S2 in
the different power supply units.
5RWDU\FRGLQJVZLWFK
6 6
([DPSOHIRUDGGUHVV+
7HUPLQDOER[b31b%DVLFDQG
7HUPLQDOER[313OXV
0DFKLQH3XVKEXWWRQ3DQHO033+7&
ZLWKRSWLRQDOKDQGKHOGFRQQHFWLRQERDUG
&RQQHFWLRQPRGXOH%DVLF31 +*$+7
The ID of the relevant power supply unit is defined via the rotary coding switches S1 and S2.
The setting of the ID is hexadecimal. S1 defines the higher value position, while S2 defines
the lower value position.
Ranges of values
The value range that can be defined via S1 and S2 is 0H to 255H.
The valid value range for the ID is 1H to 254H.
Note
The ID must be unique across all the existing power supply units in the system network.
Manual
202 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.6 HT 8
New TCU
New TCU 'DIP<ID>' registered.
Edit TCU Settings or use defaults?
Def. Edit
Softkey <Def.>
The following default values are taken as TCU parameters via the <Def.> softkey:
● Individual Mode: no
● TCU index: <Identifier>
● MCP address: <Identifier>
● EKS index: 0
● Enable direct keys: no
Softkey <Edit>
The <Edit> softkey is used to open the dialog: "TCU Settings". The following parameters can
be changed:
● Individual Mode: no (recommended setting), yes
● EKS index: <Index> (currently without function)
● Enable direct keys: no, yes
Note
Identifier
The hexadecimal identifier of the power supply unit defined via the rotary coding switches
S1 and S2 is displayed within the framework of the TCU firmware or the system network
center.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 203
Ethernet communication
7.6 HT 8
Manual
204 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.6 HT 8
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 205
Ethernet communication
7.6 HT 8
NOTICE
Changing the parameters
Only the name can be changed via the Properties dialog of TCU. All other parameters
must be changed either via the TCU firmware on HT 8 (direct key actuation, EKS index)
or on power supply unit (MCP address and TCU index by changing the identifier).
Example
The following example shows the communication parameter settings for function block FB 1
for an MCP:
Manual
206 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.6 HT 8
Several MCPs
A maximum of 2 machine control panels are supported by the basic PLC program. The
communication parameters of the MCP are called MCPx... (x = 1 or 2) in function block FB1.
To synchronize several MCPs, the PLC program must be adapted accordingly. This is the
user's (machine manufacturer's) responsibility.
MCP failure
The basic PLC program detects an MCL failure even if no data is exchanged between MCP
and PLC. For instance, after a PLC restart.
The monitoring function is activated as soon as all components have signaled "Ready" after
powerup.
An alarm is displayed on the user interface if an MCP fails:
● 1. MCP alarm: "400260 Failure of machine control panel 1"
● 2. MCP alarm: "400261 Failure of machine control panel 2"
Note
An HT 8 is connected to the PCU via Ethernet. Since the communication of the MCP with
the SINUMERIK PLC is based on Windows components, the MCP monitoring time may
be exceeded in the following cases:
• 1. Cause: Windows XP identifies a fatal exception error (blue screen)
Possible measure: none
• 2. Cause: Impairment of Ethernet communication through unsuitable PC components.
Possible measure: Increase in MCP monitoring time (parameter: MCPxTimeout)
References
For a detailed description of the PLC basic program or of function block FB 1, please refer to:
/FB1/ Function Manual - Basic Functions; P3 Basic PLC Program, Chapter "FB 1: RUN_UP
Basic program, startup section
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 207
Ethernet communication
7.6 HT 8
Description of functions
The FC 26 function "HPU_MCP (machine control panel signals of the handheld unit HT8"
transfers the HT 8 specific signals of the following functions between the HT 8 input/output
data area parameterized in the FB 1 function module (parameter: MCPxIn and MCPxOut)
and the NC/PLC interface:
● Operating modes
● INC machine function
● WCS or MCS coordinate system
● Axial traversing keys
● Axis selection
● Feed override
● Rapid traverse override
● Key switch information
Note
The FC 26 function is a part of the basic PLC program. The user (machine manufacturer)
is responsible for calling the function.
Parameter
References
For a detailed description of the FC 26 function, refer to:
/FB1/ Function Manual - Basic Functions; P3 Basic PLC Program, Chapter "FC 26:
HPU_MCP ..."
Manual
208 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.6 HT 8
Examples
Call of FC 26 for the first MCP, for the first mode group and the first channel of the NC.
Call of FC 26 for the second MCP, for the second data group and the third channel of the NC.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 209
Ethernet communication
7.6 HT 8
1&PDFKLQHGDWD +0,ILOH
7DEOHRIPDFKLQHD[LVQDPHV 3DWK6LHPHQV6LQXPHULN+0,!XVHUODQJXDJH
0'01B$;&21)B0$&+$;B1$0(B7$% +7B[[,1,
>$[LVNH\7H[W@
$; ಯಯ
7UDYHUVLQJNH\VGLVSOD\HG
25 6WDQGDUGODEHOLQJFRUUHVSRQGLQJWR
0'01B$;&21)B0$&+$;B1$0(B7$%
; ;
1&3/&LQWHUIDFH3/&!1&.
0DSSLQJWKHNH\VLQWKH
7DEOHRIPDFKLQHD[LVQXPEHUV < <
'%'%%0&3 1&3/&LQWHUIDFH+7!3/&
'%'%%PD[QXPEHU
& &
'%'%%0&3 6) 6)
'%'%%PD[QXPEHU $
$
$[ $[
% % $[ $[
& &
$[ $[
$[ $[
1&3/&LQWHUIDFH+7!3/&
$[ $[
7UDYHUVLQJNH\VIRUD[HV
(%Q%LW $[ $[
(%Q%LW
6) 6)
&KDQJHRYHUD[HV
(%Q%LW
1&3/&LQWHUIDFH3/&!+7
'LVSOD\WUDYHUVLQJNH\V
$%Q%LW
IRU:&6QRPDFKLQHD[HV
$%Q%LW
$[HVQVHOHFWHG
$%Q%LW
Manual
210 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.6 HT 8
Note
Keys SF1 - SF4
The SF1 to SF4 softkeys are not assigned. The functionality must be implemented by the
user (machine manufacturer) in the PLC user program. The keys cannot be inscribed.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 211
Ethernet communication
7.6 HT 8
See also
Activate traversing keys (Page 212)
Display traversing keys (Page 214)
Manual
212 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.6 HT 8
The value 0 is to be entered as axis number in the table for traversing key signals that are
not supposed to act on any machine axis.
Specifying an invalid axis number can make the PLC switch to the "stop" state. There is no
validation for invalid axis numbers.
Changeover axes
A softkey is pre-configured in HT 8 for switching the axes, e.g. the next six machine axes.
● "U" key > vertical "Changeover axis key" softkey.
The following input signal is set via the softkey:
● EB n + 2, Bit 6 = 1 (switch axes)
The actual switching must be undertaken by the user (machine manufacturer) in the PLC
user program. For this, the machine axis table must be overwritten with the new axis
numbers.
With active WCS, it is assumed implicitly In FC 26, that the first 3 axes in the machine axis
table are geometry axes. If this is not the case e.g. after the axis switchover, then the user
(machine manufacturer) must set the following output signal in the PLC user program:
● AB n + 2, Bit 6 (Axes 7 - n selected)
Note
A machine axis table should then be overwritten if no axis traverses.
Transfer of the traversing key signals as a function of the active coordinate system
The switchover between MCS and WCS is described in Chapter: MCS/WCS coordinate
system switchover (Page 218)
The active coordinate system is displayed by FC 26 in the following output signal:
● AB n + 0, Bit 0 (MCS/WCS) with 0 = MCS, 1 = WCS
With active MCS, the traversing key signals of axes 1 to 6 are transferred to the axis-specific
interfaces (DB31, ... DBX4.6 and DBX4.7 (traversing keys +/-)) of the axes specified in the
machine axis table.
For active WCS, it is assumed that the Axes 1 to 3 of the machine axis table are geometry
axes. Hence the traversing key signals:
● of the axes 1 - 3 (EB n + 2 / 3, Bit 0 - Bit 2) are transferred to the interface of the
geometry axes in DB 21, ... DBB 12 + (n * 4), with n = 0, 1, 2), Bit 6 and Bit 7 (traversing
keys +/-) of the channel specified via the "ChanNo" parameter. The assignment of the
traversing key signals of axes 1, 2 and 3 to the geometry axes 1, 2 and 3 of the channel
is permanent and cannot be changed.
● The axes 4 - 6 (EB n + 2 / 3, Bit 3 - Bit 5) are transferred to the axis-specific interfaces
(DB31, ... DBX4.6 and DBX4.7 (traversing keys +/-)) of the 4 - 6 axes entered in the
machine axis table.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 213
Ethernet communication
7.6 HT 8
Manual
214 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.6 HT 8
Note
By default, no traversing key identifiers are recorded in the HMI file: HT8_xx.INI.
Note
The relevant original HT8_xx.INI file should not be changed, because it is overwritten
during an update of the HMI software. To create user-specific inscriptions, the file must
be copied to one of the following directories and changed there:
• .../user/language
• .../oem/language
• .../addon/language
All the axis names in the HT8_xx.INI files carry comments by default.
HT8_xx.INI (Excerpt)
[Axiskey Text]
;AX1 = "" ; max. 2*10 characters,
;AX2 = "" ; Line break takes place via 2 blanks
;AX3 = ""
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 215
Ethernet communication
7.6 HT 8
The character string for inscription of a traversing key is to be entered between the already
existing quotation marks, e.g. "LIN_X". A maximum of 2 lines are available for inscription of a
traversing key. It is recommended, the specification in the file notwithstanding, that only a
max. of 8 characters be used per line. For a two-line inscription, the two character strings
must be separated by two blanks following one after the other (line break).
Inscription examples
HT8_xx.INI (Excerpt)
[Axiskey Text]
AX1 = "LIN_X" ; One-line display
AX2 = "LINEAR AXIS_Y" ; Two-line display
AX3 = "LIN Z" ; One-line display
Manual
216 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.6 HT 8
8 8 8 8 8 8 8 8
Note
The relevant original HT8_xx.INI file should not be changed because it is overwritten
during an update of the HMI software. For the creation of user-specific inscriptions, the
file is to be copied to and changed in one of the following directories:
• .../user/language
• .../oem/language
• .../addon/language
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 217
Ethernet communication
7.6 HT 8
HT8_xx.INI (excerpt)
[CPFSoftkey Text]
U1 = "U1" ; max. 2*10 characters,
U2 = "U2" ; Line break occurs via %n
U3 = "U3"
To inscribe a user softkey, the existing character string "Ux" must be replaced by the desired
character string, e.g. "Door open" A maximum of 2 lines are available for inscription of a
traversing key. It is recommended, the specification in the file notwithstanding, that only a
max. of 8 characters be used per line. For a two-line inscription, the two character strings
must be separated by %n (line break), e.g. "Cooling%nOff".
Inscription examples:
HT8_xx.INI (excerpt)
[CPFSoftkey Text]
U1 = "CANCEL" ; One-line display
U2 = "Cooling%nOff" ; Two-line display
U3 = "Door open" ; One-line display
OB 1 (excerpt)
U E 0.0 // Evaluation of positive edge from EB n+0, Bit0
FBD G 200.1 // Store result in Marker 200.1
U G 200.1 // Load result
X DB19.DBX 0.7 // XOR of the result with HMI input signal
= DB19.DBX 0.7 // Write HMI signal
Note
The input data area from E0 and the use of Marker M200.1 are mere assumptions for illustration
purposes.
Result: The HMI signal (DB 19, DBX 0.7) changes its state with each positive edge of the
input signal (EB n + 0, Bit 0).
Manual
218 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.6 HT 8
With active WCS, it is assumed implicitly In FC 26, that the first 3 axes in the machine axis
table are geometry axes. If this is not the case e.g. after the axis switchover, then the user
(machine manufacturer) must set the following output signal in the PLC user program:
● AB n + 2, Bit 6 (Axes 7 - n selected)
Activating a function
An implementation option of activating a function with each positive edge of an input signal is
shown by the following listing:
OB 1 (excerpt)
CLR
U E 1.2 // If positive edge of user softkey U1?
FBD G 101.1
= G 101.3
UN G 101.3
SPB M005 // THEN
..... // Activating the function
M005: NOP 0 // ENDIF
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 219
Ethernet communication
7.6 HT 8
OB 1 (excerpt)
CLR
U E 1.3 // (1) If positive edge of user softkey U2?
FBD G 102.1
= G 102.3
UN G 102.3
SPB M007
CLR // (1) THEN
U G 102.2 // (2) IF Flip-Flop == 0 ?
SPB M006 // (2) THEN
..... // Activate Function 1 (e.g. display)
I G 102.2 // Flip-Flop = 1
SPA M007
// (2) ELSE (Flip-Flop == 1)
M006: .... // Activate Function 2 (e.g. switch-off)
R G 102.2 // Flip-Flop = 0
// (2) ENDIF
M007: NOP 0 // (1) ENDIF
Input image
The address specification of the input image EB takes place in the FB 1 function module,
parameters: "MCPxIn", with x = 1 for the 1st MCP and x = 2 for the 2nd MCP.
Signals from HT 8
Byte Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
EB n+0 Function keys
[REF] TEACH AUTO [MDA] JOG QUIT RESET [WCS/
MCS]
EB n+1 Function keys
CPF {U4} {U3} BigFct {U2} {U1} [INC] [REPOS]
(U key)
EB n+2 - Changeove Traversing keys +
r Ax6+ Ax5+ Ax4+ Ax3+ Ax2+ Ax1+
axes
EB n+3 - - Traversing keys -
Manual
220 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.6 HT 8
Signals from HT 8
Byte Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
Ax6- Ax5- Ax4- Ax3- Ax2- Ax1-
EB n+4 {U16} {U15} {U14} {U13} {U12} {U11} {U10} {U9}
EB n+5 - {U8} {U7} {U6} {U5} (SBL) - -
EB n+6 Res. HT 6/8 SF2 SF1 SF4 SF3 START STOP
EB n+7 - - - Feed override
E D C B A
[xx] = Functions that can be initiated only via the touchscreen softkey
{Ux} = User softkeys of the CPF, display via "U" key; standard labeling: U1 - U16; User-specified Inscription possible via
language-based file: HT8_xx.INI, path: /Siemens/Sinumerik/<HMI>/mmc2/language/
with xx: GR = German, UK = English, SP = Spanish, IT = Italian, GR = Greek, CH = Chinese
Note
It is recommended that the original file in .../mmc2/language/ be left unchanged and the user-specific. file be stored in one
of the following directories: .../user/language, .../oem/language, or /addon/language.
(...) = Signals from the function keys (softkeys) of the CPF, display via the "U" key
- unassigned signals
Note
Unassigned signals are transferred from HT 8 with 0.
Output image
The address specification of the output image EB takes place in the FB 1 function module,
parameters: "MCPxOut", with x = 1 for the 1st MCP and x = 2 for the 2nd MCP.
Signals to HT 8
Byte Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0
AB n + 0 Function keys
REF TEACH AUTO MDA JOG QUIT RESET WCS/MCS
AB n + 1 Function keys
- FCT15 FCT14 BigFct FCT12 FCT11 INC REPOS
AB n + 2 - Axes 7 - n Traversing keys +
selected Ax6+ Ax5+ Ax4+ Ax3+ Ax2+ Ax1+
AB n + 3 for WCS: - Traversing keys -
no machine Ax6- Ax5- Ax4- Ax3- Ax2- Ax1-
axes
AB n + 4 - - - - - - - -
AB n + 5 - - - - - - - -
AB n + 6 Display - SF2 SF1 SF4 SF3 START STOP
traversing
keys
AB n +7 - - - - - - - -
- unassigned signals
Note
We recommend setting unassigned signals explicitly to 0 in the user program.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 221
Ethernet communication
7.7 HT 2
7.7 HT 2
Hardware
An HT 2 is connected to the SINUMERIK 840Di sl via one of the following interface modules,
and not directly:
● Terminal box PN Basic
● Terminal box PN Plus
● Connection module Basic PN
● Machine Pushbutton Panel MPP 483 HTC
Software
The following software is required:
● PLC basic program
The relevant modules of the basic PLC program are:
– FB 1 (MCP communication parameters)
– FC 13 ("HHUDisp" Display control for handheld unit)
The library of the PLC basic program is part of the SINUMERIK 840Di sl. How to install
the library is described in detail in Section "Create PLC Program".
● SIMATIC STEP 7
SIMATIC STEP 7 is needed to customize the PLC basic and user programs to the
requirements of the respective automation system. SIMATIC STEP7 can be installed
directly on the PCU of the SINUMERIK 840Di sl. How to install additional software is
described in Chapter "License Management".
References:
The following references are required for connecting and commissioning an HT 2:
Function Manual, Basic Functions,
Chapter P3, PLC Basic Program, Program structure and modules of the PLC basic program
Device Manual - Operator Components and Networking,
Chapter Handheld Terminal HT 2
Catalog NCZ, Connection components: Cables, connectors, etc.
Automation system
To commission an HT 2, the automation system must be completely electrically and
mechanically connected with respect to NC, PLC, connecting device and HT 2.
The drives must be secured against accidental moving.
Manual
222 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.7 HT 2
Number system
The following figure shows the number system of the softkeys and LED of the HT 2 operator
field.
Note
In order to transfer the user softkeys (SK1, SK6, SK11 and SK16) in the input interface, at
least version 8.2 of the software "PCU-Base" must be installed.
NO LEDs are available at the HT 2 for the user softkeys (SK1, SK6, SK11 and SK16).
Input image
The address specification of the input image EB takes place in the FB 1 function module,
parameters: "HHUIn".
Signals from HT 2
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
EB m + 0 Reserved
EB m + 1 Reserved
EB m + 2 SK8 - SK7 SK5 SK4 SK3 - SK2
EB m + 3 - SK12 SK20 SK19 SK18 SK17 SK10 SK9
EB m + 4 SK25 SK14 SK13 - - - - -
EB m + 5 Write Key- Rotary coding switch (override) 1) -
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 223
Ethernet communication
7.7 HT 2
Signals from HT 2
acknowledg switch E D C B A
ment
display
1) Refer to Chapter: Rotary coding switch (Override)
- unassigned signals
Note
Unassigned signals are transferred from HT 8 with 0.
Output image
The address specification of the output image EB takes place in the FB 1 function module,
parameters: "HHUOut".
Signals to HT 2
Byte Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0
AB m + 0 1) - - - - - - -
AB m + 1 Requireme - - - - - Selection Selection
nt. Write Display-like Display-like
display-line 1-4 1-4
Bit 1 Bit 0
AB m + 2 LED8 LED14 LED7 LED5 LED4 LED3 LED13 LED2
AB m + 3 LED15 LED12 LED20 LED19 LED18 LED17 LED10 LED9
AB m + 4 1. Character of the selected line (outermost right character)
AB m + ... .......
AB m + 18 15. Character of the selected line
1) The output mode of the HT 2 display is adjusted via the output signal. The output signal must always be set to the value
1.
- unassigned signals
Note
The LED belonging to the output signal on HT 2 illuminates when the output signal has the value 1.
Unused output signals are to be set to 0.
NOTICE
Output signal AB m + 0, Bit 7
The output mode of the HT 2 display is adjusted via the output signal. The output signal
must always be set to the value 1.
Manual
224 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.7 HT 2
Note
The relevant machine data is to be set to the TRUE value on using the rotary coding switch:
• MD12000 $MN_OVR_AX_IS_GRAY_CODE
• MD12020 $MN_OVR_FEED_IS_GRAY_CODE
• MD12040 $MN_OVR_RAPID_IS_GRAY_CODE
• MD12060 $MN_OVR_SPIND_IS_GRAY_CODE
The effective override value comes from the parameterized values in the machine data:
• MD12010 $MN_OVR_FACTOR_AX_SPEED
• MD12030 $MN_OVR_FACTOR_FEEDRATE
• MD12050 $MN_OVR_FACTOR_RAPID_TRA
• MD12070 $MN_OVR_FACTOR_SPIND_SPEED
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 225
Ethernet communication
7.7 HT 2
5HTXLUHPHQW E
$%P%LW
D
F
G
$FNQRZOHGJPHQW
(%P%LW
Manual
226 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Ethernet communication
7.7 HT 2
(a) PLC user program: Setting the request. Wait for acknowledgement
(b) HT 2: Detects the write request. Sets the acknowledgement after ending the write
operation.
(c) PLC user program: Detects the acknowledgement. Resets the request.
(d) HT 2: Detects and resets the request. Resets the acknowledgement.
The write cycle is thus closed.
21H 31H 41H 51H 61H 71H A1H B1H C1H D1H E1H F1H
0001
22H 32H 42H 52H 62H 72H A2H B2H C2H D2H E2H F2H
0010
23H 33H 43H 53H 63H 73H A3H B3H C3H D3H E3H F3H
0011
24H 34H 44H 54H 64H 74H A4H B4H C4H D4H E4H F4H
0100
25H 35H 45H 55H 65H 75H A5H B5H C5H D5H E5H F5H
0101
26H 36H 46H 56H 66H 76H A6H B6H C6H D6H E6H F6H
0110
27H 37H 47H 57H 67H 77H A7H B7H C7H D7H E7H F7H
0111
28H 38H 48H 58H 68H 78H A8H B8H C8H D8H E8H F8H
1000
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 227
Ethernet communication
7.7 HT 2
2AH 3AH 4AH 5AH 6AH 7AH AAH BAH CAH DAH EAH FAH
1010
2BH 3BH 4BH 5BH 6BH 7BH ABH BBH CBH DBH EBH FBH
1011
2CH 3CH 4CH 5CH 6CH 7CH ACH BCH CCH DCH ECH FCH
1100
2DH 3DH 4DH 5DH 6DH 7DH ADH BDH CDH DDH EDH FDH
1101
2EH 3EH 4EH 5EH 6EH 7EH AEH BEH CEH DEH EEH FEH
1110
2FH 3FH 4FH 5FH 6FH 7FH AFH BFH CFH DFH EFH FFH
1111
Manual
228 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication 8
8.1 General information
PROFIBUS DP
PROFIBUS DP is an international, open fieldbus standard, which is specified in the
European Fieldbus Standard EN 50170 Part 2. PROFIBUS DP is optimized for fast, data
transmission at the field level for time-critical applications.
The components communicating via the PROFIBUS DP are categorized as either master or
slave components.
1. Master (active bus device)
Components operating on the bus as master determine the data exchange on the bus
and are therefore also designated as active bus devices.
There are two classes of master:
– DP master, Class 1 (DPMC1):
Central master devices are thus designated, which exchange information with the
slaves in specified message cycles.
Examples: SIMATIC S5, SIMATIC -, etc.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 229
PROFIBUS DP Communication
8.1 General information
Manual
230 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.1 General information
8VHIXOGDWD332
3URWRFRO 3URWRFRO
IUDPH IUDPH
+HDGHU 7UDLOHU
3DUDPHWHULGHQWLILHUYDOXH 3URFHVVGDWD
3.: 3='
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 231
PROFIBUS DP Communication
8.1 General information
Actual values
At time TI the current actual position values are read from all isochronous DP slave drives. In
the next DP cycle, the actual values are transferred to the DP master in the time TDX.
Position controller
The NC position controller is started at the time TM, with TM > TDX, and computes the new
speed setpoint for each axis on the basis of the position setpoint and the transferred actual
position value.
Setpoints
At the start of the next DP cycle, the speed setpoints are transferred from the DP master to
the DP slaves (drives) in the time TDX.
At time TO, the speed setpoints are taken as new specified values for all drive controllers.
70$3& 7'3
NC:
Master or 70
position controller 5
7'; 7';
352),%86'3 '39 *75 *& '[ '[ '[ '39 *75 *& '[ '[ '[
&RPPXQLFDWLRQ
6SHHG
FRQWUROF\FOH
'ULYHV 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
'36ODYHVWR
7R 7,
7, 7R
Manual
232 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.1 General information
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 233
PROFIBUS DP Communication
8.1 General information
Basic rules
The following basic rules must be observed:
1. The bus line must be terminated at both ends. For this purpose, enable the terminating
resistor in the PROFIBUS DP connector of the first and of the last nodes and disable the
remaining terminators.
NOTICE
Only two enabled terminating resistors are permitted per bus line.
)LHOGGHYLFH )LHOGGHYLFH
6,0$7,&(7 6,0$7,&(7
6,180(5,.'LVO
RII RQ
3&8
352),%86'3
RQ
PD[P 0&,%RDUG
352),%86'3
RII RII
RQ 7HUPLQDWLQJUHVLVWRULQ
'ULYH8QLW 'ULYH8QLW WKHFRQQHFWRUHQDEOHG
6,1$0,&66 6,1$0,&66
7HUPLQDWLQJUHVLVWRULQ
RII WKHFRQQHFWRUQRWHQDEOHG
Manual
234 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.2 Requirements
8.2 Requirements
As a condition for creating a PROFIBUS configuration using the default configuration the
following components are required:
● SIMATIC STEP 7
● 840Di sl Rack
(A preconfigured SIMATIC 300 station for SINUMERIK 840Di sl. Part of the PLC basic
program)
● SlaveOM
(part of the scope of supply of a SINUMERIK 840Di sl: SIMATIC add-on software)
SIMATIC STEP 7
SIMATIC STEP 7 (option) is required in the following version or later:
● SIMATIC STEP 7 as of Version 5.3, Service Pack 2
SIMATIC STEP 7 can either be installed directly on the SINUMERIK 840Di sl PCU or on an
external computer (PG/PC).
SINUMERIK 840Di sl
If SIMATIC STEP 7 is installed on the SINUMERIK 840Di sl, no additional Ethernet cable is
required to load the S7 configuration in the PLC.
Windows applications executed on the SINUMERIK 840Di sl have direct access to the PLC
through the "CP 840D sl" communication processor.
The installation of additional software on SINUMERIK 840Di sl is described in Chapter "SW
Installation/Update and Data Backup" (Page 551).
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 235
PROFIBUS DP Communication
8.2 Requirements
840Di sl Rack
The 840Di sl rack is a SIMATIC-300 station preconfigured for SINUMERIK 840Di sl. The
following version is available in the hardware catalog of HW Config:
● SINUMERIK 840Di sl with PLC 317-2DP 2AJ10
– Slot 2: SINUMERIK 840Di sl PLC
Default designation: PLC317-2DP 2AJ10
– Slot X1: MPI/PROFIBUS interface (X102)
Default designation: MPI/DP
– Slot X2: PROFIBUS interface (X101)
Default designation: DP
– Slot 4: SINUMERIK 840Di sl NC
Default designation: NCK 840D sl
– Slot 5: SINUMERIK CP for Industrial Ethernet TCP/IP
Default designation: CP 840D sl
Installation
The 840Di sl rack is part of the PLC Toolbox. When the PLC Toolbox is installed, it is
automatically installed in SIMATIC STEP 7.
Note
The PLC basic program must be installed on the computer on which SIMATIC STEP 7 is
installed. For installing the PLC basic program, please observe the appropriate notes in the
file:
• < Installation path>\importantinfo.rtf
Once the PLC basic program has been successfully installed the 840Di sl rack can be
accessed in the hardware catalog of SIMATIC STEP 7, "HW Config":
● "HW Config" hardware catalog:
Profile: Standard
SIMATIC 300 > SINUMERIK > 840Di sl > 840Di sl
SlaveOM
The SlaveOM (Slave Object Manager) for SINUMERIK 840Di sl enables the dialog-based S7
configuration of the following PROFIBUS drives:
● SIMATIC S120
● SIMODRIVE 611 universal or universal E
● SIMODRIVE POSMO CD/CA
● SIMODRIVE POSMO SI
● SIMODRIVE POSMO A
● ADI4 (Analog Drive Interface for 4 Axes)
Manual
236 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.2 Requirements
NOTICE
If the SlaveOM is used in conjunction with other PLC CPUs, a consistency error is
signaled when compiling the S7 configuration and no system data blocks are generated.
Installation
The SlaveOM is part of the PLC Toolbox. When the PLC Toolbox is installed, it is
automatically installed in SIMATIC STEP 7. The DP slave drives specified above are
available in the hardware catalog at the following location:
● HW Config: Hardware catalog:
Profile: Standard
– PROFIBUS-DP > SINAMICS SINAMICS S120
– PROFIBUS-DP > SIMODRIVE > SIMODRIVE 611 universal
– PROFIBUS-DP > SIMODRIVE > SIMODRIVE POSMO CD
– PROFIBUS-DP > SIMODRIVE > SIMODRIVE POSMO CA
– PROFIBUS-DP > SIMODRIVE > SIMODRIVE POSMO SI
– PROFIBUS-DP > SIMODRIVE > SIMODRIVE POSMO A
– PROFIBUS-DP > SINUMERIK > ADI4
Note
The PLC basic program must be installed on the computer on which SIMATIC STEP 7
is installed. For installing the PLC basic program, please observe the appropriate
notes in the file:
• < Installation path>\importantinfo.rtf
GSD file
A GSD file (device master file) contains all the properties of a DP slave in ASCII format.
Each DP slave SIMATIC STEP 7 requires a module-specific GSD file so that the DP slave
can be found in the hardware catalog.
If a DP slave is not displayed in the hardware catalog of "HW Config", you must install a
GSD file. To do that, use menu command Tools > Install new GSD file.
As soon as you have installed the GSD file the DP slave is available in the hardware catalog
at the following location:
● "HW Config" hardware catalog:
Profile: Standard
PROFIBUS-DP > Other field units > <DP-Slave>
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 237
PROFIBUS DP Communication
8.2 Requirements
NOTICE
The GSD files must be installed on the computer on which SIMATIC STEP 7 is already
installed.
To install a GSD file, please refer to the appropriate notes in the file: < Installation
path>\importantinfo.rtf
Manual
238 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.3 Creating a PROFIBUS configuration
8.3.1 Requirement
S7 project
The procedure described in this Section for setting up the PROFIBUS configuration as well
as the parameterization of various components (for example, SINAMIC drives, ADI4), is
based on an S7 project created using the description in Chapter "Create PROFIBUS
Configuration"
The following status of the S7 project is required:
● S7 project is has been set up (name: SIN840Di sl)
● Station 300 has been set up
● Interface (X102) PROFIBUS is parameterized (optional)
● Interface (X101) PROFIBUS is parameterized
● Input/output data areas of the NC are parameterized
Note
The instructions given in this Section are essentially limited to the special characteristics
of the SINUMERIK 840Di sl. For more details about working with SIMATIC STEP 7
please refer to the relevant SIMATIC documentation or online help.
Starting HW Config
Start "HW Config" by opening the station and double-clicking the hardware icon.
6,1'LVOLQVWDOODWLRQSDWK!?VWHS?VSURM?6,1'LVO
6,1'LVO +DUGZDUH 3/&'3$-
6,0$7,&
3/&'3$-
In HW Config, now insert the required PROFIBUS modules from the hardware catalog into
the S7 project.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 239
PROFIBUS DP Communication
8.3 Creating a PROFIBUS configuration
6,1$0,&66
Manual
240 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.3 Creating a PROFIBUS configuration
'LVO
6,180 ,0 6,02' ,0
3/&'3$-
;03,'3
;'3
1&.'VO
&3'VO
1RWLFH
FDQRQO\EHXVHGDVDQDOWHUQDWLYH
6,1$0,&6RU6,02'5,9(
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 241
PROFIBUS DP Communication
8.3 Creating a PROFIBUS configuration
Note
The procedure for assigning the final parameters for isochronous DP communication is
exemplified by one DP slave S120. Proceed in the same manner for other isochronous DP
slaves, e.g. SIMODRIVE 611U, ADI4; etc.
NOTICE
If DP slave ADI4 interfaces are present in an S7 project on which final parameterization is
to be performed, certain boundary conditions must be observed. See also:
References:
/ADI4/ ADI4 analog drive interface for 4 axes, Subsection "Parameterization",
Parameterization of DP Communication, Boundary Conditions
Manual
242 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.3 Creating a PROFIBUS configuration
Dialog: Beginning
'36ODYH3URSHUWLHV
*HQHUDOFRQILJXUDWLRQ&\FOHV\QFUKRQLVDWLRQ
6\QFKURQL]H'ULYHWRHTXLGLVWDQWH'3F\FOH
1HHWZRUNVHWWLQJVLQPV
,VRFKURQRXVEXVF\FOHDFWLYDWHG
)DFWRU ,QFUHPHQWEDVHWLPH>PV@
0DVWHUDSSOLFDWLRQ
[
F\FOH>PV@
)DFWRU ,QFUHPHQWEDVHWLPH>PV@
'3F\FOH>PV@ [
)DFWRU ,QFUHPHQWEDVHWLPH>PV@
7LPHWR>PV@
[
$FWXDOYDOXHSRVLWLRQ
)DFWRU ,QFUHPHQWEDVHWLPH>PV@
7LPHWR>PV@
[
6HWSRLQWDFFHSWDQFH
&RPSDULVRQ
2. &DQFHO+HOS
NOTICE
If there are different equidistant DP slave types in an S7 project, e.g. different SINAMICS
drives, ADI4, etc., the following steps must first be performed for each DP slave type before
continuing with the setting of other parameters.
1. Synchronize drive to equidistant DP cycle
2. Perform alignment
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 243
PROFIBUS DP Communication
8.3 Creating a PROFIBUS configuration
Dialog: Continuation
Tab: General
Group: Node/Master System
Button: "PROFIBUS..."
Dialog: Properties - PROFIBUS interface SINAMICS ...
Tab: Parameter
Button: "Properties..."
Dialog: PROFIBUS properties
Tab: Network settings
Button: "Options..."
Dialog: Options ☐
Radio button: Activating the equidistant bus cycle ☑
Dialog: Continuation
2SWLRQV
(TXLGLVWDQFH&DEOHV
$FWLYDWHLVRFKURQRXVEXVF\FOH
1XPEHURI3*ಫV23ಫV7'ಫVRQWKH352),%86
&RQILJXUHG7RWDOO
Graduation:
,VRFKURQRXV'3F\FOH
PLQ PVPD[ PVPVPV'HWDLOV
6\QFKURQL]DWLRQRIWKH6ODYHV
7LPHV7LDQG7RVDPHIRUDOO6ODYHV
LIQRW6HWLQ3URSHUWLHV6ODYHV
Manual
244 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.3 Creating a PROFIBUS configuration
Note
You are advised not to activate the option "Times Ti and To same for all slaves" in the
"Synchronization of the slaves" group.
The following parameters are now set for each type of DP slave on the "Clock
synchronization" tab :
● Equidistant DP cycle TDP
● Master application cycle TMAPC
● Actual value acquisition Ti
● Setpoint acceptance To
'3VODYHSURSHUWLHV
*HQHUDO&RQILJXUDWLRQ&\FOHV\QFKURQL]DWLRQ
6\FKURQL]H'ULYHWRHTXLGLVWDQW'3F\FOH
1HWZRUNVHWWLQJVLQPV
,VRFKURQRXVEXVF\FOHDFWLYDWHG
,VRFKURQRXV'SF\FOH &\FOLFSRUWLRQRILVRFKURQRXVPDVWHU
)DFWRU,QFUHPHQWEDVHWLPH>PV@
0DVWHUDSSOLFDWLRQ
[
F\FOH>PV@
)DFWRU,QFUHPHQWEDVHWLPH>PV@
'3F\FOH>PV@
[
)DFWRU,QFUHPHQWEDVHWLPH>PV@
7LPH7L>PV@
[
DFWXDOYDOXH
DFTXLVLWLRQ
)DFWRU,QFUHPHQWEDVHWLPH>PV@
7LPH7R>PV@
[
VHWSRLQWDFFSHWDQFH
&RPSDULVRQ
2. &DQFHO+HOS
DP cycle TDP
The "DP cycle" of DP slave S120 must be set to the cycle time of the DP master displayed
under group box "Network settings in ms" > Isochronous DP cycle".
NOTICE
The following condition must be fulfilled for the DP cycle time TDP:
DP cycle = isochron. DP cycle
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 245
PROFIBUS DP Communication
8.3 Creating a PROFIBUS configuration
NOTICE
On a DP slave S120 used with SINUMERIK 840Di sl, the ratio between the master
application cycle TMAC and DP cycle time TDP must be 1:1.
Master application cycle = DP cycle
Dialog: Continuation
Note
You are strongly recommended to use the same value for the time of actual value acquisition
Ti for all DP slaves S120, in particular if the axes interpolate.
NOTICE
The following condition must be observed for the time of actual value acquisition TI:
DP cycle >= actual value acquisition >= base time
Dialog: Continuation
Manual
246 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.3 Creating a PROFIBUS configuration
Setpoint acceptance To
The "setpoint transfer to" parameter defines the time when the speed setpoint of the NC
position controller is accepted by a DP slave S120.
Note
You are strongly recommended to use the same value for the time of setpoint acceptance To
for all DP slaves S120, in particular if the axes interpolate.
NOTICE
The following condition must be observed for the time of setpoint value transfer TO:
DP cycle >= setpoint accept. >= equidist. master cycl. component + base time
Dialog: Continuation
Comparison
The values of the current DP slave S120 displayed in the "Cycle synchronization" tab are
transferred to all the other DP slave S120 of the configuration via the Comparison interface.
This adjustment must be carried out at the end, and the dialog box must then be confirmed
with OK.
Dialog: End
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 247
PROFIBUS DP Communication
8.3 Creating a PROFIBUS configuration
NOTICE
If an S7 project includes different equidistant DP slave types, such as different SINAMICS
drives, ADI4, etc., the following parameter settings must be made separately for each DP
slave type as described above, and an alignment must be performed:
• Equidistant DP cycle TDP
• Master application cycle TMAPC
• Actual value acquisition TI
• Setpoint acceptance TO
The alignment only transfers the values displayed in the "Isochronous mode" tab to the DP
slaves of the same type.
Consistency check
Always check that the system data blocks are error-free before storing and compiling them.
To do that select menu command Station > check consistency in the HW config.
If inconsistencies are detected in the configuration, an error dialog box is displayed and the
error messages and help are displayed.
Note
System data blocks cannot be edited individually. Only the configuration as a whole can be
edited.
Manual
248 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.4 SIMATIC I/O devices (ET200...)
Note
To simplify the parameterization of equidistant communication at PROFIBUS DP, all the
required SIMATIC I/O devices must first be added in the configuration before parameterizing
the DP drives (e.g. DP slave 611 U or ADI4).
Note
To check whether a module selected from the hardware catalog complies with the module in
the automation system, the following procedure is recommended:
1. Note the MLFB numbers of all modules used in the automation system.
2. Select the corresponding module in the hardware catalog and compare the MLFB
number of the module used in the automation system with the MLFB number that is
displayed in the hardware catalog. Both MLFB numbers must be the same.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 249
PROFIBUS DP Communication
8.5 DP slave I/O Module PP72/48
Note
To make parameterization of isochronous communication with PROFIBUS DP easier, we
recommend inserting all required DP slaves into the configuration before setting the times
for isochronous communication.
When you release the left mouse button, the DP slave PP72/48 is inserted into the
configuration.
Note
Make sure that the cursor that appears as a crossed-out circle when dragging the DP slave
is positioned exactly on the DP master system so that it can be inserted into the
configuration.
Manual
250 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.5 DP slave I/O Module PP72/48
NOTICE
The PROFIBUS address of the DP slave PP72/48 set in Project S7 must be identical to
the PROFIBUS address set in the module with the help of the S1 switch (refer to
Section "PP72/48 I/O module" (Page 91)).
There is no automatic adjustment!
The following data must agree:
1. SIMATIC configuration of DP slave PP72/48
PROFIBUS address
2. I/O Module PP72/48
PROFIBUS address (Switch S1)
Dialog
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 251
PROFIBUS DP Communication
8.5 DP slave I/O Module PP72/48
Manual
252 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.6 DP slave MCP 310
Hardware
The following hardware is required:
● PROFIBUS connecting cable
No terminating resistor is integrated in the machine control panel.
Software
The following software is required:
● PLC basic program
The relevant modules of the basic PLC program are FB 1 (MCP communication
parameters), FC 19 (interface parameter assignment version: milling) and FC 25
(interface parameter assignment, version: turning).
The library of the basic PLC program is a part of the SINUMERIK 840Di sl. The
installation of the library is described in detail in the Section "Create PLC
Program" (Page 177).
● SIMATIC STEP 7
SIMATIC STEP 7 is needed to customize the PLC basic and user programs to the
requirements of the respective automation system. SIMATIC STEP 7 can be installed
directly on the PCU of the SINUMERIK 840Di sl. The installation of additional software is
described in the Chapter "SW Installation/Update and Data Backup" (Page 551).
● DP slave MCP 310
The MCP 310 DP slave is an integral part of the PLC toolbox. When the PLC Toolbox is
installed, it is automatically installed in SIMATIC STEP 7.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 253
PROFIBUS DP Communication
8.6 DP slave MCP 310
Note
The PLC basic program must be installed on the computer on which SIMATIC STEP 7 is
installed. To install the basic PLC program, please pay attention to the corresponding
instructions in the file:
• < Installation path>\importantinfo.rtf
References:
The following manuals are required for the commissioning of the MCP:
/FB1/ Function Manual - Basic Functions, P3 PLC Basic Program, Program Structure and
the Modules of the PLC Basic Program
/FB2/ Function Manual - Extension Functions, H1 Manual and Handwheel Travel, Startup of
Handwheels
/BH/ Operator Components Manual - Description of MCP 310 (interfaces, electrical
connection etc.)
/Z/ Catalog NCZ, Connection components: Cables, connectors, etc.
Automation system
To commission the MCP, the automation system must be fully connected mechanically as
well as electrically, with reference to NC, PLC and MCP.
The drives must be secured against accidental moving.
Manual
254 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.6 DP slave MCP 310
Interfaces
In the following figure, the interfaces are shown on the rear side of the module:
3RZHUVXSSO\; +DQGZKHHOV;;
5RWDU\VZLWFK;; /('V 352),%86; +DQGZKHHOVLJQDOW\SH6
COM-Board
&20%RDUG
7HUPLQDWLRQ
(TXLSRWHQWLDOERQGLQJFRQGXFWRU .H\VZLWFK; 6',3VZLWFK
'LUHFWNH\V;
&XVWRPHUVSHFRSHUDWLRQHOHPHQWV;;
Figure 8-11 Rear of the MCP 310 showing the control and display elements and the interfaces
6KLHOG03
For a detailed description of the electrical and mechanical design and of the machine control
panel interfaces, please refer to:
References:
/BH/ Operator Components Manual, Chapter "MCP 310 Machine Control Panel"
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 255
PROFIBUS DP Communication
8.6 DP slave MCP 310
(QDEOH6RWZDUHYHUVLRQGLVSOD\
SUHVVERWKNH\VVLPXOWDQHRXVO\
Manual
256 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.6 DP slave MCP 310
Switch S3
The PROFIBUS address and the connection type are set via Switch S3 on the rear side of
the MCP:
10 9 8 7 6 5 4 3 2 1 Meaning/value
on on - - - - - - - - Connection type: PROFIBUS
- - off - - - - - - - Reserved
PROFIBUS address
- - - off off off off off off off 0
- - - off off off off off off on 1
- - - on off off off off on off 2
- - - off off off off off on on 3
- - - : : : : : : : :
- - - on on on on on on off 126
- - - on on on on on on on 127
The switch position 10-8 are to be set according to the data in the table.
NOTICE
In the delivery condition, MPI is to be set as connection type (10-9: off, off).
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 257
PROFIBUS DP Communication
8.6 DP slave MCP 310
Standard
The function: "Standard" transfers the I/O data to the function and user-specific keys and
outputs:
● Input data: 8 bytes
● Output data: 8 bytes
Handwheel
The function: "Handwheel" transfers the absolute values of the two to the handwheels that
can be connected to the machine control panel:
● Input data: 2 x 2 bytes
$EVROXWHYDOXH $EVROXWHYDOXH
KDQGZKHHO KDQGZKHHO
/RZ%\WH +LJK%\WH
For each handwheel the current handwheel value is transferred as a 16-bit absolute value
relative to the starting value. The starting value for the sensor counter in the handwheel is 0.
The absolute values are transferred to the Big Endian Format.
The data for both handwheels is always transferred. The absolute value for a handwheel that
is not connected is always 0.
NOTICE
If the "Handwheel" function is used, the MCP must be connected to the PROFIBUS
interface X101 of the MCI board. The handwheel is evaluated by the NC and the NC only
has direct access to this PROFIBUS interface.
Manual
258 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.6 DP slave MCP 310
Additional I/Os
The function: "Additional I/Os" transfers the data of all non-standard I/Os:
● Direct keys
● Customer keys: 6 signals (bit 0 to bit 6)
● Rotary switch
with the following distribution:
● Input data: 5 bytes
/RZ%\WH +LJK%\WH
5HVHUYHG&XVWRPHU
DOZD\V/('V
/RZ%\WH +LJK%\WH
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 259
PROFIBUS DP Communication
8.6 DP slave MCP 310
6ORW'S,'2UGHU1XPEHUGHVLJQDWLRQ($GGUHVV2$GGUHVV&RP
VWDQGDUGKDQGZKHHOH[WHQGHG
($!VWDQGDUGKDQGZKHHOH[WHQ
!VWDQGDUGKDQGZKHHOH[WHQ
Requirements: S7 project
The following status with reference to the S7 project in which the MCP 310 DP slave is to be
inserted, is required:
● You have created the S7 project
● You have set up a SIMATIC 300 station with PROFIBUS master-capable SINUMERIK
control
When you release the left mouse button, the MCP 310 DP slave is inserted into the
configuration.
Note
As you drag the DP slave the cursor appears as a circle with a slash through it. When the
cursor is positioned exactly over the DP master system, it changes to a plus sign, and the
DP slave can be added to the configuration.
Manual
260 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.6 DP slave MCP 310
PROFIBUS parameters
As soon as you have inserted MCP 310 DP slave into the configuration, dialog box
"PROFIBUS properties interface SINUMERIK MCP" is displayed.
The following PROFIBUS parameters must either be set or verified:
● PROFIBUS address
● Transmission rate
● Profile
Dialog
NOTICE
The PROFIBUS address set in the S7 project for the MCP 310 DP slave must be the same
as the PROFIBUS address (DIP Switch S3) set in the module.
There is no automatic adjustment!
The following data must agree:
1. SIMATIC configuration of MCP 310 DP slave
PROFIBUS address
2. Machine control panel MCP 310
PROFIBUS address (DIP Switch S3)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 261
PROFIBUS DP Communication
8.6 DP slave MCP 310
Insert module
The active functions and hence the number of user data elements to be transferred are
chosen by selecting the appropriate pre-configured module. The modules in the hardware
catalog are arranged under the MCP 310 DP slave. The following modules are available:
● Universal module (not applicable)
● standard
● standard, handwheel
● standard, extended
● standard, handwheel, extended
Module: standard
The module transfers the data for the "Standard" function:
● Input data: 8 bytes
6WDQGDUGGDWD
E\WHV
6WDQGDUGGDWD
E\WHV
/RZ%\WH +LJK%\WH
6WDQGDUGGDWD
E\WHV
Manual
262 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.6 DP slave MCP 310
'LUHFWFRQWURO
6WDQGDUG'DWD &XVWRPHUNH\V VWURWDU\VZLWFK QGURWDU\VZLWFK
NH\V23
E\WHV E\WH E\WH E\WH
E\WHV
/RZ%\WH +LJK%\WH
Low-Byte High-Byte
+LJK%\WH
Low-Byte High-Byte
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 263
PROFIBUS DP Communication
8.6 DP slave MCP 310
NOTICE
Processing of additional I/O data is the sole responsibility of the user (machine
manufacturer) and is not supported by the PLC basic program.
NOTICE
Parameters: MCPxStop and MCPxNotSend are of no significance.
References:
For a detailed description of the PLC basic program or of function block FB 1, please refer to:
Manual
264 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.6 DP slave MCP 310
/FB1/ Function Manual - Basic Functions: P3 PLC Basic Program, Chapter "FB 1: RUN_UP
Basic Program", Startup section
NOTICE
Function blocks FC 19, FC 24 and FC 25 are part of the PLC basic program. It is the
user's (machine manufacturer's) responsibility to call the block correctly or assign the
interface the appropriate parameters.
References:
A detailed description of the function blocks for transferring machine control panel signals to
the VDI interface can be found in:
/FB1/ Function Manual - Basic Functions: P3 PLC Basic Program, Section "FC 19:
MCP_IFM ...", Section "FC 24: MCP_IFM2 ...", Section "FC 25: MCP_IFT ..."
Example
The following example shows the communication parameter settings for function block FB 1
for an MCP:
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 265
PROFIBUS DP Communication
8.6 DP slave MCP 310
Customized response
The following organization blocks can be added to the PLC user program to customize the
response to a DP slave MCP 310 failure:
● OB 82: Diagnostic interrupt
● OB 86: Rack failure
Please refer to the corresponding SIMATIC literature for details of linking organization blocks
and evaluating diagnostic data.
NOTICE
No alarm is initiated by the basic PLC program if there is a failure of an MCP connected via
PROFIBUS. The triggering of a corresponding alarm is the sole responsibility of the user
(machine manufacturer).
Manual
266 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.6 DP slave MCP 310
/('/('/('/('/('/('/('/('/('/('
/('
Input image
Arrangement of the key signals in the input image of the MCP 310 DP slave:
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 267
PROFIBUS DP Communication
8.6 DP slave MCP 310
S33
T9 T10 T11 T12 T13 T14 T15
S29 S30 S31 S32 S12 S14 S15
EB n+7 Freely assignable customer keys
T1 T2 T3 T4 T5 T6 T7 T8
S21 S22 S23 S24 S25 S26 S27 S28
Signals marked with * are inverse signals.
The following information is to be found in the table for each input bit:
● 1. Row: Default designation
● 2. Row: Key number (Sxy) or feed override switch (X30/X31), key switch (X50), optionally
assigned customer keys (X52)
Output image
Arrangement of the LED signals in the output image of the MCP 310 DP slave:
Manual
268 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.6 DP slave MCP 310
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 269
PROFIBUS DP Communication
8.7 DP slave MCP 483
Hardware
The following hardware is required:
● PROFIBUS connecting cable
No terminating resistor is integrated in the machine control panel.
Software
The following software is required:
● PLC basic program
The relevant modules of the basic PLC program are FB 1 (MCP communication
parameters), FC 19 (interface parameter assignment version: milling) and FC 25
(interface parameter assignment, version: turning).
The library of the basic PLC program is a part of the SINUMERIK 840Di sl. The
installation of the library is described in detail in the Section "Create PLC
Program" (Page 177).
● SIMATIC STEP 7
SIMATIC STEP 7 is needed to customize the PLC basic and user programs to the
requirements of the respective automation system. SIMATIC STEP 7 can be installed
directly on the PCU of the SINUMERIK 840Di sl. The installation of additional software is
described in the Section "SW Installation/Update and Data Backup" (Page 551).
● DP slave MCP 483
The MCP 483 DP slave is an integral part of the PLC toolbox. When the PLC Toolbox is
installed, it is automatically installed in SIMATIC STEP 7.
Manual
270 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.7 DP slave MCP 483
References:
The following manuals are required for the commissioning of the MCP:
/FB1/ Function Manual - Basic Functions, P3 PLC Basic Program, Program Structure and
the Modules of the PLC Basic Program
/FB2/ Function Manual - Extension Functions, H1 Manual and Handwheel Travel, Startup of
Handwheels
/BH/ Operator Components Manual, Description of MCP (interfaces, electrical connection
etc.)
/Z/ Catalog NCZ, Connection components: Cables, connectors, etc.
Automation system
To commission the MCP, the automation system must be fully connected mechanically as
well as electrically, with reference to NC, PLC and MCP.
The drives must be secured against accidental moving.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 271
PROFIBUS DP Communication
8.7 DP slave MCP 483
Interfaces
In the following figure, the interfaces are shown on the rear side of the module:
7HUPLQDWLRQHTXLSRWHQWLDOERQGLQJ
FRQGXFWRU 3RZHUVXSSO\; 352),%86;
VHHEHORZIRUGHWDLOV +DQGZKHHOV;;
5RWDU\VZLWFK;; +DQGZKHHOVLJQDOW\SH6
&20%RDUG
6+,(/'03
For a detailed description of the electrical and mechanical design and of the machine control
panel interfaces, please refer to:
References:
/BH/ Operator Components Manual, Chapter "MCP 483 Machine Control Panel"
Manual
272 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.7 DP slave MCP 483
(QDEOHVRIWZDUHYHUVLRQGLVSOD\
VWGLJLW UGGLJLW SUHVVERWKNH\VVLPXOWDQHRXVO\
OHIW/('%ORFN QGGLJLW ULJKW/('%ORFN
FHQWHU/('%ORFN
Switch S3
The PROFIBUS address and the connection type are set via Switch S3 on the rear side of
the MCP:
10 9 8 7 6 5 4 3 2 1 Meaning/value
on on - - - - - - - - Connection type: PROFIBUS
- - off - - - - - - - Reserved
PROFIBUS address
- - - off off off off off off off 0
- - - off off off off off off on 1
- - - on off off off off on off 2
- - - off off off off off on on 3
- - - : : : : : : : :
- - - on on on on on on off 126
- - - on on on on on on on 127
The switch position 10-8 are to be set according to the data in the table.
NOTICE
In the delivery condition, MPI is to be set as connection type (10-9: off, off).
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 273
PROFIBUS DP Communication
8.7 DP slave MCP 483
Standard
The "Standard" function transfers the I/O data to the function and user-specific keys and
outputs:
● Input data: 8 bytes
● Output data: 8 bytes
Handwheel
The "Handwheel" function transfers the absolute values of the two to the handwheels that
can be connected to the machine control panel:
● Input data: 2 x 2 bytes
$EVROXWHYDOXH $EVROXWHYDOXH
KDQGZKHHO KDQGZKHHO
/RZ%\WH +LJK%\WH
For each handwheel the current handwheel value is transferred as a 16-bit absolute value
relative to the starting value. The starting value for the sensor counter in the handwheel is 0.
The absolute values are transferred in big endian format.
The data for both handwheels is always transferred. The absolute value for a handwheel that
is not connected is always 0.
NOTICE
If the "Handwheel" function is used, the MCP must be connected to the PROFIBUS
interface X101 of the MCI board. The handwheel is evaluated by the NC and the NC only
has direct access to this PROFIBUS interface.
Additional I/Os
The "Additional I/Os" functions transfers the data of all non-standard I/Os:
● Direct keys
● Customer keys: 6 signals (bit 0 to bit 6)
● Rotary switch
with the following distribution:
Manual
274 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.7 DP slave MCP 483
/RZ%\WH +LJK%\WH
5HVHUYHG&XVWRPHU
DOZD\V/('V
/RZ%\WH +LJK%\WH
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 275
PROFIBUS DP Communication
8.7 DP slave MCP 483
6ORW'S,'2UGHU1XPEHUGHVLJQDWLRQ($GGUHVV2$GGUHVV&RP
VWDQGDUGKDQGZKHHOH[WHQGHG
($!VWDQGDUGKDQGZKHHOH[WHQ
!VWDQGDUGKDQGZKHHOH[WHQ
Requirements: S7 project
The following status with reference to the S7 project in which the MCP 483 DP slave is to be
inserted, is required:
● You have created the S7 project
● You have set up a SIMATIC 300 station with PROFIBUS master-capable SINUMERIK
control
When you release the left mouse button, the MCP 483 DP slave is inserted into the
configuration.
Note
As you drag the DP slave the cursor appears as a circle with a slash through it. When the
cursor is positioned exactly over the DP master system, it changes to a plus sign, and the
DP slave can be added to the configuration.
Manual
276 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.7 DP slave MCP 483
PROFIBUS parameters
As soon as you have inserted MCP 483 DP slave into the configuration, dialog box
"PROFIBUS properties interface SINUMERIK MCP" is displayed.
The following PROFIBUS parameters must either be set or verified:
● PROFIBUS address
● Transmission rate
● Profile
Dialog
NOTICE
The PROFIBUS address set in the S7 project for the MCP 483 DP slave must be the same
as the PROFIBUS address (DIP Switch S3) set in the module.
There is no automatic adjustment!
The following data must agree:
1. SIMATIC configuration of MCP 483 DP slave
PROFIBUS address
2. Machine control panel MCP 483
PROFIBUS address (DIP Switch S3)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 277
PROFIBUS DP Communication
8.7 DP slave MCP 483
Insert module
The active functions and hence the number of user data elements to be transferred are
chosen by selecting the appropriate pre-configured module. The modules in the hardware
catalog are arranged under the MCP 483 DP slave. The following modules are available:
● Universal module (not applicable)
● standard
● standard, handwheel
● standard, extended
● standard, handwheel, extended
Module: standard
The module transfers the data for the "Standard" function:
● Input data: 8 bytes
6WDQGDUGGDWD
E\WHV
6WDQGDUGGDWD
E\WHV
/RZ%\WH +LJK%\WH
6WDQGDUGGDWD
E\WHV
Manual
278 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.7 DP slave MCP 483
'LUHFWFRQWURO
6WDQGDUG'DWD &XVWRPHUNH\V VWURWDU\VZLWFK QGURWDU\VZLWFK
NH\V23
E\WHV E\WH E\WH E\WH
E\WHV
/RZ%\WH +LJK%\WH
Low-Byte High-Byte
+LJK%\WH
Low-Byte High-Byte
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 279
PROFIBUS DP Communication
8.7 DP slave MCP 483
NOTICE
Processing of additional I/O data is the sole responsibility of the user (machine
manufacturer) and is not supported by the PLC basic program.
NOTICE
Parameters: MCPxStop and MCPxNotSend are of no significance.
References:
For a detailed description of the PLC basic program or of function block FB 1, please refer to:
Manual
280 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.7 DP slave MCP 483
/FB1/ Function Manual - Basic Functions: P3 PLC Basic Program, Chapter "FB 1: RUN_UP
Basic Program", Startup section
NOTICE
Function blocks FC 19, FC 24 and FC 25 are part of the PLC basic program. It is the
user's (machine manufacturer's) responsibility to call the block correctly or assign the
interface the appropriate parameters.
References:
A detailed description of the function blocks for transferring machine control panel signals to
the VDI interface can be found in:
/FB1/ Function Manual - Basic Functions: P3 PLC Basic Program, Section "FC 19:
MCP_IFM ...", Section "FC 24: MCP_IFM2 ...", Section "FC 25: MCP_IFT ..."
Example
The following example shows the communication parameter settings for function block FB 1
for an MCP:
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 281
PROFIBUS DP Communication
8.7 DP slave MCP 483
Customized response
The following organization blocks can be added to the PLC user program to customize the
response to a DP slave MCP 483 failure:
● OB 82: Diagnostic interrupt
● OB 86: Rack failure
Please refer to the corresponding SIMATIC literature for details of linking organization blocks
and evaluating diagnostic data.
NOTICE
No alarm is initiated by the basic PLC program if there is a failure of an MCP connected via
PROFIBUS. The triggering of a corresponding alarm is the sole responsibility of the user
(machine manufacturer).
Manual
282 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.7 DP slave MCP 483
/('
/('
6 6 6 6 6 6 6 6 6 .H\V
6 6 6 6 6 6 6 6 6 6 6 6 6 6
Input image
Arrangement of the key signals in the input image of the MCP 483 DP slave:
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 283
PROFIBUS DP Communication
8.7 DP slave MCP 483
Output image
Arrangement of the LED signals in the output image of the MCP 483 DP slave:
Manual
284 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.7 DP slave MCP 483
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 285
PROFIBUS DP Communication
8.8 ADI4 DP slave
NOTICE
The ADI4 DP slave can only be operated on an isochronous PROFIBUS DP.
8.8.1 SlaveOM
Parameters for the configuration with regard to the ADI4 interface modules, called DP slave
ADI4 here, are assigned with the SlaveOM for SINUMERIK 840Di sl. Please see References
to ADI4 to install the SlaveOM.
Note
To simplify parameterization of the isochronous communication on the PROFIBUS DP, you
must first insert all the DP slaves (drives, ADI4, I/O modules, etc.) you require into the
configuration before parameterization of the DP drives, before you set the times for
isochronous communication.
When you release the left mouse button, the DP slave ADI4 is inserted into the configuration.
Note
Make sure that the cursor, which appears as a crossed-out circle when dragging the DP
slave, is positioned exactly on the DP master system so that the DP slave is inserted into the
configuration.
References:
For a complete description of the parameterization of an ADI4 DP slave please refer to:
/ADI4/ Analog Drive Interface for 4 Axes, Subsection "Parameterization"
Manual
286 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.9 DP slave SINAMICS S120
Note
• Configuration and SlaveOM for SINAMICS
To configure SINAMICS S120 drives, the SlaveOM for SINAMICS must be integrated in
SIMATIC STEP7. To do this, install the SINAMICS STARTER commissioning tool on the
same computer (PG/PC) as SIMATIC STEP7.
• Parameterization of equidistant communication
To simplify parameterization of the isochronous communication on the PROFIBUS DP,
you must first insert all the DP slaves (drives, ADI4, I/O modules, etc.) you require into
the configuration before parameterization of the DP drives, before you set the times for
isochronous DP communication.
Releasing the mouse button inserts the DP slave S120 in the configuration.
Note
Make sure that the cursor, which appears as a crossed-out circle when dragging the DP
slave, is positioned exactly on the DP master system so that the DP slave is inserted into the
configuration.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 287
PROFIBUS DP Communication
8.9 DP slave SINAMICS S120
PROFIBUS address
Inserting a DP slave S120 into the configuration will open the dialog for assigning
parameters for PROFIBUS DP properties.
The PROFIBUS address is automatically set to the next free PROFIBUS address.
The PROFIBUS address can generally be freely selected. It must, however, match the
PROFIBUS address set in the drive Control Unit (parameter P0918).
NOTICE
The PROFIBUS address of DP slave S120, which is set using HW Config, must match the
PROFIBUS address set in the drive:
There is no automatic adjustment!
The following data must agree:
1. SIMATIC configuration of S120 DP slave:
PROFIBUS address
2. SINAMICS S120, CU320
Parameter P0918 (PROFIBUS node address)
Manual
288 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.9 DP slave SINAMICS S120
Dialog
Device version
After confirming the dialog with the "OK" button, the system opens the "SIMOTION DRIVE
Properties" dialog for setting the device version used in the drive.
Dialog
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 289
PROFIBUS DP Communication
8.9 DP slave SINAMICS S120
Note
Currently, no message frames must be configured for the Control Unit and infeed of a
drive unit. Error acknowledgement and release are performed in the STARTER by means
of free message frame configuration with BICO.
● The structure of the process data for the PROFIBUS message frame configured in HW
Config (object sequence and message frame type) must be identical to the structure
configured in STARTER.
Manual
290 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.9 DP slave SINAMICS S120
Preassignment
Object Message frame selection Option
1 Message frame102, PZD-6/10
2 Message frame 105, PZD-6/10
3 Message frame 103, PZD 6/10
Overview Details
The drive objects are provided with data from the PROFIBUS message frame in the following order:
Close Help
Drive_Unit_Addr10
Dialog
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 291
PROFIBUS DP Communication
8.9 DP slave SINAMICS S120
NOTICE
The PROFIBUS message frame of DP slave S120, which is parameterized using HW
Config, must match the corresponding data parameterized in the NC and in the drive.
There is no automatic adjustment!
The following data must agree:
1. SIMATIC configuration of S120 DP slave:
Drive object: "Drive control": Message frame
2. SINUMERIK 840Di sl NC
MD13060 $MN_DRIVE_TELEGRAM_TYPE[n]
3. SINAMICS S120
Parameter p0922 (PROFIBUS PDA message frame selection) or STARTER: Drive unit
> Configuration
I/O addresses
Communication between the NC and the drive object of a DP slave S120 in the SINUMERIK
840Di sl can only take place if the I/O addresses for the I/O data of a drive object are the
same.
NOTICE
The following is to be taken into account:
• The I/O addresses of the I/O data of a drive object must be the same, e.g. drive object:
"Drive control":
I/O address actual value = = I/O address setpoint
• The I/O address set by the HW Config for a drive object must match the I/O address set
in the NC.
There is no automatic adjustment!
The following data must agree:
• SIMATIC configuration of S120 DP slave:
Drive object:"Drive control": I/O address
SINUMERIK 840Di sl NC
MD13050 $MN_DRIVE_LOGIC_ADDRESS[n]
• SIMATIC configuration of S120 DP slave:
Drive object: "Control Unit": I/O address
SINUMERIK 840Di sl NC
MD13120 $MN_CONTROL_UNIT_LOGIC_ADDRESS[n]
Manual
292 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.9 DP slave SINAMICS S120
Note
To prevent changes to the I/O addresses in the NC machine data, we recommend using the
default machine data values when assigning I/O addresses:
• Drive objects: "Drive control":
MD13050 $MN_DRIVE_LOGIC_ADDRESS[n], n = 0,1,...
Standard values: 4100 + n*40
• Drive objects: "Control Unit":
MD13120 $MN_CONTROL_UNIT_LOGIC_ADDRESS[n], n = 0,1,...
Standard values: 6500 (1. CU), 0 (all other CUs)
Dialog
Consistency
The default setting with regard to the consistency of the I/O data is whole length.
This setting results in:
● Direct accesses from the PLC user program (e.g. byte, word or double word) to this
address range are not permitted by the PLC operating system.
● Accesses to this address range must be carried out using the system functions SFC 14
and SFC 15.
● The system functions SFC 14 and SFC 15 ensure consistent reading/writing of the data
of an axis, e.g.:
– Message frame type 102: 6 words for the set value or 10 words for the actual value
● Because DP slaves 611U can be assigned both to the NC and to the PLC, check system
functions SFC 14 and SFC 15 when writing data to see whether the drive belongs to the
writing component. If this is not the case, the data access is denied.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 293
PROFIBUS DP Communication
8.9 DP slave SINAMICS S120
0$>@
0$>@
0$>@
'36ODYH667$57(5
352),%86DGGUHVV
2EMHFW'ULYH2EMHFW1R0HVVDJHIUDPH
'ULYHB
'ULYHB
'ULYHB
'ULYHREMHFWQR
'ULYHREMHFW
$/0 600 DMM
&8
'ULYHB
'ULYHB
'ULYHB
① NC
The NC writes/reads the process data for machine axes 1 to 3 from the I/O addresses and
message frames parameterized in the following machine data:
● MD13050 $MN_DRIVE_LOGIK_ADDRESS[ n ]
Manual
294 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.9 DP slave SINAMICS S120
● MD13060 $MN_DRIVE_TELEGRAM_TYPE[n]
1. Machine axis: I/O address 4100
Message frame 102
2. Machine axis: I/O address 4140
Message frame type 102
3. Machine axis: I/O address 4180
Message frame type 102
For configuring the drive within the framework of the NC commissioning, please refer to
Subsection "Drive configuration" (Page 389).
② DP master
The DP master periodically transfers the isochronous process data to/from DP slaves S120
based on the configuration set in SIMATIC STEP 7 HW Config:
PROFIBUS address: 10
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 295
PROFIBUS DP Communication
8.9 DP slave SINAMICS S120
The process data (message frame type) is read by DP slave S120 to the configured object
sequence (object) from the PROFIBUS message frame and transferred to the relevant drive
object according to the drive object number.
Example:
The process data for the first object is read to the PROFIBUS message frame according to
message frame 102. The process data is transferred to the drive object: "Drive_1", drive
object No. 3.
Reading the process data from the drive object
The process data (message frame type) is read by the DP slave S120 in the configured
object sequence (object) via the the drive object number and transferred to the PROFIBUS
message frame.
Manual
296 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.10 DP slave SIMODRIVE drives
8.10.1 SlaveOM
The drives are assigned parameters using the SlaveOM for SINUMERIK 840Di sl (for
installation of the SlaveOM, refer to Subsection "General" (Page 229): DriveOM/SlaveOM).
Note
To simplify parameterization of the isochronous communication on the PROFIBUS DP, you
must first insert all the DP slaves (drives, ADI4, I/O modules, etc.) you require into the
configuration before parameterization of the DP drives, before you set the times for
isochronous DP communication.
When you release the left mouse button, the DP slave 611U is inserted into the configuration.
Note
Make sure that the cursor, which appears as a crossed-out circle when dragging the DP
slave, is positioned exactly on the DP master system so that the DP slave is inserted into the
configuration.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 297
PROFIBUS DP Communication
8.10 DP slave SIMODRIVE drives
PROFIBUS address
Inserting a DP slave 611U into the configuration will open the dialog for parameterizing the
PROFIBUS DP properties.
SlaveOM sets the PROFIBUS address to the next free PROFIBUS address automatically.
The PROFIBUS address can generally be freely selected. It must, however, match the
PROFIBUS address set in the drive (e.g. with SimoCom U) (parameter P0918).
NOTICE
The PROFIBUS address of DP slave 611U, which is set on the SlaveOM, must match with
the PROFIBUS address set in the drive:
There is no automatic adjustment!
The following data must agree:
1. SIMATIC configuration of 611U DP slave
PROFIBUS address
2. SIMODRIVE 611 universal
Parameter P0918 (PROFIBUS node address)
Manual
298 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.10 DP slave SIMODRIVE drives
Dialog
Frame type
After confirming this dialog with "OK", the "DP Slave Properties" dialog box is opened.
The corresponding message frame type is to be selected via the Pre-assignment list box,
depending on the drive functionality to be used. The selected message frame type only
defines the number of cyclically transferred process data units within the cyclic message
frames.
The number of cyclically transferred process data units depends on:
● The number of axes per drive module
● The number of encoders used per axis
● The drive functionality used
The following message frame types are predefined for parameterization of the DP slave
611U:
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 299
PROFIBUS DP Communication
8.10 DP slave SIMODRIVE drives
(QFRGHU
6,02'5,9(XQLYHUVDO 6,02'5,9(XQLYHUVDO(
Dialog
Dialog: DP slave properties
Tab: Configuration
Predefined: <Messag frame type>
OK
NOTICE
The message frame type of DP slave 611U, which is set on the SlaveOM, must match with
the PROFIBUS address set on the NC and the drive:
There is no automatic adjustment!
The following data must agree:
1. SIMATIC configuration of 611U DP slave
Frame type
2. SINUMERIK 840Di sl NC
MD13060 $MN_DRIVE_TELEGRAM_TYPE
3. SIMODRIVE 611 universal
Parameter P0922 (PROFIBUS message frame type selection)
For a detailed description of the different message frame types, please see:
● SIMODRIVE 611 universal and universal E:
References:
/FBU/ Function Manual SIMODRIVE 611 universal
● SIMODRIVE POSMO SI/CD/CA
References:
/POS3/ User Manual - SIMODRIVE POSMO SI/CD/CA
In Chapter "Communication via PROFIBUS DP".
Manual
300 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.10 DP slave SIMODRIVE drives
I/O addresses
Communication between the NC and the individual axes of the DP slaves 611U in the
SINUMERIK 840Di sl can only take place if the I/O addresses for the setpoint and actual
value of an axis are the same.
This prerequisite is taken into account by SlaveOM automatically when inserting a DP slave
611U into a configuration.
NOTICE
The I/O addresses for set and actual values of an axis must be the same.
I/O address actual value = = I/O address setpoint
If a DP slave 611U is inserted into an S7 project due to a copying process (e.g. from
another S7 project), the I/O addresses are assigned exclusively under the control of "HW
Config".
This may have the consequence that an axis is assigned different I/O addresses for set and
actual values. In this case, the I/O addresses must be corrected manually.
NOTICE
The I/O address set by the SlaveOM for an axis must match the I/O address set in the NC.
There is no automatic adjustment!
The following data must agree:
1. SIMATIC configuration of 611U DP slave
I/O address
2. SINUMERIK 840Di sl NC
MD13050 $MN_DRIVE_LOGIC_ADDRESS[n], (logical drive address)
Note
To prevent subsequent changes to the I/O addresses in the NC machine data MD13050
$MN_DRIVE-LOGIC_ADDRESS[n], we recommend using the default machine data values
within the configuration when assigning I/O addresses:
1. Axis: Default I/O address = 4100
mth axis: Default I/O address = 4100 + (m-1)*40
The default setting for the machine data is described in Subsection "Axis
Configuration" (Page 385).
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 301
PROFIBUS DP Communication
8.10 DP slave SIMODRIVE drives
Dialog
Consistency
The default setting with regard to the consistency of the I/O data is whole length.
This setting results in:
● Direct accesses from the PLC user program (e.g. byte, word or double word) to this
address range are not permitted by the PLC operating system.
● Accesses to this address range must be carried out using the system functions SFC 14
and SFC 15.
● The system functions SFC 14 and SFC 15 ensure consistent reading/writing of the data
of an axis, e.g.:
– Message frame type 102: 6 words for the set value or 10 words for the actual value
● Because DP slaves 611U can be assigned both to the NC and to the PLC, check system
functions SFC 14 and SFC 15 when writing data to see whether the drive belongs to the
writing component. If this is not the case, the data access is denied.
Manual
302 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.10 DP slave SIMODRIVE drives
1& '3PDVWHU
($DGGUHVVPHVVDJHIUDPHW\SH 352),%86DGGUHVV6ORWDQG($DGGUHVV
PHVVDJHIUDPH
0'01B'5,9(B/2*,.B$''5(66>Q@
VWPDFKLQHD[LV
QGPDFKLQHD[LV 352),%86DGGU
$[LV6ORW($$GU
$[LV6ORW($$GU
0'01B'5,9(B7(/(*5$0B7<3>Q@
PHVVDJHIUDPHW\SH
VWPDFKLQHD[LV
QGPDFKLQHD[LV
352),%86'3
&\FOLFPHVVDJHIUDPH
3.:3=' 3.:3='
+HDGHU $[LV $[LV 7UDLOHU
'ULYH$ 'ULYH%
'36ODYH8
352),%86DGGUHVVPHVVDJHIUDPH
352),%86DGGU
PHVVDJHIUDPH
$[LV'ULYH$
$[LV'ULYH%
Figure 8-23 Dependencies: NC, PLC/DP master and DP slave (SIMODRIVE 611 universal)
① NC
The NC writes/reads the axis data to the corresponding I/O area of the PLC/DP master on
the basis of the I/O addresses entered in the following machine data and the message frame
type of the machine axis:
● MD13050 $MN_DRIVE_LOGIK_ADDRESS[ n ]
● MD13060 $MN_DRIVE_TELEGRAM_TYPE[n]
1. Machine axis: I/O address 4100
Message frame type 102
2. Machine axis: I/O address 4140
Message frame type 102
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 303
PROFIBUS DP Communication
8.10 DP slave SIMODRIVE drives
For configuring the drive within the framework of the NC commissioning, please refer to
Subsection "Drive configuration" (Page 389).
② DP master
The information regarding the individual DP slaves are known to the DP masters from the
PROFIBUS SDB generated from the configuration.
DP master transfers the data to/from the DP slaves in isochronous cycles using the following
information:
● PROFIBUS address 10:
Setpoint: Slot 5, I/O address 4100
Actual value: Slot 6, I/O address 4100
Setpoint: Slot 9, I/O address 4140
Actual value: Slot 10, I/O address 4140
● Message frame type 102
For a 2 axis-closed-loop control module of a SIMODRIVE 611 universal, the following
assignment applies:
● Slot 5/6 => Axis 1 or Drive A
● Slot 9/10 => Axis 2 or Drive B
③ DP slave 611U
DP slave interprets the message frames received from the DP master because of the
message frame type 102 set in the following drive parameters:
● Parameter P0922 (PROFIBUS message frame type selection)
Manual
304 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
PROFIBUS DP Communication
8.11 DP slave diagnostic repeater for PROFIBUS DP
8.11.1 Function
6,180(5,.'LVO
'30DVWHU 3*ZLWK6,0$7,&67(3
6HJPHQW
'LDJQRVWLFV 6WDUW
7RSRORJ\GHWHUPLQDWLRQ
'LDJQRVWLF5HSHDWHUV
6ODYHGLVWDQFH
'LVWDQFHWRIDXOW
'3VODYH
'3VODYH(7 '3VODYH0&3
32602$
'3VODYH8 '3VODYH$',
6HJPHQW 6HJPHQW
A diagnostic repeater can monitor the segment of an RS 485 PROFIBUS subnet (copper
cable) during normal operation and report line faults in a diagnostic message frame to the
DP master. Used together with the SINUMERIK 840Di sl it is possible to display the location
and cause of the fault in plaintext via SIMATIC STEP 7.
Tasks
The diagnostic repeater primarily performs the following tasks:
● Diagnostic function for two PROFIBUS segments (DP2 and DP3):
The diagnostic function supplies the location and causes of cable breakage such as line
faults or missing terminating resistors.
● Repeater function for three PROFIBUS segments (DP1, DP2, DP3):
The Diagnostics Repeater amplifies the data signals on the bus cables and connects
individual RS 485 segments.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 305
PROFIBUS DP Communication
8.11 DP slave diagnostic repeater for PROFIBUS DP
Manual
306 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS) 9
9.1 Requirements
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 307
Drive commissioning (SINAMICS)
9.1 Requirements
DANGER
A hazardous voltage will be present in all components for a further 5 minutes after the
system has been shutdown.
Please follow the instructions on the component!
CAUTION
For safety reasons, Safety Integrated must be commissioned using STARTER in online
mode.
Reason:
The STARTER commissioning tool should only be used to store the safety parameters of a
Safety Integrated monitoring channel within a project. Loading the project into a drive unit
with active safety functions would result in differences in both Safety Integrated monitoring
channels and subsequently in alarms.
Note
Before switching on the drive for the first time, check that the screws of the DC link busbars
are tightened to the specified torque (see SINAMICS S120 Equipment Manual).
Residual risk
A risk assessment enables machine manufacturers to determine the residual risk for their
machine with respect to the drive units. The following residual risks are known:
● Unexpected drive movement from standstill:
Caused, for example, by installation/operational errors or by a malfunction in the higher-
level controller, drive controller, encoder evaluator, or the encoder.
This residual risk can be significantly reduced through the "Safe standstill" safety function
(Safety Integrated).
● Unexpected change in speed/velocity during operation:
Caused, for example, by a malfunction in the higher-level controller, drive controller, or
encoder.
Manual
308 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
6,0$7,&0DQDJHU6,1'LVO
)LOH(GLW,QVHUW7DUJHW6\VWHP9LHZ7RROV:LQGRZ+HOS
1RILOWHU!
6,1'LVO 6,1$0,&6B6
6,0$7,&
3/&'3$-
&3'VO
6,1$0,&6B6B&8
3UHVV)WRRSHQWKHKHOS 7&3,3!5HDOWHN75/
See also
Creating a SIMATIC S7 project (Page 160)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 309
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
Implementation
Perform the following actions for creating the new project and for entering the online
connection data:
1. Start the STARTER drive commissioning tool using the icon on the user interface or the
Windows taskbar Start > SIMATIC > STEP 7 > STARTER.
Close the Project Wizard which may have been opened when starting the STARTER for
creating a new project.
2. Create a new project via the menu item Project > New ... .
3. For inserting the drive unit in the project navigator right-click on the project element Insert
Single drive unit. Thereupon, the menu "Einfügen - SINAMICS" ("Insert - SINAMICS") is
shown.
67$57(53URMHFW
3URMHFW(GLW7DUJHW6\VWHP9LHZ7RROV:LQGRZ+HOS
3URMHFW
,QVHUWLQJDVLQJOHGULYHXQLW
4. Set the corresponding data of the available system in the menu "Insert - SINAMICS" in
the tab "Drive unit/bus address". As an example, the following data is set:
,QVHUW6,1$0,&6
*HQHUDO 'ULYH8QLW%XV$GGUHVV
'HYLFHW\SH 6,1$0,&66&8
'HYLFHYHUVLRQ [
2QOLQHDFFHVV
$GGUHVVW\SH 352),%8686633,
%XVDGGUHVV
6ORW
Manual
310 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
Note
The name "SINAMICS_S120_CU320" given to the drive unit by default can be changed in
the tab "General".
5. The drive unit inserted in the project is now shown in the project structure. For entering
the online data, right-click on the drive unit (in the example "SINAMICS_S120_CU320").
Thereafter, select Target system > online access ... in the context menu that opens. After
this, the menu: "Eigenschaften - Antrieb (online)" ("Properties - Drive (online)") displayed.
67$57(53URMHFW
3URMHFW(GLW7DUJHW6\VWHP9LHZ7RROV:LQGRZ+HOS
3URMHFW
,QVHUWLQJDVLQJOHGULYHXQLW
6,1$0,&6B6B&8
&RQILJXULQJDGULYHXQLW
6XPPDU\
&RQILJXUDWLRQ
7RSRORJ\
&RQWURO8QLW
Figure 9-3 Open the dialog for entering the online data (section)
6. Enter the online data of the drive unit in the menu "Properties - Drive (online)".
3URSHUWLHV'ULYHRQOLQH
*HQHUDO 0RGXOH$GGUHVVHV
5DFN
6ORW
'HVWLQDWLRQVWDWLRQ /RFDO
7REHDFFHVVHGYLDJDWHZD\
&RQQHFWLRQWRGHVWLQDWLRQVWDWLRQ *DWHZD\
7\SH $GGUHVV 66XEQHW,' 7\SH $GGUHVV
352),%86 ,3
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 311
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
NOTICE
STARTER on the PCU of the SINUMERIK 840Di sl
If the STARTER is running on the PCU of the SINUMERIK 840 Di sl, at least one
Ethernet network of the PCU must be active. If no Ethernet network is active, the
Ethernet communication of the STARTER cannot be routed to the drive unit. The
specification of the IP address of the local host (127.0.0.1) is not possible with the
current version of the STARTER.
Note
Several drive units
If several drive units are available in a system, the actions 3 to 6 must be executed again
for each further drive unit.
For automatic detection of the component topology and the configuration, continue with the
Section Drive unit: Enter component topology and configuration automatically. (Page 316)
Manual
312 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
Implementation
Perform the following actions to create a new project:
1. Start the STARTER drive commissioning tool using the icon on the user interface or the
Windows taskbar Start > SIMATIC > STEP 7 > STARTER.
If the Project Wizard for creating a new project is not opened automatically when initiating
the STARTER, open it using menu command Project > New with wizard.
Continue via "Search drive unit online" button.
67$57(53URMHFW:L]DUG
,QWURGXFWLRQ &UHDWHD 6HW3*3& ,QVHUW 6XPPDU\
QHZSURMHFW LQWHUIDFH GULYH
GHYLFH
&RPSLOH
GULYHXQLWVRIIOLQH
)LQGGULYHXQLWV
RQOLQH
2SHQH[LVWLQJSURMHFW
RIIOLQH
'LVSOD\:L]DUGDWVWDUWದXS
&DQFHO
2. Enter the desired project data. You can enter any of the data.
Then click the "Continue >" button:
67$57(53URMHFW:L]DUG
,QWURGXFWLRQ &UHDWHD 6HW3*3& ,QVHUW 6XPPDU\
QHZSURMHFW LQWHUIDFH GULYH
GHYLFH
3OHDVHHQWHUWKHGHVLUHGSURMHFWGDWD
3URMHFWQDPH 3URMHFW_
$XWKRU
&RPPHQW
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 313
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
3. Set the PG/PC interface if required and test whether all SINAMICS drive units connected
to the PROFIBUS which are to be commissioned as part of this project are accessible via
the PG/PC interface. To go to the corresponding dialog box, click the "Change and
test...." button.
Note
The stations accessible via the PG/PC interface are displayed in the SIMATIC NET
diagnostic screen.
67$57(53URMHFW:L]DUG
,QWURGXFWLRQ &UHDWHD 6HW3*3& ,QVHUW 6XPPDU\
QHZSURMHFW LQWHUIDFH GULYH
GHYLFH
6SHFLI\WKHRQOLQHFRQQHFWLRQWRWKHGULYHXQLW
&KDQJHDQGWHVW
67$57(53URMHFW:L]DUG
,QWURGXFWLRQ &UHDWHD 6HW3*3& ,QVHUW 6XPPDU\
QHZSURMHFW LQWHUIDFH GULYH
GHYLFH
3UHYLHZ
3URMHFW
'ULYHB8QLWB$GGU
5HIUHVK
YLHZ
Manual
314 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
Note
Only Control Units are located when searching for SINAMICS drive units. All of the other
available components of a drive unit (infeed, motor module, etc.) are not taken into
account at this stage.
5. You have now created the project. The Project Wizard then displays a summary of
project data.
Located drive units are displayed in the preview. In the example, a drive unit
"Drive_Unit_Addr10" has been located.
Then click the "Finish" button.
67$57(53URMHFW:L]DUG
,QWURGXFWLRQ &UHDWHD 6HW3*3& ,QVHUW 6XPPDU\
QHZSURMHFW LQWHUIDFH GULYH
GHYLFH
7KHIROORZLQJVHWWLQJVKDYHEHHQVHOHFWHG
ದ3URMHFWQDPH3URMHFW
ದ/RFDWLRQ&?6,(0(16?6WHS?6SURM
ದ,QWHUIDFH&3352),%86
ದ'ULYHXQLWV
'ULYHB8QLWB$GGU6,1$0,&6B6$GGU
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 315
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
Requirement
The following example format illustrates the configuration of a drive unit:
● Control Unit: CU320
● Infeed: Active Line Module (ALM)
● Power module 1: Single Motor Module (SMM)
● Power module 2: Double Motor Module (DMM)
● Sensor module 1-3: Sensor Module Cabinet (SMC)
● Motor 1-3: Standard motor without DRIVE-CliQ connection
60&
0RWRUB
;
&8 $/0 600 '00
;
;
60&
; 0RWRUB
;
;
; ; ;
;
; ; ;
'ULYH&OL4FRQQHFWLRQ
Note
The following actions refer to recording of the component topology online and configuring
a drive unit. If there are several drive units in a project, you must perform the actions for
each additional drive unit.
Implementation
Perform the following actions:
1. To create the online connection, select the corresponding drive unit in the project
navigator (1) and click the "Connect to target system" button (2).
67$57(53URMHFW
3URMHFW(GLW7DUJHW6\VWHP9LHZ7RROV:LQGRZ+HOS
3URMHFW
$GGLQGLYLGXDOGULYH
'ULYHB8QLWB$GGU
Manual
316 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
2. After the online connection to the drive unit has been established, click the "Restore
factory settings" button:
67$57(53URMHFW
3URMHFW(GLW7DUJHW6\VWHP9LHZ7RROV:LQGRZ+HOS
3URMHFW
$GGLQGLYLGXDOGULYH
'ULYHB8QLWB$GGU
67$57(53URMHFW
3URMHFW(GLW7DUJHW6\VWHP9LHZ7RROV:LQGRZ+HOS
3URMHFW
$GGLQGLYLGXDOGULYH
'ULYHB8QLWB$GGU
$XWRPDWLFFRQILJXUDWLRQ
2YHUYLHZ
&RQILJXUDWLRQ
7RSRORJ\
2. In the next dialog box "Automatic configuration", click on the "Start automatic
configuration" button.
Select the Servo type in the next dialog box "Drive object type" and click on the "Finish"
button.
The following note lists the drives that require offline motor configuration because the
corresponding data cannot be determined online. Confirm with OK.
Note:
Motors with DRIVE CliQ interfaces do not require subsequent offline configuration as the
appropriate parameters can be determined online by the STARTER.
3. To close, click the "Close" button in the "Automatic Configuration" dialog.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 317
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
4. Go offline before configuring the motors and encoder (see next section). Click the
"Disconnect from Target System" button.
67$57(53URMHNW
3URMHFW(GLW7DUJHW6\VWHP9LHZ7RROV:LQGRZ+HOS
3URMHFW
$GGLQGLYLGXDOGULYH
'ULYHB8QLWB$GGU
$XWRPDWLFFRQILJXUDWLRQ
2YHUYLHZ
&RQILJXUDWLRQ
7RSRORJ\
&RQWUROB8QLW
,QIHHG
,QSXW2XWSXWFRPSRQHQWV
'ULYHV
,QVHUWLQJGULYHV
'ULYHB
'ULYHB
'ULYHB
Implementation
Perform the following actions for of the drive units (Drive_1..._3) for all drives:
1. In the project navigator open Project > Drive unit_Adr10 > Drives> <Drive> and double-
click on "Drive Navigator".
67$57(53URMHFW
3URMHFW(GLW7DUJHW6\VWHP9LHZ7RROV:LQGRZ+HOS
,QIHHG
,QSXW2XWSXWFRPSRQHQWV
'ULYHV
,QVHUWLQJGULYHV
'ULYHB
'ULYH1DYLJDWRU
&RQILJXUDWLRQ
&RQWURO/RJLFN
Manual
318 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
2. Then in the Drive Navigator dialog box, click the "Device configuration" button and in the
Device Configuration dialog box the "Configure the drive" button.
Run through the following dialogs for configuring the drive unit using the "Continue"
button without making any changes until you reach the motor dialog.
3. Enter a unique name for the motor in the "Motor name" field in the motor configuration
dialog box (1).
Select the configuration type:
– Select standard motor from list (2)
– Direct entry of motor data
&RQILJXUDWLRQದ'ULYHB8QLWB$GGUದ0RWRU
&OದORRSFQWUVWUXFWXUH 'ULYH'ULYHB''60'6
3RZHUVHFWLRQ
3RZHU8QLW&RQQHFWLRQ &RQILJXUHWKHPRWRU
0RWRU
0RWRU1DPH 0RWRUB
0RWRU+ROGLQJ%UDNH
(QFRGHUV 0RWRUZLWK'5,9(ದ&/L4LQWHUIDFH
3URFHVVGDWDH[FKDQJH 5HDGRXWPRWRUDJDLQ
6XPPDU\
6HOHFWVWDQGDUGPRWRUIURPOLVW
(QWHUPRWRUGDWD
0RWRUW\SH ).V\QFKURQRXVPRWRU
0RWRUVHOHFWLRQOLVW
4. Select the motor type, e.g. 1FK7 synchronous motor (3), from the drop-down list and the
current motor from the corresponding list based on the order number (MLFB) (4).
5. Skip through the following dialogs using the "Next >" button without making any changes
until you reach the encoder dialog.
6. Encoder 1 is activated by default and must be configured. Encoders 2 and 3 are optional.
Select the configuration type:
– Select motor encoder from list (1)
– Enter data
Select the current encoder from the list based on the order number (MLFB) (2).
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 319
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
&RQILJXUDWLRQದ'ULYHB8QLWB$GGUದ(QFRGHU
&OದORRSFQWUVWUXFWXUH 'ULYH'ULYHB''60'6
3RZHUVHFWLRQ
:KLFKHQFRGHUGR\RXZDQWWRXVH"
3RZHU8QLW&RQQHFWLRQ
0RWRU (QFRGHU (QFRGHU (QFRGHU
0RWRU+ROGLQJ%UDNH
(QFRGHU (QFRGHU
3URFHVVGDWDH[FKDQJH
6XPPDU\ (QFRGHU1DPH 0RWRUB
6HOHFWPRWRUHQFRGHUIURPOLVW
(QWHUGDWD (QFRGHUGDWD
0RWRUHQFRGHUVHOHFWLRQOLVW
7\SH2UGHUQR (QFRGHU 5HVROXWLRQ &RGH
6LQ&RVLQFU
$EVROXWH(Q'DW
$EVROXWH(Q'DW
$EVROXWH(Q'DW
5HVROYHU
5HVROYHU
&RQILJXUDWLRQದ'ULYHB8QLWB$GGUದ3URFHVVGDWDH[FKDQJH352),%86'ULYH
&OದORRSFQWUVWUXFWXUH 'ULYH'ULYHB''6
3RZHUVHFWLRQ
3RZHU8QLW&RQQHFWLRQ 6HOHFWDV352),%86PHVVDJHIUDPHW\SH
0RWRU
0RWRU+ROGLQJ%UDNH
352),%863'$PHVVDJHIUDPH 6,(0(16PHVVDJHIUDPH
(QFRGHUV
3URFHVVGDWDH[FKDQJH
6XPPDU\
/HQJWK
,QSXWGDWDZRUGV
2XWSXWGDWDZRUGV
Manual
320 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
Implementation
Perform the following actions:
1. In the project navigator, open Project > Drive unit_Adr10 > Control_Unit > Communication
and double-click on "PROFIBUS".
2. Select from the list: "Message frame selection": "Free message frame configuration with
BICO (999)"
352),%86UHFHLYHGLUHFWLRQ 352),%86VHQGGLUHFWLRQ
+LGHLQDFWLYHLQWHUFRQQHFWLRQV
)UHHPHVVDJHIUDPHFRQILJXUDWLRQZLWK%,&2
&ORVH +HOS
&RQWUROB8QLW
Implementation
Perform the following actions:
1. In the project navigator, open Project > Drive unit_Adr10 > Infeed > Communication and
double-click on "PROFIBUS".
2. Select from the list: "Message frame selection": "Free message frame configuration with
BICO (999)"
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 321
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
Implementation
Perform the following actions for each drive unit:
1. Open the topology tree via Project navigator > Any drive > Drive navigator (double-click)
> Dialog > Device configuration" > "Check topology" button.
'HYLFHFRQILJXUDWLRQ
:KDWGR\RXZDQWWRGR"
&RQILJXUH &KHFNWRSRORJ\
WKHGULYH
2. Compare the DRIVE-CliQ topology displayed in the STARTER with the topology of the
drive unit.
The following rules must be observed with regard to the DRIVE-CliQ interconnection of
the components:
– The DRIVE-CLiQ cable from the Control Unit to the first power module must be
connected to interface X200.
– The DRIVE-CLiQ connections between each of the power modules should be
connected from interface X201 to X200 on the next component.
– The motor encoder must be connected to the associated Motor Module:
Manual
322 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
60&
0RWRUB
;
&8 $/0 600 '00
;
; 60&
;
; 0RWRUB
;
; ; ;
;
; ; ;
; ; ; 60&
0RWRUB
;
The corresponding DRIVE-CliQ topology in the STARTER must appear as follows:
7RSRORJ\WUHH
&RQWUROB8QLW
,QIHHG,QIHHG
8QDVVLJQHG
8QDVVLJQHG
'ULYHB3RZHUB0RGXOHB
>'ULYHB_'ULYHB@3RZHUB0RGXOHB_
8QDVVLJQHG
'ULYHB60BWRB0RWRUB
'ULYHB60BWRB0RWRUB
'ULYHB60BWRB0RWRUB
8QDVVLJQHG
8QDVVLJQHG
8QDVVLJQHG
&RPSRQHQWIROGHU
8QDVVLJQHG
)LOWHU '5,9(&OL42SWLRQ6ORW
Note
Differences must be corrected manually. Click the appropriate component then, keeping the
left-hand mouse button depressed, drag it to the correct connection. If the connection is
already assigned, you can use a free connection in the topology or the component folder as
a buffer.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 323
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
Implementation
Perform the following actions for each drive unit:
1. To open the PROFIBUS message frame configuration in the project navigator, double-
click on Project > Drive unit_Adr10 > Configuration.
2. Move the drive objects using the buttons (1) according to the guidelines specified above.
&RQILJXULQJDPHVVDJHIUDPHLQ+:&RQILJ
'3VODYHSURSHUWLHV
3UHDVVLJQPHQW
2EMHFW 0HVVDJHIUDPHVHOHFWLRQ 2SWLRQ
0HVVDJHIUDPH3'$ದ
0HVVDJHIUDPH3'$ದ
0HVVDJHIUDPH3'$ದ
2YHUYLHZ 'HWDLOV
&RQILJXULQJDPHVVDJHIUDPHLQ67$57(5
352),%86PHVVDJHIUDPH 9HUVLRQRYHUYLHZ
7KHGULYHREMHFWVDUHSURYLGHGZLWKGDWDIURPWKH352),%86PHVVDJHIUDPHLQWKHIROORZLQJRUGHU
&ORVH +HOS
'ULYHB8QLWB$GGU
Manual
324 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
Implementation
Perform the following actions:
1. To open the control logic configuration in the Project Navigator, double-click Project >
Drive unit_Adr10 > Control Unit > Control Logic.
2. Click on the binector input icon of Signal "p2103 BI: 1. Acknowledge Errors" and select
from the "Drive_1 > Other interconnections > r2090: Bit7, BO: PROFIBUS PDA1 receive
bit-serial" list.
&RQWURO/RJLF
2SWLPL]HYLHZ
&RQWUROZRUGIDXOWVDODUPV 6WDWXVZRUGIDXOWVDODUPV
S%,$FNQRZOHGJHIDXOWV U%LW$FNQRZOHGJHPHQWUXQQLQJ
$QWULHEBU%LW%2352),%
S%,$FNQRZOHGJHIDXOWV
S%,$FNQRZOHGJHIDXOWV
LVLQWHUFRQQHFWHGZLWK
'ULYHBU%LW%2352),%863'$UHFHLYHELWVHULDO%LW 2XW ,Q
S%,$FNQRZOHGJHIDXOWV
U%LW,QWHUQDO0HVVDJHDFWLYH
S%,([WHUQDODODUP
U%LW$ODUPDFWLYH
&ORVH +HOS
&RQWUROB8QLW
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 325
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
Implementation
Perform the following actions:
1. To open the terminal configuration in the project navigator double-click on. Project > Drive
unit_Adr10 > Control Unit > Inputs/outputs.
2. In the "Bidirectional digital inputs/outputs" tab (1), change the status for terminal X132.7
to "Output" (2)
3. Click the binector input icon of terminal X132.7, DO12 (3) and select the signal: Infeed
"r863: Bit0, ... Infeed operation" (4).
,QSXW
'2
&RQWUROB8QLW
'ULYHB
'ULYHB
'ULYHB
+HOS
,QIHHG
U%LW%20DVWHUFRQWURODFWLYH0DVWHUFRQWURODFWLYH <HV 1R
U%LW&2%2'ULYHFRXSOLQJVWDWXVFRQWUROZRUG,QIHHGRSHUDWLRQ <HV 1R
U%LW&2%2'ULYHFRXSOLQJVWDWXVFRQWUROZRUG&RQWUROOLQHFRQWDFWRU <HV 1R
Manual
326 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
9.2.11 Control Unit: Output "Infeed ready for activation" (BICO interconnection) signal
To output the "Infeed ready to start" signal at terminal X132.8 of the Control Unit, parameter:
"r899, Bit 0" of the infeed must be connected to parameter: "p743" of the Control Unit via
BICO interconnection and terminal X132.8 of the control unit must be parameterized as
DO13 output:
● Infeed: r899 Bit 0: Ready to power up
● Control Unit: p743, BI: CU signal source for terminal DI/DO 13
Implementation
Perform the following actions:
1. To open the terminal configuration in the project navigator double-click on. Project > Drive
unit_Adr10 > Control Unit > Inputs/outputs.
2. In the "Bidirectional digital inputs/outputs" tab (1), change the status for terminal X132.8
to "Output" (2)
3. Click the binector input icon of terminal X132.8, DO13 (3) and select the signal: Infeed
"r899: Bit0, ... Infeed ready to start" (4).
'LJLWDOLQSXWV%LGLUHFWLRQDOGLJLWDOLQSXWVRXWSXWV0HDVXULQJVRFNHWV
,QYHUWRXWSXW
;
2XWSXW
'2
,QIHHGU%LW&2%2
2XWSXW
'2
&RQWUROB8QLW
'ULYHB +HOS
'ULYHB
,QIHHG &RQWUROB8QLW
'ULYHB
,QIHHG
)XUWKHULQWHUFRQQHFWLRQV
U%LW&2%26WDWXVZRUGVHTXHQFHFRQWUROLQIHHG5HDG\IRURSHUDWLRQ <HV 1R
U%LW&2%26WDWXVZRUGVHTXHQFHFRQWUROLQIHHG5HDG\WRVWDUW <HV 1R
U%LW&2%2'ULYHFRXSOLQJVWDWXVFRQWUROZRUG&RQWUROOLQHFRQWDFWRU <HV 1R
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 327
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
Implementation
Perform the following actions:
1. To open the control logic configuration in the Project Navigator, double-click Project >
Drive unit_Adr10 > Infeeds > Infeed > Control logic.
2. Click on the binector input icon of Signal "p2103[0] BI: 1. Acknowledge Errors" and select
from the "Drive_1 > Other interconnections > r2090: Bit7, BO: PROFIBUS PDA1 receive
bit-serial" list.
&RQWURO/RJLF
2SWLPL]HYLHZ
&RQWUROZRUGVHTXHQWLDOFRQWUROLQIHHG &RQWUROZRUGIDXOWVDODUPV
S>@%,212)) U>@%,$FNQRZOHGJHIDXOWV
'ULYHBU%LW%2352),%
S%,$FNQRZOHGJHIDXOWV
LVLQWHUFRQQHFWHGZLWK
S>@%,2))
'ULYHBU%LW%2352),%863'$UHFHLYHELWದVHULDO%LW 2XW ,Q
U>@%,$FNQRZOHGJHIDXOWV
S>@%,2))
&ORVH+HOS
,QIHHG
Manual
328 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
Note
With reference to SIMODRIVE drives this corresponds to the effect of digital input X122.1
on terminal 63 (pulse enable).
Implementation
Perform the following actions:
1. To open the control logic configuration in the Project Navigator, double-click Project/
Drive unit_Adr10/Infeeds/ Infeed/Control logic.
2. Click on the binector input icon of Signal "p840[0] BI: ON/OFF1" and select from the list
Control_Unit > Other interconnections > r722: Bit0, CO/BO: CU digital inputs, status: :DI 0
(X122.1)
&RQWURO/RJLF
2SWLPL]HYLHZ
&RQWUROZRUGVHTXHQWLDOFRQWUROLQIHHG &RQWUROZRUGIDXOWVDODUPV
U>@%,$FNQRZOHGJHIDXOWV
S>@%,212))
'ULYHBU%LW%2352),%
&RQWURO8QLWU%LW&2%2&8'L
U>@%,$FNQRZOHGJHIDXOWV
S>@
S>@
S>@%,212))
LVLQWHUFRQQHFWHGZLWK
&RQWUROB8QLWU%LW&2%2&8GLJLWDOLQSXWVVWDWXV',; /RZ +LJK
&ORVH +HOS
,QIHHG
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 329
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
Implementation
Perform the following actions for each drive:
1. To open the control logic configuration in the Project Navigator, double-click Project >
Drive unit_Adr10 > Drives > Drive > Control logic.
2. Click on the binector input icon of Signal "p845[0] BI: 2. OFF2" and select from the list
"Control_Unit > Other interconnections > r722: Bit1, CO/BO: CU digital inputs, status: :DI
1 (X122.2) (0=Low/1=High)".
&RQWURO/RJLF
2SWLPL]HYLHZ
&RQWUROZRUGIRUWKHVHTXHQFHFRQWURO &RQWUROZRUGIDXOWVDODUPV
U>@%,$FNQRZOHGJHIDXOWV
S>@%,2)) U%LW%2352),%863'$UHF
U%LW%2352),%863='UHF
U>@%,$FNQRZOHGJHIDXOWV
S>@%,2))
&RQWUROB8QLWU%LW&2%2&8'L
U>@%,$FNQRZOHGJHIDXOWV
S>@%,2))
LVLQWHUFRQQHFWHGZLWK
&RQWUROB8QLWU%LW&2%2&8GLJLWDOLQSXWVVWDWXV',; /RZ +LJK
&ORVH+HOS
'ULYHB
Manual
330 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
Implementation
Perform the following actions for each drive unit:
1. Access the drive unit with the PG/PC online.
2. Now load the project data into the drive unit: Right-click on Drive unit_Adr10 > Target unit
> Load to target system... in the project navigator.
3. Save the project data in the drive unit on the CF card: Click on Drive unit_Adr10 > Target
unit > Copy RAM to ROM... in the project navigator.
Note
For more information about the operator control panel: see SINAMICS S120 Getting Started
with the STARTER Commissioning Tool.
For more information about line/DC-link identification, see SINAMICS S120 Function
Manual.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 331
Drive commissioning (SINAMICS)
9.2 ONLINE commissioning
General
It is recommended that you use or check the corresponding settings for the parameters listed
in the table.
Manual
332 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.3 Example for systems with more than 6 drives
9.3.1 Configuration
One control unit CU 320 can control max. 6 drives in "Servo" mode. The following example
shows which drive components are required and how they are interconnected to operate
more than 6 drives in one configuration.
Requirement:
● Control of 9 drives in "Servo" mode.
Components used:
● 1. Control Unit: CU320 (Control_Unit_1)
● 2. Control Unit: CU320 (Control_Unit_2)
● Infeed: Active Line Module (ALM)
● Power module 1: Single Motor Module (SMM), (Drive_1)
● Power module 2: Double Motor Module (DMM), (Drive_2 and Drive_3)
● Power module 3: Double Motor Module (DMM), (Drive_4 and Drive_5)
● Power module 4: Double Motor Module (DMM), (Drive_6 and Drive_7)
● Power module 5: Double Motor Module (DMM), (Drive_8 and Drive_9)
● Sensor module 1-9: Sensor Module Cabinets (SMC) (not shown)
● Motor 1-9: Standard motor without DRIVE-CliQ connection (not shown)
'5,9(ದ&/L4FRQQHFWLRQWR
HDFKVHQVRUPRGXOH
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 333
Drive commissioning (SINAMICS)
9.3 Example for systems with more than 6 drives
Creating a project
The project should be created according to the description in Chapter "ONLINE-
Startup" (Page 309). Both drive units must be displayed in the preview window.
67$57(53URMHNWDVVLVWHQW
9RUVFKDX
3URMHNW
$QWULHEVJHU¦WB$GU
$QWULHEVJHU¦WB$GU $QVLFKW
DNWXDOLVLHUHQ
Component topology
The automatic entry of the component topology and configuration is to be done according to
Chapter "Drive unit: Enter component topology and configuration automatically" (Page 316)
for each drive unit.
Commissioning
The startup of the drive components is to be undertaken according to the Chapter "Drive:
Configuring motors and encoders" (Page 318) given above to Chapter "Drive: Running the
motor" (Page 331).
Infeed: operation
The parameter "p864, BI: Infeed operation" of all drives is to be connected with the
corresponding signal of infeed "r863: Bit0, infeed operation".
● Control_Unit_1
Drives controlled by Control_Unit_1 (Drive_1..._5) are interconnected automatically.
● Control_Unit_2
Drives controlled by Control_Unit_2 (Drive_6..._9) must be manually interconnected (see
the following chapter).
Manual
334 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.3 Example for systems with more than 6 drives
General procedure
In order to use the infeed signal for the drives controlled by Control_Unit_2, it must be
transferred via an external interconnection from an output terminal of Control_Unit_1 to an
input terminal of Control_Unit_2.
Implementation
The following input/output terminals of the control units are used as an example for the
following description:
● Control_Unit_1: p738, BI: CU signal source for terminal DI/DO 8 (X122.7)
● Control_Unit_2: r722: Bit0. CO/BO: CU digital inputs, status: :DI 0 (X122.1)
Perform the following actions to interconnect the drive parameters with the infeed signal:
1. Connect via BICO interconnection the infeed signal "r863: Bit0, Infeed operation", Project
> Drive unit_Adr10 > Infeeds > Infeed > Diagnosis > Connections > Tab "BO/CO" >
Signal: "r863: Bit0, Infeed operation" with the parameter for the output terminal (X122.7)
of the Control_Unit_1 "p738, BI: CU signal source for terminal DI/DO 8"
%,&, %2&2
U%LW,QIHHGRSHUDWLRQ &RQWUROB8QLWBS%L&8VLJQDOVRXUFHIRUWHUPLQDO
U%LW&RQWUROOLQHFRQWDFWRU &RQWUROB8QLWB S%L&8VLJQDOVRXUFHIRUWHUPLQDO','2
'ULYHB S%L&8VLJQDOVRXUFHIRUWHUPLQDO','2
U%LW212))
'ULYHB S%L&8VLJQDOVRXUFHIRUWHUPLQDO','2
U%LW212)) 'ULYHB S%L&8VLJQDOVRXUFHIRUWHUPLQDO','2
'ULYHB S%L&8VLJQDOVRXUFHIRUWHUPLQDO','2
U%LW(QDEOHRSHUDWLRQ
'ULYHB S%L&8VLJQDOVRXUFHIRUWHUPLQDO','2
U%LW,QKLELWPRWRULQJRSHUDWLRQ ,QIHHG S%L&8VLJQDOVRXUFHIRUWHUPLQDO','2
)XUWKHULQWHUFRQQHFWLRQV S%L&8VLJQDOVRXUFHIRUWHUPLQDO','2
U%LW,QKLELWJHQHUDWRURSHUDWLRQ
)XUWKHULQWHUFRQQHFWLRQV
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 335
Drive commissioning (SINAMICS)
9.3 Example for systems with more than 6 drives
0
3. Via a BICO interconnection, connect to Control_Unit_2 the parameter "r722: Bit0. CO/BO:
CU digital inputs, status: :DI 0" of the input terminal: "DI 0" (X122.1), Project > Drive
unit_Adr10 > Control_Unit_1 > Double-click on "inputs/outputs" > Tab "Digital inputs" >
Digital input 0 (1) for all drives of Control_Unit_2 with the parameter "p864, BI: Infeed
operation (2).
4. Connect the output terminal "DO 8" (X122.7) of Control_Unit_1 to the input terminal "DI 0"
(X122.1) of Control_Unit_2 via an external interconnection.
5. The output terminal of Control_Unit_1 must be wired to an input terminal of
Control_Unit_2.
6. The input terminal of Control_Unit_2 is to be connected via the BICO interconnection with
the driver parameters "p864 BI: Infeed operation" to all the drives of Control_Unit_2.
7. There is no DRIVE CliQ connection between the infeed and Control_Unit_2.
Manual
336 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.4 Further terminal assignments
Note
The further terminal assignments should only be considered as recommendations that can
be adapted to the requirements of the actual automation system.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 337
Drive commissioning (SINAMICS)
9.4 Further terminal assignments
Manual
338 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.4 Further terminal assignments
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 339
Drive commissioning (SINAMICS)
9.4 Further terminal assignments
Note
The interconnection proposal refers to the terminal assignment proposals made in the
previous sections.
,QIHHGZLWK'5,9(&/L4FRQQHFWLRQ
2XWSXW;SPXVWEHFRQQHFWHGWRSDUDPHWHUU
Manual
340 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.4 Further terminal assignments
&8 3/&
,QSXW
,QIHHGUHDG\WRVWDUW 2XWSXW
U ;
:LWKRXW3/&ORJLF
-XPSHU!!
,QSXW 2XWSXW
2))
;
2XWSXW
(QDEOHVYLDWKH3/&XVHUSURJUDP
,QSXW (0(5*(1&<6723
2))
; 6DIHW\UHOD\ ,QSXW
RU
2XWSXW
RU
9
/LQHFRQWDFWRUFRQWURO 2XWSXW
U ;
1RWH /LQHFRQWDFWRU
%,&2LQWHUFRQQHFWLRQRI
WKHOLQHFRQWDFWRUFRQWUROLQ
DFFRUGDQFHZLWKWKH
WHUPLQDOGLDJUDPUHTXLUHG
,QSXW
/LQHFRQWDFWRU
IHHGEDFNVLJQDO ;
2XWSXW ,QSXW
,QIHHGRSHUDWLRQ
U ;
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 341
Drive commissioning (SINAMICS)
9.5 Basic principles
Requirements
This procedure requires a functional project and a CF card with the new firmware.
Implementation
Perform the following actions to upgrade the firmware:
1. Create a network link between the PG/PC and the drive unit.
2. Access the drive unit with the PG/PC online and load the current project into the PG/PC
from the drive unit.
3. Save the project with a new project name by selecting "Save As..." and close the old
project.
4. Click the drive unit in the project view to convert the project to the new version and select
"Target system" > "Device version..." (1) from the menu.
Select the version to which the project should be upgraded (2) and start the conversion
process using the button "Change version" (3).
67$57(53URMHFW
3URMHFW(GLW7DUJHW6\VWHP9LHZ7RROV:LQGRZ+HOS
'HYLFHYHUVLRQ
&XUUHQWYHUVLRQ
6,1$0,&669[ &ORVH
3URMHFW $YDLODEOHYHUVLRQV
6,1$0,&669[ &KDQJLQJYHUVLRQV
$GGLQGLYLGXDOGULYH
'ULYHB8QLWB$GGU 6,1$0,&669[
2YHUYLHZ 6,1$0,&669[
2SHQFRQILJXUDWLRQ
7RSRORJ\
,QVHUWQHZREMHFW
2SHQ+:FRQILJXUDWLRQ
&XW
&RS\
3DVWH
'HOHWH
5HQDPH
7DUJHWGHYLFH &RS\IURP5$0WR520
([SHUW /RDGWRWDUJHWV\VWHP
3ULQW /RDGWR3*
3ULQW3UHYLHZ 5HVWRULQJWKHIDFWRU\VHWWLQJV
3URSHUWLHV 2QOLQHDFFHVV
'HYLFHYHUVLRQ
5. Switch off the Control Unit and insert the CF card with the new firmware version. Then
switch the Control Unit on again.
Manual
342 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SINAMICS)
9.5 Basic principles
6. Go online once again with the PG/PC and load the converted project into the drive by
selecting "Load to target system".
The first time the project is loaded into the drive it will perform internal calculations. To
revert to the current view of the project, select "Load to PG" immediately after "Load to
target system".
The firmware and project on the Control Unit are now upgraded.
7. If the CF card contains later firmware versions for the components (infeed, Motor Module,
etc.) you must now upgrade these as well. To do this, open the device unit in the project
view and double-click "Configuration" (1).
8. Select the "Version overview" (2) tab from the configuration view and click on the
"Firmware update" (3) button.
Click the "Select all" (4) button to upgrade all components, followed by the "Start firmware
update" (5) button.
Note
The drive recognizes whether the CF card contains a later firmware version and prevents
an upgrade to an unsupported version.
3URMHFW
$GGLQGLYLGXDOGULYH
'ULYHB8QLWB$GGU 9HUVLRQRYHUYLHZ
$XWRPDWLFFRQILJXUDWLRQ
2YHUYLHZ 6HW ,I
&RQILJXUDWLRQ
1R ):YHUVLRQ 7\SH 2UGHUQR +:YHUVLRQ 6HULHQ1U
7RSRORJ\
$QWULHEBB60BWRB0RWRU 60 6/$$"[[
)LOWHU )LUPZDUHXSGDWH
'5,9(&/L42SWLRQ6ORW 8SGDWHWRSRORJ\
'ULYHB8QLWB$GGU
)LUPZDUHXSGDWH
6HOHFWDOO 6WDUWILUPZDUHXSGDWH
5
&ORVH +HOS
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 343
Drive commissioning (SINAMICS)
9.5 Basic principles
Manual
344 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SIMODRIVE)
The Chapter "Drive Commissioning (SIMODRIVE)" describes the preconditions of
10
SINUMERIK 840Di sl for optimum commissioning of the drives in terms of material and cost.
It is not the section's objective to explain in detail how a drive is commissioned. For
commissioning of the drive, please refer to the relevant drive documentation.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 345
Drive commissioning (SIMODRIVE)
10.1 SIMODRIVE 611 universal/E, POSMO CD/CA and SI
First commissioning
A first commissioning must only be carried out if no matching parameter record is available
for the drive in the form of the parameter file.
Possible procedures
The possible ways of commissioning a drive are:
● Using a display and operator unit directly on the drive (611U/E only)
● Using SimoCom U:
1. SimoCom U is installed on any PG/PC with a serial interface and is direct connected to
the corresponding drive using a RS-232 cable.
2. SimoCom U is installed on any PG/PC with a PROFIBUS DP interface and connected to
all drives using a PROFIBUS cable:
– PG 740 or PCU 50 with integrated PROFIBUS DP interface
– Standard PC with CPU module, e.g. CP 5611
3. SimoCom U is installed on the SINUMERIK 840Disl and is routed from the PLC to the
PROFIBUS. Via the PROFIBUS DP interface of the MCI board, SimoCom U is connected
to all drives using a PROFIBUS cable.
Manual
346 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SIMODRIVE)
10.1 SIMODRIVE 611 universal/E, POSMO CD/CA and SI
Recommended procedure
Within the framework of SINUMERIK 840Di sl, the procedure described in Point 3 is
recommended:
The advantages of this procedure are:
● SimoCom U is always available for:
– Commissioning
– Diagnostics
– Controller - Tuning
– SW upgrading of drive firmware
– SW upgrading of firmware optional module
● No additional PG/PC required
● No additional cables required
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 347
Drive commissioning (SIMODRIVE)
10.1 SIMODRIVE 611 universal/E, POSMO CD/CA and SI
Display
+ P - Control unit
Requirements
The precondition for setting the PROFIBUS address on the control unit is that no faults or
warnings are displayed.
If faults or warnings are displayed (display: E_xxxx), press the "-" key to switch from the
alarm mode to parameterization mode.
Sequence of operations
To set the PROFIBUS address, proceed as follows:
1. Setting the PROFIBUS address (parameter P0918)
– Hold down key "P" longer than 3 seconds.
=> The current value of the parameter P0918 (PROFIBUS address) is displayed.
– Use keys "+" and "-" to set the desired PROFIBUS address.
– Press "P" again to quit the input mode.
2. Saving the PROFIBUS node address in the FEPROM
– Press the "+" or "-" key
=> Parameter P0652 (acceptance into FEPROM) is displayed
– Press "P" again to call the input mode.
– Use the "+" key to change the value to 1 (start writing) and wait until the write process
is acknowledged with 0 on the display.
3. Execute a POWER-ON RESET
– Push the "POWER ON-RESET" button on the front panel of the drive module.
=> After power-up, the set PROFIBUS address is active.
Manual
348 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SIMODRIVE)
10.1 SIMODRIVE 611 universal/E, POSMO CD/CA and SI
References:
For detailed information on commissioning of SIMODRIVE 611 universal drives, refer to:
/FBU/ SIMODRIVE 611 universal function description, Chapter "Parameterization of the
Module", Parameter definition via display and operator unit and Chapter "Settings in
PROFIBUS DP Master", commissioning
6ZLWFKVHWWLQJ
2))
ON=1
7HUPLQDWLRQUHVLVWRUDFWLYH 352),%86DGGUHVV
21 21
UHVHUYHG
7HUPLQDWLQJUHVLVWRU
LQDFWLYH 2)) ([DPSOH352),%86DGGUHVV
21 21
1RWH
7KHYDOLGVHWWDEOHDGGUHVVHVDUHWR
7KHVHWDGGUHVVLVUHDGE\326026,&'&$DQGGLVSOD\HGXVLQJ
3352),%86QRGHDGGUHVV
NOTICE
To set the PROFIBUS address and terminating resistor it is necessary to remove the
PROFIBUS unit.
References:
For detailed information on commissioning of SIMODRIVE POSMO CD/CA and SI universal
drives, refer to:
/POS3/ SIMODRIVE POSMO SI/CD/CA User Manual, Chapter "Connecting the PROFIBUS
unit"
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 349
Drive commissioning (SIMODRIVE)
10.1 SIMODRIVE 611 universal/E, POSMO CD/CA and SI
Parameter assignment
The access interface through which SimoCom U accesses the drives connected to
PROFIBUS by means of routing, must be parameterized as follows:
● Access point of the application
S7ONLINE STEP7 --> SOFTMC
The interface can be parameterized directly from SimoCom U. To do so, proceed as follows:
1. Start SimoCom U via the WINDOWS taskbar:
Start > Programs > SimoComU > SimoComU
2. In SimoCom U, open the interface dialog using the menu command:
Tools > Communication
Dialog: Interface
Radio button: "Route through S7-CPU" ⊙
Button: "Set PG/PC interface..."
Button: "Select..."
Dialog: Install/remove interface
Selection: SOFTMC
Button: "Install-->"
Close
OK
Finally, the routing information must be set in the interface dialog of SimoCom U.
Manual
350 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SIMODRIVE)
10.1 SIMODRIVE 611 universal/E, POSMO CD/CA and SI
Expert mode
The simplest way of setting the following routing information is to use the Experts mode after
resetting the routing information:
● MPI address of the PLC
● PROFIBUS subnet ID
NOTICE
The MPI/DP (X102) interface of the MCI board must be networked for the PLC for
routing on the PROFIBUS. The networking can be undertaken either via MPI or via
PROFIBUS.
Refer to Chapter "Parameterizing the PROFIBUS interface (X102)
(optional)" (Page 167) or Chapter "Parameterizing the MPI interface (X102)
(optional)" (Page 169).
NOTICE
MPI address of the PLC
In SINUMERIK 840Di sl, the routing of the Ethernet connection to the PROFIBUS DP is
provided by the PLC. Therefore, the MPI address of the PLC must be specified as the "MPI
No".
In SINUMERIK 840Di sl, the PLC always has the MPI address 2.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 351
Drive commissioning (SIMODRIVE)
10.1 SIMODRIVE 611 universal/E, POSMO CD/CA and SI
Dialog
Manual
352 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive commissioning (SIMODRIVE)
10.1 SIMODRIVE 611 universal/E, POSMO CD/CA and SI
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 353
Drive commissioning (SIMODRIVE)
10.2 Installing SimoCom U
Installation
SimoCom U is part of the 611U toolbox supplied with the SINUMERIK 840Di sl.
● Installation directory: refer to Chapter "Overview of software components" (Page 31)
Engineering Tools > SIMODRIVE 611 universal toolbox > SimoCom U
To install SimoCom U, start file setup.exe and follow the further installation instructions.
Note
Before you install SimoCom U please consult the relevant notes in the readme.txt file in the
installation directory.
Scope of functions
SimoCom U provides the following functions:
● Make an online connection to the drives
● Upgrade firmware
● Optimize the control parameters
● Traversing axes
● Diagnose the drive status
Online help
After installation, the documentation for SimoCom U is available electronically. Use the menu
command Help in SimoCom U to call information on the topics:
● Short introduction...
● How to Use WINDOWS Help...
● Contents...
● Key Operation...
● Wiring...
● About SimoCom U...
References:
Besides, a detailed description of SimoCom U is available in:
/FBU/ Function Manual SIMODRIVE 611 universal
Manual
354 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced 11
11.1 General procedure
The NC is parameterized for the connected machine by setting system variables.
These system variables are designated as follows:
● Machine data (MD)
● Setting data (SD).
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 355
NC Commissioning with HMI Advanced
11.2 Machine and setting data
Machine data
Machine data are system variables used to adapt the NC to the machine.
Name
The identifier of a machine data is subject to the scheme:
$ M k _IdentifierString
where the following applies:
● $: System variable
● M: Machine data
● k: Component
k identifies the components of the NC parameterizing the appropriate machine data:
● N: NC
● C: Channel
● A: Axis
● D: Drive
● M: MMC
Activation
Activation when referring to a machine data indicates the NC status in which a change to a
machine data becomes active.
Activation categories are:
● POWER ON
● Reconfiguration
● Reset
● Effective immediately.
Setting data
Setting data are system variables that indicate the current machine properties to the NC.
Manual
356 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.2 Machine and setting data
Name
The identifier of a setting data is subject to the scheme:
$ S k _IdentifierString
where the following applies:
● $: System variable
● S: Setting data
● k: Component
k identifies the components of the NC parameterizing the appropriate machine data:
● N: NC
● C: Channel
● A: Axis
Activation
Unlike machine data, changes to setting data always become effective immediately.
Area Description
from 1000 to 1799 Machine data for drives ($MD_....)
from 9000 to 9999 Machine data for operator panel ($MM_....)
from 10000 to 18999 NC-specific machine data ($MN_....)
from 19000 to 19999 Reserved
from 20000 to 28999 Channel-specific machine data ($MC_....)
from 29000 to 29999 Reserved
from 30000 to 38999 Axis-specific machine data ($MA_....)
from 39000 to 39999 Reserved
from 51000 to 61999 General machine data for compile cycles
from 62000 to 62999 Channel-specific machine data for compile cycles
from 63000 to 63999 Axis-specific machine data for compile cycles
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 357
NC Commissioning with HMI Advanced
11.2 Machine and setting data
Area Description
from 41000 to 41999 General setting data ($SN_....)
from 42000 to 42999 Channel-specific setting data ($SC_....)
from 43000 to 43999 Axis-specific setting data ($SA_....)
Data description
For a detailed description of the machine or setting data, please refer to Function Manual of
the function that uses the machine data in question, e.g.:
References:
/FB/ Function Manual - Basic Functions
/FB/ Function Manual - Extended Functions
/FB/ Function Manual - Special Functions
A concise table of all machine and setting data is to be found in:
References:
/LIS/ Lists, Machine- and Setting Data
Note
To search for information regarding machine and setting data, it is recommended to use the
search functions in the electronic documentation of SINUMERIK DOConCD.
Manual
358 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.2 Machine and setting data
NOTICE
For the input of machine data, the protection level 2 password (default "EVENING") has to
be set at the least.
Bit editor
To facilitate the input of machine data in the bit format (HEX), a bit editor is provided.
If the input cursor is on a machine data in HEX format in the MD list, you can call up the
editor by pressing the toggle key (in the middle of the cursor keys).
Figure 11-1 Input screen form of the bit editor for HEX machine data
You can set or reset single bits by clicking them with the mouse or by selecting them with the
cursor keys and then pressing the toggle key.
● With the softkey OK, you can terminate the bit editor and accept the value set.
● With the softkey Abort, you can quit the bit editor and discard the value set. The previous
setting is then valid again.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 359
NC Commissioning with HMI Advanced
11.2 Machine and setting data
Access authorization
Access to programs, data and functions is useroriented and controlled via 8 hierarchical
protection levels. These are divided into (see following table ):
● 4 password levels for Siemens, machine manufacturer and end user
● 4 key switch positions for end user
This provides a multilevel safety concept for controlling access rights.
3URWHFWLRQ
/HYHO 7\SH 8VHUV $FFHVVWRH[DPSOHV
'HFUHDVLQJ
.H\VZLWFK (QGXVHU3URJUDPPHUPDFKLQH /RZHUWKDQSURWHFWLRQOHYHOWR'HILQHG DFFHVVULJKWV
3RV VHWWHU E\PDFKLQHPDQXIDFWXUHURU(QGXVHU
Password Set
For the four possible password levels with their access permissions, the passwords can be
entered in the control area DIAGNOSIS by actuating the softkey SET PASSWORD.
References:
/BAD/ Operating Manual HMI Advanced
Manual
360 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.2 Machine and setting data
Possible characters
Up to eight characters are possible in a password. We recommend that you restrict yourself
to the character set of the operator panel in selecting a password. Where a password
consists of less than eight characters, the additional characters are interpreted as blanks.
Default passwords
The following default passwords have been set for protection levels 1 to 3:
● Protection level 1: SUNRISE
● Protection level 2: EVENING
● Protection level 3: CUSTOMER
NOTICE
A system power-up with loading the default machine data (after "Delete NC data", e.g.
using 840Di Startup) will reset the passwords to the default values.
These passwords should be changed to ensure effective access protection.
Data areas
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 361
NC Commissioning with HMI Advanced
11.2 Machine and setting data
Manual
362 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.2 Machine and setting data
Display filter
To parameterize the display filter of a machine data area, use the vertical softkey Display
options... in the appropriate machine data area.
Example:
Display filter for channel machine data
Operating area: Commissioning -> Machine Data -> Channel MD -> Display Options...
Note
To find out which display group a machine data item belongs to, refer to the display filter
parameter associated with the description of the machine data element in question.
References:
/LIS/ Lists
Display groups
A display group contains machine data within a machine data area that belong to the same
topic.
By selecting/deselecting the display groups, the number of displayed machine data of the
current machine data area increases or decreases.
Expert mode
If the Expert mode display filter is disabled, only the machine data of a machine data range
are displayed that are required for the basic functionality of the NC.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 363
NC Commissioning with HMI Advanced
11.2 Machine and setting data
Manual
364 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.3 System data
11.3.1 Resolutions
Resolutions, e.g. resolutions of linear and angular positions, velocities, accelerations and
jerk, must be differentiated as follows:
● the input resolution, i.e. the input of data from the user interface or using the part
programs.
● the display resolution, i.e. the display of data on the user interface.
● the computational resolution, i.e. the internal representation of the data input through the
user interface or the part program.
Computational resolution
The computational resolution defines the maximum number of effective decimal places for all
data the physical unit of which is referred to a length or an angle, e.g. position values,
velocities, tool offsets, zero offsets, etc.
The desired computational resolution is defined using the machine data:
● MD10200 $MN_INT_INCR_PER_MM (computational resolution for linear positions)
● MD10210 $MN_INT_INCR_PER_ DEG (computational resolution for angular positions)
The default assignment is:
● 1000 increments/mm
● 1000 increments/degrees
The computational resolution thus also determines the maximum achievable precision for
positions and selected offsets. However, it is essential that the measuring system is adapted
to this degree of precision.
Note
Although the computational resolution is generally independent of the input/display
resolution, it should have at least the same resolution.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 365
NC Commissioning with HMI Advanced
11.3 System data
Rounding
The precision of angle and linear positions is limited to the computational resolution by
rounding the product of the programmed value with the computational resolution to an
integer number.
Example of rounding:
Computational resolution: 1000 increments/mm
Programmed path: 97.3786 mm
Effective value = 97.379 mm
Note
To keep rounding easily understandable, it is better to use powers of 10 for the
computational resolution (100, 1000, 10,000).
Display resolution
In MD9004 $MM_DISPLAY_RESOLUTION (display resolution), you can set the number of
decimal places after the decimal point for the position values on the operator panel.
Manual
366 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.3 System data
Machine data
Standard
Machine and setting data having a physical unit are interpreted in the input/output units listed
in the following table by default, depending on the scaling system (metric/inch).
The internally used units which the NC uses are independent and fixed.
Table 11-5 Normalization of phys. units of machine data and setting data
Physical unit Input/output units for the standard scaling system Internally used unit
Metric Inch
Linear position 1 mm 1 inch 1 mm
Angular position 1 degrees 1 degrees 1 degrees
Linear velocity 1 mm/min. 1 inch/min. 1 mm/s
Angular velocity 1 rpm 1 rpm 1 deg./s
Linear acceleration 1 m/s2 1 inch/s2 1 mm/s2
Angular acceleration 1 rev/s2 1 rev/s2 1 degree/s2
Linear jerk 1 m/s3 1 inch/s3 1 mm/s3
Angular jerk 1 rev/s3 1 rev/s3 1 degree/s3
Time 1s 1s 1s
Position controller servo gain 1 s-1 1 s-1 1 s-1
Rev. feedrate 1 mm/rev 1 inch/rev 1 mm/degree
Compensation value linear position 1 mm 1 inch 1 mm
Compensation value angular position 1 degrees 1 degrees 1 degrees
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 367
NC Commissioning with HMI Advanced
11.3 System data
User-defined
The user can define different input/output units for machine and setting data.
For this there must be an adjustment between the newly selected input/output units and the
internal units via the following MD:
● MD10220 $MN_SCALING_USER_DEF_MASK (activation of standardizing factors) and
● MD10230 $MN_SCALING_FACTORS_USER_DEF[n] (standardizing factors of the
physical quantities)
,QSXWYDOXHVIRUPDFKLQHGDWD
0'
1R
6FDOLQJIDFWRUDFWLYDWHG" ,QWHUQDOVFDOLQJ
<HV
0'6FDOLQJIDFWRU
,QWHUQDOSK\VLFDOXQLW
Manual
368 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.3 System data
'HILQHGLQSXWRXWSXWXQLW
0'01B6&$/,1*B)$&7256B86(5B'()>Q@ LQWHUQDOXQLW
P PP
PLQ
V
0'01B6&$/,1*B)$&7256B86(5B'()>Q@ PP PP
V V
ൺ0'01B6&$/,1*B)$&7256B86(5B'()>@
IW
PP
Vt Vt
0'01B6&$/,1*B)$&7256B86(5B'()>Q@ PP PP
Vt Vt
ൺ0'01B6&$/,1*B)$&7256B86(5B'()>@
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 369
NC Commissioning with HMI Advanced
11.3 System data
Table 11-7 Normalization of physical units of machine data and setting data: Machine data
Note
If a scaling machine data item is altered, then the control outputs alarm "4070 Scaling
data changed".
Manual
370 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.3 System data
Modifying manually
The following procedure is recommended when modifying scaling machine data manually:
1. Set all scaling machine data
2. Initiate NC Reset
3. Set all dependent machine data after the NC has powered up.
840Di startup
Via the SINUMERIK 840Di sl standard interface 840Di Startup:
Menu command Window > Diagnosis > NC/PLC
● Button: "Delete NC data"
● Button: "NC Reset"
NOTICE
On deleting the NC data, all user data is lost.
To avoid data loss, a series commissioning file should be created before the NC data
are deleted. The way to create a series machine startup file is described in the Section
"Creating a series machine startup file" (Page 543).
MD11220 $MN_INIT_MD
Using the entry values listed below in MD11200 $MN_INIT_MD (loading the standard
machine data for the "next" NC boot), you can load various data storage areas with default
values at the next NC boot.
After setting the machine data, NC reset must be carried out twice:
1. NC reset: The machine data is activated.
2. NC reset: Depending on the entry value, the corresponding machine data is set to its
standard values and the MD11200 $MN_INIT_MD is reset to value "0".
Input values
MD11200 $MN_INIT_MD = 1
On the next NC boot, all machine data (with the exception of the memory configuring data)
are overwritten with default values.
MD11200 $MN_INIT_MD = 2
During the next NC boot, all memory-configuring machine data is overwritten with default
values.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 371
NC Commissioning with HMI Advanced
11.3 System data
System data
When changing over the measuring system, from the view of the user, all length-related
specifications are converted to the new measuring system automatically. This includes:
● Positions
● Feedrates
● Acceleration rates
● Jerk
● Tool offsets
● Programmable, settable and work offsets external and DRF offsets
● Compensation values
● Protection zones
● Machine data
● JOG and handwheel factors
After the changeover, all of the above-mentioned data is available in the physical quantities
described in Subsection "Scaling physical quantities of machine and setting
data" (Page 367).
Manual
372 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.3 System data
The following data for which no unique physical units are defined is not converted
automatically:
● R parameters
● GUDs (Global User Data)
● LUDs (Local User Data)
● PUDs (Program global User Data)
● Analog inputs/outputs
● Data exchange via FC21
The user is prompted to take the current valid measuring system MD10240
$MN_SCALING_SYSTEM_IS_METRIC into consideration.
The current system of measurement setting can be read at the PLC interface via the "inch
system" signal DB10.DBX107.7. DB10.DBB71 can be used to read out the "system of
measurement change counter".
Machine data
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 373
NC Commissioning with HMI Advanced
11.3 System data
Machine data
Manual
374 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.3 System data
Note
The DP cycle time configured in STEP 7 "HW Config" is only taken as the system clock
cycle from the NC if at least one real machine axis is parameterized in the NC machine
data.
If no real machine axis is parameterized, the value of the machine data functions as the
system clock cycle:
• MD 10050 $MN_SYSCLOCK_CYCLE_TIME
Note
The machine data is not displayed for SINUMERIK 840Di sl.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 375
NC Commissioning with HMI Advanced
11.3 System data
7'3
70 7/DJ
1&.
3RVLWLRQFRQWUROHU 5 5 5
7';
352),%86'3 06* 5(6 *& '[ '[ '[ 06* 5(6 *& '[ '[ '[
&RPPXQLFDWLRQ
'3VODYHV
'ULYHV 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5
Interpolation cycle
The interpolator cycle may be chosen freely as a whole multiple of the position control cycle.
● MD10070 $MN_IPO_SYSCLOCK_TIME_RATIO (factor for the interpolation cycle)
Manual
376 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.3 System data
7'3
70
1&.
1&. 3DUW
:LQGRZV;3 3DUW :LQGRZV;3 SRVLWLRQ
3DUW JHQHUDO 3DUW FRQWUROOHUDQG
LQWHUSRODWRU
7'3'3&\FOH7LPH'3F\FOHWLPH
700DVWHU7LPH2IIVHWRIWKHVWDUWWLPHIRU1&.SRVLWLRQFRQWUROOHU
Individual setting
The default value for the NC CPU time share is 50%. An individual setting can only be made
by the following formula:
MD10185 >= 300 * (TPos max * MD10070 + TIPO max + 0.2ms) / MD10071
with:
● TPos max and TIPO max
TPos max [ms] and TIPO max [ms] are the relevant maximum netruntime of the position
controller or interpolator. The data is displayed via HMI Advanced (option) under:
Operating area switchover > Diagnosis > Service Displays > System Resources
● MD10070 $MN_IPO_SYSCLOCK_TIME_RATIO (factor for the interpolation cycle)
● MD10071 $MN_IPO_CYCLE_TIME (interpolator cycle) [ms]
Note
The values displayed by HMI Advanced in the System Resources menu refer to the total
power of the CPU, not just to the CPU time share of the NC set via MD 10185
$MN_NCK_PCOS_TIME_RATIO.
The values for Tpos max and TIPO max are considerably influenced by applications active under
Windows XP due to cache effects of the PCU processor. To calculate these value, it is
therefore necessary to activate Windows XP applications demanding a lot of CPU time in
parallel with execution of NC part programs.
When the maximum values for Tpos and TIPO displayed as you proceed as described above
no longer change, you can calculate the above formula with a value of 200 instead of 300.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 377
NC Commissioning with HMI Advanced
11.3 System data
The maximum value for the NC CPU time share of 75 % must not be exceeded. A value
greater than 75 % can lead to significant impairment (slowing down) of Windows XP
applications. If necessary, the values must be adapted to the system clock cycle/position
controller cycle (DP cycle time) and/or interpolation cycle.
References:
/FB/ Function Manual - Special Functions, G3 Cycle Times
Machine data
CAUTION
If you change the cycle times, check the behavior of the controller in all operating modes
before you finish commissioning.
Note
The smaller the cycle times (PROFIBUS DP cycle) chosen, the greater the control quality for
the drive and the better the surface quality on the workpiece.
Manual
378 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.3 System data
11.3.9 Velocities
SURJUSDWKOHQJWKLQWKHSDUWSURJUDPEORFN>PPRUGHJUHHV@
9PD[
,32F\FOH>V@
High limit
To guarantee that parts program blocks are executed continuously (control margin), the NC
limits the tool path velocity within a parts program block to 90% of the max. possible tool
path velocity as follows:
SURJUSDWKOHQJWKLQWKHSDUWSURJUDPEORFN>PPRUGHJUHHV@
9PD[ื
,32F\FOH>V@
For example, in the case of part programs generated by means of CAD system, which
contain extremely short blocks, this limiting of the path velocity can result in a strong
reduction of the path velocity over several part program blocks.
The function "Online compressor" can help to avoid such sudden velocity dips.
References:
/PGA/ Programming Manual, Advanced, Chapter "Compressor COMPON/COMPCURVE"
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 379
NC Commissioning with HMI Advanced
11.3 System data
Lower limit
The minimum tool path or axis velocity at which traversing is possible results from:
9PLQุ
LQFU
FDOFXODWLRQSUHFLVLRQ> PPRUGHJUHHV @
,327DNW>V@
Manual
380 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.4 Memory configuration
Hardware configuration
The dynamic (DRAM) or static (SRAM) memory available depends on the hardware
configuration of the components used (PCU and MCI board) and the memory available for
SINUMERIK 840Di sl.
User data
The individual memory areas of the user data are set to reasonable default values during
general reset of the NC. To obtain optimum utilization of the user memory, the size of the
individual data areas can be set for, e.g.:
● Part programs
● Tool management
● Tool offsets
● User data
● R parameters
● Compensations
● Protection zones
● Frames
(See Subsection "SRAM memory" (Page 383))
The memory must be sectionalized before commencement of the actual NC commissioning,
because all user data (e.g. part programs, tool offsets) will be lost during a change.
Machine data, setting data, and option data are not lost when the memory is reorganized.
Activation
The machine data of the memory configuration are activated by power ON.
References:
/FB/ Funktions Manual, S7 Memory Configuration
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 381
NC Commissioning with HMI Advanced
11.4 Memory configuration
Free memory
The free DRAM memory is displayed via the following machine data:
● MD18050 $MN_INFO_FREE_MEM_DYNAMIC (free dynamic memory)
The free DRAM should not be less than 15,000 bytes.
CAUTION
Before you enlarge DRAM areas, you should first check whether the free memory is
sufficient:
• MD18050 $MN_INFO_FREE_MEM_DYNAMIC (free dynamic memory)
If more dynamic memory is requested than is available, the SRAM and therefore all user
data will be cleared without prior warning on the next NC startup!
To avoid data loss, a series startup file should be created before reconfiguration (see
Section "Creating a Series Startup File" (Page 543)).
Machine data
Table 11-12 Machine data required to configure the DRAM
Manual
382 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.4 Memory configuration
Free memory
The free SRAM memory is displayed via the following machine data:
● MD18060 $MN_INFO_FREE_MEM_STATIC (free static memory)
The free SRAM should not be less than 15,000 bytes to ensure that data (e.g. tool offsets)
can be read in at all times.
NOTICE
When reconfiguring the SRAM memory, all user data are lost. To avoid data losses, a
series startup file should be created before reconfiguration (see Section "Creating a
Series Startup File" (Page 543)).
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 383
NC Commissioning with HMI Advanced
11.4 Memory configuration
Machine data
Manual
384 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Definition
The term "axis" is often used either as a single term in conjunction with SINUMERIK 840Disl
or in a compound form, e.g. machine axis, channel axis, etc. To provide an overview of the
philosophy used as the basis, here is a brief explanation of this term.
There are basically 3 types of axes:
1. Coordinate axes
2. Machine axes
3. Geometry and special axes
Coordinate axes
Coordinate axes (abscissa, ordinate, applicate) are the axes of a Cartesian coordinate
system
Machine axes
Machine axes are the motion units existing on a machine, which can also be designated as
linear or rotary axes, depending on their usable movement.
Geometry axes
The geometry axes constitute the rectangular Cartesian basic coordinate system of a
channel.
Generally, (Cartesian arrangement of the machine axes) direct imaging of the geometry axes
to the machine axes is possible. If the arrangement of the machine axes, however, is not
Cartesian at right angles, the imaging is performed using a kinematic transformation.
Special axes
Special axes are all axes of a channel that are not geometry or machine axes. Unlike for
geometry axes (Cartesian coordinate system), no geometric context is defined for additional
axes, neither between additional axes or with respect to geometry axes.
Channel axes
The total of all machine, geometry and special axes assigned to a channel is designated as
channel axes.
The geometry and special axes represent the programming side of the machining process,
i.e. they are used for programming in the part program.
The machine axes constitute the physical part of the machining process, i.e. they carry out
the programmed traversing movements on the machine.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 385
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Axis assignment
The assignment of drives, machine axes, channel axes and geometry axes using the
corresponding machine data is shown in the following Fig.:
/LVWRIDOOFKDQQHOD[HVRIWKHFKDQQHO
/LVWRIDOOJHRPHWU\D[HVRIWKHFKDQQHO 0'
0' 0&B$;&21)B0$&+$;B86('>Q@
0&B$;&21)B*(2$;B$66,*1B7$%>Q@
&KDQQHO
&KDQQHO >@
>@ >@
>@ >@
>@ >@
6SHFLDOD[HV >@
0DFKLQHD[HVRIWKH1&.
0'0$B&75/287B02'8/(B15>@
0'0$B(1&B02'8/(B15>@
0DFKLQHD[HV >@
/LVWRIDOOGULYHVRIWKH1&.
0DFKLQHD[HV >@ 0'
01B'5,9(B/2*,&B$''5(66>Q@
0DFKLQHD[HV >@
0DFKLQHD[HV >@
①
The NC is informed about the I/O addresses of the drives defined in the S7 project through
"HW Config" via machine data MD13050 $MN_DRIVE_LOGIC_ADDRESS[n] (I/O address of
the drive)
The machine data index (n+1) is the logical drive number for the NC.
Manual
386 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
②
Each machine axis is assigned to a drive via machine data MD30110
$MA_CTRLOUT_MODULE_NR[0] (setpoint value assignment) and MD30220
$MA_ENC_MODULE_NR[0] (actual value assignment).
The logical drive number m to be entered in the two machine data refers to the entry with the
index n=(m-1) in the list described under Point 1 MD13050
$MN_DRIVE_LOGIC_ADDRESS[n].
③
Which channel axis will use which machine axis is defined explicitly and how many channel
axis are there in the channel is defined implicitly via machine data MD20070
$MC_AXCONF_MACHAX_USED[n] (machine axis number valid in channel)
The machine axis number m to be entered in the machine data (with m=1,2,3...) is referred
to the appropriate machine axis m.
④
Which channel axis is a geometrical axis is defined explicitly and how many geometry axes
exist in the channel is defined implicitly via machine data MD20050
$MC_AXCONF_GEOAX_ASSIGN_TAB[n] (assignment of geometry axis to channel axis) (n
= 0...2).
The channel axis number k to be entered in the machine data (k=1,2,3...) is referred to the
entry with the index n (n=(k-1)=0,1,2...) in the list of the channel axes MD20070
$MC_AXCONFIG_MACHAX_USED[n] (see Point 3).
Machine data
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 387
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Machine axes
The machine axis names are defined via the following machine data:
● MD10000 $MN_AXCONF_MACHAX_NAME _TAB [n] (machine axis name)
Machine axis names must be unambiguous for the entire NC.
The names and the corresponding index defined in the machine data above is used for
● Accessing axis-specific machine data (loading, saving, displaying)
● Reference point approach from the part program G74
● Measurement
● Test point traversing from the part program G75
● Traversing the machine axis from PLC
● Display of axis-specific alarms
● Display in the actual-value system (machine-related)
● DRF handwheel function
Channel axes
The channel axis names are defined via the following machine data:
● MD20080 $MC_AXCONF_CHANAX_NAME_TAB[n] (name of the channel axis in the
channel)
Channel axis names must be unambiguous for the entire channel.
Geometry axes
The geometry axis names are defined via the following machine data:
● MD20060 $MC_AXCONF_GEOAX_NAME_TAB [n] (geometry axis in the channel)
Geometry axis names must be unambiguous for the entire channel.
The axis names for channel and geometry axes are used in the part program for
programming general traversing movements or to describe the workpiece contour. The axis
names are used for:
● Path axes
● Synchronized axes
● Positioning axes
● Command axes
● Spindles
● Gantry axes
● Coupled axes
● Guide value coupling axes
Manual
388 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Machine data
I/O addresses
The I/O address tells the NC the data areas via which cyclic process data exchange occurs
with the drive or the Control Unit.
The I/O addresses assigned in the SIMATIC S7 project are entered in the following machine
data:
● MD13050 $MN_DRIVE_LOGIC_ADDRESS[n] (logical I/O address)
● MD13120 $MN_CONTROL_UNIT_LOGIC_ADDRESS (logical I/O address for the Control
Unit (SINAMICS))
To parameterize the PROFIBUS communication for the drives, see:
● SINAMICS: Section "DP slave: SINAMICS S120" (Page 287)
● SIMODRIVE: Section "DP slave: SIMODRIVE drives"
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 389
NC Commissioning with HMI Advanced
11.5 Axes and spindles
NOTICE
Any changes in the I/O addresses must be carried out consistently:
• SIMATIC S7 project
HW Config: I/O address for actual value and setpoint
• NC:
MD13050 $MN_DRIVE_LOGIC_ADDRESS[n]
or
MD13120 $MN_CONTROL_UNIT_LOGIC_ADDRESS
There is no automatic adjustment!
Message frame
The process data transferred between the NC and the drives or Control Unit during cyclic
process data exchange are defined via the message frame.
To select the message frame, see:
● SINAMICS: Section "DP slave: SINAMICS S120" (Page 287)
● SIMODRIVE: Chapter "DP slave: SIMODRIVE drives" (Page 297)
Note
You will find a detailed description of the message frame in each case in the Section
"Communication via PROFIBUS" in:
• SINAMICS S120
References:
SINAMICS S120 Commissioning Manual
• SIMODRIVE 611 universal and universal E
References:
/FBU/ Function Manual SIMODRIVE 611 universal
• SIMODRIVE POSMO A
References:
/POS1/ SIMODRIVE POSMO A User Manual
• SIMODRIVE POSMO SI/CD/CA
References:
/POS3/ User Manual - SIMODRIVE POSMO SI/CD/CA
• ADI4
References:
/Subsection "DP slave: ADI4" (Page 286)
The message frames set in the SIMATIC S7 project are entered in the following machine
data:
● MD13060 $MN_DRIVE_TELEGRAM_TYPE[n] (drive message frame type)
Manual
390 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Default values
The default values for the machine data are based on the following message frame:
● 102; Speed control with torque reduction, 1 position encoder
NOTICE
The following is to be taken into account:
1. A change of the message frame type has to be carried out consistently:
– SIMATIC S7 project, HW Config: Frame type
– NC: MD13060 $MN_DRIVE_TELEGRAM_TYPE[n]
– SINAMICS S120 or SIMODRIVE 611 universal:
Parameter P0922 PROFIBUS message frame type selection
There is no automatic adjustment!
2. The sequence of the drives referred to in the following machine data must be
identical in both machine data:
– MD13050 $MN_DRIVE_LOGIC_ADDRESS[n]
– MD13060 $MN_DRIVE_TELEGRAM_TYPE[n]
Bit Function
0 Deactivation of the 611U-specific drive alarm generation
1 Deactivation of the 611U-specific drive type detection
2 Deactivation of the 611U-specific parameter accesses encoder drivers
3 Deactivation of the 611U-specific parameter accesses output drivers
4 Reserved
5 Deactivation of 611U-specific drive parking (STW2.7/STA2.7)
6 Deactivation of the 611U-specific travel to fixed stop (STW2.8/STA2.8)
7 Deactivation of the 611U-specific motor switchover internal (STW2.9 to 2.11)
8 Deactivation of the 611U-specific ramp block (STW1.11+13)
9 Deactivation of the 611U-specific function generator bits (STW1.8/STA1.13)
10 Deactivation of the parking brake control (STW1.12 / STA2.5)
11 Deactivation of the effect of OFF2/OFF3 on driveReady (DB31,... DBB93, Bit5)
14 Selection of non-cyclic DP communication: 0 = DPT; 1 = DPV1
15 Deactivation of the consistency check of the PROFIBUS message frame configuration
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 391
NC Commissioning with HMI Advanced
11.5 Axes and spindles
ADI4
With an ADI4 module you can operate up to 4 drives with analog setpoint interface on an
isochronous PROFIBUS.
The 611U-specific functions (Bit0 - Bit3) and effects of OFF2/OFF3 on the signal
"driveReady" (Bit11) must be disabled for these drives. The machine data must be set for
every drive operated via ADI4:
● MD13070 $MN_DRIVE_FUNCTION_MASK[n] = 80FH
NOTICE
The 611U-specific functions (Bit0 - Bit3) and effects of OFF2/OFF3 on the signal
"driveReady" (Bit11) must be disabled for all drives connected via ADI4.
• MD13070 $MN_DRIVE_FUNCTION_MASK[n] = 80FH
Drive type DP
The NC attempts to ascertain the drive type for each parameterized PROFIBUS drive
independently. The drive type is shown in the following machine data:
● MD13080 $MN_DRIVE_TYP_DP[n] (drive type PROFIBUS DP)
The following drive types are displayed by the NC:
1. VSA (SRM: Synchronous Rotary Motor)
2. HSA (ARM: Asynchronous Rotary Motor)
3. Linear drive
If the NC is not able to determine the drive type because the drive e.g. does not support any
acyclic communication or it was switched off via machine data MD13070
$MN_DRIVE_FUNCTION_MASK (used DP functions), then the following value is displayed:
● 0: No drive or drive type not known
Manual
392 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
ADI4
Because a ADI4 module does not support acyclic communication on the PROFIBUS, we
recommend entering value 4 as the drive type for any drive operated via ADI4:
● MD13080 $MN_DRIVE_TYP_DP[n] = 4
Note
We recommend entering drive type 4 manually for drives connected via ADI4:
• MD13080 $MN_DRIVE_TYPE_DP[n] = 4
Note
In order to guarantee that the control runs up reliably, all machine axes are declared as
simulation axes (without hardware).
• MD30130 $MA_CTRLOUT_TYPE (output type of setpoint value) = 0
• MD30240 $MA_ENC_TYPE (actual value acquisition mode) = 0
Traversing of the axes in servo mode is simulated without speed setpoint output, and no
hardware-specific alarms are output.
The following machine data can be used to select whether the interface signals of a
simulation axis are output at the PLC interface (e.g. during program test, if there is no drive
hardware):
MD30350 $MA_SIMU_AX_VDI_OUTPUT (output of axis signals with simulation axes)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 393
NC Commissioning with HMI Advanced
11.5 Axes and spindles
NOTICE
The motor measuring system is always used for the speed control function. Motor and
motor measuring system must therefore always be connected to the same drive module.
In the two following axis-specific machine data, the same logical drive number m of the drive
is entered that the machine axis represents:
● MD30110 $MA_CTRLOUT_MODULE_NR[0] (setpoint assignment: logical drive number)
● MD30220 $MA_ENC_MODUL_NR[n] (actual value assignment: logical drive number)
The entered value m refers to the drive whose I/O address is defined under the index n = (m-
1) in MD13050 $MN_DRIVE_LOGIC_ADDRESS[n] (see Chapter "Drive
Configuration" (Page 389)).
NC reset
Once the drive configuration and setpoint/actual value assignment have been parameterized,
an NC reset must be executed to initiate a warm restart of the NC. After the NC has powered
up, the set configuration is effective.
Machine data
Manual
394 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Interface signals
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 395
NC Commissioning with HMI Advanced
11.5 Axes and spindles
(1&B,6B/,1($5 ,6B527B$;
Q(QFRGHU
(1&B,6B',5(&7
0HDVXULQJ /RDG
JHDUER[ JHDUER[ 7DEOH
* 0 %DOOVFUHZ
Q6SLQGOH /($'6&5(:B3,7&+
Q0RWRU
(1&B5(62/
'5,9(B$;B5$7,2B180(5$ PRWRUUHYV
'5,9(B$;B5$7,2B'(120 6SLQGOHUHYV
'5,9(B(1&B5$7,2B180(5$ 0RWRUUHYV
'5,9(B(1&B5$7,2B'(120 (QFRGHUUHYV
'5,9(B$;B5$7,2B180(5$ PRWRUUHYV
'5,9(B$;B5$7,2B'(120 VSLQGOHUHYV
(1&B,6B',5(&7
,6B527B$;
0HDVXULQJ
JHDUER[
(1&B,6B/,1($5
7DEOH
0 *
/RDG %DOOVFUHZ (1&B5(62/
*HDU
/($'6&5(:B3,7&+ (1&B7<3(
QPRWRU QVSLQGOH QVSLQGOH QHQFRGHU (1&B,6B/,1($5
(1&B5(62/
PRWRUUHYV '5,9(B(1&B5$7,2B180(5$
HQFRGHUUHYV '5,9(B(1&B5$7,2B'(120
Manual
396 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
QORDG
QHQFRGHU (1&B,6B',5(&7
0HDVXULQJ
/RDG ,6B527B$; 5RWDU\WDEOH
JHDUER[ JHDU
* 0 /
(1&B7<3(
(1&B,6B/,1($5
(1&B,6B',5(&7 (1&B5(62/
Q0RWRU
(1&B,6B',5(&7
Q/DVW
/DVW 0HVV Q*HEHU
JHWULHEH JHWULHEH
0 / *
'5,9(B(1&B5$7,2B180(5$ *HEHUXPGU
,6B527B$; '5,9(B(1&B5$7,2B'(120 /DVWXPGU
'5,9(B$;B5$7,2B180(5$ 0RWRUXPGU
'5,9(B$;B5$7,2B'(120 /DVWXPGU
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 397
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Machine data
'5,9(B$;B5$7,2B180(5$ PRWRUUHYV
'5,9(B$;B5$7,2B'(120 VSLQGOHUHYV
,6B527B$;
7DEOH
%DOOVFUHZ
0
/($'6&5(:B3,7&+
0HDVXULQJ
JHDUER[ OLQHDUVFDOH
(1&B,6B/,1($5
(1&B,6B',5(&7
(1&B*5,'B32,17B',67
(1&B)(('%$&.B32/ >E]Z@
Manual
398 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Machine data
Encoder types
The following encoder types are currently supported:
● Single-turn absolute value encoder
● Multi-turn absolute value encoder
with EnDat protocol and incremental sinusoidal encoder signals A and B, e.g. Haidenhain
EQN 1325.
EQN 1325
The absolute value encoder EQN 1325 from Heidenhain has the following properties:
● EnDat protocol
● PPR count: 2048 = 211 (encoder fine resolution)
● Positions/revolution: 8192 (13 bits)
● Differentiable revolutions: 4096 (12 bits)
● Encoder signals A/B: Sin/cos 1 Vpp
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 399
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Adjusting
Convergence of the measuring system with the machine positions is performed by
calibration of the absolute value encoder in absolute measuring systems. For calibration of
the absolute value encoder, see Chapter "Axis Homing" (Page 431).
Manual
400 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
ADI4
For a machine axis whose measuring system consists of an absolute encoder on an ADI4
module, the following must be taken into consideration:
● Absolute encoder with SSI interface
Since the ADI4 transfers the data from the absolute encoder to the NC in EnDat format,
encoder type "Absolute encoder gen." must be entered as the encoder type:
– MD30240 $MA_ENC_TYPE (encoder type) = 4 (absolute encoder gen.)
References:
/ADI4/Analog drive port for 4 axes, Chapter "Function parameters (SINUMERIK 840Di
sl) and (SIMOTION)"
Encoder type
● Encoder fine resolution
The fine resolution configured in the ADI4 (reserved bits for fine resolution) of the
absolute encoder must be assumed by the NC:
– MD30260 $MA_ABS_INC_RATIO[n] (encoder fine resolution)
References:
/ADI4/Analog drive port for 4 axes, Chapter "Function parameters (SINUMERIK 840Di
sl) and (SIMOTION)"
Reserved bits for fine resolution
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 401
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Machine data
Note
Detailed information about the measuring systems that can be connected to the ADI4 is to
be found in:
References:
/ADI4/ Analog Drive Interface for 4 Axes, Chapter "Hardware Description"
Manual
402 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Parameter example
The following parameterization example illustrates the basic procedure for parameterizing
the NC for a 2nd measuring system of a machine axis connected via ADI4. It assumes the
following:
● NC
Two measuring systems are to be parameterized for the 1st machine axis.
– 1. Measuring system: "motor measuring system" of the drive
– 2. Measuring system: "direct measuring system"
● Drive
A SIMODRIVE 611U 1 axis module is used as the drive with a connection option for a
measuring system (motor encoder).
● ADI4
The 2nd measuring system is connected via the encoder interface of the 1st axis of an
ADI4 module. (In principle, connection is possible via any axis of the ADI4 module.)
Configuration
The following figure shows the associated configuration.
'LVO
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 403
NC Commissioning with HMI Advanced
11.5 Axes and spindles
'3VODYHN3URSHUWLHV
$[LV0HVVDJH)UDPH3='
ADI4:
● Message frame type: Standard message frame 3
● I/O address: 4200
'3VODYHSURSHUWLHV
D[HVHDFKZLWKRQHHQFRGHUVWDQGDUGPHVVDJHIUDPH($3='$
NC machine data
The general and axis-specific NC machine data should be set as follows:
Drive assignment:
The axis of the SIMODRIVE 611U drive module is assigned to the NC as the 1st machine
axis. This requires entry of its I/O address and message frame type under index 0:
● MD13050 $MN_DRIVE_LOGIC_ADRESS[0] = 4100
● MD13060 $MN_DRIVE_TELEGRAM_TYPE[0] = 102
The I/O address and the message frame type of the 1st axis of the ADI4 module will be
entered in the next free machine data (e.g. Index 3):
● MD13050 $MN_DRIVE_LOGIC_ADRESS[3] = 4200
● MD13060 $MDRIVE_TELEGRAM_TYPE[3] = 3
Assignment of the actual value channels:
Assignment of the 1st measuring system (index 0) of the machine axis to the measuring
circuit input of the SIMODRIVE 611U drive module is performed via the axis-specific
machine data:
● MD30220 $MA_ENC_MODUL_NR[0] = 1
with 1 = (Index 0 of the corresponding MD13050 + 1)
Manual
404 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Assignment of the 2nd measuring system (index 1) of the machine axis to the measuring
circuit input of the ADI4 module is performed via the axis-specific machine data:
● MD30220 $MA_ENC_MODUL_NR[1] = 4
with 4 = (Index 3 of the corresponding MD13050 + 1)
For this, see Subsection "Setpoint value/actual value channels" (Page 393).
Machine data
Interface signals
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 405
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Note
The speed feedforward control can be used in conjunction with DSC.
Requirements
Before you can activate DSC mode, the following preconditions must be fulfilled:
● DSC-capable drive, e.g.:
– SINAMICS S120
– SIMODRIVE 611 universal
– SIMODRIVE POSMO CD/CA
– SIMODRIVE POSMO SI
● A DSC-capable message frame type has been parameterized in the S7 project for the
drive (see Section "DP Slave: SINAMICS S120" (Page 287)).
Switch-on/switch-off
The DSC function is switched ON in the following axis-specific NC machine data:
● MD32640 $MA_STIFFNESS_CONTROL_ENABLE (dyn. Stiffness control)
If DSC operation is switched ON or OFF, it might be necessary to adjust the following
machine data:
● MD32200 $MA_POSCTRL_GAIN (Kv factor)
● MD32610 $MA_VELO_FFW_WEIGHT (feedforward control factor)
● MD32810 $MA_EQUIV_SPEEDCTRL_TIME (substitute time const. of the closed speed
control loop).
NOTICE
Before you can switch off DSC operation you might have to adapt (reduce) the Kv factor
of the axis. Otherwise, instability of the position control loop might result.
Measuring system
DSC is only possible in conjunction with the motor measuring system.
Manual
406 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Note
Detailed information on measuring the filter frequency response and optimizing
torque/current and speed control loop can be found in:
• SINAMICS
Online Help for Commissioning Tool: STARTER > Content > Diagnosis Functions
• SIMODRIVE 611 universal/E, POSMO CD/CA and SI
Online Help for SimoCom U Commissioning Tool > Index:
– Measuring function
– Optimization of speed control loop
Rotary axes
A machine axis is parameterized as a rotary axis via:
● MD30300 $MA_IS_ROT_AX (rotary axis) = 1
The machine data is a scaling machine data. A change results in a conversion of all machine
data of the machine axis with length-related units.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 407
NC Commissioning with HMI Advanced
11.5 Axes and spindles
For the recommended procedure with respect to scaling machine data, please refer to
Subsection "Modifying Scaling Machine Data" (Page 370).
Modulo display
The display of the rotary axis position modulo 360 degrees is displayed via the following
machine data:
● MD30320 $MA_DISPLAY_IS_MODULO (modulo 360 degrees display for rotary axes)
Machine data
Setting data
Manual
408 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Machine data
Table 11-27 Positioning axes: Machine data
Interface signals
Table 11-28 Positioning axes: Interface signals
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 409
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Indexing axis
The following machine data assigns the machine axis the relevant table of indexing positions
and also defines the machine axis as an indexing axis:
● MD30500 $MA_INDEX_AX_ASSIGN_POS_TAB[n] (axis is indexing axis)
Machine data
Manual
410 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Interface signals
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 411
NC Commissioning with HMI Advanced
11.5 Axes and spindles
6SLQGOHJHDU
3DUDPWHU6HWQR $[LV 6SLQGOH VWDJH
$VVSHFLILHGE\
'HIDXOW $[LVPRGH
PDQXIDFWXUHU
$[LVLQWHUSRODWHV
6SLQGOHPRGH
ZLWKVSLQGOH*
$[LVLQWHUSRODWHV
6SLQGOHPRGH
ZLWKVSLQGOH*
$[LVLQWHUSRODWHV
6SLQGOHPRGH
ZLWKVSLQGOH*
$[LVLQWHUSRODWHV
6SLQGOHPRGH
ZLWKVSLQGOH*
$[LVLQWHUSRODWHV
6SLQGOHPRGH
ZLWKVSLQGOH*
Figure 11-15 Validity of parameter sets for axis and spindle modes
Machine data
The following machine data of a machine axis depend on the parameter set:
n = parameter set number (0 ... 5)
Manual
412 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Control loops
The closed-loop control of a machine axis consists of the cascaded closed-loop control
circuits of current controller, speed controller and position controller.
6,180(5,.'LVO 352),%86'3$QWULHE
3RVLWLRQUHIHUHQFHYDOXH
QDFW LDFW
$FWXDOFXUUHQWYDOXH
6SHHGDFWXDOYDOXH
$FWXDOSRVLWLRQYDOXH
Traversing direction
If the axis does not traverse into the desired direction, the appropriate adaptation is made in
the following machine data:
● MD32100 $MA_AX_MOTION_DIR (travel direction)
The value "-1" reverses the direction of motion.
Control direction
If the control direction of the position measuring system is incorrect, it can be adjusted with
the following machine data:
● MD32110 $MA_ENC_FEEDBACK_POL (sign of actual value)
Servo gain
To obtain high contour accuracy, a high loop gain (Kv factor) of the position controller is
required. However, an excessively high Kv factor causes overshoot, instability and
impermissibly high machine loads.
The maximum permissible Kv factor is dependent on the dynamic response of the drive and
the mechanical system of the machine.
If "0" is entered for the loop gain factor, the position controller will be disconnected.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 413
NC Commissioning with HMI Advanced
11.5 Axes and spindles
9HORFLW\ >PPLQ@
. 9
)ROORZLQJHUURU >PP@
i.e. with a Kv factor of 1 and a velocity of 1 m/min, the following error will be 1 mm.
The Kv factor of the machine axis is entered via the following machine data:
● MD32200 $MA_POSCTRL_GAIN (Kv factor)
Note
To adapt the input/output unit of the Kv factor selected by default to the internal unit [1/s],
the following machine data are assigned by default:
• MD10230 $MN_SCALING_FACTORS_USER_DEF[9] = 16.666667
• MD10220 $MN_SCALING_USER_DEF_MASK = 'H200'; (Bit-No. 9 as Hex-Value).
When entering the servo gain factor it is important to check that the gain factor of the whole
position control loop is still dependent on other parameters of the controlled system.
These factors are:
● MD32260 $MA_RATED_VELO
● MD32250 $MA_RATED_OUTVAL
● Tacho adjustment on the speed controller
● Tacho generator on drive.
NOTICE
Machine axes that interpolate one with another must have the same following error at
the same velocities.
This is to be achieved by setting the same KV factor or through the dynamic response
adaptation via the following machine data:
• MD32900 $MA_DYN_MATCH_ENABLE
• MD32910 $MA_DYN_MATCH_TIME
The real servo gain factor can be checked with the following error in the service display.
• e.g. HMI Advanced: Operating area "DIAGNOSIS" > Service displays > Service axis.
Manual
414 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
QVHWO QVROO
>9@ >9@
EDGO\ ZHOO
VHOHFWHG.9IDFWRU VHOHFWHG.YIDFWRU
W>PV@ W>PV@
No overshoots may occur while the drive is approaching the static states; this applies to all
speed ranges.
Acceleration
The machine axes are accelerated and braked with the values entered in the following
machine data:
● MD32300 $MA_MAX_AX_ACCEL (axis acceleration)
This value should allow the axes to be accelerated and positioned rapidly and accurately
while ensuring that the machine is not unduly loaded.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 415
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Default values
The default values of the acceleration are in the range of 0.5 m/s2 to 2 m/s2.
Note
• SINAMICS
The current actual value/setpoint can be recorded using the STARTER trace function.
• SIMODRIVE
The current actual value/setpoint can be recorded using the trace function of SimoCom
U.
The online help provides more detailed information.
This recording shows whether the drive reaches the current limit. Here, the current limit can
be reached for a short time.
The current must be well below the current limit, however, before the rapid traverse velocity
or the final position is reached.
Load changes during machining must not cause the current limit to be reached. Excessive
current during machining causes falsification of the contour. For this reason, the acceleration
value should be a little bit less than the maximum acceleration value.
Machine axes can have different acceleration values, even if they interpolate with each other.
Machine data
Manual
416 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Automatic adjustment
An automatic speed setpoint matching can be performed for the following drives:
● SINAMICS S120
● SIMODRIVE 611 universal / E
● SIMODRIVE POSMO CD/CA
● SIMODRIVE POSMO SI
If the value 0 is entered in the following machine data (default in SINUMERIK 840Di sl), then
the speed setpoint value between NC and drive is matched automatically during the NC boot:
● MD32250 $MA_RATED_OUTVAL (rated output voltage) [%]
Note
If automatic speed setpoint matching fails for one axis, the following message is output
on a traverse request for this axis:
• Message: "Wait, axis enable missing"
This axis and any axes that interpolate with it are not traversed.
Manual comparison
If a value not equal to 0 is entered in the following machine data, then there is no automatic
speed setpoint value matching:
● MD32250 $MA_RATED_OUTVAL (rated output voltage) [%]
Speed setpoint matching must be performed manually using the following axis-specific
machine data:
● MD32250 $MA_RATED_OUTVAL (rated output voltage) [%]
● MD32260 $MA_RATED_VELO (rated motor speed) [rev/min]
The rated motor speed entered in the axis-specific MD32260 $MA_RATED_VELO with
reference to 100% must be equal to the speed evaluation parameterized in the drive:
6,180(5,.'LVO1&. $QWULHE
0'0$B5$7('B9(/2
'ULYHUHODWHGVSHHGHYDOXDWLRQ
0'0$B5$7('B2879$/
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 417
NC Commissioning with HMI Advanced
11.5 Axes and spindles
ADI4
As ADI4 does not support acyclic services on the PROFIBUS DP, manual speed setpoint
matching must be performed.
The reference between the speed setpoint set by the NC and the associated output voltage
at the setpoint output of the ADI4 is established (reference voltage = 10 V) via the following
axis-specific machine data.
● MD32260 $MA_RATED_VELO (rated motor speed) [rev/min]
● MD32250 $MA_RATED_OUTVAL (rated output voltage) [%]
6,180(5,.'LVO1&. $',
0'0$B5$7('B2879$/
0'0$B5$7('B9(/2 9
Note
The maximum upper limit for the speed setpoint is predefined in following machine data:
• MD36210 $MA_CTRLOUT_LIMIT (maximum speed setpoint) [%]
Values greater than 100 % do not make sense in connection with ADI4 because the
DACs of the ADI4 limit the output voltage to 10 V.
PRWRUVSHHIRUOLQHDUD[LV
0'0$B'5,9(B5$7,2B180(5$
YD[LV
0'0$B'5,9(B5$7,2B'(120
QPRWRU
0'0$B/($'6&5(:B3,7&+
0RWRUVSHHGIRUURWDU\D[LV6SLQGOH
0'0$B'5,9(B5$7,2B180(5$
Q0RWRU Q/DVW
0'0$B'5,9(B5$7,2B'(120
● vAxis [mm/min]
● MD31060 $MA_DRIVE_RATIO_NUMERA (load gearbox numerator)
● MD31050 $MA_DRIVE_RATIO_DENOM (load gearbox denominator)
● MD31030 $MA_LEADSCREW_PITCH (leadscrew pitch) [mm/rev]
● nMotor [rpm]
● nLoad [rpm]
Manual
418 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
7UDYHUVHUDWH
'HVLUHGIROORZLQJHUURU
0'0$B326&75/B*$,1
Machine data
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 419
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Digital drives
Digital drives are not subject to drift or compensate for it automatically.
ADI4
As ADI4 does not support acyclic services on the PROFIBUS DP, drift compensation must
be performed manually by entering the appropriate compensation value in the following axial
machine data:
● MD36720 $MA_DRIFT_VALUE (basic drift value)
WARNING
If the DSC function (Direct Servo Control) service is used for an axis, then no drift
compensation can be activated for this axis:
• MD32640 $MA_STIFFNESS_CONTROL_ENABLE (dyn. Stiffness control) = 1
Drift compensation causes extreme speed fluctuations during switch-on/off of the
DSC function.
Manual
420 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Machine data
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 421
NC Commissioning with HMI Advanced
11.5 Axes and spindles
NOTICE
The following is to be taken into account:
• Depending on MD30300 $MA_IS_ROT_AX[n], the velocities have to be entered in
mm/min, inch/min, or rpm.
• If the velocities are changed, MD36200 $MA_AX_VELO_LIMIT[n] (threshold value for
velocity monitoring) must be adapted accordingly.
Machine data
Manual
422 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Setting data
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 423
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Clamping tolerance
Tolerance window for a standing machine axis while the signal "Clamping active" is present
at the PLC interface.
● MD36050 $MA_CLAMP_POS_TOL (clamping tolerance)
● IS DB31,... DBX2.3 (clamping active)
● Alarm "26000 Clamping monitoring"
6
,6ಯ([DFWVWRSFRDUVHರ
,6ಯ([DFWVWRSILQH
$FWXDOYDOXH
,6ಯ&ODPSLQJDFWLYHರ
&/$03B326B72/
6HWSRLQW
67$1'67,//B326B72/
6723B/,0,7B&2$56(
6723B/,0,7B),1(
7LPHW
67$1'67,//B
'(/$<B7,0(
326,7,21,1*B7,0(
Manual
424 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
NOTICE
All position monitoring functions are only active with valid reference point of the
corresponding reference point of the machine axis.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 425
NC Commissioning with HMI Advanced
11.5 Axes and spindles
(0(5*(1&<6723
6SHHGVHWSRLQW>@
0'0$B&75/287B/,0,7>Q@
HJ 0'0$B&75/287B/,0,7>Q@
IRUWHVWPRGH
Manual
426 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
The following machine data is used to define how long the speed setpoint may remain within
the limits before the speed setpoint monitoring responds.
● MD36220 $MA_CTRLOUT_LIMIT_TIME[n] (delay time for speed setpoint monitoring)
Error reaction:
● Alarm "25060 Speed setpoint limiting"
and stopping the machine axis using a speed setpoint ramp whose characteristic curve is set
in the following machine data:
● MD36610 $MA_AX_EMERGENCY_STOP_TIME (braking ramp time when errors occur)
Causes of error/error handling:
● A measuring circuit error or drive error is present.
● Setpoints are too high (accelerations, velocities, reducing factors).
● Obstacle in work area (e.g. positioning on a working table)
=> Overcome obstacle
The speed setpoint consists of the speed setpoint of the position controller and the
feedforward control parameter (if feedforward control is active).
)HHGIRUZDUGFRQWUROYDOXH
WRVSHHG
.9 FRQWUROOHU
)ROORZLQJ
(UURU
6SHHG
VHWSRLQW
3RVLWLRQFRQWUROOHU
PRQLWRULQJ
NOTICE
The limitation of the speed setpoint will turn the control loop into a nonlinear control loop.
Generally, this will result in deviations from the contour and longer dwelling of the machine
axis within the speed setpoint limitation.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 427
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Contour monitoring
Monitoring of the difference between following error measured and following error calculated
from the position setpoint.
● MD36400 $MA_CONTOUR_TOL (contour monitoring tolerance range)
Error reaction:
● Alarm "25050 Contour monitoring"
and stopping the machine axis using a speed setpoint ramp whose characteristic curve is set
in the following machine data:
● MD36610 $MA_AX_EMERGENCY_STOP_TIME (braking ramp time when errors occur)
Causes of error/error handling:
Contour errors are caused by signal distortions in the position control loop.
Execute the following steps for error removal:
● Increase the tolerance band
● Check the Kv factor
The real servo gain must correspond to the desired servo gain set by MD32200
$MA_POSCTRL_GAIN[n] (Kv factor).
HMI-Advanced
Operating area: DIAGNOSIS > Service displays > Service axis.
● Check optimization of the speed controller
● Check smooth running of the axes
● Check machine data for traversing motions
(Feedrate override, acceleration, max. velocities, ... )
Manual
428 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
NOTICE
The axis affected must be re-referenced.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 429
NC Commissioning with HMI Advanced
11.5 Axes and spindles
$;B(0(5*(1&<B6723B7,0(
6HWSRLQWVIURP 6HWSRLQW
3RVLWLRQ
%UDNLQJ 6SHHG
,QWHUSRODWRU SURFHVVLQJ UDPS
FRQWUROOHU VHWSRLQW
&75/287B/,0,7
&RQWUROORRS
PRGHO
352),%86
'3GULYHV
(1&B&+$1*(B72/
(1&B',))B72/ (1&B=(52B021,725,1*
&217285B72/
(1&B)5(4B/,0,7
6767,//B
6723B/,0,7B&2856( )ROORZLQJHUURU $FWYDOSURFHVVLQJ
9(/2B72/
6723B/,0,7B),1(
326,7,21,1*B7,0(
67$1'67,//B'(/$<B7,0(
67$1'67,//B326B72/ $;B9(/2B/,0,7 $FWYDOSURFHVVLQJ
&/$03B326B72/
167ಯ3RVLWLRQPHDVXULQJV\VWHPDFWLYH
Manual
430 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
NOTICE
The following is to be taken into account:
• MD36620 $MA_SERVO_DISABLE_DELAY_TIME (switchoff delay servo enable)
must always be selected greater than
• MD36610 $MA_AX_EMERGENCY_STOP_TIME (braking ramp time when errors
occur)
If this is not the case, the braking ramp cannot be kept.
References:
/FB/ Function Manual, Basic Functions; A3 Axis Monitoring, Protection Zones
Homing
When referencing a machine axis, the actual position value system of the machine axis is
synchronized with the machine geometry. Depending on the encoder type used, the machine
axis is referenced with or without traversing movements.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 431
NC Commissioning with HMI Advanced
11.5 Axes and spindles
167$SSURDFKUHISRLQWGHOD\
'%'%;
1677UDYHOFRPPDQGSOXV
'%'%;
1677UDYHOFRPPDQGPLQXV
'%'%;
1677UDYHOFRPPDQGSOXVPLQXV
'%'%;XQG
1675HIHUHQFHGV\QFKURQL]HG
'%'%;XQG
=HURPDUNSRVLWLRQLQJPHDVXUHPHQW
V\VWHP
9HORFLW\
0'0$B5()3B9(/2B6($5&+B&$0
5HIHUHQFHSRLQWDSSURDFKYHORFLW\
0'0$B5()3B9(/2B326
5HIHUHQFHSRLQWSRVLWLRQLQJYHORFLW\
0'0$B5()3B9(/2B6($5&+B0$5.(5
5HIHUHQFHSRLQWVKXWGRZQYHORFLW\
t
Figure 11-23 Signal chart: Referencing with an incremental measuring system (principle)
Phase-independent data
The following machine data and interface signals are independent with respect to the
individual phases of reference point approach:
● MD11300 $MN_JOG_INC_MODE_LEVELTRIGGRD (INC/REF in jog mode)
● MD34000 $MA_REFP_CAM_IS_ACTIVE (axis with reference cam)
● MD34110 $MA_REFP_CYCLE_NR (axis sequence for channel-specific reference point
approach)
● MD30240 $MA_ENC_TYPE (encoder type)
● MD34200 $MA_ENC_REFP_MODE (referencing mode)
● IS DB21, ... DBX1.0 ("Activate referencing")
● IS DB21, ... DBX33.0 ("Activate referencing")
Manual
432 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
WARNING
If the reference cam is not calibrated exactly, it is possible that a wrong zero mark is
evaluated after the reference cam has been left. As a result, the control system will take
a wrong machine zero.
Software limit switches, protection areas and work area limits will thus also be active for
the wrong positions. The difference is equivalent to ± 1 encoder revolution in each case.
Danger for man and machine exists!
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 433
NC Commissioning with HMI Advanced
11.5 Axes and spindles
167$SSURDFKUHISRLQWGHOD\
'%'%;
1677UDYHOFRPPDQGPLQXV
'%'%;
1677UDYHOFRPPDQGSOXVPLQXV'%'%;XQG
1675HIHUHQFHG6\QFKURQL]HG'%'%;XQG
5HIHUHQFHPDUNOHQJWKPHDVXULQJV\VWHP
9HORFLW\
0'0$B5()3B9(/2B326
5HIHUHQFHSRLQWSRVLWLRQLQJYHORFLW\
0'0$B5()3B9(/2B6($5&+B0$5.(5
5HIHUHQFHSRLQWVKXWGRZQYHORFLW\
W
3KDVH 3KDVH
Manual
434 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Phase-independent data
The following machine data and interface signals are independent with respect to the
individual phases of reference point approach:
● MD11300 $MN_JOG_INC_MODE_LEVELTRIGGRD (INC/REF in jog mode)
● MD34000 $MA_REFP_CAM_IS_ACTIVE (axis with reference cam)
● MD34110 $MA_REFP_CYCLE_NR (axis sequence for channel-specific reference point
approach)
● MD30240 $MA_ENC_TYPE (encoder type)
● MD34200 $MA_ENC_REFP_MODE (referencing mode)
● MD34310 $MA_ENC_MARKER_INC (interval between two reference marks)
● MD34320 $MA_ENC_INVERS (inverse measuring system)
● IS DB21, ... DBX1.0 ("Activate referencing")
● IS DB21, ... DBX33.0 ("Activate referencing")
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 435
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Properties of phase 2:
● The feedrate override (feedrate switch) is active.
● The feed stop (channelspecific and axisspecific) is active.
● The machine axis can be stopped and restarted with NC-stop/NC-start.
WARNING
The position measuring system must be referenced again after determining the
absolute offset and making the entry in the following machine data:
MD34090 $MA_REFP_MOVE_DIST_CORR (absolute offset)
References:
/FB1/ Function Manual - Basic Functions, R1 Reference point approach, Chapter
"Referencing on length measuring systems with distance-coded reference marks"
Absolute encoders
Initial referencing of the measuring system of a machine axis with absolute encoder is
performed by calibrating the encoder.
Manual
436 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Follow-up referencing
Follow-up referencing of a machine axis is performed automatically while the NC starts up
without axis movement. The following conditions must be fulfilled:
● The measuring system of the machine axis active after the booting of the NC works with
the absolute encoder
● The absolute encoder is calibrated:
MD34210 $MA_ENC_REFP_STATE[n] = 2 (absolute value encoder is calibrated)
Adjusting
To calibrate the absolute encoder, the actual value of the encoder is matched with the
machine zero once and then enabled.
The SINUMERIK 840Di sl supports the following types of calibration:
● Operator-assisted calibration
● Automatic calibration using probe
● Calibration using BERO
The calibration using the probe and BERO is described in:
References:
/FB/ Function Manual - Basic Functions, R1 Reference point approach, Chapter "Automatic
calibration using probe, Calibration with BERO"
Operator-assisted calibration
During operator-assisted calibration, the machine axis of the absolute encoder is moved to
the known machine position (reference position). The position value of the reference position
is taken over by the NC as the reference point value.
Recommended procedure:
1. Parameterization of referencing mode
– MD34200 $MA_ENC_REFP_MODE[n] = 0
2. Approaching referencing position
Traversing the machine axis to the referencing position in JOG mode. Approach direction
according to machine data:
– MD34010 $MA_REFP_CAM_DIR_IS_MINUS (reference point approach in minus
direction) (0 = positive, 1 = negative approach direction)
NOTICE
To avoid the actual position of the machine axis being falsified by backlash in the
drive train, reference point approach must be performed at low velocity and always
from the same direction.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 437
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Note
Pressing the traverse direction key does not move the machine axis!
The NC then calculates the reference point offset and enters it in the following machine
data:
● MD34090 $MA_REFP_MOVE_DIST_CORR[n] (reference point offset)
To indicate that calibration has been completed, the value in the machine data changes
from 1 = enable encoder calibration to 2 = encoder calibrated:
● MD34210 $MA_ENC_REFP_STATE[n] = 2
The value from the following machine data is shown as the actual position of the machine
axis on the user interface:
● MD34100 $MA_REFP_SET_POS[n] (reference point value)
Recalibration
Recalibration of the absolute encoder is required e.g. after:
● Gear change between load and absolute encoder
● Set actual values (PRESETON)
● Removal/installation of the absolute value encoder
● Removal/installation of the motor with the absolute value encoder
● SRAM data loss of the NC
● Battery failure
Manual
438 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
NOTICE
The NC can detect a required readjustment of the absolute value encoder only during
the following events:
• Gear change with change of gear ratio
• Response to zero mark monitoring (alarm 25020)
• New encoder serial number after replacing the absolute encoder
Subsequently, the status of the absolute value encoder will be set back to 0
automatically by the NC (encoder not adjusted):
• MD34210 $MA_ENC_REFP_STATE[n] = 0
In all other cases, it is the sole responsibility of the user to indicate the uncalibrated
state of the absolute encoder by manually resetting the status to 0 (Encorder not
calibrated) and to repeat the calibration.
References:
/FB1/ Function Manual, Basic Functions, R1 Reference point travel, Chapter "Referencing
with absolute value encoders"
Interface signals
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 439
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Machine data
Table 11-38 Referencing: Machine data
Manual
440 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
References:
/FB/ Function Manual, Basic Functions, R1 Reference Point Approach
NOTICE
After the default machine data have been loaded, no spindle is defined.
Spindle definition
By setting the following machine data, a machine axis is declared as an endlessly rotating
rotary axis whose modulo 360 degree programming and display take place:
● MD30300 $MA_IS_ROT_AX (rotary axis/spindle)
● MD30310 $MA_ROT_IS_MODULO (modulo conversion for rotary axis/spindle)
● MD30320 $MA_DISPLAY_IS_MODULO (modulo 360 degrees display for rotary
axis/spindle)
The machine axis is converted to a spindle by defining the spindle number x (with x = 1,
2, ...max. number of channel axes) in machine data:
● MD35000 $MA_SPIND_ASSIGN_TO_MACHAX (spindle number)
The spindle number must be unambiguous within the channel axes of the channel to which
the spindle is assigned, i.e. several spindles can be defined with spindle number 1 provided
they are assigned different channels (for assigning machine axes to channels, please refer
to Subsection "Axis configuration" (Page 385)).
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 441
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Spindle modes
The diagram below illustrates the spindle modes and possible transitions between them.
2VFLOODWLRQPRGH 6\QFKURQRXVPRGH
*HDU *HDU
FKDQJHG &28321 &2832)
FKDQJH 6326DQG6326$
&RQWUROPRGH 3RVLWLRQLQJPRGH
63&2)
000
0
0 6326
63&2) 6326$
000 $[LVPRGH $[LVQDPH
0
* *
5LJLGWDSSLQJ
Default mode
The following machine data can be used to define the default mode of a spindle at a defined
time:
● MD35020 $MA_SPIND_DEFAULT_MODE (spindle home position)
● MD35030 $MA_SPIND_DEFAULT_ACT_MASK (effective time of spindle home position)
0'0$B63,1'B'()$8/7B$&7B0$6.
5(6(7
1&67$57
3RZHU2Q
ZLWKSRVFRQWU
6SHHGPRGH
ZRSRVFRQWU
6SHHGPRGH
3RVLWLRQLQJ
$[LVPRGH
PRGH
6WDQGDUGVHWWLQJ
0'0$B63,1'B'()$8/7B02'(
Manual
442 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Axis mode
It is possible to switch directly from spindle mode to axis mode, provided the same drive is
used for both modes.
1. Transition to axis mode by programming the spindles using their axis names or by M70.
2. If the axis is not synchronized, e.g. position control enabled with M70, the axis has to be
referenced with G74 first. Only then does the mechanical position match the programmed
one.
3. It is switched over to the current feedforward control mode marked by the machine data
and commands FFWON and FFWOF.
Special features
The following characteristics apply to the axis mode of a spindle:
1. The feed override switch is active.
2. IS "Reset" (DB21, ... DBX7.7) does not terminate axis mode as standard.
3. The interface signals DBB16 to DBB19 and DBB82 to DBB91 in DB31, ... are of no
significance if the IS "Axis/no spindle" (DB31, ... DBX60.0) is set to zero.
4. Axis mode can be activated in all gear steps. If the position actual value encoder is
installed on the motor (indirect measurement system), the positioning and contouring
accuracy can vary for the different gear stages.
5. The gear step cannot be changed when the axis mode is active. The spindle must be
switched to control mode. This is done using M41 ... M45.
6. In axis mode, the machine data of the 1st parameter record (index zero) will apply to be
able to make adaptations.
Master spindle
For example, to be able to use the following spindle functions in a channel, a master spindle
has to be defined in the corresponding channel:
● G95 Revolutional feedrate
● Tapping with compensation chuck (G63)
● Thread cutting (G33)
● Dwell time in spindle revolutions (G4 S...)
The master spindle is defined in the following machine data:
● MD20090 $MC_SPIND_DEF_MASTER_SPIND (Position of deletion of the master spindle
in the channel)
The spindle number of the spindle of the channel defined in the following machine data is
entered in the machine data. This spindle should be the master spindle.
● MD35000 $MA_SPIND_ASSIGN_TO_MACHAX (spindle number)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 443
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Spindle reset
The following machine data is used to define whether the spindle should remain active via
Reset (IS DB21,... DBX7.7) or Program end (M02/M30) even subsequently:
● MD35040 $MA_SPIND_ACTIVE_AFTER_RESET (spindle active after reset)
To cancel spindle movements, an independent spindle reset is required:
● IS DB31,... DBX2.2 (spindle reset)
References:
/FB1/ Function Manual - Basic Functions, S1 Spindles
Parameter sets
In spindle mode of a spindle, the NC will select the parameter set that suits the current gear
stage best.
Gear stage x => parameter set (x+1) => index [x]
In axis mode of a spindle, the NC always selects the 1st parameter set (index [0],
independent of the current gear stage.
The machine data listed in the following are gear stage-dependent machine data of a spindle:
● MD35110 $MA_GEAR_STEP_MAX_VELO[n] (nmax for gear stage change)
● MD35120 $MA_GEAR_STEP_MIN_VELO[n] (nmin for gear stage change)
● MD35130 $MA_GEAR_STEP_MAX_VELO_LIMIT[n] (nmax for gear stage)
● MD35140 $MA_GEAR_STEP_MIN_VELO_LIMIT[n] (nmin for gear stage)
● MD35200 $MA_GEAR_STEP_SPEEDCTRL_ACCEL[n] (acceleration in speed-control
mode)
● MD35210 $MA_GEAR_STEP_POSCTRL_ACCEL[n] (acceleration in position control
mode)
Manual
444 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Encoder matching
When parameterizing the measuring systems of spindles, the same conditions apply as for
parameterization of the measuring systems of rotary axes. This multiplication is 2048.
For incremental measuring systems see Subsection "Parameterization of incremental
measuring systems" (Page 396).
For absolute measuring systems see Subsection "Parameterization of absolute measuring
systems" (Page 399).
NOTICE
If the motor encoder is used for actual-value sensing, the encoder matching data must be
entered in the machine data for each individual gear stage if several gear stages are
present.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 445
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Manual
446 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Gear stage 2:
6SHHGFRQWUROOHU
UHYPLQ
0D[LPXPVSLQGOHVSHHG
0D[LPXPVSHHGRIJHDUVWDJH
0D[LPXPVSHHGRIJHDUFKDQJH
0D[LPXPVSHHGRIJHDUVWDJH
0D[LPXPVSHHGIRUJHDUFKDQJH
0LQLPXP6SHHGIRUJHDUFKDQJH
0LQLPXP6SHHGIRUJHDUVWDJH
0LQLPXP6SHHGIRUJHDUFKDQJH
0LQLPXP6SHHGIRUJHDUVWDJH
0LQLPXPVSLQGOHVSHHG
*HDUVWDJH
Figure 11-27 Example for speed ranges for automatic gear stage selection (M40)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 447
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Direction of rotation
The direction of rotation of a spindle corresponds to the traversing direction of an axis.
Setpoint matching
The speeds must be transferred with standardized values for the drive controller. The values
are scaled in the NC using the selected load gear and the appropriate drive parameter.
6SHHGQ
1RUPDOL]DWLRQYDOXH3
+6SHHGVHWSRLQWORZUHVROXWLRQ
+6SHHGVHWSRLQWKLJKUHVROXWLRQ
The desired speed on the spindle is obtained using a mechanical gear stage.
Manual
448 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Machine data
Table 11-39 Speeds and setpoint adjustment for spindle: Machine data
Interface signals
Table 11-40 Speeds and setpoint adjustment for spindle: Interface signals
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 449
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Functionality
● At absolute position (0-360 degree)
● Incremental position (+/- 999999.99 degree)
● Block change when position reached
● Block change on block end criterion
The control brakes the spindle down to creep speed at the acceleration rate for speed
operation.
If the creep speed has been reached (INT "Spindle in setpoint range"), the control branches
into position control mode and the acceleration rate for position control mode and the KV
factor become active.
The interface signal "Exact stop fine" is output to indicate that the programmed position has
been reached (block change when position reached).
Acceleration rate for position control mode must be set such that the current limit is not
reached. Acceleration rate must be entered separately for each gear step.
If the spindle is positioned from zero speed, it is accelerated up to a maximum speed
corresponding to creep speed; the direction is defined via machine data. The contour
monitoring function is activated as soon as the control mode switches to position control.
Machine data
Manual
450 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Interface signals
Implementation
To allow the spindle to be positioned from the NC, its position has to be adjusted using the
measuring system. This operation is called "synchronization".
As a rule, synchronizing is done to the zero mark of the connected encoder or to a BERO as
zero mark substitute.
The following machine data defines the actual position of the spindle at the zero mark
position:
● MD34100 $MA_REFP_SET_POS (reference point value)
The zero mark offset is entered in the following machine data:
● MD34090 $MA_REFP_MOVE_DIST_CORR (reference point offset)
The following machine data specifies which signal is used for synchronization:
● MD34200 ENC_REFP_MODE (referencing mode)
1 = Encoder zero mark
2 = Bero
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 451
NC Commissioning with HMI Advanced
11.5 Axes and spindles
&KXFN
%(52
0RWRU
*HDU 0RWRU
HQFRGHU
0RWRU
3RZHU HQFRGHU
FRQQHFWLRQ FDEOH
7RRWKHGEHOW
'ULYH
NOTICE
The following is to be taken into account:
• To synchronize the spindle, it must always be rotated using a programming
command (e.g. M3, M4, SPOS). The specification of a spindle speed using the
direction keys of the machine control panel is not sufficient.
• If the spindle encoder is not mounted directly on the spindle and there are speed-
transforming gears between the encoder and spindle (e.g. encoder mounted on
motor), then a reference cam signal connected to the drive module must be used for
synchronization.
The control system then automatically resynchronizes the spindle after each gear
stage change. The user does not have to contribute anything here.
• In general, backlash, gearbox elasticity and reference cam hysteresis reduce the
accuracy achievable during synchronization.
Manual
452 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Machine data
Interface signals
Axis/spindle stationary
If the velocity falls below the one specified in the following machine data, then the interface
signal IS DB31,... DBX61.4 (axis/spindle stops) is set:
● MD36060 $MA_STANDSTILL_VELO_TOL (maximum velocity/speed for "Axis/Spindle
stopped")
The path feedrate is then released in the following set machine data:
● MD35510 $MA_SPIND_STOPPED_AT_IPO_START (feed enable for "Spindle stopped")
is set,
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 453
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Manual
454 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
6SHHGFRQWUROHU
0D[LPXPHQFRGHUOLPLWIUHTXHQF\
0D[LPXPVSLQQGOHVSHHG
0D[LPXPVSLQGOHVSHHGIRUFXUUHQWJHDUVWDJH
3URJUDPPDEOHVSLQGOHVSHHGOLPLJ*
3URJUDPPDEOHVSLQGOHVSHHGOLPLW/,06
3URJUDPPDEOHPLQQLPXPVSLQGOHVSHHG*
0LQLPXPVSLQGOHVSHHGIRUFXUUHQWJHDUVWDJH
0D[YHORFLW\VSHHGಯ$[LVVSLQGOHVWRSSHGರ
,6$[LV6SLQGOHVWDWLRQDU\QPLQ
6SHHGUDQJHRIVSLQGOHRUVSLQGOHFKXFN
6SHHGUDQJHRIFXUUHQWJHDUVWDJH
6SHHGUDQJHRIFXUUHQWJHDUVWDJHOLPLWHGE\
*DQG*
6SHHGUDQJHRIFXUUHQWJHDUVWDJHZLWKFRQVWDQW
FXWWLQJUDWH*DQG*
,65HIHUHQFHGV\QFKURQL]HG
References:
/FB1/ Function Manual - Basic Functions, S1 Spindles, Chapter "Spindle Monitoring"
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 455
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Machine data
Manual
456 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Setting data
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 457
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Interface signals
Manual
458 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.5 Axes and spindles
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 459
NC Commissioning with HMI Advanced
11.6 Handwheels
11.6 Handwheels
Connection options
Handwheels can be connected to a SINUMERIK 840Di sl via the following interfaces:
● PROFIBUS DP (only via MCI board interface X101)
● Ethernet
● Cable distributor (via MCI board extension)
In order to operate handwheels of a SINUMERIK control system, they have to be
parameterized via NC machine data. If handwheels are not connected via a cable distributor,
additional measures may be required. For example, with connection via PROFIBUS DP, the
module must also be configured with SIMATIC STEP 7, HW Config.
Note
• Only six handwheels can be parameterized on a SINUMERIK 840Di sl.
• It is possible to operate handwheels that are connected via different interfaces (cable
distributor, PROFIBUS, Ethernet) at the same time.
Parameter assignment
Parameterization of handwheels connected via cable distributor is done via the following NC
machine data:
● MD11350 $MN_HANDWHEEL_SEGMENT[x] = 1
with x = Handwheel No._in_NCK - 1
When connected via cable distributor, the hardware segment has always to be entered as
1 (local hardware segment).
● MD11351 $MN_HANDWHEEL_MODULE[x] = 1
with x = Handwheel No._in_NCK - 1
When connected via cable distributor, the hardware module has always to be entered as
1.
● MD11352 $MN_HANDWHEEL_INPUT[x] = <handwheel connection>
with x = Handwheel No._in_NCK - 1
Handwheel connection used: 1 or 2
Manual
460 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.6 Handwheels
Note
A maximum of two handwheels can be connected via the cable distributor.
Example
Direct connection of 2 handwheels via a cable distributor.
Value
1. Handwheel
MD11350 $MN_HANDWHEEL_SEGMENT[0] 1 Connection via cable distributor always 1
MD11351 $MN_HANDWHEEL_MODULE[0] Connection via cable distributor always 1
MD11352 $MN_HANDWHEEL_INPUT[0] 1. Handwheel connection at cable distributor
2. Handwheel
MD11350 $MN_HANDWHEEL_SEGMENT[1] Connection via cable distributor always 1
MD11351 $MN_HANDWHEEL_MODULE[1] Connection via cable distributor always 1
MD11352 $MN_HANDWHEEL_INPUT[1] 2. Handwheel connection at cable distributor
Parameter assignment
Parameterization of handwheels connected via PROFIBUS modules, e.g. machine control
panel "MCP 483", is done with the following NC machine data:
● MD11350 $MN_HANDWHEEL_SEGMENT[x] = 5
with x = Handwheel No._in_NCK - 1
When connected via PROFIBUS module, the hardware segment has always to be
entered as 5 (PROFIBUS).
● MD11351 $MN_HANDWHEEL_MODULE[x] = <Index + 1>
with x = Handwheel No._in_NCK - 1
The reference to the MD11353 $MN_HANDWHEEL_LOGIC_ADDRESS[<Index>]
containing the logical base address of the handwheel slot is to be entered.
● MD11352 $MN_HANDWHEEL_INPUT[x] = <number_in_handwheel slot>
with x = Handwheel No._in_NCK - 1
A handwheel slot can contain several handwheels. The number of the handwheel within
the handwheel slot has to be entered: 1, 2, ...
● MD11353 $MN_HANDWHEEL_LOGIC_ADDRESS[<Index>] = 1
<Logical base address>
The logical base address of the handwheel slot, specified in SIMATIC STEP 7, HW-
Config, has to be entered.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 461
NC Commissioning with HMI Advanced
11.6 Handwheels
Handwheel slot
The PROFIBUS module must be configured besides the parameterization of handwheels in
the NC machine data in STEP 7. Among others the logical address of the handwheel slot is
specified.
The handwheel slot is situated at the following slot of the PROFIBUS module:
Example
Parameterization of 5 handwheels, connected via 4 machine control panels "MCP 483". A
maximum of two handwheels can be connected to a machine control panel "MCP 483".
The fourth handwheel in the NC has not been used (gap in machine data).
Note
Machine data gaps are allowed when parameterizing handwheels in NC machine data.
Machine control panels have been configured in SIMATIC STEP 7, HW Config as follows:
Manual
462 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.6 Handwheels
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 463
NC Commissioning with HMI Advanced
11.6 Handwheels
Parameter assignment
Parameterization of handwheels connected via Ethernet modules, e.g. machine control
panel "MCP 483C IE", "HT 8" or "HT 2" is done with the following NC machine data:
● MD11350 $MN_HANDWHEEL_SEGMENT[< x - 1 >] = 7
When connected via Ethernet module, the segment always has to be entered as 7
(Ethernet).
● MD11351 $MN_HANDWHEEL_MODULE[< x - 1 >] = 1
When connected via Ethernet module, the module always has to be entered as 1.
● MD11352 $MN_HANDWHEEL_INPUT[< x - 1 >] = y
with y = 1, 2, 3, ... (handwheel interface at the Ethernet bus)
with x = 1, 2, 3, ... (handwheel number in the NC)
Manual
464 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.6 Handwheels
Example
Parameterization of 3 handwheels, connected via the following operator components:
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 465
NC Commissioning with HMI Advanced
11.6 Handwheels
Manual
466 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.7 Digital and analog I/O devices
NOTICE
The digital and analog inputs/outputs connected via the PROFIBUS DP are equally
available to both the NC and PLC.
It is the sole responsibility of the user to avoid access conflicts:
• NC side: Part program/synchronized action
• On the PLC side: PLC user program
References:
/FB/ Function Manual for Extended Functions, A4 Digital and Analogue NC I/Os
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 467
NC Commissioning with HMI Advanced
11.7 Digital and analog I/O devices
Maximum number
The maximum number of digital or analog inputs/outputs that can be used for the NC is:
Note
The first digital input and output byte is permanently assigned to the MCI board extension
module (option). Therefore you can connect a maximum of 4 additional input/output bytes to
the PROFIBUS DP via signal modules. See configuration example Subsection
"Configuration example" (Page 473).
Machine data
The number of used analog and digital inputs/outputs is set in the following machine data
parameters:
Analog I/Os
● MD10300 $MN_FASTIO_ANA_NUM_INPUTS ("number of active analog NC inputs")
● MD10310 $MN_FASTIO_ANA_NUM_OUTPUTS ("number of active analog NC outputs")
Digital inputs/outputs
● MD10350 $MN_FASTIO_DIG_NUM_INPUTS ("number of active digital NC input bytes")
● MD10360 $MN_FASTIO_DIG_NUM_OUTPUTS ("number of active digital NC output
bytes")
Manual
468 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.7 Digital and analog I/O devices
Machine data
Analog I/Os
● MD10362 $MN_HW_ASSIGN_ANA_FASTIN[n] ("hardware assignment of external analog
inputs") per input, where n = 0-7
● MD10364 $MN_HW_ASSIGN_ANA_FASTOUT[n] ("hardware assignment of external
analog outputs") per output, where n = 0-7
Digital inputs/outputs
● MD10366 $MN_HW_ASSIGN_DIG_FASTIN[n] ("hardware assignment of external digital
inputs"), per input byte - where n = 0-3
● MD10368 $MN_HW_ASSIGN_DIG_FASTOUT[n] ("hardware assignment of external
digital outputs"), per outputbyte - where n = 0-3
Input format:
($+LJK ($/RZ
6($DGGUHVV/RZSDUW
KH[DGHFLPDO
6($DGGUHVV+LJKSDUW
KH[DGHFLPDO
DOZD\V
DOZD\VLGHQWLILHU
352),%86,2V
Note
• The relevant firstdigital inputs/outputs bytes defined via the following machine data is
related to the 4 digital inputs/outputs of the MCI board extension module:
– MD10350 $MN_FASTIO_DIG_NUM_INPUTS
– MD10360 $MN_FASTIO_DIG_NUM_OUTPUTS
Explicit assignment in machine data is not possible. Therefore, the machine data
required to assign the digital and analog inputs/outputs refer exclusively to the signal
modules connected via the PROFIBUS DP.
• The I/O address to be entered in the machine data hexadecimally is the decimal I/O
address of the respective signal module slot allocated by "HW Config" or set manually.
• If a slot comprises several I/O bytes or addresses the NC occupies the entire slot when
an I/O byte is assigned. This means I/O bits not used for the NC cannot be written by the
PLC user program .
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 469
NC Commissioning with HMI Advanced
11.7 Digital and analog I/O devices
Note
The digital inputs/outputs are organized as follows:
• Hardware assign machine data: Byte by byte
• System variables: Bit by bit
Manual
470 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.7 Digital and analog I/O devices
Digital inputs
The following configuration example shows the relationship between digital input bytes and
system variables by means of the configuration of 3 digital inputs bytes.
This configuration example requires the following:
● MCI board extension module: 1 input byte
● PROFIBUS DP signal modules: 2 input bytes
The MCI board extension module is always assigned to a digital input byte. Digital input
bytes of external signal modules must therefore always be counted as additional input bytes:
● MD10350 $MN_FASTIO_DIG_NUM_INPUTS = 1 + m,
with m = number of input bytes of external signal modules
Because the 1st input byte is permanently assigned to the MCI board extension module, only
the input bytes of the external signal modules have to be explicitly assigned to the system
variables.
● MD10366 $MN_HW_ASSIGN_DIG_FASTIN[0] -> 1. external input byte
● MD10366 $MN_HW_ASSIGN_DIG_FASTIN[1] -> 2. external input byte
ZLWKൺVWGLJLQSXWE\WHRIWKH0&,ERDUGH[WHQVLRQPRGXOHDOZD\VVHHWH[W
0&,ERDUGH[PRGXOH 6\VWHPYDULDEOH
$B,1>@$B,1>@
0'01B+:B$66,*1B',*B)$67,1>Q@
($+LJK ($/RZ $B,1>@$B,1>@
($+LJK ($/RZ $B,1>@$B,1>@
If the optional MCI board extension module does not exist, assignment in the machine data
must still be made as stated because the 1st input byte is internally permanently assigned to
this module. System variables $A_IN[1] to $A_IN[4] do not then contain information.
Digital outputs
Digital outputs must be configured as described above for digital inputs.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 471
NC Commissioning with HMI Advanced
11.7 Digital and analog I/O devices
70$3&
70
1&.
3RVLWLRQFRQWUROHU
5/DJHU 5,QWHUSRO
DQGLQWHUSRODWRU
7'3 7';
'3VODYH
5 5 5 5 5 5
6LJQDOPRGXOH
Figure 11-32 Dynamic response when outputting an output signal with optimized DP-Cycle
Manual
472 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.7 Digital and analog I/O devices
● TM
Master time: Offset of the start time for NC position control
● GC
Global Control: Broadcast message for cyclic convergence of the equidistance between
DP master and DP slaves
● R
Computational time of position controller or signal module
● Dx
Useful data exchange between the DP master and DP slaves
● MSG
Acyclic services (e.g. DP/V1, pass token)
● RES
Reserve: "Active break" until the equidistant cycle has expired
● ①
Set the system variables, e.g. $A_OUT[8] in the part program or synchronized action
● ②
Transmit the output signal to the signal module via the PROFIBUS DP
● ③
Connect the signal to the output of the module.
Note
The following is to be taken into account:
• The I/O addresses of the modules are assigned automatically by "HW Config" (manual
adjustment is possible).
• Each I/O address is related to an input/output byte.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 473
NC Commissioning with HMI Advanced
11.7 Digital and analog I/O devices
,0 $',
85
3/&'306$-
; '3PDVWHU
&3
Figure 11-33 Example configuration: SINUMERIK 840Di sl with ET200 and ADI4
Manual
474 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.7 Digital and analog I/O devices
Machine data
Parameterization of the NC machine data is shown below:
ET 200
3 input bytes
ADI4
1 input byte
Note
Although only 4 input bytes are used, 5 must be declared. The 1st input byte is always
assigned to the MCI board extension module even if it is not installed:
● MD10350 $MN_FASTIO_DIG_NUM_INPUTS = 5
Note
Although only 4 output bytes are used, 5 must be declared. The 1st output byte is always
assigned to the MCI board extension module even if it is not installed:
● MD10360 $MN_FASTIO_DIG_NUM_OUTPUTS = 5
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 475
NC Commissioning with HMI Advanced
11.7 Digital and analog I/O devices
● ADI4
The high byte of the input word (slot 21)
– MD10366 $MN_HW_ASSIGN_DIG_FASTIN[3] = H050010E7 (4327D)
Machine data
Manual
476 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.7 Digital and analog I/O devices
Setting data
Interface signals
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 477
NC Commissioning with HMI Advanced
11.8 Loadable compile cycles
Product brief
Compile cycles are functional expansions of the NC system software that can be created by
the operator and/or by Siemens and then imported in the control later.
As part of the open NC system architecture, compile cycles have comprehensive access to
data and functions of the NC system level via defined software interfaces. Therefore, you
can use compile cycles to expand the functionality of the NC as much as you require or
redefine it as far as allowed by the interfaces.
Including a compile cycle in the NC system software is performed by loading the compile
cycle into the file system of the NC. The compile cycle can be loaded at any time.
Note
Compile cycles created by Siemens are options that require explicit activation and licensing.
References:
Ordering information in Catalog NC 61
Manual
478 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.8 Loadable compile cycles
Requirement
To transfer the compile cycle to the control, the following requirements must be met:
● There is a network connection (TCP/IP) between the PCU and an external computer
(PC/PG) on which the compile cycle is located.
● Storage media can be connected to the PCU (e.g. USB FlashDrive) on which the compile
cycle is saved.
Implementation
Perform the following operation to load one or more compile cycles into the NC:
1. End the active SINUMERIK user interface (e.g. HMI Advanced) and activate the
SINUMERIK desktop (see Chapter "Activation" (Page 135)).
2. Use Windows Explorer to copy the compile cycle file (e.g. ccresu.elf) from the external
computer (PC/PG) or the CD/disk drive to the following directory on the PCU:
F:\card\oem\sinumerik\oa\
3. Trigger an NC reset to load the compile cycles into the NC system software.
&&,QWHUIDFH9HUVLRQ
#1&.23,#,QWHUIDFHV 6WHOOH!6WHOOH!
/RDGHG&RPSLOH&\FOHV
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 479
NC Commissioning with HMI Advanced
11.8 Loadable compile cycles
● Interface version of a compile cycle that has not yet been loaded
HMI Advanced (excerpt):
Services > <Medium> > "Properties" softkey
Display:
,QKDOWORDGDEOHFRPSLOHF\FOH
,QWHUIDFH#,QWHUIDFHV VWGLJLW!QGGLJLW!
&&,QWHUIDFH9HUVLRQ
#1&.23,
/RDGHG&RPSLOH&\FOHV
,GHQWLILHU!9HUVLRQ!'DWHJHQHUDWHG!
&&VWDUWDGGUHVV
B1B,GHQWLILHU!9HUVLRQ!,)VWGLJLW!QGGLJLW!B(/)
Example:
_N_CLC407IF003001_ELF corresponds to interface version: 3.1
dependencies
The following dependencies exist between the interface versions of a compile cycle and the
NC system software:
● 1. Digit of the interface version number
The 1st digit of the interface version number of a compile cycle and the NC system
software must be the same.
● 2. Digit of the interface version number
The 2nd digit of the interface version number of a compile cycle must be less than or
equal to the 2nd digit of the NC system software.
CAUTION
If alarm 7200 is displayed after the NC has booted, this means no compile cycle has
been loaded!
Manual
480 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.8 Loadable compile cycles
&&,QWHUIDFH9HUVLRQ
#1&.23,
/RDGHG&RPSLOH&\FOHV
,GHQWLILHU!9HUVLRQ!'DWHJHQHUDWHG!
&&VWDUWDGGUHVV
B1B,GHQWLILHU!9HUVLRQ!,)VWGLJLW!QGGLJLW!B(/)
&RGH $GUHVVH!
'DWD $GUHVVH!
Example:
_N_CLC407IF003001_ELF corresponds to software version: 4.7
Note
The display of code and data range start addresses of a compile cycle are provided for
diagnostics purposes only and have no significance in normal operation.
11.8.4 Constraints
The following checks are performed for all loaded compile cycles when the NC boots:
Interface versions
If the interface version of the compile cycle is incompatible with the interface version of the
NC system software, the following alarm is displayed:
● Alarm "7200 Version_conflict_with_CCNCKInterfaceVersion".
dependencies
If one compile cycle has a functional dependency on another, and this has not been loaded
in the NC, the following alarm is issued:
● Alarm "7200 CC<Identifier>_ELF Loader_problem_from_dFixup"
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 481
NC Commissioning with HMI Advanced
11.8 Loadable compile cycles
System enables
If the compile cycle is not enabled in conjunction with SINUMERIK 840Di sl or 840DiE sl, the
following alarm is issued:
Not enabled for SINUMERIK 840Di sl:
● Alarm "7200 CC<Identifier>_ELF NO_840Di"
Not enabled for SINUMERIK 840DiE sl:
● Alarm "7200 CC<Identifier>_ELF NO_EMBARGO"
CAUTION
If alarm "7200 . . . " is present after an NC startup, none of the loaded compile cycles is
active.
Manual
482 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.8 Loadable compile cycles
60900 + i CC_ACTIVE_IN_CHAN_XXXX[n]
where i = 0. 1. 2. 3 ... with: XXXX = function identifier, n = 0 or 1
MD number n = 0: Activating the technology function in channels
n = 1: Additional functions within the technology function
Default setting: 0 Min. input limit: 0 Max. input limit: FFFF
Changes effective after RESET Protection level: 2/7 unit: -
Data type: UINT16 Valid as of software version: 2.2
Meaning: Activating the technology function in the channels:
The technology function is activated in the channels by means of index n = 0.
Bit 0 = 1: Technology function activated in Channel 1
Bit n = 1: Technology function activated in channel n+1
For more details about which channels a technological function can be activated, please
refer to the manuals below.
Additional functions within the technology function:
The MD with index n = 1 activates additional functions within the relevant technology
function. See References below.
References:
/FB3/ Function Manual - Special Functions TE1-TE8.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 483
NC Commissioning with HMI Advanced
11.9 PROFIBUS DP
11.9 PROFIBUS DP
Note
The following drives can be operated in mode 0 (immediate shutdown).
• SINAMICS S120
• SIMODRIVE 611U/UE, POSMO SI/CD/CA
11250 PROFIBUS_SHUTDOWN_TYPE
MD number PROFIBUS shutdown handling
Default setting: 0 Min. input limit: 0 Max. input limit: 2
Changes effective after RESET Protection level: 2/7 unit: -
Data type: UINT8 Valid as of software version: 2.2
Meaning: Shut-down modes of PROFIBUS DP communication:
0 = The PROFIBUS DP communication is shut down at the DP master end without any
warning.
1 = The PROFIBUS DP is moved to the CLEAR state for at least 20 cycles. The PROFIBUS
DP communication is finally shut down. If the PROFIBUS DP cannot be switched to the
CLEAR state, please proceed as described in 2.
The following is to be used with: SINUMERIK 840D with DP-Link module.
2 = Zero values are transmitted for at least 20 clock cycles for all DP slave drives connected
to PROFIBUS DP for the following frame data:
• Control word 1
• Control word 2
The PROFIBUS DP communication is finally shut down.
To be used with: SINUMERIK 840Di sl in conjunction with external drives.
Manual
484 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.10 Initial settings
Concept
The status of an NC function, e.g. G codes, tool length offset, transformation, coupled motion,
etc., which is taken in a certain status of a channel is a default setting.
Channel states for which default settings can be parameterized are:
1. Power up (NC reset), reset (channel or mode group reset) and end of part program
and
2. Part program start
The default setting of an NC function is stored until it is explicitly changed by operation or
programming.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 485
NC Commissioning with HMI Advanced
11.11 NC/PLC Diagnosis
Operating path
The menu of the NC/PLC diagnostics is located in the following operating path:
● Operating area switchover > Diagnosis > NC/PLC Diagnosis > Diagnosis
&RPPLVV
LRQLQJ &+$1 -2*5HI 03)
&KDQQHO5(6(7 3URJUDPDERUWHG 3/&
529 5813
3/&
1&. 3/& 581
UXQQLQJ
6) 3/&
1&.5HVHW 1&.'HIDXOW'DWD 6723
5813
%$7/
$FNQRZOHGJHDODUP %$7) 581 3/&
'HOHWH3UJ
)25&( 6723
1&.ODWHQFLHV
581 3/&
3/&'HOHWH 'HIDXOW'DWD
6723
3URJUDP
%86
PV 3/&'HIDXOW 1&.
%86 'DWD 5HVHW
1&.
'HIDXOW'DWD
7LPHVHF
!!
'LDJQRVWLFV 3URSHUWLHV
Group: NC
The following functions are grouped together in the NC group box:
● NC status
The current state of the NC is displayed via the output field:
– 0 not started
– 1 started
– 2 initializing data
– 3 initializing data
Manual
486 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.11 NC/PLC Diagnosis
– 4 startup
– 5 waiting for PLC
– 6 running
– F NC error
● NC Reset
Via the "NC reset" button, an NC POWER ON reset is triggered.
On a NC POWER ON reset, all active machining operations are stopped. Drives that are
in motion are not decelerated on their acceleration ramp but at that their current limit.
After startup, the NC is in the reset state. Machine and user data are not changed.
● NC default data
Via the "NC Default Data" button, an NC POWER ON reset is triggered followed by NC
general reset. All active machining operations are stopped as described under "NC
Reset".
After startup, the NC is in the reset state. All machine and user data are deleted and
standard machine data are loaded.
NOTICE
After "NC Default Data" has been triggered, the NC must be commissioned again or a
series startup file read in (see Chapter "NC Default Data" (Page 541)).
Note
Alarm 4065 is also acknowledged by NC POWER ON reset via "NC Default Data".
Then the NC must be commissioned again or a series startup file read in (see Chapter
"Application data backup/series startup" (Page 541)).
Group: PLC
The following functions are grouped together in the PLC group box:
● PLC RUN-P
With the "PLC RUN-P" button, the PLC is put in the "RUN-PROGRAMMING" state. In this
operating state, changes can be made to the PLC user program without activation of the
password.
● PLC RUN
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 487
NC Commissioning with HMI Advanced
11.11 NC/PLC Diagnosis
With the "PLC RUN" button, the PLC is put in the "RUN" state. Only read accesses are
possible via a programming device (PG) in this mode. It is not possible to make changes
to the PLC user program until the password has been set.
● PLC STOP
With the "PLC STOP" button, the PLC is put in the STOP state. Processing of the PLC
user program has stopped and all outputs are set to substitute values.
● PLC Delete Program
The PLC is put in the STOP state with "PLC Delete Program" button and then PLC
general reset (default data) is performed. The following actions are performed by the PLC:
– The PLC disconnects all links.
– The user data are deleted (data and program blocks)
– The system data blocks (SDB) are deleted.
– Battery-backed data are copied back into the RAM area from the PLC after general
reset.
– The diagnostics buffer, the MPI parameters, the clock time, and the operating hours
counter are not reset.
● PLC default data
The PLC is put in the STOP state via the "PLC Default Data" button and then an
extended PLC general reset is performed. The actions stated above under Points 1 to 4
are executed and the parameters mentioned in Point 5 are additionally reset.
● Status displays
The status displays, which are made to look like LEDs, indicate the following:
– SF (System Fault)
Lights up in case of PLC system errors such as e.g. hardware, programming,
parameterizing, computing, time, battery, and communication errors.
– BATL (Battery Low)
Lights up if the 5 V supply voltage (buffer battery) falls below its permissible value.
– BATF (Battery Fault)
Lights up if the 5 V supply voltage (buffer battery) fails.
– FORCE
Lights up if the FORCE function is active.
The FORCE function sets user variables to permanent values that cannot be
overwritten by the user program. For detailed information on this, see the Online Help
of the SIMATIC Manager STEP 7.
– RUN: See the following table.
– STOP: See the following table.
– BUS 1
lights up in case of a bus/interface error on PROFIBUS (1) (interface X101)
– BUS 2
Lights up in case of a bus/interface error on MPI or PROFIBUS (2) (depends on
configuration of interface X102)
Manual
488 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.11 NC/PLC Diagnosis
Note
For detailed information about the real-time-based reactions of the SINUMERIK 840Di,
see Chapter "Real-time-based reactions" (Page 23).
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 489
NC Commissioning with HMI Advanced
11.11 NC/PLC Diagnosis
Operating path
The menu for the SINUMERIK 840Di sl-specific settings is located in the following operating
path:
● Operating area switchover > IBN > NC/PLC Diagnosis > Settings
&RPPLVVL
RQLQJ &+$1 -2*5HI 03)
FKDQQHO5(6(7 3URJUDPDERUWHG
529
3URSHUWLHV
6LJQDOLQSXWIRU
VKXWGRZQEHKDYLRU
6LJQDOVRXUFH GHDFWLYDWHG
6LJQDOOHYHO
0RGLI\
'LDJQRVWLFV 3URSHUWLHV
Modifying data
When switching to the menu the data displayed become read-only. To change the data,
press the "Change" softkey first.
Manual
490 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
NC Commissioning with HMI Advanced
11.11 NC/PLC Diagnosis
Group: settings
The following functions are grouped together via the "Settings" group box:
● Signal input for shutdown behavior: Signal source
This selection field is for configuring the digital input used for the shutdown signal of the
UPS:
– Disabled
No input signal is present.
– NC input 0...3
The shutdown signal of the UPS is connected to the configured digital input of the MCI
board extension module (Chapter "Interface description" (Page 60)).
● Signal input for shutdown behavior: Signal level
This selection field is for configuring the level of the shutdown signal of the UPS:
– Low active
Upon detection of the low level (0) at the configured input, first the SINUMERIK 840Di
sl NC / PLC and then Windows XP are closed.
– High active
Upon detection of the high level (1) at the configured input, first the SINUMERIK 840Di
sl NC / PLC and then Windows XP are closed.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 491
NC Commissioning with HMI Advanced
11.11 NC/PLC Diagnosis
Apply changes
To apply the changes you have made, press the "Accept" softkey. The message box that is
then displayed has to be acknowledged again with the "Accept" softkey.
The "Cancel" softkey rejects all changes and displays the original settings again.
&RPPLVVL
RQLQJ &+$1 -2*5HI 03)
&KDQQHO5(6(7 3URJUDPDERUWHG
529
3URSHUWLHV
$FFHSWLQJWKHFKDQJHFDQOHDGWRORVVRI1&XVHUGDWD
0DNHVXUHWKDWWKLVGDWDKDVEHHQVWRUHGLQDVHULHVVWDUWXSILOH
0HPRU\VHWWLQJVKDYHEHHQFKDQJHG
&KDQJHVZLOOQRWWDNHHIIHFWWLOOWKHV\VWHPLVUHERRWHG
7KHVKXWGRZQUHVSRQVHKDVEHHQFKDQHG
,QFRUUHFWFRQILJXUDWLRQZLOOUHVXOWLQORVVLQGDWDLIWKHUHLVDSRZHUIDLOXUH
'R\RXUHDOO\ZDQWWRDFFHSWFKDQJHV"
&DQFHO
$FFHSW
'LDJQRVWLFV 3URSHUWLHV
NOTICE
We urgently recommend creating a series startup file before changing the data described
above. See Chapter "User data backup/Series Statup" (Page 541).
Manual
492 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Alarm and message texts 12
To enable easy adaptation of alarm and message texts to the specific requirements of an
automation system, the alarm and message texts are stored in freely accessible ASCII text
files.
The alarm and message texts contained in the text files are used commonly by all
SINUMERIK user interfaces:
● SinuCom NC
● 840Di startup
● HMI Advanced
By changing/modifying the texts or files or by creating new texts/files, a flexible adaptation to
the current requirements is possible.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 493
Alarm and message texts
12.2 Standard text files
UserPLC= <Installationspfad>\dh\mb.dir\myplc_
UserZyk=
UserCZyk=
...
Note
To edit the text files, any ASCII editor can be used.
When editing the text files with a different editor, make sure that they are then stored in
ASCII format.
The alarm and message texts from the user files replace the standard texts with the same
alarm and message numbers.
Texts for alarm or message numbers not contained in the standard texts are additionally
provided.
Manual
494 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Alarm and message texts
12.3 User text files
NOTICE
The maximum length of an alarm or message text displayed over two lines is 110
characters.
Storage path
The user-specific text files must be loaded in the Services operating area in the directory
<Installationspfad> \dh\mb.dir.
Language Abbreviation
German gr
English uk
French fr
Italian it
Spanish sp
Note
To prevent a modified MBDDE.INI file from being overwritten when the software is updated,
it must be stored in the path designated for that purpose: USER Path
(<Installationspfad>\user\mbdde.ini).
Example
Example of adding an additional text file MYPLC_GR.COM:
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 495
Alarm and message texts
12.3 User text files
Note
If the text file MYPLC_GR.COM is created on an external PC and then read in through the
serial interface (e.g. with PCIN), the following lines must be contained at the beginning of the
file:
%_N_MYPLC_GR_COM
;$Path=/_N_MB_DIR
NOTICE
Any modifications to alarm texts come only into effect after the appropriate user interface
has been rebooted.
When creating text files, make sure that the date and time are correctly set on the PCU.
Otherwise, the user texts may not appear on screen.
Manual
496 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Alarm and message texts
12.4 Syntax for alarm text files
Alarm numbers
The following alarm numbers are available for the cycle, compile cycle and PLC alarms:
Table 12-2 Alarm numbers for cycle, compile cycle and PLC alarms
Alarm number
List of alarm numbers
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 497
Alarm and message texts
12.4 Syntax for alarm text files
Display
This number defines the alarm display type:
0: Display in alarm line
1: Display in a dialog box
Help ID
The default assignment "0" means: The help file supplied by Siemens provides a detailed
description of the alarm.
A value between 1 and 9 uses an assignment entry in the MBDDE.INI file to refer to a help
file created by the user. Refer also to Chapter "Setting Alarm Log Properties" (Page 500),
Context Help Section.
Manual
498 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Alarm and message texts
12.4 Syntax for alarm text files
Display
This number defines the alarm display type:
0: Display in alarm line
1: Display in a dialog box
Help ID
The default assignment "0" means:
The help file supplied by Siemens provides a detailed description of the alarm.
A value between 1 and 9 uses an assignment entry in the MBDDE.INI file to refer to a help
file created by the user. Refer also to Chapter "Setting Alarm Log Properties" (Page 500),
Section: HelpContext.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 499
Alarm and message texts
12.5 Setting the alarm log properties
Section Description
Interrupts General information of the alarm list: For example, time/date format of
messages
TextFiles Path/file specification of alarm text files: For example UserPLC =
<Installationspfad>\dh\mb.dir\myplc_
HelpContext Name and path of help files: E.g., File0 = hlp\alarm_
DEFAULTPRIO Priority of various alarm types: e.g. POWERON = 100
PROTOCOL Properties of the log: E.g., File=.\proto.txt <Name and path of the log file>)
KEYS Information about keys that can trigger the alarms: E.g., Cancel = +F10
<Deletion of alarms with the key combination Shift+F10>
For further details of the file entries, refer to
References:
/BN/ User guide: OEM package for MMC
Section: [Alarms]
The settings in this section define the following alarm list properties:
● TimeFormat
Here, the pattern is entered which is to be used for output of date and time. It is the same
as the CTime::Format of the Microsoft Foundation Classes.
● MaxNo
Defines the maximum size of the alarm list.
● ORDER
Defines the sequence in which the alarms are sorted in the alarm list:
– In FIRST, the alarms with the latest dates are placed at the top of the list,
– In LAST, the new alarms appear at the end.
Example
Example for the section: [Alarms]
● Time format: day.month.year hour:minute:second
● Maximum size of alarm list: 50
● Order: New alarms are to be put at the end of the list
[Alarms]
TimeFormat=%d.%m.%y %H:%M:%S
MaxNr=50
ORDER=FIRST
Manual
500 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Axis and Spindle Test Run 13
13.1 Requirements
Enabling signals must be set to allow an axis to be traversed directly from the control:
● Drive: Parameters and terminals
● NC: Interface signals
Relevant parameters/terminals
Infeed
Parameter/Terminal Description
p0840 ON/OFF1
p0844 1. OFF2
p0845 2. OFF2
p0852 Enable operation
X21.3 (+24 V) and X21.4 (ground) EP terminals enable (pulse enable)
Drive
Parameter/Terminal Description
p0840 ON/OFF1
p0844 1. OFF2
p0845 2. OFF2
p0848 1. OFF3
p0849 2. OFF3
p0852 Enable operation
X21.3 (+24 V) and X21.4 (ground) EP terminals enable (pulse enable)
p0864 Infeed enable
p1140 Ramp-function generator enable
p1141 Ramp-function generator Start
p1142 Setpoint enable
References:
SINAMICS S120 Commissioning Manual
/GH2/ Equipment Manual for Booksize Power Units
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 501
Axis and Spindle Test Run
13.1 Requirements
Relevant terminals
Applies to the following SIMODRIVE drives:
● SIMODRIVE 611 universal/universal E
● SIMODRIVE POSMO SI, CD/CA
The following terminals must be connected:
I/RF module
Terminal Description
63 Pulse enable
64 Drive enable
48 DC-link start
Drive Module
Terminal Description
663 Pulse enable
Signal TRUE: +24 V (e.g. from terminal 9)
References:
/FBU/ Function Manual SIMODRIVE 611 universal
/POS3/ User Manual - SIMODRIVE SI/CD/CA
Manual
502 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Axis and Spindle Test Run
13.1 Requirements
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 503
Axis and Spindle Test Run
13.2 Axis dry run
6HOHFW-2*PRGH
&KHFNWKHHQDEOHVRQWKHGULYH
7UDYHUVHD[LVXVLQJGLUHFWLRQNH\
&KHFNWKHLQWHUIDFHVLJQDOV
&KHFNWKHPDFKLQHGDWD
0'ದ9HORFLWLHV
0'ದ0RQLWRULQJIXQFWLRQV
QR 0'$FWXDOYDOXHVLJQ
'RHVWKHD[LVPRYH"
0'5DWHGRXWSXWYROWDJH
0'5DWHGRXWSXWVSHHG
\HV 6HUYLFHGLVSOD\
QR
,VWUDYHUVLQJGLUHFWLRQRND\" &KHFN
0'0$B$;B027,21B',5
\HV
6SHFLILHGSDWKPP
QR
,VSDWKHYDOXDWLRQRND\" &KHFN
0'ದHQFRGHUPDWFKLQJ
\HV
7UDYHUVHZLWK
PPPLQIHHGUDWH
UDSLGWUDYHUVH
,QWHUSUHWDODUP
\HV
$ODUP" &KHFN
0'RIYHORFLW\DGDSWDWLRQ
QR
&KHFNPDFKLQHGDWD
QR 0'.9IDFWRU
)ROORZLQJHUURUFRUUHFW" 0'7LPHFRQVWDQWRIMHUNOLPLWDWLRQ
0''\QDPLFUHVSRQVHDGDSWDWLRQ
\HV 0'/RDGJHDUER[
0')HHGIRUZDUGFRQWURO
(QG $OO0'VRIYHORFLW\DGDSWDWLRQ
&KHFNGULYHSDUDPHWHUV
36SHHGHYDOXDWLRQ352),%86
6SHHGVHWSRLQWPDWFKLQJ
$',0'"
6,1$0,&660'
6,02'5,9(XQLYHUVDO(32602&'&$6,0'
Manual
504 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Axis and Spindle Test Run
13.3 Spindle dry run
(QDEOHVSLQGOH
FRQWUROOHUHQDEOH1&
HQDEOHRQGULYH
6SHFLI\VSLQGOHVSHHG &KHFNWKHHQDEOHVRQWKHGULYH
&KHFNWKHLQWHUIDFHVLJQDOV
\HV &KHFNWKHPDFKLQHDQGVHWWLQJGDWD
0'5DWHGRXWSXWYROWDJH
0'5DWHGRXWSXWVSHHG
0'ದ6SLQGOHVSHHGOLPLWDWLRQ
'RHVWKH QR 0'$;B9(/2B/,0,7
VSLQGOH 6'-2*B63,1'B6(7B9(/2
URWDWH" 6'63,1'B0$;B9(/2B*
6'63,1'B0,1B9(/2B*
6HUYLFHGLVSOD\
\HV
,V
WUDYHUVLQJ QR
&KHFN
GLUHFWLRQ
0'0$B$;B027,21B',5
RND\"
6SHFLILHGVSHHGUHYPLQ
$FWXDOVSHHG QR &KHFN
6HWVSHHG" 0'HQFRGHUPDWFKLQJ
\HV
,6
&KHFNPDFKLQHGDWD
ರ6SLQGOHLQ
0'ದ6SHHGVIRUJHDUVWDJHV
VHWSRLQWUDQJHರ QR
0'6SLQGOHVSHHGWROHUDQFH
'%ದ'%[[
&KHFNLQWHUIDFHVLJQDOV'%
'%;"
'%%$FWXDOJHDUVWDJH
&KDQJHRYHU '%%6HOHFWGULYHSDUDPHWHUVHW
JHDUVWDJH \HV '%%6HWJHDUVWDJH
'%%$FWLYHGULYHSDUDPHWHUVHW
QR $OOJHDU
VWDJHV
WHVWHG"
6SHHGVHWSRLQWPDWFKLQJ
ದ$',0'"
ದ6,1$0,&660'
MD
ದ6,02'5,9(XQLYHUVDO(32602&'&$6,0'
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 505
Axis and Spindle Test Run
13.3 Spindle dry run
3HUIRUP
QR
VSLQGOH (QG
SRVLWLRQLQJ"
MD
&KHFNPDFKLQHGDWD
3RVLWLRQ
0'([DFWVWRSFRDUVH
UHDFKHGIURP
QR 0'([DFWVWRSILQH
KLJKVSHHG
0'.9IDFWRU
]HURVSHHG
0'$FFHOHUDWLRQLQSRVLWLRQFRQWUROUDQJH
&KDQJHRYHU 0'&UHHSVSHHG
JHDUVWDJH 0'(QFRGHUOLPLWIUHTXHQF\
\HV 0'6SLQGOHV\QFKURQL]DWLRQ
0'RIHQFRGHUPDWFKLQJ
QR $OO
JHDUVWDJHV
WHVWHG"
\HV
(QG
Manual
506 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced 14
14.1 Overview
HMI Advanced offers comprehensive functions for analyzing controller action of drives
connected to a SINUMERIK 840Di sl:
● Frequency response measurements for current, speed and position control loop
● Automatic controller setting
● Funktionsgenerator
● Circularity test
● Servo trace
Measuring functions
The measuring functions make it possible to assess the automatic controller action of the
respective control loop (frequency response) by the integrated FFT analysis (Fast Fourier
Transformation) without external measuring equipment.
The measurement results are represented graphically as a Bode diagram. HMI Advanced file
functions can be used to archive the diagrams for documentation purposes and to simplify
remote diagnostics.
Circularity test
The circularity test serves to analyze the contour accuracy on the quadrant transitions of
circular contours achieved by means of friction compensation (conventional or neural
quadrant error compensation).
References:
/FB/ Function Manual - Extended Functions, K3 Compensation, Chapter "Circularity test"
Servo trace
Servo trace provides a graphically assisted analysis of the time response of position
controller and drive data.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 507
Drive Optimization with HMI Advanced
14.2 Measuring functions
Explanation
A range of measuring functions allows the time and/or frequency response of drives and
closed-loop controls to be displayed in graphic form on the screen. For this purpose, test
signals with an adjustable interval are connected to the drives.
Measurement/signal parameters
The test setpoints are adapted to the application in question by means of measurement or
signal parameters, the units of which are determined by the relevant measuring function or
operating mode. The measurement or signal parameter units are subject to the following
conditions:
Size Unit
Velocity Metric system:
Specification in mm/min or rev/min for translatory or rotary movements
Inch system:
Specification in inch/min or rev/min for translatory or rotary movements
Distance Metric system:
Specification in mm or degrees for translatory or rotary movements
Inch system:
Specification in inch or degrees for translatory or rotary movements
Time Specified in ms
Frequency Specified in Hz
Note
The default setting for all parameters is 0.
CAUTION
When traversing movements are carried out within the framework of measuring functions,
no Software limit switches and working area limitations are monitored, since these are
carried out in follow-up mode.
Prior to starting traversing movements, the user must therefore ensure that the axes are
positioned such that the traversing limits specified within the framework of the measuring
functions are sufficient to prevent collision with the machine.
Manual
508 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.2 Measuring functions
Note
JOG mode must be selected when measuring functions are started.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 509
Drive Optimization with HMI Advanced
14.3 Special functions
Activating
The interface signals are activated from the main menu of the appropriate measuring
function in the group "Drive test traversing enable", see following screen.
-RJ ?03)',5
6WDUWXS
7(6703)
&KDQQHOUHVHW $[LV
3URJUDPDERUWHG 529
$[LV
3RVLWLRQFRQWUROORRSPHDVXULQJ $[LV <
'ULYHದWHVWWUDYHOHQDEOH 6WDWXV
'LUHFW
:LWK3/& ,QDFWLYH VHOHFWLRQ
7UDYHOUDQJH $EVROXWHSRVLWLRQ
6WDUW
PP
0RQLWRULQJ ,QDFWLYH
0HDVXUHPHQW
7\SHRIPHDVXUHPHQW 5HIIUHTXHQF\UHVSR
0HDVXUHGTXDQWLW\ 3RVLWLRQDFWXDOYDOXHSRVLWLRQVHWSRLQWYDOXH
Choose the type of traversing enable function from the selection list either by using the
toggle key or by double-clicking the selection with the right-hand mouse button:
● without PLC
Traversing of the axis to be measured is enabled depending on the interface signals
typical for JOG mode (controller enable, pulse enable, etc.).
● with PLC
Manual
510 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.3 Special functions
7RJJOHNH\
Activating
The traversing range monitoring is activated from the main menu of the appropriate
measuring function in the group "Traversing range". Refer to figure in Section "Special
Functions".
Choose the traversing range monitoring from the selection list "Monitoring" via the Toggle
key or by clicking with the right-hand mouse button on the required monitoring type:
● Inactive
The axis is traversed without monitoring the traversing range.
● Active
The axis is traversed with monitoring of the traversing range, depending on the traversing
range limits set:
● High limit
● Lower limit
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 511
Drive Optimization with HMI Advanced
14.4 Frequency response measurements
-RJ ?03)',5
6WDUWXS
7(6703)
&KDQQHOUHVHW ;PDUNHU
2II
3URJUDPDERUWHG 529
<PDUNHU
*UDSKLFV7U<D[LV! 2Q
7U$PSOLWXGHUHVSRQVH
=RRP;
GE
)XOOVFUHHQ
7UB /RJ+]
6FDOH
*UDSKLFV7U<D[LV!
7U3KDVHUHVSRQVH
*UDSKLFV
!GHJ
7UB /RJ+]
6WDUW
Figure 14-2 Example: Measurement results, speed control loop, reference frequency response
Note
Additional information on the measurement functions or how to optimize the torque/current
and speed control loop can be found in:
• SINAMICS S120
Online Help for Commissioning Tool: STARTER > Content > Diagnosis Functions
• SIMODRIVE 611 universal
Online Help for SimoCom U Commissioning Tool > Index:
– Measuring function
– Optimization of speed control loop
Manual
512 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.4 Frequency response measurements
Functionality
The current control loop only needs to be measured for diagnostic purposes if there is a fault
or if no standard data was used for the motor/power module combination, and which resulted
in unsatisfactory speed controller frequency responses.
CAUTION
The user must take special safety measures when measuring the current control loop (e.g.
secure drive clamping) for hanging axes without external counterweight.
Operating path
Operating path for measuring the current control loop: Operating area switchover >
Commissioning > Optimization/Test > Current control loop
Measuring functions
The following measuring functions are available for measuring the current control loop:
Measurement
The measurement sequence is divided into the following steps:
1. Setting the traverse range monitoring and the enable logic
2. Selecting the measurement type
3. Setting the parameters, softkey "Measuring parameters"
4. Displaying the measurement results, softkey "Display"
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 513
Drive Optimization with HMI Advanced
14.4 Frequency response measurements
Measuring parameters
● Amplitude
Magnitude of the test signal amplitude. Given in percent of the peak torque. Values from
1% to 5% are suitable.
● Bandwidth
The frequency range analyzed with the measurement. The larger this value, the finer the
frequency resolution and the longer the measurement time. The maximum value is
specified by the position controller cycle (Tposition controller): Bandwidthmax [Hz] = 1 / (2 *
Tposition controller [sec])
Example:
Position controller cycle: 2 ms
Bandwidthmax = 1 / (2 * 2*10-3) = 250 Hz
● Averaging
The accuracy of the measurement and measurement duration increase with this value. A
value of 20 is normally suitable.
● Settling time
This value represents the delay between recording of the measured data and injection of
the test setpoint and offset. A value of approx. 10 ms is recommended. A settling time
which is too low will result in frequency response and phase diagrams distortions.
Functionality
The response characteristics for the motor measuring system are analyzed when measuring
the speed control loop. Various measurement parameter lists are available depending on the
basic measurement setting which has been selected.
Operating path
Operating path for measuring the speed control loop: Operating area switchover >
Commissioning > Optimization/Test > Speed control loop
Manual
514 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.4 Frequency response measurements
Measuring functions
The following measurement functions are available for measuring the speed control loop:
Measurement
The measurement sequence is divided into the following steps:
1. Setting the traverse range monitoring and the enable logic
2. Selecting the measuring type and measured variable
3. Setting the parameters, softkey "Measuring parameters"
4. Displaying the measurement results, softkey "Display"
The reference frequency response measurement determines the transmission ratio of the
speed controller.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 515
Drive Optimization with HMI Advanced
14.4 Frequency response measurements
Manual
516 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.4 Frequency response measurements
6SHHGVHWSRLQW
$PSOLWXGH
2IIVHW
7LPH
6HWWLQJWLPH 0HDVXUHPHQWWLPH
3RVLWLRQ
FKDUDFWHULVWLF
7LPH
Figure 14-3 Setpoint course for speed control loop/step response measuring function
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 517
Drive Optimization with HMI Advanced
14.4 Frequency response measurements
Functionality
This measuring function basically analyzes the response to the active position measuring
system. If the function is activated for a spindle without a position measuring system, an
alarm is displayed. Depending on the measured variable selected, various measurement
parameter lists are displayed.
Operating path
Operating path for measuring the speed control loop: Operating area switchover >
Commissioning > Optimization/Test > Speed control loop
Measuring functions
The following measuring functions are available for measuring the position control loop:
Measurement
The measurement sequence is divided into the following steps:
1. Setting the traverse range monitoring and the enable logic
2. Selecting the measuring type and measured variable
3. Setting the parameters, softkey "Measuring parameters"
4. Displaying the measurement results, softkey "Display"
Manual
518 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.4 Frequency response measurements
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 519
Drive Optimization with HMI Advanced
14.4 Frequency response measurements
Manual
520 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.4 Frequency response measurements
3RVLWLRQ
$PSOLWXGH
W
6HWWOLQJWLPH 0HDVXUHPHQWWLPH
5DPSWLPH
6SHHGFRQWUROOHU
2IIVHW
W
At maximum axis velocity, there is a (virtual) step change in the velocity (continuous line).
The curves represented by the dashed line correspond to a realistic, finite value. The offset
component is excluded from the display graphic in order to emphasize the transient
processes.
CAUTION
In normal cases the machine data corresponds exactly with the load capacity of the
machine kinematics and should not be changed (increased) as part of the
measurements:
• MD32000 $MA_MAX_AX_VELO (maximum axis velocity).
• MD32300 $MA_MAX_AX_ACCEL (maximum axis acceleration)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 521
Drive Optimization with HMI Advanced
14.5 Graphic display
-RJ ?03)',5
6WDUWXS
7(6703)
&KDQQHOUHVHW ;PDUNHU
2II
3URJUDPDERUWHG 529
<PDUNHU
*UDSKLFV7U<D[LV! 2Q
7U$PSOLWXGHUHVSRQVH ;PDUNHU +]G%
=RRP;
GE
)XOOVFUHHQ
7UB 'HOWDI+]
6FDOH
*UDSKLFV7U<D[LV!
7U3KDVHUHVSRQVH ;PDUNHU +]G%
*UDSKLFV
!GHJ
7UB 'HOWDI+]
6WDUW
Manual
522 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.5 Graphic display
Note
X and Y markers can be active at a time.
Softkey: Scale
Use the Scale softkey to change the scaling of the traces and of the marker ranges in the
two graphs.
The scaling can be switched over between auto (default setting) and fixed. The Y range (Y
min/max) to be displayed can only be changed in fixed mode.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 523
Drive Optimization with HMI Advanced
14.5 Graphic display
?03)',5
6WDUWXS -RJ
7(6703)
&KDQQHOUHVHW
3URJUDPDERUWHG 529
6FDOLQJRI*UDSKLFVDQG*UDSKLFV
*UDSKLFV
6FDOLQJWUDFH 6FDOLQJWUDFH 0DUNHU
6FDOLQJ $XWR 6FDOLQJ $XWR
<PD[ <PD[ ;PD[
<PLQ <PLQ ;PLQ
,GHQWLILHU RQ ,GHQWLILHU RII 7UDFH
*UDSKLFV
*UDSKLFV
6FDOLQJWUDFH 6FDOLQJWUDFH 0DUNHU
*UDSKLFV
6FDOLQJ $XWR 6FDOLQJ $XWR &RXSOHZLWKJUDSKLF
<PD[ <PD[ ;PD[
*UDSKLFV
<PLQ <PLQ ;PLQ
*UDSKLFV
,GHQWLILHU RQ ,GHQWLILHU RII 7UDFH
Manual
524 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.6 Trace function
Overview of functions
The trace function offers the following features
● Four trace buffers with up to 2,048 values each
● Selection of SERVO and drive signals (in position control cycle)
● Trace/trigger signals can be set using absolute address and value masking
● Different trigger conditions for the recording start
(Triggering always on Trace 1)
● Both pre- and post-triggering.
● Measuring signal display.
● Selection of fixed Y scaling for each trace.
● Marker function selectable for each trace
● Expand function in the time axis
● Selective loading and saving of the measurement parameters and traces
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 525
Drive Optimization with HMI Advanced
14.6 Trace function
?03)',5
6WDUWXS -RJ
7(6703)
&KDQQHOUHVHW $[LV
3URJUDPDERUWHG 529
$[LV
6HUYRWUDFHPHDVXUHPHQW
6LJQDOVHOHFWLRQ
3K\VLFDO
0HDVSDUDPHWHUV DGGUHVV
Manual
526 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.6 Trace function
7RJJOHNH\
,IWKHFXUVRULVSODFHGRQDOLVW 7KHFXUVRULVFRQWUROOHG
ER[SUHVVWKH,QVHUWNH\WR XVLQJWKHDUURZNH\VRQ
RSHQWKHOLVWER[ WKHRSHUDWRUSDQHORUZLWK
WKHPRXVH
<RXFDQVFUROOGRZQE\
XVLQJWKHDUURZNH\V
<RXDFFHSWDYDOXH
XVLQJWKHLQSXWNH\
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 527
Drive Optimization with HMI Advanced
14.6 Trace function
Softkey: Start/Stop
Recording of the trace function is started with the Start softkey.
With the Stop or RESET softkey, you can cancel a running measurement.
Manual
528 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.6 Trace function
3K\VLFDODGGUHVVIRUWUDFH
NOTICE
This function is only required in exceptional cases, for example, if the information
provided by the known signals (see Signal selection list field) is not adequate.
Before using this function, you should contact the SINUMERIK hotline.
The input of all parameters is carried out in the hexadecimal number format.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 529
Drive Optimization with HMI Advanced
14.6 Trace function
Softkey: Start
After parameterization has been completed, you enable measurement by pressing the Start
softkey.
The measurement is carried out once the set trigger condition of trace 1 is fulfilled.
Softkey: Stop
You can cancel a running measurement at any time with the Stop softkey. A canceled
measurement cannot be displayed.
Manual
530 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.6 Trace function
?03)',5
6WDUWXS -RJ
7(6703)
&KDQQHOUHVHW ;PDUNHU
3URJUDPDERUWHG 529 2Q
<PDUNHU
*UDSKLFV7U;D[LV7U<D[LV! 2Q
7U3RVDFWYDOPHDVV\V
7U3RVDFWYDOPHDVV\V
PP PP
)XOOVFUHHQ
!PPPLQ PPPLQ
7UDFH
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 531
Drive Optimization with HMI Advanced
14.6 Trace function
Note
X and Y markers can be active at a time.
Softkey: Scale
Use the Scale softkey to change the scaling of the traces and of the marker ranges in the
two graphs.
The scaling can be switched over between auto (default setting) and fixed. The Y range (Y
min/max) to be displayed can only be changed in fixed mode.
?03)',5
6WDUWXS -RJ
7(6703)
&KDQQHOUHVHW
3URJUDPDERUWHG 529
6FDOLQJRI*UDSKLFVDQG*UDSKLFV
*UDSKLFV
6FDOLQJWUDFH 6FDOLQJWUDFH 0DUNHU
6FDOLQJ $XWR 6FDOLQJ $XWR
<PD[ <PD[ ;PD[
<PLQ <PLQ ;PLQ
,GHQWLILHU RQ ,GHQWLILHU RQ 7UDFH
*UDSKLFV
*UDSKLFV
6FDOLQJWUDFH 6FDOLQJWUDFH 0DUNHU
*UDSKLFV
6FDOLQJ $XWR 6FDOLQJ $XWR &RXSOHZLWKJUDSKLF
<PD[ <PD[ ;PD[
*UDSKLFV
<PLQ <PLQ ;PLQ
*UDSKLFV
,GHQWLILHU RQ ,GHQWLILHU RQ 7UDFH
Manual
532 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.7 File Function
Description
Use the File Functions softkey to call the appropriate menu.
You can store, load and delete the parameters, axis-specific machine data and
measurement results here.
The file functions are not intended as a replacement for a complete copy of the system and
user data, e.g. for archiving or standard commissioning, but only for the simplified and
flexible management of the specific measurement data.
?03)',5
6WDUWXS -RJ
7(6703)
&KDQQHOUHVHW $[LV
3URJUDPDERUWHG 529
$[LV
)LOHIXQFWLRQV <
3RVLWLRQFRQWUROORRSPHDVXULQJ
'LUHFW
)LOH 'DWD 6HOHFWLRQ
,%1 3DUDPHWHU
'HOHWH
,%1 $[LV0'
*UDSKLFV
6DYH
*UDSKLFV
*UDSKLFVDQG /RDG
'LUHFWRU\
(UURU
6WDQGDUGGLUHFWRU\ ORJ
(GLWRU
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 533
Drive Optimization with HMI Advanced
14.7 File Function
Naming files
You can select an existing file from the drop-down list or enter one in the text field
underneath in the File group.
Installation Directory
You can select the directory where you want to save the file in the Directory group. This can
also be a directory in the Services operating area you have created by yourself or the basic
directory of the data management (list entry: Standard directory).
Creating subdirectories
If you do not wish the data of the trace function to be stored in the "default directory", you
can create user-specific directories.
New directories are created in the operating area Operating area switchover > Services >
Manage data. New subdirectories can be created below the Diagnosis directory.
For the description of the operating area Services, please refer to:
References:
/BAD/ Operating Manual HMI Advanced
Manual
534 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.8 Print graphic
Printer selection
The Graphics softkey in the main screens of the measuring functions opens the menu to
select the printer and to print the graphics.
-RJ ?03)',5
6WDUWXS
7(6703)
&KDQQHOUHVHW
3URJUDPDERUWHG 529
*UDSKLFV7U<D[LV!
7U$PSOLWXGHUHVSRQVH
*UDSKLFV
GE
*UDSKLFV
7UB /RJ+]
*UDSKLFV
*UDSKLFV7U<D[LV! *UDSKLFV
7U3KDVHUHVSRQVH
3ULQW
JUDSKLFV
!GHJ 6HOHFW
3ULQWHU
7UB /RJ+]
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 535
Drive Optimization with HMI Advanced
14.8 Print graphic
7RJJOHNH\
6HOHFWHGSULQWHU
3ULQWHUGHVLUHGIRURXWSXWRI6WDUWXSPHDVIXQFWLRQJUDSKLFV
2XWSXWDVELWPDSILOH
$FWLYHSULQWHU
2XWSXWDVELWPDSILOH
$FFHSW
Output to printer
Choose the printer to which you wish the file to be output from the list field using either the
Toggle key or by double-clicking with the right mouse button on the desired printer.
Manual
536 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.8 Print graphic
Printer
The graphics is output directly to the selected printer.
Bitmap file
If you wish to output the graphics to a bitmap file, the following specifications are still
required in the submenu "File name for bitmap printout":
● File names
● Directory
)LOHQDPHIRUELWPDSSULQWRXW
)LOHQDPHPD[FKDUDFWHUV
7(67
7(67
'LUHFWRU\
6WDQGDUWGLUHFWRU\
Naming files
You can select an existing file from the drop-down list or enter one in the text field
underneath in the Filename group.
Installation Directory
You can select the directory where you want to save the file in the Directory group.
This can also be a directory in the operating area Services > Manage Data you have created
by yourself or the basic directory of the data management (list entry: Standard directory).
For the description of the operating area Services, please refer to:
References:
/BAD/ Operating Manual HMI Advanced
● The file is saved using the softkey OK.
● With the softkey Cancel you can return to the current graphic display.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 537
Drive Optimization with HMI Advanced
14.9 Automatic controller setting
Functionality
The automatic controller setting of the speed control loop offers the following functionality:
● Determining the gain and reset time in these cases:
– Standard setting
– Critical damping
– Good damping
● Determining current setpoint filters which may be required
● Display of the measured or calculated frequency responses
'ULYHದWHVWWUDYHOHQDEOH 6WDWXV
ZLWKRXW3/& 'LUHFW
,QDFWLYH VHOHFWLRQ
7UDYHUVLQJUDQJH $EVROXWHSRVLWLRQ
PP 6WDUW
0RQLWRULQJ ,QDFWLYH
8SSHUOLPLW PP
6WRS
/RZHUOLPLW PP
0RGH
6SHHGFRQWUROOHU6WDQGDUGVHWWLQJ
6HWWLQJW\SH
0HDVXUHGYDULDEOH 7RUTXHDFWXDOYDOXHWRUTXHVHWSRLQW
Operating path
Operating path of the automatic controller setting: Operating area switchover >
Commissioning > Optimization/Test > ">" > Automatic Controller Setting
Manual
538 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Drive Optimization with HMI Advanced
14.9 Automatic controller setting
Measurement
The sequence of the automatic controller setting is divided into the following steps:
1. Starting the automatic controller setting.
2. Measurement of the mechanical part 1.
For the measurement, you can either retain the default parameters specified by the
control or define your own defaults. Start the measurement with the "OK" softkey. Enable
the traversing movement via NC START.
3. Measurement of the mechanical part 2.
Set the measuring parameters, start the measurement and enable the traversing
movement as for Point 2.
4. Measurement of current control loop.
Set the measuring parameters, start the measurement and enable the traversing
movement as for Point 2.
5. Calculation of controller data.
Setting the measuring parameters for reinforcing and readjusting time. Start the
calculation with the "OK" softkey.
6. Optional: Retentive storage of the newly calculated drive parameters in the drive
7. Measurement of the speed control loop
Set the measuring parameters, start the measurement and enable the traversing
movement as for Point 2.
8. Check the controller setting based on the displayed measurement results.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 539
Drive Optimization with HMI Advanced
14.9 Automatic controller setting
Manual
540 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
User data backup/Series commissioning 15
15.1 Explanations on data backup
User data
User data refers to all data or data areas that can be entered by the user to achieve the
specific functionality of the SINUMERIK 840Di and the connected drives.
In the case of a data backup, e.g. after commissioning of the control system, the user data
selected through the user interface are written to a so-called series startup file.
After a series startup file has been read in, the control system is in its original status again as
it was at the time of data backup.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 541
User data backup/Series commissioning
15.1 Explanations on data backup
SINAMICS S120
Currently, the user data (projects) for SINAMICS S120 drive units must be saved separately
with the STARTER commissioning tool.
For detailed information on data backup, please refer to:
References:
SinuCom NC: Online Help
HMI Advanced: /BAD/ Operating Manual HMI Advanced
Manual
542 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
User data backup/Series commissioning
15.2 Creating a series commissioning file
Note
Because of its file extension ".arc", the series startup file is also called archive.
Archive content
The following components can be selected as the content of a series commissioning file:
● NCK with/without compensation data (see below: Note)
● PLC
● HMI
● SIMODRIVE PROFIBUS drives
When selecting, any combinations are possible. However, it is recommended to save the
individual components separately in separate series startup files. It is thus possible to reload
them independently of each other and with maximum flexibility.
Note
Machine-specific compensation data only needs to be archived if the series startup file is to
be reloaded into the same control system (Backup).
NCK
The contents of a series startup file created for the NCK comprises mainly the following data:
● Machine data
● Setting data
● Option data
● Global (GUD) and local (LUD) user data
● Tool and magazine data
● Protection zone data
● R parameters
● Work offsets
● Compensation data
● Display machine data
● Workpieces, global part programs and subroutines
● Standard and user cycles
● Definitions and macros
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 543
User data backup/Series commissioning
15.2 Creating a series commissioning file
PLC
The contents of a series startup file created for the PLC comprise all blocks loaded at the
time when the data backup was made:
● OB (organization blocks)
● FB (function blocks)
● SFB (system function blocks)
● FC (functions)
● SFC (system functions)
● DB (data blocks)
● SDB (system data blocks).
HMI
The contents of a series startup file created for the HMI Advanced comprise all data stored in
the HMI database in the dh directory at the moment when the data backup was made.
Manual
544 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
User data backup/Series commissioning
15.2 Creating a series commissioning file
5HDGLQ
FRPPLVVLRQLQJ
&UHDWLQJDVHULHVVWDUWXSDUFKLYH DUFKLYH
$UFKLYHFRQWHQW
+0,
1& ZLWKFRPSHQVDWLRQGDWD
3/&
352),%86$QWULHEH
$UFKLYH
$UFKLYHQDPH
00&1&3/&$175
6WDQGDUG
FRPPLVVLRQLQJ
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 545
User data backup/Series commissioning
15.2 Creating a series commissioning file
15.2.3 SinuCom NC
Starting
SinuCom NC can be started as follows to create a series startup file:
● SINUMERIK Desktop (see Chapter "Service Desktop" (Page 135))
Windows taskbar: Start > Programs > SinuCom NC > SinuCom NC
● HMI Advanced
Operating area switchover > ETC key ">" SinuCom NC
&UHDWHDQDUFKLYH
6WRUDJHORFDWLRQ
'DWD6WRUDJH
)LOHV\VWHP
$UFKLYHFRQWHQW
1& ZLWKFRPSHQVDWLRQGDWD
3/&
352),%86GULYHV
00&
1H[W!
5. The following data can be selected in the following menus, depending on the selected
components:
– NCK: Part programs
– MMC: MMC archive
6. Creating the series startup file ("Finish")
Manual
546 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
User data backup/Series commissioning
15.3 Considerations when backing up PLC data
Original image
The original image of the PLC is represented by the PLC-data state immediately after
loading the S7 project into the PLC.
Operating sequence:
1. Set the PLC to the operating status STOP
2. Load the appropriate S7 project into the PLC using the SIMATIC Manager STEP 7
3. Create a series startup file with PLC data
4. Set the PLC to the operating status RUN
Instantaneous image
If you cannot create an original image, you can save an instantaneous image as an
alternative.
Operating sequence:
1. Set the PLC to the operating status STOP
2. Archive PLC data
3. Set the PLC to the operating status RUN
Inconsistent image
An inconsistent image results if a series-commissioning file with PLC data is created and the
PLC is in the RUN state (cyclic operation).
The data blocks of the PLC are saved at different times with contents that under certain
circumstances may meanwhile have changed. This may result in a data inconsistency that
after copying the data backup back into the PLC may under certain circumstances result in
PLC stop in the user program.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 547
User data backup/Series commissioning
15.4 Importing a series startup file with HMI Advanced
NOTICE
The creation of a series-commissioning file with PLC data while the PLC is in RUN status
(cyclic operation) may result in an inconsistent PLC image in the series commissioning
archive.
After this series startup file has been copied back, this data inconsistency in the PLC user
program may under certain circumstances result in the stop of the PLC.
Note
Because of the file extension ".arc" of the series startup file, this is also called archive.
Manual
548 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
User data backup/Series commissioning
15.5 SINAMICS S120 standard commissioning with STARTER
Requirements
The following requirements must be fulfilled:
● The reference drive unit is fully configured.
● You can create an online connection to all drive units.
● The reference project is loaded into the STARTER.
Implementation
Perform the following actions in the STARTER for each drive unit to be commissioned:
1. Create a backup copy of the project: Project > Save as
2. Access the drive unit online: Project > Connect to target system
3. Load the project into the drive unit: Target system > Download > To target device
The drive unit applies the serial number from the previously located components in the
reference topology. This results in an inconsistency, which is displayed in the project
navigator.
4. Read the project back into the programming device: Target system > Load > Load fully
into the programming device (all p and r parameters)
5. Save your project: Project > Save
The configuration is now consistent again, i.e. the same project states exist in the target
system and in the project.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 549
User data backup/Series commissioning
15.5 SINAMICS S120 standard commissioning with STARTER
Manual
550 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Software installation/update and data backup 16
16.1 PTP network connection
The functions described in this section (software installation/update) require a network
connection to an external computer (PG/PC) which contains an enabled network access
directory.
If the SINUMERIK 840Di sl is not part of a larger network (WAN, LAN), a simple PTP (peer-
to-peer) connection via Ethernet and TCP/IP can be established for service applications.
6,180(5,.'LVO 3*3&HJ3*
3&8
(WKHUQHWFDEOH
ರ7ZLVWHGSDLUFURVVHGEDVH7EDVH7;ರ
)XQFWLRQDOLW\RIWKH(WKHUQHWLQWHUIDFHV
XQGHU:LQGRZV;3
'+&3FOLHQW
'+&3VHUYHU
6LJQDO 6LJQDO
QDPH QDPH
3LQ7' 3LQ7'
5-
3LQ7' 3LQ7'
3LQ5' 3LQ5'
3LQ5' 3LQ5'
873FRQQHFWRU
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 551
Software installation/update and data backup
16.1 PTP network connection
TCP/IP protocol
The installed network protocols are displayed in the "Protocols" tab via the network dialog of
the system control (Windows taskbar Start > Settings > System Control > Network). If the
TCP/IP protocol is not shown, it can be installed now.
Dialog: Beginning
Dialog: Network
Tab: Protocols
Button: "Add..."
Dialog: Network protocol selection
Network protocol: TCP/IP protocol
Note:
The query for DHCP is to answered with "No".
OK
Manual
552 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Software installation/update and data backup
16.1 PTP network connection
IP address
We recommend using an IP address from the address range used by Windows XP for
automatic configuration, if no DHCP server is accessible (Automatic Private IP Addressing:
169.254.x.x).
The last two digits must be in the range of 1 to 254.
● 169.254. 10. 1
Subnet mask
The subnet screen must be permanently set to the specified value:
● 255.255. 0. 0
Dialog: Continuation
Dialog: Network
Tab: Protocols
Button: "Properties..."
Dialog: Properties of Microsoft TCP/IP
Specify IP address
Specify IP address
IP Address: <169.254. 10. 1>
Subnet mask: <255.255. 0. 0>
OK
Dialog: Continuation
Tab: Identification
Button: "Change..."
Dialog: Identification change
Computer name: <COMPUTER NAME>
Workgroup: <WORKGROUP>
OK
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 553
Software installation/update and data backup
16.1 PTP network connection
Server service
The "Services" tab card must contain "Server service". This corresponds to general sharing:
"File and Printer Sharing" under Windows 9x or Windows XP. If this service is not active, no
directories can be shared.
If the service is not running, it can be installed now:
Dialog: End
Tab: Services
Button: "Add..."
Dialog: Selection of network service
Network service: Server service
OK
OK
Directory sharing
Release for network access takes place in the Properties dialog > "Release" tab of the
corresponding directory (selection of the directory with the right mouse key)
The directory name is the default name for sharing. If a different sharing name is specified, it
must be stated on activating the directory connection.
Authorization
Access authorization to the drive is "Everyone" and "Full access" by default.
Dialog
Manual
554 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Software installation/update and data backup
16.1 PTP network connection
TCP/IP protocol
The installed network protocols are displayed in the General tab index via the properties
dialog of the local network connections (Windows taskbar Start > Settings > Network
connections >> Local Area Connections).
The TCP/IP protocol must be installed and active:
Dialog
Dialog
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 555
Software installation/update and data backup
16.1 PTP network connection
Dialog
Dialog
Dialog
Manual
556 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Software installation/update and data backup
16.1 PTP network connection
Directory sharing
Release for network access takes place in the Properties dialog > "Sharing" tab of the
corresponding directory (selection of the directory with the right mouse key)
The directory name is the default name for sharing. If a different sharing name is specified, it
must be stated on activating the directory connection.
Authorization
To allow files to be created in the directory, the appropriate authorization must be set.
Dialog
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 557
Software installation/update and data backup
16.2 Partitioning of the PCU hard disk
Partitions
The diagram below shows the partitioning of the hard disk when the control system is
supplied:
DFWLYH
● 1st partition/drive C:
Drive C: is reserved for service tasks under WinPE 2005.
● 2nd partition/drive D:
Drive D contains the following directories:
– Graphics
The directory contains preinstalled and own images.
– Install
The software to be installed is first copied into this directory before actual installation
under Windows XP.
– Update
The directory is used for subsequent installation of Windows XP system software.
● 3rd partition/drive E:
Drive E: is reserved for the Windows XP system software.
● 4th partition/drive F:
Drive F: contains the SINUMERIK-specific applications, e.g. the SINUMERIK 840Di sl
system software.
It is also used for installing user-specific applications, e.g. SINUMERIK user interfaces,
HMI OEM applications or SIMATIC STEP7.
Manual
558 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Software installation/update and data backup
16.3 Software installation/update (Windows)
Product brief
This section describes how to install/update software via a Windows-based network link to
an external computer (PC/PG) in which a directory is shared for this purpose.
The entire procedure is carried out from the SINUMERIK desktop. To activate the
SINUMERIK desktop, see Subsection "Activation" (Page 135).
It is possible to activate the SINUMERIK desktop permanently via the following applications
and to deactivate it again after completion of service actions. These applications are part of
the SINUMERIK 840Di sl basic software
● NT Desktop
Autostart of the HMI application: OFF
● HMI desktop
Autostart of the HMI application: ON
Compatibility list
Before installing/updating software components, check they are compatible with existing
software components. See the compatibility list for your SINUMERIK 840Di sl software
version on the Internet:
http://www.siemens.de/sinumerik > SINUMERIK 840Di sl > Link Box > Support > Current >
Tab: Update > SINUMERIK 840Di sl: Delivery Release System Software ... > Compatibility
list: Compatibility_List.PDF
NOTICE
We strongly recommend checking compatibility of new software components with existing
software components before installing/updating them (compatibility list).
Requirements
The following condition must be fulfilled:
● Network link with an external computer. See Section "PTP network
connection" (Page 551).
Recommended procedure
This is the recommended procedure for installing/updating software on the PCU:
1. Back up the NCK and PLC user data by creating a series startup file. See Chapter "User
data backup/Series Statup" (Page 541).
2. Establish a network link to a shared directory of an external computer (PG/PC) containing
the software to be installed. See Section "PTP network connection" (Page 551).
3. Perform installation/updating of the software via the network link.
4. Initialize the control with "Delete NC data" and "PLC memory reset". Refer to Subsection
"Basic Preconditions".
5. Import the series startup file created in Step 1. Refer to Section "Importing a series
startup file with HMI Advanced" (Page 548).
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 559
Software installation/update and data backup
16.4 Restoring the as-delivered state
NOTICE
When restoring the hard disk to the ex-works state, all data on the partitions C:, E: and
F: are lost.
16.4.1 Requirements
To restore the as-delivered state, the following files supplied with the SINUMERIK 840Di sl
must be saved locally on the PCU hard disk:
● D:\IMAGES\base_ou.gho (image file)
● D:\IMAGES\base_ou.inf
Image file
The image file *.gho contains the data to be restored.
Info file
The info file *.inf contains the description of the data to be restored.
The information in this file is required by the services menu to configure the image program
Norton Ghost™.
NOTICE
If the info file is not available, the service menu cannot restore the partitions.
Manual
560 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Software installation/update and data backup
16.4 Restoring the as-delivered state
Procedure
The installation programs for the SINUMERIK 840Di sl applications saved on D:\INSTALL
are not executed automatically after partition restoration, as was the case during the initial
boot. To do this manually in the correct sequence, proceed as follows:
1. On next PCU startup after restoration of the partitions, you are prompted to enter the
password for the SINUMERIK desktop.
Start the Windows Explorer on the SINUMERIK desktop and open the directory:
● D:\SETUP\APPS
The sub-directories contained in directory APPS contain:
– \001 Installation directories of the 1st application
– \002 Installation directories of the 2nd application
– ....
– \xxx Installation directories of the xxx th. Application
The numbers in the directory name indicate order in which the applications have to be
installed.
1. Next open directory:
● D:\SETUP\APPS\001
The subdirectories contained in directory \001 contain:
– \000 Installation directory of the application
– \001-\xxx Installation directories of options, patches,etc.
The numbers in the directory name indicate order in which the installation programs have
to be run.
1. Open the following directory as the next step and start the installation program in the
directory (SETUP.EXE).
● D:\SETUP\APPS\001\000
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 561
Software installation/update and data backup
16.4 Restoring the as-delivered state
NOTICE
If you are prompted to reboot during installation, always confirm this with "Yes" and
reboot.
Example
The following figure shows an example of a directory structure under directory
D:\SETUP\APPS with 2 applications and the resulting installation sequence. The first
application contains 3, the second application 2 installation programs.
,167$//'
6(783
$336 ,QVWDOODWLRQVHTXHQFH
6(783(;(
6(783(;(
6(783(;(
6(783(;(
6(783(;(
Manual
562 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
License management 17
17.1 Basic principles
The terms below are important for understanding the license management of SINUMERIK
software products.
Term Description
Software product A software product is generally used to describe a product that is installed on a piece of
hardware to process data. Within the license management of SINUMERIK software products,
a corresponding license is required to use each software product.
Hardware Hardware in the framework of the license management of SINUMERIK software products is a
SINUMERIK control (CNC). With SINUMERIK 840Di sl represented by the appropriate MCI
board.
License A license gives the user a legal right to use the software product. Evidence of this right is
provided by the following:
• CoL (Certificate of License)
• License key
CoL The CoL is the proof of the license. The product may only be used by the holder of the license
(Certificate of License) or authorized persons. The CoL includes the following data relevant for the license
management:
• Product name
• license number
• Delivery note number
• Hardware serial number
Note:
The hardware serial number is located only on a CoL of the system software or if the license
was ordered bundled, in other words the system software came together with options.
license number The license number is the feature of a license that is used for its unique identification.
MCI board The MCI board represents, as the carrier of all the remanent data of a SINUMERIK solution
line control system, the identity of this control system. The MCI board includes the following
data relevant for the license management:
• Hardware serial number
• License information including the License Key
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 563
License management
17.1 Basic principles
Term Description
Hardware serial number The hardware serial number is a permanent part of the MCI board. It is used to identify a
control system uniquely. The hardware serial number can be determined by:
• CoL (see: Certificate of License "Note")
• SINUMERIK user interfaces: HMI Advanced or HMI Embedded
• SINUMERIK Commissioning tool: SinuCom NC
• Automation License Manager
• Inscription on the MCI board
License key The License Key is the "technical representative" of the sum of all the licenses that are
assigned to one particular piece of hardware, which is uniquely marked by its hardware serial
number.
Option One option is a SINUMERIK software product that is not contained in the basic version and
which requires the purchase of a license for its use.
Product A product is marked by the data below within the license management of SINUMERIK
software products:
• Product name
• Order Number
• license number
17.1.2 Overview
The use of the installed system software and the options activated on a SINUMERIK control
system require that the licenses purchased for this purpose are assigned to the hardware. In
the course of this assignment, a License Key is generated from the license numbers of the
system software, the options, as well as the hardware serial number. Here, access occurs to
a license database administered by Siemens A&D via the Internet. Finally, the license
information including the License Key is transferred to the hardware.
There are two ways to access the license database:
● Web License Manager
● Automation License Manager
Note
Using SINUMERIK software products for testing purposes
SINUMERIK software products may be temporarily activated and used for testing
purposes on a SINUMERIK control system, even without the corresponding License Key.
On the SINUMERIK user interface, e.g. HMI Advanced, the License Key is then displayed
as "not sufficient" in the "Overview" dialog box. Also the control system will repeatedly
display a corresponding message.
Manual
564 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
License management
17.1 Basic principles
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 565
License management
17.1 Basic principles
Note
The following is to be taken into account:
• You can obtain a customer login via Siemens A&D Mall at menu item "Registration".
The Internet address is:
http://mall.automation.siemens.com/
Currently, access is not yet possible for all countries.
• For browser settings for using the A&D Mall please refer to Subsection "Browser
settings for using the A&D Mall" (Page 569).
Manual
566 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
License management
17.1 Basic principles
Note
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 567
License management
17.1 Basic principles
Manual
568 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
License management
17.1 Basic principles
Session cookies
Session cookies must be enabled to use the A&D Mall. The corresponding setting can be
activated using the slider control for the general security settings. If you are using custom
security settings, you must explicitly allow session cookies.
settings
● General data protection settings:
Menu bar: Tools > Internet Options > Tab: "Security" > Slider control: "medium" or
"medium-high".
● User-defined data protection settings:
Menu bar: Tools > Internet Options > Tab: "Security" > "Settings" Group: Button:
"Advanced..." > "Cookies" Group: Select "Always allow session cookies".
Note
A cookie is a small text file, which is transferred from a Web server to the Web browser.
The text file cannot exceed 4000 characters (bytes) and is never executed as a program
by the Web browser.
Session cookies are a specific application format of cookies, which are not saved
permanently on the computer, but instead are deleted immediately when the user ends
the session.
JavaScript
In addition to session cookies, you must also allow execution of JavaScript programs to use
A&D Mall.
As the running of JavaScript programs is critical to security, you should only activate the
"Active Scripting" option for Web pages from trusted sources. Internet Explorer 6.0 x offers
four different zones for this.
settings
● Internet pages of Siemens to the zone: Add "Trusted Sites":
Menu bar: Tools > Internet Options > Tab: "Security" > Zone: "Trusted Sites" > Button:
"Sites..." > "Add this Web site to the zone": "*.siemens.com" > Button: "Add"
● Enable "Active Scripting":
Menu bar: Tools > Internet Options > Tab: "Security" > Zone: "Trusted Sites" > Button:
"Custom Level..." > Zone: "Scripting" > "Active Scripting" = "Enable"
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 569
License management
17.1 Basic principles
Note
The Automation License Manager must be allowed to establish an Internet connection to the
download server. To do this you may need to enable a firewall for the download server.
In the event of queries and problems, please contact your local system administrator.
Manual
570 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
License management
17.2 Assigning via Web License Manager
Background
For the direct access, log on to a computer connected to the Internet (PC/PG) with the
delivery note and license number in the Web License Manager. All licenses of the delivery
note numbers entered at the login may then be assigned to a piece of hardware. After
completing the assignment process, the new License Key is displayed. This must then be
entered in the licensing dialog of the HMI components used.
Requirements
The following prerequisites must be met in order to assign a license to a piece of hardware
via direct access and HMI user interface:
● The HMI component is connected with the control system (NCU) on which the license
should be assigned. Both components have been booted.
● A computer (PC/PG) with Internet connection and browser is available.
● The login data for the direct access (e.g. per CoL) are available:
– license number
– Delivery note number
Implementation
Assigning a license to a piece of hardware:
1. Determine the HW serial number and the product name (HMI Advanced/HMI Embedded:
"Type of hardware") via the HMI Licensing dialog box.
HMI Advanced/HMI Embedded:
Operating-area switchover: Commissioning > Key: etc. (">") > Licenses > Overview
Note
Ensure that the hardware serial number displayed is also really the one you want to make
the assignment for. The assignment of a license to a piece of hardware cannot be
reversed via the Web License Manager.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 571
License management
17.2 Assigning via Web License Manager
5. After completing the assignment process, enter the License Key displayed on the Web
License Manager into the licensing dialog of the HMI user interface.
HMI Advanced/HMI Embedded:
Operating-area switchover: Commissioning > Key: etc. (">") > Licenses > Overview
6. Confirm the entry of the new License Key by pressing the softkey: "Transfer".
Background
For the customer login, log on to a computer (PC/PG) connected to the Internet with the user
name and password in the Web License Manager. All licenses released for this user name in
the framework of the license management may then be assigned to a piece of hardware.
After completing the assignment process, the new License Key is displayed. This must then
be entered in the licensing dialog of the HMI components used.
Requirements
The following prerequisites must be met in order to assign a license to a piece of hardware
via customer login and HMI user interface:
● The HMI component is connected with the control system (NCU) on which the license
should be assigned. Both components have been booted.
● A computer (PC/PG) with Internet connection and browser is available.
● The login data for the customer login is available:
– User name
– Password
Implementation
Assigning a license to a piece of hardware:
1. Determine the HW serial number and the product name (HMI Advanced/HMI Embedded:
"Type of hardware") via the HMI Licensing dialog box.
HMI Advanced/HMI Embedded:
Operating-area switchover: Commissioning > Key: etc. (">") > Licenses > Overview
Note
Ensure that the hardware serial number displayed is also really the one you want to make
the assignment for. The assignment of a license to a piece of hardware cannot be
reversed via the Web License Manager.
Manual
572 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
License management
17.2 Assigning via Web License Manager
Note
If you have an e-mail address, you have the option (checkbox) of receiving the License
Key by e-mail. Advantage: the entry of the License Key to the control system is simplified.
5. After completing the assignment process, enter the License Key displayed on the Web
License Manager into the licensing dialog of the HMI user interface.
HMI Advanced/HMI Embedded:
Operating-area switchover: Commissioning > Key: etc. (">") > Licenses > Overview
6. Confirm the entry of the new License Key by pressing the softkey: "Transfer".
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 573
License management
17.3 Assigning via Automation License Manager
&KDSWHU,QVWDOOLQJWKHDGYDQFHG
$XWRPDWLRQ/LFHQVH0DQDJHU
&KHFNLQJWKH6,180(5,.SOXJದLQV
6HFWLRQ(QDEOLQJGLVDEOLQJ6,180(5,.
SOXJದLQV
&KDSWHU$VVLJQLQJSDUDPHWHUVWRWKH
7&3,3FRPPXQLFDWLRQZLWKDFRQWUROV\V
&KDSWHU'LVSOD\LQJWKHOLFHQVH &KDSWHU8SGDWLQJWKHರ0DQDJHPHQWರ
LQIRUPDWLRQRIDSLHFHRIKDUGZDUH YLHZ
$VVLJQLQJWKHOLFHQVHWRWKHKDUGZDUH
/LFHQVHUHTXLUHPHQWDOLJQPHQW
ZLWK ZLWK
FRQWUROV\VWHPRQOLQH FRQWUROLPDJHRIIOLQH
&KDSWHU3HUIRUPLQJDOLFHQVHUHTXLUHPHQW &KDSWHU&UHDWLQJDFRQWUROLPDJH
DOLJQPHQWIRUDSLHFHRIKDUGZDUH RIIOLQH
&KDSWHU3HUIRUPLQJDOLFHQVHUHTXLUHPHQW
DOLJQPHQWIRUDSLHFHRIKDUGZDUH
&KDSWHU7UDQVIHUULQJOLFHQVHLQIRUPDWLRQ
IRUDFRQWUROLPDJHRIIOLQHWRDFRQWURO
V\VWHPRQOLQH
Manual
574 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
License management
17.3 Assigning via Automation License Manager
Background
As a basic software component, the Automation License Manager comprises the Automation
License Manager itself, as well as additional SINUMERIK-specific plug-ins and the HMI
basic software component, HMI basic software, for the license management of SINUMERIK
License Keys.
Note
The basic software component, Automation License Manager, is used for all Siemens A&D
products, e.g. SIMATIC STEP7. Versions of the basic software component, Automation
License Manager, are upward compatible. We recommend always using the version with the
highest version number, irrespective of the source of supply (e.g. SINUMERIK or SIMATIC
product CD, download via A&D Mall, etc.).
System requirements
Hardware
● Computer: Industrial PC, programming device, etc.
● Work memory: >= 128 MB
● Free hard-disk storage:
more than 5 MByte (SINUMERIK plug-ins)
+ 32 MByte (Automation License Manager)
+ 300 MByte (HMI Basic software)
Operating system
The Automation License Manager, SINUMERIK plug-ins and HMI basic software are 32-Bit
Windows programs executable on the following operating systems:
● Windows 2000
● Windows XP
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 575
License management
17.3 Assigning via Automation License Manager
Implementation
Launch the installation program for the Automation License Manager "SETUP.EXE" and
follow the instructions for the installation.
Further settings
Note the following settings:
● Browser settings for using the A&D Mall:
Subsection "Browser settings for using the A&D Mall" (Page 569)
● Proxy settings for downloading license information:
Subsection "Proxy Settings for downloading license information" (Page 570)
Background
All plug-ins enabled for the Automation License Manager scan the communication interfaces
when booting according to specific operations. If there is a large number of enabled plug-ins,
this can result in a significantly longer boot and refresh time for the user interface.
To prevent this delay, you can disable the plug-in installed for handling the SINUMERIK
License Keys via the dialog "Connect destination system":
Implementation
Perform the following actions to enable/disable the SINUMERIK plug-ins:
1. Run Automation License Manager.
2. Open the "Connect destination system" dialog via the menu command Machine >
Connect destination system > PlugIn SINUMERIK.
3. Open the Settings tab in the dialog
4. Enable/disable the plug-in by selecting/deselecting the appropriate checkbox.
5. Click OK to close the dialog box.
Manual
576 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
License management
17.3 Assigning via Automation License Manager
Result
The Automation License Manager displays the data in the navigation and object area
according to the status of the SINUMERIK plug-in.
The folder symbols and names are displayed in the navigation area depending on the status
of the SINUMERIK plug-in and the communication link to the SINUMERIK control:
● SINUMERIK plug-in disabled:
PlugIn SINUMERIK - - - - disabled - - - -
● SINUMERIK plug-in enabled, but no communication link with SINUMERIK control:
Note
If the view is not automatically refreshed, you can refresh the view manually. Refer to
Subsection "Update the "Manage" Navigation view" (Page 580).
Background
To be able to read or transfer license information to or from the MCI board of a control
system, the Automation License Manager must communicate with the control system via
TCP/IP.
Requirements:
● HMI basic software is installed
● SINUMERIK-specific plug-ins are enabled
Note
If the SINUMERIK user interface "HMI Advanced" is installed on the same computer
(PC/PG) as the Automation License Manager you can set the IP address using the user
interface.
The IP address for the control system with which both HMI Advanced as well as the
Automation License Manager communicate is set via the following dialog:
Operating area switchover > Startup > HMI > NCU link
This requires at least the password of protection level 2 (manufacturer) to be set.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 577
License management
17.3 Assigning via Automation License Manager
>*/2%$/@
1FGGH0DFKLQH1DPH $GGUHVV3DUDPHWHU
1FGGH'HIDXOW0DFKLQH1DPH $GGUHVV3DUDPHWHU
1FGGH0DFKLQH1DPHV $GGUHVV3DUDPHWHU
>$GGUHVV3DUDPHWHU@
$''5(66 ,3$GGUHVV/,1( 1$0( 1&6$3 G352),/( &/7BB&3B/B,17
$''5(66 ,3$GGUHVV/,1( 1$0( 3/&6$3 352),/( &/7BB&3B/B,17
$''5(66 ,3$GGUHVV/,1( 1$0( '5,9(6$3 352),/( &/7BB&3B/B,17
$''5(66 ,3$GGUHVV/,1( 1$0( '5,9(6$3 D352),/( &/7BB&3B/B,17
$''5(66 ,3$GGUHVV/,1( 1$0( '5,9(6$3 E352),/( &/7BB&3B/B,17
$''5(66 ,3$GGUHVV/,1( 1$0( '5,9(6$3 F352),/( &/7BB&3B/B,17
$''5(66 ,3$GGUHVV/,1( 1$0( '5,9(6$3 G352),/( &/7BB&3B/B,17
$''5(66 ,3$GGUHVV/,1( 1$0( '5,9(6$3 H352),/( &/7BB&3B/B,17
NOTICE
The IP address specified in the user-specific initialization file MMC.INI influences not only
the Automation License Manager but also all other applications installed on the same
computer (PC/PG) that use HMI basic software (e.g. HMI Advanced).
To apply the change to the active IP address, you must close all active applications using
HMI basic software (e.g. HMI Advanced). Once you have closed all applications, restart the
computer to activate the new IP address.
Manual
578 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
License management
17.3 Assigning via Automation License Manager
Requirements
The following conditions must be fulfilled:
● HMI Basic is installed on the computer (PC/PG) on which the Automation License
Manager is running.
● The IP addresses of the SINUMERIK control systems with which the Automation License
Manager must communicate are known.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 579
License management
17.3 Assigning via Automation License Manager
Result
After booting the Automation License Manager communicates with the SINUMERIK control
system defined in the user-specific communication parameters.
The control system to which you have switched is represented by an "online" control system
file in the navigation area of the Automation License Manager.
The control system to which the Automation License Manager was connected before
switching is represented by an "offline" control system file, if a control image (offline) exists.
Background
Actions that delete or add elements in the navigation area of the "Management" navigation
view of the Automation License Manager (e.g. deleting a control image (offline),
enabling/disabling plug-ins) are generally followed by an automatic refresh of the view. If the
view does not refresh automatically after an operation, you can refresh the view manually.
Implementation
Perform the following actions to manually refresh the "Management" navigation view:
1. Select the following nodes in the navigation area of the Automation License Manager by
clicking on the Dedicated computer node with the left mouse key.
2. Refresh the view using one of the following options:
– Menu command View > Refresh
– Key F5
– Tool bar
Result
The navigation view of the Automation License Manager is refreshed. All sub-nodes under
the Dedicated computer node are closed.
The object view of the Automation License Manager shows the current nodes and drives of
the navigation area.
Manual
580 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
License management
17.3 Assigning via Automation License Manager
Background
To perform the following tasks with the Automatic License Manager, the system should
display the license information of a hardware unit:
● Check the license information for the hardware
● Ascertain the license requirement for the hardware and align if necessary
● Assign new licenses to hardware and transfer updated license information including
License Keys to the hardware
Requirements
The license information can only be displayed if the Automation License Manager is
communicating with the relevant SINUMERIK control system. A description of how to assign
parameters for TCP/IP communication with a control system is given in Subsection
"Parameterize TCP/IP communication with a control system" (Page 577).
Result
The license information for the control system is displayed in the object area of the
Automation License Manager.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 581
License management
17.3 Assigning via Automation License Manager
Background
It is essential to create a control image (offline) for the following reasons:
● The license information must be later transferred to the hardware.
● The control system (online) is not connected to the Internet, e.g. for security reasons.
Consequently, the license information must be transferred to the hardware in three
individual stages.
● Internet or PTP link: Creating a control image (offline) in the Automation License Manager
– Internet: Transferring license information to the control image (offline) by means of a
license requirement alignment
– Internet or PTP link: Transferring license information from the control image (offline) to
the control system (online) in the Automation License Manager
● The license information for a control system should be saved as an archive file for the
purpose of archiving or customer support.
Requirements
A control image (offline) can only be created if the Automation License Manager is
communicating with the control system.
A detailed description of how to define parameters for TCP/IP communication with a control
system is given in Subsection "Parameterize TCP/IP communication with a control
system" (Page 577).
A PTP link (Peer-To-Peer) via Ethernet and TCP/IP requires a crossed Ethernet cable
(twisted pair crossed 10baseT/100baseTX Ethernet cable).
Result
The control image (offline) is displayed in the "online" control system file with the current
license information for the control system. If a control image (offline) already exists in the
"online" control system file, the image is overwritten with the current license information.
Manual
582 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
License management
17.3 Assigning via Automation License Manager
Background
If one or more options are active on a SINUMERIK control system, you must assign each
license to the hardware. Next, the updated license information including the License Key is
transferred to the hardware.
You can use the "Align requirement" function to perform the alignment automatically for all
required licenses based on the control system (online) or a control image (offline). The
following actions are performed:
● Determining the hardware serial number for the control system
● Determining the license requirement for the control system
● Taking the required licenses from the customer-specific licenses and assigning these to
the hardware
● Transferring the updated license information including License Key to the control system
(online) or the control image (offline)
Requirements
The following requirements must be met for the license requirement alignment:
● The address data for the customer login (personalized login) is available:
– User Name
– Password
● Control (online) or control image (offline)
An "online" control system file or an "offline" control system file with the relevant control
image (offline) is available.
How to create a control system image (offline) is described in Subsection "Creating a
control system image (offline)".
A description of how to assign parameters for TCP/IP communication with a control
system is given in Subsection "Parameterize TCP/IP communication with a control
system" (Page 577).
Implementation
Perform the following actions for license requirement alignment with a control system (online)
or a control image (offline):
1. Open the corresponding control system file in the navigation area of the Automation
License Manager and select the control system (online) or the control image (offline).
2. Select menu command "License Key" > "Align requirement".
3. Login via your customer login.
4. Execute the following steps in the Automation License Manager:
"Align requirement", "Confirm requirement list" and "Transfer licenses".
Follow the instructions displayed on the screen.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 583
License management
17.3 Assigning via Automation License Manager
NOTICE
Carefully check the suggested license assignment. An adjustment may be required if:
• you wish to use a license number that differs from the number suggested
• you wish to use a license package rather than single licenses
• you wish to assign greater or fewer licenses than suggested for any reason
You can no longer undo the assignment independently.
The procedure for transferring the updated license information from a control image (offline)
to a control system (online) is described in Subsection "Transfer license information of a
control image (offline) to a control (online)" (Page 584).
Result
The license information for the control system (online) or control image (offline) is now
identical to the information for the relevant hardware in the license database, including the
License Key.
17.3.9 Transferring license information for a control image (offline) to a control system
(online)
Background
It is essential to transfer the license information for a control image (offline) to a control
system (online), i.e. the hardware for a SINUMERIK control, for the following reasons:
● The control system (online) is not connected to the Internet, e.g. for security reasons.
License information is initially only updated based on a control image (offline). The
computer on which the Automation License Manager is running is then disconnected from
the Internet and connected to the relevant SINUMERIK control system to transfer the
license information.
● After a service call, the license information should be transferred from an archive file to a
SINUMERIK control system.
Requirements
To transfer license information for a control image (offline) to a control system (online) the
following requirements must be met:
● The Automation License Manager must be communicating with the control system.
A detailed description of how to define parameters for TCP/IP communication with a
control system is given in Subsection "Parameterize TCP/IP communication with a control
system" (Page 577).
● The hardware serial number of the control image (offline) and the control system (online)
must be identical.
Manual
584 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
License management
17.3 Assigning via Automation License Manager
Result
The license information for the hardware is now identical to the information for the control
image (offline), including the License Key.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 585
License management
17.3 Assigning via Automation License Manager
Manual
586 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
840Di-specific data and functions 18
18.1 Interface signals
For detailed information on interface signals, please refer to the function manuals:
● /FB1/Function Manual - Basic Functions
● /FB2/ Function Manual - Extended Functions
● /FB3/ Function Manual - Special Functions
● /FBSY/ Function Manual Synchronous Actions
For a complete list of all existing interface signals, please refer to:
● /LIS/Lists, Section "Interface signals"
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 587
840Di-specific data and functions
18.1 Interface signals
Manual
588 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
840Di-specific data and functions
18.2 Expanded message frame configuration/evaluation of internal drive variables
3'$IRUH[SDQGHGPHVVDJHIUDPH
3'$6WDQGDUGPHVVDJHIUDPH 3'$$GGLWLRQDO
GULYHGDWD
Figure 18-1 Standard message frame with additional process data (PDA)
NC system variable
According to the selected functionality, for each axis the additional PDA is available on the
NC side in individual specified system variables or the entire frame as an array of neutral
data words via a general system variable. In both cases, the system variables are read-only.
Select the required setting in the NC machine data:
● MD36730 $MA_DRIVE_SIGNAL_TRACKING[n] (acquisition of additional drive actual
values)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 589
840Di-specific data and functions
18.2 Expanded message frame configuration/evaluation of internal drive variables
Note
• The message frame configuration must meet the following condition:
(Standard PDA + Additional PDA) - 1 ≤ n
where n = maximum possible index for system variable $VA_DP_ACT_TEL
• When using the system variables $VA_DP_ACT_TEL[n, a] in a user program, it is only
permissible to use one constant as index n.
Data formats
The user must take the following points into account with regard to the data formats of the
process data stored in the system variables:
● The PDA is transferred to the message frame in the 16Bit integer without prefix (UINT16)
format. They are stored in the system variables in the 32Bit-Integer with prefix (INT32)
format.
In the necessary format conversion, bit 15 of the unsigned 16-bit integer PDA value is
transferred to bits 16 to 31 of the signed 32-bit integer value in the system variable. For
the physical unit as well as the drive-end weighting of the drive actual values transferred
in the additional PDA, please refer to the data description of the specific drive
documentation.
● Drive values combined from 2 PDA (16Bit each) are mapped in the $VA_DP_ACT_TEL
system variable to 2 separate data words (32Bit each), e.g.:
– Encoder 2 position actual value 1 (G2_XIST1)
– Encoder 2 position actual value 2 (G2_XIST2)
How the process data of the message frame is mapped onto system variable
$VA_DP_ACT_TEL is illustrated by the following figure:
Manual
590 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
840Di-specific data and functions
18.2 Expanded message frame configuration/evaluation of internal drive variables
3'$IRUH[SDQGHGPHVVDJHIUDPH
3'$6WDQGDUG 3'$$GGLWLRQDO
PHVVDJHIUDPH GULYHGDWD
3'$ 3'$[ 3'$[ 3'$\
6\VWHPYDULDEOH9$B'3B$&7B7(/>QD@
NOTICE
The responsibility for possibly necessary format conversions or correct interpretation of the
physical unit and significance of a system variable used in part programs or synchronized
actions lies exclusively with the user. Due to system restrictions, it is not possible for the
NC to perform a consistency check.
18.2.2 Requirements
The following conditions must be fulfilled for the transfer of additional drive variables:
● Drive
The drive must support SIEMENS message frame 116 or free message frame
configuration.
● DP master/SIMATIC STEP 7
No additional requirements
● SINUMERIK 840Di sl NC
– The option must be avaliable:
"Evaluation of internal drive variables",
Order No. (MLFB): 6FC5 251-0AB17-0BA0
– The NC machine data should be set:
MD36730 $MA_DRIVE_SIGNAL_TRACKING[n] (acquisition of additional drive actual
values)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 591
840Di-specific data and functions
18.2 Expanded message frame configuration/evaluation of internal drive variables
18.2.3 Project design: SINAMICS S120 and SIEMENS message frame 116
When using SIEMENS message frame 116 no further measures are required other than
those applied for standard configuration.
18.2.4 Project design: SINAMICS S120 and expanded message frame configuration
Standard engineering
Before configuring the additional drive variables, please define the following:
● The SIEMENS message frame that is to be used.
● The additional drive variables/PDA that are to be transferred.
Note
When transferring additional drive variables to the specific system variables, we
recommend always using SIEMENS message frame 116.
Manual
592 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
840Di-specific data and functions
18.2 Expanded message frame configuration/evaluation of internal drive variables
Dialog
NOTICE
The following is to be taken into account:
• The setpoint and actual value of a drive must have the same I/O address.
Actual value: I/O address = = Setpoint: I/O address
• The I/O address configured in HW Config for a drive must match the I/O address set in
the NC.
There is no automatic adjustment!
The following data must agree:
– SIMATIC S7 configuration DP slave S120
I/O address
– SINUMERIK 840Di sl NC
MD13060 $MN_DRIVE_LOGIC_ADDRESS[n] (logical drive address)
Note
After the above mentioned length increase of the PDA actual value (DP Slave Properties
dialog box > Configuration > Details >Actual Value > Length), the originally selected
message frame type is not displayed if the Property dialog box is reopened. Either no
message frame type is displayed or the one incidentally fitting the changed PDA message
frame type is displayed:
Dialog: DP slave properties
Tab: Configuration
Page: Overview
Predefined: <Messag frame type>
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 593
840Di-specific data and functions
18.2 Expanded message frame configuration/evaluation of internal drive variables
Standard engineering
For the standard configuration or commissioning of the drive, please see:
● Commissioning (requirements)
– Chapter Drive Commissioning (SINAMICS), "Requirements" (Page 307)
● Standard configuration or commissioning
– References:
SINAMICS S120 Commissioning Manual
352),%86UHFHLYHGLUHFWLRQ 352),%866HQG'LUHFWLRQ
+LGHLQDFWLYHLQWHUFRQQHFWLRQV
0HVVDJHIUDPHVHOHFWLRQ )UHHPHVVDJHIUDPHFRQILJXUDWLRQZLWK%,&2
%LQHFWRUದFRQQHFWRU U>@&2352),%86VWDWH
FRQYHUWHU
U&2$FWXDOVSHHGVPRRWKHG
U>@&2352),%86VWDWH
&ORVH +HOS
'ULYHB
Manual
594 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
840Di-specific data and functions
18.2 Expanded message frame configuration/evaluation of internal drive variables
3. Configuring the NC
Before configuring the expanded message frame configuration, you first need to perform the
standard configuration on the NC for the drive.
Standard configuration
How to proceed with the standard configuration of a drive is described in Subsection "Drive
configuration" (Page 389).
Note
After configuring the expanded message frames, the original configured message frame
for the cyclic communication of the drive is only explicitly visible in the following machine
data:
• MD13060 $MN_DRIVE_TELEGRAM_TYP[n] (drive message frame type)
Standard engineering
Before performing the expanded message frame configuration, please define the following:
● The standard message frame that is to be used for the DP slave drive.
● How many drive actual values/PDA are also to be transferred
Note
It is advisable to configure each component first with the standard message frame and
then expand the frame by the additional PDA.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 595
840Di-specific data and functions
18.2 Expanded message frame configuration/evaluation of internal drive variables
Standard engineering
For information on how to perform a standard configuration of the DP master, please see
Section "DP slave SIMODRIVE drives" (Page 297).
Dialog
Manual
596 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
840Di-specific data and functions
18.2 Expanded message frame configuration/evaluation of internal drive variables
NOTICE
The following is to be taken into account:
• The I/O address for setpoint and actual values of an axis must be the same.
I/O address actual value = = I/O address setpoint
• The I/O address set by the SlaveOM for an axis must match the I/O address set in the
NC.
There is no automatic adjustment!
The following data must agree:
– 1. SIMATIC S7 configuration DP slave 611U
I/O address
– 2. SINUMERIK 840Di sl NC
MD13060 $MN_DRIVE_LOGIC_ADDRESS[n] (logical drive address)
Note
After the length increase of the actual value PDA (DP slave properties dialog > Configuration
>Actual value >Length) described above, a renewed opening of the properties dialog and the
following message frame type does not lead to the display of the originally selected message
frame. Instead, no message frame or the one matching the changed PDA is displayed:
Dialog: DP slave properties
Tab: Configuration
Predefined: <Messag frame type>
Standard engineering
For the standard configuration or commissioning of the drive, please see:
● Commissioning (requirements)
– Chapter Drive Commissioning (SINAMICS), "Requirements" (Page 307)
● Standard configuration or commissioning
– SIMODRIVE 611 universal and universal E:
References:
/FBU/ Function Manual SIMODRIVE 611 universal
– SIMODRIVE POSMO SI/CD/CA
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 597
840Di-specific data and functions
18.2 Expanded message frame configuration/evaluation of internal drive variables
References:
/POS3/ User Manual - SIMODRIVE POSMO SI/CD/CA
– SimoCom U commissioning tool
References:
Online Help of SimoCom U
NOTICE
Before configuring the additional drive actual values, please ensure that the correct drive -
and if using a multiple axis module, the correct axis - was selected in the SimoCom U
commissioning tool.
6LPR&RP8$GULYH
)LOH (GLW &RPPLVVLRQLQJ 2SHUDWLRQ 'LDJQRVWLFV 7RROV +HOS
2QOLQHWRGULYH$ !GDWDDUHPRGLILHGGLUHFWO\LQWKHGULYH
2SWLRQPRGXOHW\SH 352),%86VWDWLRQDGGUHVV
Manual
598 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
840Di-specific data and functions
18.2 Expanded message frame configuration/evaluation of internal drive variables
6LPR&RP8$GULYH
)LOH (GLW &RPPLVVLRQLQJ 2SHUDWLRQ 'LDJQRVWLFV 7RROV +HOS
2QOLQHWRGULYH$ !GDWDDUHPRGLILHGGLUHFWO\LQWKHGULYH
352),%862)) &RQWURORIFORFNದV\QFKURQL]HG352),%86
Standard configuration
How to proceed with the standard configuration of a drive is described in Subsection "Drive
configuration" (Page 389).
Note
After configuring the expanded message frame configuration, the standard message
frame with which the axis is driven is only explicitly visible in the NC machine data:
• MD13060 $MN_DRIVE_TELEGRAM_TYP[n] (drive message frame type)
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 599
840Di-specific data and functions
18.2 Expanded message frame configuration/evaluation of internal drive variables
18.2.6 Constraints
Slot assignment
The NC always occupies an entire slot. The data of the slot not used by the NC, e.g. data
from the extended message frame configuration therefore, cannot be written by the PLC
user program.
Constraints
The following restrictions are applicable with regard to the "expanded message frame
configuration" function:
● Additional data can only be transferred from the drive to the SINUMERIK 840Di sl NC
(actual value channel). You cannot transfer data in the other direction, i.e. from the NC to
the DP slave drive (setpoint channel).
● You can only have read access to the drive data stored in the system variables.
Consistency check
When the SINUMERIK 840Di sl boots, the NC checks the consistency of the parameters
relevant to the process data configuration of the cyclic PROFIBUS communication:
● NC
– MD13060 $MN_DRIVE_TELEGRAM_TYPE[n] (drive message frame type)
● DP master (configuration)
– DP slave properties: Setpoint: Length
– DP slave properties: Actual value: Length
● Drive
– Message frame selection
– PDA setpoint assignment
– PDA actual value assignment
If the number of process data expected by the NC, parameterized via the message frame
type in NC machine data MD13060 $MN_DRIVE_TELEGRAM_TYPE[n] (drive message
frame type) is bigger than the number configured with STEP 7 HW Config for the DP slave
drive (DP slave properties: Setpoint: Length/DP slave properties: Actual value: Length) or if
the process data configuration for the drive parameters does not match the message frame
type for the NC machine data, then the following alarm is displayed:
● Alarm 26015 "Axis axis identifier machine data $MN_DRIVE_TELEGRAM_TYPE[index]
value not permissible".
Manual
600 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
840Di-specific data and functions
18.2 Expanded message frame configuration/evaluation of internal drive variables
WARNING
For system purposes, the consistency check, which is performed when the SINUMERIK
840Disl boots and which is based on acyclic communication with the drive, is performed
in conjunction with the cyclical communication - which is already active - between NC
and drive.
As setpoint and actual values are already being exchanged between the NC position
control and drive as part of the cyclic communication, uncontrolled system states can
occur on the part of the drive due to faulty process data configurations which cannot be
detected yet at this point in time.
The same applies if acyclic communication is not supported by a drive, or if acyclic
communication was deactivated for a drive via the axis-specific NC machine data and
hence, no consistency check by NC is possible:
• MD13070 $MN_DRIVE_FUNCTION_MASK[n] (Used DP functions)
Therefore, the responsibility lies with the commissioning engineer to implement suitable
measures to avoid uncontrolled traversing of the drives during startup, caused by
inconsistencies in the above mentioned data.
An error can present a risk of danger to person or machine.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 601
840Di-specific data and functions
18.2 Expanded message frame configuration/evaluation of internal drive variables
13070 DRIVE_FUNCTION_MASK
MD number Bit-coded screen for selecting the functional scope expected by the NC with PROFIBUS
drives
Default setting: 0 Min. input limit: 0 Max. input limit: FFFF FFFF
Changes effective after POWER ON Protection level: 2/7 unit: -
Data type: DWORD Valid as of software version: 2.1
Meaning: Description of the set bits:
Bit 0: Deactivation of the 611U-specific drive alarm generation
Bit 1: Deactivation of the 611U-specific drive type detection.
Bit 2: Deactivation of the 611U-specific parameter access encoder drivers
Bit 3: Deactivation of the 611U-specific parameter access output drivers.
Bit 4: Activation of external drive: DSC bits (STW1.12/STA1.12)
Bit 5: Deactivation of 611U-specific drive parking (STW2.7/STA2.7)
Bit 6: Deactivation of the 611U-specific travel to fixed stop (STW2.8/STA2.8)
Bit 7: Deactivation of the 611U-specific internal motor switchover (STA2.9 to 11)
Bit 8: Deactivation of the 611U-specific ramp block (STW1.13)
Bit 9: Deactivation of the 611U-specific function generator functions (STW1.8/STA1.13)
Bit 14: Selection of non-cyclic DP communication: 0=DPT; 1=DPV1
Bit 15: Deactivation of consistency check of PROFIBUS message frame configuration
STW: Control word (PDA word in PROFIDrive message frame to DP slave)
STW: Control word (PDA word in PROFIDrive message frame from DP slave)
PDA: Process data
MD irrelevant for ... ---
Manual
602 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
840Di-specific data and functions
18.2 Expanded message frame configuration/evaluation of internal drive variables
36730 DRIVE_SIGNAL_TRACKING
MD number Detection of additional drive actual values
Default setting: 0 Min. input limit: 0 Max. input limit: 4
Changes effective after POWER ON Protection level: 2/7 unit: -
Data type: BYTE Valid as of software version: 2.1
Meaning: DRIVE_SIGNAL_TRACKING (acquisition of additional drive actual values) informs the NC
which additional drive actual values are transferred in the PROFIDrive message frame and
in which system variables they should be stored.
Encoding:
0: No additional drive actual values
1: The following drive actual values are transferred and stored in the system variables:
actual value, system variable
Utilization, $AA_LOAD
Torque setpoint value, $AA_TORQUE
Power, $AA_POWER
Current actual value, t$AA_CURR
2: The total PROFIDrive message frame is stored in a system variable:
actual value, system variable
PROFIDrive message frame, $VA_DP_ACT_TEL
MD irrelevant for ... ---
System variables
Name $VA_DP_ACT_TEL[n, a]
Description Word by word mapping of the PROFIBUS message frame from the DP slave
Data type INTEGER
Value range [0, 65535]
Indices n: Array index Value range [0,20]
a: Machine axis Value range Machine axis identifier
Access Part program Synchronized action OPI
Read Read Read
Attributes Implicit preprocessing stop Cross-channel
Read yes
18.2.8 Interrupts
Detailed information on the individual alarms can be found in:
References:
/DA/ Diagnostics Manual
For systems with HMI Advanced you can refer to the online help.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 603
840Di-specific data and functions
18.3 Travel to fixed stop with high-resolution torque reduction
'ULYHSDUDPHWHUV>@ 0RP5HG
0VHW 0PD[෪0$;,080 ෪
● Mmax:
Maximum possible drive torque from rated motor torque and parameter P1230 torque
limit value.
● MomRed:
Control word in cyclic PROFIBUS message frame:
16384D = 4000H ≙ 1, i.e. at MomRed = 16384, the drive moment is reduced by the
amount of the drive parameter.
'ULYHWRUTXH0VHW
0PD[
$30LQ
$30D[
0RP5HG
' '
+ ))))+
Figure 18-6 Drive torque for the evaluation (drive parameter AP) and torque reduction (MomRed)
(Not true to scale)
The evaluation of the torque reduction must be identical in the drive and in the NC. The
settings range for torque reduction is defined by the limit values (0.005% to 10%) for the NC
machine data:
● MD37620 $MA_PROFIBUS_TORQUE_RED_RESOL
Manual
604 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
840Di-specific data and functions
18.3 Travel to fixed stop with high-resolution torque reduction
18.3.2 Comparison
Automatic adjustment
To simplify the torque reduction commissioning, the SINUMERIK 840Di sl NC tries to
perform, by default, an automatic adjustment using the torque reduction evaluation
configured in the drive. To do this the NC reads the relevant drive parameters and applies
the value converted to NC format in the machine data:
● MD37620 $MA_PROFIBUS_TORQUE_RED_RESOL
The following requirements must be met:
● The drive supports acyclic PROFIBUS communication.
● The drive has a parameter to standardize torque reduction.
● In the NC, acyclic communication with the drive is enabled with:
– MD13070 $MN_DRIVE_FUNCTION_MASK[n], Bit 15 == 1
Manual comparison
If the requirements for automatic adjustment of the NC and drive are not met, the adjustment
must be performed manually in the drive and NC.
Message frame
The drive must be operated with one of the following message frames:
● Message frame 102, 103, 105, 106 ,116
Drive parameters
The evaluation of torque reduction is set using the parameter:
● p1544 Torque reduction evaluation [%]
Normalization: 1% ≙ 16384D = 4000H
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 605
840Di-specific data and functions
18.3 Travel to fixed stop with high-resolution torque reduction
Message frame
The drive must be operated with one of the following message frames:
● Message frame 102 to 107
Drive parameters
The evaluation of torque reduction is set using the parameter:
● P0881 Torque reduction evaluation [%]
Normalization: 1% ≙ 16384D = 4000H
Automatic adjustment
During automatic adjustment, the NC attempts to read the drive parameters in the following
system states:
● SINUMERIK 840Di sl boot
● State: "Incoming station" of the DP slave drive
If the value set for the drive does not match the parameter assigned in the NC evaluation,
the value defined by the drive is applied to the NC machine data. The resulting
renormalization of the machine axis in question is shown by the following message:
● Alarm 26024 "Axis axis identifier machine data
$MA_PROFIBUS_TORQUE_RED_RESOL value adapted".
If the value of the drive parameter converted into NC format lies outside the machine data
limit values, the value set in the machine data is retained. No message is displayed.
Manual
606 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
840Di-specific data and functions
18.3 Travel to fixed stop with high-resolution torque reduction
Note
You can disable automatic adjustment via:
• MD13070 $MN_DRIVE_FUNCTION_MASK[n], Bit 15 = 0
Manual parameterization
If any of the aforementioned requirements for automatic adjustment is not met, the NC
machine data and drive parameters must be adjusted manually.
● MD37620 $MA_PROFIBUS_TORQUE_RED_RESOL = drive parameter: "Torque
reduction evaluation"
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 607
840Di-specific data and functions
18.3 Travel to fixed stop with high-resolution torque reduction
18.3.7 Constraints
No message is displayed in the following cases:
● If any of the requirements are not met, no automatic adjustment can be performed for the
SINUMERIK 840Di sl NC.
● The parameter assigned in the drive for the torque reduction evaluation lies outside of the
NC machine data limit values.
● The torque reduction is not renormalized for the NC.
Irrespective of whether or not a message is displayed, the NC machine data is effective in all
cases:
● MD37620 $MA_PROFIBUS_TORQUE_RED_RESOL
NOTICE
It is the system startup engineer's responsibility to ensure that the parameter settings
are consistent in the SINUMERIK 840Di sl NC and all relevant drives for which torque
reduction is being performed.
The following data must be consistent in terms of values and meaning:
1. SINUMERIK 840Di sl NC machine data
MD37620 $MA_PROFIBUS_TORQUE_RED_RESOL
2. Drive
– Automatic adjustment:
The parameter for evaluating the torque reduction:
SINAMICS: p1544
SIMODRIVE: P0881
– Manual comparison:
Drive parameter corresponding to the parameter for the evaluation of the torque
reduction.
Manual
608 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
840Di-specific data and functions
18.3 Travel to fixed stop with high-resolution torque reduction
13070 DRIVE_FUNCTION_MASK
MD number Bit-coded screen for selecting the functional scope expected by the NC with PROFIBUS
drives
Default setting: 0 Min. input limit: 0 Max. input limit: FFFF FFFF
Changes effective after POWER ON Protection level: 2/7 unit: -
Data type: DWORD Valid as of software version: 2.1
Meaning: Description of the set bits:
Bit 0: Deactivation of the 611U-specific drive alarm generation
Bit 1: Deactivation of the 611U-specific drive type detection.
Bit 2: Deactivation of the 611U-specific parameter access encoder drivers
Bit 3: Deactivation of the 611U-specific parameter access output drivers.
Bit 4: Activation of external drive: DSC bits (STW1.12/STA1.12)
Bit 5: Deactivation of 611U-specific drive parking (STW2.7/STA2.7)
Bit 6: Deactivation of the 611U-specific travel to fixed stop (STW2.8/STA2.8)
Bit 7: Deactivation of the 611U-specific internal motor switchover (STA2.9 to 11)
Bit 8: Deactivation of the 611U-specific ramp block (STW1.13)
Bit 9: Deactivation of the 611U-specific function generator functions (STW1.8/STA1.13)
Bit 14: Selection of non-cyclic DP communication: 0=DPT; 1=DPV1
Bit 15: Deactivation of consistency check of PROFIBUS message frame configuration
STW: Control word (PDA word in PROFIDrive message frame to DP slave)
STW: Control word (PDA word in PROFIDrive message frame from DP slave)
PDA: Process data
37620 PROFIBUS_TORQUE_RED_RESOL
MD number Torque reduction resolution on PROFIBUS (LSB weighting)
Default setting: 1 Min. input limit: 0.005 Max. input limit: 10
Change valid after NEWCONF Protection level: 2/7 unit: %
Data type: DOUBLE Valid as of software version: 2.2
Meaning: The default value 1% refers to the original weighting: The torque limit value is transferred to
the PROFIBUS in increments of 1%; the value 100 in the corresponding PROFIBUS data
cell signifies full torque reduction (i.e. without power).
By changing the MD to e.g. 0.005%, the raster conversion of the value in 0.005% can be
specified, i.e. the torque limit value is rasterized by the factor 200.
For restriction to the rated torque, the value 0 is transferred in this case, a full torque
reduction (i.e. without power) denotes the transferred value 10000.
To avoid wrong adaptation, the adjusted value of the machine data must be configured
according to the drive, or the permanently defined interpretation of the torque reduction
value must be selected.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 609
840Di-specific data and functions
18.3 Travel to fixed stop with high-resolution torque reduction
18.3.9 Interrupts
Detailed information on the individual alarms can be found in:
References:
/DA/ Diagnostics Manual
For systems with HMI Advanced you can refer to the online help.
Manual
610 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Appendix A
A.1 Abbreviations
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 611
Appendix
A.1 Abbreviations
Manual
612 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Appendix
A.1 Abbreviations
K1 Channel 1
KUE Gear ratio
KV Servo gain factor
LAN Local Area Network
LED Light-Emitting Diode: Light emitting diode
PMS1 Position measuring system 1
PMS2 Position measuring system 2
LSB Least significant bit
LUD Local User Data
MAC Media Access Control
MCI Motion Control Interface
MCIS Motion Control Information System
MCP Machine Control Panel
MD Machine data
MDA Manual Data Automatic: NC mode for entering and processing individual part program
blocks or block sequences
MELDW Message word
MCS Machine coordinate system
MLFB Machine Readable Product Designation: Order Number
MM Motor Module
MMC Man-Machine Communication
MPF Main Program File: NC part program (main program)
MPI Multi-Point Interface Multi-point serial interface
MCP Machine control panel
NC Numerical Control: Numerical control
NCK Numerical Control Kernel: NC kernel with block preparation, traversing range, etc.
NCU Numerical Control Unit: NC module
IS Interface signal
ZO Zero Offset
NX Numerical eXtension (axis extension module)
OB Organization block: Block type of PLC basic or user program
OLP Optical Link Plug: Fiber-optic bus connector
POI Process output image
PII PII Process input image
PCMCIA Personal Computer Memory Card International Association (plug-in memory card
standardization)
PCU PC Unit
PG Programming device
PKE Parameter identification: Part of a PIV
PIV Parameter identification: Value: Parameterizing part of a PPO
PLC Programmable Logic Control: Adaptation control
PNO PROFIBUS User Organization
PO Power On
POSMO A Positioning Motor Actuator: positioning motor
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 613
Appendix
A.1 Abbreviations
POSMO CA Positioning Motor Compact AC: Complete drive unit with integrated power and control
module as well as positioning unit and program memory; AC infeed.
POSMO CD Positioning Motor Compact DC: Like CA but with DC infeed
POSMO SI Positioning Motor Servo Integrated: Positioning motor, DC infeed
PPO Parameter process data object
Cyclic data message frame when transferring data with PROFIBUS DP and the "variable-
speed drives" profile
PROFIBUS Process Field Bus: Serieller Datenbus
PRT Program test
PSW Program control word
PUD Global Program User Data
PZD Process Data: Process data part of a PPO
RAM Program memory which can be read and written into
REF Reference point
RES Reset
ROV Rapid override: Rapid traverse override
RPA R-Parameter Active: Identifier for R parameters
RTCP Real Time Control Protocol
RTS Request To Send: RTS, control signal of serial data interfaces
SBC Safe brake activation
SBL Single Block: Single Block
SD Setting Data
SEA Setting Data Active: Identifier for setting data
SH Safe standstill
SIM Single Inline Module
SK Softkey
SKP SKiP: Skip block
SLM Synchronous Linear Motor
SMC Cabinet-mounted sensor module
SME Sensor Module Externally Mounted
SPF Sub Routine File: Subprogram
SRAM Static RAM (non-volatile)
SRM Synchronous Rotary Motor
LEC Leadscrew error compensation
SSI Synchronous serial interface (interface type)
STW Control word
SW Software
SW limit switch Software limit switches
TCPIP Transport Control Protocol - Internet Protocol
TCU Thin Client Unit
TEA Testing Data Active: Identifier for machine data
TO Tool Offset Tool offset
TOA Tool Offset Active: Identifier for tool offsets
TTL Transistor-Transistor Logic (interface type)
Manual
614 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Appendix
A.1 Abbreviations
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 615
Appendix
A.2 Feedback on the documentation
This document will be continuously improved with regard to its quality and ease of use.
Please help us with this task by sending your comments and suggestions for improvement
via e-mail or fax to:
E-mail: mailto:[email protected]
Manual
616 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Appendix
A.2 Feedback on the documentation
7R 6HQGHU
6,(0(16$*
1DPH
$ '0&06
32%R[ $GGUHVVRI\RXU&RPSDQ\'HSW
$GGUHVV
(5/$1*(1*(50$1<
=LSFRGH &LW\
3KRQH
6XJJHVWLRQVDQGRUFRUUHFWLRQV
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 617
Appendix
A.3 Overview
A.3 Overview
'RFXPHQW2YHUYLHZ6,180(5,.'VO'LVO
*HQHUDO'RFXPHQWDWLRQ
8VHU'RFXPHQWDWLRQ
0DQXIDFWXUHU6HUYLFH'RFXPHQWDWLRQ
0DQXIDFWXUHU6HUYLFH'RFXPHQWDWLRQ
(OHFWURQLF'RFXPHQWDWLRQ
6,180(5,.
6,1$0,&6
0RWRUV
'2&21&'
'2&21:(%
5HFRPPHQGHGPLQLPXPVFRSHRIGRFXPHQWDWLRQ
Manual
618 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Glossary
Antriebsobjekt
A drive object is an autonomous, individual software function with its own -> "Parameters"
and may also have its own -> "Fault"s and -> "Alarm"s. Drive objects may exist by default
(e.g. On Board I/O) can be created individually (e.g. –> "Terminal Board" 30, TB30) or also
as multiples (e.g. –> "Servo Control"). As a rule, each drive object has its own window for
parameterization and diagnostic purposes.
Basic infeed
Overall functionality of an infeed with –> "Basic Line Module" including the required
additional components (filters, switching devices, etc.).
Control Unit
Central control module in which the control and monitoring functions for one or several ->
SINAMICS -> Line modules, and/or -> Motor modules are implemented.
There are three types of control units:
● SINAMICS Control Units, e.g. -> "CU320"
● SIMOTION Control Units, e.g. -> "D425" and -> "D435"
● SINUMERIK solution line control units, e.g. NCU710, NCU720 and NCU730
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 619
Glossary
Control word
Bit-coded -"Process data" word, transmitted by -> "PROFIdrive" at cyclic intervals to control
the drive states.
Drive
The term "drive" comprises the following components: motor (electric or hydraulic), final
controlling element (converter, valve), control unit, measuring system, and supply
components (line infeed, pressure accumulator). For electric drives, a distinction is made
between a converter system and an inverter system. With a converter system (e.g. ->
"MICROMASTER 4"), from the point of view of the user the line infeed, actuator, and control
component form a single device; with an inventor system (e.g. -> "SINAMICS S"), the supply
is ensured by means of -> "Line Module", thereby realizing a DC line to which the ->
"Invertors" (-> "Motor Module"s) are connected. The (–> "Control unit") is implemented as a
separate device and connected to the other components by means of –> "DRIVE-CLiQ".
Drive component
Hardware component connected to a -> "Control unit" via -> "DRIVE-CLiQ" or in some other
way. Drive components include: -> "Motor Module"s, -> "Line Module"s, -> "Motor"s, -
> "Sensor Module"s and -> "Terminal Module"s. The overall layout of a Control Unit together
with the connected drive components is called -> "Drive unit".
Drive group
A drive group comprises a -> "Control Unit" and the -> "Motor Module"s and -> "Line
Module"s connected via -> "DRIVE CLiQ".
Drive parameters
Parameters of a drive axis that include, for example, the parameters of the corresponding
controllers, as well as the motor and encoder data. The parameters of the higher-level
technology functions (positioning, ramp-function generator), however, are called ->
"Application Parameters". See -> "Basic Unit System".
Drive system
The drive system includes all the components in a product family belonging to a drive, e.g.
SINAMICS. A drive system comprises, for example, -> "Line Module"s, -> "Motor Module"s, -
> "Sensors", -> "Motors", -> "Terminal Module"s and -> "Sensor Module"s as well as
additional components such as throttles, filters, cables etc.. See -> "Drive unit"
Manual
620 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Glossary
Drive unit
The drive unit includes all the components connected via –> "DRIVE-CLiQ" that are required
for carrying out a drive task: -> "Motor module" -> "Control unit" -> "Line module", and the
required -> "Firmware" and -> "Motor"s, but not additional components (such as filters or
reactors). Several -> "Drive"s can be implemented in a drive unit. See -> "Drive system"
DRIVE-CLiQ
Abbreviation for "Drive Component Link with IQ".
Communication system for connecting the various components of a SINAMICS drive system,
such as e.g. -> Control unit, -> "Line modules", -> "Motor modules", -> "Motors", and
speed/position encoders.
The DRIVE-CLiQ hardware is based on the Industrial Ethernet standard and uses twisted-
pair lines. The DRIVE-CLiQ line provides the transmit and receive signals, as well as the +24
V power supply.
Encoder
Records and makes positions available for electronic processing. Depending on the
mechanical construction, encoders can be integrated in the –> "Motor" (–> "Motor Sensor")
or mounted on the external mechanics (– "External Sensor"). Depending on the type of
movement, a distinction is made between rotary sensors ("rotary transducers") and
translatory sensors (e.g. - Linear Sensors). In terms of measured value provision, a
distinction is made between -> "Absolute encoders" (code sensors) and -> "Incremental
encoders". See -> "Incremental encoder TTL/HTL" -> "Incremental encoder sin/cos 1Vpp" ->
"Resolver".
External encoder
Position encoder that is not built in or mounted on the -> motor, but is attached outside to the
working machine or via a mechanical intermediate element. The external encoder (see ->
"Attachment encoder") is used for -> "direct position detection".
Infeed
Input component of a converter system for generating a DC link voltage to supply one or
more -> "Motor module"s, including all the required components (e.g. -> "Line module"s,
fuses, reactors, line filters, and firmware, as well as proportional computing power (if
required) in a -> "Control unit".
Line Module
A line module is a power component that generates the DC link voltage for one or more -
"motor modules" from a three-phase mains voltage. The following three line module types
are used for SINAMICS: -> Basic line module, -> Smart line module and -> Active line
module.
The overall function of an infeed, including the required additional components such as ->
Line reactor, proportional computing power in a -> control unit, switching devices, etc. is
called -> Basic infeed, -> Smart infeed, and -> Active infeed.
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 621
Glossary
Motor
For the electric motors that can be driven by –> "SINAMICS", a basic distinction is made
between rotary and linear motors with regard to their direction of motion, and between
synchronous and induction motors with regard to their electromagnetic operating principle.
For SINAMICS, the motors are connected to a -> motor module. See -> "Synchronous
motor" -> "Asynchronous motor" -> "Built-in motor" -> "Motor encoder" -> "External encoder"
Motor encoder
An -> "Encoder", e.g. -> "Resolver", -> "Incremental encoder TTL/HTL" or -> "Incremental
encoder sin/cos 1 Vpp"), which is integrated in or attached to the motor. The encoder detects
the motor speed and, in the case of synchronous motors, also the rotor position angle (of the
commutation angle for the motor currents). For drives without an additional -> "direct position
measuring system", it is also used as a -> "position encoder" for position control. In addition
to the motor encoders, -> there are "external encoders" for -> "direct position sensing".
Motor Module
A motor module is a power unit (DC-AC inverter) that provides the power supply for the
motor(s) connected to it. Power is supplied through the -> "DC link" of the -> "Drive unit". A
motor module must be connected via a -> DRIVE-CLiQ to a control unit in which the control
and regulation functions of the motor module are stored. There are -> "Single motor
modules" and -> "Double motor modules".
Option slot
Slot for an optional module (e.g. in the –> "Control Unit").
Parameter
Variable used on the drive system that the user can read and, in some cases, write. In ->
SINAMICS, all specifications defined in the -> "PROFIdrive" profile are fulfilled by a
parameter. See -> "Visualization parameters" -> "Adjustable parameters"
PROFIBUS
Field bus standardized in accordance with IEC 61158, Sections 2 to 6. The suffix "DP" is no
longer included because PROFIBUS FMS is not standardized and PROFIBUS PA (for
process automation) is now part of the "general" - PROFIBUS.
Sensor Module
Hardware module for evaluating speed/position encoder signals and providing detected
actual values as numerical values at a -> "DRIVE-CLiQ socket". There are three mechanical
variants of sensor modules:
SMCxx = Sensor Module Cabinet-Mounted = Sensor module for the snap on installation in
the cabinet
SME = Sensor Module Externally Mounted = Sensor module with higher protection type for
installation outside the control cabinet
Manual
622 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Glossary
Servo control
For -> Motors equipped with a -> "Motor encoder", this control type allows operation with a
high level of -> "Accuracy" and -> "Dynamic response". In addition to speed control, position
control can be implemented.
Servo drive
An electric servo drive comprises a motor, a –> "Motor module", a –> "Servo control" and, in
most cases, a speed and position –> "Sensor". Electric servo drives are normally extremely
precise and have a high dynamic response. They are designed for cycle times to less than
100 ms, and often have a short-time overload capacity, which enables quick acceleration.
Servo drives are available as rotary and linear drives Servo drives are e.g. used in the
machine tools, robotics and packaging machines sectors.
SITOP power
Component for the -> Electronic power supply. Example: 24 V DC
Status Word
Bit-coded -> "Process data" word, transmitted by -> "PROFIdrive" at cyclic intervals to
control the drive states.
Vektorregelung
Vector control (field-oriented control) is a high-performance control method for induction
machines. It is based on an exact model calculation of the motor and two current
components that simulate and accurately control the flux and torque by means of software
algorithms, thereby enabling predefined speeds and torques to be observed and limited
accurately and with a good dynamic response. Two types of vector control exist: The
frequency control (-> "Sensorless vector control") and the speed-torque control with speed
feedback (-> "Encoder").
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 623
Glossary
Manual
624 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Index
BICO interconnection
Control Unit, 325
8 Drive, 330
Infeed, 326, 327, 328, 329
840Di sl Rack, 164, 236
Blue screen, 25
840Di startup
BUS 1, 488
PROFIBUS diagnosis, 249
BUS 2, 488
A C
Absolute encoders, 402
Cable distributor
Absolute measuring systems
Connector assignments, 67
Parameter assignment, 399
Cable outlet, 48
Actual value acquisition, 246
Checklist
ADI4, 45, 286
Preparing for commissioning, 121
See also: ADI4 DP slave, 286
Circularity test, 507
ADI4 DP slave
Color depth
Paste, 286
Setting, 23
Alarm and message texts, 493
Switching over, 23
MBDDE.INI configuration file, 493
Commissioning
Standard text files, 494
611U, 346
User text files, 494
First, PLC, 157
Alarm numbers, 497
MCP, 270
Alarm text files
MCP 310, 253
Syntax, 497
MCP 483C IE, 191, 201, 222
Alarm texts, 493
NC with HMI Advanced, 355
Assembly
Communications processor (CP)
MCI board extension internal, 56
Parameterization of, 170, 172
MCI board for 840Di sl, 47
Comparison, 247
Automatic controller setting, 538
Compile cycle
Axes, 385
SW version, 481
Axis
Compile cycles, 478
Monitoring, 423
Constraints, 481
Parameter sets, 411
Reloading, 479
Reference point approach, 431
Configuration
Velocity matching, 421
load (PLC -> STEP 7), 185
Axis configuration, 385
Load (STEP 7 -> PLC), 179
Axis names, 388
Configuration
Loading into the PLC, 249
Consistency check, 248
B
CP
Backup battery, 488 Parameterization of, 170, 172
Basic commissioning of PLC, 126 CPU time share, 376
BATF, 488 Creating
BATL, 488 Drive project SINAMICS manual, 310
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 625
Index
Manual
626 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Index
I
M
I/O
Assignment to hardware, 469 Machine data
Digital/analog, 467 Changing scaling, 370
I/O modules, 20 Display filter, 363
Max. number of inputs/outputs, 468 Loading of default data, 371
System variable, 470 Normalization of physical quantities, 367
I/O Module PP72/48 Master application cycle, 233, 246
See also: DP slave PP72/48, 250 Master Time, 233
Identification of the control, 37 MCI board, 19
Incremental measuring systems Cable outlet, 48
Parameter assignment, 396 MCI board extension
Indexing axes, 410 Internal, 56
Initial settings, 485 Slot variation, 43
Input time, 233 MCI board extension internal, 20
installation, 124, 141 MCI2 board for 840Di sl, 47
MCI board extension slot variation, 58 MCP 310
Installation directory, 141 See also: DP slave MCP 310, 253
installed components MCP 483, 253
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 627
Index
Manual
628 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Index
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 629
Index
Manual
630 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0
Index
Manual
Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0 631
Index
Manual
632 Commissioning Manual, 05/2008, 6FC5397–4CP10–4BA0