K-WANG

+086-15305925923
Service expert in industrial control field!
NameDescriptionContent
Adequate Inventory, Timely Service
pursuit of excellence 
Ship control system
Equipment control system
Power monitoring system
Current position:
新闻动态
newS
   
Brand

SIEMENS SIMATIC S7 300/400 operates MICROMASTER 4 (MM4) frequency converter through Profibus DP

From: | Author:Wang | Time :2025-11-27 | 396 visit: | 🔊 Click to read aloud ❚❚ | Share:

SIEMENS SIMATIC S7 300/400 operates MICROMASTER 4 (MM4) frequency converter through Profibus DP

Core purpose and value of functional blocks

inverter control

Implement motor start stop: supports regular start stop (dependent on P1120 ramp up time, P1121 ramp down time) and quick stop (dependent on P1135 OFF3 ramp down time).

Set value transmission: Loop the speed set value in the form of percentages from * * -100% to+100% * *, and any changes will take effect in real-time.

Status feedback: Output signals such as motor rotation direction (O-Right/O-Left), actual frequency (O-Actual_frequency, range -100% to+100%), and shutdown status (O-STOP).

Automatic debugging

Batch/Replacement Scenario Adaptation: When debugging multiple MM4 units in bulk or replacing a single faulty unit, there is no need for PG/PC or professional debugging software. The PLC can automatically complete the parameter configuration of the new MM4.

Simplified debugging process: including quick debugging (P0010=1), motor recognition (requires motor cold state), and saturation characteristic recognition (only supported by MM440).

parameter management

Full parameter read and write: Read and write all parameters of MM4 through PKW communication, and the OP (operation panel) only supports parameter reading.

Parameter backup: Store the debugged parameters in the PLC's parameter DB (data block) for easy recovery in the future.

Diagnostic function

Multi dimensional error monitoring: covering MM4 faults/alarms, Profibus DP errors, parameter transmission errors, and automatic debugging errors.

Historical data recording: stores the latest and historical fault/alarm information (such as the fault codes and values of the last 3 faults), supports fault reset (I_RESET_Corr).


Scope and Limitations of Application

3.1 Applicable Equipment

Equipment type, specific model/specification

MM4 frequency converter MM411 V1.10, MM420 V1.17, MM430 V2.00, MM440 V2.05

Controller SIMATIC S7 300 (CPU 313-2DP and above) S7 400、C7、SINUMERIK

3.2 Not Applicable Devices and Limitations

Not applicable to controllers: SIMATIC S7 200, SIMATIC S5.

Function limitation: The system does not monitor whether the startup signal (I_Enable) meets safety conditions, and users need to provide additional protection in the program.

Installation and configuration process

4.1 Scenario without Drive ES Basic and Starter

Hardware configuration: Set the Profibus DP address of MM4 (no need to reset to factory settings).

HW Config operation:

Start HW Config in Step 7 and configure PLC hardware.

Select "MICROMASTER 4" in the "PROFIBUS-DP/SIMOVERT Catalog" and specify the DP address.

Select slot 1 and configure PPO type as PPO1 (4 PKW+2 PZD).

Program loading:

Save and compile HW Config, download to PLC module.

Copy the program blocks and symbol table from the functional block example to the user program, adapt them, load them into the PLC, and start them.

Debugging startup: Call the MM4 diagnostic interface of OP to troubleshoot DP errors, enter the debugging interface to enter motor data, start automatic debugging (set I2 Enable=0, I2 Enable QC=1, IOU_ Parameters=1), and execute motor recognition after completion.

4.2 Scenarios with Drive ES Basic and Starter

Hardware configuration: Follow step 1 of section 4.1 to set the DP address of MM4.

HW Config operation:

Configure PLC and MM4, select the corresponding MM4 version (refer to the equipment nameplate, such as "A01/2.05" corresponding to version 2.0x).

Pre allocate PPO type as PPO1 (PKW+PZD-2/2), fill in the I/O address of MM4 (PKW starting address, PZD address is PKW address+8).

Program and OP adaptation:

Load the program block and symbol table in step 3 of section 4.1.

Install OP project and adapt to "MM4" and "ParameterDB" text lists.

Debugging startup: The first debugging can be completed through Starter, and the parameters can be entered into the parameter DB; or the OP debugging interface can be directly called, and the subsequent process is the same as step 4 in 4.1.


Detailed explanation of key functions

5.1 Definition of Control and Feedback Signals

Parameter Name Type Direction Unit/Range Description

The starting I/O address of the PKW area configured in the I-Address INT IN - HW Config

I-Enable BOOL IN - Variable frequency drive enable signal, can only be set when O-Drive-ready=1

I-Fast-STOP BOOL IN - Fast Shutdown Signal: 0=Fast Shutdown (using P1135), 1=Normal Shutdown (default can be set to 1)

Setpoint INT IN -100~+100 speed setting value (percentage)

Actual operating frequency INT OUT -100~+100 (percentage)

O-Drive-ready BOOL OUT - Inverter ready signal: must meet the requirements of "shutdown, I-Fast-STOP=1, no faults, no debugging in progress"

O-Fault BOOL OUT - MM4 fault signal (excluding data transmission errors)

O-Data_ error BOOL OUT - Parameter transmission/automatic debugging error signal

IOU_ Parameters BOOL IN/OUT - Start automatic debugging signal (user set 1 to start, clear 0 after FB is completed)

5.2 Automatic Debugging Process

5.2.1 Parameter DB adaptation

Motor data area: Enter the required parameters for quick debugging (P0010=1), using motor dataset 0 by default; Multiple parameter DBs need to be created for multiple datasets, which can be specified through Z_Sotor_data_SBNr.

Technical data area: Enter other parameters that are not quick debugging, support sub parameters (sub parameter 0 is the first, such as data [2] indicating the presence of sub parameters 0 and 1), and match the data type of the parameters.

5.2.2 Parameter input method

Operation steps for input method

Method 1: The frequency converter has been debugged and set to I2 Enable=0 and I2 Enable QC=1;

2. Set IOUR_Parameters=1 to start data reading;

3. O-Data_transfer_running=1 indicates that the transfer is in progress, and after completion, IOUR_Parameters will automatically clear 0.

Method 2: 1. Enter parameters directly on the OP interface (only display the parameters that need to be changed);

2. Use initial values for other parameters and support leaving the DB list empty (for easy OP indirect addressing).

5.2.3 Automatic Debugging Steps

Restore MM4 to factory settings.

Perform quick debugging (transfer motor data area parameters).

Transmission technology data area parameters.

Save the parameters to the EEPROM of MM4.

After debugging is completed, perform motor identification (ensuring that there are no errors during debugging and the motor is in a cold state).

5.3 Parameter transmission mechanism

Communication method: Based on PKW communication, it supports three parallel parameter read/write requests (Job_1~Job_3), which are executed in the order of Job_1 → Job_2 → Job_3.

Request block structure (taking Job_1 as an example):

|Parameter Name | Type | Initial Value | Description|

|Job_1. Parameter-N | INT | 0 | Target parameter number (e.g. 1002 represents fixed frequency 2)|

|Job_1. Index | INT | 0 | Sub parameter number (set 0 when there is no sub parameter, set the last sub parameter number when there are multiple sub parameters)|

|Job_1. Identifier | Byte | B # 16 # 0 | Operation type: 1=Read single parameter, 2=Write RAM, 3=Write EEPROM, 11=Read multiple sub parameters, etc|

|Job_1. Value_2~2 | DINT | L # 0 | Transferred parameter values (used as needed, such as using only Value_0 for a single parameter)|

Control signal: Job.RWRequest_1~3 are request trigger signals (user set 1 to start, clear 0 after FB is completed); Data_fault.Job.RWRequest_1~3 are error signals corresponding to the requests.

5.4 Diagnostic mechanism

5.4.1 Classification of Error Sources

Malfunctions/alarms of MM4 (such as overcurrent and overvoltage).

Fault of standard FC (SFC14/SFC15).

The functional block itself is malfunctioning.

Parameter transmission and automatic debugging errors.

5.4.2 Key diagnostic signals and displays

Parameter Name Type Direction Description

When there is an alarm for O-Warning BOOL OUT, it is 1

O-Fault BOOL OUT MM4 fault is 1 (excluding data errors)

Resetting signal: clearing MM4 fault and data error display, interrupting debugging process (without interrupting parameter transmission)

Data_fault.Nr. INT STAT error number (e.g. 0=illegal parameter number, 17=request execution not allowed in running state)

Data_fault.DP_Add_info HEX STAT DP error details (e.g. 8090=no module specified address, corresponding to SFC14/SFC15 error)


Error code description

6.1 Data_fault.Nr. (Parameter transmission and debugging errors)

Error Number Meaning Remarks

0 Illegal Parameter Number (PNU) parameter does not exist in MM4

The parameter value cannot be modified. This parameter is a monitoring type parameter and can only be read

17. Due to operational status, the task cannot be executed. The current MM4 status does not support this request (such as changing motor data during operation)

25 DP error needs to be viewed in conjunction with Data_fault.DP_Add_info for details

Parameter number 1001 is currently not activated and depends on the running status of MM4. It can be operated after activation

6.2 Data_fault.DP_Add_info (DP Error Supplement)

Meaning of Error Code (W # 16 #)

8090 specifies logical address without configuration module

80A0 recognized access error while accessing I/O

The target range length of 80B0 does not match the network data length configured in Step 7

6.3 Data_fault.Fault_Commission

Error Number Meaning Remarks

1001 DP error needs to be investigated for Profibus DP connection and address configuration

1002 automatic debugging data error parameter DB has errors (such as parameter values exceeding the range)

1007 MM4 model incorrectly configured MM4 model does not match the actual connected device


Functional Block Technical Data

Project specifications

Block type FB

Block Name MM4

Generate language STL

Local data 36 bytes

MC7 code length 3166 bytes

Load memory requirement 4244 bytes

Working memory requirement 3202 bytes


  • Honeywell Enraf 2558990-2 ARM 1 Backplane MSC Card for MSC-800 Motion Control Systems
  • Schneider BMEH586040 Modicon M580 Redundant Processor Module PLC Controller for Industrial Automation Systems
  • OMRON CQM1-TC101 Temperature Control Module PLC Unit for CQM1 Series Industrial Automation Systems
  • Allen Bradley 1771-AF Fiber Optic Converter Module 96657704 PLC Communication Interface for Industrial Automation Systems
  • Novellus IPEC SpeedFam 2805-11407 PLC Rack Assembly with Corcom 20VK1 Filter for Semiconductor CMP Equipment Control System
  • MITSUBISHI GT2512-STBA GT2512-STBD GOT2000 HMI Touch Screen Panel Display Human Machine Interface for Industrial Automation
  • OMRON E5AC-CX4A5M-014 Digital Temperature Controller Process Controller with RS-485 Communication for Industrial Automation Systems
  • SIGMATEK CCP612-K Processor Module PLC Controller Unit for C-DIAS Industrial Automation Control System
  • OMRON CJ1M-CPU13-ETN V4.0 PLC CPU Unit with Built-in Ethernet Function for SYSMAC CJ Series Industrial Automation Control System
  • EOCR-PMZ Digital Motor Protection Relay Electronic Over Current Relay for Three Phase Motor Control Systems
  • SIEMENS 6SY7000-0AC80 IGBT Transistor Module FZ1000R12KF5 Power Module for SIMOVERT MASTERDRIVES Industrial Drive System
  • OMRON C200HW-MC402-E Motion Control Unit 4 Axis PLC Module for C200H Series Position Speed and Torque Control System
  • Mitsubishi Electric 15050-PR02B PLC Circuit Board Module Industrial Automation Control Board for PLC System
  • TEXA INDUSTRIE EGO16GT1B Wall Frame Air Conditioner Industrial Cabinet Cooling Unit for PLC Control Panel Systems
  • OMRON CS1W-AD081-V1 Analog Input Unit 8 Channel PLC Special I/O Module for SYSMAC CS Series Industrial Automation Control
  • B&R X20CP0411 Compact CPU Module X20 Compact-S PLC Controller Unit with ARM Cortex-A9 Processor Industrial Automation System
  • OMRON CJ1W-NC413 V2.3 Position Control Unit 4 Axis Pulse Output NC Unit for CJ Series PLC Motion Control System
  • Toshiba H2218592 PLC Control Circuit Board Module Industrial Automation Controller Circuit Board
  • PRO-FACE GP577R-TC11 Programmable Operator Interface 10.4 Inch Touch Screen HMI Panel Industrial Automation Control Terminal
  • OMRON CS1D-DPL01 Duplex Unit for CS1D Series PLC Dual CPU Redundancy Control System Industrial Automation Module
  • OMRON V680-CA5D02-V2 RFID ID Controller Programmable Controller Interface Module Industrial Automation Identification System
  • Siemens 7ED6234-4EE12-9AC9 N1A R1A Static Three Phase Counter Protection Device Industrial Automation Measurement Module
  • Siemens 3VT8563-2AA03-2KA2 3VT Molded Case Circuit Breaker Three Pole Low Voltage Protection Device Industrial Power Distribution Guide
  • Siemens 7MH4900-3AA01 SIWAREX FTC Weighing Module for SIMATIC S7-300 ET 200M Industrial Weighing Automation System
  • OMRON K3HB-HTA-DRT1 Temperature Panel Meter DeviceNet Digital Indicator Industrial Temperature Measurement Controller Guide
  • Schneider Electric HMIST6500 Harmony ST6 10 inch Touch Panel Screen HMI Operator Interface Terminal Industrial Automation Control Display
  • OMRON C500-AD006 3G2A5-AD006 Analog Input Unit PLC Module Industrial Automation Data Acquisition System Guide
  • OMRON R88S-H306G Servo Motor AC Servo System Component Industrial Motion Control Application Guide
  • Schmersal MV10H 330-11Y-M20-1348 Belt Alignment Switch Position Monitoring Device Industrial Safety Switch Technical Guide
  • BECKHOFF CX2100-0904 Power Supply Module with Integrated UPS for CX20xx Embedded PC Industrial Automation System Guide
  • OMRON FQM1-MMA22 Flexible Motion Controller Analog I/O PLC Module Industrial Automation Control Unit Technical Guide
  • INOVANCE H3U-3624MT Programmable Logic Controller PLC CPU Module Industrial Automation Control System Guide
  • SIEMENS 6SE7036-1EE85-1HA0 Rectifier Board Drive Module Power Electronics Component Technical Guide
  • OMRON NA5-9W001B-V1 Sysmac HMI Programmable Terminal 9 Inch Touch Screen Industrial Operator Interface Technical Guide
  • ABB ACS355-01U-02A4-2 Variable Frequency Drive 230V 0.5HP 2.4A Machinery Drive Module Technical Guide
  • OMRON SYSMAC C200HS-CPU01-E Programmable Controller CPU Unit Industrial Automation Control Module Technical Guide
  • SCHNEIDER ELECTRIC XBTGT2110 Magelis GT 3.8 Inch Touchscreen HMI Terminal Operator Interface Technical Guide
  • THERMA WAVE 18-011040 Controller Assembly PLC Terminal Block Industrial Control Module Technical Guide
  • MITSUBISHI AA104VJ05 10.4 Inch LCD Control Panel Display Module for CNC Machine Tool and Industrial Controller Applications
  • CHEROKEE ACX643 REV-B Power Supply Unit 100-240VAC Industrial Power Supply Module Technical Guide
  • Allen Bradley 440F-C4000P MatGuard Control Unit Pressure Sensitive Safety Mat Controller Technical Guide
  • GENERAL ELECTRIC MMII-PD-1-2-120 Motor Manager II Intelligent Motor Protection and Control Relay Technical Guide
  • BRISTOL CONTROL 396879-01-2 ControlWave Micro CPU Module with Ethernet Communication Industrial RTU Controller Technical Guide
  • SCHNEIDER ELECTRIC HMIST6500 Harmony ST6 10 Inch Touch Panel Screen HMI Operator Terminal Technical Guide
  • SIEMENS SIMODRIVE 6SN1145-1AA01-0AA1 Infeed Module 10-25 kW 400-480 V Drive System Power Supply Unit Technical Guide
  • OMRON F150-C15E-3 Vision Mate Controller Machine Vision Sensor Processing Unit Technical Specifications and Industrial Inspection Application Guide
  • OMRON NSH5-AL001 NSH5 Series Hand-held Programmable Terminal Removable Box Interface Module Technical Guide
  • SCHNEIDER ELECTRIC TM2ALM3LT Analog Input Output Module Modicon M238 PLC Expansion Unit Technical Specifications and Application Guide
  • YAMATAKE MAH20-PC2100 Processor Module Industrial Controller CPU Unit Technical Specifications and Automation System Application Guide
  • OMRON CQM1-AD042 Analog Input Unit PLC Technical Specifications and CQM1 Series Industrial Automation Application Guide
  • KRONES BWU1703 0900853537 ASi-3 PROFIBUS Gateway Dual ASi Master Communication Module Technical Guide
  • SIEMENS 6SN1145-1BA01-0BA1 SIMODRIVE 611 Infeed Regenerative Feedback Module 16/21 kW Technical Specifications and CNC Drive Application Guide
  • OMRON CS1W-DA041 Analog Output Unit PLC Technical Specifications and SYSMAC CS Series Automation Application Guide
  • FANUC A16B-1211-0301/04A Control Board I/O PCB Technical Specifications and CNC System Application Guide
  • OMRON FND-X06H Position Driver PLC Technical Specifications and OMNUC Servo Control System Application Guide
  • Beckhoff CX1020-0111 - servo driver
  • Beckhoff CX2020-0125 - Controller Unit
  • Beckhoff EK1818 - EtherCAT Coupler 8DI 4DO 24VDC
  • Beckhoff CX2500-0030 - System Module
  • Beckhoff AM3121-0200-0001 - servo motor
  • Beckhoff C5102 - IP-4GVI63 REV:1.0 IPC
  • B&R X67AT1322 - PLC module
  • Beckhoff BK7000 - EtherCAT bus coupler
  • Beckhoff CX1100-0930 - Module
  • Beckhoff CX2500-0060 - Relay Power Capacitor Module
  • Beckhoff CX5130-0175 - Controller Module
  • Beckhoff CP6801-1006-0010 - CONTROL PANEL (US)
  • Beckhoff CX5020-0112 - Programmable Controller Module
  • Beckhoff EPP6228-0022 - EtherCAT P-Box 8 Channel Communication Interface
  • Beckhoff CX5130-0125-1001/000119452 - Controller Module
  • B&R X20AT6402 - Temperature Input Module
  • Beckhoff C6920-1025-0020 - PC
  • Beckhoff CX1000-0011 - PLC Module
  • Beckhoff KL3011 - PLC Module
  • Beckhoff BK7300 - Programmable Logic Controller Module
  • Beckhoff KL3001 - PLC module
  • Beckhoff CX1100-0910 - Power Supply Module
  • Unknown JM-204-480-OEM-S1 - Servo Drive
  • Beckhoff C6015-0010 - Quad Core Controller
  • Beckhoff CX1001-0121 - Embedded PC And CPU Basic Module Controller
  • Beckhoff CP3912-0000 - B&F Control Panel
  • Beckhoff FC3102-0000 - PROFIBUS communication module
  • Beckhoff CX5120-0120 - PLC module HTP0
  • Schneider 140CPU65260 - PLC CPU Module
  • Beckhoff CP6932-0001-0000 - Control Panel
  • Beckhoff AX5112-0000-0200 - Servo Drive
  • Beckhoff CX2020-0112 - Controller module
  • Beckhoff AM237M-0020 - Motor Drive
  • Beckhoff EK9300 - bus module
  • AB 20F11NC3P5JA0NNNNN - AC Drive
  • Beckhoff CU2016 - Ethernet switch
  • Beckhoff CX1100-0004 - Power Supply Module
  • Beckhoff CP3916-0000 - touch screen
  • Beckhoff CX5020-0111 - Controller module
  • Beckhoff AM3032-0C30-0000 - Servo Motor HTP0
  • Beckhoff CX5140-0175 - Embedded PC
  • Beckhoff AM8121-1F20-1001 - Servo Motor
  • Beckhoff CU2508-0000 - 8-Port-Port-Multiplier
  • B&R X67BC8331 - Industrial Automation X67 SYSTEM
  • Beckhoff EK1100 - EL2202 EL1904 EL1809 EL9189 EL9188 EL2809 EL3122 EL3102 EL4102 PLC Modules
  • Beckhoff CP6812-0000-0010 - LQ150X1LW71N Control Panel
  • Beckhoff AX5112-0000-0200 - Servo Driver
  • Beckhoff EL3051 - module
  • Beckhoff CX5020-0112 - CPU Base Unit Module
  • KUKA 00-216-801 - KRC4 KCP4 Teach Pendant Smartpad Control Panel
  • Unknown 8253.84.2117 - 0-400bar Switch
  • Beckhoff IE2302 - PLC Module
  • BECKHOFF EL6751-0000 - PLC Module
  • B&R 3NC154.60-2 - PLC
  • BECKHOFF EL4002 - Module
  • Beckhoff EPP6228-0022 - IO-Link Module
  • BECKHOFF EK1914 - module
  • Allen-Bradley 25B-E019N104 - Frequency changer
  • Beckhoff CB3055-0004 - Industrial motherboard
  • BECKHOFF FC5201-0000 - Card
  • BECKHOFF C6015-0010 - controller
  • BECKHOFF BK4020 - Modules
  • Beckhoff CP2916-0000 with C6920-0040 - Control Panel with PC
  • BECKHOFF CX5140-0111/000001884 - module
  • Beckhoff CU8810-0000 - Module
  • Beckhoff EL3068 - PLC Moudule
  • BECKHOFF AX5103-0000-0200 - Servo driver
  • Beckhoff EL1862-0010 - Module
  • Beckhoff CX5140-0135 - Controller Module
  • BECKHOFF AX5106-0000-0202 - Servo Drive
  • Beckhoff CX1020-0112 - CPU controller
  • Siemens 6ES7134-0HF01-0XB0 - Electronic module
  • Beckhoff EP9128-0021 - module