Preliminary Man Sinamics-Simotion v1 7 Eng
Preliminary Man Sinamics-Simotion v1 7 Eng
Preliminary Man Sinamics-Simotion v1 7 Eng
SINAMICS
SIMOTION
(Version 1.7)
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
SOMMARIO
2
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
3 Typical Values.................................................................................................................54
4 Application Description ..................................................................................................55
4.1 System Requirements ..............................................................................................55
4.2 Automation for Printing Machines .............................................................................56
5 Structure of the program and interface .........................................................................58
5.1 Structure of the program ...........................................................................................58
5.2 Operating modes ......................................................................................................59
5.3 Interface Description.................................................................................................59
5.3.1 CPU S7 Simotion............................................................................................60
5.3.2 Simotion CPU S7.............................................................................................61
5.3.3 Structure INPUT DATA in SIMOTION ...................................................................62
5.3.4 Structure OUTPUT DATA in SIMOTION ...............................................................64
6 D445 Simotion.................................................................................................................66
6.1 SIMOTION D Control Units .......................................................................................67
6.1.1 Insert new Device (D445) .....................................................................................69
7 Insert additional Sinamics ..............................................................................................71
8 Hardware configuration Profibus Network ....................................................................78
8.1 Profibus Network Properties .....................................................................................83
9 Simotion - Axis configuration.........................................................................................84
9.1 Axis with gear ratio NOT 1 - 1 ...................................................................................88
10 Sinamics TM41 ................................................................................................................89
10.1 Sinamics TM41 Configuration ...................................................................................91
11 TM41 Simotion configuration .........................................................................................92
12 External Encoder ............................................................................................................96
13 Technological Objects synchronization ...................................................................... 100
14 Execution System ......................................................................................................... 101
15 Programs & Libraries.................................................................................................... 102
16 Trace – Function Generator.......................................................................................... 104
16.1 Trace...................................................................................................................... 104
16.2 Function Generator................................................................................................. 105
17 Measuring Function ...................................................................................................... 106
18 Automatic Controller Setting........................................................................................ 107
19 Stationary/Turning Measurement................................................................................. 110
20 Control Panel ................................................................................................................ 113
21 Appendix A.................................................................................................................... 114
22 Appendix B – StartUp ................................................................................................... 115
23 Appendix C – MDI position ........................................................................................... 123
24 Appendix D – Bode-Nyquist ......................................................................................... 124
3
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
4
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
1 Electrical drawings
Sinamics
Rew CU
Simotion
D4x5
Sinamics
Unw CU
5
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
6
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
7
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
8
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
9
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
10
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
11
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
2 Control Unit
- Fill in the hardware configuration of the S7 drive Sinamics 120 selecting from the
library:
Profibus-DP\Sinamics\Sinamics S120
- Select the profibus address, the network which must be connected and the version
of the drive (2.5x, 2.6.2 or 4.3.2)
- Setting up a number of word and the communication addresses, for example, as
follows:
Infeed - Telegram 370 1/1 - 256
Drive 1 - Telegram Bico 5/5 - 258
Drive 2 - Telegram Bico 5/5 – 268
- To do this, select the first item in the telegram "Telegram 370, PZD-1 / 1".
- Insert two new items with "Standard telegram 1, PZD-2 / 2," which will then later
modified in automatic mode in "User" (Bico) not listed.
12
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
13
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
14
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
The multi-axis design, also, referred to as common DC bus, is very modular with a
power offering of Line Modules and Motor Modules – both available in booksize and
chassis formats. Line Modules function as the central energy supply to the voltage
source DC link. Line Modules are optionally available with regulated
infeed/regenerative feedback to provide a constant DC link voltage. Motor Modules
(DC/AC units) supply the motors with energy from the DC link. All the drive
intelligence is organized into Control Units. The control units perform all the closed-
loop control functions for the drive grouping. They also handle all other drive
functions such as the interconnection of drive related I/O’s, positioning functions,
etc. and feature PROFIBUS DP or PROFINET as the central interface for linking to
higher level automation systems.
On single axis units, also referred to as AC drives, the rectifier and inverter power
section are contained in one device, the Power Module – available in blocksize and
chassis formats. For single axis applications, drive control functions are performed by
a single axis Control Unit (e.g. CU310) mounted on to the Power Module. This
separation of power and intelligence allows for maximum flexibility and scalability.
Integration into multi-axis applications is easily accomplished by connecting al DRIVE
CLiQ link to a multi-axis Control Unit (e.g. CU320). This is accomplished by mounting
a CU adapter (CUA31) on a block size Power Module in place of the single axis
Control Unit.
15
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Together this integrated line offers the most optimal drive solution for any
application servo or vector.
With its separate power unit and Control Unit, the SINAMICS S120 drive system can
be perfectly adapted to a wide variety of different drive tasks.
The Control Unit is selected according to the number of drives to be controlled and
the required performance level, while the power unit must be rated to meet the
energy requirements of the system. The connection between the Control Unit and
power unit is made very simply using the digital system interface
DRIVE-CLiQ.
The CU320 Control Unit has been designed to control multiple drives. A CU320 is
capable of operating up to
• 8 drives in V/f control mode or
• 6 drives in Servo control mode or
• 4 drives in Vector control mode.
The CU320 Control Unit can be used to create links between individual drives and
implement simple technology functions.
16
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
A shield connection for the signal cable shield on the option module is located on the
CU320 Control Unit.
The available option slot is used to expand the interfaces, for example, to include
additional terminals or for communication purposes.
The status of the CU320 Control Unit is indicated via multi-color LEDs.
As the firmware and parameter settings are stored on a plug-in CompactFlash card,
the Control Unit can be changed without the need for software tools.
The CU320 Control Unit can be mounted on the side of the Line Module in booksize
format via brackets integrated in a Line Module.
The CU320 Control Unit can also be fixed to the wall of the control cabinet using the
integrated fixing lugs. As the CU320 Control Unit is not as deep as the Line Modules,
suitable spacers are available to increase the depth of the CU320 Control Unit to 270
mm (10.63 in).
DRIVE-CLiQ components, for example, Motor Modules and Active Line Modules, can
be connected to a CU320 Control Unit.
The number of modules depends on the performance required, including duty type
and additional functions.
The BOP20 panel can also be snapped onto the CU320 Control Unit during operation
to perform troubleshooting procedures.
The CU320 Control Unit and other connected components are commissioned and
diagnosed with the STARTER commissioning tool.
Communication between a CU320 Control Unit and the connected components takes
place via DRIVE-CLiQ.
If an application requires more than one Control Unit, the number can be increased
accordingly. The Control Units are then interconnected on a higher-level controller
via PROFIBUS with the PROFIdrive V4 profile.
The integrated safety functions such as e.g. "Safe brake control" ("Safe standstill")
must be selected in two channels. Two digital inputs are required for this purpose.
17
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
The CompactFlash card contains the firmware and parameter settings. It is inserted
into the appropriate slot on the CU310 or CU320 or CU320-2 Control Unit.
18
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
The stand alone version of a SINAMICS S120 drive system consists of a CU310
Control Unit and a Power Module. A mains rectifier, a voltage-source DC link and an
inverter for supplying a motor are integrated in the Power Module.
Power Modules are designed for single drives which are not capable of regenerating
energy to the supply. Generated energy produced during braking is converted to
heat via braking resistors.
Power Modules can also be operated by a CU320 or a SIMOTION D Control Unit, e.g.
in configurations where a single drive has been added to a multi-axis drive grouping.
In this case, the Power Modules in blocksize format must be equipped with the
CUA31 Control Unit Adapter. This is connected with the CU320 or SIMOTION D
Control Unit using DRIVE-CLiQ. Power Modules in chassis format can be directly
connected to the multi-axis Control Unit using a DRIVE-CLiQ cable.
A voltage-source DC link and an inverter for supplying a motor are integrated in the
Motor Module.
Motor Modules are designed for multi-axis drive systems and are controlled by either
a CU320 or a SIMOTION D Control Unit. Motor Modules are interconnected by means
of a shared DC busbar.
Since the Motor Modules share the same DC link, they can exchange energy with one
another, i.e. if one Motor Module operating in generator mode produces energy, the
energy can be used by another Motor Module operating in motor mode. The voltage-
source DC link is suppied with mains voltage by a Line Module.
Line Modules generate a DC voltage from the line voltage and supply Motor Modules
with energy via the voltage-source DC link.
Basic Line Modules are designed only for infeed operation, i.e. they are not capable
of recovering regenerative energy to the supply system. If regenerative energy is
produced, e.g. when drives brake, it must be converted to heat by means of a
Braking Module and a braking resistor. When a Basic Line Module is used as the
infeed, the matching line reactor must be installed.
A line filter can be installed optionally to restrict conducted interference to Class C2
limits (EN 61800-3).
19
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Smart Line Modules can supply energy and return regenerative energy to the supply
system. A Braking Module and braking resistor are required only if the drives need to
be decelerated in a controlled manner after a power failure (i.e. when energy cannot
be recovered to the supply). When a Smart Line Module is used as the infeed, the
matching line reactor must be installed. A line filter can be installed optionally to
restrict conducted interference to Class C2 limits (EN 61800-3).
Active Line Modules can supply energy and return regenerative energy to the supply
system. A Braking Module and braking resistor are required only if the drives need to
be decelerated in a controlled manner after a power failure (i.e. when energy cannot
be recovered to the supply). In contrast to Basic Line Modules and Smart Line
Modules, however, Active Line Modules generate a regulated DC voltage which
remains constant despite fluctuations in the line voltage. In this case, the line
voltage must remain within the permissible tolerance range. Active Line Modules
draw a virtually sinusoidal current from the supply which limits any harmful
harmonics.
When an Active Line Module is used as the infeed, the matching line reactor must be
installed. To minimize interference emission, the Active Line Module should always
be operated with a combination of line filter and line reactor.
All the components required to operate an Active Line Module are integrated in the
Active Interface Module. An external bypass contactor is required in addition for sizes
HX and JX.
Power Modules, Motor Modules and Line Modules are available in formats "booksize",
"blocksize" and "chassis"
20
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Booksize format units are optimized for multi-axis applications and are mounted
adjacent to one another. The connection for the shared voltage-source DC link is an
integral feature.
21
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
• DRIVE-CLiQ cable for connection to the Control Unit for drive control on the
immediate left
• DRIVE-CLiQ cable (length depends on module width) to connect Active Line Module
to adjacent Motor Module
• Jumper for connecting the 24 V DC busbar to the adjacent Motor Module
• 24 V terminal adapter (X24)
• Connector X21 for digital inputs
The Active Line Module communicates with the CU 320 Control Unit via DRIVE-CLiQ
and receives its control information via this route.
22
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Active Interface Modules are used in combination with Active Line Modules in chassis
format. Active Interface Modules contain a clean power filter with basic RI
suppression, the precharging circuit for the Active Line Module, the line voltage
sensing circuit and monitoring sensors. The bypass contactor is an integral
component in types FI and GI, thereby making the module very compact. The
bypass contactor must be provided separately for types HI and JI.
The vast majority of line harmonics are suppressed by the clean power filter.
The scope of supply of the Active Interface Modules
includes:
• Type FI:
- 0.60 m (1.97 ft) DRIVE-CLiQ cable for
connection between Active Interface Module
and Active Line Module
- 1.45 m (4.76 ft) DRIVE-CLiQ cable for
connection between the CU320 or
SIMOTION D Control Unit and first Motor
Module.
• Type GI:
- 0.95 m (3.12 ft) DRIVE-CLiQ cable for
connection between Active Interface Module
and Active Line Module
- 1.45 m (4.76 ft) DRIVE-CLiQ cable for
connection between the CU320 or SIMOTION D Control Unit and first Motor
Module.
• Types HI and JI:
- 2.40 m (7.88 ft) DRIVE-CLiQ cable for connection between Active Interface
Module and Active Line Module
23
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
2.2.3 Drives
A wide range of single-axis and two-axis Motor Modules with graded current/power
ratings can be supplied:
• Single Motor Modules: Single-axis variant
- Booksize format with rated output currents of 3 A to 200 A
- Chassis format with rated output currents of 85 A to 1405 A
• Double Motor Modules: Two-axis variant
- Booksize format with rated output currents of 3 A to 18 A
In principle, all Single and Double Motor Modules can be operated on Basic Line
Modules, Smart Line Modules or Active Line Modules for the appropriate voltage
range.
24
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
The status of the Motor Modules is indicated via two multi-color LEDs.
The motor cable shield is inside the connector on 50 mm (1.97 in) and 100 mm
(3.94 in) width modules. A shield connection kit can be supplied for 150 mm (5.91
in), 200 mm (7.87 in) and 300 mm (11.81 in) wide modules. On these modules, the
motor cable shield can be connected using a tube clip.
The signal cable shield can be connected to the Motor Module by means of a shield
connection terminal, e.g. Weidmüller type KLBÜ 3-8 SC.
The scope of supply of the Motor Modules includes:
• DRIVE-CLiQ cable (length depends on module width) to connect Motor Module to
adjacent module
• Jumper for connecting the 24 V DC busbar to the adjacent Motor Module
• Connector X21
• Connector X11 for the motor brake connection (for Motor Modules with a rated
output current of 45 A to 200 A)
25
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
26
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
27
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Motors with DRIVE-CLiQ interface can be directly connected to the associated Motor
Module via the available MOTION-CONNECT DRIVE-CLiQ cables. The connection of
the MOTION-CONNECT DRIVE-CLiQ cable at the motor has degree of protection IP67.
The DRIVE-CLiQ interface supplies the motor encoder via the integrated 24 V DC
supply and transfers the motor encoder and temperature signals and the electronic
rating plate data, e.g. a unique identification number, rated data (voltage, current,
torque) to the Control Unit. This means that for the various encoder types – e.g.
resolver or absolute encoder – different encoder cables with varying permissible
lengths are now no longer required; just one cable type, MOTION-CONNECT DRIVE-
CLiQ, can be used for all encoders.
These motors simplify commissioning and diagnostics, as the motor and encoder
type are identified automatically.
28
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Requirements: check if Drive Cliq network is properly wired and if the Compact Flash
memory with the v2.5, 2.6.2 or 4.3.2 firmware is inserted into the CU320.
29
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
30
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Press "Next"; on the next page leave the check on “Line / DC-Link identification at
first switch-on". In this way, when you first turn on the power, it will be
automatically identified. In "Device voltage connection" set 401 V.
31
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
401
WARNING!
If the infeed is continually in the controlled mode with high DC link voltages (p3510
> 660 V), depending on the particular application, this can damage the connected
motors that have not been specified for these high voltages.
Before an active infeed with a line supply voltage p0210 > 415 V goes into pulsed
operation it must be ensured that all of the components connected to the DC link can
be permanently operated with DC link voltages exceeding 660 V.
Controlled operation of booksize power units for p0210 > 415 V is possible if the
maximum steady-state DC link voltage (p0280) is increased as follows: p0280 >=
1.5 * p0210 and p0280 > 660 V.
In this case, the setpoint of the DC link voltage p3510 is not automatically adapted.
We recommend p3510 = 1.5 * p0210. Closed-loop voltage controlled operation is
active with p3400.0 = 0 and p3400.3 = 1.
Notice:
For p0210 > 415 V for booksize power units with a supply voltage of 3-ph. 380 ...
480 V, the smart mode is automatically activated (p3400.0 = 1). In this case, the
smart mode cannot be de-activated. This is because in the voltage controlled mode,
the maximum steady-state DC link voltage (p0280) would be exceeded.
For booksize power units with supply voltage of 3-ph. 380 ... 480 V AC, the following
applies:
380 V <= p0210 <= 400 V --> Pre-assignment, setpoint for the DC link voltage:
p3510 = 600 V
32
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
401 V <= p0210 <= 415 V --> Pre-assignment, setpoint for the DC link voltage:
p3510 = 625 V
416 V <= p0210 <= 480 V --> Smart Mode with non-regulated DC link voltage:
p3510 = 1.35 * p0210
Note:
When pre-assigning the setpoint for the DC link voltage (p3510), the following is
generally valid:
p3510 = 1.5 * p0210
The voltage range for the supply voltage depends on the type and the voltage class
of the power unit.
Active Line Module, 400 V unit: 380 V <= p0210 <= 480 V
Active Line Module, 690 V unit: 660 V <= p0210 <= 690 V
Active Line Module, 500/690 V unit: 500 V <= p0210 <= 690 V
Smart Line Module, 400 V unit: 380 V <= p0210 <= 480 V
Smart Line Module, 690 V unit: 500 V <= p0210 <= 690 V
Press " Next "; select the type of Profibus telegram used.
For Power Supply you have to select "SIEMENS telegram 370, PZD-1 / 1 (370)"
33
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
34
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Press "Next" to select where the engine is connected (X1 Connection / Connection
X2).
If the Active Line is controlled via another CU the following message will appear.
35
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Click “OK”
Press “Next”
36
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
If you use instead of the engine with the interface Drive Cliq tick "Motor with DRIVE-
CLiQ interface" and "Read motor out again."
Press "Next"; if there is a brake on the engine you can select it on the next page.
37
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Press "Next"; if you use interface engines without DRIVE-CLiQ you must select the
type of encoder connected.
Click on OK.
38
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
If you use an engine with the interface Drive Cliq you do not need any check.
39
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
40
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
- Setting up the I / O on CU320 / CU320-2. To do this you have to expand the object
CU in the project navigator and click on "Inputs / Outputs". Give as follows:
41
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
"Safe Torque Off" (STO) – also known as "Safe Standstill" (SH) – is a function that
helps prevent the drive from restarting unexpectedly in accordance with EN 60204-1,
Section 5.4. "Safe Torque Off" disables the drive pulses and immobilizes the power
42
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
supply to the motor. The drive is reliably torque-free. This state is monitored
internally in the drive. Feedback to a higher-level control or integration of a main
contactor are no longer required.
The Safe Brake Control (SBC) function is used to operate holding brakes which are
operative at zero current, e.g. motor holding brakes. The brake control circuit is a
fail-safe, twochannel design.
The Safe Brake Control function is activated when "Safe Torque Off" is selected and
when safety monitors with safe pulse disable are tripped.
Note: "Safe Brake Control" does not detect faults in the brake itself (e.g. worn
brake).
Safe Stop 1
The "Safe Stop 1" function can stop the drive in accordance with EN 60204-1, stop
category 1. When "Safe Stop 1" is selected, the drive brakes along the OFF3 ramp
and automatically activates the "Safe Torque Off"/"Safe Brake Control" function
when the parameterized safety delay timer runs down.
Two independent switch-off signal paths are available. All switch-off signal paths are
low active, thereby ensuring that the system is always switched to a safe status if a
component fails or in the event of cable breakage. If an error is discovered in the
switch-off signal paths, the "Safe Torque Off" function is activated and a system
restart inhibited.
All the main hardware and software functions for Safety Integrated are implemented
in two independent monitoring channels (e.g. switch-off signal paths, data
management, data comparison).
43
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Forced dormant error detection of the switch-off signal paths is used to detect errors
in the software/hardware of the two monitoring channels as quickly as possible and
is performed automatically when safety functions are activated/deactivated. To fulfill
the requirements of EN 954-1 regarding early error detection, the two switch-off
signal paths must be tested at least once within a defined time to ensure that they
are functioning properly.
For this purpose, forced dormant error detection must be triggered manually by the
user or automatically. A timer monitors the timing of forced dormant error detection
runs.
A forced dormant error detection run must be performed on the switch-off signal
paths at least once during the time set in this parameter. Once this time has
elapsed, an alarm is output and remains active until forced dormant error detection
is carried out.
When the appropriate safety devices are implemented (e.g. protective doors), it can
be assumed that running machinery will not pose any risk to personnel. For this
reason, only an alarm is output to inform the user that a forced dormant error
detection run is due, thereby requesting that this be carried out at the next available
opportunity. This alarm does not affect machine operation.
The user must set the time interval for carrying out forced dormant error detection
runs to between 0 and 9000 hours depending on the application (factory setting: 8
hours).
Examples of when forced dormant error detection runs are
required:
• When the drives are at a standstill after the system has been switched on
• When the protective door is opened
• At defined intervals (e.g. every 8 hours)
44
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
- Setting (online only) the Integrated Safety. Click on "Integrated Safety" located in
the project navigator expanding the object drive under "Functions". Click on "Change
settings" and in "Control selection" select "STO/SBC/SS1 via terminal" and configure
as shown:
45
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
15.00
15000.00
168.00
In "Forced dormant error detection of the shutdown" set 168.00h and click Close.
2.3.3 Script
- Click the right button on the first drive in the project navigator and select:
Expert\Insert Script folder
46
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Right click on the Scripts folder you have just created and select "ASCII import ...",
open the file "Script.txt" and now you can modify the parameters you need to
change on the drive.
- Repeat this for the other drive.
47
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
' Drive_CH_Par
48
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
To run the script file, first you have to connect On-line with the device and then
2.3.4 Topology
49
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
50
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Commands Word:
SetPoint words:
51
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Descrizione Tipo
Status Word Word
Actual Speed Word
Actual Torque Word
Actual Current Word
Actual Temperature Word
Status Word:
52
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Actual Words:
53
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
3 Typical Values
Drives
Unwinder Axis_1 and Axis_2 Pgain P1460 13 Nms/rad
Igain P1462 2000 ms
Motor encoder filter P1441 1 ms
54
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
4 Application Description
SIMOTION SCOUT
The SCOUT engineering software enables the solution of Motion Control, PLC and technology
tasks in the SIMOTION Motion Control system and supplies all tools for this purpose, such as
programming and parameterization, testing and commissioning, as well as diagnostics.
The SIMOTION D Control Units contain as standard a basic functionality (Kernel), which is
programmable in accordance with IEC 61131.
Loadable technology packages provide further functionalities, such as positioning, synchronous
operation, electronic cams and temperature channels.
These technology packages enable the creation of technological objects, which offer an easy and
overall view of associated functions.
There are various technological objects, which are all created, configured and parameterized in
the same way.
Additionally the technological objects comprise of a programming interface, making it possible to
use the functionality out of the user program.
The high-level language Structured Text (ST) provides all language resources in the form of
commands. This permits the generation of well-structured applications.
The basic commands implement all requirements for:
• data management,
• computing functions,
• control structures
• I/O operations
The addition of the technology packages for Motion Control increases the scope of commands by
adding powerful, highly flexible Motion Control commands (e. g.: _pos(...) for position controlled
axis positioning).
An ST source file basically consists of continuous text. This text can be divided and structured in
sections, which represent logical sections of an ST source file.
These sections can consist of the following:
• Program assigned to a runtime task
55
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
The project was designed to generate different axis operation modes that are needed in printing
presses.
The Virtual Master is the main engine (virtual) machine, which other elements will be
synchronized (in relative or absolute).
It 'also possible to synchronize the engines to an external encoder, as Real Master, for specific
applications.
56
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Speed ref
Encoder ext
PLC
Bit VM or RM
VM
TM41
Numerator
denominator
Speed
Position control
loop
Torque limit
Speed loop
MOTOR
57
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Different operation modes are defined for each axis. A mode change
is performed by a restart of the motion task. Each operation mode
scans and executes relevant set point changes.
The data in the STDc Interface is processed in the _Axis program again. In that program a mode
change function is executed. In case a new operation mode is requested on the interface, the
axis motion task is restarted. In that motion task an axis FB, that contains all the axis commands,
is called. The automation concept does not make any difference between real or virtual axes.
Regardless of the axis technology or type the same schematic and interface is used.
58
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Inside the MCC function blocks is a case structure with each branch being a different mode of
operation. Each mode is represented by a number. That makes it easier to handle the logic and
to add new operation modes.
The maximum number of bytes that we can use in communications amounted to 244; the number
of axis to manage is 16 real axis plus a Virtual Master.
The words in communication were divided into groups of 16 being the maximum number of word
of consistency managed by SFC14 and SFC15 equal to 16.
59
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
60
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
61
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
62
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Bit12_spare BOOL
Bit13_spare BOOL
Bit14_spare BOOL
Bit15_spare BOOL
Set_phase_high WORD Set Cylinder phase – High word [°*10000]
Set_phase_low WORD Set Cylinder phase – Low word [°*10000]
Local_Speed_Setpt WORD Local Speed Setpoint [°/sec]
Torque_limit BYTE Set torque limit [%]
Speed_Loop_PGain BYTE Set gain [%]
Gear_Num_Setpoint WORD Set gear numerator [-]
Gear_Den_Setpoint WORD Set gear denominator [-]
The structure for data input is defined in the library SPr20_IT: PLCc_RA for real axes and
PLCc_VA for the Virtual Master.
63
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
64
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
The structure for outgoing data is defined in the library SPr20_IT: PLCc_RA for real axes and
PLCc_VA for the Virtual Master.
65
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
6 D445 Simotion
SIMOTION D is the compact, drives-based version of SIMOTION based on the SINAMICS drives
family. With SIMOTION D, the logic, technology functions, motion control and drive control run on
a single, compact hardware platform.
SIMOTION D is available in different performance variants. This ensures the highest degree of
scalability and flexibility. The IEC 61131-3-compliant PLC integrated in SIMOTION D means that
the system is not just capable of controlling sequences of motions, but the entire machine as well.
HMI devices can be operated directly on the onboard PROFIBUS or Ethernet interface for
operator control and monitoring. Functions such as remote maintenance, diagnostics and
teleservice can also be used via these interfaces.
The SIMOTION D controllers basic functionality is supplied with the CompactFlash card and is
loaded when the system is powered on. The basic scope of functions includes the following
software components:
• SINAMICS S120 drive control
• SIMOTION runtime system
- Programmable with several languages conforming to IEC 61131
- Various runtime levels (cyclic, sequential, event-driven)
- PLC and arithmetic functionality
- Communications and management functions
- Motion control functions (Motion Control Basic)
• Test and diagnostic interfaces
A special feature of SIMOTION is that the basic functionality can be expanded by loading
technology packages, such as:
• Motion control with technology packages:
66
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
- Positioning – POS
- Synchronous operation/electronic gear – GEAR
- Cam disk – CAM
• Temperature controller - TControl
Since the technology functions have modular licenses, you only pay for what you really need.
SIMOTION D Control Units are available in a range of performance variants. This ensures the
highest degree of scalability and flexibility. The individual variants SIMOTION D425, SIMOTION
D435 and SIMOTION D445 differ in terms of performance characteristics (Motion Control + PLC)
and the following features:
Additional drives can be operated by means of PROFIBUS or PROFINET with the CU320 Control
Units. Additional drives can also be directly connected to the SIMOTION D445 Control Unit by
means of DRIVE-CLiQ with the SIMOTION CX32 module.
The drives can operate in Servo, Vector or V/f control mode.
Interfaces
• Displays, diagnostics
- LEDs to display operating states and errors
- 7-segment status/error display during system power-up
- 3 test sockets
• Interfaces
- 4 × DRIVE CLiQ (6 × DRIVE CLiQ for SIMOTION D445)
- 2 x Industrial Ethernet
- 2 × PROFIBUS DP
• Integrated I/Os
- 8 digital inputs
- 8 digital inputs/outputs
67
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
• Various
- Terminals for 24 V electronics power supply
- Slot (Option slot) to receive a terminal expansion or additional communications ports
SIMOTION D425, D435 and D445 Control Units have 320 KB of non-volatile SRAM (battery-
backed for at least 5 days) for process variable storage. There are two options for storing data for
a longer period:
• System commands for storing data on the SIMOTION CompactFlash card (CF)
• Use of a battery module
The CompactFlash card stores the runtime software and the user data and programs.
I/O
PROFIBUS DP
• Certified PROFIBUS standard slaves (DP/V0, DP/V1, DP/V2)
• SIMATIC ET 200S/M/X/eco/pro distributed I/O systems DRIVE-CLiQ
• Modules from the SINAMICS range
• DRIVE-CLiQ cables, which are required to connect Line/Motor Modules to SIMOTION
D, are supplied with the Line/Motor Modules (standard length).
The maximum permissible cable lengths should be taken into account when planning the cable
layout.
Malfunctions may occur if longer lengths are used.
The permissible length of PROFIBUS DP cables depends on the configuration.
68
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Modern machines must be capable of handling ever more complex motion control tasks and
performing the task with increasing accuracy and speed. In regards to this requirement, the
SIMOTION Motion Control System and high-performance SINAMICS S120 drive system form a
perfect team. The SIMOTION D variant, which is physically integrated in the SINAMICS S120
drive, is the ideal solution for machines with a large number of axes and stringent precision
requirements. This distributed automation structure allows the machine to be segmented into
various axis groupings, with each grouping controlled by a separate SIMOTION Motion Control
System. The SIMOTION systems communicate either via PROFIBUS DP or PROFINET. Another
important aspect: The compact machine design, thanks to the distributed automation structure
and a Control Unit directly in the drive.
In project navigator double-click on "Create new device" then select CPU type "D445 V4.1" and
Variant "SINAMICS S120 Integrated v2.5 or 2.6.2 in D445."
Press Ok.
69
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
In the hardware configuration is inserted the new D445 and Sinamics Integrated (DP3) connected
to the Integrated profibus network.
70
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
From hardware configuration double-click on the device DP1 Simotion to insert a new network
profibus (PROFIBUS (MC)) which will be connected to other devices Sinamics.
Click on “Properties ...”
Click on “New ...” to enter the new network where new devices Sinamics will be connected
71
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Select the transmission speed of the network (12 Mbps) and press OK
Click on Options…
Select “Activate constant bus cycle time” and set “Constant DP Cycle:” to 6.000ms.
72
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Press OK
Verify that the network selected is that just provided ((PROFIBUS (MC) 12 Mbps)
Press OK
Now you can include in the hardware configuration the Sinamics devices needed.
73
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
74
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Now you can change the telegram communication (this can be done at a later time, when the
drives or TM41 are added, see " Hardware configuration Profibus Network”)
Turning to page "Isochronous Operation" you have to select “Syncrhronize drive to equidistant
DP cycle” and you can set the timing of the network (even this can be done at a later time, see
"Hardware configuration Profibus Network”)
75
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
N.B. you have to verify these set for all new Sinamics devices and also for Synamics Integrated
(DP3).
When you have finished you can Save and Compile HW configuration
76
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
The power supply is connected to the Unwinder Sinamics (see man. Sinamics), so you have to
select ”NO” to the request to use a power supply DRIVE-CLiQ connected
Press Continue>
Now you can configure a new drive directly by selecting “Yes” or terminate the wizard by
choosing “No”.
For the parameter of a new drive you follow the Pressing Finish you will close the wizard. You
instructions described in the Sinamics CU can put the necessary arrangements later (see
configuration Sinamics CU configuration)
77
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
In a system with 16 axes and 16 boards TM41, in addition to Sinamics integrated in Simotion
(node DP3) attached to the profibus integrated, other 4 Sinamics (DP4, DP5, DP6, DP7)
connected to Profibus Master of the machine are needed.
Sinamics
Integrated
DP3
DP4
DP91 DP5 DP6 DP101 DP7
N.B.: There is a correspondence between the motors connected under Sinamics CU320 (DP5,
DP6 and DP7) and the TM41 connected under Sinamics Integrated (DP3) and Sinamics CU320
(DP4).
78
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
If a motor is present on the machine we can have the related TM41, NOT the opposite.
The TM41 connected to the motors of the CU320 (DP5) are under the drive click network
connected on D445 port X102.
The TM41 connected to the motors of the CU320 (DP6) are under the drive click network
connected on D445 port X103.
The TM41 connected to the motors of the CU320 (DP7) are under the drive click network
connected to the Sinamics CU320 DP4.
Motor TM41 Device Port
Axis 00 TM41_Axis00 D445 X102
Axis 01 TM41_Axis01 (FORESEEN) D445 X101
Axis 02 TM41_Axis02 D445 X102
Axis 03 TM41_Axis03 D445 X102
Axis 04 TM41_Axis04 D445 X102
Axis 05 TM41_Axis05 D445 X102
Axis 06 TM41_Axis06 D445 X103
Axis 07 TM41_Axis07 D445 X103
Axis 08 TM41_Axis08 D445 X103
Axis 09 TM41_Axis09 D445 X103
Axis 10 TM41_Axis10 D445 X103
Axis 11 TM41_Axis11 D445 X103
Axis 12 TM41_Axis12 CU320 DP4 X102
Axis 13 TM41_Axis13 CU320 DP4 X102
Axis 14 TM41_Axis14 CU320 DP4 X103
Axis 15 TM41_Axis15 CU320 DP4 X103
79
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
To set or change the properties click with right button on the device and choose “Object
Properties ... “
On the General page you can set the "Diagnostic Address" used for disabling the device during
the automatic configuration of the machine and the 'Address for "slot" 2 ".
The addresses used are as follows:
80
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
On the page Configuration - Overview you can set the communication telegrams with the devices:
The telegram used for communicating with the TM41 is "Standard message frame3, PZD-5 / 9"
set in the "DP slave properties” of Sinamics correspondent.
The addresses reserved for TM41 are:
81
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
The telegram used for communication with the axis is "User-defined" set in the "DP slave
properties of Sinamics correspondent.
The addresses reserved for the axes are:
On the page Configuration - Details you can set addresses hardware and the lengths of
telegrams if should be used telegrams with non-standard lengths:
82
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
To set or change the properties of the Profibus network click with right button on PROFIBUS
(MC): DP Master System and choose Object Properties ... "
83
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Press OK
Select the type of axis: "Rotary" and "Electrical" in case of real axis, or: "Rotary" and "Virtual" in
the case of virtual axis
84
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Press "Continue>"
Press "Continue>"
Select "Modulo axis"
Press "Continue>"
Select the device Sinamics in window "Which drive unit are you using?"
Press "Align SINAMICS devices ..." and select the device to be aligned.
85
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Press "Align"
Select Drive
Select message frame “106/107, PZD-11/15” for Axis 00
(External Encoder foreseen)
and “105, PZD-10/10” for axis 01 to axis15
Press "Continue>"
Select where the encoder is connected and the encoder type
Press "Continue>"
86
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Press "Continue>"
Press "Finish"
87
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
If you have an axis with a gear ratio different from 1 – 1, for example on our machine the
unwinder draw group (gear ratio 3 -1), you can set it under “AXES -> RA_Axis_00 -> Mechanics”
N.B.: If you change the gear ratio you have to change P1082 (Maximum speed [RPM]), P2000
(Reference speed reference frequency [RPM]) on Sinamics Drive and Max speed
(TypeOfAxis.SetPointDriverInfo.DriveData.maxSpeed), nominal speed
(TypeOfAxis.SetPointDriverInfo.DriveData.nominalSpeed) on Simotion Axis.
88
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
10 Sinamics TM41
The TM41 Terminal Module supplies TTL signals which simulate an incremental
encoder, e.g. to a higher-level control. The encoder interface (incremental encoder
simulation) can be linked to an encoder signal from the Control Unit, e.g.
incremental encoder sin/cos, by parameter assignment.
The TM41 Terminal Module increases the number of digital inputs/outputs and
analog inputs that are available in the drive system
The following are located on the TM41 Terminal Module:
• 4 bidirectional digital inputs/outputs
• 4 digital inputs (with electrical isolation)
• 1 analog input
• 1 interface for simulation of TTL incremental encoder (RS422)
• 1 LED for signaling zero mark detection for encoder interface
• 2 DRIVE-CLiQ sockets
• 1 connection for the 24 V DC supply to digital outputs
• 1 connection for the electronics power supply via the 24 V DC power supply connector
• 1 PE (protective earth) connection
The TM41 Terminal Module can be snapped onto a TH 35 tophat rail to EN 60715 (IEC 60715).
The signal cable shield can be connected to the TM41 Terminal Module via a shield connection
terminal, e.g., Phoenix Contact type SK8 or Weidmüller type KLBÜ CO 1. The shield connection
terminal must not be used for strain relief.
The status of the TM41 Terminal Module is indicated via a multicolor LED.
An LED next to the interface for TTL pulse encoder simulation is illuminated as soon as a zero
mark is detected.
89
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
90
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
91
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Press OK
Select "Rotary" and "Electrical"
92
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Press "Continue>"
Press "Continue>"
Select "Modulo axis"
Press "Continue>"
Select the device Sinamics in the window "Which drive unit are you using?"
Press "Align SINAMICS devices ..." and select the device to be aligned
93
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Press "Align"
Select Drive
If you need to change the message communication
Press "Continue>"
Enter the number of pulses and the encoder resolution
94
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Press "Continue>"
Press "Finish"
95
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
12 External Encoder
96
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Press "Continue>"
Press "Continue>"
Select "Modulo axis"
Press "Continue>"
97
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Select the device Sinamics which is connected to external encoder in the window "Where is the
encoder connected?"
Select the type of telegram used and the type of encoder (for the type of encoder can acquire
data directly from the drive by pressing "Data transfer from the drive")
Press "Continue>"
Enter the number of pulses and the encoder resolution
98
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Press "Continue>"
Press "Finish"
99
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
In Project Navigator under AXES, select the device that must be synchronized, e.g.
RA_Axis_00_TM41_Follobj, and choose what subject sync, e.g. RA_Axis_00.
How kind of synchronization choose "Set point coupling."
Repeat the same procedure just done for the purpose TM41 to the object axis.
Under AXES select the desired axis and then, e.g. for Axis 00, RA_Axis_00_FollObj, and choose
what to sync it, is normally chosen the Virtual Master (VA_LM1).
How kind of synchronization choose "Set point coupling."
100
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
14 Execution System
To retrieve a program in the task you want, you have to click in the Project Navigator, on
"EXECUTION SYSTEM"
Select the task (e.g. Startup Task, Task Motion ...)
In the column "Programs (number of applications):" select the program and transfer it to the
column "Programs used”: press
101
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
pMain: Used to interface with the tool Castomat. The programs are called in:
pcprotudpstartup() Startup_Task
pcprotudp() BackgroundTask
pcprostream() TimerInterruptTask_1(12.00ms)
102
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
S_Axis: used to interfacing with the axis (real and virtual); it’s called in BackgroundTask;
Startup: is the only program to be CHANGED during the machine startup; the
configuration of the machine, the positions of MDI and the speed, acceleration and jerk of the
various operating modes are defined in it. It’s called in StartupTask;
It’s possible to modify:
machine configuration, number of engines and related TM41;
MDI positions:
Axis 00 is the unwinder draw group, so there is no need to change the MDI_Pos; for the other
axes MDI_Pos_1 corresponds to the position of pliers angle of 45 ° (for insertion / extraction), the
MDI_Pos_3 corresponds to the vertical position of pliers (for insertion), the other two locations are
used for reversible stations.
M_Axis: handles the different ways of operating axes; it’s called in MotionTask1-16;
103
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
16.1 Trace
You can use the trace to record and save signal characteristics and variable values.
The data recorded can be used to analyze motion sequences of the machine, and for
troubleshooting in user programs, for example. For better diagnostics, variables can
be assigned defined setpoints (function generator) and other variable values
recorded at the same time. You can visualize and edit your measurements in a
diagram.
You can also save the data uploaded from the device and open the data again later.
You can print the curve display for archiving or for quick viewing by clicking the
mouse. Simple measurements of amplitudes and points in time is possible with the
two moveable measuring cursors. Measurements can be mathematically processed
and the results displayed.
To start the trace:
Select Target system > Trace or
select Drives -> Commissioning -> Trace or
select
One Trace tab for the system and program variable trace
Measuring functions for the controller optimization
Additional trigger conditions
4 trace blocks each with 8 channels
104
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
In the Function generator tab, you can generate different signal forms for test
purposes. You can freely parameterize the signals with respect to their properties
(e.g. amplitude, period). The output of the function generator is mapped on a BiCo
parameter. This signal can be further interconnected to one or, if required, several
connector sinks via the BiCo mechanism.
If the measuring functions are used, the function generator can be parameterized in
such a way, that its output signal is applied directly to the control structures. For
this, the function generator deactivates parts of the control if required. If, for
example, you want to measure the response to setpoint changes of the current
controller, the function generator signal is applied directly to the current setpoint and
all higher-level controllers, such as the speed and position controllers, are
automatically switched off by the function generator. The function generator is
mainly used for controller optimization. For this, you can select preset operating
modes which switch the signal into predefined positions of the control loop.
Faulty parameters are displayed in red for input check. You must change this
parameter before you can load the settings to the target system (RT).
105
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
17 Measuring Function
The measuring function is used for the controller optimization of the drive. With the
measuring function, you can directly inhibit the influence of higher-level control loops
by means of simple parameterization, and analyze the dynamic response of
individual drives. To do this, the function generator and the trace are coupled. The
function generator signal is applied to the control loop at one position (e.g. speed
setpoint) and at another position (e.g. actual speed value), the trace is recorded.
When you parameterize the measuring function, the trace is also automatically
parameterized. The operating modes to be used are already predefined for the trace.
For easier handling of the controller optimization, predefined measuring functions are
available for selection. The operating mode is automatically set depending on the
measuring function. The following can be set for a selected controller optimization:
Signal form (step or noise), amplitude, settling time of the applied signal
Measuring duration for step functions in the time range
Bandwidth and number of averages in the frequency range for the recording
106
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
You can use the Automatic controller setting screen form to perform an automatic
setting of the speed controller and the DSC position controller (only SCOUT) for
SINAMICS drive devices. The steps required for this calculation can be controlled
using this screen form. The calculated parameter
values of the speed control or the position
controller can be displayed and then transferred
online to the drive or to the axis on the controller.
The automatic control setting is made from the
Target system > Automatic control setting
menu, or under “Drives -> Commissioning ->
Automatic controller setting”, or by pressing
Requirements
Drive is a SINAMICS drive
Drive is operated in the "SERVO" operating type
The control is performed with the motor encoder
An online connection to the associated drive device exists
You can cancel the automatic controller settings by pressing the SPACER BAR.
The step currently being performed will be cancelled.
The drive is disabled.
This combobox offers all SINAMICS drive devices of the opened project that contain
drives that are operated in the "SERVO" control type and use the motor measuring
system as encoder. Selection is possible provided the control priority has not yet
been fetched.
107
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
After you have assumed control priority and switched on the motor,
you can choose if you want automatically perform all steps of the controller setting starting with
the current marking of the step display. This button will be deactivated once the last possible
step has been performed, or, if you want perform the single step of the controller optimization
marked by the step display will be performed and the step display then incremented by one step.
This button will be deactivated once the last possible step has been performed.
108
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Expert mode If the checkbox for expert mode is set, the Amplitude, Bandwidth,
Messages and Offset input field will be displayed. The user can make
in these fields special settings to be used for the next optimization
step.
The checkbox is deselected as default setting. If the checkbox is
deactivated, the parameter settings determined by the optimization
tool are used for the measurement.
When the optimization is finished the table displays the parameters whose values
were determined during the controller optimization.
The Current value column displays the current value of the parameter fetched
cyclically from the target device.
The Calculated value column displays the value of the parameter determined from
the controller setting. Provided no new value has been calculated, the "–" character
is displayed instead of the value. This is also the standard display when the screen
form starts.
109
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
19 Stationary/Turning Measurement
The motor identification (MotID) helps with determining the motor data, for example,
for third-party motors. It can also be used for series motors, however, it cannot be
guaranteed in all cases that the determined data is more accurate than the stored
data or the datasheet details. Like the kT estimator, the MotID can help to improve
the torque accuracy.
Caution
Incorrect details for the rated current or the maximum current can damage the
motor!
Caution
While a turning measurement is selected and running, you cannot perform any
upload, download, RAM2ROM or reset to the factory settings. This means you cannot
load the data into the PG using a second PG or a new project. This is possible again
only after a power ON/OFF.
Perform a measurement
The Measurement type list shows the available measuring types. When the screen
form is opened, a check is made whether a measurement is already active and, if so,
110
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
When you open the screen form in ONLINE mode, the drive control panel that you
require for the measurement if you want to enter the ON command from the control
panel will be opened automatically.
1. First obtain the control priority in the drive control panel.
2. If necessary, click Activate measurement, if it is not yet active, to initiate the
motor data identification with the next ON command, for example, from the
drive control panel. The center of the screen form contains the status display
that shows the progress of the measurement (parameter r47). The motor
identification completes independently and a message appears that the drive
has the power-on inhibit state. After the measurement, the new parameter
values are displayed in the results table. You can compare the old and the
new values.
3. Accept the new values with Apply values.
111
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
If (and only) you are an experienced user, you should manually select the
measurement in the list. This allows you to perform a specific encoder adjustment or
repeat a measurement.
The specified measurement types depend on the motor.
Perform the measurement as described above.
112
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
20 Control Panel
Click "Control Panel" that is under "Commissioning" in one of the drives just insetred.
In the new window select "Assume Control priority" in order to control the switching
By selecting Enable is now possible to run motors controlled by the control panel.
To select another engine the priority control should be given up ( "Give up control priority!").
113
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
21 Appendix A
Sinamics
114
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
22 Appendix B – StartUp
Verify the correct profibus, drive click and safety off connections
Drive Click
Safety Off
Profibus
Verify the address for all the CU320 or CU320-2 connected both under Profibus DP both
under Profibus MC networks
CU320
Remouve the
cover and set
the correct
CU320-2
115
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Verify the firmware used for CU320/CU320-2 and Simotion D4x5 insede Scout project
Firmware used:
Machine Type Device Firmware
Rotogravure D445 4.1.4.1 (Sinamics Integrated: 2.5x)
CU320 2.5x
Rotogravure D445 4.1.5.6 (Sinamics Integrated: 2.6.2)
CU320-2 4.3.2
CL D425 4.1.5.6 (Sinamics Integrated: 2.6.2)
CU320 2.6.2
CL D425 4.1.5.6 (Sinamics Integrated: 2.6.2)
CU320-2 4.3.2
SL CU320 2.6.2
SL CU320-2 4.3.2
DELTA D445 4.1.5.6 (Sinamics Integrated: 2.6.2)
CU320 2.6.2
DELTA D445 4.1.5.6 (Sinamics Integrated: 2.6.2)
CU320-2 4.3.2
116
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Use a card reader to open the CU320 / CU320-2 or D4x5 CF, select all except the folder KEYS.
117
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Download project
D4x5:
In Off-Line mode, Open the D4x5 project, modify, if necessary, the Startup program,
run the Machine Script number 3, number 4 and number 5 (for the printing units you
have on the machine) save and compile
CU320 / CU320-2
In Off-line mode, for all the CU320 open the Scout project; open the motor configuration
window and verify if the “Read out motor again” is active
118
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Open the CU320 / CU320-2 Topology and verify if the motor comparative quality is set to
LOW
Download Project
In Off-Line mode, Open the Scout project, for all the CU320 / CU320-2 and for
the D4x5
Right click on the CU320 or on the D4x5 and select “Load to file system”
119
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Insert the CF into the D4x5 or into the CU320 / CU320-2 and switch on the machine.
In on-line mode try to recognize the alarms present on the CU320 / CU320-2 and on the
D4x5.
If you have alarms related to the Safety Integrated function, you need to refresh the
safety integrated properties for all the drives where you have the alarms
- Click on “Change Settings”; if a password is requested type 0000.
- Verify that you have 168h on Forced dormant error detection of the shutdown
15.00
15000.0
168.00
120
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Copy
Now you can run the script to configure the motor parameters (in On-Line mode).
For Unwinder and Rewinder (and other CU320 / CU320-2 not connected under Profibus
MC) (verify the motor speed P2000 and P1082, you can find the correct value on the
motor calculation table) you have a Script folder under each motor.
For the printing units you have only one script the Machine Script (in On-line mode you
can run the Machine_script number 1 and number 2 for the printing units you have on
the machine)
When you have the CU320 / CU320-2 in green status you must verify if the motor
encoder are connected to the right motor module.
Open the Control Panel, select the motor you need to check, set a reference speed (rpm) and
start the motor.
121
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
If the actual speed is coherent with the set speed all the motor phases are connected
correctly, on the contrary you must change two phases on the motor.
After this check if the motor turn in wrong way (with reference to the web direction) you have
to change parameter P1821.
Now you can execute the Stationary Measurement (see cap.17 man Simotion).
After Start Up
If you have to change some parameters on motors or TM41 you have to change it on-line
and then you have to save RAM in ROM and to upload the project into the PG
o In On-Line mode right click on the D4x5, Select Target Device and Operating
mode …
122
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
If can set four MDI position, two for the unit used in normal work and two for the unit selected in
reversible.
Axis 00 is the unwinder draw group, so there is no need to change the MDI_Pos; for the other
axes MDI_Pos_1 corresponds to the position of pliers angle of 45 ° (for insertion / extraction), the
MDI_Pos_3 corresponds to the vertical position of pliers (for insertion), the other two locations are
used for reversible stations (MDI_Pos_2 corresponds to the position of pliers angle of 45 °, the
MDI_Pos_4 corresponds to the vertical position of pliers).
You car read the position into the RA_Axis_xx parameter (servodata.actualposition)
123
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
24 Appendix D – Bode-Nyquist
Excel Configuration
124
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
125
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
1 5
3
2
126
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
127
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
On the page Bode, get to the first lower peak and measure the frequency (X-Value).
Set this frequency in ωz
Read the Amplitude for ωz/1.41 and ωz/2 and write these values in G(ωz/1.41) dB and G(ωz/2)
dB.
In G(ωz/1.41) Nms/rad and G(ωz/2) Nms/rad you will have the maximum gain for the load you
have analized.
128
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
1 5
3
2
129
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
130
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Nyquist diagram is divided in two part, to see system behavior at low and high frequency.
131
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
If you need to add/change filters, you have to select on Scout Project the Axis Open-loop/Closed-
loop control and click one of the Setpoint filter…
132
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
25 Appendix E - Script
It’s possible to modify the parameters both for axis, both for the TM41 and also to mask certain
types of technological objects warnings, using a script ( "Machine_Script") present in folder
"SCRIPT".
Open the script and run it by clicking the button
In the window that appears you can select the type of parameters to
be changed and the devices you want to act.
1) Drive: changes the parameters into the drives connected to the CU320 / CU320-2
(DP5, DP6, DP7) (Execute in ON-LINE)
2) TM41_Sinamics: changes the parameters into the TM41 connected to the Sinamics
Integrated and CU320 / CU320-2 (DP4) (Execute in ON-LINE)
3) TM41_SIMOTION: changes the parameters into the technological objects TM41.
(Execute in OFF-LINE)
4) Simotion_RA: changes the parameters into the technological objects Axis.
(Execute in OFF-LINE)
5) Mask Alarm 30002: Warnings are being masked for specified items.
(Execute in OFF-LINE)
6) V_M: changes the parameters into the Virtual Master
After running the selection and press Ok specify into which devices make the changes:
133
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
' Any liability – irrespective of the legal reason – in particular because of software errors or the associated
' documentation or damages resulting from consulting is excluded, unless, for example, because of premeditation, gross
' negligence, risk to life, injury or health, acceptance of suitability guarantee, malicious concealment of a fault or
' a violation of significant contractual obligations, would force liability. A reversal of the burden of proof to the
' customer's disadvantage is thus not included.
'-----------------------------------------------------------------------------------------------------------------------
' Functionality provided by this script (short description)
' Setting Up The Rotomec Machine Parameters and Mask Alarm 30002
'-----------------------------------------------------------------------------------------------------------------------
' Status: Released (tested)
'-----------------------------------------------------------------------------------------------------------------------
' File name: Machine Script
' System: SIMOTION
' Version: SIMOTION Scout V4.1
'-----------------------------------------------------------------------------------------------------------------------
' Script to be stored on level ... in project (mark appropriate levels with [x] below)
' [ ] External
' [ ] All levels possible
' [ ] Project level
' [x] Device level
' [ ] Object level (TO/DO)
' [ ] Subobject level
'-----------------------------------------------------------------------------------------------------------------------
' Restrictions, known limitations: None.
'-----------------------------------------------------------------------------------------------------------------------
' Requirements, prerequisites, external resources used: None.
'-----------------------------------------------------------------------------------------------------------------------
' Change log table (latest change is at the bottom of the list):
' version date changes applied
' V1.0 2008-07-30 first release
'-----------------------------------------------------------------------------------------------------------------------
'Global Variable Definition
APP.LogActive = TRUE
APP.LogMode = 1
'Axis Definition
DriveArray = Array("Axis_00", "Axis_01", "Axis_02", "Axis_03", "Axis_04", "Axis_05", "Axis_06", "Axis_07", "Axis_08",
"Axis_09", "Axis_10", "Axis_11", "Axis_12", "Axis_13", "Axis_14", "Axis_15")
134
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
'Select Axes
sRetVal = InputBox("Insert the number of the first axis to modify", , "Insert a number")
iNumberofAxisStart=CInt(sRetVal)
sRetVal = InputBox("Insert the number of the last axis to modify", , "Insert a number")
iNumberofAxisEnd=CInt(sRetVal)
end if
'-----------------------------------------------------------------------------------------------------------------------
' Subroutine name: Modify_Drive
'-----------------------------------------------------------------------------------------------------------------------
' Description: Modify Custom drive Parameters for all printing units selected
'
'-----------------------------------------------------------------------------------------------------------------------
' Parameters: None.
'-----------------------------------------------------------------------------------------------------------------------
135
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
'-----------------------------------------------------------------------------------------------------------------------
' Subroutine name: Sinamics_Motor_Ext_Enc
'-----------------------------------------------------------------------------------------------------------------------
' Description: Modify Custom drive Parameters for unit with External encoder
'
'-----------------------------------------------------------------------------------------------------------------------
' Parameters: None.
'-----------------------------------------------------------------------------------------------------------------------
idriveid = PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).driveid
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (922,0) = 999
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (2051,15)= "80:0:" & idriveid 'torque feedback
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1522,0) = "2050:11:" & idriveid 'pos torque lim
from profibus
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1523,0) = "2050:11:" & idriveid 'neg torque lim
from profibus
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1455,0) = "2050:12:" & idriveid 'Pgain
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (573, 0) = 1
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (2003, 0) =
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters(333, 0) 'Reference Torque = 100% of motor
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (573, 0) = 0
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (340, 0) = 0 'automatic mot
parameters calculation OFF
' Parameters (640, 0) = Parameters(305, 0)*2 'current limit = 2 * Inom
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1520, 0) =
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters(333, 0)*2 'torque limit pos
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1521, 0) =
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters(333, 0)*-2 'torque limit neg
'Pgain adaption
136
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
'Reference Speed
'Maximal Speed
'OFF3 ramp
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1135, 0) = 5
'speed gain
'reference model
'Active Filter
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1656,0)= 2
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1662,0)= 2
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1663,0)= 85.0
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1664,0)= 0.589
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1665,0)= 120.0
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1666,0)= 0.486
'Parameters (1656,2)= 0
'Parameters (1667,0)= 1
'Parameters (1668,0)= 1999
'Parameters (1669,0)= 0.7
'Parameters (1670,0)= 1999
'Parameters (1671,0)= 0.7
'Parameters (1656,3)= 0
'Parameters (1672,0)= 1
'Parameters (1673,0)= 1999
'Parameters (1674,0)= 0.7
'Parameters (1675,0)= 1999
'Parameters (1676,0)= 0.7
End Sub
'msgbox driveid
'msgbox parent.parent.TOs("mot_sp2").driveid 'sintassi per prendere le
'connessioni da un drive diverso.
'-----------------------------------------------------------------------------------------------------------------------
' Subroutine name: Sinamics_Motor
137
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
'-----------------------------------------------------------------------------------------------------------------------
' Description: Modify Custom drive Parameters for unit with External encoder
'
'-----------------------------------------------------------------------------------------------------------------------
' Parameters: None.
'-----------------------------------------------------------------------------------------------------------------------
Dim idriveid
'inversione rotazione motore
'Parameters (10,0)= 3
'Parameters (1821,0)=1
'Parameters (10,0)= 0
idriveid = PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).driveid
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (922,0) = 999
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (2051,10)= "80:0:" & idriveid 'torque feedback
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1522,0) = "2050:10:" & idriveid 'pos torque lim
from profibus
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1523,0) = "2050:10:" & idriveid 'neg torque lim
from profibus
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1455,0) = "2050:11:" & idriveid 'Pgain
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (573, 0) = 1
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (2003, 0) =
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters(333, 0) 'Reference Torque = 100% of motor
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (573, 0) = 0
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (340, 0) = 0 'automatic mot
parameters calculation OFF
' PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (640, 0) = PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters(305, 0)*2 'current limit = 2 * Inom
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1520, 0) =
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters(333, 0)*2 'torque limit pos
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1521, 0) =
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters(333, 0)*-2 'torque limit neg
'Pgain adaption
138
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
'Reference Speed
'Maximal Speed
'OFF3 ramp
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1135, 0) = 5
'speed gain
'reference model
'Active Filter
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1656,0)= 2
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1662,0)= 2
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1663,0)= 85.0
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1664,0)= 0.589
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1665,0)= 120.0
PROJ.devices(sDeviceName).TOs(DriveArray(iCounter)).Parameters (1666,0)= 0.486
'Parameters (1656,2)= 0
'Parameters (1667,0)= 1
'Parameters (1668,0)= 1999
'Parameters (1669,0)= 0.7
'Parameters (1670,0)= 1999
'Parameters (1671,0)= 0.7
'Parameters (1656,3)= 0
'Parameters (1672,0)= 1
'Parameters (1673,0)= 1999
'Parameters (1674,0)= 0.7
'Parameters (1675,0)= 1999
'Parameters (1676,0)= 0.7
End Sub
'msgbox driveid
'msgbox parent.parent.TOs("mot_sp2").driveid 'sintassi per prendere le
'connessioni da un drive diverso.
'-----------------------------------------------------------------------------------------------------------------------
' Subroutine name: Modify_TM41_Sinamics
'-----------------------------------------------------------------------------------------------------------------------
' Description: Modify Custom TM41 Parameters for all TM41s selected
'
'-----------------------------------------------------------------------------------------------------------------------
139
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
'Reference Speed
APP.PrintToLog("Parameters for drive n. " & iCounter & " changed ")
Next
APP.PrintToLog "Everything has gone fine"
End Sub
'-----------------------------------------------------------------------------------------------------------------------
' Subroutine name: Modify_TM41_SIMOTION
'-----------------------------------------------------------------------------------------------------------------------
' Description: Modify Custom TM41 Parameters for all TM41s selected
'
'-----------------------------------------------------------------------------------------------------------------------
' Parameters: None.
'-----------------------------------------------------------------------------------------------------------------------
PROJ.devices(sDeviceName).TOs(AxisArray_TM41(iCounter)).Symbols("CFG:TypeOfAxis.NumberOfDataSets.DataSet_
1.ControllerStruct.PID_Controller.kp") = 16 'Kp position control
PROJ.devices(sDeviceName).TOs(AxisArray_TM41(iCounter)).Symbols("CFG:TypeOfAxis.NumberOfDataSets.DataSet_
1.DynamicData.positionTimeConstant") = 0.00 '
PROJ.devices(sDeviceName).TOs(AxisArray_TM41(iCounter)).Symbols("CFG:TypeOfAxis.NumberOfDataSets.DataSet_
1.DynamicData.velocityTimeConstant") = 0.00 '
PROJ.devices(sDeviceName).TOs(AxisArray_TM41(iCounter)).Symbols("CFG:TypeOfAxis.NumberOfDataSets.DataSet_
1.ControllerStruct.PID_Controller.preCon") = "YES" 'speed precontrol enabled
PROJ.devices(sDeviceName).TOs(AxisArray_TM41(iCounter)).Symbols("CFG:TypeOfAxis.NumberOfDataSets.DataSet_
1.ControllerStruct.PID_Controller.kpc") = 100 '%of speed precontrol
PROJ.devices(sDeviceName).TOs(AxisArray_TM41(iCounter)).Symbols("CFG:TypeOfAxis.NumberOfDataSets.DataSet_
1.DynamicComp.enable") = "YES" 'enable dead time compensation
PROJ.devices(sDeviceName).TOs(AxisArray_TM41(iCounter)).Symbols("CFG:TypeOfAxis.NumberOfDataSets.DataSet_
1.DynamicComp.T1") = 0.012'dead time compensation
PROJ.devices(sDeviceName).TOs(AxisArray_TM41(iCounter)).Symbols("cfg:TypeOfAxis.GearingPosTolerance.enableC
ommandValue") = 0 'Activation status of the setpoint tolerance
IF (iCounter = 0) then
PROJ.devices(sDeviceName).TOs(AxisArray_TM41(iCounter)).Symbols("cfg:TypeOfAxis.SetPointDriverInfo.DriveData.m
axSpeed") = 5000 '* 3 'Maximum Motor Speed
140
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
PROJ.devices(sDeviceName).TOs(AxisArray_TM41(iCounter)).Symbols("cfg:TypeOfAxis.SetPointDriverInfo.DriveData.no
minalSpeed") = 5000 '* 3 'Nominal Motor Speed
ELSE
PROJ.devices(sDeviceName).TOs(AxisArray_TM41(iCounter)).Symbols("cfg:TypeOfAxis.SetPointDriverInfo.DriveData.m
axSpeed") = 5000 'Maximum Motor Speed
PROJ.devices(sDeviceName).TOs(AxisArray_TM41(iCounter)).Symbols("cfg:TypeOfAxis.SetPointDriverInfo.DriveData.no
minalSpeed") = 5000 'Nominal Motor Speed
END IF
PROJ.devices(sDeviceName).TOs(AxisArray_TM41(iCounter)).Symbols("cfg:TypeOfAxis.SetPointDriverInfo.DriveData.sp
eedReference") = 1 'Speed Reference = NOMINAL (1)
APP.PrintToLog("Parameters for TM41 n. " & iCounter & " changed ")
Next
APP.PrintToLog "Everything has gone fine"
End Sub
'-----------------------------------------------------------------------------------------------------------------------
' Subroutine name: Modify_Simotion_RA
'-----------------------------------------------------------------------------------------------------------------------
' Description: Modify Custom Simotion_RA Parameters for all RA selected
'
'-----------------------------------------------------------------------------------------------------------------------
' Parameters: None.
'-----------------------------------------------------------------------------------------------------------------------
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("CFG:TypeOfAxis.MaxVelocity.maximum") = 9600.0
'(00 is max mechanical) 'grad/sec
'-----------------------------------------------------------------------------------------------
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("CFG:TypeOfAxis.NumberOfDataSets.DataSet_1.Contr
ollerStruct.PV_Controller.kv") = 16 'Kp position control
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("CFG:TypeOfAxis.NumberOfDataSets.DataSet_1.Dyna
micData.velocityTimeConstant") = 0.00 '
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("CFG:TypeOfAxis.NumberOfDataSets.DataSet_1.Dyna
micData.positionTimeConstant") = 0.00 '
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("CFG:TypeOfAxis.NumberOfDataSets.DataSet_1.Contr
ollerStruct.PV_Controller.enableDSC")= "YES" 'DSC enabled
141
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("CFG:TypeOfAxis.NumberOfDataSets.DataSet_1.Contr
ollerStruct.PV_Controller.preCon") = "YES" 'speed precontrol enabled
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("CFG:TypeOfAxis.NumberOfDataSets.DataSet_1.Contr
ollerStruct.PV_Controller.kpc") = 100 '%of speed precontrol
' monitoring
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("CFG:TypeOfAxis.GearingPosTolerance.enableComma
ndValue") = 0 'axis doesn't stop when in gearing and max mech. spd is reached
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("CFG:TypeOfAxis.MaxJerk.maximum") =
1000000000.00
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("CFG:TypeOfAxis.MaxAcceleration.maximum") =
1000000000.00
'gear
if (iCounter = 0) then
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("cfg:TypeOfAxis.NumberOfDataSets.DataSet_1.Gear.n
umFactor") = 3 'Motor revolutions
else
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("cfg:TypeOfAxis.NumberOfDataSets.DataSet_1.Gear.n
umFactor") = 1 'Motor revolutions
end if
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("cfg:TypeOfAxis.NumberOfDataSets.DataSet_1.Gear.d
enFactor") = 1 'Load revolutions
'Speed
if (iCounter = 0) then
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("cfg:TypeOfAxis.SetPointDriverInfo.DriveData.maxSpee
d") = 1600 * 3 'Maximal Speed
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("cfg:TypeOfAxis.SetPointDriverInfo.DriveData.nominalS
peed") = 1600 * 3 'Nominal Speed
else
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("cfg:TypeOfAxis.SetPointDriverInfo.DriveData.maxSpee
d") = 1600 'Maximal Speed
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("cfg:TypeOfAxis.SetPointDriverInfo.DriveData.nominalS
peed") = 1600 'Nominal Speed
end if
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("cfg:TypeOfAxis.NumberOfEncoders.Encoder_1.IncHo
mingEncoder.passiveHomingMode") = 2 'Homing mode 2=only with zero mark
PROJ.devices(sDeviceName).TOs(AxisArray(iCounter)).Symbols("CFG:TypeOfAxis.MaxVelocity.maximum") = 9600.0
'(00 is max mechanical) 'grad/sec
APP.PrintToLog("Parameters for Axis n. " & iCounter & " changed ")
Next
APP.PrintToLog "Everything has gone fine"
142
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
End Sub
'-----------------------------------------------------------------------------------------------------------------------
' Subroutine name: Mask_alarm
'-----------------------------------------------------------------------------------------------------------------------
' Description: Modify Custom Simotion_RA Parameters for all RA selected
'
'-----------------------------------------------------------------------------------------------------------------------
' Parameters: None.
'-----------------------------------------------------------------------------------------------------------------------
'-----------------------------------------------------------------------------------------------------------------------
' Subroutine name: Virtual Master()
'-----------------------------------------------------------------------------------------------------------------------
' Description: Modify Custom V_M Parameters
'
'-----------------------------------------------------------------------------------------------------------------------
' Parameters: None.
'-----------------------------------------------------------------------------------------------------------------------
' monitoring
PROJ.devices(sDeviceName).TOs("VA_LM1").Symbols("CFG:TypeOfAxis.GearingPosTolerance.enableCommandValue"
) = 0 'axis doesn't stop when in gearing and max mech. spd is reached
PROJ.devices(sDeviceName).TOs("VA_LM1").Symbols("CFG:TypeOfAxis.MaxJerk.maximum") = 1000000000.00
PROJ.devices(sDeviceName).TOs("VA_LM1").Symbols("CFG:TypeOfAxis.MaxAcceleration.maximum") =
1000000000.00
'gear
'PROJ.devices(sDeviceName).TOs("VA_LM1").Symbols("cfg:TypeOfAxis.NumberOfDataSets.DataSet_1.Gear.denFactor") = 1 'Load revolutions
'PROJ.devices(sDeviceName).TOs("VA_LM1").Symbols("cfg:TypeOfAxis.NumberOfDataSets.DataSet_1.Gear.numFactor") = 1 'Motor revolutions
143
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
You can communicate with Simotion D4x5 via Profibus and/or via Ethernet network.
You can connect your PC to the Profibus Master network setting the PG/PC Interface according
to network properties.
Select the transmission rate (12 Mbps) and the profile (DP)
144
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
To communicate via Profibus you have to enable the routing throw profibus network.
Select “PROFIBUS”
Press OK
145
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
146
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
To communicate through Ethernet network you have to disable Rotomec Firewall by clicking on
Then you have to click on the green light of traffic lights and press OK.
To modify the IP address you have to select Internet Protocol (TCP/IP) in window Local Area
Connection Properties and then click on Properties
172. 16 . 9 . 1
Set the PC IP address and the subnet mask to the same values of the Simotion Ethernet port and
change only the last number of the IP address. In Simotion we have two Ethernet port with
different IP address:
IE1 IP 172.16.9.1
Subnet mask 255.255.0.0
IE2 IP 192.168.214.1
Subnet mask 255.255.255.0
Make a ping command (with the address 172.16.9.1) of the Simotion equipment trough the
cmd.exe
147
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
This is only to be shore that the connection between computer and Simotion Ethernet port 2 it´s
good.
Check for the follow answer
172.16.9.1
172.16.9.1
148
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
Drives
Unwinder Draw Group (Axis 00) Pgain P1460 100 Nms/r
ad
Igain P1462 20 ms
Technological Objects
_to_TM41 Axis 00 -> Axis 15 Kp pos.ctrl TypeOfAxis.NumberOfDataS 16 1/s
ets.DataSet_1.ControllerStruc
t.PID_Controller.kp
Program Startup:
Speed °/s rpm
Homing 180 30
MDI 360 60
abs_register_speed 24 / 60 4 / 10
sync_speed 72 12
2
Acceleration °/s Time from 0 to 1600 rpm
Local 960 10 s
Pos 960 10 s
Clutch 192 50 s
abs_register 250 38 s
synch 720 13 s
draw 1920 5 s
Estop 1920 5 s
149
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
3
Jerk °/s Time from 0 to max acc
Local 9600 0.1 s
Pos 960 1 s
Clutch 19200 0.01 s
abs_register 8333 0.03 s
synch 7200 0.1 s
draw 19200 0.1 s
Estop 19200 0.1 s
Virtual Master
2
Acceleration °/s Time from 0 to 1600 rpm
Local 1920 5 s
Clutch 960 10 s
draw 960 10 s
Estop 1920 5 s
3
Jerk °/s Time from 0 to max acc
Local 19200 0.1 s
Clutch 9600 0.1 s
draw 9600 0.1 s
Estop 19200 0.1 s
150
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
28 Appendix G – Var_Glob
151
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
29 Appendix H – Notes
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
152
Preliminary_man_sinamics-simotion_v1_7_eng.doc RELIMINARY ROTOMEC S.p.A.
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
...........................................................................................................................................................
153