Sei sulla pagina 1di 22

Introduction to Micromaster MM420

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.1

Contents Page
Objectives ........................................................................................................................................ 2
Principle of an Inverter ..................................................................................................................... 3
Overview: Standard Drives ............................................................................................................... 4
Communication: PROFIBUS DP ....................................................................................................... 5
Main Tasks of the Master – Slave Communication ........................................................................... 6
Configuration of the MM420, PPO Types .......................................................................................... 7
Assigning Parameters to the Command Source and Setpoint Channel ............................................. 8
Communication with PPO Type 3 ..................................................................................................... 9
Structure of the Control Word ........................................................................................................... 10
Structure of the Status Word ............................................................................................................ 11
Integrating a Drive in the HW-Config ................................................................................................ 12
Controlling the MM420 with Monitor/Modify Variables ....................................................................... 13
S7 Program for Controlling the Drive ................................................................................................ 14
BOP (Basic Operator Panel) Standard Operator Panels ................................................................... 15
Keys on the Operator Panel .............................................................................................................. 16
PROFIBUS Communications Module: Setting the Address ............................................................... 17
Exercise 1: Reset to Factory Default ................................................................................................. 18
Exercise 2: Setting the MM420 Parameters with the BOP ................................................................. 19
Exercise 3: Integrating a Drive in HW-Config .................................................................................... 20
Exercise 4: Controlling the MM420 via PROFIBUS ........................................................................... 21
Exercise 5: Controlling a Drive via the Touchpanel ........................................................................... 22

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 1 Introduction to Micromaster (1)
Objectives

Upon completion of the chapter the participant will ...

... understand the principle of an inverter

… be able to reset the inverter to factory defaults

... be able to operate the BOP standard operating panel

... be able to set basic parameters using the Basic Operator Panel
(BOP)

… be able to integrate the Micromaster into the hardware configuration

… be able to monitor and control the Micromaster

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.2

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 2 Introduction to Micromaster (1)
Principle of an Inverter

Infeed DC Power module


(Rectifier) link (Inverter)

Three-phase mains system


such as 3 AC, 400V, 50 Hz

Induction
motor

Inverter Variable
speed

Voltage Voltage Voltage

t t t

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.3

Direct On-line Three-phase AC motors (here: induction motors) can be operated directly on
Operation the three-phase mains system. They are switched on and off by means of a
contactor (= relay for high currents). For example: a pump for a water storage
tank.
Motor Starter To achieve a smooth start-up, a reduced voltage starter (= motor starter) is
frequently used. After start-up, the motor is then operated directly on the mains.
For example: the drive of an escalator.
Inverter If the motor speed is to be variable, an inverter is used.
For example: the drive of a container crane.
Some applications require a precise adherence to a predefined speed. This is
frequently connected to positioning tasks. These are then servo drives. In
simple terms, servo drives are used everywhere where movement used to be
carried out manually.
For example: machine tools, packaging machines, robots.
The Way it Works With a rectifier circuit, the three-phase current of the public supply system is
rectified. This results in a DC voltage that is buffered by capacitors (DC link). A
power module with transistors generates a three-phase current with variable
frequency and voltage from this DC voltage.
Variable voltage? The motor represents an inductive resistance for the current
flow. With rising frequency the inductive resistance increases. For that reason,
the inverter must also increase the output voltage proportional to the output
frequency.
Configuration It is possible to connect several power modules for several motors to a rectifier
(such as SIMODRIVE 611, MASTERDRIVES).
Rectifier If a rectifier circuit with transistors instead of diodes is used then electrical
energy can be fed back into the system during ramping down.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 3 Introduction to Micromaster (1)
Overview: Standard Drives

Application example:
Controlled pumps and
fans in an air
conditioner

MICROMASTER 4 Inverter
(here the different sizes with a Application example:
performance of about 0.1 to 250 kW) Conveyor belt

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.4

Categorization Standard drives are used for applications that only require a low to medium
dynamic as far as speed control is concerned. Many applications in the past
used to be driven with three-phase motors connected directly to the mains. In
the 90s, inverters became so economical that the advantages of a speed-
controlled drive could be utilized in many areas (energy savings in the partial-
load operation, smooth ramp-up and controlled ramping down, quality
improvement in production).

Design The MICROMASTER inverters are now in the fourth generation. They are
"Stand-Alone" devices. That is, the inverter is complete and is connected
between the mains and the motor.
The MICROMASTER 4 inverter family comprises several versions:
MICROMASTER 420: for simple control requirements such as pumps and
430: fans.
MICROMASTER 440: for demanding control requirements (dynamic and
precise speed control).
MICROMASTER 410: for the simplest requirements with only a limited ability
to parameterize.
MICROMASTER 411: the integration of motor and converter
(= COMBIMASTER). The inverter is located in a
special housing piggy-backed on the motor.

Applications • Pumps and fans (for heating, air conditioning, ventilation, chemistry,
foodstuffs ...)
• Conveyor belt systems (for packages, baggage, mail)
• Automatic doors ([house] entrances, elevator doors, garages)
• Washing machines, dryers and ironing machines (industrial field)
• Car washes ...

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 4 Introduction to Micromaster (1)
Communication: PROFIBUS DP

PROFIBUS Module

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.5

Field Bus A field bus connects distributed sensors and actuators (such as, valves, light
barriers, measuring devices, drives, operator control panels) with the central
PLC. PROFIBUS DP is a manufacturer-independent, open field bus.
PROFIBUS has been standardized and continuously further developed by the
PNO (Profibus User Organization) since 1990.

Master-Slave The master (usually a PLC with a PROFIBUS interface module, such as,
S7-315-2 DP) controls the data communication on the bus. Slaves only send
data when they are prompted by the master. That way, no collision results
between two senders.

Cyclical Range The slaves are cyclically (= one after the other) supplied with process data by
the master and their process data is scanned. In Drives, process data are, for
example,
• speed setpoint, switch-on signals from the master or
• actual speeds, error signals from the drive.
The data telegrams consist of 2 to 16 words (á 16 bit).
Cycle times lie between about 2 to 20 ms.

Event-driven Range As well, there is often the need to read or change the parameters of a drive.
This occurs (in today‘s applications) only when prompted. The cyclic operation
is then briefly interrupted and a longer data telegram with up to 117 words is
sent.

Master Class 2 The "normal" master is called Master Class 1. For commissioning, you can also
connect a PC or PG (= SIMATIC programming device) as a Master Class 2.
Independent of the actual data communication, the Master Class 2 can access
the drives.

PROFIBUS Address The minimum requirement for commissioning the PROFIBUS option module is
the setting of the PROFIBUS address.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 5 Introduction to Micromaster (1)
Main Tasks of the Master – Slave Communication

Master-Slave Communication
Reading and writing of parameters Controlling the drive process
Reading out of fault and diagnostic values Permanent setting of control bits and setpoints
Reading and modifying function values Constant reading of status bits and actual values

Parameter index value (PKW) Process data (PCD)

Size of the main setpoint


to the inverter
Source of the main setpoint Level of the control bit
Source of the control bit
Size of the main actual value
from inverter
Level of the status bit

How does data transmission take place?


• Only triggered if required • Fast and permanently triggered
• Freely accessible to all parameters • With fixed “wiring“ to the process

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.6

Process Control Fast data transmission of short data telegrams to all participating stations with
the maximum speed available on the bus. In drive systems these are typically
setpoints, control commands, status replies and actual values (measured
values).

Operating Control In addition to this permanently available data, there is data that is only needed
in particular cases. It would therefore be senseless to permanently put load on
the bus if this data is only needed once per hour or per day, for example, when
starting up the machine (Class 1 Master). Another reason for an expanded
communication need could be the commissioning, optimization or diagnosis of
machine components from a central location. In this case, (such as a fault) a
detailed access of an Engineering Tool to the system components or the drive
is enabled. Since, as a rule, only one affected device/component is directly
addressed, this window is only made available once per bus cycle for one bus
station and not simultaneously for every station.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 6 Introduction to Micromaster (1)
Configuration of the MM420, PPO Types

PPO Type 1: all parameters can


be changed

PPO Type 3: only the setpoints


can be changed

PKW PCD
PCD1 PCD2
PKE IND PWE STW1 MS PCD3 PCD4 PCD5 PCD6 PCD7 PCD8 PCD9 PCD10 PCD11 PCD12 PCD13 PCD14 PCD15 PCD16
ZSW1 MAV
1. 2. 3. 4. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16.
Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word Word

PPO1 Access only via SFC


PKW = Parameter Index Value
PPO3 Access with load and transfer instructions PKE = Process ID
PWE = Process Value
STW = Control Word
Free ZSW = Status Word
max. for MM420 MS = Main Setpoint
MAV = Main Actual Value

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.7

PPO Type The structure of the user data for the cyclical data exchange is called Parameter
Process data Object (PPO) in the PROFIBUS profile for Variable-speed drives.
The PPO Types 1 to 5 have a defined number of PKW and PCD words.You
specify the PPO type in the hardware configuration.
For MM 420, PPO types 1 or 3 are possible:

- PPO type 3 enables you to do simple programming for the data exchange. As
setpoint, only the speed can be changed. (data exchange with load / transfer
instructions)

- For PPO Type 1, you can change all the parameters of the drive (consistent
data exchange with the system functions SFC 14 and SFC 15).

PKW PKW = Parameter Index Value consists of 4 words with the following structure:
1. Word: Task ID and parameter number
2. Word: Index
3. Word: Parameter value
4. Word: Parameter value

PCD PCD = Process Data consisting of 2 words for PPO Type 3 with the following
structure:
1. Word: Control word / Speed setpoint
2. Word: Status word / Speed actual value

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 7 Introduction to Micromaster (1)
Assigning Parameters to the Command Source and Setpoint Channel
Control parameterizing path:
P0927 = 0000 0000 0000 1111 Status word
Command source
Bits 0 to 15
BOP/AOP keys 1

internal sequence control system Micromaster


Digital inputs 2
USS bus using RS232
4 Control word
PC-inverter mounting set
USS from BOP Link 5 Bits 0 to 15

Communications module 6 P0700 =

Ramp-function generator Control reference frequency:


Fixed frequencies Additional setpoint P2000 = 50 [Hz]
FF1 ... ...
Setpoint
FF2 ... ...
frequency
FF3 ... ...

Actual
Motor potentiometer 1 frequency
Starter
Analog setpoint 2
a Main setpoint
3
b
USS from BOP Link 4 Additional setpoint
Communications module 6 P1000 =

Setpoint source P1000 = b, a

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.8

Parameterizing Path The Parameter P927 defines with its 4 least significant bits which
parameterzing paths are enabled.
P927 = 0000 0000 0000 1111 means that the user can assign parameters to
the inverter either through the BOP, AOP, USS or PROFIBUS.

Command Sources The representation shown in the slide only covers the most important
components of the setpoint channel as well as the selection of the command
source. For the complete representation see the function diagrams at the back
of the Micromaster Parameter List.

Maximum Frequency The Parameter P1082 sets a maximum motor frequency [Hz] with which the
motor works independent of the frequency setpoint. That way, the output
frequency is limited if the setpoint exceeds the value of P1082.

Fixed Frequencies The fixed frequencies are selected through the terminal strip. By default, the
digital inputs are directly assigned to the fixed frequencies. For example, the
digital input 4 (5) activates the fixed frequency 4 (5).

Two Setpoints The setpoint can be formed by the addition of the main and the additional
setpoint. This is then output through a two-digit value, such as P1000 = 26: the
analog additional setpoint (2) plus the main setpoint from the communications
module (6).

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 8 Introduction to Micromaster (1)
Communication with PPO Type 3

CPU MM 420

T QW 42 Control word
QD 42
T QW 44 Main setpoint

PROFIBUS-DP

L IW 42 Status word
L IW 44 ID 42
Main actual value

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.9

Principle Communication with the PPO Type 3 is a cyclical data exchange that is very
easy to program.
From the SIMATIC CPU, the control word and, if necessary, the main setpoint
are sent to the MM 420. In the response telegram, the MM 420 returns the
status word and the main actual value.
Since only a maximum of two words have to be transferred to the MM420, load
and transfer instructions suffice in the program. With the doubleword transfer,
the data consistency is also ensured.
Except for changing the setpoint speed, no parameters can be modified. This is
only possible for the PPO Typ 1.

Control Word The control word contains 16 binary signals for controlling ( ON/OFF, direction
of rotation) the drive. In our parameter assignment, the signals are transferred
to the MM 420 with the instruction T QW 42.

Main Setpoint The main setpoint is the setpoint speed. If this is to be changed from the CPU,
it takes place together with the control word with the instruction T QD 42.
The setpoint can also be specified through a parameter or it can be modified
through the connected potentiometer on the Demo case. The selection of the
setpoint source is specified with the parameter 1000.

Note Control and status words conform to the regulations according to PROFIdrive
Profile Version 2.0 and Version 3.0 for the operating mode "Speed control".
The exact assignment is described on the following pages.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 9 Introduction to Micromaster (1)
Structure of the Control Word

W # 16 # 0 4 7 F = Motor ON
1 1 1 1
Rising edge for switching on !
W # 16 # 0 4 7 E
1 1 1 0 = Motor OFF

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

ON/OFF 1
OFF 2
OFF 3
Pulse-Enable
Ramp-function Generator-Enable
Ramp-function Generator-Startup
Setpoint-Enable
Fault-Acknowledge
JOG right
JOG left
Control from PLC
Reverse
---
Motor-Poti up
Motor-Poti down
Command Data Set Bit 0

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.10

Control Word The control word (bits 0 to 10) conforms to the Standard PROFIdrive Profile.
Bits 11 to 15 are MICROMASTER-specific.

ON/OFF1 To switch on the inverter, a rising edge of this bit is necessary, and the bits
OFF2 and OFF3 must have the state = 1. When switching off via this bit, the
motor is braked on the braking ramp of the ramp-function generator (P1121)
and the inverter then switches off.

OFF2 The inverter switches off immediately and as a result the motor ramps down
without braking (coasts to a standstill). To switch the inverter on again, this bit
must be set to 1 once more and a rising edge at ON/OFF1 is necessary.

OFF3 The motor is braked on the OFF3 braking ramp and the inverter remains
switched on. This function is often used as EMERGENCY STOP.

Note For reasons of wirebreak safety, the inverter is always switched off if the signal
state of the associated OFF bit is = 0.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 10 Introduction to Micromaster (1)
Structure of the Status Word

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

Drive ready
Drive ready to run
Drive running
Drive fault active
OFF2 active
OFF3 active
Switch on inhibit active
Drive warning active
Deviation Setpoint / Actual
PCD control (PLC)
Maximum frequency reached
Warning motor current max.
Motor holding brake active
Motor overload
Motor running direction right
Inverter overload

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.11

Status Word The status word (bits 0 to 10) conforms to the Standard PROFIdrive Profile.
Bits 11 to 15 are MICROMASTER-specific.

Switch-on Inhibit This status is reached after an error elimination and acknowledgement of a
drive fault. A subsequent switching on is only possible through OFF1 and then
ON.

Warning, Message Messages (bit 13, bit 15) and Warnings (bit 11).

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 11 Introduction to Micromaster (1)
Integrating a Drive in the HW-Config

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.12

General The cyclic data exchange between CPU and MM4420 via PROFIBUS must be
configured in HW Config.

Properties
Dialogs The following properties are defined in the dialogs:
PROFIBUS interface: PROFIBUS address and subnet
SINAMICS: Firmware version of the Micromaster (to be found on the
nameplate of the MM420 such as, "Issue: A06/1.17")
DP Slave: In addition to the I/O addresses for data exchange between CPU
and Micromaster, the type of communication must be defined here:

PPO Types: (Parameter Process data Object)


The structure of the user data for the cyclic data exchange is identified as the
PPO Type in the PROFIBUS profile for Variable-speed drives.
The PPO types 1 to 5 have a defined number of PKW (Parameter Index Value)
and PCD (Process Data):
PPO Type 3 permits a simple data transmission with which the controlling of
the Micromaster is possible as well as the specification of the speed setpoint
and the reading out of the speed actual value.
With PPO Type 1, you can also change all drive parameters per CPU program.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 12 Introduction to Micromaster (1)
Controlling the MM420 with Monitor/Modify Variables

Switch off: W#16#047E

Switch on: W#16#047F

Actual Value (Hexa) Act. Value (Decimal) Act.Val. (Frequency) Speed under rated load (rpm)
4000 16384 50 1350
3000 12288 37.5 1012.5
2000 8192 25 675
1500 5376 16.4 443
1000 4096 12.5 337.5
500 1280 3.91 105.5

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.13

General After the MM420 has been connected to the PROFIBUS DP in HW Config, you
can already transfer control and status words via the selected I/O addresses
using the PG function "Monitor/Modify Variables". That way, you can control or
check the connection of the MM420 even without an S7 program.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 13 Introduction to Micromaster (1)
S7 Program for Controlling the Drive

Control word for Motor ON:


Hex Bit Function
0 ON/OFF 1
F 1 OFF 2
2 OFF 3
3 Pulse enable
4 RFG enable
5 RFG start
7
6 Setpoint enable
7 Fault acknowledge
8 JOG right
9 JOG left
4
10 Control from PLC)
11 Reverse (setpoint inversion)
12 ---
13 Motorpoti (MOP) up
0
14 Motorpoti (MOP) down
15 Command data set Bit 0

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.14

Transfer The setpoint #setp_real (Data type REAL) is converted (REAL->DINT->INT)


Setpoint (NW2) and transferred to the MM420.

Motor ON (NW 3) To switch on the MM420, the value W#16#047F must be transferred to the
control word of the MM420 (in the example this happens if M40.0 = 1)

Motor OFF (NW 4) To switch off the MM420, the value W#16#047E must be transferred to the
control word of the MM420 (in the example this happens if M40.0 = 0). The
motor is braked at the parameterized ramp (Parameter P1121, ramp-down
time).

Motor Jog To jog the MM420 to the right ("JOG right"), the value W#16#057E is
right (NW5) transferred to the control word of the MM420 (in the example when the AND
logic operation is fulfilled)

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 14 Introduction to Micromaster (1)
BOP (Basic Operator Panel) Standard Operator Panels
SDP (= Status BOP (= Basic
Operator Panel) Setting parameters (changeable parameters):
Display Panel)
SIEMENS
SIEMENS

5.00
I <> Fn 5
O Jog P 6

MICROMASTER 440
MICROMASTER 440
Index of a parameter (sub-parameters):

Parameter keypad
As delivered from factory
for easy
LED Status display
commissioning
Monitoring parameters:
or changing
individual parameters

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.15

SDP The MICROMASTER is fitted with the SDP (= Status Display Panel). The
MICROMASTER is already parameterized in such a way that it can be
operated through the terminal strip.
The SDP has a status indicator with a green and yellow LED (16 different
messages).

BOP The BOP (= Basic Operator Panel) can be ordered as an option. It is inserted
instead of the SDP – temporarily for commissioning or long-term. Available
functions are:

• LCD display with 5-digit 7-segment display and unit symbols


(Hz, min-1, V, A, kWh)
• Access to all parameters up to Access Level 3 (Expert)

Parameter List Unlike a PLC controller (SIMATIC), drives are not programmed. No program is
written.
Settings are made in parameters. The basic program in the digital drive is fixed
and is called firmware. By assigning parameters, the inverter is adapted to the
task.

Indexed Parameter Many parameters contain sub-parameters. Parameters with similar functions
are often grouped there.

Monitoring Some parameters are only used to display values.


Parameters So that you can differentiate them from the others at first glance, an "r" (= read
only) is placed in front of them instead of a "P".

Trigger Parameters Some parameters can only be changed from 0 to 1. An internal action in the
MICROMASTER is usually triggered with this, for example, Reset to Factory
Default.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 15 Introduction to Micromaster (1)
Keys on the Operator Panel
Start the converter with parameterized ramp-up time

Bring the converter to a standstill with parameterized ramp


down rate. Press twice and the converter coasts to a
standstill.

Changes the direction of rotation

Motor starts and rotates at the preset jog frequency. Motor


rotates as long as the button remains pressed

Parameter access. Is used to select the parameter number


and to accept the value

Increase parameter number or value

Decrease parameter number or value

This key has a series of functions:


- Roll function to display the 5 most important values
- More exact setting of parameters, e.g. decimal places
- Jump to Parameter 0000. The display shows r0000

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.16

Access Levels For simple applications, only a few parameters have to be changed. For
complex applications, an "exotic" parameter may be needed from time to time.
For that reason, access levels were established in parameter P003:
• Level 1 = Standard: Only the 17 most important parameters are
displayed
• Level 2 = Extended: In this level, additional parameters are visible for the
input and output terminals, as well as for
communication through field bus or for example, for
the setpoint channel
• Level 3 = Expert: Here you have access to all necessary parameters.
For the MICROMASTER, this is about 600
parameters
• Level 4 = Service: Some specific parameters are only meant for
authorized service personnel. The level is protected
by codeword.

Command Source Commands are: on signal, off signal, jog, and acknowledge fault messages, for
example. On the training unit, you can select the following sources using
parameter P0700:
• P0700 = 1 BOP operator panel
• P0700 = 2 Switches S1-S3 on the demo case
• P0700 = 6 From the CPU through PROFIBUS

Setpoint Source Setpoint is, the inverter frequency, for example. On the training unit, you can
select the following sources using parameter P1000:
• P1000 = 1 BOP operator panel with the higher/lower
buttons (only with r0000)
• P1000 = 2 Potentiometer on the demo case
• P1000 = 6 From the CPU through PROFIBUS

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 16 Introduction to Micromaster (1)
PROFIBUS Communications Module: Setting the Address

Switch number 1 2 3 4 5 6 7

Add to address 1 2 4 8 16 32 64

Example 1: Address = 9 on off off on off off off

Example 1: Address = 88 off off off on on off on

Some addresses have a “particular“ meaning

Address Meaning
PROFIBUS address is specified
0
by Parameter P0918
1 to 125 valid PROFIBUS address

126, 127 invalid PROFIBUS address

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.17

Attention The minimum requirement for commissioning the PROFIBUS communications


module is the setting of the PROFIBUS address.

Setting You can set the PROFIBUS address in two ways:


- through the 7 DIP switches on the module or
- through Parameter P0918

Note To change the DIP switch, the inverter must be in a switched off state (no voltage)
(for already mounted communications module). A change to the DIP switch only
takes effect after the PROFIBUS module is restarted.
The restart must be triggered by a Power OFF / Power ON. This is true for an
inverter supply as well as through a separate 24V supply.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 17 Introduction to Micromaster (1)
Exercise 1: Reset to Factory Default

Parameter Value Comment


P0010 30 Reset to
Factory Default
P0970 1 End

S1 = Drive On/Off
P0010 = Commissioning filter S2 = Reverse direction of rotation
P0970 = Reset to factory defaults S3 = Acknowledge fault
P3900 = End of quick commissioning H1 = Fault (is lit when there is no fault)
P1 = Potentiometer for the frequency/speed

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.18

Task First of all, carry out a Reset to Factory Default to establish a defined initial
state.

Factory Default In the factory default, the inverter is already functional. It is parameterized for a
4-pole Siemens motor with the same power rating as the MM420 and can be
controlled via the binary inputs (see slide).

What to Do 1. Change the parameter P0010 to the value 30


2. Change the parameter P0970 to the value 1
3. Wait until the P---- indicator "disappears" on the display
4. Test the inverter using the switches and potentiometer on the demo case
(see slide)

Quick If Parameter P0010 is set to the value 1, the quick commissioning mode of the
Commissioning inverter is activated. Only the most important or the most frequently required
parameters are displayed.
The quick commissioning mode is always required when motor (characteristic)
data are to be changed. With the end of the quick commissioning via
Parameter P3900, additional parameter data are recalculated out of the
changed motor data:
• P3900 = 1 Æ Reset to factory default and motor data calculation
• P3900 = 2 Æ Only motor data calculation
• P3900 = 3 Æ Reset the parameter assignments of inputs and outputs
This procedure is also described in the "Getting Started" Guide that is included
with every unit. We will not practice the quick commissioning in this exercise.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 18 Introduction to Micromaster (1)
Exercise 2: Setting the MM420 Parameters with the BOP

If the PROFIBUS Parameter number Value Comment


address was set from the
hardware side, P0003 2 Expanded parameter access
P0918 can only display
P0700 6 Control signals from PROFIBUS
P0918 9 PROFIBUS address of the MM420
P1000 2 Frequency setpoint from Potentiometer
P1120 2.00 Ramp-up time 2 seconds
P1121 2.00 Ramp-down time 2 seconds

Setpoint before ramp-function generator: Setpoint after ramp-function generator:

Internally generated
Setpoint frequency Setpoint frequency ramp-function
50 Hz
50 Hz

t t
P1120 P1121

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.19

Task The drive is to be assigned parameters in such a way that it receives the
control signals from the CPU via the PROFIBUS.

What to Do Use the BOP to set the parameters as shown in the slide.

Diagnosis An LED is located on the front of the PROFIBUS-DP interface of the MM420.
The following table explains possible LED displays and error causes and helps
you with the following exercise:

Off no power
Red flashing invalid PROFIBUS address (126/127 is invalid) or hardware / software error
Red on temporary state during startup or new communication configuration; if constant
state, then PROFIBUS interface or inverter defective
Orange flashing communication to inverter built-up; no connection to PROFIBUS, or PROFIBUS
connector not inserted or faulty or PROFIBUS master is switched off.
Orange on communication is established, but no cyclic data exchange is taking place.
Green flashing cyclic process data exchange exists, but setpoints are invalid (control word = 0,
because S7 master is in the "STOP" state, for example.
Green on cyclic process data exchange is established.

Ramp-up Time Internally, the setpoint value changes according to a step function. To achieve
a controlled ramp-up transition, a ramp-function generator is integrated that
generates a ramp-type setpoint for the controller.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 19 Introduction to Micromaster (1)
Exercise 3: Integrating a Drive in HW-Config

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.20

General The cyclic data exchange between CPU and MM420 via PROFIBUS must be
configured in HW Config. Proceed as follows:

What to Do 1. Activate the HW Config tool.


2. Open the HW Catalog and set the Profile "DriveES".
3. From the SIMOVERT Æ MICROMASTER4 directory, select the
Micromaster 420 and drag this onto the PROFIBUS DP mastersystem using
drag and drop.
4. In the "Properties – PROFIBUS interface MICROMASTER_4_PROFIBUS"
screen, enter the PROFIBUS address 9, select the subnet and confirm with
"OK".
5. In the "Properties – SINAMICS" screen, choose the device version "1.0x" or
"1.1x" that fits for your training unit. You will find this version on the
MM420‘s nameplate (such as, "Issue: A06/1.17")
6. In the "DP Slave Properties" screen, in the "Configuration" tab, select PPO
Type 3 and assign the I/O address 42 for data exchange with the CPU (see
slide).
7. Save, compile and download the configuration into the CPU.

Result When the MM420 has been successfully parameterized and integrated in the
hardware configuration of the S7 Station, the LED of the MM420 PROFIBUS
interface shows a green flashing or constant light.

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 20 Introduction to Micromaster (1)
Exercise 4: Controlling the MM420 via PROFIBUS

Switch off: W#16#047E

Switch on: W#16#047F

Actual Value (Hexa) Act. Value (Decimal) Act.Val. (Frequency) Speed under rated load (rpm)
4000 16384 50 1350
3000 12288 37.5 1,012.5
2000 8192 25 675
1500 5376 16.4 443
1000 4096 12.5 337.5
500 1280 3.91 105.5

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.21

Task Check whether the connection of the MM420 to the PROFIBUS was successful
by controlling the control word with a setpoint (also controlled) in order to
switch the MM420 on and off. Use the "Monitor/Modify Variables" PG function
to do this.

What to Do 1. Activate the Monitor/Modify Variables function


SIMATIC Manager Æ PLC Æ Monitor/Modify Variables
2. In the Variable table, enter the input and output words which you specified
in HW Config when you parameterized the MM420 (see slide)
3. Control the "QW_Setp_MM420" (QW 44) with a setpoint from the table
shown in the slide.
4. Control the "QW_Control_MM420" (QW 42) for switching on and switching
off the MM420 with the values shown in the slide.
Note:
Before the drive can be controlled (for example, switched on W#16#47F),
the sensor enabling W#16#478 as initialization must first be sent to the
MM420 (QW42).

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 21 Introduction to Micromaster (1)
Exercise 5: Controlling a Drive via the Touchpanel

CPU

P
R
O
F
I
B
U
S
MM420
D
P

SIMATIC S7 Date: 18.09.2009 SITRAIN Training for


Automation and Industrial Solutions
Siemens AG 2008. All rights reserved. File: PRO1_10E.22

Task You should be able to switch the drive on and off from the touchpanel. During
switched off continuous operation, the MM420 can be jogged to the right and to
the left via the appropriate keys; during switched on continuous operation, it
turns at the speed that is set on the potentiometer of the MM420 training unit.

What to Do 1. Program the new block "FC_MM420" (FC 42) as shown in the slide.
Solution tip: The control word for "Jog LEFT" is: W#16#067E.
2. Put the block into operation
3. On the touchpanel, activate the screen "MM420"
4. Test the functions described.

Notes on the The QW42 output word declared by you in the Hardware Configuration serves
Program as so-called "control word" for the MM420. Per program you can control the
MM420 by transferring defined values.
The values (HEX constants) specified in our example have the following
meanings:
in NW1: W#!16#47F = switch on the drive
in NW2: W#16#47E = switch off the drive
in NW3: W#16#57E = jog the drive to the right
in NW4: W#16#67E = jog the drive to the left

Initialization W#16#478
of the MM420 in OB100:
(otherwise, the transferred control
words only take effect after the
first time the MM420 is switched off)

SITRAIN Training for ST-PRO1


Automation and Industrial Solutions Page 22 Introduction to Micromaster (1)

Potrebbero piacerti anche