You are on page 1of 20

Introduction to Micromaster MM420 (1)

SIMATIC S7
Siemens AG 2005. All rights reserved.

Date:
File:

14.10.2005
PRO1_10E.1

Contents

SITRAIN Training for


Automation and Industrial Solutions

Page

Objectives ........................................................................................................................................
Principle of an Inverter .....................................................................................................................
Overview: Standard Drives ...............................................................................................................
Communication: PROFIBUS DP .......................................................................................................
Drive ES (= Engineering System) .....................................................................................................
BOP (Basic Operator Panel) Standard Operator Panels ...................................................................
Keys on the Operator Panel ..............................................................................................................
PROFIBUS Communications Module: Setting the Address ...............................................................
Exercise 1: Reset to Factory Default .................................................................................................
Exercise 2: Using the BOP as Command Source .............................................................................
Exercise 3: Setting the Command Source to PROFIBUS, Ramp-up Time, Ramp-down Time...........
Exercise 4: Linking Micromaster to PROFIBUS DP ..........................................................................
Exercise 5: Function Test - Micromaster ...........................................................................................
If You Want to Know More ................................................................................................................
Simple S7 Program for Controlling the Drive ....................................................................................
Micromaster MM420: Control Word ..................................................................................................
Micromaster MM420: Status Word ...................................................................................................
Digital Control Signals OFF1, OFF2, OFF3 ......................................................................................
Selecting the Command Source and Setpoint Channel .....................................................................

SITRAIN Training for


Automation and Industrial Solutions

Page 1

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

ST-PRO1
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 monitor and control the Micromaster

SIMATIC S7
Siemens AG 2005. All rights reserved.

SITRAIN Training for


Automation and Industrial Solutions

Date:
File:

14.10.2005
PRO1_10E.2

Page 2

SITRAIN Training for


Automation and Industrial Solutions

ST-PRO1
Introduction to Micromaster (1)

Principle of an Inverter
Infeed
(Rectifier)

DC
link

Power module
(Inverter)

Three-phase mains system


such as 3 AC, 400V, 50 Hz

Induction
motor
Inverter

Variable
speed

U
t

SIMATIC S7

Date:
File:

Siemens AG 2005. All rights reserved.

Direct On-line
Operation

Motor Starter

Inverter

The Way it Works

Configuration
Rectifier

14.10.2005
PRO1_10E.3

SITRAIN Training for


Automation and Industrial Solutions

Three-phase AC motors (here: induction motors) can be operated directly on


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.
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.
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.
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.
It is possible to connect several power modules for several motors to a rectifier
(such as SIMODRIVE 611, MASTERDRIVES).
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


Automation and Industrial Solutions

Page 3

ST-PRO1
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
performance of about 0.1 to 90 kW)

SIMATIC S7

Date:
File:

Siemens AG 2005. All rights reserved.

Categorization

Design

Applications

Application example:
Conveyor belt

14.10.2005
PRO1_10E.4

SITRAIN Training for


Automation and Industrial Solutions

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 speedcontrolled drive could be utilized in many areas (energy savings in the partialload operation, smooth ramp-up and controlled ramping down, quality
improvement in production).
The MICROMASTER inverters are now in the fouth 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
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.
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


Automation and Industrial Solutions

Page 4

ST-PRO1
Introduction to Micromaster (1)

Communication: PROFIBUS DP

PROFIBUS module

SIMATIC S7

Date:
File:

Siemens AG 2005. All rights reserved.

Field Bus

Master-Slave

Cyclical Range

Event-driven Range

Master Class 2

PROFIBUS Address

14.10.2005
PRO1_10E.5

SITRAIN Training for


Automation and Industrial Solutions

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.
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.
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.
As well, there is often the need to read or change the parameters of a drive. This
occurs (in todays applications) only when prompted. The cyclic operation is
then briefly interrupted and a longer data telegram with up to 117 words is sent.
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.
The minimum requirement for commissioning the PROFIBUS option module is
the setting of the PROFIBUS address.

SITRAIN Training for


Automation and Industrial Solutions

Page 5

ST-PRO1
Introduction to Micromaster (1)

Drive ES (= Engineering System)

SIMATIC S7

Drive ES Basic

Drive ES Graphic

Drive ES SIMATIC
Drive ES PCS7

Starter

Drive ES SIMATIC

Drive ES Graphic

Drive ES PCS7

Date:
File:

Siemens AG 2005. All rights reserved.

Software

Drive ES Basic

14.10.2005
PRO1_10E.6

SITRAIN Training for


Automation and Industrial Solutions

Drive ES is an (chargable) option software as an add-on to the SIMATIC


Manager.
Enables you to integrate the drives as objects in the SIMATIC Manager. They
then appear in the project tree, like for example, SIMATIC CPUs.
In this manner, the commissioning software of the drives is then also started.
Exclusively for MASTERDRIVES and SIMOREG DC-MASTER.
Is used for user-friendly, graphic assignment of internal signal sequences and
available function blocks.
This package contains STEP 7 Block Libraries (= Data and function blocks) for
user-friendly configuration of communication using PROFIBUS DP.
This package contains faceplates for user-friendly configuration of the process
control system PCS7.
The "STARTER" commissioning software for drives supports the user in:
parameter assignment
commissioning
diagnosis
the service of MICROMASTER 4.
STARTER can be executed as stand alone. The tool is, however, also
integrated in the Drive ES configuration program from Totally Integrated
Automation.

SITRAIN Training for


Automation and Industrial Solutions

Page 6

ST-PRO1
Introduction to Micromaster (1)

BOP (Basic Operator Panel) Standard Operator Panels


BOP (= Basic
Operator Panel)

SDP (= Status
Display Panel)

Setting parameters (changeable parameters):

SIEMENS
SIEMENS

5.00
I
O

<>

Fn

Jog

5
6

MICROMASTER 440

Index of a parameter (sub-parameters):

MICROMASTER 440

Parameter keypad
for easy
commissioning
or changing
individual parameters

As delivered from factory


LED Status display

SIMATIC S7

Date:
File:

Siemens AG 2005. All rights reserved.

SDP

BOP

Parameter List

Indexed Parameter
Monitoring
Parameters
Trigger Parameters

Monitoring parameters:

SITRAIN Training for

14.10.2005
PRO1_10E.7

Automation and Industrial Solutions

The standard version of 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)
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 Acess Level 3 (Expert)

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.
Many parameters contain sub-parameters. Parameters with similar functions are
often grouped there.
Some parameters are only used to display values.
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".
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


Automation and Industrial Solutions

Page 7

ST-PRO1
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:
File:

Siemens AG 2005. All rights reserved.

Access Levels

Command Source

Setpoint Source

SITRAIN Training for

14.10.2005
PRO1_10E.8

SITRAIN Training for


Automation and Industrial Solutions

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.

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 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
Automation and Industrial Solutions

=6

ST-PRO1
From
PROFIBUS
Page 8the CPU through
Introduction
to Micromaster (1)

PROFIBUS Communications Module: Setting the Address


Switch number

Add to address

16

32

64

Example 1: Address = 6

off

on

on

off

off

off

off

Example 2: Address = 88

off

off

off

on

on

off

on

Some addresses have a particular meaning


Address

Meaning

PROFIBUS address is specified


by Parameter P0918

1 to 125

valid PROFIBUS address

126, 127

invalid PROFIBUS address

SIMATIC S7

Date:
File:

Siemens AG 2005. All rights reserved.

14.10.2005
PRO1_10E.9

SITRAIN Training for


Automation and Industrial Solutions

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 switch on the module or
- through Parameter P0918
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.

Note

SITRAIN Training for


Automation and Industrial Solutions

Page 9

ST-PRO1
Introduction to Micromaster (1)

Exercise 1: Reset to Factory Default


Parameter

Value

Comment

P0010

30

Reset to
Factory Default

P0970

End

P0010 = Commissioning filter


P0970 = Reset to factory defaults
P3900 = End of quick commissioning

SIMATIC S7

S1 = Drive On/Off
S2 = Reverse direction of rotation
S3 = Acknowledge fault
H1 = Fault (is lit when there is no fault)
P1 = Potentiometer for the frequency/speed

Date:
File:

Siemens AG 2005. All rights reserved.

14.10.2005
PRO1_10E.10

SITRAIN Training for


Automation and Industrial Solutions

Task

First of all, carry out a Reset to Factory Default to establish a defined initial
state.
In the factory default, the inverter is already functional and can be controlled
using binary inputs.

What to Do

1.
2.
3.
4.

Note

If parameter P0010 is set to the value 1, carry out a quick commissioning of the
inverter and the motor. By selecting quick commissioning, only the most
frequently required parameters are displayed.
This simplifies operation because only the most important motor (characteristic)
data are entered. The end of quick commissioning is completed with the
parameter P3900:
P3900 = 1 Reset to factory default and motor data calculation
P3900 = 2 Only motor data calculation
P3900 = 3 Reset the parameter assignments of input and output
settings
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.

Change the parameter P0010 to the value 30


Change the parameter P0970 to the value 1
Wait until the P---- indicator "disappears" on the display
Test the inverter using the switches and potentiometer on the demo case

SITRAIN Training for


Automation and Industrial Solutions

Page 10

ST-PRO1
Introduction to Micromaster (1)

Exercise 2: Using the BOP as Command Source


Parameter number

Value

Comment

P0700

Select the command source

P1000

Select the frequency setpoint

Reverse direction

ON

<>

Fn

OFF1

Jog

Increase frequency
Decrease frequency

Jog operation
(Set-up operation)

SIMATIC S7

Date:
File:

Siemens AG 2005. All rights reserved.

SITRAIN Training for

14.10.2005
PRO1_10E.11

Automation and Industrial Solutions

Task

The drive is to be operated from the BOP operator panel.

What to Do

1. Change the parameter P0700 to the value 1


2. Change the parameter P1000 to the value 1
3. Test the inverter using the buttons on the BOP

Notes

Pressing the higher/lower keys only affects the speed in r0000 (press Fn key
and then P key). Otherwise they are only used for assigning parameters.
Changing the speed using the "faster" signal or the "slower" signal is called
motor potentiometer (MOP).

Jog Key:

In certain circumstances, it is necessary to control the drive independent of the


current inverter setpoint or the normal ON commands.
If, for example, the control signals come from a SIMATIC S7-300 by default,
then the control must take place "by hand" in a service case or when setting the
drive to a new position.
The key only functions in the ready state. That is, the signal OFF1 = 1.
The frequency is 5 Hz in the factory default.

Fn Key:

With the "Fn" (Function key) key, you can carry out the following actions
acknowledge alarm and fault messages when the cause of the error no
longer exists
jump between decimal positions in parameter changes
display of important inverter data, such as, voltage of DC current link
(Roll function when "Fn" key is pressed for 2 seconds).

SITRAIN Training for


Automation and Industrial Solutions

Page 11

ST-PRO1
Introduction to Micromaster (1)

Exercise 3: Setting the Command Source to PROFIBUS, Ramp-up


Time, Ramp-down Time
If the PROFIBUS
address was set from the
hardware side,
Control P0918 can be
dispensed with.

Parameter number

Value

P0003

Expanded parameter access

P0700

Signal source PROFIBUS

P1000

Setpoint from Potentiometer / Terminal

P0918

PROFIBUS address MM420

P1120

2.00

Ramp-up time 2 seconds

P1121

2.00

Ramp-down time 2 seconds

Comment

Setpoint before ramp-function generator:

Setpoint after ramp-function generator:


Internally generated
ramp-function

50 Hz

Setpoint frequency

Setpoint frequency
50 Hz

SIMATIC S7

P1120

Date:
File:

Siemens AG 2005. All rights reserved.

14.10.2005
PRO1_10E.12

P1121

SITRAIN Training for


Automation and Industrial Solutions

Task

The drive is to be assigned parameters in such a way that the control


commands are transmitted from the CPU through PROFIBUS.

What to Do

Set all parameters as shown in the slide.

Diagnosis

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

Off
Red flashing
Red on

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

Orange flashing
Orange on
Green flashing
Green on

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


Automation and Industrial Solutions

Page 12

ST-PRO1
Introduction to Micromaster (1)

Exercise 4: Linking Micromaster to PROFIBUS DP

SIMATIC S7

Date:
File:

Siemens AG 2005. All rights reserved.

14.10.2005
PRO1_10E.13

SITRAIN Training for


Automation and Industrial Solutions

Task

Configuration and parameter assignment of the Micromaster 420 as well as


connection to the PROFIBUS DP network.

What to Do

1. Link the MM420 to the PROFIBUS mastersystem. You will find the MM420 in
the Hardware Catalog Profile "Drive ES" SIMOVERT
MICROMASTER 4 MICROMASTER 420 (see slide)
2. Assign parameters to the MM420 as shown in the slide:
- Device version V1.0 or V1.1 (depending on the available device type,
check type label on the MM420)
- PROFIBUS Address: 6
- PPO Type: PPO Type 3.PZD 2/2
- I / O Address 56 (Length 2 words each)
3. Save, compile and download the configuration to the CPU.

Note

Through the Reset to Factory Default, Parameter P2040 is set to = 0, among


other things. This parameter defines a telegram off time between 0 and 65,535
ms, after which a fault message is triggered on the MM420. When t = 0, a
possibly running motor is therefore not switched off with CPU Stop or DPMaster failure.
The setting of Parameter P2040 is only possible in Expert mode P0003 = 3.
Check and modify - if necessary Parameter P2040 to a value greater than
zero. You will find additional information in the Parameter List for the MM420.

SITRAIN Training for


Automation and Industrial Solutions

Page 13

ST-PRO1
Introduction to Micromaster (1)

Exercise 5: Function Test - Micromaster

Actual Value (Hexa) Act. Value (Decimal) Act.Val.(Frequency) Act.Val.under rated load (rpm)
4000

16384

50

1350

3000

12288

37.5

1,012.5

2000

8192

25

675

1500

5376

16.41

443.1

1000

4096

12.5

337.5

500

1280

3.91

105.57

SIMATIC S7

Date:
File:

Siemens AG 2005. All rights reserved.

14.10.2005
PRO1_10E.14

SITRAIN Training for


Automation and Industrial Solutions

Task

You are to input the setpoint speed to the Micromaster through the
potentiometer. Jog operation (5Hz) is also possible. Test both possibilities.

What to Do

1. In the SIMATIC Manager, open the project called "TIA_PRO1_Participant"


with the S7 program "C10_Micromaster". Copy the blocks (FC 42, OB 86,
VAT "Control_Micromaster") into your current S7 project.
2. Call the FC 42 function ("FC_MM420") in OB 1 and also download the OB 86
block into the CPU.
After a successful CPU restart, all components should be ready to go and it
should be possible to control the Micromaster through the PROFIBUS.
3. On the TP170B, call the MM420 screen and test the drive by operating the
buttons.
4. At the same time check the actual speed value (IW 58) using the
"Monitor/Modify Variables" test function.
To do so, open the Variable Table "Control_Micromaster" located in the
Blocks folder. Establish a connection to your CPU using the menu options
PLC Connect to Configured CPU and switch the Variable table online
using the "Glasses".

Note

You will find a printout of the sample program used along with an explanation at
the end of this chapter and in the Solution Suggestions.

Attention

The Micromaster MM420 switches on with an edge change from 0 1 from the
On/Off bit (Bit 0 in the control word). For that reason, when you assign the
control word, you have to pay attention to the following sequence:
1. Control word W#16#047E
2. Control word W#16#047F

SITRAIN Training for


Automation and Industrial Solutions

Page 14

ST-PRO1
Introduction to Micromaster (1)

If You Want to Know More

SIMATIC S7

Date:
File:

Siemens AG 2005. All rights reserved.

Note

14.10.2005
PRO1_10E.15

SITRAIN Training for


Automation and Industrial Solutions

The following pages contain either further information or are for reference to
complete a topic.

SITRAIN Training for


Automation and Industrial Solutions

Page 15

ST-PRO1
Introduction to Micromaster (1)

Simple S7 Program for Controlling the Drive


Control word for Motor ON:
Hex Bit
0
F 1
2
3
4
5
7
6
7
8
9
4
10
11
12
13
0
14
15

SIMATIC S7

Date:
File:

Siemens AG 2005. All rights reserved.

General

14.10.2005
PRO1_10E.16

Function
ON/OFF 1
OFF 2
OFF 3
Pulse Enable
Ramp-function Gen.Enable
Ramp-function Gen. Start
Setpoint Enable
Fault Acknowledge
JOG right
JOG left
Control from PLC
Reverse
--Motor Potentiometer up
Motor Potentiometer down
Command Data Set Bit 0

SITRAIN Training for


Automation and Industrial Solutions

Since the actual value for the speed is specifed through the potentiometer on
the MM 420 Demo case, it is sufficient to only transfer the control word.
With the PPO Type 3, you can carry out a consistent data transfer with Load
and Transfer instructions or with the "MOVE" Box.

Motor ON (NW 1)

Motor OFF (NW 2)

Transferring takes place when "Motor_On_HMI" has signal "1". This is a bit
memory that is set through the "On" button in the "MM420" screen on the touch
panel and is reset through the "Off" button.
On the right side of the slide you can see the colored bits of the control word that
are set by the program.
Bit 0 of the control word is set to zero. The motor slows down with the
parameterized lag time.

Jog Motor Right


(NW 3)

Instead of bit 0, bit 8 is set for "JOG right". As long as the "Jog right" button is
pressed on the touch panel, the motor moves to the right. In the momentary
parameter assignment of the MM 420, a frequency of 5 Hz is set, that can also
be changed through the parameter P1058.

Jog Motor Left


(NW 4)

Instead of bit 0, bit 9 is set for "JOG left". As long as the "Jog left " button is
pressed on the touch panel, the motor moves to the left. In the momentary
parameter assignment of the MM 420, a frequency of 5 Hz is set, that can also
be changed through the parameter P1059.
You will receive additional detailed information on the various PPO Types,
structure of the control word etc., in Programming Course 2.

Note

SITRAIN Training for


Automation and Industrial Solutions

Page 16

ST-PRO1
Introduction to Micromaster (1)

Micromaster MM420: Control Word


Summary:

Different Control Signals:


Binary Signals = Data Bits

16 bits = 1data word

JOG right

JOG left

OFF2

6 digital
inputs
or
fieldbus
link
eg. Profibus

Outside world

Acknowledge fault

SIMATIC S7

MICROMASTER

Reverse

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

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

Display of Control Word in r0054

Date:
File:

Siemens AG 2005. All rights reserved.

14.10.2005
PRO1_10E.17

In the internal sequence control system Micromaster

Bit Function

ON/OFF 1

SITRAIN Training for


Automation and Industrial Solutions

Control Word

The control word is a collection of 16 internal binary signals that have to be


available for the internal sequence control system / closed-loop controller of the
inverter. When inverter and SIMATIC S7 are linked with one another using
Profibus, the control word can be made available using an associated output
word, such as QW56. You will find a possible example in FC42.
The control word (bits 0 to 10) conforms to the Standard PROFIdrive Profile. Bit
11 to 15 is MICROMASTER specific.

ON/OFF1

To switch on, an edge change is necessary and OFF2 and OFF3 may not be
active. During switching off, the motor brakes on the braking ramp of the rampfunction generator and the inverter then switches off.

OFF2

The motor ramps down without braking (coasts to a standstill) and the inverter
switches off immediately.

OFF3

The motor brakes with the back edge of the out signal. The inverter remains on.

SITRAIN Training for


Automation and Industrial Solutions

Page 17

ST-PRO1
Introduction to Micromaster (1)

Micromaster MM420: Status Word


Summary:
16 bits = 1 data word
Bit Function

Drive ready to run


3 digital
outputs
or
Fieldbus
link
eg. Profibus

Drive fault

Drive warning

SIMATIC S7

MICROMASTER

Outside world

Motor Overload

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

Drive ready
Drive ready to run
Drive Running
Drive fault active
OFF2 active
OFF3 active
ON inhibit active
Drive warning active
Deviation setpoint/act. value
PZD control
Max. Frequency reached
Warning: Motor current limit
Motor holding brake active
Motor overload
Motor runs right
Inverter overload

Display of Status Word in r0052

Date:
File:

Siemens AG 2005. All rights reserved.

14.10.2005
PRO1_10E.18

From the internal sequence control system Micromaster

Different Control Signals:


Binary Signals = Data Bits

SITRAIN Training for


Automation and Industrial Solutions

Status Word

The status word is a collection of 16 internal binary signals that are made
available from the internal sequence control system / closed-loop controller of
the inverter.
When inverter and SIMATIC S7 are linked with one another using PROFIBUS,
the status word can be monitored and analyzed using an associated input word
such as IW56.
The status word (bits 0 to 10) conforms to the Standard PROFIdrive Profile. Bit
11 to 15 is 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


Automation and Industrial Solutions

Page 18

ST-PRO1
Introduction to Micromaster (1)

Digital Control Signals OFF1, OFF2, OFF3


OFF1 = 0 !
Motor brakes on the braking ramp of the ramp-function generator.
Inverter then switches off.

Sequence

1
0

OFF2 = 0 !

Motor ramps down without braking (coast to


standstill).
Inverter switches off immediately.

ON/OFF1
t

1
0

OFF2
t

1
0
t

OFF3 = 0 !
Motor brakes at the ramp
for OFF3 (P1135).
Inverter remains on.

OFF3

ON/OFF1 is edge triggered for


switching on
and is only accepted
when OFF2 and OFF3 are not active!

SIMATIC S7

Date:
File:

Siemens AG 2005. All rights reserved.

14.10.2005
PRO1_10E.19

SITRAIN Training for


Automation and Industrial Solutions

General

To control the drive using PROFIBUS, several definitions have to be made


with regards to the control signals OFF1 to OFF3. You have become
familiar with one possible example in FC42 "FC_MM420". You will receive
more detailed information on the topics of control word and status word, PPO
Types, cyclic and acyclic data transmission etc., in Programming Course 2.

Control Signals

Control Signal OFF1 = 0:


Motor brakes on the braking ramp of the ramp-function generator and the
inverter then switches off.
Control Signal OFF2 = 0:
Motor ramps down without braking (coasts to a standstill) and the inverter
switches off immediately.
Control Signal OFF3 = 0:
Motor brakes at the ramp for OFF3 that can be set through Parameter
P1135. The inverter remains on.

Sequence

The signal for switching on the drive - ON/OFF1 - is edge triggered and is
only accepted when the signal OFF2 and OFF3 are not active.

SITRAIN Training for


Automation and Industrial Solutions

Page 19

ST-PRO1
Introduction to Micromaster (1)

Selecting the Command Source and Setpoint Channel


Command Source

Digital inputs
USS from BOP Link

2
4
5

Communications module

USS Bus using RS232


PC-Inverter mounting set

Fixed frequencies

Control word Bits 0 to 15


P0700 =

Ramp-function Generator

Additional setpoint

...
...
...

FF1 ...
FF2 ...
FF3 ...

Setpoint
frequency

Analog setpoint

1
2

USS from BOP Link

3
4

Communications module

Motor potentiometer

Control reference frequency:


P2000=50 [Hz]

Actual
frequency

Starter

internal sequence control system Micromaster

BOP/AOP keys

Status word Bits 0 to 15

P1000 =

Setpoint Source

SIMATIC S7

Date:
File:

Siemens AG 2005. All rights reserved.

Command Sources

SITRAIN Training for

14.10.2005
PRO1_10E.20

Automation and Industrial Solutions

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 also see the function diagrams at the back of
the Micromaster Parameter List.
In our exercise example, the following definitions were made that you monitored
using a Variable table:

Status word:
Control word
Actual frequency
Setpoint frequency

IW56
QW56
IW58
QW58

"Status_Word_MM420"
"Control_Word_MM420"
"Actual_Speed_MM420"
"Setpoint_Speed_MM420"

Reference Frequency The reference frequency of 50 Hertz can be controlled through Parameter
P2000 (P2000 = 50Hz).
Starter Software

The "Starter" commissioning and diagnostic software enables a user friendly


configuration and monitoring of Micromaster parameters.

SITRAIN Training for


Automation and Industrial Solutions

Page 20

ST-PRO1
Introduction to Micromaster (1)

You might also like