Professional Documents
Culture Documents
En S7-1500 Motion MTorres
En S7-1500 Motion MTorres
En S7-1500 Motion MTorres
Drive
SINAMICS
+ Startdrive
Motor
DF MC Know how
Basic knowledge in DF FA
Encoder
Motor types:
The decision of a suitable motor depends
Asynchronous motor Synchronous motor on the requirements:
Technical requirements
• Performance
• Dynamics
Torque Motor • Torque
Direct current motor • Accuracy
• Space
• …
Economic requirements
• Costs
Linear motor • Maintenance
• …
Restricted / © Siemens AG 2015. All Rights Reserved.
Page 4 2015-10-20
Motors
Tree-phase motor
Tree-phase motors
Concept: The windings in the stator through which current flows generate a rotating magnetic field.
Squirrel-cage rotor:
Conductive, short- Permanent magnets
circuited poles in iron sheet
Rotor
Rotor
S N N S N S
• Precise positioning
Synchronous motor • High dynamics • Higher motor costs
• Torque also in still stand
• Highest dynamics
Linear motor • High power • High system costs
• High precision
V
• The motor is connected to a three-phase system
Power system
3 AC, 400V, 50 Hz
Switch or contactor
to switch on and off
(optional a motorstarter for a smoother startup)
Power system
3 AC, 400V, 50 Hz
Switch or contactor
Frequency converter
V
Variable speed
V V
t
t t
The speed
The frequency converter variesoffrequency
the motorand
depends onand
voltage frequency.
so the speed of the motor.
Power system
3 AC, 400V, 60 Hz Frequency converter
SINAMICS
V V V
t t t
Power system
3 AC, 400V, 50 Hz Frequency converter
Power System
Control types
Without encoder With encoder
Open control loop Closed control loop
Sensor Less Vector
V/f-control Vector Control (VC) Servo Control (SC)
Control (SLVC)
Low to medium dynamics, speed Calculates actual speed Best speed precision Best positioning dynamics
Characteristics
• Pumps, fans and compressors • Pumps, fans and compressors with • Vertical conveyor technology • Drives with highly dynamic motion
with flow characteristic curve displacement machines (conveyor belt, roller conveyor, control
chain conveyor)
• Wet- or dry beam technology • Rotary kilns • Drives with high speed and torque
Applications
• Escalators precision
• Mills, blenders, kneader, stirrer • Extruder
• Lifter/countersinks • Used for machine tool and clock-
• Horizontal conveyor technology • Centrifuges
synchronized production machines
(conveyor belt, roller conveyor, • Elevators, hall cranes, cable cars
chain conveyor) • High frequency output
• Storage and retrieval machine
• Simple spindles
Restricted / © Siemens AG 2015. All Rights Reserved.
Page 17 2015-10-20
Encoder
Types
Incremental Cheaper
Absolut
(some with incremental part) e.g.
• SSI Absolute
• EnDat position
• Sin/cos with
Higher costs
C and D tracks*
• Resolver *
Restricted / © Siemens AG 2015. All Rights Reserved. * Not usable as absolute position encoder for position controller. Here, only the incremental
Page 18 2015-10-20 position can be used. The absolute position is used for rotor position detection for servo control.
Incremental encoder
HTL & TTL encoder
1024 pulses
per revolution
Phase B
360°
Resolution of the encoder = = 0,089°
4096 𝑝𝑢𝑙𝑠𝑒𝑠
2048 pulses
per revolution
Phase A
e.g.
2048 2048 pulses
lines per revolution
Phase B Typical overall resolution:
2048 * 2048 ≈
4 Mio. pulses / revolution
typical:
1 period 2048 pulses per
sinus period
Feed-in with a
carrier frequency of
Measurement winding 1
2 ... 10 kHz
Rotary-
transformer
Resolver are rotary position encoder. Within a pole pitch it delivers an absolute position signal.
It is inductive and needs on without any electronic components in the encoder. It is robust and cost-efficient.
Restricted / © Siemens AG 2015. All Rights Reserved.
Page 23 2015-10-20
Command source
Variants
Where does the converter gets the control commands and the speed setpoint from?
Analog input
Fixed speed
Potentiometer Speed
setpoint
Pulse-direction- optional
interface (PTO)
PROFINET / PROFIBUS
Fieldbus
Controller
Control commands + speed setpoint + …
Actual status + actual speed + …
optional
The telegram can be seen in the I/O process image in the SIMATIC
The SINAMICS automatically interconnects its parameters to the chosen telegram
STW 1 NSOLL
1 Speed setpoint 16 bit
ZSW 1 NIST
STW: Control word NSOLL: Setpoint speed G1_STW: Encoder 1 Control word XERR: Position deviation
ZSW: Status word NIST: Actual speed G1_ZSW: Encoder 1 Status word KPC: Position controller gain factor
G1_XIST: Encoder 1 Actual position
Restricted / © Siemens AG 2015. All Rights Reserved.
Page 26 2015-10-20
Command source
PROFIdrive telegram selection
Configuration the drive means to set the behavior through adjustment of the parameters!
Parameters are adjusting screws in the drive.
read / write
p-parameters: Parameters to set the converter
read
r-parameter: Parameters to read states of the converter
Drive schematic
Load TIA Portal project in the drive: Parameters are loaded into the RAM.
By selecting the option in the load preview, the
parameters are also copied to EEPROM after loading.
Upload from drive into the project : The values from the RAM are loaded.
Offline Project Work- (RAM) and load memory (EEPROM) in the SINAMICS
RAM Copy RAM to ROM EEPROM
Control commands
Speed setpoint
optional
S7-1200/1500 Drive
Control
commands Speed Current Power
Control commands Motor
Reading/writing -
Speed setpoint
FB SINA_SPEED Speed setpoint - controller controller module
directly on the telegram
Technology objects
from the DriveLib
& MC commands Enc
optional
Restricted / © Siemens AG 2015. All Rights Reserved.
Page 38 2015-10-20
Speed axis
Concept
Highlights
Application: Control and run a conveyor belt with two different speeds
User interface
User program
Command and moving commands
by means of MC blocks
speed
MC OBs
Program speed Inter- setpoint Motion control execution
TO axis dynamics polator Acceleration and deceleration ramps
Speed axis
User System
interface
Interpolator
true
Programm speed
60
300
240
600
120
540
360
480
180
420
dynamics speed
TO Achse
setpoint
600
Speed axis
User System
interace
Interpolator
true
Programm speed
480
120
600
360
0
240
dynamics speed
TO Achse
setpoint
600
Where can the position encoder How can the position encoder
be located in the application? information be read in the PLC?
Motor encoder as position encoder Position encoder is connected to the drive (telegram 3 or 5 is used)
User interface
User program
Command and moving commands
by means of MC blocks
Positioning axis
User System
interface
Position
Interpolator controller
on position normalization
Program target position setpoint
99
100
96
50
70
4
1
30
90
10
dynamics -
TO axis speed setpoint
actual position
s
100
Positioning axis
n% speed setpoint
User System
100
interface Kv: 10
Position
Interpolator controller t
on position normalization
0
2
51
4
102
Program target position setpoint 𝝙𝑠
99
100
96
50
70
4
1
30
90
10 𝝙𝑠 ∗ 𝐾𝑣 10
20
100
100
50
40
20
0
dynamics -
TO axis speed setpoint
actual position
s position setpoint 520
20
60
40
80
90
100
97
100
Positioning axis
n% speed setpoint
User System
Kpc: % 100
interface
Kv: 1/s
Speed setpoint
Normalization
Program target position position 𝝙𝑠
𝝙𝑠 ∗ 𝐾𝑣
dynamics setpoint - speed setpoint
TO axis
actual position
s position setpoint v% speed setpoint
100
100
Precontrol Kpc too low Precontrol Kpc too high Precontrol Kpc perfect
High following error Overshooting Actual value follows fast
Actual value follows slow Dynamic behavior
No overshooting
Properties:
• Can be selected for every axis individually
• Mixture of real and simulated drives possible
• Feasible for PROFIdrive drives
• Complete PLC functionality (trace, control panel, …)
• Real behavior of drive is simulated (actual values
follows the setpoint values with a delay)
Interactive Animation
S7-1500
User System
interface
Speed precontrol
Drive 1
Enc
Gear
ratio
Speed precontrol
Drive 2
Enc
Position 1 Position 2
0mm 500mm The following functions should be realized:
0 On/Off - MC_Power
1 Confirm alarms - MC_Reset
Master 2 Set position to 0 - MC_Home
3 Stop axis - MC_Halt
4 Master: Move with speed 2 - MC_MoveVelocity
Slave 5 Master: Move to position 2 - MC_MoveAbsolute
Speeds & acceleration: 6 Slave: Start gearing - MC_GearIn
7 Slave: Stop axis - MC_Halt
v2 = 200 mm/s; a2 = 4000 mm/s2
Var Slave: Move 200 mm - MC_MoveRelative
Restricted / © Siemens AG 2015. All Rights Reserved.
Page 68 2015-10-20
Outlook: Motion Integrated within the S7-1500/1500T Portfolio
Distributed
Motion 1) 1) 1) 1) 1) 1)
Technology
1)
Camming
abs. 1) Gearing
(absolute)
rel.
Gearing
(relative)
1) Output cams
Measuring input
Standard
Positioning
Speed
Legend: 1) Planned for V14 2) Planned for higher V14 Price / Performance / Number of axis
V/I V/I
Quantity structure: Each CPU has defined system resources for motion control technology objects.
Necessary resources:
Speed axis, positioning axis, external encoder: 1 resource
Gearing axis: 2 resources
1510 SP
1512 SP 1515SP PC
1511 1511C 1512C
1513 1515
1516 1517
1518
Restricted / © Siemens AG 2015. All Rights Reserved.
Page 72 2015-10-20
Motion Control Performance
Motion
Control
SIZER ! www.siemens.com/sizer
Restricted / © Siemens AG 2015. All Rights Reserved.
Page 74 2015-10-20
Safety in Drives
(Special for MTorres Training)
Principle in S7-1500
Speed setpoint Safety functions Configure and commission safety functionality in drive
(Standard function) (e.g. STO, SS1, etc.)
Principe in S7-1500
Tel. 3 Tel. 30
Motion Control and safety can
run together!
• Application areas: all machines/systems with moving axes, e.g. conveyor technology, handling
• Permits safe working with open protective door (restart inhibit)
Suitable for machines for which dangers can result if a speed is exceeded.
Restricted / © Siemens AG 2015. All Rights Reserved.
Page 82 2015-10-20
Motion Control and Safety
Mutual influence
► Trace
► Commissioning
The Safety commissioning with Startdrive is performed offline
and optimizing
All drive parameters can be found under SINAMICS > Parameter ► Cyclic
communciation
► Acyclic
communication
► Direct
connection
1 A screen-driven operation also exists between drive
1 and HMI
in Startdrive
► Drive diagnosis
2 Most of the Safety screens were
► Measuring input
taken from Starter and adapted to the
► Cams and cam
TIA layout tracks
► Motion Control
and Safety
► Safety
2 commissioning
► Zusammenspiel
TO und Safety
► F-UDT
Restricted / © Siemens AG 2015. All Rights Reserved.
► SINAMICS S120
Page 84 2015-10-20 connection
Safety commissioning
Menu prompting
► Trace
► Trace
► Commissioning
and optimizing
1 1 Set the control type:
► Cyclic
• via terminal communciation
• via PROFIsafe
► Acyclic
• via PROFIsafe and terminal communication
3 ► Direct
connection
2 Enable all safety functions between drive
and HMI
2 ► Drive diagnosis
3 Short designation of the safety functions
► Measuring input
with graphical operation
► Cams and cam
Clicking the button opens the associated Safety tracks
screen ► Motion Control
and Safety
► Safety
2 commissioning
► Zusammenspiel
TO und Safety
► F-UDT
Restricted / © Siemens AG 2015. All Rights Reserved.
► SINAMICS S120
Page 86 2015-10-20 connection
Safety commissioning
SLS safety function
► Trace
► Trace
► Trace
► Commissioning
and optimizing
► Cyclic
1 1 Test stop of the Basic function communciation
• A test stop is performed for ► Acyclic
STO selection and deselection communication
► Direct
connection
between drive
2 Test stop of the Extended functions and HMI
• A test stop is performed for the ► Drive diagnosis
selection and deselection of any ► Measuring input
2
standard signal ► Cams and cam
• When the Extended functions are tracks
used, the timer of the Basic ► Motion Control
and Safety
functions must also be set
► Safety
commissioning
► Zusammenspiel
TO und Safety
► F-UDT
Restricted / © Siemens AG 2015. All Rights Reserved.
► SINAMICS S120
Page 89 2015-10-20 connection
Safety commissioning
Creating a PROFIsafe telegram
► Trace
PROFIsafe configuration ► Commissioning
and optimizing
1 Set the PROFIsafe address ► Cyclic
• The PROFIsafe address is displayed read-only communciation
and cannot be changed here ► Acyclic
1 communication
2 • The PROFIsafe address is changed in
the properties of the PROFIsafe slot (HW ► Direct
connection
configuration) between drive
and HMI
► Drive diagnosis
2 Telegram configuration
► Measuring input
A PROFIsafe telegram can be created and edited
► Cams and cam
here tracks
Clicking the button opens the following configuration ► Motion Control
directly and Safety
► Safety
commissioning
► Zusammenspiel
TO und Safety
► F-UDT
Restricted / © Siemens AG 2015. All Rights Reserved.
► SINAMICS S120
Page 90 2015-10-20 connection
Safety commissioning
Creating a PROFIsafe telegram
► Trace
► Commissioning
and optimizing
A PROFIsafe telegram can now be created in the telegram configuration
► Cyclic
communciation
► Acyclic
communication
► Direct
connection
between drive
and HMI
► Drive diagnosis
► Measuring input
► Cams and cam
tracks
► Motion Control
and Safety
► Safety
commissioning
► Zusammenspiel
TO und Safety
► F-UDT
Restricted / © Siemens AG 2015. All Rights Reserved.
► SINAMICS S120
Page 91 2015-10-20 connection
Safety commissioning
Creating a PROFIsafe telegram
► Trace
Changing the PROFIsafe I/O address ► Commissioning
and optimizing
After creating the PROFIsafe telegram, two slots are occupied:
Cyclic
• 3 words in the send direction ►
communciation
• 3 words in the receive direction
► Acyclic
The PROFIsafe I/O address can be changed under the "Partner data area" header communication
► Direct
connection
between drive
and HMI
► Drive diagnosis
► Measuring input
► Cams and cam
tracks
► Motion Control
and Safety
► Safety
commissioning
► Zusammenspiel
TO und Safety
► F-UDT
Restricted / © Siemens AG 2015. All Rights Reserved.
► SINAMICS S120
Page 92 2015-10-20 connection
Safety commissioning
Creating a PROFIsafe telegram
► Trace
Changing the PROFIsafe properties ► Commissioning
and optimizing
Two yellow marked menu items are added automatically in the navigation: ► Cyclic
communciation
• Safety actual values: Send direction
► Acyclic
• Safety setpoints: Receive direction communication
► Direct
connection
between drive
and HMI
► Drive diagnosis
► Measuring input
► Cams and cam
tracks
► Motion Control
and Safety
► Safety
commissioning
► Zusammenspiel
TO und Safety
► F-UDT
Restricted / © Siemens AG 2015. All Rights Reserved.
► SINAMICS S120
Page 93 2015-10-20 connection
Safety commissioning
Creating a PROFIsafe telegram
► Trace
Changing the PROFIsafe properties ► Commissioning
and optimizing
Changes to the PROFIsafe properties can be made here, such as:
► Cyclic
communciation
► Acyclic
Change the PROFIsafe communication
telegram (30 or 900) ► Direct
connection
Set the I/O between drive
and HMI
Change the F address
► Drive diagnosis
destination address
► Measuring input
► Cams and cam
Set the monitoring tracks
time ► Motion Control
and Safety
► Safety
commissioning
► Zusammenspiel
TO und Safety
► F-UDT
Restricted / © Siemens AG 2015. All Rights Reserved.
► SINAMICS S120
Page 94 2015-10-20 connection
Safety commissioning
Activating the settings
► Trace
Completion of the Safety commissioning ► Commissioning
and optimizing
After downloading the HW configuration and the Safety settings into the drive, the Safety ► Cyclic
parameters must be copied to the second processor. communciation
1 ► Acyclic
1 Activate the online view communication
► Direct
2 Change the Safety settings connection
between drive
and HMI
3 Activate the Safety settings ► Drive diagnosis
This causes the settings to be copied
► Measuring input
2 automatically to processor 2
► Cams and cam
tracks
► Motion Control
3 and Safety
► Safety
commissioning
► Zusammenspiel
TO und Safety
► F-UDT
Restricted / © Siemens AG 2015. All Rights Reserved.
► SINAMICS S120
Page 95 2015-10-20 connection
Diagnostics
Checksums
► Trace
Overview of the checksums ► Commissioning
and optimizing
► Trace
Fault diagnostics ► Commissioning
and optimizing
► Cyclic
1 communciation
2 ► Acyclic
communication
► Direct
3
connection
between drive
and HMI
► Drive diagnosis
► Trace
► Commissioning
and optimizing
► Cyclic
communciation
► Acyclic
communication
► Direct
connection
between drive
and HMI
► Drive diagnosis
► Measuring input
► Cams and cam
tracks
► Motion Control
and Safety
► Safety
commissioning
► Zusammenspiel
TO und Safety
► F-UDT
Restricted / © Siemens AG 2015. All Rights Reserved.
► SINAMICS S120
Page 102 2015-10-20 connection
TO and Safety interaction
Deactivate the setpoint limitation
► Trace
Deactivate the speed setpoint limitation of the drive for SLS/SDI selection ► Commissioning
and optimizing
► Cyclic
communciation
► Acyclic
communication
► Direct
connection
between drive
and HMI
► Drive diagnosis
► Measuring input
When the technology object is used in conjunction with Safety, the automatic ► Cams and cam
tracks
setpoint limitation should be deactivated.
► Motion Control
and Safety
► Safety
commissioning
► Zusammenspiel
TO und Safety
► F-UDT
Restricted / © Siemens AG 2015. All Rights Reserved.
► SINAMICS S120
Page 103 2015-10-20 connection
TO and Safety interaction
Deactivate the setpoint limitation
► Trace
Deactivate the speed setpoint limitation of the drive for SLS/SDI selection ► Commissioning
and optimizing
► Cyclic
1 communciation
Interconnection of the
speed setpoint limitation ► Acyclic
communication
► Direct
1 p1051 = p1083[0] connection
between drive
2 p1052 = p1086[0] and HMI
► Drive diagnosis
Speed not limited for SLS
► Measuring input
selection
► Cams and cam
tracks
► Motion Control
and Safety
► Safety
commissioning
2 ► Zusammenspiel
TO und Safety
► F-UDT
Restricted / © Siemens AG 2015. All Rights Reserved.
► SINAMICS S120
Page 104 2015-10-20 connection