ConfigurationExample_x7_V1d0_allgemein_en.pdf
(
3303 KB
)
Pobierz
Controlled positioning with S7-1200 via
pulse interface
S7-1200 CPU 1214C and servo drive with pulse interface
Configuration Example x7
y
August 2009
Applikationen & Tools
Answers for industry.
Warranty, liability and support
Warranty, liability and support
Note
The application examples are not binding and do not claim to be
complete regarding configuration, equipment and any eventuality. The
application examples do not represent customer-specific solutions. They
are only intended to provide support for typical applications. You are
responsible for ensuring that the described products are used correctly.
These application examples do not relieve you of the responsibility to use
sound practices in application, installation, operation and maintenance.
When using these application examples, you recognize that we cannot be
made liable for any damage/claims beyond the liability clause described.
We reserve the right to make changes to these application examples at
any time without prior notice. If there are any deviations between the
recommendations provided in these application examples and other
Siemens publications – e.g. Catalogs – the contents of the other
documents have priority.
We do not accept any liability for the information contained in this
document.
Any claims against us – based on whatever legal reason – resulting from
the use of the examples, information, programs, engineering and
performance data etc., described in this Application Example shall be
excluded. Such an exclusion shall not apply in the case of mandatory
liability, e.g. under the German Product Liability Act
(“Produkthaftungsgesetz”), in case of intent, gross negligence, or injury of
life, body or health, guarantee for the quality of a product, fraudulent
concealment of a deficiency or breach of a condition which goes to the root
of the contract (“wesentliche Vertragspflichten”). However, claims arising
from a breach of a condition which goes to the root of the contract shall be
limited to the foreseeable damage which is intrinsic to the contract, unless
caused by intent or gross negligence or based on mandatory liability for
injury of life, body or health. The above provisions do not imply a change of
the burden of proof to your detriment.
It is not permissible to transfer or copy these application examples or
excerpts thereof without express authorization from Siemens Industry
Sector.
For questions about this document, please use the following e-mail
address:
online-support.automation@siemens.com
Controlled positioning with S7-1200 via pulse interface
V1.0, Entry ID: 38391227
2
Table of Contents
Table of Contents
1
Automation Task..
...........................................................................................
4
1.1
Application environment ...
................................................................................
4
1.2
Component list..
................................................................................................
5
2
Automation Solution ...
...................................................................................
7
2.1
Wiring diagram..
................................................................................................
7
2.2
Control signals between S7-1200 and servo drive ..
.........................................
9
2.3
Moving the servo motor with the aid of the pulse interface..
...........................
11
2.4
Managing the position in the S7-1200 and the servo drive..
...........................
12
2.5
Calculating the maximum motor frequency ...
.................................................
13
2.6
Technology object "Axis" and "Motion Control" function blocks..
....................
14
2.7
Enable/disable the axis (MC_Power)..
............................................................
15
2.8
Acknowledging error (MC_Reset)...
................................................................
16
2.9
Manual moving – jog mode (MC_MoveJOG) ...
..............................................
16
2.10
Manual moving – with preset velocity (MC_Velocity) ...
..................................
17
2.11
Homing (MC_Home) ...
....................................................................................
18
2.12
Interrupting orders (MC_Halt) ..
.......................................................................
20
2.13
Absolute positioning (MC_MoveAbsolute) ..
....................................................
21
2.14
Relative positioning (MC_MoveRelative) ..
......................................................
22
3
Configuration ..
..............................................................................................
23
3.1
Installing and wiring hardware ..
......................................................................
23
3.2
Parameterizing the servo drive ...
....................................................................
23
3.3
Configuring the S7-1200 CPU and downloading the hardware ..
....................
23
3.4
Parameterizing technology object "Axis" ..
......................................................
24
3.5
Loading software ..
..........................................................................................
27
3.6
Commissioning and diagnoses of axis via the technology object ...
................
28
3.7
Operator control with WinCC Runtime HMI ...
.................................................
31
4
Code Elements ..
............................................................................................
33
5
History ..
.........................................................................................................
34
6
Appendix ...
....................................................................................................
35
Controlled positioning with S7-1200 via pulse interface
V1.0, Beitrags-ID: 38391227
3
1 Automation Task
1.1 Application environment
1
Automation Task
1.1
Application environment
An axis connected via a servo motor is to be moved with servo drive, using
a pulse interface of a S7-1200 CPU1214C. Both the servo drive and the
S7-1200 CPU have an individual internal pulse counter each, whose count
represents the current position. Before moving to an absolute position, the
counter of the S7-1200 CPU has to be synchronized to the physical
position of the axis. The emergency stop function of the servo drive,
including alarm message, acts as a safety measure.
Figure 1-1
5
Circuit breaker
L1
N
L+
M
6-8
Servo
drive
3
1
2
2
12
10
11
4
The task comprises absolute positioning irrespective of starting position
and velocity (
Figure 1-2)
. Das S7-1200 Technologieobjekt „Achse“ mit den
zugehörigen „PLCopen - Motion Control“ Funktionsbausteinen stellt dabei
die notwendigen Funktionen zur Verfügung.
On the basis of the stored
•
acceleration "a" and deceleration"d" [mm/s
2
]
•
velocity in "v" [mm/s]
•
target position "
•
" in [mm],
the moved distance s in [mm] is calculated on the basis of the current
starting position "
" and the target position "
" is approached.
Controlled positioning with S7-1200 via pulse interface
V1.0, Entry ID: 38391227
4
1 Automation Task
1.2 Component list
Figure 1-2
V
a
S
d
Time
1.2
Component list
Products
Table 1-1 Control components
Components
No.
MLFB / order number
Note
1.
PM1207 Power supply
1
6ES7 214-1AB22-0XB0
2.
S7-1200 CPU1214C
1
6ES7 214-1AB22-0XB0
DC/DC/DC
Table 1-2 Drive components
Components
No.
Note
3. Servo drive
1
•
Control signals (DC 24V)
–
Pulse interface (Pulse)
Travel direction (Sign)
–
Enabling of servo drive (Enable Servo)
–
Resting of alarms (Alarm Clear)
–
Emergency stopp (EMC Servo)
–
•
Feedback signals (DC 24V)
–
Servo ready for travel (Servo Ready)
Alarm event occurred (Alarm)
–
Target position reached (In Position)
–
•
The CPU1214C can generate a maximum
output frequency of 100 kHz. The drive has to
parameterized so that the maximum motor
speed can be reached at 100 kHz pulse
frequency.
4. Servo motor
1
Accessory
Table 1-3
Components
No.
Order number
Note
5.
230 V connection with fusing
1
L,N
6.
limit switch
2
Specialist dealer
Operated
mechanically
7.
Reference end-position switch
1
Specialist dealer
Inductive
8.
Emergency stop circuit-breaker
1
Specialist dealer
9.
Ethernet connecting cables
1
6XV1870-3RH20
PC <-> Control
Controlled positioning with S7-1200 via pulse interface
V1.0, Beitrags-ID: 38391227
5
Plik z chomika:
uniwel
Inne pliki z tego folderu:
TIA_Portal_pomoc_eng.pdf
(29998 KB)
TIA_Portal_programowanie_PLC.pdf
(29998 KB)
s71200-Manual.pdf
(27131 KB)
podstawy programowania w STEP7.pdf
(19844 KB)
s71200-Manual+PL.pdf
(25317 KB)
Inne foldery tego chomika:
simatic_EKB
SIMATIC_STEP_7_Professional_2010 SR2 ISO
Step7 v11 - WinCC v11 (123)
step7pro
TIA Portal v12
Zgłoś jeśli
naruszono regulamin